summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsAppWeb/src')
-rw-r--r--protocols/WhatsAppWeb/src/main.cpp2
-rw-r--r--protocols/WhatsAppWeb/src/pmsg.pb.cc24423
-rw-r--r--protocols/WhatsAppWeb/src/pmsg.pb.h21807
-rw-r--r--protocols/WhatsAppWeb/src/server.cpp2
-rw-r--r--protocols/WhatsAppWeb/src/utils.cpp2
5 files changed, 25084 insertions, 21152 deletions
diff --git a/protocols/WhatsAppWeb/src/main.cpp b/protocols/WhatsAppWeb/src/main.cpp
index 175b644e5a..98a3b3e886 100644
--- a/protocols/WhatsAppWeb/src/main.cpp
+++ b/protocols/WhatsAppWeb/src/main.cpp
@@ -8,6 +8,8 @@ Copyright © 2019-22 George Hazan
#include "stdafx.h"
#include "version.h"
+#pragma comment(lib, "libprotobuf.lib")
+
CMPlugin g_plugin;
PLUGININFOEX pluginInfo = {
diff --git a/protocols/WhatsAppWeb/src/pmsg.pb.cc b/protocols/WhatsAppWeb/src/pmsg.pb.cc
index 7f10811a30..c54de2f19d 100644
--- a/protocols/WhatsAppWeb/src/pmsg.pb.cc
+++ b/protocols/WhatsAppWeb/src/pmsg.pb.cc
@@ -16,1560 +16,1665 @@
#include <google/protobuf/port_def.inc>
PROTOBUF_PRAGMA_INIT_SEG
+
+namespace _pb = ::PROTOBUF_NAMESPACE_ID;
+namespace _pbi = _pb::internal;
+
namespace proto {
-constexpr PaymentMoney::PaymentMoney(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : currencycode_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , value_(int64_t{0})
- , offset_(0u){}
+PROTOBUF_CONSTEXPR PaymentMoney::PaymentMoney(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.currencycode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.value_)*/int64_t{0}
+ , /*decltype(_impl_.offset_)*/0u} {}
struct PaymentMoneyDefaultTypeInternal {
- constexpr PaymentMoneyDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR PaymentMoneyDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~PaymentMoneyDefaultTypeInternal() {}
union {
PaymentMoney _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PaymentMoneyDefaultTypeInternal _PaymentMoney_default_instance_;
-constexpr HydratedQuickReplyButton::HydratedQuickReplyButton(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : displaytext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PaymentMoneyDefaultTypeInternal _PaymentMoney_default_instance_;
+PROTOBUF_CONSTEXPR HydratedQuickReplyButton::HydratedQuickReplyButton(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.displaytext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct HydratedQuickReplyButtonDefaultTypeInternal {
- constexpr HydratedQuickReplyButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HydratedQuickReplyButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HydratedQuickReplyButtonDefaultTypeInternal() {}
union {
HydratedQuickReplyButton _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HydratedQuickReplyButtonDefaultTypeInternal _HydratedQuickReplyButton_default_instance_;
-constexpr HydratedURLButton::HydratedURLButton(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : displaytext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HydratedQuickReplyButtonDefaultTypeInternal _HydratedQuickReplyButton_default_instance_;
+PROTOBUF_CONSTEXPR HydratedURLButton::HydratedURLButton(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.displaytext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct HydratedURLButtonDefaultTypeInternal {
- constexpr HydratedURLButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HydratedURLButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HydratedURLButtonDefaultTypeInternal() {}
union {
HydratedURLButton _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HydratedURLButtonDefaultTypeInternal _HydratedURLButton_default_instance_;
-constexpr HydratedCallButton::HydratedCallButton(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : displaytext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , phonenumber_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HydratedURLButtonDefaultTypeInternal _HydratedURLButton_default_instance_;
+PROTOBUF_CONSTEXPR HydratedCallButton::HydratedCallButton(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.displaytext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.phonenumber_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct HydratedCallButtonDefaultTypeInternal {
- constexpr HydratedCallButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HydratedCallButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HydratedCallButtonDefaultTypeInternal() {}
union {
HydratedCallButton _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HydratedCallButtonDefaultTypeInternal _HydratedCallButton_default_instance_;
-constexpr HydratedTemplateButton::HydratedTemplateButton(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : index_(0u)
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HydratedCallButtonDefaultTypeInternal _HydratedCallButton_default_instance_;
+PROTOBUF_CONSTEXPR HydratedTemplateButton::HydratedTemplateButton(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.index_)*/0u
+ , /*decltype(_impl_.hydratedButton_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct HydratedTemplateButtonDefaultTypeInternal {
- constexpr HydratedTemplateButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HydratedTemplateButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HydratedTemplateButtonDefaultTypeInternal() {}
union {
HydratedTemplateButton _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HydratedTemplateButtonDefaultTypeInternal _HydratedTemplateButton_default_instance_;
-constexpr QuickReplyButton::QuickReplyButton(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , displaytext_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HydratedTemplateButtonDefaultTypeInternal _HydratedTemplateButton_default_instance_;
+PROTOBUF_CONSTEXPR QuickReplyButton::QuickReplyButton(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.displaytext_)*/nullptr} {}
struct QuickReplyButtonDefaultTypeInternal {
- constexpr QuickReplyButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR QuickReplyButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~QuickReplyButtonDefaultTypeInternal() {}
union {
QuickReplyButton _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT QuickReplyButtonDefaultTypeInternal _QuickReplyButton_default_instance_;
-constexpr URLButton::URLButton(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : displaytext_(nullptr)
- , url_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuickReplyButtonDefaultTypeInternal _QuickReplyButton_default_instance_;
+PROTOBUF_CONSTEXPR URLButton::URLButton(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.displaytext_)*/nullptr
+ , /*decltype(_impl_.url_)*/nullptr} {}
struct URLButtonDefaultTypeInternal {
- constexpr URLButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR URLButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~URLButtonDefaultTypeInternal() {}
union {
URLButton _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT URLButtonDefaultTypeInternal _URLButton_default_instance_;
-constexpr CallButton::CallButton(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : displaytext_(nullptr)
- , phonenumber_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 URLButtonDefaultTypeInternal _URLButton_default_instance_;
+PROTOBUF_CONSTEXPR CallButton::CallButton(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.displaytext_)*/nullptr
+ , /*decltype(_impl_.phonenumber_)*/nullptr} {}
struct CallButtonDefaultTypeInternal {
- constexpr CallButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR CallButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~CallButtonDefaultTypeInternal() {}
union {
CallButton _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CallButtonDefaultTypeInternal _CallButton_default_instance_;
-constexpr TemplateButton::TemplateButton(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : index_(0u)
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallButtonDefaultTypeInternal _CallButton_default_instance_;
+PROTOBUF_CONSTEXPR TemplateButton::TemplateButton(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.index_)*/0u
+ , /*decltype(_impl_.button_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct TemplateButtonDefaultTypeInternal {
- constexpr TemplateButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR TemplateButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~TemplateButtonDefaultTypeInternal() {}
union {
TemplateButton _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT TemplateButtonDefaultTypeInternal _TemplateButton_default_instance_;
-constexpr Location::Location(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , degreeslatitude_(0)
- , degreeslongitude_(0){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TemplateButtonDefaultTypeInternal _TemplateButton_default_instance_;
+PROTOBUF_CONSTEXPR Location::Location(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.degreeslatitude_)*/0
+ , /*decltype(_impl_.degreeslongitude_)*/0} {}
struct LocationDefaultTypeInternal {
- constexpr LocationDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR LocationDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~LocationDefaultTypeInternal() {}
union {
Location _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocationDefaultTypeInternal _Location_default_instance_;
-constexpr Point::Point(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : xdeprecated_(0)
- , ydeprecated_(0)
- , x_(0)
- , y_(0){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocationDefaultTypeInternal _Location_default_instance_;
+PROTOBUF_CONSTEXPR Point::Point(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.xdeprecated_)*/0
+ , /*decltype(_impl_.ydeprecated_)*/0
+ , /*decltype(_impl_.x_)*/0
+ , /*decltype(_impl_.y_)*/0} {}
struct PointDefaultTypeInternal {
- constexpr PointDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR PointDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~PointDefaultTypeInternal() {}
union {
Point _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PointDefaultTypeInternal _Point_default_instance_;
-constexpr InteractiveAnnotation::InteractiveAnnotation(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : polygonvertices_()
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PointDefaultTypeInternal _Point_default_instance_;
+PROTOBUF_CONSTEXPR InteractiveAnnotation::InteractiveAnnotation(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_.polygonvertices_)*/{}
+ , /*decltype(_impl_.action_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct InteractiveAnnotationDefaultTypeInternal {
- constexpr InteractiveAnnotationDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR InteractiveAnnotationDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~InteractiveAnnotationDefaultTypeInternal() {}
union {
InteractiveAnnotation _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT InteractiveAnnotationDefaultTypeInternal _InteractiveAnnotation_default_instance_;
-constexpr DeviceListMetadata::DeviceListMetadata(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : senderkeyhash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , recipientkeyhash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , sendertimestamp_(uint64_t{0u})
- , recipienttimestamp_(uint64_t{0u}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InteractiveAnnotationDefaultTypeInternal _InteractiveAnnotation_default_instance_;
+PROTOBUF_CONSTEXPR DeviceListMetadata::DeviceListMetadata(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.senderkeyhash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.recipientkeyhash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.sendertimestamp_)*/uint64_t{0u}
+ , /*decltype(_impl_.recipienttimestamp_)*/uint64_t{0u}} {}
struct DeviceListMetadataDefaultTypeInternal {
- constexpr DeviceListMetadataDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR DeviceListMetadataDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~DeviceListMetadataDefaultTypeInternal() {}
union {
DeviceListMetadata _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeviceListMetadataDefaultTypeInternal _DeviceListMetadata_default_instance_;
-constexpr MessageContextInfo::MessageContextInfo(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : devicelistmetadata_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceListMetadataDefaultTypeInternal _DeviceListMetadata_default_instance_;
+PROTOBUF_CONSTEXPR MessageContextInfo::MessageContextInfo(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.devicelistmetadata_)*/nullptr} {}
struct MessageContextInfoDefaultTypeInternal {
- constexpr MessageContextInfoDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR MessageContextInfoDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~MessageContextInfoDefaultTypeInternal() {}
union {
MessageContextInfo _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MessageContextInfoDefaultTypeInternal _MessageContextInfo_default_instance_;
-constexpr AdReplyInfo::AdReplyInfo(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : advertisername_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , jpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , caption_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediatype_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageContextInfoDefaultTypeInternal _MessageContextInfo_default_instance_;
+PROTOBUF_CONSTEXPR AdReplyInfo::AdReplyInfo(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.advertisername_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.jpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.caption_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediatype_)*/0} {}
struct AdReplyInfoDefaultTypeInternal {
- constexpr AdReplyInfoDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AdReplyInfoDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AdReplyInfoDefaultTypeInternal() {}
union {
AdReplyInfo _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AdReplyInfoDefaultTypeInternal _AdReplyInfo_default_instance_;
-constexpr ExternalAdReplyInfo::ExternalAdReplyInfo(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , body_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnailurl_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediaurl_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , sourcetype_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , sourceid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , sourceurl_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediatype_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AdReplyInfoDefaultTypeInternal _AdReplyInfo_default_instance_;
+PROTOBUF_CONSTEXPR ExternalAdReplyInfo::ExternalAdReplyInfo(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.body_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnailurl_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediaurl_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.sourcetype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.sourceid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.sourceurl_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediatype_)*/0} {}
struct ExternalAdReplyInfoDefaultTypeInternal {
- constexpr ExternalAdReplyInfoDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ExternalAdReplyInfoDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ExternalAdReplyInfoDefaultTypeInternal() {}
union {
ExternalAdReplyInfo _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ExternalAdReplyInfoDefaultTypeInternal _ExternalAdReplyInfo_default_instance_;
-constexpr ContextInfo::ContextInfo(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : mentionedjid_()
- , stanzaid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , participant_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , remotejid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , conversionsource_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , conversiondata_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , ephemeralsharedsecret_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , quotedmessage_(nullptr)
- , quotedad_(nullptr)
- , placeholderkey_(nullptr)
- , externaladreply_(nullptr)
- , conversiondelayseconds_(0u)
- , forwardingscore_(0u)
- , isforwarded_(false)
- , expiration_(0u)
- , ephemeralsettingtimestamp_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExternalAdReplyInfoDefaultTypeInternal _ExternalAdReplyInfo_default_instance_;
+PROTOBUF_CONSTEXPR ContextInfo::ContextInfo(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.mentionedjid_)*/{}
+ , /*decltype(_impl_.stanzaid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.participant_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.remotejid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.conversionsource_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.conversiondata_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.ephemeralsharedsecret_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.quotedmessage_)*/nullptr
+ , /*decltype(_impl_.quotedad_)*/nullptr
+ , /*decltype(_impl_.placeholderkey_)*/nullptr
+ , /*decltype(_impl_.externaladreply_)*/nullptr
+ , /*decltype(_impl_.conversiondelayseconds_)*/0u
+ , /*decltype(_impl_.forwardingscore_)*/0u
+ , /*decltype(_impl_.isforwarded_)*/false
+ , /*decltype(_impl_.expiration_)*/0u
+ , /*decltype(_impl_.ephemeralsettingtimestamp_)*/int64_t{0}} {}
struct ContextInfoDefaultTypeInternal {
- constexpr ContextInfoDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ContextInfoDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ContextInfoDefaultTypeInternal() {}
union {
ContextInfo _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ContextInfoDefaultTypeInternal _ContextInfo_default_instance_;
-constexpr SenderKeyDistributionMessage::SenderKeyDistributionMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : groupid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , axolotlsenderkeydistributionmessage_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContextInfoDefaultTypeInternal _ContextInfo_default_instance_;
+PROTOBUF_CONSTEXPR SenderKeyDistributionMessage::SenderKeyDistributionMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.groupid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.axolotlsenderkeydistributionmessage_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct SenderKeyDistributionMessageDefaultTypeInternal {
- constexpr SenderKeyDistributionMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR SenderKeyDistributionMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~SenderKeyDistributionMessageDefaultTypeInternal() {}
union {
SenderKeyDistributionMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SenderKeyDistributionMessageDefaultTypeInternal _SenderKeyDistributionMessage_default_instance_;
-constexpr ImageMessage::ImageMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : interactiveannotations_()
- , scanlengths_()
- , url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mimetype_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , caption_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , filesha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediakey_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fileencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , directpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , jpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , firstscansidecar_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , scanssidecar_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , midqualityfilesha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , midqualityfileencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnaildirectpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnailsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnailencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , filelength_(uint64_t{0u})
- , height_(0u)
- , width_(0u)
- , mediakeytimestamp_(int64_t{0})
- , firstscanlength_(0u)
- , experimentgroupid_(0u)
- , viewonce_(false){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SenderKeyDistributionMessageDefaultTypeInternal _SenderKeyDistributionMessage_default_instance_;
+PROTOBUF_CONSTEXPR ImageMessage::ImageMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.interactiveannotations_)*/{}
+ , /*decltype(_impl_.scanlengths_)*/{}
+ , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mimetype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.caption_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.filesha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediakey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fileencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.directpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.jpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.firstscansidecar_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.scanssidecar_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.midqualityfilesha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.midqualityfileencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnaildirectpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnailsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnailencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.filelength_)*/uint64_t{0u}
+ , /*decltype(_impl_.height_)*/0u
+ , /*decltype(_impl_.width_)*/0u
+ , /*decltype(_impl_.mediakeytimestamp_)*/int64_t{0}
+ , /*decltype(_impl_.firstscanlength_)*/0u
+ , /*decltype(_impl_.experimentgroupid_)*/0u
+ , /*decltype(_impl_.viewonce_)*/false} {}
struct ImageMessageDefaultTypeInternal {
- constexpr ImageMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ImageMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ImageMessageDefaultTypeInternal() {}
union {
ImageMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ImageMessageDefaultTypeInternal _ImageMessage_default_instance_;
-constexpr InvoiceMessage::InvoiceMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : note_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , token_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , attachmentmimetype_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , attachmentmediakey_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , attachmentfilesha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , attachmentfileencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , attachmentdirectpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , attachmentjpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , attachmentmediakeytimestamp_(int64_t{0})
- , attachmenttype_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ImageMessageDefaultTypeInternal _ImageMessage_default_instance_;
+PROTOBUF_CONSTEXPR InvoiceMessage::InvoiceMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.note_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.attachmentmimetype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.attachmentmediakey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.attachmentfilesha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.attachmentfileencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.attachmentdirectpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.attachmentjpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.attachmentmediakeytimestamp_)*/int64_t{0}
+ , /*decltype(_impl_.attachmenttype_)*/0} {}
struct InvoiceMessageDefaultTypeInternal {
- constexpr InvoiceMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR InvoiceMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~InvoiceMessageDefaultTypeInternal() {}
union {
InvoiceMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT InvoiceMessageDefaultTypeInternal _InvoiceMessage_default_instance_;
-constexpr ContactMessage::ContactMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : displayname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , vcard_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InvoiceMessageDefaultTypeInternal _InvoiceMessage_default_instance_;
+PROTOBUF_CONSTEXPR ContactMessage::ContactMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.displayname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.vcard_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr} {}
struct ContactMessageDefaultTypeInternal {
- constexpr ContactMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ContactMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ContactMessageDefaultTypeInternal() {}
union {
ContactMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ContactMessageDefaultTypeInternal _ContactMessage_default_instance_;
-constexpr LocationMessage::LocationMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , address_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , comment_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , jpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , degreeslatitude_(0)
- , degreeslongitude_(0)
- , islive_(false)
- , accuracyinmeters_(0u)
- , speedinmps_(0)
- , degreesclockwisefrommagneticnorth_(0u){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContactMessageDefaultTypeInternal _ContactMessage_default_instance_;
+PROTOBUF_CONSTEXPR LocationMessage::LocationMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.address_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.comment_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.jpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.degreeslatitude_)*/0
+ , /*decltype(_impl_.degreeslongitude_)*/0
+ , /*decltype(_impl_.islive_)*/false
+ , /*decltype(_impl_.accuracyinmeters_)*/0u
+ , /*decltype(_impl_.speedinmps_)*/0
+ , /*decltype(_impl_.degreesclockwisefrommagneticnorth_)*/0u} {}
struct LocationMessageDefaultTypeInternal {
- constexpr LocationMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR LocationMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~LocationMessageDefaultTypeInternal() {}
union {
LocationMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LocationMessageDefaultTypeInternal _LocationMessage_default_instance_;
-constexpr ExtendedTextMessage::ExtendedTextMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : text_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , matchedtext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , canonicalurl_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , description_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , jpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , textargb_(0u)
- , backgroundargb_(0u)
- , font_(0)
-
- , previewtype_(0)
-
- , donotplayinline_(false){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocationMessageDefaultTypeInternal _LocationMessage_default_instance_;
+PROTOBUF_CONSTEXPR ExtendedTextMessage::ExtendedTextMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.matchedtext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.canonicalurl_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.jpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.textargb_)*/0u
+ , /*decltype(_impl_.backgroundargb_)*/0u
+ , /*decltype(_impl_.font_)*/0
+ , /*decltype(_impl_.previewtype_)*/0
+ , /*decltype(_impl_.donotplayinline_)*/false} {}
struct ExtendedTextMessageDefaultTypeInternal {
- constexpr ExtendedTextMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ExtendedTextMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ExtendedTextMessageDefaultTypeInternal() {}
union {
ExtendedTextMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ExtendedTextMessageDefaultTypeInternal _ExtendedTextMessage_default_instance_;
-constexpr DocumentMessage::DocumentMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mimetype_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , filesha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediakey_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , filename_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fileencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , directpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnaildirectpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnailsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnailencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , jpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , filelength_(uint64_t{0u})
- , pagecount_(0u)
- , contactvcard_(false)
- , mediakeytimestamp_(int64_t{0})
- , thumbnailheight_(0u)
- , thumbnailwidth_(0u){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtendedTextMessageDefaultTypeInternal _ExtendedTextMessage_default_instance_;
+PROTOBUF_CONSTEXPR DocumentMessage::DocumentMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mimetype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.filesha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediakey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fileencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.directpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnaildirectpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnailsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnailencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.jpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.filelength_)*/uint64_t{0u}
+ , /*decltype(_impl_.pagecount_)*/0u
+ , /*decltype(_impl_.contactvcard_)*/false
+ , /*decltype(_impl_.mediakeytimestamp_)*/int64_t{0}
+ , /*decltype(_impl_.thumbnailheight_)*/0u
+ , /*decltype(_impl_.thumbnailwidth_)*/0u} {}
struct DocumentMessageDefaultTypeInternal {
- constexpr DocumentMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR DocumentMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~DocumentMessageDefaultTypeInternal() {}
union {
DocumentMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DocumentMessageDefaultTypeInternal _DocumentMessage_default_instance_;
-constexpr AudioMessage::AudioMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mimetype_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , filesha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediakey_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fileencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , directpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , streamingsidecar_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , filelength_(uint64_t{0u})
- , seconds_(0u)
- , ptt_(false)
- , mediakeytimestamp_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DocumentMessageDefaultTypeInternal _DocumentMessage_default_instance_;
+PROTOBUF_CONSTEXPR AudioMessage::AudioMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mimetype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.filesha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediakey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fileencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.directpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.streamingsidecar_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.filelength_)*/uint64_t{0u}
+ , /*decltype(_impl_.seconds_)*/0u
+ , /*decltype(_impl_.ptt_)*/false
+ , /*decltype(_impl_.mediakeytimestamp_)*/int64_t{0}} {}
struct AudioMessageDefaultTypeInternal {
- constexpr AudioMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AudioMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AudioMessageDefaultTypeInternal() {}
union {
AudioMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AudioMessageDefaultTypeInternal _AudioMessage_default_instance_;
-constexpr VideoMessage::VideoMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : interactiveannotations_()
- , url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mimetype_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , filesha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediakey_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , caption_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fileencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , directpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , jpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , streamingsidecar_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnaildirectpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnailsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnailencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , filelength_(uint64_t{0u})
- , seconds_(0u)
- , height_(0u)
- , width_(0u)
- , gifplayback_(false)
- , viewonce_(false)
- , mediakeytimestamp_(int64_t{0})
- , gifattribution_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AudioMessageDefaultTypeInternal _AudioMessage_default_instance_;
+PROTOBUF_CONSTEXPR VideoMessage::VideoMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.interactiveannotations_)*/{}
+ , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mimetype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.filesha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediakey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.caption_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fileencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.directpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.jpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.streamingsidecar_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnaildirectpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnailsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnailencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.filelength_)*/uint64_t{0u}
+ , /*decltype(_impl_.seconds_)*/0u
+ , /*decltype(_impl_.height_)*/0u
+ , /*decltype(_impl_.width_)*/0u
+ , /*decltype(_impl_.gifplayback_)*/false
+ , /*decltype(_impl_.viewonce_)*/false
+ , /*decltype(_impl_.mediakeytimestamp_)*/int64_t{0}
+ , /*decltype(_impl_.gifattribution_)*/0} {}
struct VideoMessageDefaultTypeInternal {
- constexpr VideoMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR VideoMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~VideoMessageDefaultTypeInternal() {}
union {
VideoMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VideoMessageDefaultTypeInternal _VideoMessage_default_instance_;
-constexpr Call::Call(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : callkey_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoMessageDefaultTypeInternal _VideoMessage_default_instance_;
+PROTOBUF_CONSTEXPR Call::Call(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.callkey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct CallDefaultTypeInternal {
- constexpr CallDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR CallDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~CallDefaultTypeInternal() {}
union {
Call _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CallDefaultTypeInternal _Call_default_instance_;
-constexpr Chat::Chat(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : displayname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallDefaultTypeInternal _Call_default_instance_;
+PROTOBUF_CONSTEXPR Chat::Chat(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.displayname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct ChatDefaultTypeInternal {
- constexpr ChatDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ChatDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ChatDefaultTypeInternal() {}
union {
Chat _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChatDefaultTypeInternal _Chat_default_instance_;
-constexpr ProtocolMessage::ProtocolMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : key_(nullptr)
- , historysyncnotification_(nullptr)
- , appstatesynckeyshare_(nullptr)
- , appstatesynckeyrequest_(nullptr)
- , initialsecuritynotificationsettingsync_(nullptr)
- , appstatefatalexceptionnotification_(nullptr)
- , type_(0)
-
- , ephemeralexpiration_(0u)
- , ephemeralsettingtimestamp_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChatDefaultTypeInternal _Chat_default_instance_;
+PROTOBUF_CONSTEXPR ProtocolMessage::ProtocolMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.key_)*/nullptr
+ , /*decltype(_impl_.historysyncnotification_)*/nullptr
+ , /*decltype(_impl_.appstatesynckeyshare_)*/nullptr
+ , /*decltype(_impl_.appstatesynckeyrequest_)*/nullptr
+ , /*decltype(_impl_.initialsecuritynotificationsettingsync_)*/nullptr
+ , /*decltype(_impl_.appstatefatalexceptionnotification_)*/nullptr
+ , /*decltype(_impl_.type_)*/0
+ , /*decltype(_impl_.ephemeralexpiration_)*/0u
+ , /*decltype(_impl_.ephemeralsettingtimestamp_)*/int64_t{0}} {}
struct ProtocolMessageDefaultTypeInternal {
- constexpr ProtocolMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ProtocolMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ProtocolMessageDefaultTypeInternal() {}
union {
ProtocolMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ProtocolMessageDefaultTypeInternal _ProtocolMessage_default_instance_;
-constexpr HistorySyncNotification::HistorySyncNotification(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : filesha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediakey_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fileencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , directpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , originalmessageid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , filelength_(uint64_t{0u})
- , synctype_(0)
-
- , chunkorder_(0u){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProtocolMessageDefaultTypeInternal _ProtocolMessage_default_instance_;
+PROTOBUF_CONSTEXPR HistorySyncNotification::HistorySyncNotification(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.filesha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediakey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fileencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.directpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.originalmessageid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.filelength_)*/uint64_t{0u}
+ , /*decltype(_impl_.synctype_)*/0
+ , /*decltype(_impl_.chunkorder_)*/0u} {}
struct HistorySyncNotificationDefaultTypeInternal {
- constexpr HistorySyncNotificationDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HistorySyncNotificationDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HistorySyncNotificationDefaultTypeInternal() {}
union {
HistorySyncNotification _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HistorySyncNotificationDefaultTypeInternal _HistorySyncNotification_default_instance_;
-constexpr AppStateSyncKey::AppStateSyncKey(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : keyid_(nullptr)
- , keydata_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HistorySyncNotificationDefaultTypeInternal _HistorySyncNotification_default_instance_;
+PROTOBUF_CONSTEXPR AppStateSyncKey::AppStateSyncKey(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.keyid_)*/nullptr
+ , /*decltype(_impl_.keydata_)*/nullptr} {}
struct AppStateSyncKeyDefaultTypeInternal {
- constexpr AppStateSyncKeyDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AppStateSyncKeyDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AppStateSyncKeyDefaultTypeInternal() {}
union {
AppStateSyncKey _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AppStateSyncKeyDefaultTypeInternal _AppStateSyncKey_default_instance_;
-constexpr AppStateSyncKeyId::AppStateSyncKeyId(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : keyid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AppStateSyncKeyDefaultTypeInternal _AppStateSyncKey_default_instance_;
+PROTOBUF_CONSTEXPR AppStateSyncKeyId::AppStateSyncKeyId(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.keyid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct AppStateSyncKeyIdDefaultTypeInternal {
- constexpr AppStateSyncKeyIdDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AppStateSyncKeyIdDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AppStateSyncKeyIdDefaultTypeInternal() {}
union {
AppStateSyncKeyId _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AppStateSyncKeyIdDefaultTypeInternal _AppStateSyncKeyId_default_instance_;
-constexpr AppStateSyncKeyFingerprint::AppStateSyncKeyFingerprint(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : deviceindexes_()
- , _deviceindexes_cached_byte_size_(0)
- , rawid_(0u)
- , currentindex_(0u){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AppStateSyncKeyIdDefaultTypeInternal _AppStateSyncKeyId_default_instance_;
+PROTOBUF_CONSTEXPR AppStateSyncKeyFingerprint::AppStateSyncKeyFingerprint(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.deviceindexes_)*/{}
+ , /*decltype(_impl_._deviceindexes_cached_byte_size_)*/{0}
+ , /*decltype(_impl_.rawid_)*/0u
+ , /*decltype(_impl_.currentindex_)*/0u} {}
struct AppStateSyncKeyFingerprintDefaultTypeInternal {
- constexpr AppStateSyncKeyFingerprintDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AppStateSyncKeyFingerprintDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AppStateSyncKeyFingerprintDefaultTypeInternal() {}
union {
AppStateSyncKeyFingerprint _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AppStateSyncKeyFingerprintDefaultTypeInternal _AppStateSyncKeyFingerprint_default_instance_;
-constexpr AppStateSyncKeyData::AppStateSyncKeyData(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : keydata_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fingerprint_(nullptr)
- , timestamp_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AppStateSyncKeyFingerprintDefaultTypeInternal _AppStateSyncKeyFingerprint_default_instance_;
+PROTOBUF_CONSTEXPR AppStateSyncKeyData::AppStateSyncKeyData(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.keydata_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fingerprint_)*/nullptr
+ , /*decltype(_impl_.timestamp_)*/int64_t{0}} {}
struct AppStateSyncKeyDataDefaultTypeInternal {
- constexpr AppStateSyncKeyDataDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AppStateSyncKeyDataDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AppStateSyncKeyDataDefaultTypeInternal() {}
union {
AppStateSyncKeyData _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AppStateSyncKeyDataDefaultTypeInternal _AppStateSyncKeyData_default_instance_;
-constexpr AppStateSyncKeyShare::AppStateSyncKeyShare(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : keys_(){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AppStateSyncKeyDataDefaultTypeInternal _AppStateSyncKeyData_default_instance_;
+PROTOBUF_CONSTEXPR AppStateSyncKeyShare::AppStateSyncKeyShare(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_.keys_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}} {}
struct AppStateSyncKeyShareDefaultTypeInternal {
- constexpr AppStateSyncKeyShareDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AppStateSyncKeyShareDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AppStateSyncKeyShareDefaultTypeInternal() {}
union {
AppStateSyncKeyShare _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AppStateSyncKeyShareDefaultTypeInternal _AppStateSyncKeyShare_default_instance_;
-constexpr AppStateSyncKeyRequest::AppStateSyncKeyRequest(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : keyids_(){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AppStateSyncKeyShareDefaultTypeInternal _AppStateSyncKeyShare_default_instance_;
+PROTOBUF_CONSTEXPR AppStateSyncKeyRequest::AppStateSyncKeyRequest(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_.keyids_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}} {}
struct AppStateSyncKeyRequestDefaultTypeInternal {
- constexpr AppStateSyncKeyRequestDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AppStateSyncKeyRequestDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AppStateSyncKeyRequestDefaultTypeInternal() {}
union {
AppStateSyncKeyRequest _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AppStateSyncKeyRequestDefaultTypeInternal _AppStateSyncKeyRequest_default_instance_;
-constexpr AppStateFatalExceptionNotification::AppStateFatalExceptionNotification(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : collectionnames_()
- , timestamp_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AppStateSyncKeyRequestDefaultTypeInternal _AppStateSyncKeyRequest_default_instance_;
+PROTOBUF_CONSTEXPR AppStateFatalExceptionNotification::AppStateFatalExceptionNotification(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.collectionnames_)*/{}
+ , /*decltype(_impl_.timestamp_)*/int64_t{0}} {}
struct AppStateFatalExceptionNotificationDefaultTypeInternal {
- constexpr AppStateFatalExceptionNotificationDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR AppStateFatalExceptionNotificationDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~AppStateFatalExceptionNotificationDefaultTypeInternal() {}
union {
AppStateFatalExceptionNotification _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AppStateFatalExceptionNotificationDefaultTypeInternal _AppStateFatalExceptionNotification_default_instance_;
-constexpr InitialSecurityNotificationSettingSync::InitialSecurityNotificationSettingSync(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : securitynotificationenabled_(false){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AppStateFatalExceptionNotificationDefaultTypeInternal _AppStateFatalExceptionNotification_default_instance_;
+PROTOBUF_CONSTEXPR InitialSecurityNotificationSettingSync::InitialSecurityNotificationSettingSync(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.securitynotificationenabled_)*/false} {}
struct InitialSecurityNotificationSettingSyncDefaultTypeInternal {
- constexpr InitialSecurityNotificationSettingSyncDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR InitialSecurityNotificationSettingSyncDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~InitialSecurityNotificationSettingSyncDefaultTypeInternal() {}
union {
InitialSecurityNotificationSettingSync _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT InitialSecurityNotificationSettingSyncDefaultTypeInternal _InitialSecurityNotificationSettingSync_default_instance_;
-constexpr ContactsArrayMessage::ContactsArrayMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : contacts_()
- , displayname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InitialSecurityNotificationSettingSyncDefaultTypeInternal _InitialSecurityNotificationSettingSync_default_instance_;
+PROTOBUF_CONSTEXPR ContactsArrayMessage::ContactsArrayMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.contacts_)*/{}
+ , /*decltype(_impl_.displayname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr} {}
struct ContactsArrayMessageDefaultTypeInternal {
- constexpr ContactsArrayMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ContactsArrayMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ContactsArrayMessageDefaultTypeInternal() {}
union {
ContactsArrayMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ContactsArrayMessageDefaultTypeInternal _ContactsArrayMessage_default_instance_;
-constexpr HSMCurrency::HSMCurrency(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : currencycode_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , amount1000_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContactsArrayMessageDefaultTypeInternal _ContactsArrayMessage_default_instance_;
+PROTOBUF_CONSTEXPR HSMCurrency::HSMCurrency(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.currencycode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.amount1000_)*/int64_t{0}} {}
struct HSMCurrencyDefaultTypeInternal {
- constexpr HSMCurrencyDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HSMCurrencyDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HSMCurrencyDefaultTypeInternal() {}
union {
HSMCurrency _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HSMCurrencyDefaultTypeInternal _HSMCurrency_default_instance_;
-constexpr HSMDateTimeComponent::HSMDateTimeComponent(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : year_(0u)
- , month_(0u)
- , dayofmonth_(0u)
- , hour_(0u)
- , minute_(0u)
- , dayofweek_(1)
-
- , calendar_(1)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HSMCurrencyDefaultTypeInternal _HSMCurrency_default_instance_;
+PROTOBUF_CONSTEXPR HSMDateTimeComponent::HSMDateTimeComponent(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.year_)*/0u
+ , /*decltype(_impl_.month_)*/0u
+ , /*decltype(_impl_.dayofmonth_)*/0u
+ , /*decltype(_impl_.hour_)*/0u
+ , /*decltype(_impl_.minute_)*/0u
+ , /*decltype(_impl_.dayofweek_)*/1
+ , /*decltype(_impl_.calendar_)*/1} {}
struct HSMDateTimeComponentDefaultTypeInternal {
- constexpr HSMDateTimeComponentDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HSMDateTimeComponentDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HSMDateTimeComponentDefaultTypeInternal() {}
union {
HSMDateTimeComponent _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HSMDateTimeComponentDefaultTypeInternal _HSMDateTimeComponent_default_instance_;
-constexpr HSMDateTimeUnixEpoch::HSMDateTimeUnixEpoch(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : timestamp_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HSMDateTimeComponentDefaultTypeInternal _HSMDateTimeComponent_default_instance_;
+PROTOBUF_CONSTEXPR HSMDateTimeUnixEpoch::HSMDateTimeUnixEpoch(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.timestamp_)*/int64_t{0}} {}
struct HSMDateTimeUnixEpochDefaultTypeInternal {
- constexpr HSMDateTimeUnixEpochDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HSMDateTimeUnixEpochDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HSMDateTimeUnixEpochDefaultTypeInternal() {}
union {
HSMDateTimeUnixEpoch _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HSMDateTimeUnixEpochDefaultTypeInternal _HSMDateTimeUnixEpoch_default_instance_;
-constexpr HSMDateTime::HSMDateTime(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HSMDateTimeUnixEpochDefaultTypeInternal _HSMDateTimeUnixEpoch_default_instance_;
+PROTOBUF_CONSTEXPR HSMDateTime::HSMDateTime(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_.datetimeOneof_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct HSMDateTimeDefaultTypeInternal {
- constexpr HSMDateTimeDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HSMDateTimeDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HSMDateTimeDefaultTypeInternal() {}
union {
HSMDateTime _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HSMDateTimeDefaultTypeInternal _HSMDateTime_default_instance_;
-constexpr HSMLocalizableParameter::HSMLocalizableParameter(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : default__(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HSMDateTimeDefaultTypeInternal _HSMDateTime_default_instance_;
+PROTOBUF_CONSTEXPR HSMLocalizableParameter::HSMLocalizableParameter(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.default__)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.paramOneof_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct HSMLocalizableParameterDefaultTypeInternal {
- constexpr HSMLocalizableParameterDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HSMLocalizableParameterDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HSMLocalizableParameterDefaultTypeInternal() {}
union {
HSMLocalizableParameter _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HSMLocalizableParameterDefaultTypeInternal _HSMLocalizableParameter_default_instance_;
-constexpr HighlyStructuredMessage::HighlyStructuredMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : params_()
- , localizableparams_()
- , namespace__(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , elementname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fallbacklg_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fallbacklc_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , deterministiclg_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , deterministiclc_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , hydratedhsm_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HSMLocalizableParameterDefaultTypeInternal _HSMLocalizableParameter_default_instance_;
+PROTOBUF_CONSTEXPR HighlyStructuredMessage::HighlyStructuredMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.params_)*/{}
+ , /*decltype(_impl_.localizableparams_)*/{}
+ , /*decltype(_impl_.namespace__)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.elementname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fallbacklg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fallbacklc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.deterministiclg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.deterministiclc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.hydratedhsm_)*/nullptr} {}
struct HighlyStructuredMessageDefaultTypeInternal {
- constexpr HighlyStructuredMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HighlyStructuredMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HighlyStructuredMessageDefaultTypeInternal() {}
union {
HighlyStructuredMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HighlyStructuredMessageDefaultTypeInternal _HighlyStructuredMessage_default_instance_;
-constexpr SendPaymentMessage::SendPaymentMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : notemessage_(nullptr)
- , requestmessagekey_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighlyStructuredMessageDefaultTypeInternal _HighlyStructuredMessage_default_instance_;
+PROTOBUF_CONSTEXPR SendPaymentMessage::SendPaymentMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.notemessage_)*/nullptr
+ , /*decltype(_impl_.requestmessagekey_)*/nullptr} {}
struct SendPaymentMessageDefaultTypeInternal {
- constexpr SendPaymentMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR SendPaymentMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~SendPaymentMessageDefaultTypeInternal() {}
union {
SendPaymentMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SendPaymentMessageDefaultTypeInternal _SendPaymentMessage_default_instance_;
-constexpr RequestPaymentMessage::RequestPaymentMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : currencycodeiso4217_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , requestfrom_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , notemessage_(nullptr)
- , amount_(nullptr)
- , amount1000_(uint64_t{0u})
- , expirytimestamp_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendPaymentMessageDefaultTypeInternal _SendPaymentMessage_default_instance_;
+PROTOBUF_CONSTEXPR RequestPaymentMessage::RequestPaymentMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.currencycodeiso4217_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.requestfrom_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.notemessage_)*/nullptr
+ , /*decltype(_impl_.amount_)*/nullptr
+ , /*decltype(_impl_.amount1000_)*/uint64_t{0u}
+ , /*decltype(_impl_.expirytimestamp_)*/int64_t{0}} {}
struct RequestPaymentMessageDefaultTypeInternal {
- constexpr RequestPaymentMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR RequestPaymentMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~RequestPaymentMessageDefaultTypeInternal() {}
union {
RequestPaymentMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RequestPaymentMessageDefaultTypeInternal _RequestPaymentMessage_default_instance_;
-constexpr DeclinePaymentRequestMessage::DeclinePaymentRequestMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : key_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequestPaymentMessageDefaultTypeInternal _RequestPaymentMessage_default_instance_;
+PROTOBUF_CONSTEXPR DeclinePaymentRequestMessage::DeclinePaymentRequestMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.key_)*/nullptr} {}
struct DeclinePaymentRequestMessageDefaultTypeInternal {
- constexpr DeclinePaymentRequestMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR DeclinePaymentRequestMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~DeclinePaymentRequestMessageDefaultTypeInternal() {}
union {
DeclinePaymentRequestMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeclinePaymentRequestMessageDefaultTypeInternal _DeclinePaymentRequestMessage_default_instance_;
-constexpr CancelPaymentRequestMessage::CancelPaymentRequestMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : key_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeclinePaymentRequestMessageDefaultTypeInternal _DeclinePaymentRequestMessage_default_instance_;
+PROTOBUF_CONSTEXPR CancelPaymentRequestMessage::CancelPaymentRequestMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.key_)*/nullptr} {}
struct CancelPaymentRequestMessageDefaultTypeInternal {
- constexpr CancelPaymentRequestMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR CancelPaymentRequestMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~CancelPaymentRequestMessageDefaultTypeInternal() {}
union {
CancelPaymentRequestMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CancelPaymentRequestMessageDefaultTypeInternal _CancelPaymentRequestMessage_default_instance_;
-constexpr LiveLocationMessage::LiveLocationMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : caption_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , jpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , degreeslatitude_(0)
- , degreeslongitude_(0)
- , accuracyinmeters_(0u)
- , speedinmps_(0)
- , degreesclockwisefrommagneticnorth_(0u)
- , timeoffset_(0u)
- , sequencenumber_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CancelPaymentRequestMessageDefaultTypeInternal _CancelPaymentRequestMessage_default_instance_;
+PROTOBUF_CONSTEXPR LiveLocationMessage::LiveLocationMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.caption_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.jpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.degreeslatitude_)*/0
+ , /*decltype(_impl_.degreeslongitude_)*/0
+ , /*decltype(_impl_.accuracyinmeters_)*/0u
+ , /*decltype(_impl_.speedinmps_)*/0
+ , /*decltype(_impl_.degreesclockwisefrommagneticnorth_)*/0u
+ , /*decltype(_impl_.timeoffset_)*/0u
+ , /*decltype(_impl_.sequencenumber_)*/int64_t{0}} {}
struct LiveLocationMessageDefaultTypeInternal {
- constexpr LiveLocationMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR LiveLocationMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~LiveLocationMessageDefaultTypeInternal() {}
union {
LiveLocationMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LiveLocationMessageDefaultTypeInternal _LiveLocationMessage_default_instance_;
-constexpr StickerMessage::StickerMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , filesha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fileencsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediakey_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mimetype_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , directpath_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , firstframesidecar_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , pngthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , height_(0u)
- , width_(0u)
- , filelength_(uint64_t{0u})
- , mediakeytimestamp_(int64_t{0})
- , firstframelength_(0u)
- , isanimated_(false){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LiveLocationMessageDefaultTypeInternal _LiveLocationMessage_default_instance_;
+PROTOBUF_CONSTEXPR StickerMessage::StickerMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.filesha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fileencsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediakey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mimetype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.directpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.firstframesidecar_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.pngthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.height_)*/0u
+ , /*decltype(_impl_.width_)*/0u
+ , /*decltype(_impl_.filelength_)*/uint64_t{0u}
+ , /*decltype(_impl_.mediakeytimestamp_)*/int64_t{0}
+ , /*decltype(_impl_.firstframelength_)*/0u
+ , /*decltype(_impl_.isanimated_)*/false} {}
struct StickerMessageDefaultTypeInternal {
- constexpr StickerMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR StickerMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~StickerMessageDefaultTypeInternal() {}
union {
StickerMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StickerMessageDefaultTypeInternal _StickerMessage_default_instance_;
-constexpr FourRowTemplate::FourRowTemplate(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : buttons_()
- , content_(nullptr)
- , footer_(nullptr)
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StickerMessageDefaultTypeInternal _StickerMessage_default_instance_;
+PROTOBUF_CONSTEXPR FourRowTemplate::FourRowTemplate(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.buttons_)*/{}
+ , /*decltype(_impl_.content_)*/nullptr
+ , /*decltype(_impl_.footer_)*/nullptr
+ , /*decltype(_impl_.title_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct FourRowTemplateDefaultTypeInternal {
- constexpr FourRowTemplateDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR FourRowTemplateDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~FourRowTemplateDefaultTypeInternal() {}
union {
FourRowTemplate _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FourRowTemplateDefaultTypeInternal _FourRowTemplate_default_instance_;
-constexpr HydratedFourRowTemplate::HydratedFourRowTemplate(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : hydratedbuttons_()
- , hydratedcontenttext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , hydratedfootertext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , templateid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FourRowTemplateDefaultTypeInternal _FourRowTemplate_default_instance_;
+PROTOBUF_CONSTEXPR HydratedFourRowTemplate::HydratedFourRowTemplate(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.hydratedbuttons_)*/{}
+ , /*decltype(_impl_.hydratedcontenttext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.hydratedfootertext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.templateid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.title_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct HydratedFourRowTemplateDefaultTypeInternal {
- constexpr HydratedFourRowTemplateDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR HydratedFourRowTemplateDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~HydratedFourRowTemplateDefaultTypeInternal() {}
union {
HydratedFourRowTemplate _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HydratedFourRowTemplateDefaultTypeInternal _HydratedFourRowTemplate_default_instance_;
-constexpr TemplateMessage::TemplateMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : contextinfo_(nullptr)
- , hydratedtemplate_(nullptr)
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HydratedFourRowTemplateDefaultTypeInternal _HydratedFourRowTemplate_default_instance_;
+PROTOBUF_CONSTEXPR TemplateMessage::TemplateMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.hydratedtemplate_)*/nullptr
+ , /*decltype(_impl_.format_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct TemplateMessageDefaultTypeInternal {
- constexpr TemplateMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR TemplateMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~TemplateMessageDefaultTypeInternal() {}
union {
TemplateMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT TemplateMessageDefaultTypeInternal _TemplateMessage_default_instance_;
-constexpr TemplateButtonReplyMessage::TemplateButtonReplyMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : selectedid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , selecteddisplaytext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , selectedindex_(0u){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TemplateMessageDefaultTypeInternal _TemplateMessage_default_instance_;
+PROTOBUF_CONSTEXPR TemplateButtonReplyMessage::TemplateButtonReplyMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.selectedid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.selecteddisplaytext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.selectedindex_)*/0u} {}
struct TemplateButtonReplyMessageDefaultTypeInternal {
- constexpr TemplateButtonReplyMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR TemplateButtonReplyMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~TemplateButtonReplyMessageDefaultTypeInternal() {}
union {
TemplateButtonReplyMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT TemplateButtonReplyMessageDefaultTypeInternal _TemplateButtonReplyMessage_default_instance_;
-constexpr CatalogSnapshot::CatalogSnapshot(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , description_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , catalogimage_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TemplateButtonReplyMessageDefaultTypeInternal _TemplateButtonReplyMessage_default_instance_;
+PROTOBUF_CONSTEXPR CatalogSnapshot::CatalogSnapshot(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.catalogimage_)*/nullptr} {}
struct CatalogSnapshotDefaultTypeInternal {
- constexpr CatalogSnapshotDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR CatalogSnapshotDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~CatalogSnapshotDefaultTypeInternal() {}
union {
CatalogSnapshot _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CatalogSnapshotDefaultTypeInternal _CatalogSnapshot_default_instance_;
-constexpr ProductSnapshot::ProductSnapshot(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : productid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , description_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , currencycode_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , retailerid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , firstimageid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , productimage_(nullptr)
- , priceamount1000_(int64_t{0})
- , productimagecount_(0u){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CatalogSnapshotDefaultTypeInternal _CatalogSnapshot_default_instance_;
+PROTOBUF_CONSTEXPR ProductSnapshot::ProductSnapshot(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.productid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.currencycode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.retailerid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.firstimageid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.productimage_)*/nullptr
+ , /*decltype(_impl_.priceamount1000_)*/int64_t{0}
+ , /*decltype(_impl_.productimagecount_)*/0u} {}
struct ProductSnapshotDefaultTypeInternal {
- constexpr ProductSnapshotDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ProductSnapshotDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ProductSnapshotDefaultTypeInternal() {}
union {
ProductSnapshot _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ProductSnapshotDefaultTypeInternal _ProductSnapshot_default_instance_;
-constexpr ProductMessage::ProductMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : businessownerjid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , product_(nullptr)
- , catalog_(nullptr)
- , contextinfo_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProductSnapshotDefaultTypeInternal _ProductSnapshot_default_instance_;
+PROTOBUF_CONSTEXPR ProductMessage::ProductMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.businessownerjid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.product_)*/nullptr
+ , /*decltype(_impl_.catalog_)*/nullptr
+ , /*decltype(_impl_.contextinfo_)*/nullptr} {}
struct ProductMessageDefaultTypeInternal {
- constexpr ProductMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ProductMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ProductMessageDefaultTypeInternal() {}
union {
ProductMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ProductMessageDefaultTypeInternal _ProductMessage_default_instance_;
-constexpr OrderMessage::OrderMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : orderid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , thumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , message_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , ordertitle_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , sellerjid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , token_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , totalcurrencycode_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , totalamount1000_(int64_t{0})
- , itemcount_(0)
- , status_(1)
-
- , surface_(1)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProductMessageDefaultTypeInternal _ProductMessage_default_instance_;
+PROTOBUF_CONSTEXPR OrderMessage::OrderMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.orderid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.thumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.ordertitle_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.sellerjid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.totalcurrencycode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.totalamount1000_)*/int64_t{0}
+ , /*decltype(_impl_.itemcount_)*/0
+ , /*decltype(_impl_.status_)*/1
+ , /*decltype(_impl_.surface_)*/1} {}
struct OrderMessageDefaultTypeInternal {
- constexpr OrderMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR OrderMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~OrderMessageDefaultTypeInternal() {}
union {
OrderMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OrderMessageDefaultTypeInternal _OrderMessage_default_instance_;
-constexpr Row::Row(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , description_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , rowid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OrderMessageDefaultTypeInternal _OrderMessage_default_instance_;
+PROTOBUF_CONSTEXPR Row::Row(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.rowid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct RowDefaultTypeInternal {
- constexpr RowDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR RowDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~RowDefaultTypeInternal() {}
union {
Row _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RowDefaultTypeInternal _Row_default_instance_;
-constexpr Section::Section(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : rows_()
- , title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RowDefaultTypeInternal _Row_default_instance_;
+PROTOBUF_CONSTEXPR Section::Section(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.rows_)*/{}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct SectionDefaultTypeInternal {
- constexpr SectionDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR SectionDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~SectionDefaultTypeInternal() {}
union {
Section _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SectionDefaultTypeInternal _Section_default_instance_;
-constexpr ListMessage::ListMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : sections_()
- , title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , description_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , buttontext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , listtype_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SectionDefaultTypeInternal _Section_default_instance_;
+PROTOBUF_CONSTEXPR ListMessage::ListMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.sections_)*/{}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.buttontext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.listtype_)*/0} {}
struct ListMessageDefaultTypeInternal {
- constexpr ListMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ListMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ListMessageDefaultTypeInternal() {}
union {
ListMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ListMessageDefaultTypeInternal _ListMessage_default_instance_;
-constexpr SingleSelectReply::SingleSelectReply(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : selectedrowid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListMessageDefaultTypeInternal _ListMessage_default_instance_;
+PROTOBUF_CONSTEXPR SingleSelectReply::SingleSelectReply(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.selectedrowid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct SingleSelectReplyDefaultTypeInternal {
- constexpr SingleSelectReplyDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR SingleSelectReplyDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~SingleSelectReplyDefaultTypeInternal() {}
union {
SingleSelectReply _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SingleSelectReplyDefaultTypeInternal _SingleSelectReply_default_instance_;
-constexpr ListResponseMessage::ListResponseMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : title_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , description_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , singleselectreply_(nullptr)
- , contextinfo_(nullptr)
- , listtype_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SingleSelectReplyDefaultTypeInternal _SingleSelectReply_default_instance_;
+PROTOBUF_CONSTEXPR ListResponseMessage::ListResponseMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.singleselectreply_)*/nullptr
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.listtype_)*/0} {}
struct ListResponseMessageDefaultTypeInternal {
- constexpr ListResponseMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ListResponseMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ListResponseMessageDefaultTypeInternal() {}
union {
ListResponseMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ListResponseMessageDefaultTypeInternal _ListResponseMessage_default_instance_;
-constexpr GroupInviteMessage::GroupInviteMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : groupjid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , invitecode_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , groupname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , jpegthumbnail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , caption_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , inviteexpiration_(int64_t{0}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListResponseMessageDefaultTypeInternal _ListResponseMessage_default_instance_;
+PROTOBUF_CONSTEXPR GroupInviteMessage::GroupInviteMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.groupjid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.invitecode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.groupname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.jpegthumbnail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.caption_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.inviteexpiration_)*/int64_t{0}} {}
struct GroupInviteMessageDefaultTypeInternal {
- constexpr GroupInviteMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR GroupInviteMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~GroupInviteMessageDefaultTypeInternal() {}
union {
GroupInviteMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GroupInviteMessageDefaultTypeInternal _GroupInviteMessage_default_instance_;
-constexpr EphemeralSetting::EphemeralSetting(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : chatjid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , ephemeralsettingtimestamp_(int64_t{0})
- , ephemeralexpiration_(0u){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GroupInviteMessageDefaultTypeInternal _GroupInviteMessage_default_instance_;
+PROTOBUF_CONSTEXPR EphemeralSetting::EphemeralSetting(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.chatjid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.ephemeralsettingtimestamp_)*/int64_t{0}
+ , /*decltype(_impl_.ephemeralexpiration_)*/0u} {}
struct EphemeralSettingDefaultTypeInternal {
- constexpr EphemeralSettingDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR EphemeralSettingDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~EphemeralSettingDefaultTypeInternal() {}
union {
EphemeralSetting _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EphemeralSettingDefaultTypeInternal _EphemeralSetting_default_instance_;
-constexpr DeviceSentMessage::DeviceSentMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : broadcastephemeralsettings_()
- , destinationjid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , phash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , message_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EphemeralSettingDefaultTypeInternal _EphemeralSetting_default_instance_;
+PROTOBUF_CONSTEXPR DeviceSentMessage::DeviceSentMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.broadcastephemeralsettings_)*/{}
+ , /*decltype(_impl_.destinationjid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.phash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.message_)*/nullptr} {}
struct DeviceSentMessageDefaultTypeInternal {
- constexpr DeviceSentMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR DeviceSentMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~DeviceSentMessageDefaultTypeInternal() {}
union {
DeviceSentMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeviceSentMessageDefaultTypeInternal _DeviceSentMessage_default_instance_;
-constexpr FutureProofMessage::FutureProofMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : message_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeviceSentMessageDefaultTypeInternal _DeviceSentMessage_default_instance_;
+PROTOBUF_CONSTEXPR FutureProofMessage::FutureProofMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.message_)*/nullptr} {}
struct FutureProofMessageDefaultTypeInternal {
- constexpr FutureProofMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR FutureProofMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~FutureProofMessageDefaultTypeInternal() {}
union {
FutureProofMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FutureProofMessageDefaultTypeInternal _FutureProofMessage_default_instance_;
-constexpr ButtonText::ButtonText(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : displaytext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FutureProofMessageDefaultTypeInternal _FutureProofMessage_default_instance_;
+PROTOBUF_CONSTEXPR ButtonText::ButtonText(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.displaytext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct ButtonTextDefaultTypeInternal {
- constexpr ButtonTextDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ButtonTextDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ButtonTextDefaultTypeInternal() {}
union {
ButtonText _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ButtonTextDefaultTypeInternal _ButtonText_default_instance_;
-constexpr Button::Button(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : buttonid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , buttontext_(nullptr)
- , type_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ButtonTextDefaultTypeInternal _ButtonText_default_instance_;
+PROTOBUF_CONSTEXPR Button::Button(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.buttonid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.buttontext_)*/nullptr
+ , /*decltype(_impl_.type_)*/0} {}
struct ButtonDefaultTypeInternal {
- constexpr ButtonDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ButtonDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ButtonDefaultTypeInternal() {}
union {
Button _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ButtonDefaultTypeInternal _Button_default_instance_;
-constexpr ButtonsMessage::ButtonsMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : buttons_()
- , contenttext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , footertext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , headertype_(0)
-
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ButtonDefaultTypeInternal _Button_default_instance_;
+PROTOBUF_CONSTEXPR ButtonsMessage::ButtonsMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.buttons_)*/{}
+ , /*decltype(_impl_.contenttext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.footertext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.headertype_)*/0
+ , /*decltype(_impl_.header_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct ButtonsMessageDefaultTypeInternal {
- constexpr ButtonsMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ButtonsMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ButtonsMessageDefaultTypeInternal() {}
union {
ButtonsMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ButtonsMessageDefaultTypeInternal _ButtonsMessage_default_instance_;
-constexpr ButtonsResponseMessage::ButtonsResponseMessage(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : selectedbuttonid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , contextinfo_(nullptr)
- , type_(0)
-
- , _oneof_case_{}{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ButtonsMessageDefaultTypeInternal _ButtonsMessage_default_instance_;
+PROTOBUF_CONSTEXPR ButtonsResponseMessage::ButtonsResponseMessage(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.selectedbuttonid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.contextinfo_)*/nullptr
+ , /*decltype(_impl_.type_)*/0
+ , /*decltype(_impl_.response_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}} {}
struct ButtonsResponseMessageDefaultTypeInternal {
- constexpr ButtonsResponseMessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR ButtonsResponseMessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~ButtonsResponseMessageDefaultTypeInternal() {}
union {
ButtonsResponseMessage _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ButtonsResponseMessageDefaultTypeInternal _ButtonsResponseMessage_default_instance_;
-constexpr Message::Message(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : conversation_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , senderkeydistributionmessage_(nullptr)
- , imagemessage_(nullptr)
- , contactmessage_(nullptr)
- , locationmessage_(nullptr)
- , extendedtextmessage_(nullptr)
- , documentmessage_(nullptr)
- , audiomessage_(nullptr)
- , videomessage_(nullptr)
- , call_(nullptr)
- , chat_(nullptr)
- , protocolmessage_(nullptr)
- , contactsarraymessage_(nullptr)
- , highlystructuredmessage_(nullptr)
- , fastratchetkeysenderkeydistributionmessage_(nullptr)
- , sendpaymentmessage_(nullptr)
- , livelocationmessage_(nullptr)
- , requestpaymentmessage_(nullptr)
- , declinepaymentrequestmessage_(nullptr)
- , cancelpaymentrequestmessage_(nullptr)
- , templatemessage_(nullptr)
- , stickermessage_(nullptr)
- , groupinvitemessage_(nullptr)
- , templatebuttonreplymessage_(nullptr)
- , productmessage_(nullptr)
- , devicesentmessage_(nullptr)
- , messagecontextinfo_(nullptr)
- , listmessage_(nullptr)
- , viewoncemessage_(nullptr)
- , ordermessage_(nullptr)
- , listresponsemessage_(nullptr)
- , ephemeralmessage_(nullptr)
- , invoicemessage_(nullptr)
- , buttonsmessage_(nullptr)
- , buttonsresponsemessage_(nullptr){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ButtonsResponseMessageDefaultTypeInternal _ButtonsResponseMessage_default_instance_;
+PROTOBUF_CONSTEXPR Message::Message(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.conversation_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.senderkeydistributionmessage_)*/nullptr
+ , /*decltype(_impl_.imagemessage_)*/nullptr
+ , /*decltype(_impl_.contactmessage_)*/nullptr
+ , /*decltype(_impl_.locationmessage_)*/nullptr
+ , /*decltype(_impl_.extendedtextmessage_)*/nullptr
+ , /*decltype(_impl_.documentmessage_)*/nullptr
+ , /*decltype(_impl_.audiomessage_)*/nullptr
+ , /*decltype(_impl_.videomessage_)*/nullptr
+ , /*decltype(_impl_.call_)*/nullptr
+ , /*decltype(_impl_.chat_)*/nullptr
+ , /*decltype(_impl_.protocolmessage_)*/nullptr
+ , /*decltype(_impl_.contactsarraymessage_)*/nullptr
+ , /*decltype(_impl_.highlystructuredmessage_)*/nullptr
+ , /*decltype(_impl_.fastratchetkeysenderkeydistributionmessage_)*/nullptr
+ , /*decltype(_impl_.sendpaymentmessage_)*/nullptr
+ , /*decltype(_impl_.livelocationmessage_)*/nullptr
+ , /*decltype(_impl_.requestpaymentmessage_)*/nullptr
+ , /*decltype(_impl_.declinepaymentrequestmessage_)*/nullptr
+ , /*decltype(_impl_.cancelpaymentrequestmessage_)*/nullptr
+ , /*decltype(_impl_.templatemessage_)*/nullptr
+ , /*decltype(_impl_.stickermessage_)*/nullptr
+ , /*decltype(_impl_.groupinvitemessage_)*/nullptr
+ , /*decltype(_impl_.templatebuttonreplymessage_)*/nullptr
+ , /*decltype(_impl_.productmessage_)*/nullptr
+ , /*decltype(_impl_.devicesentmessage_)*/nullptr
+ , /*decltype(_impl_.messagecontextinfo_)*/nullptr
+ , /*decltype(_impl_.listmessage_)*/nullptr
+ , /*decltype(_impl_.viewoncemessage_)*/nullptr
+ , /*decltype(_impl_.ordermessage_)*/nullptr
+ , /*decltype(_impl_.listresponsemessage_)*/nullptr
+ , /*decltype(_impl_.ephemeralmessage_)*/nullptr
+ , /*decltype(_impl_.invoicemessage_)*/nullptr
+ , /*decltype(_impl_.buttonsmessage_)*/nullptr
+ , /*decltype(_impl_.buttonsresponsemessage_)*/nullptr} {}
struct MessageDefaultTypeInternal {
- constexpr MessageDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR MessageDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~MessageDefaultTypeInternal() {}
union {
Message _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MessageDefaultTypeInternal _Message_default_instance_;
-constexpr MessageKey::MessageKey(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : remotejid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , id_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , participant_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , fromme_(false){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageDefaultTypeInternal _Message_default_instance_;
+PROTOBUF_CONSTEXPR MessageKey::MessageKey(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.remotejid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.participant_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.fromme_)*/false} {}
struct MessageKeyDefaultTypeInternal {
- constexpr MessageKeyDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR MessageKeyDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~MessageKeyDefaultTypeInternal() {}
union {
MessageKey _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MessageKeyDefaultTypeInternal _MessageKey_default_instance_;
-constexpr WebFeatures::WebFeatures(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : labelsdisplay_(0)
-
- , voipindividualoutgoing_(0)
-
- , groupsv3_(0)
-
- , groupsv3create_(0)
-
- , changenumberv2_(0)
-
- , querystatusv3thumbnail_(0)
-
- , livelocations_(0)
-
- , queryvname_(0)
-
- , voipindividualincoming_(0)
-
- , quickrepliesquery_(0)
-
- , payments_(0)
-
- , stickerpackquery_(0)
-
- , livelocationsfinal_(0)
-
- , labelsedit_(0)
-
- , mediaupload_(0)
-
- , mediauploadrichquickreplies_(0)
-
- , vnamev2_(0)
-
- , videoplaybackurl_(0)
-
- , statusranking_(0)
-
- , voipindividualvideo_(0)
-
- , thirdpartystickers_(0)
-
- , frequentlyforwardedsetting_(0)
-
- , groupsv4joinpermission_(0)
-
- , recentstickers_(0)
-
- , catalog_(0)
-
- , starredstickers_(0)
-
- , voipgroupcall_(0)
-
- , templatemessage_(0)
-
- , templatemessageinteractivity_(0)
-
- , ephemeralmessages_(0)
-
- , e2enotificationsync_(0)
-
- , recentstickersv2_(0)
-
- , syncdrelease1_(0)
-
- , recentstickersv3_(0)
-
- , usernotice_(0)
-
- , syncdrelease11_(0)
-
- , support_(0)
-
- , groupuiicleanup_(0)
-
- , groupdogfoodinginternalonly_(0)
-
- , settingssync_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageKeyDefaultTypeInternal _MessageKey_default_instance_;
+PROTOBUF_CONSTEXPR WebFeatures::WebFeatures(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.labelsdisplay_)*/0
+ , /*decltype(_impl_.voipindividualoutgoing_)*/0
+ , /*decltype(_impl_.groupsv3_)*/0
+ , /*decltype(_impl_.groupsv3create_)*/0
+ , /*decltype(_impl_.changenumberv2_)*/0
+ , /*decltype(_impl_.querystatusv3thumbnail_)*/0
+ , /*decltype(_impl_.livelocations_)*/0
+ , /*decltype(_impl_.queryvname_)*/0
+ , /*decltype(_impl_.voipindividualincoming_)*/0
+ , /*decltype(_impl_.quickrepliesquery_)*/0
+ , /*decltype(_impl_.payments_)*/0
+ , /*decltype(_impl_.stickerpackquery_)*/0
+ , /*decltype(_impl_.livelocationsfinal_)*/0
+ , /*decltype(_impl_.labelsedit_)*/0
+ , /*decltype(_impl_.mediaupload_)*/0
+ , /*decltype(_impl_.mediauploadrichquickreplies_)*/0
+ , /*decltype(_impl_.vnamev2_)*/0
+ , /*decltype(_impl_.videoplaybackurl_)*/0
+ , /*decltype(_impl_.statusranking_)*/0
+ , /*decltype(_impl_.voipindividualvideo_)*/0
+ , /*decltype(_impl_.thirdpartystickers_)*/0
+ , /*decltype(_impl_.frequentlyforwardedsetting_)*/0
+ , /*decltype(_impl_.groupsv4joinpermission_)*/0
+ , /*decltype(_impl_.recentstickers_)*/0
+ , /*decltype(_impl_.catalog_)*/0
+ , /*decltype(_impl_.starredstickers_)*/0
+ , /*decltype(_impl_.voipgroupcall_)*/0
+ , /*decltype(_impl_.templatemessage_)*/0
+ , /*decltype(_impl_.templatemessageinteractivity_)*/0
+ , /*decltype(_impl_.ephemeralmessages_)*/0
+ , /*decltype(_impl_.e2enotificationsync_)*/0
+ , /*decltype(_impl_.recentstickersv2_)*/0
+ , /*decltype(_impl_.syncdrelease1_)*/0
+ , /*decltype(_impl_.recentstickersv3_)*/0
+ , /*decltype(_impl_.usernotice_)*/0
+ , /*decltype(_impl_.syncdrelease11_)*/0
+ , /*decltype(_impl_.support_)*/0
+ , /*decltype(_impl_.groupuiicleanup_)*/0
+ , /*decltype(_impl_.groupdogfoodinginternalonly_)*/0
+ , /*decltype(_impl_.settingssync_)*/0} {}
struct WebFeaturesDefaultTypeInternal {
- constexpr WebFeaturesDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR WebFeaturesDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~WebFeaturesDefaultTypeInternal() {}
union {
WebFeatures _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT WebFeaturesDefaultTypeInternal _WebFeatures_default_instance_;
-constexpr NotificationMessageInfo::NotificationMessageInfo(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : participant_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , key_(nullptr)
- , message_(nullptr)
- , messagetimestamp_(uint64_t{0u}){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WebFeaturesDefaultTypeInternal _WebFeatures_default_instance_;
+PROTOBUF_CONSTEXPR NotificationMessageInfo::NotificationMessageInfo(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.participant_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.key_)*/nullptr
+ , /*decltype(_impl_.message_)*/nullptr
+ , /*decltype(_impl_.messagetimestamp_)*/uint64_t{0u}} {}
struct NotificationMessageInfoDefaultTypeInternal {
- constexpr NotificationMessageInfoDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR NotificationMessageInfoDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~NotificationMessageInfoDefaultTypeInternal() {}
union {
NotificationMessageInfo _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NotificationMessageInfoDefaultTypeInternal _NotificationMessageInfo_default_instance_;
-constexpr WebNotificationsInfo::WebNotificationsInfo(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : notifymessages_()
- , timestamp_(uint64_t{0u})
- , unreadchats_(0u)
- , notifymessagecount_(0u){}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NotificationMessageInfoDefaultTypeInternal _NotificationMessageInfo_default_instance_;
+PROTOBUF_CONSTEXPR WebNotificationsInfo::WebNotificationsInfo(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.notifymessages_)*/{}
+ , /*decltype(_impl_.timestamp_)*/uint64_t{0u}
+ , /*decltype(_impl_.unreadchats_)*/0u
+ , /*decltype(_impl_.notifymessagecount_)*/0u} {}
struct WebNotificationsInfoDefaultTypeInternal {
- constexpr WebNotificationsInfoDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR WebNotificationsInfoDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~WebNotificationsInfoDefaultTypeInternal() {}
union {
WebNotificationsInfo _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT WebNotificationsInfoDefaultTypeInternal _WebNotificationsInfo_default_instance_;
-constexpr PaymentInfo::PaymentInfo(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : receiverjid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , currency_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , requestmessagekey_(nullptr)
- , primaryamount_(nullptr)
- , exchangeamount_(nullptr)
- , amount1000_(uint64_t{0u})
- , currencydeprecated_(0)
-
- , status_(0)
-
- , transactiontimestamp_(uint64_t{0u})
- , expirytimestamp_(uint64_t{0u})
- , futureproofed_(false)
- , usenovifiatformat_(false)
- , txnstatus_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WebNotificationsInfoDefaultTypeInternal _WebNotificationsInfo_default_instance_;
+PROTOBUF_CONSTEXPR PaymentInfo::PaymentInfo(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.receiverjid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.currency_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.requestmessagekey_)*/nullptr
+ , /*decltype(_impl_.primaryamount_)*/nullptr
+ , /*decltype(_impl_.exchangeamount_)*/nullptr
+ , /*decltype(_impl_.amount1000_)*/uint64_t{0u}
+ , /*decltype(_impl_.currencydeprecated_)*/0
+ , /*decltype(_impl_.status_)*/0
+ , /*decltype(_impl_.transactiontimestamp_)*/uint64_t{0u}
+ , /*decltype(_impl_.expirytimestamp_)*/uint64_t{0u}
+ , /*decltype(_impl_.futureproofed_)*/false
+ , /*decltype(_impl_.usenovifiatformat_)*/false
+ , /*decltype(_impl_.txnstatus_)*/0} {}
struct PaymentInfoDefaultTypeInternal {
- constexpr PaymentInfoDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR PaymentInfoDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~PaymentInfoDefaultTypeInternal() {}
union {
PaymentInfo _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PaymentInfoDefaultTypeInternal _PaymentInfo_default_instance_;
-constexpr WebMessageInfo::WebMessageInfo(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
- : messagestubparameters_()
- , labels_()
- , participant_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , pushname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , mediaciphertextsha256_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , verifiedbizname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
- , key_(nullptr)
- , message_(nullptr)
- , paymentinfo_(nullptr)
- , finallivelocation_(nullptr)
- , quotedpaymentinfo_(nullptr)
- , messagetimestamp_(uint64_t{0u})
- , status_(0)
-
- , ignore_(false)
- , starred_(false)
- , broadcast_(false)
- , multicast_(false)
- , messagestubtype_(0)
-
- , urltext_(false)
- , urlnumber_(false)
- , clearmedia_(false)
- , ephemeralofftoon_(false)
- , duration_(0u)
- , ephemeralduration_(0u)
- , ephemeralstarttimestamp_(uint64_t{0u})
- , ephemeraloutofsync_(false)
- , bizprivacystatus_(0)
-{}
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PaymentInfoDefaultTypeInternal _PaymentInfo_default_instance_;
+PROTOBUF_CONSTEXPR WebMessageInfo::WebMessageInfo(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_._has_bits_)*/{}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_.messagestubparameters_)*/{}
+ , /*decltype(_impl_.labels_)*/{}
+ , /*decltype(_impl_.participant_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.pushname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.mediaciphertextsha256_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.verifiedbizname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
+ , /*decltype(_impl_.key_)*/nullptr
+ , /*decltype(_impl_.message_)*/nullptr
+ , /*decltype(_impl_.paymentinfo_)*/nullptr
+ , /*decltype(_impl_.finallivelocation_)*/nullptr
+ , /*decltype(_impl_.quotedpaymentinfo_)*/nullptr
+ , /*decltype(_impl_.messagetimestamp_)*/uint64_t{0u}
+ , /*decltype(_impl_.status_)*/0
+ , /*decltype(_impl_.ignore_)*/false
+ , /*decltype(_impl_.starred_)*/false
+ , /*decltype(_impl_.broadcast_)*/false
+ , /*decltype(_impl_.multicast_)*/false
+ , /*decltype(_impl_.messagestubtype_)*/0
+ , /*decltype(_impl_.urltext_)*/false
+ , /*decltype(_impl_.urlnumber_)*/false
+ , /*decltype(_impl_.clearmedia_)*/false
+ , /*decltype(_impl_.ephemeralofftoon_)*/false
+ , /*decltype(_impl_.duration_)*/0u
+ , /*decltype(_impl_.ephemeralduration_)*/0u
+ , /*decltype(_impl_.ephemeralstarttimestamp_)*/uint64_t{0u}
+ , /*decltype(_impl_.ephemeraloutofsync_)*/false
+ , /*decltype(_impl_.bizprivacystatus_)*/0} {}
struct WebMessageInfoDefaultTypeInternal {
- constexpr WebMessageInfoDefaultTypeInternal()
- : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
+ PROTOBUF_CONSTEXPR WebMessageInfoDefaultTypeInternal()
+ : _instance(::_pbi::ConstantInitialized{}) {}
~WebMessageInfoDefaultTypeInternal() {}
union {
WebMessageInfo _instance;
};
};
-PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT WebMessageInfoDefaultTypeInternal _WebMessageInfo_default_instance_;
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WebMessageInfoDefaultTypeInternal _WebMessageInfo_default_instance_;
} // namespace proto
-static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_pmsg_2eproto[79];
-static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_pmsg_2eproto[24];
-static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_pmsg_2eproto = nullptr;
+static ::_pb::Metadata file_level_metadata_pmsg_2eproto[79];
+static const ::_pb::EnumDescriptor* file_level_enum_descriptors_pmsg_2eproto[24];
+static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_pmsg_2eproto = nullptr;
-const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, _has_bits_),
+const uint32_t TableStruct_pmsg_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, value_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, offset_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, currencycode_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, _impl_.value_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, _impl_.offset_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentMoney, _impl_.currencycode_),
1,
2,
0,
- PROTOBUF_FIELD_OFFSET(::proto::HydratedQuickReplyButton, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedQuickReplyButton, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HydratedQuickReplyButton, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HydratedQuickReplyButton, displaytext_),
- PROTOBUF_FIELD_OFFSET(::proto::HydratedQuickReplyButton, id_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedQuickReplyButton, _impl_.displaytext_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedQuickReplyButton, _impl_.id_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::HydratedURLButton, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedURLButton, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HydratedURLButton, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HydratedURLButton, displaytext_),
- PROTOBUF_FIELD_OFFSET(::proto::HydratedURLButton, url_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedURLButton, _impl_.displaytext_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedURLButton, _impl_.url_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::HydratedCallButton, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedCallButton, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HydratedCallButton, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HydratedCallButton, displaytext_),
- PROTOBUF_FIELD_OFFSET(::proto::HydratedCallButton, phonenumber_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedCallButton, _impl_.displaytext_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedCallButton, _impl_.phonenumber_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, index_),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, hydratedButton_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, _impl_.index_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedTemplateButton, _impl_.hydratedButton_),
0,
~0u,
~0u,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::QuickReplyButton, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::QuickReplyButton, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::QuickReplyButton, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::QuickReplyButton, displaytext_),
- PROTOBUF_FIELD_OFFSET(::proto::QuickReplyButton, id_),
+ PROTOBUF_FIELD_OFFSET(::proto::QuickReplyButton, _impl_.displaytext_),
+ PROTOBUF_FIELD_OFFSET(::proto::QuickReplyButton, _impl_.id_),
1,
0,
- PROTOBUF_FIELD_OFFSET(::proto::URLButton, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::URLButton, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::URLButton, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::URLButton, displaytext_),
- PROTOBUF_FIELD_OFFSET(::proto::URLButton, url_),
+ PROTOBUF_FIELD_OFFSET(::proto::URLButton, _impl_.displaytext_),
+ PROTOBUF_FIELD_OFFSET(::proto::URLButton, _impl_.url_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::CallButton, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::CallButton, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::CallButton, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::CallButton, displaytext_),
- PROTOBUF_FIELD_OFFSET(::proto::CallButton, phonenumber_),
+ PROTOBUF_FIELD_OFFSET(::proto::CallButton, _impl_.displaytext_),
+ PROTOBUF_FIELD_OFFSET(::proto::CallButton, _impl_.phonenumber_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, index_),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, button_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, _impl_.index_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButton, _impl_.button_),
0,
~0u,
~0u,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::Location, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::Location, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::Location, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::Location, degreeslatitude_),
- PROTOBUF_FIELD_OFFSET(::proto::Location, degreeslongitude_),
- PROTOBUF_FIELD_OFFSET(::proto::Location, name_),
+ PROTOBUF_FIELD_OFFSET(::proto::Location, _impl_.degreeslatitude_),
+ PROTOBUF_FIELD_OFFSET(::proto::Location, _impl_.degreeslongitude_),
+ PROTOBUF_FIELD_OFFSET(::proto::Location, _impl_.name_),
1,
2,
0,
- PROTOBUF_FIELD_OFFSET(::proto::Point, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::Point, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::Point, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::Point, xdeprecated_),
- PROTOBUF_FIELD_OFFSET(::proto::Point, ydeprecated_),
- PROTOBUF_FIELD_OFFSET(::proto::Point, x_),
- PROTOBUF_FIELD_OFFSET(::proto::Point, y_),
+ PROTOBUF_FIELD_OFFSET(::proto::Point, _impl_.xdeprecated_),
+ PROTOBUF_FIELD_OFFSET(::proto::Point, _impl_.ydeprecated_),
+ PROTOBUF_FIELD_OFFSET(::proto::Point, _impl_.x_),
+ PROTOBUF_FIELD_OFFSET(::proto::Point, _impl_.y_),
0,
1,
2,
@@ -1577,63 +1682,63 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::proto::InteractiveAnnotation, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::InteractiveAnnotation, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::InteractiveAnnotation, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::InteractiveAnnotation, polygonvertices_),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::InteractiveAnnotation, action_),
- PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::InteractiveAnnotation, _impl_.polygonvertices_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::InteractiveAnnotation, _impl_.action_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, senderkeyhash_),
- PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, sendertimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, recipientkeyhash_),
- PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, recipienttimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, _impl_.senderkeyhash_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, _impl_.sendertimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, _impl_.recipientkeyhash_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceListMetadata, _impl_.recipienttimestamp_),
0,
2,
1,
3,
- PROTOBUF_FIELD_OFFSET(::proto::MessageContextInfo, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::MessageContextInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::MessageContextInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::MessageContextInfo, devicelistmetadata_),
+ PROTOBUF_FIELD_OFFSET(::proto::MessageContextInfo, _impl_.devicelistmetadata_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, advertisername_),
- PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, mediatype_),
- PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, jpegthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, caption_),
+ PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, _impl_.advertisername_),
+ PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, _impl_.mediatype_),
+ PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, _impl_.jpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::AdReplyInfo, _impl_.caption_),
0,
3,
1,
2,
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, title_),
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, body_),
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, mediatype_),
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, thumbnailurl_),
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, mediaurl_),
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, thumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, sourcetype_),
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, sourceid_),
- PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, sourceurl_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.body_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.mediatype_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.thumbnailurl_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.mediaurl_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.thumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.sourcetype_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.sourceid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExternalAdReplyInfo, _impl_.sourceurl_),
0,
1,
8,
@@ -1643,28 +1748,28 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
5,
6,
7,
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, stanzaid_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, participant_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, quotedmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, remotejid_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, mentionedjid_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, conversionsource_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, conversiondata_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, conversiondelayseconds_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, forwardingscore_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, isforwarded_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, quotedad_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, placeholderkey_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, expiration_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, ephemeralsettingtimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, ephemeralsharedsecret_),
- PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, externaladreply_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.stanzaid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.participant_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.quotedmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.remotejid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.mentionedjid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.conversionsource_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.conversiondata_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.conversiondelayseconds_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.forwardingscore_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.isforwarded_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.quotedad_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.placeholderkey_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.expiration_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.ephemeralsettingtimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.ephemeralsharedsecret_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContextInfo, _impl_.externaladreply_),
0,
1,
6,
@@ -1681,47 +1786,47 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
14,
5,
9,
- PROTOBUF_FIELD_OFFSET(::proto::SenderKeyDistributionMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::SenderKeyDistributionMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::SenderKeyDistributionMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::SenderKeyDistributionMessage, groupid_),
- PROTOBUF_FIELD_OFFSET(::proto::SenderKeyDistributionMessage, axolotlsenderkeydistributionmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::SenderKeyDistributionMessage, _impl_.groupid_),
+ PROTOBUF_FIELD_OFFSET(::proto::SenderKeyDistributionMessage, _impl_.axolotlsenderkeydistributionmessage_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, url_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, mimetype_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, caption_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, filesha256_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, filelength_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, height_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, width_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, mediakey_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, fileencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, interactiveannotations_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, directpath_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, mediakeytimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, jpegthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, firstscansidecar_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, firstscanlength_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, experimentgroupid_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, scanssidecar_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, scanlengths_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, midqualityfilesha256_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, midqualityfileencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, viewonce_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, thumbnaildirectpath_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, thumbnailsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, thumbnailencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.url_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.mimetype_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.caption_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.filesha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.filelength_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.height_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.width_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.mediakey_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.fileencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.interactiveannotations_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.directpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.mediakeytimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.jpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.firstscansidecar_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.firstscanlength_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.experimentgroupid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.scanssidecar_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.scanlengths_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.midqualityfilesha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.midqualityfileencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.viewonce_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.thumbnaildirectpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.thumbnailsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::ImageMessage, _impl_.thumbnailencsha256_),
0,
1,
2,
@@ -1747,22 +1852,22 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
12,
13,
14,
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, note_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, token_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, attachmenttype_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, attachmentmimetype_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, attachmentmediakey_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, attachmentmediakeytimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, attachmentfilesha256_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, attachmentfileencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, attachmentdirectpath_),
- PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, attachmentjpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.note_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.token_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.attachmenttype_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.attachmentmimetype_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.attachmentmediakey_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.attachmentmediakeytimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.attachmentfilesha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.attachmentfileencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.attachmentdirectpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::InvoiceMessage, _impl_.attachmentjpegthumbnail_),
0,
1,
9,
@@ -1773,36 +1878,36 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
5,
6,
7,
- PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, displayname_),
- PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, vcard_),
- PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, _impl_.displayname_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, _impl_.vcard_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContactMessage, _impl_.contextinfo_),
0,
1,
2,
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, degreeslatitude_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, degreeslongitude_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, name_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, address_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, url_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, islive_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, accuracyinmeters_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, speedinmps_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, degreesclockwisefrommagneticnorth_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, comment_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, jpegthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.degreeslatitude_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.degreeslongitude_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.name_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.address_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.url_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.islive_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.accuracyinmeters_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.speedinmps_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.degreesclockwisefrommagneticnorth_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.comment_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.jpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::LocationMessage, _impl_.contextinfo_),
6,
7,
0,
@@ -1815,24 +1920,24 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
3,
4,
5,
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, text_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, matchedtext_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, canonicalurl_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, description_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, title_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, textargb_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, backgroundargb_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, font_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, previewtype_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, jpegthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, donotplayinline_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.text_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.matchedtext_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.canonicalurl_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.description_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.textargb_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.backgroundargb_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.font_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.previewtype_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.jpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::ExtendedTextMessage, _impl_.donotplayinline_),
0,
1,
2,
@@ -1845,31 +1950,31 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
5,
6,
11,
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, url_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, mimetype_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, title_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, filesha256_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, filelength_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, pagecount_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, mediakey_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, filename_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, fileencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, directpath_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, mediakeytimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, contactvcard_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, thumbnaildirectpath_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, thumbnailsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, thumbnailencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, jpegthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, thumbnailheight_),
- PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, thumbnailwidth_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.url_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.mimetype_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.filesha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.filelength_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.pagecount_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.mediakey_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.filename_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.fileencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.directpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.mediakeytimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.contactvcard_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.thumbnaildirectpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.thumbnailsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.thumbnailencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.jpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.thumbnailheight_),
+ PROTOBUF_FIELD_OFFSET(::proto::DocumentMessage, _impl_.thumbnailwidth_),
0,
1,
2,
@@ -1889,24 +1994,24 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
12,
17,
18,
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, url_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, mimetype_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, filesha256_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, filelength_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, seconds_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, ptt_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, mediakey_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, fileencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, directpath_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, mediakeytimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, streamingsidecar_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.url_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.mimetype_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.filesha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.filelength_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.seconds_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.ptt_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.mediakey_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.fileencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.directpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.mediakeytimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::AudioMessage, _impl_.streamingsidecar_),
0,
1,
2,
@@ -1919,34 +2024,34 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
11,
7,
6,
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, url_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, mimetype_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, filesha256_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, filelength_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, seconds_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, mediakey_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, caption_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, gifplayback_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, height_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, width_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, fileencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, interactiveannotations_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, directpath_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, mediakeytimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, jpegthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, streamingsidecar_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, gifattribution_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, viewonce_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, thumbnaildirectpath_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, thumbnailsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, thumbnailencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.url_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.mimetype_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.filesha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.filelength_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.seconds_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.mediakey_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.caption_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.gifplayback_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.height_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.width_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.fileencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.interactiveannotations_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.directpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.mediakeytimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.jpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.streamingsidecar_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.gifattribution_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.viewonce_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.thumbnaildirectpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.thumbnailsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::VideoMessage, _impl_.thumbnailencsha256_),
0,
1,
2,
@@ -1969,39 +2074,39 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
9,
10,
11,
- PROTOBUF_FIELD_OFFSET(::proto::Call, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::Call, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::Call, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::Call, callkey_),
+ PROTOBUF_FIELD_OFFSET(::proto::Call, _impl_.callkey_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::Chat, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::Chat, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::Chat, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::Chat, displayname_),
- PROTOBUF_FIELD_OFFSET(::proto::Chat, id_),
+ PROTOBUF_FIELD_OFFSET(::proto::Chat, _impl_.displayname_),
+ PROTOBUF_FIELD_OFFSET(::proto::Chat, _impl_.id_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, key_),
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, type_),
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, ephemeralexpiration_),
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, ephemeralsettingtimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, historysyncnotification_),
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, appstatesynckeyshare_),
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, appstatesynckeyrequest_),
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, initialsecuritynotificationsettingsync_),
- PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, appstatefatalexceptionnotification_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.key_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.type_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.ephemeralexpiration_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.ephemeralsettingtimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.historysyncnotification_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.appstatesynckeyshare_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.appstatesynckeyrequest_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.initialsecuritynotificationsettingsync_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProtocolMessage, _impl_.appstatefatalexceptionnotification_),
0,
6,
7,
@@ -2011,20 +2116,20 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
3,
4,
5,
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, filesha256_),
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, filelength_),
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, mediakey_),
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, fileencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, directpath_),
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, synctype_),
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, chunkorder_),
- PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, originalmessageid_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_.filesha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_.filelength_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_.mediakey_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_.fileencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_.directpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_.synctype_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_.chunkorder_),
+ PROTOBUF_FIELD_OFFSET(::proto::HistorySyncNotification, _impl_.originalmessageid_),
0,
5,
1,
@@ -2033,45 +2138,45 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
6,
7,
4,
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKey, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKey, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKey, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKey, keyid_),
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKey, keydata_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKey, _impl_.keyid_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKey, _impl_.keydata_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyId, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyId, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyId, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyId, keyid_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyId, _impl_.keyid_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, rawid_),
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, currentindex_),
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, deviceindexes_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, _impl_.rawid_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, _impl_.currentindex_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyFingerprint, _impl_.deviceindexes_),
0,
1,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, keydata_),
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, fingerprint_),
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, timestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, _impl_.keydata_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, _impl_.fingerprint_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyData, _impl_.timestamp_),
0,
1,
2,
@@ -2081,67 +2186,67 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyShare, keys_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyShare, _impl_.keys_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyRequest, keyids_),
- PROTOBUF_FIELD_OFFSET(::proto::AppStateFatalExceptionNotification, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateSyncKeyRequest, _impl_.keyids_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateFatalExceptionNotification, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::AppStateFatalExceptionNotification, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::AppStateFatalExceptionNotification, collectionnames_),
- PROTOBUF_FIELD_OFFSET(::proto::AppStateFatalExceptionNotification, timestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateFatalExceptionNotification, _impl_.collectionnames_),
+ PROTOBUF_FIELD_OFFSET(::proto::AppStateFatalExceptionNotification, _impl_.timestamp_),
~0u,
0,
- PROTOBUF_FIELD_OFFSET(::proto::InitialSecurityNotificationSettingSync, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::InitialSecurityNotificationSettingSync, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::InitialSecurityNotificationSettingSync, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::InitialSecurityNotificationSettingSync, securitynotificationenabled_),
+ PROTOBUF_FIELD_OFFSET(::proto::InitialSecurityNotificationSettingSync, _impl_.securitynotificationenabled_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, displayname_),
- PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, contacts_),
- PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, _impl_.displayname_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, _impl_.contacts_),
+ PROTOBUF_FIELD_OFFSET(::proto::ContactsArrayMessage, _impl_.contextinfo_),
0,
~0u,
1,
- PROTOBUF_FIELD_OFFSET(::proto::HSMCurrency, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMCurrency, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HSMCurrency, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HSMCurrency, currencycode_),
- PROTOBUF_FIELD_OFFSET(::proto::HSMCurrency, amount1000_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMCurrency, _impl_.currencycode_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMCurrency, _impl_.amount1000_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, dayofweek_),
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, year_),
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, month_),
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, dayofmonth_),
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, hour_),
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, minute_),
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, calendar_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _impl_.dayofweek_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _impl_.year_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _impl_.month_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _impl_.dayofmonth_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _impl_.hour_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _impl_.minute_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeComponent, _impl_.calendar_),
5,
0,
1,
@@ -2149,51 +2254,51 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
3,
4,
6,
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeUnixEpoch, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeUnixEpoch, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeUnixEpoch, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeUnixEpoch, timestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTimeUnixEpoch, _impl_.timestamp_),
0,
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::proto::HSMDateTime, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTime, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTime, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::HSMDateTime, datetimeOneof_),
- PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, _has_bits_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::HSMDateTime, _impl_.datetimeOneof_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, default__),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, paramOneof_),
+ PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, _impl_.default__),
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::HSMLocalizableParameter, _impl_.paramOneof_),
0,
~0u,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, namespace__),
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, elementname_),
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, params_),
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, fallbacklg_),
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, fallbacklc_),
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, localizableparams_),
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, deterministiclg_),
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, deterministiclc_),
- PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, hydratedhsm_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.namespace__),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.elementname_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.params_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.fallbacklg_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.fallbacklc_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.localizableparams_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.deterministiclg_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.deterministiclc_),
+ PROTOBUF_FIELD_OFFSET(::proto::HighlyStructuredMessage, _impl_.hydratedhsm_),
0,
1,
~0u,
@@ -2203,66 +2308,66 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
4,
5,
6,
- PROTOBUF_FIELD_OFFSET(::proto::SendPaymentMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::SendPaymentMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::SendPaymentMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::SendPaymentMessage, notemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::SendPaymentMessage, requestmessagekey_),
+ PROTOBUF_FIELD_OFFSET(::proto::SendPaymentMessage, _impl_.notemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::SendPaymentMessage, _impl_.requestmessagekey_),
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, notemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, currencycodeiso4217_),
- PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, amount1000_),
- PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, requestfrom_),
- PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, expirytimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, amount_),
+ PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _impl_.notemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _impl_.currencycodeiso4217_),
+ PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _impl_.amount1000_),
+ PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _impl_.requestfrom_),
+ PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _impl_.expirytimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::RequestPaymentMessage, _impl_.amount_),
2,
0,
4,
1,
5,
3,
- PROTOBUF_FIELD_OFFSET(::proto::DeclinePaymentRequestMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeclinePaymentRequestMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::DeclinePaymentRequestMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::DeclinePaymentRequestMessage, key_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeclinePaymentRequestMessage, _impl_.key_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::CancelPaymentRequestMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::CancelPaymentRequestMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::CancelPaymentRequestMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::CancelPaymentRequestMessage, key_),
+ PROTOBUF_FIELD_OFFSET(::proto::CancelPaymentRequestMessage, _impl_.key_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, degreeslatitude_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, degreeslongitude_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, accuracyinmeters_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, speedinmps_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, degreesclockwisefrommagneticnorth_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, caption_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, sequencenumber_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, timeoffset_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, jpegthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.degreeslatitude_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.degreeslongitude_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.accuracyinmeters_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.speedinmps_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.degreesclockwisefrommagneticnorth_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.caption_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.sequencenumber_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.timeoffset_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.jpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::LiveLocationMessage, _impl_.contextinfo_),
3,
4,
5,
@@ -2273,27 +2378,27 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
8,
1,
2,
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, url_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, filesha256_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, fileencsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, mediakey_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, mimetype_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, height_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, width_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, directpath_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, filelength_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, mediakeytimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, firstframelength_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, firstframesidecar_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, isanimated_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, pngthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.url_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.filesha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.fileencsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.mediakey_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.mimetype_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.height_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.width_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.directpath_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.filelength_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.mediakeytimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.firstframelength_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.firstframesidecar_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.isanimated_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.pngthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::StickerMessage, _impl_.contextinfo_),
0,
1,
2,
@@ -2309,21 +2414,21 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
14,
7,
8,
- PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, content_),
- PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, footer_),
- PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, buttons_),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, title_),
+ PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _impl_.content_),
+ PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _impl_.footer_),
+ PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _impl_.buttons_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::FourRowTemplate, _impl_.title_),
0,
1,
~0u,
@@ -2332,22 +2437,22 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
~0u,
~0u,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, hydratedcontenttext_),
- PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, hydratedfootertext_),
- PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, hydratedbuttons_),
- PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, templateid_),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, title_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _impl_.hydratedcontenttext_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _impl_.hydratedfootertext_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _impl_.hydratedbuttons_),
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _impl_.templateid_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::HydratedFourRowTemplate, _impl_.title_),
0,
1,
~0u,
@@ -2357,63 +2462,63 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
~0u,
~0u,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, hydratedtemplate_),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, format_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, _impl_.hydratedtemplate_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateMessage, _impl_.format_),
0,
1,
~0u,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, selectedid_),
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, selecteddisplaytext_),
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, selectedindex_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, _impl_.selectedid_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, _impl_.selecteddisplaytext_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::TemplateButtonReplyMessage, _impl_.selectedindex_),
0,
1,
2,
3,
- PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, catalogimage_),
- PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, title_),
- PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, description_),
+ PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, _impl_.catalogimage_),
+ PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::CatalogSnapshot, _impl_.description_),
2,
0,
1,
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, productimage_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, productid_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, title_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, description_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, currencycode_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, priceamount1000_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, retailerid_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, url_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, productimagecount_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, firstimageid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.productimage_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.productid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.description_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.currencycode_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.priceamount1000_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.retailerid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.url_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.productimagecount_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductSnapshot, _impl_.firstimageid_),
7,
0,
1,
@@ -2424,38 +2529,38 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
5,
9,
6,
- PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, product_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, businessownerjid_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, catalog_),
- PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, _impl_.product_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, _impl_.businessownerjid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, _impl_.catalog_),
+ PROTOBUF_FIELD_OFFSET(::proto::ProductMessage, _impl_.contextinfo_),
1,
0,
2,
3,
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, orderid_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, thumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, itemcount_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, status_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, surface_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, message_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, ordertitle_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, sellerjid_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, token_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, totalamount1000_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, totalcurrencycode_),
- PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.orderid_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.thumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.itemcount_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.status_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.surface_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.message_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.ordertitle_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.sellerjid_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.token_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.totalamount1000_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.totalcurrencycode_),
+ PROTOBUF_FIELD_OFFSET(::proto::OrderMessage, _impl_.contextinfo_),
0,
1,
9,
@@ -2468,81 +2573,81 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
8,
6,
7,
- PROTOBUF_FIELD_OFFSET(::proto::Row, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::Row, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::Row, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::Row, title_),
- PROTOBUF_FIELD_OFFSET(::proto::Row, description_),
- PROTOBUF_FIELD_OFFSET(::proto::Row, rowid_),
+ PROTOBUF_FIELD_OFFSET(::proto::Row, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::Row, _impl_.description_),
+ PROTOBUF_FIELD_OFFSET(::proto::Row, _impl_.rowid_),
0,
1,
2,
- PROTOBUF_FIELD_OFFSET(::proto::Section, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::Section, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::Section, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::Section, title_),
- PROTOBUF_FIELD_OFFSET(::proto::Section, rows_),
+ PROTOBUF_FIELD_OFFSET(::proto::Section, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::Section, _impl_.rows_),
0,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::ListMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ListMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ListMessage, title_),
- PROTOBUF_FIELD_OFFSET(::proto::ListMessage, description_),
- PROTOBUF_FIELD_OFFSET(::proto::ListMessage, buttontext_),
- PROTOBUF_FIELD_OFFSET(::proto::ListMessage, listtype_),
- PROTOBUF_FIELD_OFFSET(::proto::ListMessage, sections_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListMessage, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListMessage, _impl_.description_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListMessage, _impl_.buttontext_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListMessage, _impl_.listtype_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListMessage, _impl_.sections_),
0,
1,
2,
3,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::SingleSelectReply, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::SingleSelectReply, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::SingleSelectReply, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::SingleSelectReply, selectedrowid_),
+ PROTOBUF_FIELD_OFFSET(::proto::SingleSelectReply, _impl_.selectedrowid_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, title_),
- PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, listtype_),
- PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, singleselectreply_),
- PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, description_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, _impl_.title_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, _impl_.listtype_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, _impl_.singleselectreply_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::ListResponseMessage, _impl_.description_),
0,
4,
2,
3,
1,
- PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, groupjid_),
- PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, invitecode_),
- PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, inviteexpiration_),
- PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, groupname_),
- PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, jpegthumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, caption_),
- PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _impl_.groupjid_),
+ PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _impl_.invitecode_),
+ PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _impl_.inviteexpiration_),
+ PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _impl_.groupname_),
+ PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _impl_.jpegthumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _impl_.caption_),
+ PROTOBUF_FIELD_OFFSET(::proto::GroupInviteMessage, _impl_.contextinfo_),
0,
1,
6,
@@ -2550,77 +2655,77 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
3,
4,
5,
- PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, chatjid_),
- PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, ephemeralexpiration_),
- PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, ephemeralsettingtimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, _impl_.chatjid_),
+ PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, _impl_.ephemeralexpiration_),
+ PROTOBUF_FIELD_OFFSET(::proto::EphemeralSetting, _impl_.ephemeralsettingtimestamp_),
0,
2,
1,
- PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, destinationjid_),
- PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, message_),
- PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, phash_),
- PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, broadcastephemeralsettings_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, _impl_.destinationjid_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, _impl_.message_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, _impl_.phash_),
+ PROTOBUF_FIELD_OFFSET(::proto::DeviceSentMessage, _impl_.broadcastephemeralsettings_),
0,
2,
1,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::FutureProofMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::FutureProofMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::FutureProofMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::FutureProofMessage, message_),
+ PROTOBUF_FIELD_OFFSET(::proto::FutureProofMessage, _impl_.message_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::ButtonText, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonText, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ButtonText, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ButtonText, displaytext_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonText, _impl_.displaytext_),
0,
- PROTOBUF_FIELD_OFFSET(::proto::Button, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::Button, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::Button, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::Button, buttonid_),
- PROTOBUF_FIELD_OFFSET(::proto::Button, buttontext_),
- PROTOBUF_FIELD_OFFSET(::proto::Button, type_),
+ PROTOBUF_FIELD_OFFSET(::proto::Button, _impl_.buttonid_),
+ PROTOBUF_FIELD_OFFSET(::proto::Button, _impl_.buttontext_),
+ PROTOBUF_FIELD_OFFSET(::proto::Button, _impl_.type_),
0,
1,
2,
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, contenttext_),
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, footertext_),
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, buttons_),
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, headertype_),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, header_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _impl_.contenttext_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _impl_.footertext_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _impl_.buttons_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _impl_.headertype_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsMessage, _impl_.header_),
0,
1,
2,
@@ -2631,62 +2736,62 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
~0u,
~0u,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _internal_metadata_),
~0u, // no _extensions_
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _oneof_case_[0]),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, selectedbuttonid_),
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, contextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, type_),
- ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag,
- PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, response_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _impl_.selectedbuttonid_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _impl_.contextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _impl_.type_),
+ ::_pbi::kInvalidFieldOffsetTag,
+ PROTOBUF_FIELD_OFFSET(::proto::ButtonsResponseMessage, _impl_.response_),
0,
1,
2,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::Message, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::Message, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::Message, conversation_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, senderkeydistributionmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, imagemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, contactmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, locationmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, extendedtextmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, documentmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, audiomessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, videomessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, call_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, chat_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, protocolmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, contactsarraymessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, highlystructuredmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, fastratchetkeysenderkeydistributionmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, sendpaymentmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, livelocationmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, requestpaymentmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, declinepaymentrequestmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, cancelpaymentrequestmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, templatemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, stickermessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, groupinvitemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, templatebuttonreplymessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, productmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, devicesentmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, messagecontextinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, listmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, viewoncemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, ordermessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, listresponsemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, ephemeralmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, invoicemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, buttonsmessage_),
- PROTOBUF_FIELD_OFFSET(::proto::Message, buttonsresponsemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.conversation_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.senderkeydistributionmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.imagemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.contactmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.locationmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.extendedtextmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.documentmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.audiomessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.videomessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.call_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.chat_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.protocolmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.contactsarraymessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.highlystructuredmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.fastratchetkeysenderkeydistributionmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.sendpaymentmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.livelocationmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.requestpaymentmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.declinepaymentrequestmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.cancelpaymentrequestmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.templatemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.stickermessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.groupinvitemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.templatebuttonreplymessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.productmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.devicesentmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.messagecontextinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.listmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.viewoncemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.ordermessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.listresponsemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.ephemeralmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.invoicemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.buttonsmessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::Message, _impl_.buttonsresponsemessage_),
0,
1,
2,
@@ -2722,66 +2827,66 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
32,
33,
34,
- PROTOBUF_FIELD_OFFSET(::proto::MessageKey, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::MessageKey, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::MessageKey, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::MessageKey, remotejid_),
- PROTOBUF_FIELD_OFFSET(::proto::MessageKey, fromme_),
- PROTOBUF_FIELD_OFFSET(::proto::MessageKey, id_),
- PROTOBUF_FIELD_OFFSET(::proto::MessageKey, participant_),
+ PROTOBUF_FIELD_OFFSET(::proto::MessageKey, _impl_.remotejid_),
+ PROTOBUF_FIELD_OFFSET(::proto::MessageKey, _impl_.fromme_),
+ PROTOBUF_FIELD_OFFSET(::proto::MessageKey, _impl_.id_),
+ PROTOBUF_FIELD_OFFSET(::proto::MessageKey, _impl_.participant_),
0,
3,
1,
2,
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, labelsdisplay_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, voipindividualoutgoing_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, groupsv3_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, groupsv3create_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, changenumberv2_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, querystatusv3thumbnail_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, livelocations_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, queryvname_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, voipindividualincoming_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, quickrepliesquery_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, payments_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, stickerpackquery_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, livelocationsfinal_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, labelsedit_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, mediaupload_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, mediauploadrichquickreplies_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, vnamev2_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, videoplaybackurl_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, statusranking_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, voipindividualvideo_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, thirdpartystickers_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, frequentlyforwardedsetting_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, groupsv4joinpermission_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, recentstickers_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, catalog_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, starredstickers_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, voipgroupcall_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, templatemessage_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, templatemessageinteractivity_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, ephemeralmessages_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, e2enotificationsync_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, recentstickersv2_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, syncdrelease1_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, recentstickersv3_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, usernotice_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, syncdrelease11_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, support_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, groupuiicleanup_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, groupdogfoodinginternalonly_),
- PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, settingssync_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.labelsdisplay_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.voipindividualoutgoing_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.groupsv3_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.groupsv3create_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.changenumberv2_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.querystatusv3thumbnail_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.livelocations_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.queryvname_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.voipindividualincoming_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.quickrepliesquery_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.payments_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.stickerpackquery_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.livelocationsfinal_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.labelsedit_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.mediaupload_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.mediauploadrichquickreplies_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.vnamev2_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.videoplaybackurl_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.statusranking_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.voipindividualvideo_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.thirdpartystickers_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.frequentlyforwardedsetting_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.groupsv4joinpermission_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.recentstickers_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.catalog_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.starredstickers_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.voipgroupcall_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.templatemessage_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.templatemessageinteractivity_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.ephemeralmessages_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.e2enotificationsync_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.recentstickersv2_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.syncdrelease1_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.recentstickersv3_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.usernotice_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.syncdrelease11_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.support_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.groupuiicleanup_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.groupdogfoodinginternalonly_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebFeatures, _impl_.settingssync_),
0,
1,
2,
@@ -2822,53 +2927,53 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
37,
38,
39,
- PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, key_),
- PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, message_),
- PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, messagetimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, participant_),
+ PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, _impl_.key_),
+ PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, _impl_.message_),
+ PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, _impl_.messagetimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::NotificationMessageInfo, _impl_.participant_),
1,
2,
3,
0,
- PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, timestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, unreadchats_),
- PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, notifymessagecount_),
- PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, notifymessages_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, _impl_.timestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, _impl_.unreadchats_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, _impl_.notifymessagecount_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebNotificationsInfo, _impl_.notifymessages_),
0,
1,
2,
~0u,
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, currencydeprecated_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, amount1000_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, receiverjid_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, status_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, transactiontimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, requestmessagekey_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, expirytimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, futureproofed_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, currency_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, txnstatus_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, usenovifiatformat_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, primaryamount_),
- PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, exchangeamount_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.currencydeprecated_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.amount1000_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.receiverjid_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.status_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.transactiontimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.requestmessagekey_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.expirytimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.futureproofed_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.currency_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.txnstatus_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.usenovifiatformat_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.primaryamount_),
+ PROTOBUF_FIELD_OFFSET(::proto::PaymentInfo, _impl_.exchangeamount_),
6,
5,
0,
@@ -2882,39 +2987,39 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
11,
3,
4,
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _has_bits_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, key_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, message_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, messagetimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, status_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, participant_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, ignore_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, starred_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, broadcast_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, pushname_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, mediaciphertextsha256_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, multicast_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, urltext_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, urlnumber_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, messagestubtype_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, clearmedia_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, messagestubparameters_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, duration_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, labels_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, paymentinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, finallivelocation_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, quotedpaymentinfo_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, ephemeralstarttimestamp_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, ephemeralduration_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, ephemeralofftoon_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, ephemeraloutofsync_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, bizprivacystatus_),
- PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, verifiedbizname_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.key_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.message_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.messagetimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.status_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.participant_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.ignore_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.starred_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.broadcast_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.pushname_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.mediaciphertextsha256_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.multicast_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.urltext_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.urlnumber_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.messagestubtype_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.clearmedia_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.messagestubparameters_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.duration_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.labels_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.paymentinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.finallivelocation_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.quotedpaymentinfo_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.ephemeralstarttimestamp_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.ephemeralduration_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.ephemeralofftoon_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.ephemeraloutofsync_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.bizprivacystatus_),
+ PROTOBUF_FIELD_OFFSET(::proto::WebMessageInfo, _impl_.verifiedbizname_),
4,
5,
9,
@@ -2943,7 +3048,7 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_pmsg_2eproto::offsets[] PROTOB
24,
3,
};
-static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
+static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, 9, -1, sizeof(::proto::PaymentMoney)},
{ 12, 20, -1, sizeof(::proto::HydratedQuickReplyButton)},
{ 22, 30, -1, sizeof(::proto::HydratedURLButton)},
@@ -3025,86 +3130,86 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 1436, 1469, -1, sizeof(::proto::WebMessageInfo)},
};
-static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_PaymentMoney_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HydratedQuickReplyButton_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HydratedURLButton_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HydratedCallButton_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HydratedTemplateButton_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_QuickReplyButton_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_URLButton_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_CallButton_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_TemplateButton_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_Location_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_Point_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_InteractiveAnnotation_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_DeviceListMetadata_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_MessageContextInfo_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AdReplyInfo_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ExternalAdReplyInfo_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ContextInfo_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_SenderKeyDistributionMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ImageMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_InvoiceMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ContactMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_LocationMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ExtendedTextMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_DocumentMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AudioMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_VideoMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_Call_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_Chat_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ProtocolMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HistorySyncNotification_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AppStateSyncKey_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AppStateSyncKeyId_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AppStateSyncKeyFingerprint_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AppStateSyncKeyData_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AppStateSyncKeyShare_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AppStateSyncKeyRequest_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_AppStateFatalExceptionNotification_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_InitialSecurityNotificationSettingSync_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ContactsArrayMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HSMCurrency_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HSMDateTimeComponent_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HSMDateTimeUnixEpoch_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HSMDateTime_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HSMLocalizableParameter_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HighlyStructuredMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_SendPaymentMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_RequestPaymentMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_DeclinePaymentRequestMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_CancelPaymentRequestMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_LiveLocationMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_StickerMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_FourRowTemplate_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_HydratedFourRowTemplate_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_TemplateMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_TemplateButtonReplyMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_CatalogSnapshot_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ProductSnapshot_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ProductMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_OrderMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_Row_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_Section_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ListMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_SingleSelectReply_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ListResponseMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_GroupInviteMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_EphemeralSetting_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_DeviceSentMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_FutureProofMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ButtonText_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_Button_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ButtonsMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_ButtonsResponseMessage_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_Message_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_MessageKey_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_WebFeatures_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_NotificationMessageInfo_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_WebNotificationsInfo_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_PaymentInfo_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::proto::_WebMessageInfo_default_instance_),
+static const ::_pb::Message* const file_default_instances[] = {
+ &::proto::_PaymentMoney_default_instance_._instance,
+ &::proto::_HydratedQuickReplyButton_default_instance_._instance,
+ &::proto::_HydratedURLButton_default_instance_._instance,
+ &::proto::_HydratedCallButton_default_instance_._instance,
+ &::proto::_HydratedTemplateButton_default_instance_._instance,
+ &::proto::_QuickReplyButton_default_instance_._instance,
+ &::proto::_URLButton_default_instance_._instance,
+ &::proto::_CallButton_default_instance_._instance,
+ &::proto::_TemplateButton_default_instance_._instance,
+ &::proto::_Location_default_instance_._instance,
+ &::proto::_Point_default_instance_._instance,
+ &::proto::_InteractiveAnnotation_default_instance_._instance,
+ &::proto::_DeviceListMetadata_default_instance_._instance,
+ &::proto::_MessageContextInfo_default_instance_._instance,
+ &::proto::_AdReplyInfo_default_instance_._instance,
+ &::proto::_ExternalAdReplyInfo_default_instance_._instance,
+ &::proto::_ContextInfo_default_instance_._instance,
+ &::proto::_SenderKeyDistributionMessage_default_instance_._instance,
+ &::proto::_ImageMessage_default_instance_._instance,
+ &::proto::_InvoiceMessage_default_instance_._instance,
+ &::proto::_ContactMessage_default_instance_._instance,
+ &::proto::_LocationMessage_default_instance_._instance,
+ &::proto::_ExtendedTextMessage_default_instance_._instance,
+ &::proto::_DocumentMessage_default_instance_._instance,
+ &::proto::_AudioMessage_default_instance_._instance,
+ &::proto::_VideoMessage_default_instance_._instance,
+ &::proto::_Call_default_instance_._instance,
+ &::proto::_Chat_default_instance_._instance,
+ &::proto::_ProtocolMessage_default_instance_._instance,
+ &::proto::_HistorySyncNotification_default_instance_._instance,
+ &::proto::_AppStateSyncKey_default_instance_._instance,
+ &::proto::_AppStateSyncKeyId_default_instance_._instance,
+ &::proto::_AppStateSyncKeyFingerprint_default_instance_._instance,
+ &::proto::_AppStateSyncKeyData_default_instance_._instance,
+ &::proto::_AppStateSyncKeyShare_default_instance_._instance,
+ &::proto::_AppStateSyncKeyRequest_default_instance_._instance,
+ &::proto::_AppStateFatalExceptionNotification_default_instance_._instance,
+ &::proto::_InitialSecurityNotificationSettingSync_default_instance_._instance,
+ &::proto::_ContactsArrayMessage_default_instance_._instance,
+ &::proto::_HSMCurrency_default_instance_._instance,
+ &::proto::_HSMDateTimeComponent_default_instance_._instance,
+ &::proto::_HSMDateTimeUnixEpoch_default_instance_._instance,
+ &::proto::_HSMDateTime_default_instance_._instance,
+ &::proto::_HSMLocalizableParameter_default_instance_._instance,
+ &::proto::_HighlyStructuredMessage_default_instance_._instance,
+ &::proto::_SendPaymentMessage_default_instance_._instance,
+ &::proto::_RequestPaymentMessage_default_instance_._instance,
+ &::proto::_DeclinePaymentRequestMessage_default_instance_._instance,
+ &::proto::_CancelPaymentRequestMessage_default_instance_._instance,
+ &::proto::_LiveLocationMessage_default_instance_._instance,
+ &::proto::_StickerMessage_default_instance_._instance,
+ &::proto::_FourRowTemplate_default_instance_._instance,
+ &::proto::_HydratedFourRowTemplate_default_instance_._instance,
+ &::proto::_TemplateMessage_default_instance_._instance,
+ &::proto::_TemplateButtonReplyMessage_default_instance_._instance,
+ &::proto::_CatalogSnapshot_default_instance_._instance,
+ &::proto::_ProductSnapshot_default_instance_._instance,
+ &::proto::_ProductMessage_default_instance_._instance,
+ &::proto::_OrderMessage_default_instance_._instance,
+ &::proto::_Row_default_instance_._instance,
+ &::proto::_Section_default_instance_._instance,
+ &::proto::_ListMessage_default_instance_._instance,
+ &::proto::_SingleSelectReply_default_instance_._instance,
+ &::proto::_ListResponseMessage_default_instance_._instance,
+ &::proto::_GroupInviteMessage_default_instance_._instance,
+ &::proto::_EphemeralSetting_default_instance_._instance,
+ &::proto::_DeviceSentMessage_default_instance_._instance,
+ &::proto::_FutureProofMessage_default_instance_._instance,
+ &::proto::_ButtonText_default_instance_._instance,
+ &::proto::_Button_default_instance_._instance,
+ &::proto::_ButtonsMessage_default_instance_._instance,
+ &::proto::_ButtonsResponseMessage_default_instance_._instance,
+ &::proto::_Message_default_instance_._instance,
+ &::proto::_MessageKey_default_instance_._instance,
+ &::proto::_WebFeatures_default_instance_._instance,
+ &::proto::_NotificationMessageInfo_default_instance_._instance,
+ &::proto::_WebNotificationsInfo_default_instance_._instance,
+ &::proto::_PaymentInfo_default_instance_._instance,
+ &::proto::_WebMessageInfo_default_instance_._instance,
};
const char descriptor_table_protodef_pmsg_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
@@ -3756,19 +3861,21 @@ const char descriptor_table_protodef_pmsg_2eproto[] PROTOBUF_SECTION_VARIABLE(pr
"sageInfoBizPrivacyStatus\022\010\n\004E2EE\020\000\022\006\n\002FB"
"\020\002\022\007\n\003BSP\020\001\022\016\n\nBSP_AND_FB\020\003"
;
-static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_pmsg_2eproto_once;
-const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_pmsg_2eproto = {
- false, false, 25867, descriptor_table_protodef_pmsg_2eproto, "pmsg.proto",
- &descriptor_table_pmsg_2eproto_once, nullptr, 0, 79,
- schemas, file_default_instances, TableStruct_pmsg_2eproto::offsets,
- file_level_metadata_pmsg_2eproto, file_level_enum_descriptors_pmsg_2eproto, file_level_service_descriptors_pmsg_2eproto,
+static ::_pbi::once_flag descriptor_table_pmsg_2eproto_once;
+const ::_pbi::DescriptorTable descriptor_table_pmsg_2eproto = {
+ false, false, 25867, descriptor_table_protodef_pmsg_2eproto,
+ "pmsg.proto",
+ &descriptor_table_pmsg_2eproto_once, nullptr, 0, 79,
+ schemas, file_default_instances, TableStruct_pmsg_2eproto::offsets,
+ file_level_metadata_pmsg_2eproto, file_level_enum_descriptors_pmsg_2eproto,
+ file_level_service_descriptors_pmsg_2eproto,
};
-PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_pmsg_2eproto_getter() {
+PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_pmsg_2eproto_getter() {
return &descriptor_table_pmsg_2eproto;
}
// Force running AddDescriptors() at dynamic initialization time.
-PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_pmsg_2eproto(&descriptor_table_pmsg_2eproto);
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_pmsg_2eproto(&descriptor_table_pmsg_2eproto);
namespace proto {
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AdReplyInfo_AdReplyInfoMediaType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
@@ -3785,14 +3892,14 @@ bool AdReplyInfo_AdReplyInfoMediaType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr AdReplyInfo_AdReplyInfoMediaType AdReplyInfo::NONE;
constexpr AdReplyInfo_AdReplyInfoMediaType AdReplyInfo::IMAGE;
constexpr AdReplyInfo_AdReplyInfoMediaType AdReplyInfo::VIDEO;
constexpr AdReplyInfo_AdReplyInfoMediaType AdReplyInfo::AdReplyInfoMediaType_MIN;
constexpr AdReplyInfo_AdReplyInfoMediaType AdReplyInfo::AdReplyInfoMediaType_MAX;
constexpr int AdReplyInfo::AdReplyInfoMediaType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ExternalAdReplyInfo_ExternalAdReplyInfoMediaType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[1];
@@ -3808,14 +3915,14 @@ bool ExternalAdReplyInfo_ExternalAdReplyInfoMediaType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr ExternalAdReplyInfo_ExternalAdReplyInfoMediaType ExternalAdReplyInfo::NONE;
constexpr ExternalAdReplyInfo_ExternalAdReplyInfoMediaType ExternalAdReplyInfo::IMAGE;
constexpr ExternalAdReplyInfo_ExternalAdReplyInfoMediaType ExternalAdReplyInfo::VIDEO;
constexpr ExternalAdReplyInfo_ExternalAdReplyInfoMediaType ExternalAdReplyInfo::ExternalAdReplyInfoMediaType_MIN;
constexpr ExternalAdReplyInfo_ExternalAdReplyInfoMediaType ExternalAdReplyInfo::ExternalAdReplyInfoMediaType_MAX;
constexpr int ExternalAdReplyInfo::ExternalAdReplyInfoMediaType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InvoiceMessage_InvoiceMessageAttachmentType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[2];
@@ -3830,13 +3937,13 @@ bool InvoiceMessage_InvoiceMessageAttachmentType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr InvoiceMessage_InvoiceMessageAttachmentType InvoiceMessage::IMAGE;
constexpr InvoiceMessage_InvoiceMessageAttachmentType InvoiceMessage::PDF;
constexpr InvoiceMessage_InvoiceMessageAttachmentType InvoiceMessage::InvoiceMessageAttachmentType_MIN;
constexpr InvoiceMessage_InvoiceMessageAttachmentType InvoiceMessage::InvoiceMessageAttachmentType_MAX;
constexpr int InvoiceMessage::InvoiceMessageAttachmentType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ExtendedTextMessage_ExtendedTextMessageFontType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[3];
@@ -3855,7 +3962,7 @@ bool ExtendedTextMessage_ExtendedTextMessageFontType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMessage::SANS_SERIF;
constexpr ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMessage::SERIF;
constexpr ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMessage::NORICAN_REGULAR;
@@ -3865,7 +3972,7 @@ constexpr ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMessage::O
constexpr ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMessage::ExtendedTextMessageFontType_MIN;
constexpr ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMessage::ExtendedTextMessageFontType_MAX;
constexpr int ExtendedTextMessage::ExtendedTextMessageFontType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ExtendedTextMessage_ExtendedTextMessagePreviewType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[4];
@@ -3880,13 +3987,13 @@ bool ExtendedTextMessage_ExtendedTextMessagePreviewType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr ExtendedTextMessage_ExtendedTextMessagePreviewType ExtendedTextMessage::NONE;
constexpr ExtendedTextMessage_ExtendedTextMessagePreviewType ExtendedTextMessage::VIDEO;
constexpr ExtendedTextMessage_ExtendedTextMessagePreviewType ExtendedTextMessage::ExtendedTextMessagePreviewType_MIN;
constexpr ExtendedTextMessage_ExtendedTextMessagePreviewType ExtendedTextMessage::ExtendedTextMessagePreviewType_MAX;
constexpr int ExtendedTextMessage::ExtendedTextMessagePreviewType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoMessage_VideoMessageAttribution_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[5];
@@ -3902,14 +4009,14 @@ bool VideoMessage_VideoMessageAttribution_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr VideoMessage_VideoMessageAttribution VideoMessage::NONE;
constexpr VideoMessage_VideoMessageAttribution VideoMessage::GIPHY;
constexpr VideoMessage_VideoMessageAttribution VideoMessage::TENOR;
constexpr VideoMessage_VideoMessageAttribution VideoMessage::VideoMessageAttribution_MIN;
constexpr VideoMessage_VideoMessageAttribution VideoMessage::VideoMessageAttribution_MAX;
constexpr int VideoMessage::VideoMessageAttribution_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ProtocolMessage_ProtocolMessageType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[6];
@@ -3931,7 +4038,7 @@ bool ProtocolMessage_ProtocolMessageType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr ProtocolMessage_ProtocolMessageType ProtocolMessage::REVOKE;
constexpr ProtocolMessage_ProtocolMessageType ProtocolMessage::EPHEMERAL_SETTING;
constexpr ProtocolMessage_ProtocolMessageType ProtocolMessage::EPHEMERAL_SYNC_RESPONSE;
@@ -3944,7 +4051,7 @@ constexpr ProtocolMessage_ProtocolMessageType ProtocolMessage::APP_STATE_FATAL_E
constexpr ProtocolMessage_ProtocolMessageType ProtocolMessage::ProtocolMessageType_MIN;
constexpr ProtocolMessage_ProtocolMessageType ProtocolMessage::ProtocolMessageType_MAX;
constexpr int ProtocolMessage::ProtocolMessageType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HistorySyncNotification_HistorySyncNotificationHistorySyncType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[7];
@@ -3962,7 +4069,7 @@ bool HistorySyncNotification_HistorySyncNotificationHistorySyncType_IsValid(int
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr HistorySyncNotification_HistorySyncNotificationHistorySyncType HistorySyncNotification::INITIAL_BOOTSTRAP;
constexpr HistorySyncNotification_HistorySyncNotificationHistorySyncType HistorySyncNotification::INITIAL_STATUS_V3;
constexpr HistorySyncNotification_HistorySyncNotificationHistorySyncType HistorySyncNotification::FULL;
@@ -3971,7 +4078,7 @@ constexpr HistorySyncNotification_HistorySyncNotificationHistorySyncType History
constexpr HistorySyncNotification_HistorySyncNotificationHistorySyncType HistorySyncNotification::HistorySyncNotificationHistorySyncType_MIN;
constexpr HistorySyncNotification_HistorySyncNotificationHistorySyncType HistorySyncNotification::HistorySyncNotificationHistorySyncType_MAX;
constexpr int HistorySyncNotification::HistorySyncNotificationHistorySyncType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[8];
@@ -3991,7 +4098,7 @@ bool HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTimeComponent::MONDAY;
constexpr HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTimeComponent::TUESDAY;
constexpr HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTimeComponent::WEDNESDAY;
@@ -4002,7 +4109,7 @@ constexpr HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTimeComp
constexpr HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTimeComponent::HSMDateTimeComponentDayOfWeekType_MIN;
constexpr HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTimeComponent::HSMDateTimeComponentDayOfWeekType_MAX;
constexpr int HSMDateTimeComponent::HSMDateTimeComponentDayOfWeekType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HSMDateTimeComponent_HSMDateTimeComponentCalendarType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[9];
@@ -4017,13 +4124,13 @@ bool HSMDateTimeComponent_HSMDateTimeComponentCalendarType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr HSMDateTimeComponent_HSMDateTimeComponentCalendarType HSMDateTimeComponent::GREGORIAN;
constexpr HSMDateTimeComponent_HSMDateTimeComponentCalendarType HSMDateTimeComponent::SOLAR_HIJRI;
constexpr HSMDateTimeComponent_HSMDateTimeComponentCalendarType HSMDateTimeComponent::HSMDateTimeComponentCalendarType_MIN;
constexpr HSMDateTimeComponent_HSMDateTimeComponentCalendarType HSMDateTimeComponent::HSMDateTimeComponentCalendarType_MAX;
constexpr int HSMDateTimeComponent::HSMDateTimeComponentCalendarType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OrderMessage_OrderMessageOrderStatus_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[10];
@@ -4037,12 +4144,12 @@ bool OrderMessage_OrderMessageOrderStatus_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr OrderMessage_OrderMessageOrderStatus OrderMessage::INQUIRY;
constexpr OrderMessage_OrderMessageOrderStatus OrderMessage::OrderMessageOrderStatus_MIN;
constexpr OrderMessage_OrderMessageOrderStatus OrderMessage::OrderMessageOrderStatus_MAX;
constexpr int OrderMessage::OrderMessageOrderStatus_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OrderMessage_OrderMessageOrderSurface_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[11];
@@ -4056,12 +4163,12 @@ bool OrderMessage_OrderMessageOrderSurface_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr OrderMessage_OrderMessageOrderSurface OrderMessage::CATALOG;
constexpr OrderMessage_OrderMessageOrderSurface OrderMessage::OrderMessageOrderSurface_MIN;
constexpr OrderMessage_OrderMessageOrderSurface OrderMessage::OrderMessageOrderSurface_MAX;
constexpr int OrderMessage::OrderMessageOrderSurface_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ListMessage_ListMessageListType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[12];
@@ -4076,13 +4183,13 @@ bool ListMessage_ListMessageListType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr ListMessage_ListMessageListType ListMessage::UNKNOWN;
constexpr ListMessage_ListMessageListType ListMessage::SINGLE_SELECT;
constexpr ListMessage_ListMessageListType ListMessage::ListMessageListType_MIN;
constexpr ListMessage_ListMessageListType ListMessage::ListMessageListType_MAX;
constexpr int ListMessage::ListMessageListType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ListResponseMessage_ListResponseMessageListType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[13];
@@ -4097,13 +4204,13 @@ bool ListResponseMessage_ListResponseMessageListType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr ListResponseMessage_ListResponseMessageListType ListResponseMessage::UNKNOWN;
constexpr ListResponseMessage_ListResponseMessageListType ListResponseMessage::SINGLE_SELECT;
constexpr ListResponseMessage_ListResponseMessageListType ListResponseMessage::ListResponseMessageListType_MIN;
constexpr ListResponseMessage_ListResponseMessageListType ListResponseMessage::ListResponseMessageListType_MAX;
constexpr int ListResponseMessage::ListResponseMessageListType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Button_ButtonType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[14];
@@ -4118,13 +4225,13 @@ bool Button_ButtonType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr Button_ButtonType Button::UNKNOWN;
constexpr Button_ButtonType Button::RESPONSE;
constexpr Button_ButtonType Button::ButtonType_MIN;
constexpr Button_ButtonType Button::ButtonType_MAX;
constexpr int Button::ButtonType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ButtonsMessage_ButtonsMessageHeaderType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[15];
@@ -4144,7 +4251,7 @@ bool ButtonsMessage_ButtonsMessageHeaderType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::UNKNOWN;
constexpr ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::EMPTY;
constexpr ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::TEXT;
@@ -4155,7 +4262,7 @@ constexpr ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::LOCATION;
constexpr ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::ButtonsMessageHeaderType_MIN;
constexpr ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::ButtonsMessageHeaderType_MAX;
constexpr int ButtonsMessage::ButtonsMessageHeaderType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ButtonsResponseMessage_ButtonsResponseMessageType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[16];
@@ -4170,13 +4277,13 @@ bool ButtonsResponseMessage_ButtonsResponseMessageType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr ButtonsResponseMessage_ButtonsResponseMessageType ButtonsResponseMessage::UNKNOWN;
constexpr ButtonsResponseMessage_ButtonsResponseMessageType ButtonsResponseMessage::DISPLAY_TEXT;
constexpr ButtonsResponseMessage_ButtonsResponseMessageType ButtonsResponseMessage::ButtonsResponseMessageType_MIN;
constexpr ButtonsResponseMessage_ButtonsResponseMessageType ButtonsResponseMessage::ButtonsResponseMessageType_MAX;
constexpr int ButtonsResponseMessage::ButtonsResponseMessageType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* WebFeatures_WebFeaturesFlag_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[17];
@@ -4193,7 +4300,7 @@ bool WebFeatures_WebFeaturesFlag_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr WebFeatures_WebFeaturesFlag WebFeatures::NOT_STARTED;
constexpr WebFeatures_WebFeaturesFlag WebFeatures::FORCE_UPGRADE;
constexpr WebFeatures_WebFeaturesFlag WebFeatures::DEVELOPMENT;
@@ -4201,7 +4308,7 @@ constexpr WebFeatures_WebFeaturesFlag WebFeatures::PRODUCTION;
constexpr WebFeatures_WebFeaturesFlag WebFeatures::WebFeaturesFlag_MIN;
constexpr WebFeatures_WebFeaturesFlag WebFeatures::WebFeaturesFlag_MAX;
constexpr int WebFeatures::WebFeaturesFlag_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PaymentInfo_PaymentInfoCurrency_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[18];
@@ -4216,13 +4323,13 @@ bool PaymentInfo_PaymentInfoCurrency_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr PaymentInfo_PaymentInfoCurrency PaymentInfo::UNKNOWN_CURRENCY;
constexpr PaymentInfo_PaymentInfoCurrency PaymentInfo::INR;
constexpr PaymentInfo_PaymentInfoCurrency PaymentInfo::PaymentInfoCurrency_MIN;
constexpr PaymentInfo_PaymentInfoCurrency PaymentInfo::PaymentInfoCurrency_MAX;
constexpr int PaymentInfo::PaymentInfoCurrency_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PaymentInfo_PaymentInfoStatus_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[19];
@@ -4247,7 +4354,7 @@ bool PaymentInfo_PaymentInfoStatus_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr PaymentInfo_PaymentInfoStatus PaymentInfo::UNKNOWN_STATUS;
constexpr PaymentInfo_PaymentInfoStatus PaymentInfo::PROCESSING;
constexpr PaymentInfo_PaymentInfoStatus PaymentInfo::SENT;
@@ -4263,7 +4370,7 @@ constexpr PaymentInfo_PaymentInfoStatus PaymentInfo::WAITING;
constexpr PaymentInfo_PaymentInfoStatus PaymentInfo::PaymentInfoStatus_MIN;
constexpr PaymentInfo_PaymentInfoStatus PaymentInfo::PaymentInfoStatus_MAX;
constexpr int PaymentInfo::PaymentInfoStatus_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PaymentInfo_PaymentInfoTxnStatus_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[20];
@@ -4304,7 +4411,7 @@ bool PaymentInfo_PaymentInfoTxnStatus_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr PaymentInfo_PaymentInfoTxnStatus PaymentInfo::UNKNOWN;
constexpr PaymentInfo_PaymentInfoTxnStatus PaymentInfo::PENDING_SETUP;
constexpr PaymentInfo_PaymentInfoTxnStatus PaymentInfo::PENDING_RECEIVER_SETUP;
@@ -4336,7 +4443,7 @@ constexpr PaymentInfo_PaymentInfoTxnStatus PaymentInfo::COLLECT_CANCELLING;
constexpr PaymentInfo_PaymentInfoTxnStatus PaymentInfo::PaymentInfoTxnStatus_MIN;
constexpr PaymentInfo_PaymentInfoTxnStatus PaymentInfo::PaymentInfoTxnStatus_MAX;
constexpr int PaymentInfo::PaymentInfoTxnStatus_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* WebMessageInfo_WebMessageInfoStatus_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[21];
@@ -4355,7 +4462,7 @@ bool WebMessageInfo_WebMessageInfoStatus_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr WebMessageInfo_WebMessageInfoStatus WebMessageInfo::ERROR;
constexpr WebMessageInfo_WebMessageInfoStatus WebMessageInfo::PENDING;
constexpr WebMessageInfo_WebMessageInfoStatus WebMessageInfo::SERVER_ACK;
@@ -4365,7 +4472,7 @@ constexpr WebMessageInfo_WebMessageInfoStatus WebMessageInfo::PLAYED;
constexpr WebMessageInfo_WebMessageInfoStatus WebMessageInfo::WebMessageInfoStatus_MIN;
constexpr WebMessageInfo_WebMessageInfoStatus WebMessageInfo::WebMessageInfoStatus_MAX;
constexpr int WebMessageInfo::WebMessageInfoStatus_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* WebMessageInfo_WebMessageInfoStubType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[22];
@@ -4497,7 +4604,7 @@ bool WebMessageInfo_WebMessageInfoStubType_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr WebMessageInfo_WebMessageInfoStubType WebMessageInfo::UNKNOWN;
constexpr WebMessageInfo_WebMessageInfoStubType WebMessageInfo::REVOKE;
constexpr WebMessageInfo_WebMessageInfoStubType WebMessageInfo::CIPHERTEXT;
@@ -4620,7 +4727,7 @@ constexpr WebMessageInfo_WebMessageInfoStubType WebMessageInfo::E2E_IDENTITY_UNA
constexpr WebMessageInfo_WebMessageInfoStubType WebMessageInfo::WebMessageInfoStubType_MIN;
constexpr WebMessageInfo_WebMessageInfoStubType WebMessageInfo::WebMessageInfoStubType_MAX;
constexpr int WebMessageInfo::WebMessageInfoStubType_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* WebMessageInfo_WebMessageInfoBizPrivacyStatus_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_pmsg_2eproto);
return file_level_enum_descriptors_pmsg_2eproto[23];
@@ -4637,7 +4744,7 @@ bool WebMessageInfo_WebMessageInfoBizPrivacyStatus_IsValid(int value) {
}
}
-#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::E2EE;
constexpr WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::FB;
constexpr WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::BSP;
@@ -4645,13 +4752,13 @@ constexpr WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::BSP_AND_
constexpr WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::WebMessageInfoBizPrivacyStatus_MIN;
constexpr WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::WebMessageInfoBizPrivacyStatus_MAX;
constexpr int WebMessageInfo::WebMessageInfoBizPrivacyStatus_ARRAYSIZE;
-#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
+#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
// ===================================================================
class PaymentMoney::_Internal {
public:
- using HasBits = decltype(std::declval<PaymentMoney>()._has_bits_);
+ using HasBits = decltype(std::declval<PaymentMoney>()._impl_._has_bits_);
static void set_has_value(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
}
@@ -4666,110 +4773,122 @@ class PaymentMoney::_Internal {
PaymentMoney::PaymentMoney(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.PaymentMoney)
}
PaymentMoney::PaymentMoney(const PaymentMoney& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ PaymentMoney* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.currencycode_){}
+ , decltype(_impl_.value_){}
+ , decltype(_impl_.offset_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- currencycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.currencycode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_currencycode()) {
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_currencycode(),
- GetArenaForAllocation());
+ _this->_impl_.currencycode_.Set(from._internal_currencycode(),
+ _this->GetArenaForAllocation());
}
- ::memcpy(&value_, &from.value_,
- static_cast<size_t>(reinterpret_cast<char*>(&offset_) -
- reinterpret_cast<char*>(&value_)) + sizeof(offset_));
+ ::memcpy(&_impl_.value_, &from._impl_.value_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.offset_) -
+ reinterpret_cast<char*>(&_impl_.value_)) + sizeof(_impl_.offset_));
// @@protoc_insertion_point(copy_constructor:proto.PaymentMoney)
}
-void PaymentMoney::SharedCtor() {
-currencycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&value_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&offset_) -
- reinterpret_cast<char*>(&value_)) + sizeof(offset_));
+inline void PaymentMoney::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.currencycode_){}
+ , decltype(_impl_.value_){int64_t{0}}
+ , decltype(_impl_.offset_){0u}
+ };
+ _impl_.currencycode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
PaymentMoney::~PaymentMoney() {
// @@protoc_insertion_point(destructor:proto.PaymentMoney)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void PaymentMoney::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- currencycode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.currencycode_.Destroy();
}
-void PaymentMoney::ArenaDtor(void* object) {
- PaymentMoney* _this = reinterpret_cast< PaymentMoney* >(object);
- (void)_this;
-}
-void PaymentMoney::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void PaymentMoney::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void PaymentMoney::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.PaymentMoney)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- currencycode_.ClearNonDefaultToEmpty();
+ _impl_.currencycode_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000006u) {
- ::memset(&value_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&offset_) -
- reinterpret_cast<char*>(&value_)) + sizeof(offset_));
+ ::memset(&_impl_.value_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.offset_) -
+ reinterpret_cast<char*>(&_impl_.value_)) + sizeof(_impl_.offset_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* PaymentMoney::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* PaymentMoney::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional int64 value = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
_Internal::set_has_value(&has_bits);
- value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 offset = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_offset(&has_bits);
- offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string currencyCode = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_currencycode();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.PaymentMoney.currencyCode");
+ ::_pbi::VerifyUTF8(str, "proto.PaymentMoney.currencyCode");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -4789,7 +4908,7 @@ const char* PaymentMoney::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -4797,23 +4916,23 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* PaymentMoney::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* PaymentMoney::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.PaymentMoney)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional int64 value = 1;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_value(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(1, this->_internal_value(), target);
}
// optional uint32 offset = 2;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_offset(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_offset(), target);
}
// optional string currencyCode = 3;
@@ -4827,7 +4946,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.PaymentMoney)
@@ -4838,11 +4957,11 @@ size_t PaymentMoney::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.PaymentMoney)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string currencyCode = 3;
if (cached_has_bits & 0x00000001u) {
@@ -4853,51 +4972,47 @@ size_t PaymentMoney::ByteSizeLong() const {
// optional int64 value = 1;
if (cached_has_bits & 0x00000002u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_value());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_value());
}
// optional uint32 offset = 2;
if (cached_has_bits & 0x00000004u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_offset());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_offset());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PaymentMoney::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
PaymentMoney::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PaymentMoney::GetClassData() const { return &_class_data_; }
-void PaymentMoney::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<PaymentMoney *>(to)->MergeFrom(
- static_cast<const PaymentMoney &>(from));
-}
-
-void PaymentMoney::MergeFrom(const PaymentMoney& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.PaymentMoney)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void PaymentMoney::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<PaymentMoney*>(&to_msg);
+ auto& from = static_cast<const PaymentMoney&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.PaymentMoney)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_currencycode(from._internal_currencycode());
+ _this->_internal_set_currencycode(from._internal_currencycode());
}
if (cached_has_bits & 0x00000002u) {
- value_ = from.value_;
+ _this->_impl_.value_ = from._impl_.value_;
}
if (cached_has_bits & 0x00000004u) {
- offset_ = from.offset_;
+ _this->_impl_.offset_ = from._impl_.offset_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void PaymentMoney::CopyFrom(const PaymentMoney& from) {
@@ -4916,22 +5031,21 @@ void PaymentMoney::InternalSwap(PaymentMoney* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &currencycode_, lhs_arena,
- &other->currencycode_, rhs_arena
+ &_impl_.currencycode_, lhs_arena,
+ &other->_impl_.currencycode_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(PaymentMoney, offset_)
- + sizeof(PaymentMoney::offset_)
- - PROTOBUF_FIELD_OFFSET(PaymentMoney, value_)>(
- reinterpret_cast<char*>(&value_),
- reinterpret_cast<char*>(&other->value_));
+ PROTOBUF_FIELD_OFFSET(PaymentMoney, _impl_.offset_)
+ + sizeof(PaymentMoney::_impl_.offset_)
+ - PROTOBUF_FIELD_OFFSET(PaymentMoney, _impl_.value_)>(
+ reinterpret_cast<char*>(&_impl_.value_),
+ reinterpret_cast<char*>(&other->_impl_.value_));
}
::PROTOBUF_NAMESPACE_ID::Metadata PaymentMoney::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[0]);
}
@@ -4940,7 +5054,7 @@ void PaymentMoney::InternalSwap(PaymentMoney* other) {
class HydratedQuickReplyButton::_Internal {
public:
- using HasBits = decltype(std::declval<HydratedQuickReplyButton>()._has_bits_);
+ using HasBits = decltype(std::declval<HydratedQuickReplyButton>()._impl_._has_bits_);
static void set_has_displaytext(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -4952,104 +5066,124 @@ class HydratedQuickReplyButton::_Internal {
HydratedQuickReplyButton::HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HydratedQuickReplyButton)
}
HydratedQuickReplyButton::HydratedQuickReplyButton(const HydratedQuickReplyButton& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HydratedQuickReplyButton* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){}
+ , decltype(_impl_.id_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- displaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_displaytext()) {
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_displaytext(),
- GetArenaForAllocation());
+ _this->_impl_.displaytext_.Set(from._internal_displaytext(),
+ _this->GetArenaForAllocation());
}
- id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.id_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_id()) {
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_id(),
- GetArenaForAllocation());
+ _this->_impl_.id_.Set(from._internal_id(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.HydratedQuickReplyButton)
}
-void HydratedQuickReplyButton::SharedCtor() {
-displaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void HydratedQuickReplyButton::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){}
+ , decltype(_impl_.id_){}
+ };
+ _impl_.displaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
HydratedQuickReplyButton::~HydratedQuickReplyButton() {
// @@protoc_insertion_point(destructor:proto.HydratedQuickReplyButton)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HydratedQuickReplyButton::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- displaytext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displaytext_.Destroy();
+ _impl_.id_.Destroy();
}
-void HydratedQuickReplyButton::ArenaDtor(void* object) {
- HydratedQuickReplyButton* _this = reinterpret_cast< HydratedQuickReplyButton* >(object);
- (void)_this;
-}
-void HydratedQuickReplyButton::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HydratedQuickReplyButton::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HydratedQuickReplyButton::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HydratedQuickReplyButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- displaytext_.ClearNonDefaultToEmpty();
+ _impl_.displaytext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- id_.ClearNonDefaultToEmpty();
+ _impl_.id_.ClearNonDefaultToEmpty();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HydratedQuickReplyButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HydratedQuickReplyButton::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string displayText = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_displaytext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedQuickReplyButton.displayText");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedQuickReplyButton.displayText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string id = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_id();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedQuickReplyButton.id");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedQuickReplyButton.id");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -5069,7 +5203,7 @@ const char* HydratedQuickReplyButton::_InternalParse(const char* ptr, ::PROTOBUF
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -5077,13 +5211,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HydratedQuickReplyButton::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HydratedQuickReplyButton::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HydratedQuickReplyButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string displayText = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -5105,7 +5239,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HydratedQuickReplyButton)
@@ -5116,11 +5250,11 @@ size_t HydratedQuickReplyButton::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HydratedQuickReplyButton)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional string displayText = 1;
if (cached_has_bits & 0x00000001u) {
@@ -5137,38 +5271,34 @@ size_t HydratedQuickReplyButton::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HydratedQuickReplyButton::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HydratedQuickReplyButton::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HydratedQuickReplyButton::GetClassData() const { return &_class_data_; }
-void HydratedQuickReplyButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HydratedQuickReplyButton *>(to)->MergeFrom(
- static_cast<const HydratedQuickReplyButton &>(from));
-}
-
-void HydratedQuickReplyButton::MergeFrom(const HydratedQuickReplyButton& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedQuickReplyButton)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HydratedQuickReplyButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HydratedQuickReplyButton*>(&to_msg);
+ auto& from = static_cast<const HydratedQuickReplyButton&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedQuickReplyButton)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_displaytext(from._internal_displaytext());
+ _this->_internal_set_displaytext(from._internal_displaytext());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_id(from._internal_id());
+ _this->_internal_set_id(from._internal_id());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HydratedQuickReplyButton::CopyFrom(const HydratedQuickReplyButton& from) {
@@ -5187,21 +5317,19 @@ void HydratedQuickReplyButton::InternalSwap(HydratedQuickReplyButton* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &displaytext_, lhs_arena,
- &other->displaytext_, rhs_arena
+ &_impl_.displaytext_, lhs_arena,
+ &other->_impl_.displaytext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &id_, lhs_arena,
- &other->id_, rhs_arena
+ &_impl_.id_, lhs_arena,
+ &other->_impl_.id_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata HydratedQuickReplyButton::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[1]);
}
@@ -5210,7 +5338,7 @@ void HydratedQuickReplyButton::InternalSwap(HydratedQuickReplyButton* other) {
class HydratedURLButton::_Internal {
public:
- using HasBits = decltype(std::declval<HydratedURLButton>()._has_bits_);
+ using HasBits = decltype(std::declval<HydratedURLButton>()._impl_._has_bits_);
static void set_has_displaytext(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -5222,104 +5350,124 @@ class HydratedURLButton::_Internal {
HydratedURLButton::HydratedURLButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HydratedURLButton)
}
HydratedURLButton::HydratedURLButton(const HydratedURLButton& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HydratedURLButton* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){}
+ , decltype(_impl_.url_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- displaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_displaytext()) {
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_displaytext(),
- GetArenaForAllocation());
+ _this->_impl_.displaytext_.Set(from._internal_displaytext(),
+ _this->GetArenaForAllocation());
}
- url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_url()) {
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(),
- GetArenaForAllocation());
+ _this->_impl_.url_.Set(from._internal_url(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.HydratedURLButton)
}
-void HydratedURLButton::SharedCtor() {
-displaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void HydratedURLButton::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){}
+ , decltype(_impl_.url_){}
+ };
+ _impl_.displaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
HydratedURLButton::~HydratedURLButton() {
// @@protoc_insertion_point(destructor:proto.HydratedURLButton)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HydratedURLButton::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- displaytext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displaytext_.Destroy();
+ _impl_.url_.Destroy();
}
-void HydratedURLButton::ArenaDtor(void* object) {
- HydratedURLButton* _this = reinterpret_cast< HydratedURLButton* >(object);
- (void)_this;
-}
-void HydratedURLButton::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HydratedURLButton::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HydratedURLButton::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HydratedURLButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- displaytext_.ClearNonDefaultToEmpty();
+ _impl_.displaytext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- url_.ClearNonDefaultToEmpty();
+ _impl_.url_.ClearNonDefaultToEmpty();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HydratedURLButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HydratedURLButton::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string displayText = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_displaytext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedURLButton.displayText");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedURLButton.displayText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string url = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_url();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedURLButton.url");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedURLButton.url");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -5339,7 +5487,7 @@ const char* HydratedURLButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -5347,13 +5495,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HydratedURLButton::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HydratedURLButton::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HydratedURLButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string displayText = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -5375,7 +5523,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HydratedURLButton)
@@ -5386,11 +5534,11 @@ size_t HydratedURLButton::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HydratedURLButton)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional string displayText = 1;
if (cached_has_bits & 0x00000001u) {
@@ -5407,38 +5555,34 @@ size_t HydratedURLButton::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HydratedURLButton::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HydratedURLButton::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HydratedURLButton::GetClassData() const { return &_class_data_; }
-void HydratedURLButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HydratedURLButton *>(to)->MergeFrom(
- static_cast<const HydratedURLButton &>(from));
-}
-
-void HydratedURLButton::MergeFrom(const HydratedURLButton& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedURLButton)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HydratedURLButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HydratedURLButton*>(&to_msg);
+ auto& from = static_cast<const HydratedURLButton&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedURLButton)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_displaytext(from._internal_displaytext());
+ _this->_internal_set_displaytext(from._internal_displaytext());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_url(from._internal_url());
+ _this->_internal_set_url(from._internal_url());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HydratedURLButton::CopyFrom(const HydratedURLButton& from) {
@@ -5457,21 +5601,19 @@ void HydratedURLButton::InternalSwap(HydratedURLButton* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &displaytext_, lhs_arena,
- &other->displaytext_, rhs_arena
+ &_impl_.displaytext_, lhs_arena,
+ &other->_impl_.displaytext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &url_, lhs_arena,
- &other->url_, rhs_arena
+ &_impl_.url_, lhs_arena,
+ &other->_impl_.url_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata HydratedURLButton::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[2]);
}
@@ -5480,7 +5622,7 @@ void HydratedURLButton::InternalSwap(HydratedURLButton* other) {
class HydratedCallButton::_Internal {
public:
- using HasBits = decltype(std::declval<HydratedCallButton>()._has_bits_);
+ using HasBits = decltype(std::declval<HydratedCallButton>()._impl_._has_bits_);
static void set_has_displaytext(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -5492,104 +5634,124 @@ class HydratedCallButton::_Internal {
HydratedCallButton::HydratedCallButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HydratedCallButton)
}
HydratedCallButton::HydratedCallButton(const HydratedCallButton& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HydratedCallButton* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){}
+ , decltype(_impl_.phonenumber_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- displaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_displaytext()) {
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_displaytext(),
- GetArenaForAllocation());
+ _this->_impl_.displaytext_.Set(from._internal_displaytext(),
+ _this->GetArenaForAllocation());
}
- phonenumber_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.phonenumber_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.phonenumber_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_phonenumber()) {
- phonenumber_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_phonenumber(),
- GetArenaForAllocation());
+ _this->_impl_.phonenumber_.Set(from._internal_phonenumber(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.HydratedCallButton)
}
-void HydratedCallButton::SharedCtor() {
-displaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-phonenumber_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void HydratedCallButton::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){}
+ , decltype(_impl_.phonenumber_){}
+ };
+ _impl_.displaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.phonenumber_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.phonenumber_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
HydratedCallButton::~HydratedCallButton() {
// @@protoc_insertion_point(destructor:proto.HydratedCallButton)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HydratedCallButton::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- displaytext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- phonenumber_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displaytext_.Destroy();
+ _impl_.phonenumber_.Destroy();
}
-void HydratedCallButton::ArenaDtor(void* object) {
- HydratedCallButton* _this = reinterpret_cast< HydratedCallButton* >(object);
- (void)_this;
-}
-void HydratedCallButton::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HydratedCallButton::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HydratedCallButton::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HydratedCallButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- displaytext_.ClearNonDefaultToEmpty();
+ _impl_.displaytext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- phonenumber_.ClearNonDefaultToEmpty();
+ _impl_.phonenumber_.ClearNonDefaultToEmpty();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HydratedCallButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HydratedCallButton::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string displayText = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_displaytext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedCallButton.displayText");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedCallButton.displayText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string phoneNumber = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_phonenumber();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedCallButton.phoneNumber");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedCallButton.phoneNumber");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -5609,7 +5771,7 @@ const char* HydratedCallButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMES
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -5617,13 +5779,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HydratedCallButton::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HydratedCallButton::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HydratedCallButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string displayText = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -5645,7 +5807,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HydratedCallButton)
@@ -5656,11 +5818,11 @@ size_t HydratedCallButton::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HydratedCallButton)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional string displayText = 1;
if (cached_has_bits & 0x00000001u) {
@@ -5677,38 +5839,34 @@ size_t HydratedCallButton::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HydratedCallButton::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HydratedCallButton::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HydratedCallButton::GetClassData() const { return &_class_data_; }
-void HydratedCallButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HydratedCallButton *>(to)->MergeFrom(
- static_cast<const HydratedCallButton &>(from));
-}
-
-void HydratedCallButton::MergeFrom(const HydratedCallButton& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedCallButton)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HydratedCallButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HydratedCallButton*>(&to_msg);
+ auto& from = static_cast<const HydratedCallButton&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedCallButton)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_displaytext(from._internal_displaytext());
+ _this->_internal_set_displaytext(from._internal_displaytext());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_phonenumber(from._internal_phonenumber());
+ _this->_internal_set_phonenumber(from._internal_phonenumber());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HydratedCallButton::CopyFrom(const HydratedCallButton& from) {
@@ -5727,21 +5885,19 @@ void HydratedCallButton::InternalSwap(HydratedCallButton* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &displaytext_, lhs_arena,
- &other->displaytext_, rhs_arena
+ &_impl_.displaytext_, lhs_arena,
+ &other->_impl_.displaytext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &phonenumber_, lhs_arena,
- &other->phonenumber_, rhs_arena
+ &_impl_.phonenumber_, lhs_arena,
+ &other->_impl_.phonenumber_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata HydratedCallButton::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[3]);
}
@@ -5750,7 +5906,7 @@ void HydratedCallButton::InternalSwap(HydratedCallButton* other) {
class HydratedTemplateButton::_Internal {
public:
- using HasBits = decltype(std::declval<HydratedTemplateButton>()._has_bits_);
+ using HasBits = decltype(std::declval<HydratedTemplateButton>()._impl_._has_bits_);
static void set_has_index(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -5761,28 +5917,28 @@ class HydratedTemplateButton::_Internal {
const ::proto::HydratedQuickReplyButton&
HydratedTemplateButton::_Internal::quickreplybutton(const HydratedTemplateButton* msg) {
- return *msg->hydratedButton_.quickreplybutton_;
+ return *msg->_impl_.hydratedButton_.quickreplybutton_;
}
const ::proto::HydratedURLButton&
HydratedTemplateButton::_Internal::urlbutton(const HydratedTemplateButton* msg) {
- return *msg->hydratedButton_.urlbutton_;
+ return *msg->_impl_.hydratedButton_.urlbutton_;
}
const ::proto::HydratedCallButton&
HydratedTemplateButton::_Internal::callbutton(const HydratedTemplateButton* msg) {
- return *msg->hydratedButton_.callbutton_;
+ return *msg->_impl_.hydratedButton_.callbutton_;
}
void HydratedTemplateButton::set_allocated_quickreplybutton(::proto::HydratedQuickReplyButton* quickreplybutton) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_hydratedButton();
if (quickreplybutton) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HydratedQuickReplyButton>::GetOwningArena(quickreplybutton);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(quickreplybutton);
if (message_arena != submessage_arena) {
quickreplybutton = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, quickreplybutton, submessage_arena);
}
set_has_quickreplybutton();
- hydratedButton_.quickreplybutton_ = quickreplybutton;
+ _impl_.hydratedButton_.quickreplybutton_ = quickreplybutton;
}
// @@protoc_insertion_point(field_set_allocated:proto.HydratedTemplateButton.quickReplyButton)
}
@@ -5791,13 +5947,13 @@ void HydratedTemplateButton::set_allocated_urlbutton(::proto::HydratedURLButton*
clear_hydratedButton();
if (urlbutton) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HydratedURLButton>::GetOwningArena(urlbutton);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(urlbutton);
if (message_arena != submessage_arena) {
urlbutton = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, urlbutton, submessage_arena);
}
set_has_urlbutton();
- hydratedButton_.urlbutton_ = urlbutton;
+ _impl_.hydratedButton_.urlbutton_ = urlbutton;
}
// @@protoc_insertion_point(field_set_allocated:proto.HydratedTemplateButton.urlButton)
}
@@ -5806,42 +5962,49 @@ void HydratedTemplateButton::set_allocated_callbutton(::proto::HydratedCallButto
clear_hydratedButton();
if (callbutton) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HydratedCallButton>::GetOwningArena(callbutton);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(callbutton);
if (message_arena != submessage_arena) {
callbutton = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, callbutton, submessage_arena);
}
set_has_callbutton();
- hydratedButton_.callbutton_ = callbutton;
+ _impl_.hydratedButton_.callbutton_ = callbutton;
}
// @@protoc_insertion_point(field_set_allocated:proto.HydratedTemplateButton.callButton)
}
HydratedTemplateButton::HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HydratedTemplateButton)
}
HydratedTemplateButton::HydratedTemplateButton(const HydratedTemplateButton& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HydratedTemplateButton* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.index_){}
+ , decltype(_impl_.hydratedButton_){}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- index_ = from.index_;
+ _this->_impl_.index_ = from._impl_.index_;
clear_has_hydratedButton();
switch (from.hydratedButton_case()) {
case kQuickReplyButton: {
- _internal_mutable_quickreplybutton()->::proto::HydratedQuickReplyButton::MergeFrom(from._internal_quickreplybutton());
+ _this->_internal_mutable_quickreplybutton()->::proto::HydratedQuickReplyButton::MergeFrom(
+ from._internal_quickreplybutton());
break;
}
case kUrlButton: {
- _internal_mutable_urlbutton()->::proto::HydratedURLButton::MergeFrom(from._internal_urlbutton());
+ _this->_internal_mutable_urlbutton()->::proto::HydratedURLButton::MergeFrom(
+ from._internal_urlbutton());
break;
}
case kCallButton: {
- _internal_mutable_callbutton()->::proto::HydratedCallButton::MergeFrom(from._internal_callbutton());
+ _this->_internal_mutable_callbutton()->::proto::HydratedCallButton::MergeFrom(
+ from._internal_callbutton());
break;
}
case HYDRATEDBUTTON_NOT_SET: {
@@ -5851,16 +6014,27 @@ HydratedTemplateButton::HydratedTemplateButton(const HydratedTemplateButton& fro
// @@protoc_insertion_point(copy_constructor:proto.HydratedTemplateButton)
}
-void HydratedTemplateButton::SharedCtor() {
-index_ = 0u;
-clear_has_hydratedButton();
+inline void HydratedTemplateButton::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.index_){0u}
+ , decltype(_impl_.hydratedButton_){}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ clear_has_hydratedButton();
}
HydratedTemplateButton::~HydratedTemplateButton() {
// @@protoc_insertion_point(destructor:proto.HydratedTemplateButton)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HydratedTemplateButton::SharedDtor() {
@@ -5870,14 +6044,8 @@ inline void HydratedTemplateButton::SharedDtor() {
}
}
-void HydratedTemplateButton::ArenaDtor(void* object) {
- HydratedTemplateButton* _this = reinterpret_cast< HydratedTemplateButton* >(object);
- (void)_this;
-}
-void HydratedTemplateButton::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HydratedTemplateButton::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HydratedTemplateButton::clear_hydratedButton() {
@@ -5885,19 +6053,19 @@ void HydratedTemplateButton::clear_hydratedButton() {
switch (hydratedButton_case()) {
case kQuickReplyButton: {
if (GetArenaForAllocation() == nullptr) {
- delete hydratedButton_.quickreplybutton_;
+ delete _impl_.hydratedButton_.quickreplybutton_;
}
break;
}
case kUrlButton: {
if (GetArenaForAllocation() == nullptr) {
- delete hydratedButton_.urlbutton_;
+ delete _impl_.hydratedButton_.urlbutton_;
}
break;
}
case kCallButton: {
if (GetArenaForAllocation() == nullptr) {
- delete hydratedButton_.callbutton_;
+ delete _impl_.hydratedButton_.callbutton_;
}
break;
}
@@ -5905,32 +6073,32 @@ void HydratedTemplateButton::clear_hydratedButton() {
break;
}
}
- _oneof_case_[0] = HYDRATEDBUTTON_NOT_SET;
+ _impl_._oneof_case_[0] = HYDRATEDBUTTON_NOT_SET;
}
void HydratedTemplateButton::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HydratedTemplateButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- index_ = 0u;
+ _impl_.index_ = 0u;
clear_hydratedButton();
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HydratedTemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HydratedTemplateButton::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .proto.HydratedQuickReplyButton quickReplyButton = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_quickreplybutton(), ptr);
CHK_(ptr);
} else
@@ -5938,7 +6106,7 @@ const char* HydratedTemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_N
continue;
// .proto.HydratedURLButton urlButton = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_urlbutton(), ptr);
CHK_(ptr);
} else
@@ -5946,7 +6114,7 @@ const char* HydratedTemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_N
continue;
// .proto.HydratedCallButton callButton = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_callbutton(), ptr);
CHK_(ptr);
} else
@@ -5954,9 +6122,9 @@ const char* HydratedTemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_N
continue;
// optional uint32 index = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
_Internal::set_has_index(&has_bits);
- index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -5977,7 +6145,7 @@ const char* HydratedTemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_N
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -5985,45 +6153,42 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HydratedTemplateButton::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HydratedTemplateButton::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HydratedTemplateButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
switch (hydratedButton_case()) {
case kQuickReplyButton: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::quickreplybutton(this), target, stream);
+ InternalWriteMessage(1, _Internal::quickreplybutton(this),
+ _Internal::quickreplybutton(this).GetCachedSize(), target, stream);
break;
}
case kUrlButton: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::urlbutton(this), target, stream);
+ InternalWriteMessage(2, _Internal::urlbutton(this),
+ _Internal::urlbutton(this).GetCachedSize(), target, stream);
break;
}
case kCallButton: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::callbutton(this), target, stream);
+ InternalWriteMessage(3, _Internal::callbutton(this),
+ _Internal::callbutton(this).GetCachedSize(), target, stream);
break;
}
default: ;
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional uint32 index = 4;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_index(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_index(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HydratedTemplateButton)
@@ -6034,14 +6199,14 @@ size_t HydratedTemplateButton::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HydratedTemplateButton)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional uint32 index = 4;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_index());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index());
}
switch (hydratedButton_case()) {
@@ -6049,70 +6214,69 @@ size_t HydratedTemplateButton::ByteSizeLong() const {
case kQuickReplyButton: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *hydratedButton_.quickreplybutton_);
+ *_impl_.hydratedButton_.quickreplybutton_);
break;
}
// .proto.HydratedURLButton urlButton = 2;
case kUrlButton: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *hydratedButton_.urlbutton_);
+ *_impl_.hydratedButton_.urlbutton_);
break;
}
// .proto.HydratedCallButton callButton = 3;
case kCallButton: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *hydratedButton_.callbutton_);
+ *_impl_.hydratedButton_.callbutton_);
break;
}
case HYDRATEDBUTTON_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HydratedTemplateButton::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HydratedTemplateButton::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HydratedTemplateButton::GetClassData() const { return &_class_data_; }
-void HydratedTemplateButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HydratedTemplateButton *>(to)->MergeFrom(
- static_cast<const HydratedTemplateButton &>(from));
-}
-
-void HydratedTemplateButton::MergeFrom(const HydratedTemplateButton& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedTemplateButton)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HydratedTemplateButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HydratedTemplateButton*>(&to_msg);
+ auto& from = static_cast<const HydratedTemplateButton&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedTemplateButton)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_index()) {
- _internal_set_index(from._internal_index());
+ _this->_internal_set_index(from._internal_index());
}
switch (from.hydratedButton_case()) {
case kQuickReplyButton: {
- _internal_mutable_quickreplybutton()->::proto::HydratedQuickReplyButton::MergeFrom(from._internal_quickreplybutton());
+ _this->_internal_mutable_quickreplybutton()->::proto::HydratedQuickReplyButton::MergeFrom(
+ from._internal_quickreplybutton());
break;
}
case kUrlButton: {
- _internal_mutable_urlbutton()->::proto::HydratedURLButton::MergeFrom(from._internal_urlbutton());
+ _this->_internal_mutable_urlbutton()->::proto::HydratedURLButton::MergeFrom(
+ from._internal_urlbutton());
break;
}
case kCallButton: {
- _internal_mutable_callbutton()->::proto::HydratedCallButton::MergeFrom(from._internal_callbutton());
+ _this->_internal_mutable_callbutton()->::proto::HydratedCallButton::MergeFrom(
+ from._internal_callbutton());
break;
}
case HYDRATEDBUTTON_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HydratedTemplateButton::CopyFrom(const HydratedTemplateButton& from) {
@@ -6129,14 +6293,14 @@ bool HydratedTemplateButton::IsInitialized() const {
void HydratedTemplateButton::InternalSwap(HydratedTemplateButton* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(index_, other->index_);
- swap(hydratedButton_, other->hydratedButton_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.index_, other->_impl_.index_);
+ swap(_impl_.hydratedButton_, other->_impl_.hydratedButton_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata HydratedTemplateButton::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[4]);
}
@@ -6145,7 +6309,7 @@ void HydratedTemplateButton::InternalSwap(HydratedTemplateButton* other) {
class QuickReplyButton::_Internal {
public:
- using HasBits = decltype(std::declval<QuickReplyButton>()._has_bits_);
+ using HasBits = decltype(std::declval<QuickReplyButton>()._impl_._has_bits_);
static const ::proto::HighlyStructuredMessage& displaytext(const QuickReplyButton* msg);
static void set_has_displaytext(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
@@ -6157,92 +6321,103 @@ class QuickReplyButton::_Internal {
const ::proto::HighlyStructuredMessage&
QuickReplyButton::_Internal::displaytext(const QuickReplyButton* msg) {
- return *msg->displaytext_;
+ return *msg->_impl_.displaytext_;
}
QuickReplyButton::QuickReplyButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.QuickReplyButton)
}
QuickReplyButton::QuickReplyButton(const QuickReplyButton& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ QuickReplyButton* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.id_){}
+ , decltype(_impl_.displaytext_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.id_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_id()) {
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_id(),
- GetArenaForAllocation());
+ _this->_impl_.id_.Set(from._internal_id(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_displaytext()) {
- displaytext_ = new ::proto::HighlyStructuredMessage(*from.displaytext_);
- } else {
- displaytext_ = nullptr;
+ _this->_impl_.displaytext_ = new ::proto::HighlyStructuredMessage(*from._impl_.displaytext_);
}
// @@protoc_insertion_point(copy_constructor:proto.QuickReplyButton)
}
-void QuickReplyButton::SharedCtor() {
-id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-displaytext_ = nullptr;
+inline void QuickReplyButton::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.id_){}
+ , decltype(_impl_.displaytext_){nullptr}
+ };
+ _impl_.id_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
QuickReplyButton::~QuickReplyButton() {
// @@protoc_insertion_point(destructor:proto.QuickReplyButton)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void QuickReplyButton::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete displaytext_;
+ _impl_.id_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.displaytext_;
}
-void QuickReplyButton::ArenaDtor(void* object) {
- QuickReplyButton* _this = reinterpret_cast< QuickReplyButton* >(object);
- (void)_this;
-}
-void QuickReplyButton::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void QuickReplyButton::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void QuickReplyButton::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.QuickReplyButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- id_.ClearNonDefaultToEmpty();
+ _impl_.id_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(displaytext_ != nullptr);
- displaytext_->Clear();
+ GOOGLE_DCHECK(_impl_.displaytext_ != nullptr);
+ _impl_.displaytext_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* QuickReplyButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* QuickReplyButton::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.HighlyStructuredMessage displayText = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_displaytext(), ptr);
CHK_(ptr);
} else
@@ -6250,13 +6425,13 @@ const char* QuickReplyButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA
continue;
// optional string id = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_id();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.QuickReplyButton.id");
+ ::_pbi::VerifyUTF8(str, "proto.QuickReplyButton.id");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -6276,7 +6451,7 @@ const char* QuickReplyButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -6284,19 +6459,18 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* QuickReplyButton::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* QuickReplyButton::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.QuickReplyButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.HighlyStructuredMessage displayText = 1;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::displaytext(this), target, stream);
+ InternalWriteMessage(1, _Internal::displaytext(this),
+ _Internal::displaytext(this).GetCachedSize(), target, stream);
}
// optional string id = 2;
@@ -6310,7 +6484,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.QuickReplyButton)
@@ -6321,11 +6495,11 @@ size_t QuickReplyButton::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.QuickReplyButton)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional string id = 2;
if (cached_has_bits & 0x00000001u) {
@@ -6338,42 +6512,39 @@ size_t QuickReplyButton::ByteSizeLong() const {
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *displaytext_);
+ *_impl_.displaytext_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData QuickReplyButton::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
QuickReplyButton::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*QuickReplyButton::GetClassData() const { return &_class_data_; }
-void QuickReplyButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<QuickReplyButton *>(to)->MergeFrom(
- static_cast<const QuickReplyButton &>(from));
-}
-
-void QuickReplyButton::MergeFrom(const QuickReplyButton& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.QuickReplyButton)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void QuickReplyButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<QuickReplyButton*>(&to_msg);
+ auto& from = static_cast<const QuickReplyButton&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.QuickReplyButton)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_id(from._internal_id());
+ _this->_internal_set_id(from._internal_id());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_displaytext()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_displaytext());
+ _this->_internal_mutable_displaytext()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_displaytext());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void QuickReplyButton::CopyFrom(const QuickReplyButton& from) {
@@ -6392,17 +6563,16 @@ void QuickReplyButton::InternalSwap(QuickReplyButton* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &id_, lhs_arena,
- &other->id_, rhs_arena
+ &_impl_.id_, lhs_arena,
+ &other->_impl_.id_, rhs_arena
);
- swap(displaytext_, other->displaytext_);
+ swap(_impl_.displaytext_, other->_impl_.displaytext_);
}
::PROTOBUF_NAMESPACE_ID::Metadata QuickReplyButton::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[5]);
}
@@ -6411,7 +6581,7 @@ void QuickReplyButton::InternalSwap(QuickReplyButton* other) {
class URLButton::_Internal {
public:
- using HasBits = decltype(std::declval<URLButton>()._has_bits_);
+ using HasBits = decltype(std::declval<URLButton>()._impl_._has_bits_);
static const ::proto::HighlyStructuredMessage& displaytext(const URLButton* msg);
static void set_has_displaytext(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -6424,99 +6594,99 @@ class URLButton::_Internal {
const ::proto::HighlyStructuredMessage&
URLButton::_Internal::displaytext(const URLButton* msg) {
- return *msg->displaytext_;
+ return *msg->_impl_.displaytext_;
}
const ::proto::HighlyStructuredMessage&
URLButton::_Internal::url(const URLButton* msg) {
- return *msg->url_;
+ return *msg->_impl_.url_;
}
URLButton::URLButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.URLButton)
}
URLButton::URLButton(const URLButton& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ URLButton* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){nullptr}
+ , decltype(_impl_.url_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_displaytext()) {
- displaytext_ = new ::proto::HighlyStructuredMessage(*from.displaytext_);
- } else {
- displaytext_ = nullptr;
+ _this->_impl_.displaytext_ = new ::proto::HighlyStructuredMessage(*from._impl_.displaytext_);
}
if (from._internal_has_url()) {
- url_ = new ::proto::HighlyStructuredMessage(*from.url_);
- } else {
- url_ = nullptr;
+ _this->_impl_.url_ = new ::proto::HighlyStructuredMessage(*from._impl_.url_);
}
// @@protoc_insertion_point(copy_constructor:proto.URLButton)
}
-void URLButton::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&displaytext_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&url_) -
- reinterpret_cast<char*>(&displaytext_)) + sizeof(url_));
+inline void URLButton::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){nullptr}
+ , decltype(_impl_.url_){nullptr}
+ };
}
URLButton::~URLButton() {
// @@protoc_insertion_point(destructor:proto.URLButton)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void URLButton::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete displaytext_;
- if (this != internal_default_instance()) delete url_;
+ if (this != internal_default_instance()) delete _impl_.displaytext_;
+ if (this != internal_default_instance()) delete _impl_.url_;
}
-void URLButton::ArenaDtor(void* object) {
- URLButton* _this = reinterpret_cast< URLButton* >(object);
- (void)_this;
-}
-void URLButton::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void URLButton::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void URLButton::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.URLButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(displaytext_ != nullptr);
- displaytext_->Clear();
+ GOOGLE_DCHECK(_impl_.displaytext_ != nullptr);
+ _impl_.displaytext_->Clear();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(url_ != nullptr);
- url_->Clear();
+ GOOGLE_DCHECK(_impl_.url_ != nullptr);
+ _impl_.url_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* URLButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* URLButton::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.HighlyStructuredMessage displayText = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_displaytext(), ptr);
CHK_(ptr);
} else
@@ -6524,7 +6694,7 @@ const char* URLButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::
continue;
// optional .proto.HighlyStructuredMessage url = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_url(), ptr);
CHK_(ptr);
} else
@@ -6546,7 +6716,7 @@ const char* URLButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -6554,31 +6724,29 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* URLButton::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* URLButton::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.URLButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.HighlyStructuredMessage displayText = 1;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::displaytext(this), target, stream);
+ InternalWriteMessage(1, _Internal::displaytext(this),
+ _Internal::displaytext(this).GetCachedSize(), target, stream);
}
// optional .proto.HighlyStructuredMessage url = 2;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::url(this), target, stream);
+ InternalWriteMessage(2, _Internal::url(this),
+ _Internal::url(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.URLButton)
@@ -6589,59 +6757,57 @@ size_t URLButton::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.URLButton)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional .proto.HighlyStructuredMessage displayText = 1;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *displaytext_);
+ *_impl_.displaytext_);
}
// optional .proto.HighlyStructuredMessage url = 2;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *url_);
+ *_impl_.url_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData URLButton::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
URLButton::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*URLButton::GetClassData() const { return &_class_data_; }
-void URLButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<URLButton *>(to)->MergeFrom(
- static_cast<const URLButton &>(from));
-}
-
-void URLButton::MergeFrom(const URLButton& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.URLButton)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void URLButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<URLButton*>(&to_msg);
+ auto& from = static_cast<const URLButton&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.URLButton)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_mutable_displaytext()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_displaytext());
+ _this->_internal_mutable_displaytext()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_displaytext());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_url()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_url());
+ _this->_internal_mutable_url()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_url());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void URLButton::CopyFrom(const URLButton& from) {
@@ -6658,17 +6824,17 @@ bool URLButton::IsInitialized() const {
void URLButton::InternalSwap(URLButton* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(URLButton, url_)
- + sizeof(URLButton::url_)
- - PROTOBUF_FIELD_OFFSET(URLButton, displaytext_)>(
- reinterpret_cast<char*>(&displaytext_),
- reinterpret_cast<char*>(&other->displaytext_));
+ PROTOBUF_FIELD_OFFSET(URLButton, _impl_.url_)
+ + sizeof(URLButton::_impl_.url_)
+ - PROTOBUF_FIELD_OFFSET(URLButton, _impl_.displaytext_)>(
+ reinterpret_cast<char*>(&_impl_.displaytext_),
+ reinterpret_cast<char*>(&other->_impl_.displaytext_));
}
::PROTOBUF_NAMESPACE_ID::Metadata URLButton::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[6]);
}
@@ -6677,7 +6843,7 @@ void URLButton::InternalSwap(URLButton* other) {
class CallButton::_Internal {
public:
- using HasBits = decltype(std::declval<CallButton>()._has_bits_);
+ using HasBits = decltype(std::declval<CallButton>()._impl_._has_bits_);
static const ::proto::HighlyStructuredMessage& displaytext(const CallButton* msg);
static void set_has_displaytext(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -6690,99 +6856,99 @@ class CallButton::_Internal {
const ::proto::HighlyStructuredMessage&
CallButton::_Internal::displaytext(const CallButton* msg) {
- return *msg->displaytext_;
+ return *msg->_impl_.displaytext_;
}
const ::proto::HighlyStructuredMessage&
CallButton::_Internal::phonenumber(const CallButton* msg) {
- return *msg->phonenumber_;
+ return *msg->_impl_.phonenumber_;
}
CallButton::CallButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.CallButton)
}
CallButton::CallButton(const CallButton& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ CallButton* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){nullptr}
+ , decltype(_impl_.phonenumber_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_displaytext()) {
- displaytext_ = new ::proto::HighlyStructuredMessage(*from.displaytext_);
- } else {
- displaytext_ = nullptr;
+ _this->_impl_.displaytext_ = new ::proto::HighlyStructuredMessage(*from._impl_.displaytext_);
}
if (from._internal_has_phonenumber()) {
- phonenumber_ = new ::proto::HighlyStructuredMessage(*from.phonenumber_);
- } else {
- phonenumber_ = nullptr;
+ _this->_impl_.phonenumber_ = new ::proto::HighlyStructuredMessage(*from._impl_.phonenumber_);
}
// @@protoc_insertion_point(copy_constructor:proto.CallButton)
}
-void CallButton::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&displaytext_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&phonenumber_) -
- reinterpret_cast<char*>(&displaytext_)) + sizeof(phonenumber_));
+inline void CallButton::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){nullptr}
+ , decltype(_impl_.phonenumber_){nullptr}
+ };
}
CallButton::~CallButton() {
// @@protoc_insertion_point(destructor:proto.CallButton)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void CallButton::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete displaytext_;
- if (this != internal_default_instance()) delete phonenumber_;
+ if (this != internal_default_instance()) delete _impl_.displaytext_;
+ if (this != internal_default_instance()) delete _impl_.phonenumber_;
}
-void CallButton::ArenaDtor(void* object) {
- CallButton* _this = reinterpret_cast< CallButton* >(object);
- (void)_this;
-}
-void CallButton::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void CallButton::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void CallButton::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.CallButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(displaytext_ != nullptr);
- displaytext_->Clear();
+ GOOGLE_DCHECK(_impl_.displaytext_ != nullptr);
+ _impl_.displaytext_->Clear();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(phonenumber_ != nullptr);
- phonenumber_->Clear();
+ GOOGLE_DCHECK(_impl_.phonenumber_ != nullptr);
+ _impl_.phonenumber_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* CallButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* CallButton::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.HighlyStructuredMessage displayText = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_displaytext(), ptr);
CHK_(ptr);
} else
@@ -6790,7 +6956,7 @@ const char* CallButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID:
continue;
// optional .proto.HighlyStructuredMessage phoneNumber = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_phonenumber(), ptr);
CHK_(ptr);
} else
@@ -6812,7 +6978,7 @@ const char* CallButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID:
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -6820,31 +6986,29 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* CallButton::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* CallButton::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.CallButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.HighlyStructuredMessage displayText = 1;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::displaytext(this), target, stream);
+ InternalWriteMessage(1, _Internal::displaytext(this),
+ _Internal::displaytext(this).GetCachedSize(), target, stream);
}
// optional .proto.HighlyStructuredMessage phoneNumber = 2;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::phonenumber(this), target, stream);
+ InternalWriteMessage(2, _Internal::phonenumber(this),
+ _Internal::phonenumber(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.CallButton)
@@ -6855,59 +7019,57 @@ size_t CallButton::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.CallButton)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional .proto.HighlyStructuredMessage displayText = 1;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *displaytext_);
+ *_impl_.displaytext_);
}
// optional .proto.HighlyStructuredMessage phoneNumber = 2;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *phonenumber_);
+ *_impl_.phonenumber_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CallButton::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
CallButton::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CallButton::GetClassData() const { return &_class_data_; }
-void CallButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<CallButton *>(to)->MergeFrom(
- static_cast<const CallButton &>(from));
-}
-
-void CallButton::MergeFrom(const CallButton& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.CallButton)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void CallButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<CallButton*>(&to_msg);
+ auto& from = static_cast<const CallButton&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.CallButton)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_mutable_displaytext()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_displaytext());
+ _this->_internal_mutable_displaytext()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_displaytext());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_phonenumber()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_phonenumber());
+ _this->_internal_mutable_phonenumber()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_phonenumber());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void CallButton::CopyFrom(const CallButton& from) {
@@ -6924,17 +7086,17 @@ bool CallButton::IsInitialized() const {
void CallButton::InternalSwap(CallButton* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallButton, phonenumber_)
- + sizeof(CallButton::phonenumber_)
- - PROTOBUF_FIELD_OFFSET(CallButton, displaytext_)>(
- reinterpret_cast<char*>(&displaytext_),
- reinterpret_cast<char*>(&other->displaytext_));
+ PROTOBUF_FIELD_OFFSET(CallButton, _impl_.phonenumber_)
+ + sizeof(CallButton::_impl_.phonenumber_)
+ - PROTOBUF_FIELD_OFFSET(CallButton, _impl_.displaytext_)>(
+ reinterpret_cast<char*>(&_impl_.displaytext_),
+ reinterpret_cast<char*>(&other->_impl_.displaytext_));
}
::PROTOBUF_NAMESPACE_ID::Metadata CallButton::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[7]);
}
@@ -6943,7 +7105,7 @@ void CallButton::InternalSwap(CallButton* other) {
class TemplateButton::_Internal {
public:
- using HasBits = decltype(std::declval<TemplateButton>()._has_bits_);
+ using HasBits = decltype(std::declval<TemplateButton>()._impl_._has_bits_);
static void set_has_index(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -6954,28 +7116,28 @@ class TemplateButton::_Internal {
const ::proto::QuickReplyButton&
TemplateButton::_Internal::quickreplybutton(const TemplateButton* msg) {
- return *msg->button_.quickreplybutton_;
+ return *msg->_impl_.button_.quickreplybutton_;
}
const ::proto::URLButton&
TemplateButton::_Internal::urlbutton(const TemplateButton* msg) {
- return *msg->button_.urlbutton_;
+ return *msg->_impl_.button_.urlbutton_;
}
const ::proto::CallButton&
TemplateButton::_Internal::callbutton(const TemplateButton* msg) {
- return *msg->button_.callbutton_;
+ return *msg->_impl_.button_.callbutton_;
}
void TemplateButton::set_allocated_quickreplybutton(::proto::QuickReplyButton* quickreplybutton) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_button();
if (quickreplybutton) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::QuickReplyButton>::GetOwningArena(quickreplybutton);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(quickreplybutton);
if (message_arena != submessage_arena) {
quickreplybutton = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, quickreplybutton, submessage_arena);
}
set_has_quickreplybutton();
- button_.quickreplybutton_ = quickreplybutton;
+ _impl_.button_.quickreplybutton_ = quickreplybutton;
}
// @@protoc_insertion_point(field_set_allocated:proto.TemplateButton.quickReplyButton)
}
@@ -6984,13 +7146,13 @@ void TemplateButton::set_allocated_urlbutton(::proto::URLButton* urlbutton) {
clear_button();
if (urlbutton) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::URLButton>::GetOwningArena(urlbutton);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(urlbutton);
if (message_arena != submessage_arena) {
urlbutton = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, urlbutton, submessage_arena);
}
set_has_urlbutton();
- button_.urlbutton_ = urlbutton;
+ _impl_.button_.urlbutton_ = urlbutton;
}
// @@protoc_insertion_point(field_set_allocated:proto.TemplateButton.urlButton)
}
@@ -6999,42 +7161,49 @@ void TemplateButton::set_allocated_callbutton(::proto::CallButton* callbutton) {
clear_button();
if (callbutton) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::CallButton>::GetOwningArena(callbutton);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(callbutton);
if (message_arena != submessage_arena) {
callbutton = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, callbutton, submessage_arena);
}
set_has_callbutton();
- button_.callbutton_ = callbutton;
+ _impl_.button_.callbutton_ = callbutton;
}
// @@protoc_insertion_point(field_set_allocated:proto.TemplateButton.callButton)
}
TemplateButton::TemplateButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.TemplateButton)
}
TemplateButton::TemplateButton(const TemplateButton& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ TemplateButton* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.index_){}
+ , decltype(_impl_.button_){}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- index_ = from.index_;
+ _this->_impl_.index_ = from._impl_.index_;
clear_has_button();
switch (from.button_case()) {
case kQuickReplyButton: {
- _internal_mutable_quickreplybutton()->::proto::QuickReplyButton::MergeFrom(from._internal_quickreplybutton());
+ _this->_internal_mutable_quickreplybutton()->::proto::QuickReplyButton::MergeFrom(
+ from._internal_quickreplybutton());
break;
}
case kUrlButton: {
- _internal_mutable_urlbutton()->::proto::URLButton::MergeFrom(from._internal_urlbutton());
+ _this->_internal_mutable_urlbutton()->::proto::URLButton::MergeFrom(
+ from._internal_urlbutton());
break;
}
case kCallButton: {
- _internal_mutable_callbutton()->::proto::CallButton::MergeFrom(from._internal_callbutton());
+ _this->_internal_mutable_callbutton()->::proto::CallButton::MergeFrom(
+ from._internal_callbutton());
break;
}
case BUTTON_NOT_SET: {
@@ -7044,16 +7213,27 @@ TemplateButton::TemplateButton(const TemplateButton& from)
// @@protoc_insertion_point(copy_constructor:proto.TemplateButton)
}
-void TemplateButton::SharedCtor() {
-index_ = 0u;
-clear_has_button();
+inline void TemplateButton::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.index_){0u}
+ , decltype(_impl_.button_){}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ clear_has_button();
}
TemplateButton::~TemplateButton() {
// @@protoc_insertion_point(destructor:proto.TemplateButton)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void TemplateButton::SharedDtor() {
@@ -7063,14 +7243,8 @@ inline void TemplateButton::SharedDtor() {
}
}
-void TemplateButton::ArenaDtor(void* object) {
- TemplateButton* _this = reinterpret_cast< TemplateButton* >(object);
- (void)_this;
-}
-void TemplateButton::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void TemplateButton::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void TemplateButton::clear_button() {
@@ -7078,19 +7252,19 @@ void TemplateButton::clear_button() {
switch (button_case()) {
case kQuickReplyButton: {
if (GetArenaForAllocation() == nullptr) {
- delete button_.quickreplybutton_;
+ delete _impl_.button_.quickreplybutton_;
}
break;
}
case kUrlButton: {
if (GetArenaForAllocation() == nullptr) {
- delete button_.urlbutton_;
+ delete _impl_.button_.urlbutton_;
}
break;
}
case kCallButton: {
if (GetArenaForAllocation() == nullptr) {
- delete button_.callbutton_;
+ delete _impl_.button_.callbutton_;
}
break;
}
@@ -7098,32 +7272,32 @@ void TemplateButton::clear_button() {
break;
}
}
- _oneof_case_[0] = BUTTON_NOT_SET;
+ _impl_._oneof_case_[0] = BUTTON_NOT_SET;
}
void TemplateButton::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.TemplateButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- index_ = 0u;
+ _impl_.index_ = 0u;
clear_button();
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* TemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* TemplateButton::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .proto.QuickReplyButton quickReplyButton = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_quickreplybutton(), ptr);
CHK_(ptr);
} else
@@ -7131,7 +7305,7 @@ const char* TemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// .proto.URLButton urlButton = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_urlbutton(), ptr);
CHK_(ptr);
} else
@@ -7139,7 +7313,7 @@ const char* TemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// .proto.CallButton callButton = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_callbutton(), ptr);
CHK_(ptr);
} else
@@ -7147,9 +7321,9 @@ const char* TemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional uint32 index = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
_Internal::set_has_index(&has_bits);
- index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -7170,7 +7344,7 @@ const char* TemplateButton::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -7178,45 +7352,42 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* TemplateButton::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* TemplateButton::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.TemplateButton)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
switch (button_case()) {
case kQuickReplyButton: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::quickreplybutton(this), target, stream);
+ InternalWriteMessage(1, _Internal::quickreplybutton(this),
+ _Internal::quickreplybutton(this).GetCachedSize(), target, stream);
break;
}
case kUrlButton: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::urlbutton(this), target, stream);
+ InternalWriteMessage(2, _Internal::urlbutton(this),
+ _Internal::urlbutton(this).GetCachedSize(), target, stream);
break;
}
case kCallButton: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::callbutton(this), target, stream);
+ InternalWriteMessage(3, _Internal::callbutton(this),
+ _Internal::callbutton(this).GetCachedSize(), target, stream);
break;
}
default: ;
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional uint32 index = 4;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_index(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_index(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.TemplateButton)
@@ -7227,14 +7398,14 @@ size_t TemplateButton::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.TemplateButton)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional uint32 index = 4;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_index());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index());
}
switch (button_case()) {
@@ -7242,70 +7413,69 @@ size_t TemplateButton::ByteSizeLong() const {
case kQuickReplyButton: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *button_.quickreplybutton_);
+ *_impl_.button_.quickreplybutton_);
break;
}
// .proto.URLButton urlButton = 2;
case kUrlButton: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *button_.urlbutton_);
+ *_impl_.button_.urlbutton_);
break;
}
// .proto.CallButton callButton = 3;
case kCallButton: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *button_.callbutton_);
+ *_impl_.button_.callbutton_);
break;
}
case BUTTON_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TemplateButton::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
TemplateButton::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TemplateButton::GetClassData() const { return &_class_data_; }
-void TemplateButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<TemplateButton *>(to)->MergeFrom(
- static_cast<const TemplateButton &>(from));
-}
-
-void TemplateButton::MergeFrom(const TemplateButton& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.TemplateButton)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void TemplateButton::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<TemplateButton*>(&to_msg);
+ auto& from = static_cast<const TemplateButton&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.TemplateButton)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_index()) {
- _internal_set_index(from._internal_index());
+ _this->_internal_set_index(from._internal_index());
}
switch (from.button_case()) {
case kQuickReplyButton: {
- _internal_mutable_quickreplybutton()->::proto::QuickReplyButton::MergeFrom(from._internal_quickreplybutton());
+ _this->_internal_mutable_quickreplybutton()->::proto::QuickReplyButton::MergeFrom(
+ from._internal_quickreplybutton());
break;
}
case kUrlButton: {
- _internal_mutable_urlbutton()->::proto::URLButton::MergeFrom(from._internal_urlbutton());
+ _this->_internal_mutable_urlbutton()->::proto::URLButton::MergeFrom(
+ from._internal_urlbutton());
break;
}
case kCallButton: {
- _internal_mutable_callbutton()->::proto::CallButton::MergeFrom(from._internal_callbutton());
+ _this->_internal_mutable_callbutton()->::proto::CallButton::MergeFrom(
+ from._internal_callbutton());
break;
}
case BUTTON_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void TemplateButton::CopyFrom(const TemplateButton& from) {
@@ -7322,14 +7492,14 @@ bool TemplateButton::IsInitialized() const {
void TemplateButton::InternalSwap(TemplateButton* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(index_, other->index_);
- swap(button_, other->button_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.index_, other->_impl_.index_);
+ swap(_impl_.button_, other->_impl_.button_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata TemplateButton::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[8]);
}
@@ -7338,7 +7508,7 @@ void TemplateButton::InternalSwap(TemplateButton* other) {
class Location::_Internal {
public:
- using HasBits = decltype(std::declval<Location>()._has_bits_);
+ using HasBits = decltype(std::declval<Location>()._impl_._has_bits_);
static void set_has_degreeslatitude(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
}
@@ -7353,110 +7523,122 @@ class Location::_Internal {
Location::Location(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.Location)
}
Location::Location(const Location& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ Location* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.name_){}
+ , decltype(_impl_.degreeslatitude_){}
+ , decltype(_impl_.degreeslongitude_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.name_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.name_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_name()) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(),
- GetArenaForAllocation());
+ _this->_impl_.name_.Set(from._internal_name(),
+ _this->GetArenaForAllocation());
}
- ::memcpy(&degreeslatitude_, &from.degreeslatitude_,
- static_cast<size_t>(reinterpret_cast<char*>(&degreeslongitude_) -
- reinterpret_cast<char*>(&degreeslatitude_)) + sizeof(degreeslongitude_));
+ ::memcpy(&_impl_.degreeslatitude_, &from._impl_.degreeslatitude_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.degreeslongitude_) -
+ reinterpret_cast<char*>(&_impl_.degreeslatitude_)) + sizeof(_impl_.degreeslongitude_));
// @@protoc_insertion_point(copy_constructor:proto.Location)
}
-void Location::SharedCtor() {
-name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&degreeslatitude_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&degreeslongitude_) -
- reinterpret_cast<char*>(&degreeslatitude_)) + sizeof(degreeslongitude_));
+inline void Location::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.name_){}
+ , decltype(_impl_.degreeslatitude_){0}
+ , decltype(_impl_.degreeslongitude_){0}
+ };
+ _impl_.name_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.name_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Location::~Location() {
// @@protoc_insertion_point(destructor:proto.Location)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void Location::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.name_.Destroy();
}
-void Location::ArenaDtor(void* object) {
- Location* _this = reinterpret_cast< Location* >(object);
- (void)_this;
-}
-void Location::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void Location::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void Location::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.Location)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- name_.ClearNonDefaultToEmpty();
+ _impl_.name_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000006u) {
- ::memset(&degreeslatitude_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&degreeslongitude_) -
- reinterpret_cast<char*>(&degreeslatitude_)) + sizeof(degreeslongitude_));
+ ::memset(&_impl_.degreeslatitude_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.degreeslongitude_) -
+ reinterpret_cast<char*>(&_impl_.degreeslatitude_)) + sizeof(_impl_.degreeslongitude_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* Location::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* Location::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional double degreesLatitude = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 9)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 9)) {
_Internal::set_has_degreeslatitude(&has_bits);
- degreeslatitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ _impl_.degreeslatitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else
goto handle_unusual;
continue;
// optional double degreesLongitude = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 17)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 17)) {
_Internal::set_has_degreeslongitude(&has_bits);
- degreeslongitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ _impl_.degreeslongitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else
goto handle_unusual;
continue;
// optional string name = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_name();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Location.name");
+ ::_pbi::VerifyUTF8(str, "proto.Location.name");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -7476,7 +7658,7 @@ const char* Location::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::i
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -7484,23 +7666,23 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* Location::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* Location::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.Location)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional double degreesLatitude = 1;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_degreeslatitude(), target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(1, this->_internal_degreeslatitude(), target);
}
// optional double degreesLongitude = 2;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_degreeslongitude(), target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(2, this->_internal_degreeslongitude(), target);
}
// optional string name = 3;
@@ -7514,7 +7696,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.Location)
@@ -7525,11 +7707,11 @@ size_t Location::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.Location)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string name = 3;
if (cached_has_bits & 0x00000001u) {
@@ -7549,42 +7731,38 @@ size_t Location::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Location::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
Location::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Location::GetClassData() const { return &_class_data_; }
-void Location::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<Location *>(to)->MergeFrom(
- static_cast<const Location &>(from));
-}
-
-void Location::MergeFrom(const Location& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.Location)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void Location::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<Location*>(&to_msg);
+ auto& from = static_cast<const Location&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.Location)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_name(from._internal_name());
+ _this->_internal_set_name(from._internal_name());
}
if (cached_has_bits & 0x00000002u) {
- degreeslatitude_ = from.degreeslatitude_;
+ _this->_impl_.degreeslatitude_ = from._impl_.degreeslatitude_;
}
if (cached_has_bits & 0x00000004u) {
- degreeslongitude_ = from.degreeslongitude_;
+ _this->_impl_.degreeslongitude_ = from._impl_.degreeslongitude_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Location::CopyFrom(const Location& from) {
@@ -7603,22 +7781,21 @@ void Location::InternalSwap(Location* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &name_, lhs_arena,
- &other->name_, rhs_arena
+ &_impl_.name_, lhs_arena,
+ &other->_impl_.name_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(Location, degreeslongitude_)
- + sizeof(Location::degreeslongitude_)
- - PROTOBUF_FIELD_OFFSET(Location, degreeslatitude_)>(
- reinterpret_cast<char*>(&degreeslatitude_),
- reinterpret_cast<char*>(&other->degreeslatitude_));
+ PROTOBUF_FIELD_OFFSET(Location, _impl_.degreeslongitude_)
+ + sizeof(Location::_impl_.degreeslongitude_)
+ - PROTOBUF_FIELD_OFFSET(Location, _impl_.degreeslatitude_)>(
+ reinterpret_cast<char*>(&_impl_.degreeslatitude_),
+ reinterpret_cast<char*>(&other->_impl_.degreeslatitude_));
}
::PROTOBUF_NAMESPACE_ID::Metadata Location::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[9]);
}
@@ -7627,7 +7804,7 @@ void Location::InternalSwap(Location* other) {
class Point::_Internal {
public:
- using HasBits = decltype(std::declval<Point>()._has_bits_);
+ using HasBits = decltype(std::declval<Point>()._impl_._has_bits_);
static void set_has_xdeprecated(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -7645,105 +7822,113 @@ class Point::_Internal {
Point::Point(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.Point)
}
Point::Point(const Point& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ Point* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.xdeprecated_){}
+ , decltype(_impl_.ydeprecated_){}
+ , decltype(_impl_.x_){}
+ , decltype(_impl_.y_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- ::memcpy(&xdeprecated_, &from.xdeprecated_,
- static_cast<size_t>(reinterpret_cast<char*>(&y_) -
- reinterpret_cast<char*>(&xdeprecated_)) + sizeof(y_));
+ ::memcpy(&_impl_.xdeprecated_, &from._impl_.xdeprecated_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.y_) -
+ reinterpret_cast<char*>(&_impl_.xdeprecated_)) + sizeof(_impl_.y_));
// @@protoc_insertion_point(copy_constructor:proto.Point)
}
-void Point::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&xdeprecated_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&y_) -
- reinterpret_cast<char*>(&xdeprecated_)) + sizeof(y_));
+inline void Point::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.xdeprecated_){0}
+ , decltype(_impl_.ydeprecated_){0}
+ , decltype(_impl_.x_){0}
+ , decltype(_impl_.y_){0}
+ };
}
Point::~Point() {
// @@protoc_insertion_point(destructor:proto.Point)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void Point::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}
-void Point::ArenaDtor(void* object) {
- Point* _this = reinterpret_cast< Point* >(object);
- (void)_this;
-}
-void Point::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void Point::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void Point::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.Point)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
- ::memset(&xdeprecated_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&y_) -
- reinterpret_cast<char*>(&xdeprecated_)) + sizeof(y_));
+ ::memset(&_impl_.xdeprecated_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.y_) -
+ reinterpret_cast<char*>(&_impl_.xdeprecated_)) + sizeof(_impl_.y_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* Point::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* Point::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional int32 xDeprecated = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
_Internal::set_has_xdeprecated(&has_bits);
- xdeprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.xdeprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int32 yDeprecated = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_ydeprecated(&has_bits);
- ydeprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ydeprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional double x = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 25)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 25)) {
_Internal::set_has_x(&has_bits);
- x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else
goto handle_unusual;
continue;
// optional double y = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 33)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 33)) {
_Internal::set_has_y(&has_bits);
- y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else
goto handle_unusual;
@@ -7764,7 +7949,7 @@ const char* Point::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inte
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -7772,39 +7957,39 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* Point::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* Point::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.Point)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional int32 xDeprecated = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_xdeprecated(), target);
+ target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_xdeprecated(), target);
}
// optional int32 yDeprecated = 2;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_ydeprecated(), target);
+ target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_ydeprecated(), target);
}
// optional double x = 3;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(3, this->_internal_x(), target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(3, this->_internal_x(), target);
}
// optional double y = 4;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(4, this->_internal_y(), target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(4, this->_internal_y(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.Point)
@@ -7815,20 +8000,20 @@ size_t Point::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.Point)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional int32 xDeprecated = 1;
if (cached_has_bits & 0x00000001u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_xdeprecated());
+ total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_xdeprecated());
}
// optional int32 yDeprecated = 2;
if (cached_has_bits & 0x00000002u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_ydeprecated());
+ total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ydeprecated());
}
// optional double x = 3;
@@ -7842,45 +8027,41 @@ size_t Point::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Point::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
Point::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Point::GetClassData() const { return &_class_data_; }
-void Point::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<Point *>(to)->MergeFrom(
- static_cast<const Point &>(from));
-}
-
-void Point::MergeFrom(const Point& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.Point)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void Point::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<Point*>(&to_msg);
+ auto& from = static_cast<const Point&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.Point)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- xdeprecated_ = from.xdeprecated_;
+ _this->_impl_.xdeprecated_ = from._impl_.xdeprecated_;
}
if (cached_has_bits & 0x00000002u) {
- ydeprecated_ = from.ydeprecated_;
+ _this->_impl_.ydeprecated_ = from._impl_.ydeprecated_;
}
if (cached_has_bits & 0x00000004u) {
- x_ = from.x_;
+ _this->_impl_.x_ = from._impl_.x_;
}
if (cached_has_bits & 0x00000008u) {
- y_ = from.y_;
+ _this->_impl_.y_ = from._impl_.y_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Point::CopyFrom(const Point& from) {
@@ -7897,17 +8078,17 @@ bool Point::IsInitialized() const {
void Point::InternalSwap(Point* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(Point, y_)
- + sizeof(Point::y_)
- - PROTOBUF_FIELD_OFFSET(Point, xdeprecated_)>(
- reinterpret_cast<char*>(&xdeprecated_),
- reinterpret_cast<char*>(&other->xdeprecated_));
+ PROTOBUF_FIELD_OFFSET(Point, _impl_.y_)
+ + sizeof(Point::_impl_.y_)
+ - PROTOBUF_FIELD_OFFSET(Point, _impl_.xdeprecated_)>(
+ reinterpret_cast<char*>(&_impl_.xdeprecated_),
+ reinterpret_cast<char*>(&other->_impl_.xdeprecated_));
}
::PROTOBUF_NAMESPACE_ID::Metadata Point::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[10]);
}
@@ -7921,41 +8102,44 @@ class InteractiveAnnotation::_Internal {
const ::proto::Location&
InteractiveAnnotation::_Internal::location(const InteractiveAnnotation* msg) {
- return *msg->action_.location_;
+ return *msg->_impl_.action_.location_;
}
void InteractiveAnnotation::set_allocated_location(::proto::Location* location) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_action();
if (location) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Location>::GetOwningArena(location);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(location);
if (message_arena != submessage_arena) {
location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, location, submessage_arena);
}
set_has_location();
- action_.location_ = location;
+ _impl_.action_.location_ = location;
}
// @@protoc_insertion_point(field_set_allocated:proto.InteractiveAnnotation.location)
}
InteractiveAnnotation::InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- polygonvertices_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.InteractiveAnnotation)
}
InteractiveAnnotation::InteractiveAnnotation(const InteractiveAnnotation& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- polygonvertices_(from.polygonvertices_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ InteractiveAnnotation* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.polygonvertices_){from._impl_.polygonvertices_}
+ , decltype(_impl_.action_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
clear_has_action();
switch (from.action_case()) {
case kLocation: {
- _internal_mutable_location()->::proto::Location::MergeFrom(from._internal_location());
+ _this->_internal_mutable_location()->::proto::Location::MergeFrom(
+ from._internal_location());
break;
}
case ACTION_NOT_SET: {
@@ -7965,32 +8149,38 @@ InteractiveAnnotation::InteractiveAnnotation(const InteractiveAnnotation& from)
// @@protoc_insertion_point(copy_constructor:proto.InteractiveAnnotation)
}
-void InteractiveAnnotation::SharedCtor() {
-clear_has_action();
+inline void InteractiveAnnotation::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_.polygonvertices_){arena}
+ , decltype(_impl_.action_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ clear_has_action();
}
InteractiveAnnotation::~InteractiveAnnotation() {
// @@protoc_insertion_point(destructor:proto.InteractiveAnnotation)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void InteractiveAnnotation::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.polygonvertices_.~RepeatedPtrField();
if (has_action()) {
clear_action();
}
}
-void InteractiveAnnotation::ArenaDtor(void* object) {
- InteractiveAnnotation* _this = reinterpret_cast< InteractiveAnnotation* >(object);
- (void)_this;
-}
-void InteractiveAnnotation::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void InteractiveAnnotation::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void InteractiveAnnotation::clear_action() {
@@ -7998,7 +8188,7 @@ void InteractiveAnnotation::clear_action() {
switch (action_case()) {
case kLocation: {
if (GetArenaForAllocation() == nullptr) {
- delete action_.location_;
+ delete _impl_.action_.location_;
}
break;
}
@@ -8006,30 +8196,30 @@ void InteractiveAnnotation::clear_action() {
break;
}
}
- _oneof_case_[0] = ACTION_NOT_SET;
+ _impl_._oneof_case_[0] = ACTION_NOT_SET;
}
void InteractiveAnnotation::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.InteractiveAnnotation)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- polygonvertices_.Clear();
+ _impl_.polygonvertices_.Clear();
clear_action();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* InteractiveAnnotation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* InteractiveAnnotation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// repeated .proto.Point polygonVertices = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr -= 1;
do {
ptr += 1;
@@ -8042,7 +8232,7 @@ const char* InteractiveAnnotation::_InternalParse(const char* ptr, ::PROTOBUF_NA
continue;
// .proto.Location location = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_location(), ptr);
CHK_(ptr);
} else
@@ -8071,30 +8261,29 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* InteractiveAnnotation::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* InteractiveAnnotation::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.InteractiveAnnotation)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// repeated .proto.Point polygonVertices = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_polygonvertices_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_polygonvertices_size()); i < n; i++) {
+ const auto& repfield = this->_internal_polygonvertices(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, this->_internal_polygonvertices(i), target, stream);
+ InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
}
// .proto.Location location = 2;
if (_internal_has_location()) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::location(this), target, stream);
+ InternalWriteMessage(2, _Internal::location(this),
+ _Internal::location(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.InteractiveAnnotation)
@@ -8105,13 +8294,13 @@ size_t InteractiveAnnotation::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.InteractiveAnnotation)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.Point polygonVertices = 1;
total_size += 1UL * this->_internal_polygonvertices_size();
- for (const auto& msg : this->polygonvertices_) {
+ for (const auto& msg : this->_impl_.polygonvertices_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
@@ -8121,46 +8310,43 @@ size_t InteractiveAnnotation::ByteSizeLong() const {
case kLocation: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *action_.location_);
+ *_impl_.action_.location_);
break;
}
case ACTION_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InteractiveAnnotation::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
InteractiveAnnotation::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InteractiveAnnotation::GetClassData() const { return &_class_data_; }
-void InteractiveAnnotation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<InteractiveAnnotation *>(to)->MergeFrom(
- static_cast<const InteractiveAnnotation &>(from));
-}
-
-void InteractiveAnnotation::MergeFrom(const InteractiveAnnotation& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.InteractiveAnnotation)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void InteractiveAnnotation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<InteractiveAnnotation*>(&to_msg);
+ auto& from = static_cast<const InteractiveAnnotation&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.InteractiveAnnotation)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- polygonvertices_.MergeFrom(from.polygonvertices_);
+ _this->_impl_.polygonvertices_.MergeFrom(from._impl_.polygonvertices_);
switch (from.action_case()) {
case kLocation: {
- _internal_mutable_location()->::proto::Location::MergeFrom(from._internal_location());
+ _this->_internal_mutable_location()->::proto::Location::MergeFrom(
+ from._internal_location());
break;
}
case ACTION_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void InteractiveAnnotation::CopyFrom(const InteractiveAnnotation& from) {
@@ -8177,13 +8363,13 @@ bool InteractiveAnnotation::IsInitialized() const {
void InteractiveAnnotation::InternalSwap(InteractiveAnnotation* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- polygonvertices_.InternalSwap(&other->polygonvertices_);
- swap(action_, other->action_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ _impl_.polygonvertices_.InternalSwap(&other->_impl_.polygonvertices_);
+ swap(_impl_.action_, other->_impl_.action_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata InteractiveAnnotation::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[11]);
}
@@ -8192,7 +8378,7 @@ void InteractiveAnnotation::InternalSwap(InteractiveAnnotation* other) {
class DeviceListMetadata::_Internal {
public:
- using HasBits = decltype(std::declval<DeviceListMetadata>()._has_bits_);
+ using HasBits = decltype(std::declval<DeviceListMetadata>()._impl_._has_bits_);
static void set_has_senderkeyhash(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -8210,127 +8396,147 @@ class DeviceListMetadata::_Internal {
DeviceListMetadata::DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.DeviceListMetadata)
}
DeviceListMetadata::DeviceListMetadata(const DeviceListMetadata& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ DeviceListMetadata* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.senderkeyhash_){}
+ , decltype(_impl_.recipientkeyhash_){}
+ , decltype(_impl_.sendertimestamp_){}
+ , decltype(_impl_.recipienttimestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- senderkeyhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.senderkeyhash_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.senderkeyhash_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_senderkeyhash()) {
- senderkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_senderkeyhash(),
- GetArenaForAllocation());
+ _this->_impl_.senderkeyhash_.Set(from._internal_senderkeyhash(),
+ _this->GetArenaForAllocation());
}
- recipientkeyhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.recipientkeyhash_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.recipientkeyhash_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_recipientkeyhash()) {
- recipientkeyhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_recipientkeyhash(),
- GetArenaForAllocation());
+ _this->_impl_.recipientkeyhash_.Set(from._internal_recipientkeyhash(),
+ _this->GetArenaForAllocation());
}
- ::memcpy(&sendertimestamp_, &from.sendertimestamp_,
- static_cast<size_t>(reinterpret_cast<char*>(&recipienttimestamp_) -
- reinterpret_cast<char*>(&sendertimestamp_)) + sizeof(recipienttimestamp_));
+ ::memcpy(&_impl_.sendertimestamp_, &from._impl_.sendertimestamp_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.recipienttimestamp_) -
+ reinterpret_cast<char*>(&_impl_.sendertimestamp_)) + sizeof(_impl_.recipienttimestamp_));
// @@protoc_insertion_point(copy_constructor:proto.DeviceListMetadata)
}
-void DeviceListMetadata::SharedCtor() {
-senderkeyhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-recipientkeyhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&sendertimestamp_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&recipienttimestamp_) -
- reinterpret_cast<char*>(&sendertimestamp_)) + sizeof(recipienttimestamp_));
+inline void DeviceListMetadata::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.senderkeyhash_){}
+ , decltype(_impl_.recipientkeyhash_){}
+ , decltype(_impl_.sendertimestamp_){uint64_t{0u}}
+ , decltype(_impl_.recipienttimestamp_){uint64_t{0u}}
+ };
+ _impl_.senderkeyhash_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.senderkeyhash_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.recipientkeyhash_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.recipientkeyhash_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
DeviceListMetadata::~DeviceListMetadata() {
// @@protoc_insertion_point(destructor:proto.DeviceListMetadata)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void DeviceListMetadata::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- senderkeyhash_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- recipientkeyhash_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.senderkeyhash_.Destroy();
+ _impl_.recipientkeyhash_.Destroy();
}
-void DeviceListMetadata::ArenaDtor(void* object) {
- DeviceListMetadata* _this = reinterpret_cast< DeviceListMetadata* >(object);
- (void)_this;
-}
-void DeviceListMetadata::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void DeviceListMetadata::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void DeviceListMetadata::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.DeviceListMetadata)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- senderkeyhash_.ClearNonDefaultToEmpty();
+ _impl_.senderkeyhash_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- recipientkeyhash_.ClearNonDefaultToEmpty();
+ _impl_.recipientkeyhash_.ClearNonDefaultToEmpty();
}
}
if (cached_has_bits & 0x0000000cu) {
- ::memset(&sendertimestamp_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&recipienttimestamp_) -
- reinterpret_cast<char*>(&sendertimestamp_)) + sizeof(recipienttimestamp_));
+ ::memset(&_impl_.sendertimestamp_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.recipienttimestamp_) -
+ reinterpret_cast<char*>(&_impl_.sendertimestamp_)) + sizeof(_impl_.recipienttimestamp_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* DeviceListMetadata::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* DeviceListMetadata::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional bytes senderKeyHash = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_senderkeyhash();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 senderTimestamp = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_sendertimestamp(&has_bits);
- sendertimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.sendertimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes recipientKeyHash = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_recipientkeyhash();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 recipientTimestamp = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
_Internal::set_has_recipienttimestamp(&has_bits);
- recipienttimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.recipienttimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -8351,7 +8557,7 @@ const char* DeviceListMetadata::_InternalParse(const char* ptr, ::PROTOBUF_NAMES
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -8359,13 +8565,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* DeviceListMetadata::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* DeviceListMetadata::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.DeviceListMetadata)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional bytes senderKeyHash = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->WriteBytesMaybeAliased(
@@ -8375,7 +8581,7 @@ failure:
// optional uint64 senderTimestamp = 2;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_sendertimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_sendertimestamp(), target);
}
// optional bytes recipientKeyHash = 8;
@@ -8387,11 +8593,11 @@ failure:
// optional uint64 recipientTimestamp = 9;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(9, this->_internal_recipienttimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_recipienttimestamp(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.DeviceListMetadata)
@@ -8402,11 +8608,11 @@ size_t DeviceListMetadata::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.DeviceListMetadata)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional bytes senderKeyHash = 1;
if (cached_has_bits & 0x00000001u) {
@@ -8424,54 +8630,50 @@ size_t DeviceListMetadata::ByteSizeLong() const {
// optional uint64 senderTimestamp = 2;
if (cached_has_bits & 0x00000004u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_sendertimestamp());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_sendertimestamp());
}
// optional uint64 recipientTimestamp = 9;
if (cached_has_bits & 0x00000008u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_recipienttimestamp());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_recipienttimestamp());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeviceListMetadata::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
DeviceListMetadata::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeviceListMetadata::GetClassData() const { return &_class_data_; }
-void DeviceListMetadata::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<DeviceListMetadata *>(to)->MergeFrom(
- static_cast<const DeviceListMetadata &>(from));
-}
-
-void DeviceListMetadata::MergeFrom(const DeviceListMetadata& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.DeviceListMetadata)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void DeviceListMetadata::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<DeviceListMetadata*>(&to_msg);
+ auto& from = static_cast<const DeviceListMetadata&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.DeviceListMetadata)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_senderkeyhash(from._internal_senderkeyhash());
+ _this->_internal_set_senderkeyhash(from._internal_senderkeyhash());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_recipientkeyhash(from._internal_recipientkeyhash());
+ _this->_internal_set_recipientkeyhash(from._internal_recipientkeyhash());
}
if (cached_has_bits & 0x00000004u) {
- sendertimestamp_ = from.sendertimestamp_;
+ _this->_impl_.sendertimestamp_ = from._impl_.sendertimestamp_;
}
if (cached_has_bits & 0x00000008u) {
- recipienttimestamp_ = from.recipienttimestamp_;
+ _this->_impl_.recipienttimestamp_ = from._impl_.recipienttimestamp_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void DeviceListMetadata::CopyFrom(const DeviceListMetadata& from) {
@@ -8490,27 +8692,25 @@ void DeviceListMetadata::InternalSwap(DeviceListMetadata* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &senderkeyhash_, lhs_arena,
- &other->senderkeyhash_, rhs_arena
+ &_impl_.senderkeyhash_, lhs_arena,
+ &other->_impl_.senderkeyhash_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &recipientkeyhash_, lhs_arena,
- &other->recipientkeyhash_, rhs_arena
+ &_impl_.recipientkeyhash_, lhs_arena,
+ &other->_impl_.recipientkeyhash_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(DeviceListMetadata, recipienttimestamp_)
- + sizeof(DeviceListMetadata::recipienttimestamp_)
- - PROTOBUF_FIELD_OFFSET(DeviceListMetadata, sendertimestamp_)>(
- reinterpret_cast<char*>(&sendertimestamp_),
- reinterpret_cast<char*>(&other->sendertimestamp_));
+ PROTOBUF_FIELD_OFFSET(DeviceListMetadata, _impl_.recipienttimestamp_)
+ + sizeof(DeviceListMetadata::_impl_.recipienttimestamp_)
+ - PROTOBUF_FIELD_OFFSET(DeviceListMetadata, _impl_.sendertimestamp_)>(
+ reinterpret_cast<char*>(&_impl_.sendertimestamp_),
+ reinterpret_cast<char*>(&other->_impl_.sendertimestamp_));
}
::PROTOBUF_NAMESPACE_ID::Metadata DeviceListMetadata::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[12]);
}
@@ -8519,7 +8719,7 @@ void DeviceListMetadata::InternalSwap(DeviceListMetadata* other) {
class MessageContextInfo::_Internal {
public:
- using HasBits = decltype(std::declval<MessageContextInfo>()._has_bits_);
+ using HasBits = decltype(std::declval<MessageContextInfo>()._impl_._has_bits_);
static const ::proto::DeviceListMetadata& devicelistmetadata(const MessageContextInfo* msg);
static void set_has_devicelistmetadata(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -8528,80 +8728,83 @@ class MessageContextInfo::_Internal {
const ::proto::DeviceListMetadata&
MessageContextInfo::_Internal::devicelistmetadata(const MessageContextInfo* msg) {
- return *msg->devicelistmetadata_;
+ return *msg->_impl_.devicelistmetadata_;
}
MessageContextInfo::MessageContextInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.MessageContextInfo)
}
MessageContextInfo::MessageContextInfo(const MessageContextInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ MessageContextInfo* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.devicelistmetadata_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_devicelistmetadata()) {
- devicelistmetadata_ = new ::proto::DeviceListMetadata(*from.devicelistmetadata_);
- } else {
- devicelistmetadata_ = nullptr;
+ _this->_impl_.devicelistmetadata_ = new ::proto::DeviceListMetadata(*from._impl_.devicelistmetadata_);
}
// @@protoc_insertion_point(copy_constructor:proto.MessageContextInfo)
}
-void MessageContextInfo::SharedCtor() {
-devicelistmetadata_ = nullptr;
+inline void MessageContextInfo::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.devicelistmetadata_){nullptr}
+ };
}
MessageContextInfo::~MessageContextInfo() {
// @@protoc_insertion_point(destructor:proto.MessageContextInfo)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void MessageContextInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete devicelistmetadata_;
+ if (this != internal_default_instance()) delete _impl_.devicelistmetadata_;
}
-void MessageContextInfo::ArenaDtor(void* object) {
- MessageContextInfo* _this = reinterpret_cast< MessageContextInfo* >(object);
- (void)_this;
-}
-void MessageContextInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void MessageContextInfo::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void MessageContextInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.MessageContextInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(devicelistmetadata_ != nullptr);
- devicelistmetadata_->Clear();
+ GOOGLE_DCHECK(_impl_.devicelistmetadata_ != nullptr);
+ _impl_.devicelistmetadata_->Clear();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* MessageContextInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* MessageContextInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.DeviceListMetadata deviceListMetadata = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_devicelistmetadata(), ptr);
CHK_(ptr);
} else
@@ -8623,7 +8826,7 @@ const char* MessageContextInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMES
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -8631,23 +8834,22 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* MessageContextInfo::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* MessageContextInfo::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.MessageContextInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.DeviceListMetadata deviceListMetadata = 1;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::devicelistmetadata(this), target, stream);
+ InternalWriteMessage(1, _Internal::devicelistmetadata(this),
+ _Internal::devicelistmetadata(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.MessageContextInfo)
@@ -8658,44 +8860,41 @@ size_t MessageContextInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.MessageContextInfo)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional .proto.DeviceListMetadata deviceListMetadata = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *devicelistmetadata_);
+ *_impl_.devicelistmetadata_);
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MessageContextInfo::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
MessageContextInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MessageContextInfo::GetClassData() const { return &_class_data_; }
-void MessageContextInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<MessageContextInfo *>(to)->MergeFrom(
- static_cast<const MessageContextInfo &>(from));
-}
-
-void MessageContextInfo::MergeFrom(const MessageContextInfo& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.MessageContextInfo)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void MessageContextInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<MessageContextInfo*>(&to_msg);
+ auto& from = static_cast<const MessageContextInfo&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.MessageContextInfo)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_devicelistmetadata()) {
- _internal_mutable_devicelistmetadata()->::proto::DeviceListMetadata::MergeFrom(from._internal_devicelistmetadata());
+ _this->_internal_mutable_devicelistmetadata()->::proto::DeviceListMetadata::MergeFrom(
+ from._internal_devicelistmetadata());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void MessageContextInfo::CopyFrom(const MessageContextInfo& from) {
@@ -8712,12 +8911,12 @@ bool MessageContextInfo::IsInitialized() const {
void MessageContextInfo::InternalSwap(MessageContextInfo* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(devicelistmetadata_, other->devicelistmetadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.devicelistmetadata_, other->_impl_.devicelistmetadata_);
}
::PROTOBUF_NAMESPACE_ID::Metadata MessageContextInfo::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[13]);
}
@@ -8726,7 +8925,7 @@ void MessageContextInfo::InternalSwap(MessageContextInfo* other) {
class AdReplyInfo::_Internal {
public:
- using HasBits = decltype(std::declval<AdReplyInfo>()._has_bits_);
+ using HasBits = decltype(std::declval<AdReplyInfo>()._impl_._has_bits_);
static void set_has_advertisername(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -8744,112 +8943,141 @@ class AdReplyInfo::_Internal {
AdReplyInfo::AdReplyInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AdReplyInfo)
}
AdReplyInfo::AdReplyInfo(const AdReplyInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AdReplyInfo* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.advertisername_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.mediatype_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- advertisername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.advertisername_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.advertisername_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_advertisername()) {
- advertisername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_advertisername(),
- GetArenaForAllocation());
+ _this->_impl_.advertisername_.Set(from._internal_advertisername(),
+ _this->GetArenaForAllocation());
}
- jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_jpegthumbnail()) {
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_jpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.jpegthumbnail_.Set(from._internal_jpegthumbnail(),
+ _this->GetArenaForAllocation());
}
- caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_caption()) {
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_caption(),
- GetArenaForAllocation());
+ _this->_impl_.caption_.Set(from._internal_caption(),
+ _this->GetArenaForAllocation());
}
- mediatype_ = from.mediatype_;
+ _this->_impl_.mediatype_ = from._impl_.mediatype_;
// @@protoc_insertion_point(copy_constructor:proto.AdReplyInfo)
}
-void AdReplyInfo::SharedCtor() {
-advertisername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediatype_ = 0;
+inline void AdReplyInfo::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.advertisername_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.mediatype_){0}
+ };
+ _impl_.advertisername_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.advertisername_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
AdReplyInfo::~AdReplyInfo() {
// @@protoc_insertion_point(destructor:proto.AdReplyInfo)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AdReplyInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- advertisername_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- jpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- caption_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.advertisername_.Destroy();
+ _impl_.jpegthumbnail_.Destroy();
+ _impl_.caption_.Destroy();
}
-void AdReplyInfo::ArenaDtor(void* object) {
- AdReplyInfo* _this = reinterpret_cast< AdReplyInfo* >(object);
- (void)_this;
-}
-void AdReplyInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AdReplyInfo::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AdReplyInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AdReplyInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- advertisername_.ClearNonDefaultToEmpty();
+ _impl_.advertisername_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- jpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.jpegthumbnail_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- caption_.ClearNonDefaultToEmpty();
+ _impl_.caption_.ClearNonDefaultToEmpty();
}
}
- mediatype_ = 0;
- _has_bits_.Clear();
+ _impl_.mediatype_ = 0;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AdReplyInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AdReplyInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string advertiserName = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_advertisername();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.AdReplyInfo.advertiserName");
+ ::_pbi::VerifyUTF8(str, "proto.AdReplyInfo.advertiserName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.AdReplyInfo.AdReplyInfoMediaType mediaType = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::AdReplyInfo_AdReplyInfoMediaType_IsValid(val))) {
_internal_set_mediatype(static_cast<::proto::AdReplyInfo_AdReplyInfoMediaType>(val));
@@ -8861,22 +9089,22 @@ const char* AdReplyInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional bytes jpegThumbnail = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_jpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string caption = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
auto str = _internal_mutable_caption();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.AdReplyInfo.caption");
+ ::_pbi::VerifyUTF8(str, "proto.AdReplyInfo.caption");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -8896,7 +9124,7 @@ const char* AdReplyInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -8904,13 +9132,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AdReplyInfo::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AdReplyInfo::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AdReplyInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string advertiserName = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -8924,7 +9152,7 @@ failure:
// optional .proto.AdReplyInfo.AdReplyInfoMediaType mediaType = 2;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
2, this->_internal_mediatype(), target);
}
@@ -8945,7 +9173,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AdReplyInfo)
@@ -8956,11 +9184,11 @@ size_t AdReplyInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AdReplyInfo)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string advertiserName = 1;
if (cached_has_bits & 0x00000001u) {
@@ -8986,49 +9214,45 @@ size_t AdReplyInfo::ByteSizeLong() const {
// optional .proto.AdReplyInfo.AdReplyInfoMediaType mediaType = 2;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_mediatype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_mediatype());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AdReplyInfo::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AdReplyInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AdReplyInfo::GetClassData() const { return &_class_data_; }
-void AdReplyInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AdReplyInfo *>(to)->MergeFrom(
- static_cast<const AdReplyInfo &>(from));
-}
-
-void AdReplyInfo::MergeFrom(const AdReplyInfo& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AdReplyInfo)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AdReplyInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AdReplyInfo*>(&to_msg);
+ auto& from = static_cast<const AdReplyInfo&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AdReplyInfo)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_advertisername(from._internal_advertisername());
+ _this->_internal_set_advertisername(from._internal_advertisername());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_jpegthumbnail(from._internal_jpegthumbnail());
+ _this->_internal_set_jpegthumbnail(from._internal_jpegthumbnail());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_caption(from._internal_caption());
+ _this->_internal_set_caption(from._internal_caption());
}
if (cached_has_bits & 0x00000008u) {
- mediatype_ = from.mediatype_;
+ _this->_impl_.mediatype_ = from._impl_.mediatype_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AdReplyInfo::CopyFrom(const AdReplyInfo& from) {
@@ -9047,27 +9271,24 @@ void AdReplyInfo::InternalSwap(AdReplyInfo* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &advertisername_, lhs_arena,
- &other->advertisername_, rhs_arena
+ &_impl_.advertisername_, lhs_arena,
+ &other->_impl_.advertisername_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &jpegthumbnail_, lhs_arena,
- &other->jpegthumbnail_, rhs_arena
+ &_impl_.jpegthumbnail_, lhs_arena,
+ &other->_impl_.jpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &caption_, lhs_arena,
- &other->caption_, rhs_arena
+ &_impl_.caption_, lhs_arena,
+ &other->_impl_.caption_, rhs_arena
);
- swap(mediatype_, other->mediatype_);
+ swap(_impl_.mediatype_, other->_impl_.mediatype_);
}
::PROTOBUF_NAMESPACE_ID::Metadata AdReplyInfo::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[14]);
}
@@ -9076,7 +9297,7 @@ void AdReplyInfo::InternalSwap(AdReplyInfo* other) {
class ExternalAdReplyInfo::_Internal {
public:
- using HasBits = decltype(std::declval<ExternalAdReplyInfo>()._has_bits_);
+ using HasBits = decltype(std::declval<ExternalAdReplyInfo>()._impl_._has_bits_);
static void set_has_title(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -9109,174 +9330,243 @@ class ExternalAdReplyInfo::_Internal {
ExternalAdReplyInfo::ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ExternalAdReplyInfo)
}
ExternalAdReplyInfo::ExternalAdReplyInfo(const ExternalAdReplyInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ExternalAdReplyInfo* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.body_){}
+ , decltype(_impl_.thumbnailurl_){}
+ , decltype(_impl_.mediaurl_){}
+ , decltype(_impl_.thumbnail_){}
+ , decltype(_impl_.sourcetype_){}
+ , decltype(_impl_.sourceid_){}
+ , decltype(_impl_.sourceurl_){}
+ , decltype(_impl_.mediatype_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
- body_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.body_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.body_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_body()) {
- body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_body(),
- GetArenaForAllocation());
+ _this->_impl_.body_.Set(from._internal_body(),
+ _this->GetArenaForAllocation());
}
- thumbnailurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnailurl_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailurl_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnailurl()) {
- thumbnailurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnailurl(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnailurl_.Set(from._internal_thumbnailurl(),
+ _this->GetArenaForAllocation());
}
- mediaurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mediaurl_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediaurl_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mediaurl()) {
- mediaurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mediaurl(),
- GetArenaForAllocation());
+ _this->_impl_.mediaurl_.Set(from._internal_mediaurl(),
+ _this->GetArenaForAllocation());
}
- thumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnail()) {
- thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnail_.Set(from._internal_thumbnail(),
+ _this->GetArenaForAllocation());
}
- sourcetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.sourcetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourcetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_sourcetype()) {
- sourcetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_sourcetype(),
- GetArenaForAllocation());
+ _this->_impl_.sourcetype_.Set(from._internal_sourcetype(),
+ _this->GetArenaForAllocation());
}
- sourceid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.sourceid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourceid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_sourceid()) {
- sourceid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_sourceid(),
- GetArenaForAllocation());
+ _this->_impl_.sourceid_.Set(from._internal_sourceid(),
+ _this->GetArenaForAllocation());
}
- sourceurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.sourceurl_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourceurl_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_sourceurl()) {
- sourceurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_sourceurl(),
- GetArenaForAllocation());
+ _this->_impl_.sourceurl_.Set(from._internal_sourceurl(),
+ _this->GetArenaForAllocation());
}
- mediatype_ = from.mediatype_;
+ _this->_impl_.mediatype_ = from._impl_.mediatype_;
// @@protoc_insertion_point(copy_constructor:proto.ExternalAdReplyInfo)
}
-void ExternalAdReplyInfo::SharedCtor() {
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-body_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnailurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediaurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-sourcetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-sourceid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-sourceurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediatype_ = 0;
+inline void ExternalAdReplyInfo::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.body_){}
+ , decltype(_impl_.thumbnailurl_){}
+ , decltype(_impl_.mediaurl_){}
+ , decltype(_impl_.thumbnail_){}
+ , decltype(_impl_.sourcetype_){}
+ , decltype(_impl_.sourceid_){}
+ , decltype(_impl_.sourceurl_){}
+ , decltype(_impl_.mediatype_){0}
+ };
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.body_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.body_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailurl_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailurl_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediaurl_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediaurl_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourcetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourcetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourceid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourceid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourceurl_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sourceurl_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ExternalAdReplyInfo::~ExternalAdReplyInfo() {
// @@protoc_insertion_point(destructor:proto.ExternalAdReplyInfo)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ExternalAdReplyInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- body_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnailurl_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mediaurl_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sourcetype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sourceid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sourceurl_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.Destroy();
+ _impl_.body_.Destroy();
+ _impl_.thumbnailurl_.Destroy();
+ _impl_.mediaurl_.Destroy();
+ _impl_.thumbnail_.Destroy();
+ _impl_.sourcetype_.Destroy();
+ _impl_.sourceid_.Destroy();
+ _impl_.sourceurl_.Destroy();
}
-void ExternalAdReplyInfo::ArenaDtor(void* object) {
- ExternalAdReplyInfo* _this = reinterpret_cast< ExternalAdReplyInfo* >(object);
- (void)_this;
-}
-void ExternalAdReplyInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ExternalAdReplyInfo::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ExternalAdReplyInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ExternalAdReplyInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- body_.ClearNonDefaultToEmpty();
+ _impl_.body_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- thumbnailurl_.ClearNonDefaultToEmpty();
+ _impl_.thumbnailurl_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- mediaurl_.ClearNonDefaultToEmpty();
+ _impl_.mediaurl_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- thumbnail_.ClearNonDefaultToEmpty();
+ _impl_.thumbnail_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- sourcetype_.ClearNonDefaultToEmpty();
+ _impl_.sourcetype_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- sourceid_.ClearNonDefaultToEmpty();
+ _impl_.sourceid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- sourceurl_.ClearNonDefaultToEmpty();
+ _impl_.sourceurl_.ClearNonDefaultToEmpty();
}
}
- mediatype_ = 0;
- _has_bits_.Clear();
+ _impl_.mediatype_ = 0;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ExternalAdReplyInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ExternalAdReplyInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string title = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExternalAdReplyInfo.title");
+ ::_pbi::VerifyUTF8(str, "proto.ExternalAdReplyInfo.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string body = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_body();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExternalAdReplyInfo.body");
+ ::_pbi::VerifyUTF8(str, "proto.ExternalAdReplyInfo.body");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ExternalAdReplyInfo.ExternalAdReplyInfoMediaType mediaType = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType_IsValid(val))) {
_internal_set_mediatype(static_cast<::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType>(val));
@@ -9288,70 +9578,70 @@ const char* ExternalAdReplyInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAME
continue;
// optional string thumbnailUrl = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_thumbnailurl();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExternalAdReplyInfo.thumbnailUrl");
+ ::_pbi::VerifyUTF8(str, "proto.ExternalAdReplyInfo.thumbnailUrl");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string mediaUrl = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_mediaurl();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExternalAdReplyInfo.mediaUrl");
+ ::_pbi::VerifyUTF8(str, "proto.ExternalAdReplyInfo.mediaUrl");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes thumbnail = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
auto str = _internal_mutable_thumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string sourceType = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_sourcetype();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExternalAdReplyInfo.sourceType");
+ ::_pbi::VerifyUTF8(str, "proto.ExternalAdReplyInfo.sourceType");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string sourceId = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_sourceid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExternalAdReplyInfo.sourceId");
+ ::_pbi::VerifyUTF8(str, "proto.ExternalAdReplyInfo.sourceId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string sourceUrl = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
auto str = _internal_mutable_sourceurl();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExternalAdReplyInfo.sourceUrl");
+ ::_pbi::VerifyUTF8(str, "proto.ExternalAdReplyInfo.sourceUrl");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -9371,7 +9661,7 @@ const char* ExternalAdReplyInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAME
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -9379,13 +9669,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ExternalAdReplyInfo::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ExternalAdReplyInfo::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ExternalAdReplyInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -9409,7 +9699,7 @@ failure:
// optional .proto.ExternalAdReplyInfo.ExternalAdReplyInfoMediaType mediaType = 3;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
3, this->_internal_mediatype(), target);
}
@@ -9470,7 +9760,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ExternalAdReplyInfo)
@@ -9481,11 +9771,11 @@ size_t ExternalAdReplyInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ExternalAdReplyInfo)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
@@ -9547,62 +9837,58 @@ size_t ExternalAdReplyInfo::ByteSizeLong() const {
// optional .proto.ExternalAdReplyInfo.ExternalAdReplyInfoMediaType mediaType = 3;
if (cached_has_bits & 0x00000100u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_mediatype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_mediatype());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExternalAdReplyInfo::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ExternalAdReplyInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExternalAdReplyInfo::GetClassData() const { return &_class_data_; }
-void ExternalAdReplyInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ExternalAdReplyInfo *>(to)->MergeFrom(
- static_cast<const ExternalAdReplyInfo &>(from));
-}
-
-void ExternalAdReplyInfo::MergeFrom(const ExternalAdReplyInfo& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ExternalAdReplyInfo)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ExternalAdReplyInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ExternalAdReplyInfo*>(&to_msg);
+ auto& from = static_cast<const ExternalAdReplyInfo&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ExternalAdReplyInfo)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_body(from._internal_body());
+ _this->_internal_set_body(from._internal_body());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_thumbnailurl(from._internal_thumbnailurl());
+ _this->_internal_set_thumbnailurl(from._internal_thumbnailurl());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_mediaurl(from._internal_mediaurl());
+ _this->_internal_set_mediaurl(from._internal_mediaurl());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_thumbnail(from._internal_thumbnail());
+ _this->_internal_set_thumbnail(from._internal_thumbnail());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_sourcetype(from._internal_sourcetype());
+ _this->_internal_set_sourcetype(from._internal_sourcetype());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_sourceid(from._internal_sourceid());
+ _this->_internal_set_sourceid(from._internal_sourceid());
}
if (cached_has_bits & 0x00000080u) {
- _internal_set_sourceurl(from._internal_sourceurl());
+ _this->_internal_set_sourceurl(from._internal_sourceurl());
}
}
if (cached_has_bits & 0x00000100u) {
- _internal_set_mediatype(from._internal_mediatype());
+ _this->_internal_set_mediatype(from._internal_mediatype());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ExternalAdReplyInfo::CopyFrom(const ExternalAdReplyInfo& from) {
@@ -9621,52 +9907,44 @@ void ExternalAdReplyInfo::InternalSwap(ExternalAdReplyInfo* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &body_, lhs_arena,
- &other->body_, rhs_arena
+ &_impl_.body_, lhs_arena,
+ &other->_impl_.body_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnailurl_, lhs_arena,
- &other->thumbnailurl_, rhs_arena
+ &_impl_.thumbnailurl_, lhs_arena,
+ &other->_impl_.thumbnailurl_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mediaurl_, lhs_arena,
- &other->mediaurl_, rhs_arena
+ &_impl_.mediaurl_, lhs_arena,
+ &other->_impl_.mediaurl_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnail_, lhs_arena,
- &other->thumbnail_, rhs_arena
+ &_impl_.thumbnail_, lhs_arena,
+ &other->_impl_.thumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &sourcetype_, lhs_arena,
- &other->sourcetype_, rhs_arena
+ &_impl_.sourcetype_, lhs_arena,
+ &other->_impl_.sourcetype_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &sourceid_, lhs_arena,
- &other->sourceid_, rhs_arena
+ &_impl_.sourceid_, lhs_arena,
+ &other->_impl_.sourceid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &sourceurl_, lhs_arena,
- &other->sourceurl_, rhs_arena
+ &_impl_.sourceurl_, lhs_arena,
+ &other->_impl_.sourceurl_, rhs_arena
);
- swap(mediatype_, other->mediatype_);
+ swap(_impl_.mediatype_, other->_impl_.mediatype_);
}
::PROTOBUF_NAMESPACE_ID::Metadata ExternalAdReplyInfo::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[15]);
}
@@ -9675,7 +9953,7 @@ void ExternalAdReplyInfo::InternalSwap(ExternalAdReplyInfo* other) {
class ContextInfo::_Internal {
public:
- using HasBits = decltype(std::declval<ContextInfo>()._has_bits_);
+ using HasBits = decltype(std::declval<ContextInfo>()._impl_._has_bits_);
static void set_has_stanzaid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -9729,224 +10007,283 @@ class ContextInfo::_Internal {
const ::proto::Message&
ContextInfo::_Internal::quotedmessage(const ContextInfo* msg) {
- return *msg->quotedmessage_;
+ return *msg->_impl_.quotedmessage_;
}
const ::proto::AdReplyInfo&
ContextInfo::_Internal::quotedad(const ContextInfo* msg) {
- return *msg->quotedad_;
+ return *msg->_impl_.quotedad_;
}
const ::proto::MessageKey&
ContextInfo::_Internal::placeholderkey(const ContextInfo* msg) {
- return *msg->placeholderkey_;
+ return *msg->_impl_.placeholderkey_;
}
const ::proto::ExternalAdReplyInfo&
ContextInfo::_Internal::externaladreply(const ContextInfo* msg) {
- return *msg->externaladreply_;
+ return *msg->_impl_.externaladreply_;
}
ContextInfo::ContextInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- mentionedjid_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ContextInfo)
}
ContextInfo::ContextInfo(const ContextInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- mentionedjid_(from.mentionedjid_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ContextInfo* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.mentionedjid_){from._impl_.mentionedjid_}
+ , decltype(_impl_.stanzaid_){}
+ , decltype(_impl_.participant_){}
+ , decltype(_impl_.remotejid_){}
+ , decltype(_impl_.conversionsource_){}
+ , decltype(_impl_.conversiondata_){}
+ , decltype(_impl_.ephemeralsharedsecret_){}
+ , decltype(_impl_.quotedmessage_){nullptr}
+ , decltype(_impl_.quotedad_){nullptr}
+ , decltype(_impl_.placeholderkey_){nullptr}
+ , decltype(_impl_.externaladreply_){nullptr}
+ , decltype(_impl_.conversiondelayseconds_){}
+ , decltype(_impl_.forwardingscore_){}
+ , decltype(_impl_.isforwarded_){}
+ , decltype(_impl_.expiration_){}
+ , decltype(_impl_.ephemeralsettingtimestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- stanzaid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.stanzaid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.stanzaid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_stanzaid()) {
- stanzaid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stanzaid(),
- GetArenaForAllocation());
+ _this->_impl_.stanzaid_.Set(from._internal_stanzaid(),
+ _this->GetArenaForAllocation());
}
- participant_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.participant_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_participant()) {
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_participant(),
- GetArenaForAllocation());
+ _this->_impl_.participant_.Set(from._internal_participant(),
+ _this->GetArenaForAllocation());
}
- remotejid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.remotejid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.remotejid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_remotejid()) {
- remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_remotejid(),
- GetArenaForAllocation());
+ _this->_impl_.remotejid_.Set(from._internal_remotejid(),
+ _this->GetArenaForAllocation());
}
- conversionsource_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.conversionsource_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.conversionsource_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_conversionsource()) {
- conversionsource_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_conversionsource(),
- GetArenaForAllocation());
+ _this->_impl_.conversionsource_.Set(from._internal_conversionsource(),
+ _this->GetArenaForAllocation());
}
- conversiondata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.conversiondata_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.conversiondata_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_conversiondata()) {
- conversiondata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_conversiondata(),
- GetArenaForAllocation());
+ _this->_impl_.conversiondata_.Set(from._internal_conversiondata(),
+ _this->GetArenaForAllocation());
}
- ephemeralsharedsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.ephemeralsharedsecret_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.ephemeralsharedsecret_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_ephemeralsharedsecret()) {
- ephemeralsharedsecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_ephemeralsharedsecret(),
- GetArenaForAllocation());
+ _this->_impl_.ephemeralsharedsecret_.Set(from._internal_ephemeralsharedsecret(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_quotedmessage()) {
- quotedmessage_ = new ::proto::Message(*from.quotedmessage_);
- } else {
- quotedmessage_ = nullptr;
+ _this->_impl_.quotedmessage_ = new ::proto::Message(*from._impl_.quotedmessage_);
}
if (from._internal_has_quotedad()) {
- quotedad_ = new ::proto::AdReplyInfo(*from.quotedad_);
- } else {
- quotedad_ = nullptr;
+ _this->_impl_.quotedad_ = new ::proto::AdReplyInfo(*from._impl_.quotedad_);
}
if (from._internal_has_placeholderkey()) {
- placeholderkey_ = new ::proto::MessageKey(*from.placeholderkey_);
- } else {
- placeholderkey_ = nullptr;
+ _this->_impl_.placeholderkey_ = new ::proto::MessageKey(*from._impl_.placeholderkey_);
}
if (from._internal_has_externaladreply()) {
- externaladreply_ = new ::proto::ExternalAdReplyInfo(*from.externaladreply_);
- } else {
- externaladreply_ = nullptr;
+ _this->_impl_.externaladreply_ = new ::proto::ExternalAdReplyInfo(*from._impl_.externaladreply_);
}
- ::memcpy(&conversiondelayseconds_, &from.conversiondelayseconds_,
- static_cast<size_t>(reinterpret_cast<char*>(&ephemeralsettingtimestamp_) -
- reinterpret_cast<char*>(&conversiondelayseconds_)) + sizeof(ephemeralsettingtimestamp_));
+ ::memcpy(&_impl_.conversiondelayseconds_, &from._impl_.conversiondelayseconds_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ephemeralsettingtimestamp_) -
+ reinterpret_cast<char*>(&_impl_.conversiondelayseconds_)) + sizeof(_impl_.ephemeralsettingtimestamp_));
// @@protoc_insertion_point(copy_constructor:proto.ContextInfo)
}
-void ContextInfo::SharedCtor() {
-stanzaid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-participant_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-remotejid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-conversionsource_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-conversiondata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-ephemeralsharedsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&quotedmessage_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&ephemeralsettingtimestamp_) -
- reinterpret_cast<char*>(&quotedmessage_)) + sizeof(ephemeralsettingtimestamp_));
+inline void ContextInfo::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.mentionedjid_){arena}
+ , decltype(_impl_.stanzaid_){}
+ , decltype(_impl_.participant_){}
+ , decltype(_impl_.remotejid_){}
+ , decltype(_impl_.conversionsource_){}
+ , decltype(_impl_.conversiondata_){}
+ , decltype(_impl_.ephemeralsharedsecret_){}
+ , decltype(_impl_.quotedmessage_){nullptr}
+ , decltype(_impl_.quotedad_){nullptr}
+ , decltype(_impl_.placeholderkey_){nullptr}
+ , decltype(_impl_.externaladreply_){nullptr}
+ , decltype(_impl_.conversiondelayseconds_){0u}
+ , decltype(_impl_.forwardingscore_){0u}
+ , decltype(_impl_.isforwarded_){false}
+ , decltype(_impl_.expiration_){0u}
+ , decltype(_impl_.ephemeralsettingtimestamp_){int64_t{0}}
+ };
+ _impl_.stanzaid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.stanzaid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.remotejid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.remotejid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.conversionsource_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.conversionsource_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.conversiondata_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.conversiondata_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.ephemeralsharedsecret_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.ephemeralsharedsecret_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ContextInfo::~ContextInfo() {
// @@protoc_insertion_point(destructor:proto.ContextInfo)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ContextInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- stanzaid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- participant_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- remotejid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- conversionsource_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- conversiondata_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ephemeralsharedsecret_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete quotedmessage_;
- if (this != internal_default_instance()) delete quotedad_;
- if (this != internal_default_instance()) delete placeholderkey_;
- if (this != internal_default_instance()) delete externaladreply_;
+ _impl_.mentionedjid_.~RepeatedPtrField();
+ _impl_.stanzaid_.Destroy();
+ _impl_.participant_.Destroy();
+ _impl_.remotejid_.Destroy();
+ _impl_.conversionsource_.Destroy();
+ _impl_.conversiondata_.Destroy();
+ _impl_.ephemeralsharedsecret_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.quotedmessage_;
+ if (this != internal_default_instance()) delete _impl_.quotedad_;
+ if (this != internal_default_instance()) delete _impl_.placeholderkey_;
+ if (this != internal_default_instance()) delete _impl_.externaladreply_;
}
-void ContextInfo::ArenaDtor(void* object) {
- ContextInfo* _this = reinterpret_cast< ContextInfo* >(object);
- (void)_this;
-}
-void ContextInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ContextInfo::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ContextInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ContextInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- mentionedjid_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.mentionedjid_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- stanzaid_.ClearNonDefaultToEmpty();
+ _impl_.stanzaid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- participant_.ClearNonDefaultToEmpty();
+ _impl_.participant_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- remotejid_.ClearNonDefaultToEmpty();
+ _impl_.remotejid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- conversionsource_.ClearNonDefaultToEmpty();
+ _impl_.conversionsource_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- conversiondata_.ClearNonDefaultToEmpty();
+ _impl_.conversiondata_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- ephemeralsharedsecret_.ClearNonDefaultToEmpty();
+ _impl_.ephemeralsharedsecret_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- GOOGLE_DCHECK(quotedmessage_ != nullptr);
- quotedmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.quotedmessage_ != nullptr);
+ _impl_.quotedmessage_->Clear();
}
if (cached_has_bits & 0x00000080u) {
- GOOGLE_DCHECK(quotedad_ != nullptr);
- quotedad_->Clear();
+ GOOGLE_DCHECK(_impl_.quotedad_ != nullptr);
+ _impl_.quotedad_->Clear();
}
}
if (cached_has_bits & 0x00000300u) {
if (cached_has_bits & 0x00000100u) {
- GOOGLE_DCHECK(placeholderkey_ != nullptr);
- placeholderkey_->Clear();
+ GOOGLE_DCHECK(_impl_.placeholderkey_ != nullptr);
+ _impl_.placeholderkey_->Clear();
}
if (cached_has_bits & 0x00000200u) {
- GOOGLE_DCHECK(externaladreply_ != nullptr);
- externaladreply_->Clear();
+ GOOGLE_DCHECK(_impl_.externaladreply_ != nullptr);
+ _impl_.externaladreply_->Clear();
}
}
if (cached_has_bits & 0x00007c00u) {
- ::memset(&conversiondelayseconds_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&ephemeralsettingtimestamp_) -
- reinterpret_cast<char*>(&conversiondelayseconds_)) + sizeof(ephemeralsettingtimestamp_));
+ ::memset(&_impl_.conversiondelayseconds_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.ephemeralsettingtimestamp_) -
+ reinterpret_cast<char*>(&_impl_.conversiondelayseconds_)) + sizeof(_impl_.ephemeralsettingtimestamp_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ContextInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ContextInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string stanzaId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_stanzaid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ContextInfo.stanzaId");
+ ::_pbi::VerifyUTF8(str, "proto.ContextInfo.stanzaId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string participant = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_participant();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ContextInfo.participant");
+ ::_pbi::VerifyUTF8(str, "proto.ContextInfo.participant");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.Message quotedMessage = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_quotedmessage(), ptr);
CHK_(ptr);
} else
@@ -9954,28 +10291,28 @@ const char* ContextInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional string remoteJid = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_remotejid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ContextInfo.remoteJid");
+ ::_pbi::VerifyUTF8(str, "proto.ContextInfo.remoteJid");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated string mentionedJid = 15;
case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) {
ptr -= 1;
do {
ptr += 1;
auto str = _internal_add_mentionedjid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ContextInfo.mentionedJid");
+ ::_pbi::VerifyUTF8(str, "proto.ContextInfo.mentionedJid");
#endif // !NDEBUG
- CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<122>(ptr));
} else
@@ -9983,55 +10320,55 @@ const char* ContextInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional string conversionSource = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) {
auto str = _internal_mutable_conversionsource();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ContextInfo.conversionSource");
+ ::_pbi::VerifyUTF8(str, "proto.ContextInfo.conversionSource");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes conversionData = 19;
case 19:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 154)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 154)) {
auto str = _internal_mutable_conversiondata();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 conversionDelaySeconds = 20;
case 20:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 160)) {
_Internal::set_has_conversiondelayseconds(&has_bits);
- conversiondelayseconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.conversiondelayseconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 forwardingScore = 21;
case 21:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 168)) {
_Internal::set_has_forwardingscore(&has_bits);
- forwardingscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.forwardingscore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool isForwarded = 22;
case 22:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 176)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 176)) {
_Internal::set_has_isforwarded(&has_bits);
- isforwarded_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.isforwarded_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.AdReplyInfo quotedAd = 23;
case 23:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 186)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 186)) {
ptr = ctx->ParseMessage(_internal_mutable_quotedad(), ptr);
CHK_(ptr);
} else
@@ -10039,7 +10376,7 @@ const char* ContextInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.MessageKey placeholderKey = 24;
case 24:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 194)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 194)) {
ptr = ctx->ParseMessage(_internal_mutable_placeholderkey(), ptr);
CHK_(ptr);
} else
@@ -10047,34 +10384,34 @@ const char* ContextInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional uint32 expiration = 25;
case 25:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 200)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 200)) {
_Internal::set_has_expiration(&has_bits);
- expiration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.expiration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 ephemeralSettingTimestamp = 26;
case 26:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 208)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 208)) {
_Internal::set_has_ephemeralsettingtimestamp(&has_bits);
- ephemeralsettingtimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ephemeralsettingtimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes ephemeralSharedSecret = 27;
case 27:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 218)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 218)) {
auto str = _internal_mutable_ephemeralsharedsecret();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ExternalAdReplyInfo externalAdReply = 28;
case 28:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 226)) {
ptr = ctx->ParseMessage(_internal_mutable_externaladreply(), ptr);
CHK_(ptr);
} else
@@ -10096,7 +10433,7 @@ const char* ContextInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -10104,13 +10441,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ContextInfo::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ContextInfo::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ContextInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string stanzaId = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -10133,10 +10470,9 @@ failure:
// optional .proto.Message quotedMessage = 3;
if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::quotedmessage(this), target, stream);
+ InternalWriteMessage(3, _Internal::quotedmessage(this),
+ _Internal::quotedmessage(this).GetCachedSize(), target, stream);
}
// optional string remoteJid = 4;
@@ -10178,47 +10514,45 @@ failure:
// optional uint32 conversionDelaySeconds = 20;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(20, this->_internal_conversiondelayseconds(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_conversiondelayseconds(), target);
}
// optional uint32 forwardingScore = 21;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(21, this->_internal_forwardingscore(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_forwardingscore(), target);
}
// optional bool isForwarded = 22;
if (cached_has_bits & 0x00001000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(22, this->_internal_isforwarded(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(22, this->_internal_isforwarded(), target);
}
// optional .proto.AdReplyInfo quotedAd = 23;
if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 23, _Internal::quotedad(this), target, stream);
+ InternalWriteMessage(23, _Internal::quotedad(this),
+ _Internal::quotedad(this).GetCachedSize(), target, stream);
}
// optional .proto.MessageKey placeholderKey = 24;
if (cached_has_bits & 0x00000100u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 24, _Internal::placeholderkey(this), target, stream);
+ InternalWriteMessage(24, _Internal::placeholderkey(this),
+ _Internal::placeholderkey(this).GetCachedSize(), target, stream);
}
// optional uint32 expiration = 25;
if (cached_has_bits & 0x00002000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(25, this->_internal_expiration(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(25, this->_internal_expiration(), target);
}
// optional int64 ephemeralSettingTimestamp = 26;
if (cached_has_bits & 0x00004000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(26, this->_internal_ephemeralsettingtimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(26, this->_internal_ephemeralsettingtimestamp(), target);
}
// optional bytes ephemeralSharedSecret = 27;
@@ -10229,14 +10563,13 @@ failure:
// optional .proto.ExternalAdReplyInfo externalAdReply = 28;
if (cached_has_bits & 0x00000200u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 28, _Internal::externaladreply(this), target, stream);
+ InternalWriteMessage(28, _Internal::externaladreply(this),
+ _Internal::externaladreply(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ContextInfo)
@@ -10247,19 +10580,19 @@ size_t ContextInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ContextInfo)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated string mentionedJid = 15;
total_size += 1 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(mentionedjid_.size());
- for (int i = 0, n = mentionedjid_.size(); i < n; i++) {
+ ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.mentionedjid_.size());
+ for (int i = 0, n = _impl_.mentionedjid_.size(); i < n; i++) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- mentionedjid_.Get(i));
+ _impl_.mentionedjid_.Get(i));
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string stanzaId = 1;
if (cached_has_bits & 0x00000001u) {
@@ -10307,14 +10640,14 @@ size_t ContextInfo::ByteSizeLong() const {
if (cached_has_bits & 0x00000040u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *quotedmessage_);
+ *_impl_.quotedmessage_);
}
// optional .proto.AdReplyInfo quotedAd = 23;
if (cached_has_bits & 0x00000080u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *quotedad_);
+ *_impl_.quotedad_);
}
}
@@ -10323,27 +10656,27 @@ size_t ContextInfo::ByteSizeLong() const {
if (cached_has_bits & 0x00000100u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *placeholderkey_);
+ *_impl_.placeholderkey_);
}
// optional .proto.ExternalAdReplyInfo externalAdReply = 28;
if (cached_has_bits & 0x00000200u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *externaladreply_);
+ *_impl_.externaladreply_);
}
// optional uint32 conversionDelaySeconds = 20;
if (cached_has_bits & 0x00000400u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_conversiondelayseconds());
}
// optional uint32 forwardingScore = 21;
if (cached_has_bits & 0x00000800u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_forwardingscore());
}
@@ -10355,93 +10688,93 @@ size_t ContextInfo::ByteSizeLong() const {
// optional uint32 expiration = 25;
if (cached_has_bits & 0x00002000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_expiration());
}
// optional int64 ephemeralSettingTimestamp = 26;
if (cached_has_bits & 0x00004000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
+ ::_pbi::WireFormatLite::Int64Size(
this->_internal_ephemeralsettingtimestamp());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContextInfo::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ContextInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContextInfo::GetClassData() const { return &_class_data_; }
-void ContextInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ContextInfo *>(to)->MergeFrom(
- static_cast<const ContextInfo &>(from));
-}
-
-void ContextInfo::MergeFrom(const ContextInfo& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ContextInfo)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ContextInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ContextInfo*>(&to_msg);
+ auto& from = static_cast<const ContextInfo&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ContextInfo)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- mentionedjid_.MergeFrom(from.mentionedjid_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.mentionedjid_.MergeFrom(from._impl_.mentionedjid_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_stanzaid(from._internal_stanzaid());
+ _this->_internal_set_stanzaid(from._internal_stanzaid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_participant(from._internal_participant());
+ _this->_internal_set_participant(from._internal_participant());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_remotejid(from._internal_remotejid());
+ _this->_internal_set_remotejid(from._internal_remotejid());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_conversionsource(from._internal_conversionsource());
+ _this->_internal_set_conversionsource(from._internal_conversionsource());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_conversiondata(from._internal_conversiondata());
+ _this->_internal_set_conversiondata(from._internal_conversiondata());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_ephemeralsharedsecret(from._internal_ephemeralsharedsecret());
+ _this->_internal_set_ephemeralsharedsecret(from._internal_ephemeralsharedsecret());
}
if (cached_has_bits & 0x00000040u) {
- _internal_mutable_quotedmessage()->::proto::Message::MergeFrom(from._internal_quotedmessage());
+ _this->_internal_mutable_quotedmessage()->::proto::Message::MergeFrom(
+ from._internal_quotedmessage());
}
if (cached_has_bits & 0x00000080u) {
- _internal_mutable_quotedad()->::proto::AdReplyInfo::MergeFrom(from._internal_quotedad());
+ _this->_internal_mutable_quotedad()->::proto::AdReplyInfo::MergeFrom(
+ from._internal_quotedad());
}
}
if (cached_has_bits & 0x00007f00u) {
if (cached_has_bits & 0x00000100u) {
- _internal_mutable_placeholderkey()->::proto::MessageKey::MergeFrom(from._internal_placeholderkey());
+ _this->_internal_mutable_placeholderkey()->::proto::MessageKey::MergeFrom(
+ from._internal_placeholderkey());
}
if (cached_has_bits & 0x00000200u) {
- _internal_mutable_externaladreply()->::proto::ExternalAdReplyInfo::MergeFrom(from._internal_externaladreply());
+ _this->_internal_mutable_externaladreply()->::proto::ExternalAdReplyInfo::MergeFrom(
+ from._internal_externaladreply());
}
if (cached_has_bits & 0x00000400u) {
- conversiondelayseconds_ = from.conversiondelayseconds_;
+ _this->_impl_.conversiondelayseconds_ = from._impl_.conversiondelayseconds_;
}
if (cached_has_bits & 0x00000800u) {
- forwardingscore_ = from.forwardingscore_;
+ _this->_impl_.forwardingscore_ = from._impl_.forwardingscore_;
}
if (cached_has_bits & 0x00001000u) {
- isforwarded_ = from.isforwarded_;
+ _this->_impl_.isforwarded_ = from._impl_.isforwarded_;
}
if (cached_has_bits & 0x00002000u) {
- expiration_ = from.expiration_;
+ _this->_impl_.expiration_ = from._impl_.expiration_;
}
if (cached_has_bits & 0x00004000u) {
- ephemeralsettingtimestamp_ = from.ephemeralsettingtimestamp_;
+ _this->_impl_.ephemeralsettingtimestamp_ = from._impl_.ephemeralsettingtimestamp_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ContextInfo::CopyFrom(const ContextInfo& from) {
@@ -10460,48 +10793,42 @@ void ContextInfo::InternalSwap(ContextInfo* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- mentionedjid_.InternalSwap(&other->mentionedjid_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.mentionedjid_.InternalSwap(&other->_impl_.mentionedjid_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &stanzaid_, lhs_arena,
- &other->stanzaid_, rhs_arena
+ &_impl_.stanzaid_, lhs_arena,
+ &other->_impl_.stanzaid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &participant_, lhs_arena,
- &other->participant_, rhs_arena
+ &_impl_.participant_, lhs_arena,
+ &other->_impl_.participant_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &remotejid_, lhs_arena,
- &other->remotejid_, rhs_arena
+ &_impl_.remotejid_, lhs_arena,
+ &other->_impl_.remotejid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &conversionsource_, lhs_arena,
- &other->conversionsource_, rhs_arena
+ &_impl_.conversionsource_, lhs_arena,
+ &other->_impl_.conversionsource_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &conversiondata_, lhs_arena,
- &other->conversiondata_, rhs_arena
+ &_impl_.conversiondata_, lhs_arena,
+ &other->_impl_.conversiondata_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &ephemeralsharedsecret_, lhs_arena,
- &other->ephemeralsharedsecret_, rhs_arena
+ &_impl_.ephemeralsharedsecret_, lhs_arena,
+ &other->_impl_.ephemeralsharedsecret_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ContextInfo, ephemeralsettingtimestamp_)
- + sizeof(ContextInfo::ephemeralsettingtimestamp_)
- - PROTOBUF_FIELD_OFFSET(ContextInfo, quotedmessage_)>(
- reinterpret_cast<char*>(&quotedmessage_),
- reinterpret_cast<char*>(&other->quotedmessage_));
+ PROTOBUF_FIELD_OFFSET(ContextInfo, _impl_.ephemeralsettingtimestamp_)
+ + sizeof(ContextInfo::_impl_.ephemeralsettingtimestamp_)
+ - PROTOBUF_FIELD_OFFSET(ContextInfo, _impl_.quotedmessage_)>(
+ reinterpret_cast<char*>(&_impl_.quotedmessage_),
+ reinterpret_cast<char*>(&other->_impl_.quotedmessage_));
}
::PROTOBUF_NAMESPACE_ID::Metadata ContextInfo::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[16]);
}
@@ -10510,7 +10837,7 @@ void ContextInfo::InternalSwap(ContextInfo* other) {
class SenderKeyDistributionMessage::_Internal {
public:
- using HasBits = decltype(std::declval<SenderKeyDistributionMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<SenderKeyDistributionMessage>()._impl_._has_bits_);
static void set_has_groupid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -10522,100 +10849,120 @@ class SenderKeyDistributionMessage::_Internal {
SenderKeyDistributionMessage::SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.SenderKeyDistributionMessage)
}
SenderKeyDistributionMessage::SenderKeyDistributionMessage(const SenderKeyDistributionMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ SenderKeyDistributionMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.groupid_){}
+ , decltype(_impl_.axolotlsenderkeydistributionmessage_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- groupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.groupid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.groupid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_groupid()) {
- groupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_groupid(),
- GetArenaForAllocation());
+ _this->_impl_.groupid_.Set(from._internal_groupid(),
+ _this->GetArenaForAllocation());
}
- axolotlsenderkeydistributionmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.axolotlsenderkeydistributionmessage_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.axolotlsenderkeydistributionmessage_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_axolotlsenderkeydistributionmessage()) {
- axolotlsenderkeydistributionmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_axolotlsenderkeydistributionmessage(),
- GetArenaForAllocation());
+ _this->_impl_.axolotlsenderkeydistributionmessage_.Set(from._internal_axolotlsenderkeydistributionmessage(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.SenderKeyDistributionMessage)
}
-void SenderKeyDistributionMessage::SharedCtor() {
-groupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-axolotlsenderkeydistributionmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void SenderKeyDistributionMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.groupid_){}
+ , decltype(_impl_.axolotlsenderkeydistributionmessage_){}
+ };
+ _impl_.groupid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.groupid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.axolotlsenderkeydistributionmessage_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.axolotlsenderkeydistributionmessage_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
SenderKeyDistributionMessage::~SenderKeyDistributionMessage() {
// @@protoc_insertion_point(destructor:proto.SenderKeyDistributionMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void SenderKeyDistributionMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- groupid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- axolotlsenderkeydistributionmessage_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.groupid_.Destroy();
+ _impl_.axolotlsenderkeydistributionmessage_.Destroy();
}
-void SenderKeyDistributionMessage::ArenaDtor(void* object) {
- SenderKeyDistributionMessage* _this = reinterpret_cast< SenderKeyDistributionMessage* >(object);
- (void)_this;
-}
-void SenderKeyDistributionMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void SenderKeyDistributionMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void SenderKeyDistributionMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.SenderKeyDistributionMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- groupid_.ClearNonDefaultToEmpty();
+ _impl_.groupid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- axolotlsenderkeydistributionmessage_.ClearNonDefaultToEmpty();
+ _impl_.axolotlsenderkeydistributionmessage_.ClearNonDefaultToEmpty();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* SenderKeyDistributionMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* SenderKeyDistributionMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string groupId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_groupid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.SenderKeyDistributionMessage.groupId");
+ ::_pbi::VerifyUTF8(str, "proto.SenderKeyDistributionMessage.groupId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes axolotlSenderKeyDistributionMessage = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_axolotlsenderkeydistributionmessage();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
@@ -10636,7 +10983,7 @@ const char* SenderKeyDistributionMessage::_InternalParse(const char* ptr, ::PROT
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -10644,13 +10991,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* SenderKeyDistributionMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* SenderKeyDistributionMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.SenderKeyDistributionMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string groupId = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -10668,7 +11015,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.SenderKeyDistributionMessage)
@@ -10679,11 +11026,11 @@ size_t SenderKeyDistributionMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.SenderKeyDistributionMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional string groupId = 1;
if (cached_has_bits & 0x00000001u) {
@@ -10700,38 +11047,34 @@ size_t SenderKeyDistributionMessage::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SenderKeyDistributionMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
SenderKeyDistributionMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SenderKeyDistributionMessage::GetClassData() const { return &_class_data_; }
-void SenderKeyDistributionMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<SenderKeyDistributionMessage *>(to)->MergeFrom(
- static_cast<const SenderKeyDistributionMessage &>(from));
-}
-
-void SenderKeyDistributionMessage::MergeFrom(const SenderKeyDistributionMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.SenderKeyDistributionMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void SenderKeyDistributionMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<SenderKeyDistributionMessage*>(&to_msg);
+ auto& from = static_cast<const SenderKeyDistributionMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.SenderKeyDistributionMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_groupid(from._internal_groupid());
+ _this->_internal_set_groupid(from._internal_groupid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_axolotlsenderkeydistributionmessage(from._internal_axolotlsenderkeydistributionmessage());
+ _this->_internal_set_axolotlsenderkeydistributionmessage(from._internal_axolotlsenderkeydistributionmessage());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void SenderKeyDistributionMessage::CopyFrom(const SenderKeyDistributionMessage& from) {
@@ -10750,21 +11093,19 @@ void SenderKeyDistributionMessage::InternalSwap(SenderKeyDistributionMessage* ot
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &groupid_, lhs_arena,
- &other->groupid_, rhs_arena
+ &_impl_.groupid_, lhs_arena,
+ &other->_impl_.groupid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &axolotlsenderkeydistributionmessage_, lhs_arena,
- &other->axolotlsenderkeydistributionmessage_, rhs_arena
+ &_impl_.axolotlsenderkeydistributionmessage_, lhs_arena,
+ &other->_impl_.axolotlsenderkeydistributionmessage_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata SenderKeyDistributionMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[17]);
}
@@ -10773,7 +11114,7 @@ void SenderKeyDistributionMessage::InternalSwap(SenderKeyDistributionMessage* ot
class ImageMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ImageMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ImageMessage>()._impl_._has_bits_);
static void set_has_url(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -10848,341 +11189,477 @@ class ImageMessage::_Internal {
const ::proto::ContextInfo&
ImageMessage::_Internal::contextinfo(const ImageMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
ImageMessage::ImageMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- interactiveannotations_(arena),
- scanlengths_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ImageMessage)
}
ImageMessage::ImageMessage(const ImageMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- interactiveannotations_(from.interactiveannotations_),
- scanlengths_(from.scanlengths_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ImageMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.interactiveannotations_){from._impl_.interactiveannotations_}
+ , decltype(_impl_.scanlengths_){from._impl_.scanlengths_}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.firstscansidecar_){}
+ , decltype(_impl_.scanssidecar_){}
+ , decltype(_impl_.midqualityfilesha256_){}
+ , decltype(_impl_.midqualityfileencsha256_){}
+ , decltype(_impl_.thumbnaildirectpath_){}
+ , decltype(_impl_.thumbnailsha256_){}
+ , decltype(_impl_.thumbnailencsha256_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.filelength_){}
+ , decltype(_impl_.height_){}
+ , decltype(_impl_.width_){}
+ , decltype(_impl_.mediakeytimestamp_){}
+ , decltype(_impl_.firstscanlength_){}
+ , decltype(_impl_.experimentgroupid_){}
+ , decltype(_impl_.viewonce_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_url()) {
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(),
- GetArenaForAllocation());
+ _this->_impl_.url_.Set(from._internal_url(),
+ _this->GetArenaForAllocation());
}
- mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mimetype()) {
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mimetype(),
- GetArenaForAllocation());
+ _this->_impl_.mimetype_.Set(from._internal_mimetype(),
+ _this->GetArenaForAllocation());
}
- caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_caption()) {
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_caption(),
- GetArenaForAllocation());
+ _this->_impl_.caption_.Set(from._internal_caption(),
+ _this->GetArenaForAllocation());
}
- filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_filesha256()) {
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_filesha256(),
- GetArenaForAllocation());
+ _this->_impl_.filesha256_.Set(from._internal_filesha256(),
+ _this->GetArenaForAllocation());
}
- mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mediakey()) {
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mediakey(),
- GetArenaForAllocation());
+ _this->_impl_.mediakey_.Set(from._internal_mediakey(),
+ _this->GetArenaForAllocation());
}
- fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_fileencsha256()) {
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_fileencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.fileencsha256_.Set(from._internal_fileencsha256(),
+ _this->GetArenaForAllocation());
}
- directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_directpath()) {
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_directpath(),
- GetArenaForAllocation());
+ _this->_impl_.directpath_.Set(from._internal_directpath(),
+ _this->GetArenaForAllocation());
}
- jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_jpegthumbnail()) {
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_jpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.jpegthumbnail_.Set(from._internal_jpegthumbnail(),
+ _this->GetArenaForAllocation());
}
- firstscansidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.firstscansidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstscansidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_firstscansidecar()) {
- firstscansidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_firstscansidecar(),
- GetArenaForAllocation());
+ _this->_impl_.firstscansidecar_.Set(from._internal_firstscansidecar(),
+ _this->GetArenaForAllocation());
}
- scanssidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.scanssidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.scanssidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_scanssidecar()) {
- scanssidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_scanssidecar(),
- GetArenaForAllocation());
+ _this->_impl_.scanssidecar_.Set(from._internal_scanssidecar(),
+ _this->GetArenaForAllocation());
}
- midqualityfilesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.midqualityfilesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.midqualityfilesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_midqualityfilesha256()) {
- midqualityfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_midqualityfilesha256(),
- GetArenaForAllocation());
+ _this->_impl_.midqualityfilesha256_.Set(from._internal_midqualityfilesha256(),
+ _this->GetArenaForAllocation());
}
- midqualityfileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.midqualityfileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.midqualityfileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_midqualityfileencsha256()) {
- midqualityfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_midqualityfileencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.midqualityfileencsha256_.Set(from._internal_midqualityfileencsha256(),
+ _this->GetArenaForAllocation());
}
- thumbnaildirectpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnaildirectpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnaildirectpath()) {
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnaildirectpath(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnaildirectpath_.Set(from._internal_thumbnaildirectpath(),
+ _this->GetArenaForAllocation());
}
- thumbnailsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnailsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnailsha256()) {
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnailsha256(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnailsha256_.Set(from._internal_thumbnailsha256(),
+ _this->GetArenaForAllocation());
}
- thumbnailencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnailencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnailencsha256()) {
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnailencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnailencsha256_.Set(from._internal_thumbnailencsha256(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&filelength_, &from.filelength_,
- static_cast<size_t>(reinterpret_cast<char*>(&viewonce_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(viewonce_));
+ ::memcpy(&_impl_.filelength_, &from._impl_.filelength_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.viewonce_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.viewonce_));
// @@protoc_insertion_point(copy_constructor:proto.ImageMessage)
}
-void ImageMessage::SharedCtor() {
-url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-firstscansidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-scanssidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-midqualityfilesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-midqualityfileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnaildirectpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnailsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnailencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&viewonce_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(viewonce_));
+inline void ImageMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.interactiveannotations_){arena}
+ , decltype(_impl_.scanlengths_){arena}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.firstscansidecar_){}
+ , decltype(_impl_.scanssidecar_){}
+ , decltype(_impl_.midqualityfilesha256_){}
+ , decltype(_impl_.midqualityfileencsha256_){}
+ , decltype(_impl_.thumbnaildirectpath_){}
+ , decltype(_impl_.thumbnailsha256_){}
+ , decltype(_impl_.thumbnailencsha256_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.filelength_){uint64_t{0u}}
+ , decltype(_impl_.height_){0u}
+ , decltype(_impl_.width_){0u}
+ , decltype(_impl_.mediakeytimestamp_){int64_t{0}}
+ , decltype(_impl_.firstscanlength_){0u}
+ , decltype(_impl_.experimentgroupid_){0u}
+ , decltype(_impl_.viewonce_){false}
+ };
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstscansidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstscansidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.scanssidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.scanssidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.midqualityfilesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.midqualityfilesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.midqualityfileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.midqualityfileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ImageMessage::~ImageMessage() {
// @@protoc_insertion_point(destructor:proto.ImageMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ImageMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mimetype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- caption_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- filesha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mediakey_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- fileencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- directpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- jpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- firstscansidecar_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- scanssidecar_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- midqualityfilesha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- midqualityfileencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnaildirectpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnailsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnailencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
-}
-
-void ImageMessage::ArenaDtor(void* object) {
- ImageMessage* _this = reinterpret_cast< ImageMessage* >(object);
- (void)_this;
-}
-void ImageMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
+ _impl_.interactiveannotations_.~RepeatedPtrField();
+ _impl_.scanlengths_.~RepeatedField();
+ _impl_.url_.Destroy();
+ _impl_.mimetype_.Destroy();
+ _impl_.caption_.Destroy();
+ _impl_.filesha256_.Destroy();
+ _impl_.mediakey_.Destroy();
+ _impl_.fileencsha256_.Destroy();
+ _impl_.directpath_.Destroy();
+ _impl_.jpegthumbnail_.Destroy();
+ _impl_.firstscansidecar_.Destroy();
+ _impl_.scanssidecar_.Destroy();
+ _impl_.midqualityfilesha256_.Destroy();
+ _impl_.midqualityfileencsha256_.Destroy();
+ _impl_.thumbnaildirectpath_.Destroy();
+ _impl_.thumbnailsha256_.Destroy();
+ _impl_.thumbnailencsha256_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
+
void ImageMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ImageMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ImageMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- interactiveannotations_.Clear();
- scanlengths_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.interactiveannotations_.Clear();
+ _impl_.scanlengths_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- url_.ClearNonDefaultToEmpty();
+ _impl_.url_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- mimetype_.ClearNonDefaultToEmpty();
+ _impl_.mimetype_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- caption_.ClearNonDefaultToEmpty();
+ _impl_.caption_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- filesha256_.ClearNonDefaultToEmpty();
+ _impl_.filesha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- mediakey_.ClearNonDefaultToEmpty();
+ _impl_.mediakey_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- fileencsha256_.ClearNonDefaultToEmpty();
+ _impl_.fileencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- directpath_.ClearNonDefaultToEmpty();
+ _impl_.directpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- jpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.jpegthumbnail_.ClearNonDefaultToEmpty();
}
}
if (cached_has_bits & 0x0000ff00u) {
if (cached_has_bits & 0x00000100u) {
- firstscansidecar_.ClearNonDefaultToEmpty();
+ _impl_.firstscansidecar_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000200u) {
- scanssidecar_.ClearNonDefaultToEmpty();
+ _impl_.scanssidecar_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000400u) {
- midqualityfilesha256_.ClearNonDefaultToEmpty();
+ _impl_.midqualityfilesha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000800u) {
- midqualityfileencsha256_.ClearNonDefaultToEmpty();
+ _impl_.midqualityfileencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00001000u) {
- thumbnaildirectpath_.ClearNonDefaultToEmpty();
+ _impl_.thumbnaildirectpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00002000u) {
- thumbnailsha256_.ClearNonDefaultToEmpty();
+ _impl_.thumbnailsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00004000u) {
- thumbnailencsha256_.ClearNonDefaultToEmpty();
+ _impl_.thumbnailencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00008000u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
if (cached_has_bits & 0x007f0000u) {
- ::memset(&filelength_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&viewonce_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(viewonce_));
+ ::memset(&_impl_.filelength_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.viewonce_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.viewonce_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ImageMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ImageMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string url = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_url();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ImageMessage.url");
+ ::_pbi::VerifyUTF8(str, "proto.ImageMessage.url");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string mimetype = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_mimetype();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ImageMessage.mimetype");
+ ::_pbi::VerifyUTF8(str, "proto.ImageMessage.mimetype");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string caption = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_caption();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ImageMessage.caption");
+ ::_pbi::VerifyUTF8(str, "proto.ImageMessage.caption");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileSha256 = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_filesha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 fileLength = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_filelength(&has_bits);
- filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 height = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
_Internal::set_has_height(&has_bits);
- height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 width = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
_Internal::set_has_width(&has_bits);
- width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes mediaKey = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_mediakey();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileEncSha256 = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
auto str = _internal_mutable_fileencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .proto.InteractiveAnnotation interactiveAnnotations = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
ptr -= 1;
do {
ptr += 1;
@@ -11195,37 +11672,37 @@ const char* ImageMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional string directPath = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
auto str = _internal_mutable_directpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ImageMessage.directPath");
+ ::_pbi::VerifyUTF8(str, "proto.ImageMessage.directPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 mediaKeyTimestamp = 12;
case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
_Internal::set_has_mediakeytimestamp(&has_bits);
- mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes jpegThumbnail = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_jpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -11233,43 +11710,43 @@ const char* ImageMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional bytes firstScanSidecar = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) {
auto str = _internal_mutable_firstscansidecar();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 firstScanLength = 19;
case 19:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 152)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 152)) {
_Internal::set_has_firstscanlength(&has_bits);
- firstscanlength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.firstscanlength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 experimentGroupId = 20;
case 20:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 160)) {
_Internal::set_has_experimentgroupid(&has_bits);
- experimentgroupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.experimentgroupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes scansSidecar = 21;
case 21:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 170)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 170)) {
auto str = _internal_mutable_scanssidecar();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated uint32 scanLengths = 22;
case 22:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 176)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 176)) {
ptr -= 2;
do {
ptr += 2;
@@ -11277,7 +11754,7 @@ const char* ImageMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<176>(ptr));
- } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178) {
+ } else if (static_cast<uint8_t>(tag) == 178) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_scanlengths(), ptr, ctx);
CHK_(ptr);
} else
@@ -11285,57 +11762,57 @@ const char* ImageMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional bytes midQualityFileSha256 = 23;
case 23:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 186)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 186)) {
auto str = _internal_mutable_midqualityfilesha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes midQualityFileEncSha256 = 24;
case 24:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 194)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 194)) {
auto str = _internal_mutable_midqualityfileencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool viewOnce = 25;
case 25:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 200)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 200)) {
_Internal::set_has_viewonce(&has_bits);
- viewonce_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.viewonce_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string thumbnailDirectPath = 26;
case 26:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 210)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 210)) {
auto str = _internal_mutable_thumbnaildirectpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ImageMessage.thumbnailDirectPath");
+ ::_pbi::VerifyUTF8(str, "proto.ImageMessage.thumbnailDirectPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes thumbnailSha256 = 27;
case 27:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 218)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 218)) {
auto str = _internal_mutable_thumbnailsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes thumbnailEncSha256 = 28;
case 28:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 226)) {
auto str = _internal_mutable_thumbnailencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
@@ -11356,7 +11833,7 @@ const char* ImageMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -11364,13 +11841,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ImageMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ImageMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ImageMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -11410,19 +11887,19 @@ failure:
// optional uint64 fileLength = 5;
if (cached_has_bits & 0x00010000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(5, this->_internal_filelength(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_filelength(), target);
}
// optional uint32 height = 6;
if (cached_has_bits & 0x00020000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_height(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_height(), target);
}
// optional uint32 width = 7;
if (cached_has_bits & 0x00040000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_width(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_width(), target);
}
// optional bytes mediaKey = 8;
@@ -11438,11 +11915,11 @@ failure:
}
// repeated .proto.InteractiveAnnotation interactiveAnnotations = 10;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_interactiveannotations_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_interactiveannotations_size()); i < n; i++) {
+ const auto& repfield = this->_internal_interactiveannotations(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(10, this->_internal_interactiveannotations(i), target, stream);
+ InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream);
}
// optional string directPath = 11;
@@ -11458,7 +11935,7 @@ failure:
// optional int64 mediaKeyTimestamp = 12;
if (cached_has_bits & 0x00080000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(12, this->_internal_mediakeytimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(12, this->_internal_mediakeytimestamp(), target);
}
// optional bytes jpegThumbnail = 16;
@@ -11469,10 +11946,9 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00008000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional bytes firstScanSidecar = 18;
@@ -11484,13 +11960,13 @@ failure:
// optional uint32 firstScanLength = 19;
if (cached_has_bits & 0x00100000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(19, this->_internal_firstscanlength(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_firstscanlength(), target);
}
// optional uint32 experimentGroupId = 20;
if (cached_has_bits & 0x00200000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(20, this->_internal_experimentgroupid(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_experimentgroupid(), target);
}
// optional bytes scansSidecar = 21;
@@ -11502,7 +11978,7 @@ failure:
// repeated uint32 scanLengths = 22;
for (int i = 0, n = this->_internal_scanlengths_size(); i < n; i++) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(22, this->_internal_scanlengths(i), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_scanlengths(i), target);
}
// optional bytes midQualityFileSha256 = 23;
@@ -11520,7 +11996,7 @@ failure:
// optional bool viewOnce = 25;
if (cached_has_bits & 0x00400000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(25, this->_internal_viewonce(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(25, this->_internal_viewonce(), target);
}
// optional string thumbnailDirectPath = 26;
@@ -11546,7 +12022,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ImageMessage)
@@ -11557,27 +12033,27 @@ size_t ImageMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ImageMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.InteractiveAnnotation interactiveAnnotations = 10;
total_size += 1UL * this->_internal_interactiveannotations_size();
- for (const auto& msg : this->interactiveannotations_) {
+ for (const auto& msg : this->_impl_.interactiveannotations_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
// repeated uint32 scanLengths = 22;
{
- size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- UInt32Size(this->scanlengths_);
+ size_t data_size = ::_pbi::WireFormatLite::
+ UInt32Size(this->_impl_.scanlengths_);
total_size += 2 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_scanlengths_size());
+ ::_pbi::FromIntSize(this->_internal_scanlengths_size());
total_size += data_size;
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
@@ -11690,42 +12166,42 @@ size_t ImageMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00008000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
}
if (cached_has_bits & 0x007f0000u) {
// optional uint64 fileLength = 5;
if (cached_has_bits & 0x00010000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
}
// optional uint32 height = 6;
if (cached_has_bits & 0x00020000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_height());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_height());
}
// optional uint32 width = 7;
if (cached_has_bits & 0x00040000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
}
// optional int64 mediaKeyTimestamp = 12;
if (cached_has_bits & 0x00080000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
}
// optional uint32 firstScanLength = 19;
if (cached_has_bits & 0x00100000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_firstscanlength());
}
// optional uint32 experimentGroupId = 20;
if (cached_has_bits & 0x00200000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_experimentgroupid());
}
@@ -11735,108 +12211,105 @@ size_t ImageMessage::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ImageMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ImageMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ImageMessage::GetClassData() const { return &_class_data_; }
-void ImageMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ImageMessage *>(to)->MergeFrom(
- static_cast<const ImageMessage &>(from));
-}
-
-void ImageMessage::MergeFrom(const ImageMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ImageMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ImageMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ImageMessage*>(&to_msg);
+ auto& from = static_cast<const ImageMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ImageMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- interactiveannotations_.MergeFrom(from.interactiveannotations_);
- scanlengths_.MergeFrom(from.scanlengths_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.interactiveannotations_.MergeFrom(from._impl_.interactiveannotations_);
+ _this->_impl_.scanlengths_.MergeFrom(from._impl_.scanlengths_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_url(from._internal_url());
+ _this->_internal_set_url(from._internal_url());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_mimetype(from._internal_mimetype());
+ _this->_internal_set_mimetype(from._internal_mimetype());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_caption(from._internal_caption());
+ _this->_internal_set_caption(from._internal_caption());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_filesha256(from._internal_filesha256());
+ _this->_internal_set_filesha256(from._internal_filesha256());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_mediakey(from._internal_mediakey());
+ _this->_internal_set_mediakey(from._internal_mediakey());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_fileencsha256(from._internal_fileencsha256());
+ _this->_internal_set_fileencsha256(from._internal_fileencsha256());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_directpath(from._internal_directpath());
+ _this->_internal_set_directpath(from._internal_directpath());
}
if (cached_has_bits & 0x00000080u) {
- _internal_set_jpegthumbnail(from._internal_jpegthumbnail());
+ _this->_internal_set_jpegthumbnail(from._internal_jpegthumbnail());
}
}
if (cached_has_bits & 0x0000ff00u) {
if (cached_has_bits & 0x00000100u) {
- _internal_set_firstscansidecar(from._internal_firstscansidecar());
+ _this->_internal_set_firstscansidecar(from._internal_firstscansidecar());
}
if (cached_has_bits & 0x00000200u) {
- _internal_set_scanssidecar(from._internal_scanssidecar());
+ _this->_internal_set_scanssidecar(from._internal_scanssidecar());
}
if (cached_has_bits & 0x00000400u) {
- _internal_set_midqualityfilesha256(from._internal_midqualityfilesha256());
+ _this->_internal_set_midqualityfilesha256(from._internal_midqualityfilesha256());
}
if (cached_has_bits & 0x00000800u) {
- _internal_set_midqualityfileencsha256(from._internal_midqualityfileencsha256());
+ _this->_internal_set_midqualityfileencsha256(from._internal_midqualityfileencsha256());
}
if (cached_has_bits & 0x00001000u) {
- _internal_set_thumbnaildirectpath(from._internal_thumbnaildirectpath());
+ _this->_internal_set_thumbnaildirectpath(from._internal_thumbnaildirectpath());
}
if (cached_has_bits & 0x00002000u) {
- _internal_set_thumbnailsha256(from._internal_thumbnailsha256());
+ _this->_internal_set_thumbnailsha256(from._internal_thumbnailsha256());
}
if (cached_has_bits & 0x00004000u) {
- _internal_set_thumbnailencsha256(from._internal_thumbnailencsha256());
+ _this->_internal_set_thumbnailencsha256(from._internal_thumbnailencsha256());
}
if (cached_has_bits & 0x00008000u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
}
if (cached_has_bits & 0x007f0000u) {
if (cached_has_bits & 0x00010000u) {
- filelength_ = from.filelength_;
+ _this->_impl_.filelength_ = from._impl_.filelength_;
}
if (cached_has_bits & 0x00020000u) {
- height_ = from.height_;
+ _this->_impl_.height_ = from._impl_.height_;
}
if (cached_has_bits & 0x00040000u) {
- width_ = from.width_;
+ _this->_impl_.width_ = from._impl_.width_;
}
if (cached_has_bits & 0x00080000u) {
- mediakeytimestamp_ = from.mediakeytimestamp_;
+ _this->_impl_.mediakeytimestamp_ = from._impl_.mediakeytimestamp_;
}
if (cached_has_bits & 0x00100000u) {
- firstscanlength_ = from.firstscanlength_;
+ _this->_impl_.firstscanlength_ = from._impl_.firstscanlength_;
}
if (cached_has_bits & 0x00200000u) {
- experimentgroupid_ = from.experimentgroupid_;
+ _this->_impl_.experimentgroupid_ = from._impl_.experimentgroupid_;
}
if (cached_has_bits & 0x00400000u) {
- viewonce_ = from.viewonce_;
+ _this->_impl_.viewonce_ = from._impl_.viewonce_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ImageMessage::CopyFrom(const ImageMessage& from) {
@@ -11855,94 +12328,79 @@ void ImageMessage::InternalSwap(ImageMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- interactiveannotations_.InternalSwap(&other->interactiveannotations_);
- scanlengths_.InternalSwap(&other->scanlengths_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.interactiveannotations_.InternalSwap(&other->_impl_.interactiveannotations_);
+ _impl_.scanlengths_.InternalSwap(&other->_impl_.scanlengths_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &url_, lhs_arena,
- &other->url_, rhs_arena
+ &_impl_.url_, lhs_arena,
+ &other->_impl_.url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mimetype_, lhs_arena,
- &other->mimetype_, rhs_arena
+ &_impl_.mimetype_, lhs_arena,
+ &other->_impl_.mimetype_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &caption_, lhs_arena,
- &other->caption_, rhs_arena
+ &_impl_.caption_, lhs_arena,
+ &other->_impl_.caption_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &filesha256_, lhs_arena,
- &other->filesha256_, rhs_arena
+ &_impl_.filesha256_, lhs_arena,
+ &other->_impl_.filesha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mediakey_, lhs_arena,
- &other->mediakey_, rhs_arena
+ &_impl_.mediakey_, lhs_arena,
+ &other->_impl_.mediakey_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &fileencsha256_, lhs_arena,
- &other->fileencsha256_, rhs_arena
+ &_impl_.fileencsha256_, lhs_arena,
+ &other->_impl_.fileencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &directpath_, lhs_arena,
- &other->directpath_, rhs_arena
+ &_impl_.directpath_, lhs_arena,
+ &other->_impl_.directpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &jpegthumbnail_, lhs_arena,
- &other->jpegthumbnail_, rhs_arena
+ &_impl_.jpegthumbnail_, lhs_arena,
+ &other->_impl_.jpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &firstscansidecar_, lhs_arena,
- &other->firstscansidecar_, rhs_arena
+ &_impl_.firstscansidecar_, lhs_arena,
+ &other->_impl_.firstscansidecar_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &scanssidecar_, lhs_arena,
- &other->scanssidecar_, rhs_arena
+ &_impl_.scanssidecar_, lhs_arena,
+ &other->_impl_.scanssidecar_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &midqualityfilesha256_, lhs_arena,
- &other->midqualityfilesha256_, rhs_arena
+ &_impl_.midqualityfilesha256_, lhs_arena,
+ &other->_impl_.midqualityfilesha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &midqualityfileencsha256_, lhs_arena,
- &other->midqualityfileencsha256_, rhs_arena
+ &_impl_.midqualityfileencsha256_, lhs_arena,
+ &other->_impl_.midqualityfileencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnaildirectpath_, lhs_arena,
- &other->thumbnaildirectpath_, rhs_arena
+ &_impl_.thumbnaildirectpath_, lhs_arena,
+ &other->_impl_.thumbnaildirectpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnailsha256_, lhs_arena,
- &other->thumbnailsha256_, rhs_arena
+ &_impl_.thumbnailsha256_, lhs_arena,
+ &other->_impl_.thumbnailsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnailencsha256_, lhs_arena,
- &other->thumbnailencsha256_, rhs_arena
+ &_impl_.thumbnailencsha256_, lhs_arena,
+ &other->_impl_.thumbnailencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ImageMessage, viewonce_)
- + sizeof(ImageMessage::viewonce_)
- - PROTOBUF_FIELD_OFFSET(ImageMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(ImageMessage, _impl_.viewonce_)
+ + sizeof(ImageMessage::_impl_.viewonce_)
+ - PROTOBUF_FIELD_OFFSET(ImageMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata ImageMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[18]);
}
@@ -11951,7 +12409,7 @@ void ImageMessage::InternalSwap(ImageMessage* other) {
class InvoiceMessage::_Internal {
public:
- using HasBits = decltype(std::declval<InvoiceMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<InvoiceMessage>()._impl_._has_bits_);
static void set_has_note(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -11987,183 +12445,251 @@ class InvoiceMessage::_Internal {
InvoiceMessage::InvoiceMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.InvoiceMessage)
}
InvoiceMessage::InvoiceMessage(const InvoiceMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ InvoiceMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.note_){}
+ , decltype(_impl_.token_){}
+ , decltype(_impl_.attachmentmimetype_){}
+ , decltype(_impl_.attachmentmediakey_){}
+ , decltype(_impl_.attachmentfilesha256_){}
+ , decltype(_impl_.attachmentfileencsha256_){}
+ , decltype(_impl_.attachmentdirectpath_){}
+ , decltype(_impl_.attachmentjpegthumbnail_){}
+ , decltype(_impl_.attachmentmediakeytimestamp_){}
+ , decltype(_impl_.attachmenttype_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- note_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.note_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.note_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_note()) {
- note_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_note(),
- GetArenaForAllocation());
+ _this->_impl_.note_.Set(from._internal_note(),
+ _this->GetArenaForAllocation());
}
- token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.token_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.token_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_token()) {
- token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_token(),
- GetArenaForAllocation());
+ _this->_impl_.token_.Set(from._internal_token(),
+ _this->GetArenaForAllocation());
}
- attachmentmimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.attachmentmimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentmimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_attachmentmimetype()) {
- attachmentmimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_attachmentmimetype(),
- GetArenaForAllocation());
+ _this->_impl_.attachmentmimetype_.Set(from._internal_attachmentmimetype(),
+ _this->GetArenaForAllocation());
}
- attachmentmediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.attachmentmediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentmediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_attachmentmediakey()) {
- attachmentmediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_attachmentmediakey(),
- GetArenaForAllocation());
+ _this->_impl_.attachmentmediakey_.Set(from._internal_attachmentmediakey(),
+ _this->GetArenaForAllocation());
}
- attachmentfilesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.attachmentfilesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentfilesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_attachmentfilesha256()) {
- attachmentfilesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_attachmentfilesha256(),
- GetArenaForAllocation());
+ _this->_impl_.attachmentfilesha256_.Set(from._internal_attachmentfilesha256(),
+ _this->GetArenaForAllocation());
}
- attachmentfileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.attachmentfileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentfileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_attachmentfileencsha256()) {
- attachmentfileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_attachmentfileencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.attachmentfileencsha256_.Set(from._internal_attachmentfileencsha256(),
+ _this->GetArenaForAllocation());
}
- attachmentdirectpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.attachmentdirectpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentdirectpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_attachmentdirectpath()) {
- attachmentdirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_attachmentdirectpath(),
- GetArenaForAllocation());
+ _this->_impl_.attachmentdirectpath_.Set(from._internal_attachmentdirectpath(),
+ _this->GetArenaForAllocation());
}
- attachmentjpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.attachmentjpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentjpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_attachmentjpegthumbnail()) {
- attachmentjpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_attachmentjpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.attachmentjpegthumbnail_.Set(from._internal_attachmentjpegthumbnail(),
+ _this->GetArenaForAllocation());
}
- ::memcpy(&attachmentmediakeytimestamp_, &from.attachmentmediakeytimestamp_,
- static_cast<size_t>(reinterpret_cast<char*>(&attachmenttype_) -
- reinterpret_cast<char*>(&attachmentmediakeytimestamp_)) + sizeof(attachmenttype_));
+ ::memcpy(&_impl_.attachmentmediakeytimestamp_, &from._impl_.attachmentmediakeytimestamp_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.attachmenttype_) -
+ reinterpret_cast<char*>(&_impl_.attachmentmediakeytimestamp_)) + sizeof(_impl_.attachmenttype_));
// @@protoc_insertion_point(copy_constructor:proto.InvoiceMessage)
}
-void InvoiceMessage::SharedCtor() {
-note_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-attachmentmimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-attachmentmediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-attachmentfilesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-attachmentfileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-attachmentdirectpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-attachmentjpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&attachmentmediakeytimestamp_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&attachmenttype_) -
- reinterpret_cast<char*>(&attachmentmediakeytimestamp_)) + sizeof(attachmenttype_));
+inline void InvoiceMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.note_){}
+ , decltype(_impl_.token_){}
+ , decltype(_impl_.attachmentmimetype_){}
+ , decltype(_impl_.attachmentmediakey_){}
+ , decltype(_impl_.attachmentfilesha256_){}
+ , decltype(_impl_.attachmentfileencsha256_){}
+ , decltype(_impl_.attachmentdirectpath_){}
+ , decltype(_impl_.attachmentjpegthumbnail_){}
+ , decltype(_impl_.attachmentmediakeytimestamp_){int64_t{0}}
+ , decltype(_impl_.attachmenttype_){0}
+ };
+ _impl_.note_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.note_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.token_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.token_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentmimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentmimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentmediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentmediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentfilesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentfilesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentfileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentfileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentdirectpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentdirectpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentjpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.attachmentjpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
InvoiceMessage::~InvoiceMessage() {
// @@protoc_insertion_point(destructor:proto.InvoiceMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void InvoiceMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- note_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- attachmentmimetype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- attachmentmediakey_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- attachmentfilesha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- attachmentfileencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- attachmentdirectpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- attachmentjpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.note_.Destroy();
+ _impl_.token_.Destroy();
+ _impl_.attachmentmimetype_.Destroy();
+ _impl_.attachmentmediakey_.Destroy();
+ _impl_.attachmentfilesha256_.Destroy();
+ _impl_.attachmentfileencsha256_.Destroy();
+ _impl_.attachmentdirectpath_.Destroy();
+ _impl_.attachmentjpegthumbnail_.Destroy();
}
-void InvoiceMessage::ArenaDtor(void* object) {
- InvoiceMessage* _this = reinterpret_cast< InvoiceMessage* >(object);
- (void)_this;
-}
-void InvoiceMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void InvoiceMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void InvoiceMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.InvoiceMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- note_.ClearNonDefaultToEmpty();
+ _impl_.note_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- token_.ClearNonDefaultToEmpty();
+ _impl_.token_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- attachmentmimetype_.ClearNonDefaultToEmpty();
+ _impl_.attachmentmimetype_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- attachmentmediakey_.ClearNonDefaultToEmpty();
+ _impl_.attachmentmediakey_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- attachmentfilesha256_.ClearNonDefaultToEmpty();
+ _impl_.attachmentfilesha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- attachmentfileencsha256_.ClearNonDefaultToEmpty();
+ _impl_.attachmentfileencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- attachmentdirectpath_.ClearNonDefaultToEmpty();
+ _impl_.attachmentdirectpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- attachmentjpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.attachmentjpegthumbnail_.ClearNonDefaultToEmpty();
}
}
if (cached_has_bits & 0x00000300u) {
- ::memset(&attachmentmediakeytimestamp_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&attachmenttype_) -
- reinterpret_cast<char*>(&attachmentmediakeytimestamp_)) + sizeof(attachmenttype_));
+ ::memset(&_impl_.attachmentmediakeytimestamp_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.attachmenttype_) -
+ reinterpret_cast<char*>(&_impl_.attachmentmediakeytimestamp_)) + sizeof(_impl_.attachmenttype_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* InvoiceMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* InvoiceMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string note = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_note();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.InvoiceMessage.note");
+ ::_pbi::VerifyUTF8(str, "proto.InvoiceMessage.note");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string token = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_token();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.InvoiceMessage.token");
+ ::_pbi::VerifyUTF8(str, "proto.InvoiceMessage.token");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.InvoiceMessage.InvoiceMessageAttachmentType attachmentType = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::InvoiceMessage_InvoiceMessageAttachmentType_IsValid(val))) {
_internal_set_attachmenttype(static_cast<::proto::InvoiceMessage_InvoiceMessageAttachmentType>(val));
@@ -12175,69 +12701,69 @@ const char* InvoiceMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional string attachmentMimetype = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_attachmentmimetype();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.InvoiceMessage.attachmentMimetype");
+ ::_pbi::VerifyUTF8(str, "proto.InvoiceMessage.attachmentMimetype");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes attachmentMediaKey = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_attachmentmediakey();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 attachmentMediaKeyTimestamp = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
_Internal::set_has_attachmentmediakeytimestamp(&has_bits);
- attachmentmediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.attachmentmediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes attachmentFileSha256 = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_attachmentfilesha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes attachmentFileEncSha256 = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_attachmentfileencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string attachmentDirectPath = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
auto str = _internal_mutable_attachmentdirectpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.InvoiceMessage.attachmentDirectPath");
+ ::_pbi::VerifyUTF8(str, "proto.InvoiceMessage.attachmentDirectPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes attachmentJpegThumbnail = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
auto str = _internal_mutable_attachmentjpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
@@ -12258,7 +12784,7 @@ const char* InvoiceMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -12266,13 +12792,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* InvoiceMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* InvoiceMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.InvoiceMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string note = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -12296,7 +12822,7 @@ failure:
// optional .proto.InvoiceMessage.InvoiceMessageAttachmentType attachmentType = 3;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
3, this->_internal_attachmenttype(), target);
}
@@ -12319,7 +12845,7 @@ failure:
// optional int64 attachmentMediaKeyTimestamp = 6;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_attachmentmediakeytimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_attachmentmediakeytimestamp(), target);
}
// optional bytes attachmentFileSha256 = 7;
@@ -12351,7 +12877,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.InvoiceMessage)
@@ -12362,11 +12888,11 @@ size_t InvoiceMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.InvoiceMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string note = 1;
if (cached_has_bits & 0x00000001u) {
@@ -12428,75 +12954,71 @@ size_t InvoiceMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000300u) {
// optional int64 attachmentMediaKeyTimestamp = 6;
if (cached_has_bits & 0x00000100u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_attachmentmediakeytimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_attachmentmediakeytimestamp());
}
// optional .proto.InvoiceMessage.InvoiceMessageAttachmentType attachmentType = 3;
if (cached_has_bits & 0x00000200u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_attachmenttype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_attachmenttype());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InvoiceMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
InvoiceMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InvoiceMessage::GetClassData() const { return &_class_data_; }
-void InvoiceMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<InvoiceMessage *>(to)->MergeFrom(
- static_cast<const InvoiceMessage &>(from));
-}
-
-void InvoiceMessage::MergeFrom(const InvoiceMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.InvoiceMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void InvoiceMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<InvoiceMessage*>(&to_msg);
+ auto& from = static_cast<const InvoiceMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.InvoiceMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_note(from._internal_note());
+ _this->_internal_set_note(from._internal_note());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_token(from._internal_token());
+ _this->_internal_set_token(from._internal_token());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_attachmentmimetype(from._internal_attachmentmimetype());
+ _this->_internal_set_attachmentmimetype(from._internal_attachmentmimetype());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_attachmentmediakey(from._internal_attachmentmediakey());
+ _this->_internal_set_attachmentmediakey(from._internal_attachmentmediakey());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_attachmentfilesha256(from._internal_attachmentfilesha256());
+ _this->_internal_set_attachmentfilesha256(from._internal_attachmentfilesha256());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_attachmentfileencsha256(from._internal_attachmentfileencsha256());
+ _this->_internal_set_attachmentfileencsha256(from._internal_attachmentfileencsha256());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_attachmentdirectpath(from._internal_attachmentdirectpath());
+ _this->_internal_set_attachmentdirectpath(from._internal_attachmentdirectpath());
}
if (cached_has_bits & 0x00000080u) {
- _internal_set_attachmentjpegthumbnail(from._internal_attachmentjpegthumbnail());
+ _this->_internal_set_attachmentjpegthumbnail(from._internal_attachmentjpegthumbnail());
}
}
if (cached_has_bits & 0x00000300u) {
if (cached_has_bits & 0x00000100u) {
- attachmentmediakeytimestamp_ = from.attachmentmediakeytimestamp_;
+ _this->_impl_.attachmentmediakeytimestamp_ = from._impl_.attachmentmediakeytimestamp_;
}
if (cached_has_bits & 0x00000200u) {
- attachmenttype_ = from.attachmenttype_;
+ _this->_impl_.attachmenttype_ = from._impl_.attachmenttype_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void InvoiceMessage::CopyFrom(const InvoiceMessage& from) {
@@ -12515,57 +13037,49 @@ void InvoiceMessage::InternalSwap(InvoiceMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &note_, lhs_arena,
- &other->note_, rhs_arena
+ &_impl_.note_, lhs_arena,
+ &other->_impl_.note_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &token_, lhs_arena,
- &other->token_, rhs_arena
+ &_impl_.token_, lhs_arena,
+ &other->_impl_.token_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &attachmentmimetype_, lhs_arena,
- &other->attachmentmimetype_, rhs_arena
+ &_impl_.attachmentmimetype_, lhs_arena,
+ &other->_impl_.attachmentmimetype_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &attachmentmediakey_, lhs_arena,
- &other->attachmentmediakey_, rhs_arena
+ &_impl_.attachmentmediakey_, lhs_arena,
+ &other->_impl_.attachmentmediakey_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &attachmentfilesha256_, lhs_arena,
- &other->attachmentfilesha256_, rhs_arena
+ &_impl_.attachmentfilesha256_, lhs_arena,
+ &other->_impl_.attachmentfilesha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &attachmentfileencsha256_, lhs_arena,
- &other->attachmentfileencsha256_, rhs_arena
+ &_impl_.attachmentfileencsha256_, lhs_arena,
+ &other->_impl_.attachmentfileencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &attachmentdirectpath_, lhs_arena,
- &other->attachmentdirectpath_, rhs_arena
+ &_impl_.attachmentdirectpath_, lhs_arena,
+ &other->_impl_.attachmentdirectpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &attachmentjpegthumbnail_, lhs_arena,
- &other->attachmentjpegthumbnail_, rhs_arena
+ &_impl_.attachmentjpegthumbnail_, lhs_arena,
+ &other->_impl_.attachmentjpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(InvoiceMessage, attachmenttype_)
- + sizeof(InvoiceMessage::attachmenttype_)
- - PROTOBUF_FIELD_OFFSET(InvoiceMessage, attachmentmediakeytimestamp_)>(
- reinterpret_cast<char*>(&attachmentmediakeytimestamp_),
- reinterpret_cast<char*>(&other->attachmentmediakeytimestamp_));
+ PROTOBUF_FIELD_OFFSET(InvoiceMessage, _impl_.attachmenttype_)
+ + sizeof(InvoiceMessage::_impl_.attachmenttype_)
+ - PROTOBUF_FIELD_OFFSET(InvoiceMessage, _impl_.attachmentmediakeytimestamp_)>(
+ reinterpret_cast<char*>(&_impl_.attachmentmediakeytimestamp_),
+ reinterpret_cast<char*>(&other->_impl_.attachmentmediakeytimestamp_));
}
::PROTOBUF_NAMESPACE_ID::Metadata InvoiceMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[19]);
}
@@ -12574,7 +13088,7 @@ void InvoiceMessage::InternalSwap(InvoiceMessage* other) {
class ContactMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ContactMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ContactMessage>()._impl_._has_bits_);
static void set_has_displayname(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -12589,126 +13103,145 @@ class ContactMessage::_Internal {
const ::proto::ContextInfo&
ContactMessage::_Internal::contextinfo(const ContactMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
ContactMessage::ContactMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ContactMessage)
}
ContactMessage::ContactMessage(const ContactMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ContactMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displayname_){}
+ , decltype(_impl_.vcard_){}
+ , decltype(_impl_.contextinfo_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- displayname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displayname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_displayname()) {
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_displayname(),
- GetArenaForAllocation());
+ _this->_impl_.displayname_.Set(from._internal_displayname(),
+ _this->GetArenaForAllocation());
}
- vcard_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.vcard_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.vcard_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_vcard()) {
- vcard_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_vcard(),
- GetArenaForAllocation());
+ _this->_impl_.vcard_.Set(from._internal_vcard(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
// @@protoc_insertion_point(copy_constructor:proto.ContactMessage)
}
-void ContactMessage::SharedCtor() {
-displayname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-vcard_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-contextinfo_ = nullptr;
+inline void ContactMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displayname_){}
+ , decltype(_impl_.vcard_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ };
+ _impl_.displayname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.vcard_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.vcard_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ContactMessage::~ContactMessage() {
// @@protoc_insertion_point(destructor:proto.ContactMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ContactMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- displayname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- vcard_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.displayname_.Destroy();
+ _impl_.vcard_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void ContactMessage::ArenaDtor(void* object) {
- ContactMessage* _this = reinterpret_cast< ContactMessage* >(object);
- (void)_this;
-}
-void ContactMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ContactMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ContactMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ContactMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- displayname_.ClearNonDefaultToEmpty();
+ _impl_.displayname_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- vcard_.ClearNonDefaultToEmpty();
+ _impl_.vcard_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ContactMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ContactMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string displayName = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_displayname();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ContactMessage.displayName");
+ ::_pbi::VerifyUTF8(str, "proto.ContactMessage.displayName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string vcard = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_vcard();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ContactMessage.vcard");
+ ::_pbi::VerifyUTF8(str, "proto.ContactMessage.vcard");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -12730,7 +13263,7 @@ const char* ContactMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -12738,13 +13271,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ContactMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ContactMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ContactMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string displayName = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -12767,14 +13300,13 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ContactMessage)
@@ -12785,11 +13317,11 @@ size_t ContactMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ContactMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string displayName = 1;
if (cached_has_bits & 0x00000001u) {
@@ -12809,45 +13341,42 @@ size_t ContactMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContactMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ContactMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContactMessage::GetClassData() const { return &_class_data_; }
-void ContactMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ContactMessage *>(to)->MergeFrom(
- static_cast<const ContactMessage &>(from));
-}
-
-void ContactMessage::MergeFrom(const ContactMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ContactMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ContactMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ContactMessage*>(&to_msg);
+ auto& from = static_cast<const ContactMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ContactMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_displayname(from._internal_displayname());
+ _this->_internal_set_displayname(from._internal_displayname());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_vcard(from._internal_vcard());
+ _this->_internal_set_vcard(from._internal_vcard());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ContactMessage::CopyFrom(const ContactMessage& from) {
@@ -12866,22 +13395,20 @@ void ContactMessage::InternalSwap(ContactMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &displayname_, lhs_arena,
- &other->displayname_, rhs_arena
+ &_impl_.displayname_, lhs_arena,
+ &other->_impl_.displayname_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &vcard_, lhs_arena,
- &other->vcard_, rhs_arena
+ &_impl_.vcard_, lhs_arena,
+ &other->_impl_.vcard_, rhs_arena
);
- swap(contextinfo_, other->contextinfo_);
+ swap(_impl_.contextinfo_, other->_impl_.contextinfo_);
}
::PROTOBUF_NAMESPACE_ID::Metadata ContactMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[20]);
}
@@ -12890,7 +13417,7 @@ void ContactMessage::InternalSwap(ContactMessage* other) {
class LocationMessage::_Internal {
public:
- using HasBits = decltype(std::declval<LocationMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<LocationMessage>()._impl_._has_bits_);
static void set_has_degreeslatitude(HasBits* has_bits) {
(*has_bits)[0] |= 64u;
}
@@ -12932,259 +13459,311 @@ class LocationMessage::_Internal {
const ::proto::ContextInfo&
LocationMessage::_Internal::contextinfo(const LocationMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
LocationMessage::LocationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.LocationMessage)
}
LocationMessage::LocationMessage(const LocationMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ LocationMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.name_){}
+ , decltype(_impl_.address_){}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.comment_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.degreeslatitude_){}
+ , decltype(_impl_.degreeslongitude_){}
+ , decltype(_impl_.islive_){}
+ , decltype(_impl_.accuracyinmeters_){}
+ , decltype(_impl_.speedinmps_){}
+ , decltype(_impl_.degreesclockwisefrommagneticnorth_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.name_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.name_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_name()) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_name(),
- GetArenaForAllocation());
+ _this->_impl_.name_.Set(from._internal_name(),
+ _this->GetArenaForAllocation());
}
- address_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.address_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.address_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_address()) {
- address_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_address(),
- GetArenaForAllocation());
+ _this->_impl_.address_.Set(from._internal_address(),
+ _this->GetArenaForAllocation());
}
- url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_url()) {
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(),
- GetArenaForAllocation());
+ _this->_impl_.url_.Set(from._internal_url(),
+ _this->GetArenaForAllocation());
}
- comment_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.comment_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.comment_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_comment()) {
- comment_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_comment(),
- GetArenaForAllocation());
+ _this->_impl_.comment_.Set(from._internal_comment(),
+ _this->GetArenaForAllocation());
}
- jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_jpegthumbnail()) {
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_jpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.jpegthumbnail_.Set(from._internal_jpegthumbnail(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&degreeslatitude_, &from.degreeslatitude_,
- static_cast<size_t>(reinterpret_cast<char*>(&degreesclockwisefrommagneticnorth_) -
- reinterpret_cast<char*>(&degreeslatitude_)) + sizeof(degreesclockwisefrommagneticnorth_));
+ ::memcpy(&_impl_.degreeslatitude_, &from._impl_.degreeslatitude_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.degreesclockwisefrommagneticnorth_) -
+ reinterpret_cast<char*>(&_impl_.degreeslatitude_)) + sizeof(_impl_.degreesclockwisefrommagneticnorth_));
// @@protoc_insertion_point(copy_constructor:proto.LocationMessage)
}
-void LocationMessage::SharedCtor() {
-name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-address_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-comment_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&degreesclockwisefrommagneticnorth_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(degreesclockwisefrommagneticnorth_));
+inline void LocationMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.name_){}
+ , decltype(_impl_.address_){}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.comment_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.degreeslatitude_){0}
+ , decltype(_impl_.degreeslongitude_){0}
+ , decltype(_impl_.islive_){false}
+ , decltype(_impl_.accuracyinmeters_){0u}
+ , decltype(_impl_.speedinmps_){0}
+ , decltype(_impl_.degreesclockwisefrommagneticnorth_){0u}
+ };
+ _impl_.name_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.name_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.address_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.address_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.comment_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.comment_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
LocationMessage::~LocationMessage() {
// @@protoc_insertion_point(destructor:proto.LocationMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void LocationMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- address_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- comment_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- jpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.name_.Destroy();
+ _impl_.address_.Destroy();
+ _impl_.url_.Destroy();
+ _impl_.comment_.Destroy();
+ _impl_.jpegthumbnail_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void LocationMessage::ArenaDtor(void* object) {
- LocationMessage* _this = reinterpret_cast< LocationMessage* >(object);
- (void)_this;
-}
-void LocationMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void LocationMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void LocationMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.LocationMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000003fu) {
if (cached_has_bits & 0x00000001u) {
- name_.ClearNonDefaultToEmpty();
+ _impl_.name_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- address_.ClearNonDefaultToEmpty();
+ _impl_.address_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- url_.ClearNonDefaultToEmpty();
+ _impl_.url_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- comment_.ClearNonDefaultToEmpty();
+ _impl_.comment_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- jpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.jpegthumbnail_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
if (cached_has_bits & 0x000000c0u) {
- ::memset(&degreeslatitude_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&degreeslongitude_) -
- reinterpret_cast<char*>(&degreeslatitude_)) + sizeof(degreeslongitude_));
+ ::memset(&_impl_.degreeslatitude_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.degreeslongitude_) -
+ reinterpret_cast<char*>(&_impl_.degreeslatitude_)) + sizeof(_impl_.degreeslongitude_));
}
if (cached_has_bits & 0x00000f00u) {
- ::memset(&islive_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&degreesclockwisefrommagneticnorth_) -
- reinterpret_cast<char*>(&islive_)) + sizeof(degreesclockwisefrommagneticnorth_));
+ ::memset(&_impl_.islive_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.degreesclockwisefrommagneticnorth_) -
+ reinterpret_cast<char*>(&_impl_.islive_)) + sizeof(_impl_.degreesclockwisefrommagneticnorth_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* LocationMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* LocationMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional double degreesLatitude = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 9)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 9)) {
_Internal::set_has_degreeslatitude(&has_bits);
- degreeslatitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ _impl_.degreeslatitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else
goto handle_unusual;
continue;
// optional double degreesLongitude = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 17)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 17)) {
_Internal::set_has_degreeslongitude(&has_bits);
- degreeslongitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ _impl_.degreeslongitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else
goto handle_unusual;
continue;
// optional string name = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_name();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.LocationMessage.name");
+ ::_pbi::VerifyUTF8(str, "proto.LocationMessage.name");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string address = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_address();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.LocationMessage.address");
+ ::_pbi::VerifyUTF8(str, "proto.LocationMessage.address");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string url = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_url();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.LocationMessage.url");
+ ::_pbi::VerifyUTF8(str, "proto.LocationMessage.url");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool isLive = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
_Internal::set_has_islive(&has_bits);
- islive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.islive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 accuracyInMeters = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
_Internal::set_has_accuracyinmeters(&has_bits);
- accuracyinmeters_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.accuracyinmeters_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional float speedInMps = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 69)) {
_Internal::set_has_speedinmps(&has_bits);
- speedinmps_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
+ _impl_.speedinmps_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
ptr += sizeof(float);
} else
goto handle_unusual;
continue;
// optional uint32 degreesClockwiseFromMagneticNorth = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
_Internal::set_has_degreesclockwisefrommagneticnorth(&has_bits);
- degreesclockwisefrommagneticnorth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.degreesclockwisefrommagneticnorth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string comment = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
auto str = _internal_mutable_comment();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.LocationMessage.comment");
+ ::_pbi::VerifyUTF8(str, "proto.LocationMessage.comment");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes jpegThumbnail = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_jpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -13206,7 +13785,7 @@ const char* LocationMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -13214,23 +13793,23 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* LocationMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* LocationMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.LocationMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional double degreesLatitude = 1;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_degreeslatitude(), target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(1, this->_internal_degreeslatitude(), target);
}
// optional double degreesLongitude = 2;
if (cached_has_bits & 0x00000080u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_degreeslongitude(), target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(2, this->_internal_degreeslongitude(), target);
}
// optional string name = 3;
@@ -13266,25 +13845,25 @@ failure:
// optional bool isLive = 6;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_islive(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_islive(), target);
}
// optional uint32 accuracyInMeters = 7;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_accuracyinmeters(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_accuracyinmeters(), target);
}
// optional float speedInMps = 8;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_speedinmps(), target);
+ target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_speedinmps(), target);
}
// optional uint32 degreesClockwiseFromMagneticNorth = 9;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(9, this->_internal_degreesclockwisefrommagneticnorth(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_degreesclockwisefrommagneticnorth(), target);
}
// optional string comment = 11;
@@ -13305,14 +13884,13 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.LocationMessage)
@@ -13323,11 +13901,11 @@ size_t LocationMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.LocationMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string name = 3;
if (cached_has_bits & 0x00000001u) {
@@ -13368,7 +13946,7 @@ size_t LocationMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000020u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional double degreesLatitude = 1;
@@ -13390,7 +13968,7 @@ size_t LocationMessage::ByteSizeLong() const {
// optional uint32 accuracyInMeters = 7;
if (cached_has_bits & 0x00000200u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_accuracyinmeters());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accuracyinmeters());
}
// optional float speedInMps = 8;
@@ -13400,76 +13978,73 @@ size_t LocationMessage::ByteSizeLong() const {
// optional uint32 degreesClockwiseFromMagneticNorth = 9;
if (cached_has_bits & 0x00000800u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_degreesclockwisefrommagneticnorth());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_degreesclockwisefrommagneticnorth());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LocationMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
LocationMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LocationMessage::GetClassData() const { return &_class_data_; }
-void LocationMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<LocationMessage *>(to)->MergeFrom(
- static_cast<const LocationMessage &>(from));
-}
-
-void LocationMessage::MergeFrom(const LocationMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.LocationMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void LocationMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<LocationMessage*>(&to_msg);
+ auto& from = static_cast<const LocationMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.LocationMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_name(from._internal_name());
+ _this->_internal_set_name(from._internal_name());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_address(from._internal_address());
+ _this->_internal_set_address(from._internal_address());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_url(from._internal_url());
+ _this->_internal_set_url(from._internal_url());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_comment(from._internal_comment());
+ _this->_internal_set_comment(from._internal_comment());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_jpegthumbnail(from._internal_jpegthumbnail());
+ _this->_internal_set_jpegthumbnail(from._internal_jpegthumbnail());
}
if (cached_has_bits & 0x00000020u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000040u) {
- degreeslatitude_ = from.degreeslatitude_;
+ _this->_impl_.degreeslatitude_ = from._impl_.degreeslatitude_;
}
if (cached_has_bits & 0x00000080u) {
- degreeslongitude_ = from.degreeslongitude_;
+ _this->_impl_.degreeslongitude_ = from._impl_.degreeslongitude_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x00000f00u) {
if (cached_has_bits & 0x00000100u) {
- islive_ = from.islive_;
+ _this->_impl_.islive_ = from._impl_.islive_;
}
if (cached_has_bits & 0x00000200u) {
- accuracyinmeters_ = from.accuracyinmeters_;
+ _this->_impl_.accuracyinmeters_ = from._impl_.accuracyinmeters_;
}
if (cached_has_bits & 0x00000400u) {
- speedinmps_ = from.speedinmps_;
+ _this->_impl_.speedinmps_ = from._impl_.speedinmps_;
}
if (cached_has_bits & 0x00000800u) {
- degreesclockwisefrommagneticnorth_ = from.degreesclockwisefrommagneticnorth_;
+ _this->_impl_.degreesclockwisefrommagneticnorth_ = from._impl_.degreesclockwisefrommagneticnorth_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void LocationMessage::CopyFrom(const LocationMessage& from) {
@@ -13488,42 +14063,37 @@ void LocationMessage::InternalSwap(LocationMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &name_, lhs_arena,
- &other->name_, rhs_arena
+ &_impl_.name_, lhs_arena,
+ &other->_impl_.name_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &address_, lhs_arena,
- &other->address_, rhs_arena
+ &_impl_.address_, lhs_arena,
+ &other->_impl_.address_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &url_, lhs_arena,
- &other->url_, rhs_arena
+ &_impl_.url_, lhs_arena,
+ &other->_impl_.url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &comment_, lhs_arena,
- &other->comment_, rhs_arena
+ &_impl_.comment_, lhs_arena,
+ &other->_impl_.comment_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &jpegthumbnail_, lhs_arena,
- &other->jpegthumbnail_, rhs_arena
+ &_impl_.jpegthumbnail_, lhs_arena,
+ &other->_impl_.jpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(LocationMessage, degreesclockwisefrommagneticnorth_)
- + sizeof(LocationMessage::degreesclockwisefrommagneticnorth_)
- - PROTOBUF_FIELD_OFFSET(LocationMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(LocationMessage, _impl_.degreesclockwisefrommagneticnorth_)
+ + sizeof(LocationMessage::_impl_.degreesclockwisefrommagneticnorth_)
+ - PROTOBUF_FIELD_OFFSET(LocationMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata LocationMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[21]);
}
@@ -13532,7 +14102,7 @@ void LocationMessage::InternalSwap(LocationMessage* other) {
class ExtendedTextMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ExtendedTextMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ExtendedTextMessage>()._impl_._has_bits_);
static void set_has_text(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -13574,233 +14144,291 @@ class ExtendedTextMessage::_Internal {
const ::proto::ContextInfo&
ExtendedTextMessage::_Internal::contextinfo(const ExtendedTextMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
ExtendedTextMessage::ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ExtendedTextMessage)
}
ExtendedTextMessage::ExtendedTextMessage(const ExtendedTextMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ExtendedTextMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.text_){}
+ , decltype(_impl_.matchedtext_){}
+ , decltype(_impl_.canonicalurl_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.textargb_){}
+ , decltype(_impl_.backgroundargb_){}
+ , decltype(_impl_.font_){}
+ , decltype(_impl_.previewtype_){}
+ , decltype(_impl_.donotplayinline_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.text_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.text_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_text()) {
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_text(),
- GetArenaForAllocation());
+ _this->_impl_.text_.Set(from._internal_text(),
+ _this->GetArenaForAllocation());
}
- matchedtext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.matchedtext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.matchedtext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_matchedtext()) {
- matchedtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_matchedtext(),
- GetArenaForAllocation());
+ _this->_impl_.matchedtext_.Set(from._internal_matchedtext(),
+ _this->GetArenaForAllocation());
}
- canonicalurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.canonicalurl_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.canonicalurl_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_canonicalurl()) {
- canonicalurl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_canonicalurl(),
- GetArenaForAllocation());
+ _this->_impl_.canonicalurl_.Set(from._internal_canonicalurl(),
+ _this->GetArenaForAllocation());
}
- description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_description()) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_description(),
- GetArenaForAllocation());
+ _this->_impl_.description_.Set(from._internal_description(),
+ _this->GetArenaForAllocation());
}
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
- jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_jpegthumbnail()) {
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_jpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.jpegthumbnail_.Set(from._internal_jpegthumbnail(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&textargb_, &from.textargb_,
- static_cast<size_t>(reinterpret_cast<char*>(&donotplayinline_) -
- reinterpret_cast<char*>(&textargb_)) + sizeof(donotplayinline_));
+ ::memcpy(&_impl_.textargb_, &from._impl_.textargb_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.donotplayinline_) -
+ reinterpret_cast<char*>(&_impl_.textargb_)) + sizeof(_impl_.donotplayinline_));
// @@protoc_insertion_point(copy_constructor:proto.ExtendedTextMessage)
}
-void ExtendedTextMessage::SharedCtor() {
-text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-matchedtext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-canonicalurl_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&donotplayinline_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(donotplayinline_));
+inline void ExtendedTextMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.text_){}
+ , decltype(_impl_.matchedtext_){}
+ , decltype(_impl_.canonicalurl_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.textargb_){0u}
+ , decltype(_impl_.backgroundargb_){0u}
+ , decltype(_impl_.font_){0}
+ , decltype(_impl_.previewtype_){0}
+ , decltype(_impl_.donotplayinline_){false}
+ };
+ _impl_.text_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.text_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.matchedtext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.matchedtext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.canonicalurl_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.canonicalurl_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ExtendedTextMessage::~ExtendedTextMessage() {
// @@protoc_insertion_point(destructor:proto.ExtendedTextMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ExtendedTextMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- text_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- matchedtext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- canonicalurl_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- description_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- jpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.text_.Destroy();
+ _impl_.matchedtext_.Destroy();
+ _impl_.canonicalurl_.Destroy();
+ _impl_.description_.Destroy();
+ _impl_.title_.Destroy();
+ _impl_.jpegthumbnail_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void ExtendedTextMessage::ArenaDtor(void* object) {
- ExtendedTextMessage* _this = reinterpret_cast< ExtendedTextMessage* >(object);
- (void)_this;
-}
-void ExtendedTextMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ExtendedTextMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ExtendedTextMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ExtendedTextMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
if (cached_has_bits & 0x00000001u) {
- text_.ClearNonDefaultToEmpty();
+ _impl_.text_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- matchedtext_.ClearNonDefaultToEmpty();
+ _impl_.matchedtext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- canonicalurl_.ClearNonDefaultToEmpty();
+ _impl_.canonicalurl_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- description_.ClearNonDefaultToEmpty();
+ _impl_.description_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- jpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.jpegthumbnail_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- textargb_ = 0u;
+ _impl_.textargb_ = 0u;
if (cached_has_bits & 0x00000f00u) {
- ::memset(&backgroundargb_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&donotplayinline_) -
- reinterpret_cast<char*>(&backgroundargb_)) + sizeof(donotplayinline_));
+ ::memset(&_impl_.backgroundargb_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.donotplayinline_) -
+ reinterpret_cast<char*>(&_impl_.backgroundargb_)) + sizeof(_impl_.donotplayinline_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ExtendedTextMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ExtendedTextMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string text = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_text();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExtendedTextMessage.text");
+ ::_pbi::VerifyUTF8(str, "proto.ExtendedTextMessage.text");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string matchedText = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_matchedtext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExtendedTextMessage.matchedText");
+ ::_pbi::VerifyUTF8(str, "proto.ExtendedTextMessage.matchedText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string canonicalUrl = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_canonicalurl();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExtendedTextMessage.canonicalUrl");
+ ::_pbi::VerifyUTF8(str, "proto.ExtendedTextMessage.canonicalUrl");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string description = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_description();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExtendedTextMessage.description");
+ ::_pbi::VerifyUTF8(str, "proto.ExtendedTextMessage.description");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string title = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ExtendedTextMessage.title");
+ ::_pbi::VerifyUTF8(str, "proto.ExtendedTextMessage.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional fixed32 textArgb = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 61)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 61)) {
_Internal::set_has_textargb(&has_bits);
- textargb_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint32>(ptr);
- ptr += sizeof(::PROTOBUF_NAMESPACE_ID::uint32);
+ _impl_.textargb_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<uint32_t>(ptr);
+ ptr += sizeof(uint32_t);
} else
goto handle_unusual;
continue;
// optional fixed32 backgroundArgb = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 69)) {
_Internal::set_has_backgroundargb(&has_bits);
- backgroundargb_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint32>(ptr);
- ptr += sizeof(::PROTOBUF_NAMESPACE_ID::uint32);
+ _impl_.backgroundargb_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<uint32_t>(ptr);
+ ptr += sizeof(uint32_t);
} else
goto handle_unusual;
continue;
// optional .proto.ExtendedTextMessage.ExtendedTextMessageFontType font = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::ExtendedTextMessage_ExtendedTextMessageFontType_IsValid(val))) {
_internal_set_font(static_cast<::proto::ExtendedTextMessage_ExtendedTextMessageFontType>(val));
@@ -13812,8 +14440,8 @@ const char* ExtendedTextMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
continue;
// optional .proto.ExtendedTextMessage.ExtendedTextMessagePreviewType previewType = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType_IsValid(val))) {
_internal_set_previewtype(static_cast<::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType>(val));
@@ -13825,16 +14453,16 @@ const char* ExtendedTextMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
continue;
// optional bytes jpegThumbnail = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_jpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -13842,9 +14470,9 @@ const char* ExtendedTextMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
continue;
// optional bool doNotPlayInline = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 144)) {
_Internal::set_has_donotplayinline(&has_bits);
- donotplayinline_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.donotplayinline_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -13865,7 +14493,7 @@ const char* ExtendedTextMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -13873,13 +14501,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ExtendedTextMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ExtendedTextMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ExtendedTextMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string text = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -13933,26 +14561,26 @@ failure:
// optional fixed32 textArgb = 7;
if (cached_has_bits & 0x00000080u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFixed32ToArray(7, this->_internal_textargb(), target);
+ target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_textargb(), target);
}
// optional fixed32 backgroundArgb = 8;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFixed32ToArray(8, this->_internal_backgroundargb(), target);
+ target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_backgroundargb(), target);
}
// optional .proto.ExtendedTextMessage.ExtendedTextMessageFontType font = 9;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
9, this->_internal_font(), target);
}
// optional .proto.ExtendedTextMessage.ExtendedTextMessagePreviewType previewType = 10;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
10, this->_internal_previewtype(), target);
}
@@ -13964,20 +14592,19 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional bool doNotPlayInline = 18;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(18, this->_internal_donotplayinline(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_donotplayinline(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ExtendedTextMessage)
@@ -13988,11 +14615,11 @@ size_t ExtendedTextMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ExtendedTextMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string text = 1;
if (cached_has_bits & 0x00000001u) {
@@ -14040,7 +14667,7 @@ size_t ExtendedTextMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000040u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional fixed32 textArgb = 7;
@@ -14058,13 +14685,13 @@ size_t ExtendedTextMessage::ByteSizeLong() const {
// optional .proto.ExtendedTextMessage.ExtendedTextMessageFontType font = 9;
if (cached_has_bits & 0x00000200u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_font());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_font());
}
// optional .proto.ExtendedTextMessage.ExtendedTextMessagePreviewType previewType = 10;
if (cached_has_bits & 0x00000400u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_previewtype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_previewtype());
}
// optional bool doNotPlayInline = 18;
@@ -14073,72 +14700,69 @@ size_t ExtendedTextMessage::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExtendedTextMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ExtendedTextMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExtendedTextMessage::GetClassData() const { return &_class_data_; }
-void ExtendedTextMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ExtendedTextMessage *>(to)->MergeFrom(
- static_cast<const ExtendedTextMessage &>(from));
-}
-
-void ExtendedTextMessage::MergeFrom(const ExtendedTextMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ExtendedTextMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ExtendedTextMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ExtendedTextMessage*>(&to_msg);
+ auto& from = static_cast<const ExtendedTextMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ExtendedTextMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_text(from._internal_text());
+ _this->_internal_set_text(from._internal_text());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_matchedtext(from._internal_matchedtext());
+ _this->_internal_set_matchedtext(from._internal_matchedtext());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_canonicalurl(from._internal_canonicalurl());
+ _this->_internal_set_canonicalurl(from._internal_canonicalurl());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_description(from._internal_description());
+ _this->_internal_set_description(from._internal_description());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_jpegthumbnail(from._internal_jpegthumbnail());
+ _this->_internal_set_jpegthumbnail(from._internal_jpegthumbnail());
}
if (cached_has_bits & 0x00000040u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000080u) {
- textargb_ = from.textargb_;
+ _this->_impl_.textargb_ = from._impl_.textargb_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x00000f00u) {
if (cached_has_bits & 0x00000100u) {
- backgroundargb_ = from.backgroundargb_;
+ _this->_impl_.backgroundargb_ = from._impl_.backgroundargb_;
}
if (cached_has_bits & 0x00000200u) {
- font_ = from.font_;
+ _this->_impl_.font_ = from._impl_.font_;
}
if (cached_has_bits & 0x00000400u) {
- previewtype_ = from.previewtype_;
+ _this->_impl_.previewtype_ = from._impl_.previewtype_;
}
if (cached_has_bits & 0x00000800u) {
- donotplayinline_ = from.donotplayinline_;
+ _this->_impl_.donotplayinline_ = from._impl_.donotplayinline_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ExtendedTextMessage::CopyFrom(const ExtendedTextMessage& from) {
@@ -14157,47 +14781,41 @@ void ExtendedTextMessage::InternalSwap(ExtendedTextMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &text_, lhs_arena,
- &other->text_, rhs_arena
+ &_impl_.text_, lhs_arena,
+ &other->_impl_.text_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &matchedtext_, lhs_arena,
- &other->matchedtext_, rhs_arena
+ &_impl_.matchedtext_, lhs_arena,
+ &other->_impl_.matchedtext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &canonicalurl_, lhs_arena,
- &other->canonicalurl_, rhs_arena
+ &_impl_.canonicalurl_, lhs_arena,
+ &other->_impl_.canonicalurl_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &description_, lhs_arena,
- &other->description_, rhs_arena
+ &_impl_.description_, lhs_arena,
+ &other->_impl_.description_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &jpegthumbnail_, lhs_arena,
- &other->jpegthumbnail_, rhs_arena
+ &_impl_.jpegthumbnail_, lhs_arena,
+ &other->_impl_.jpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ExtendedTextMessage, donotplayinline_)
- + sizeof(ExtendedTextMessage::donotplayinline_)
- - PROTOBUF_FIELD_OFFSET(ExtendedTextMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(ExtendedTextMessage, _impl_.donotplayinline_)
+ + sizeof(ExtendedTextMessage::_impl_.donotplayinline_)
+ - PROTOBUF_FIELD_OFFSET(ExtendedTextMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata ExtendedTextMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[22]);
}
@@ -14206,7 +14824,7 @@ void ExtendedTextMessage::InternalSwap(ExtendedTextMessage* other) {
class DocumentMessage::_Internal {
public:
- using HasBits = decltype(std::declval<DocumentMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<DocumentMessage>()._impl_._has_bits_);
static void set_has_url(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -14269,382 +14887,490 @@ class DocumentMessage::_Internal {
const ::proto::ContextInfo&
DocumentMessage::_Internal::contextinfo(const DocumentMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
DocumentMessage::DocumentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.DocumentMessage)
}
DocumentMessage::DocumentMessage(const DocumentMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ DocumentMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.filename_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.thumbnaildirectpath_){}
+ , decltype(_impl_.thumbnailsha256_){}
+ , decltype(_impl_.thumbnailencsha256_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.filelength_){}
+ , decltype(_impl_.pagecount_){}
+ , decltype(_impl_.contactvcard_){}
+ , decltype(_impl_.mediakeytimestamp_){}
+ , decltype(_impl_.thumbnailheight_){}
+ , decltype(_impl_.thumbnailwidth_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_url()) {
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(),
- GetArenaForAllocation());
+ _this->_impl_.url_.Set(from._internal_url(),
+ _this->GetArenaForAllocation());
}
- mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mimetype()) {
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mimetype(),
- GetArenaForAllocation());
+ _this->_impl_.mimetype_.Set(from._internal_mimetype(),
+ _this->GetArenaForAllocation());
}
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
- filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_filesha256()) {
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_filesha256(),
- GetArenaForAllocation());
+ _this->_impl_.filesha256_.Set(from._internal_filesha256(),
+ _this->GetArenaForAllocation());
}
- mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mediakey()) {
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mediakey(),
- GetArenaForAllocation());
+ _this->_impl_.mediakey_.Set(from._internal_mediakey(),
+ _this->GetArenaForAllocation());
}
- filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.filename_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filename_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_filename()) {
- filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_filename(),
- GetArenaForAllocation());
+ _this->_impl_.filename_.Set(from._internal_filename(),
+ _this->GetArenaForAllocation());
}
- fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_fileencsha256()) {
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_fileencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.fileencsha256_.Set(from._internal_fileencsha256(),
+ _this->GetArenaForAllocation());
}
- directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_directpath()) {
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_directpath(),
- GetArenaForAllocation());
+ _this->_impl_.directpath_.Set(from._internal_directpath(),
+ _this->GetArenaForAllocation());
}
- thumbnaildirectpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnaildirectpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnaildirectpath()) {
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnaildirectpath(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnaildirectpath_.Set(from._internal_thumbnaildirectpath(),
+ _this->GetArenaForAllocation());
}
- thumbnailsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnailsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnailsha256()) {
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnailsha256(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnailsha256_.Set(from._internal_thumbnailsha256(),
+ _this->GetArenaForAllocation());
}
- thumbnailencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnailencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnailencsha256()) {
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnailencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnailencsha256_.Set(from._internal_thumbnailencsha256(),
+ _this->GetArenaForAllocation());
}
- jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_jpegthumbnail()) {
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_jpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.jpegthumbnail_.Set(from._internal_jpegthumbnail(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&filelength_, &from.filelength_,
- static_cast<size_t>(reinterpret_cast<char*>(&thumbnailwidth_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(thumbnailwidth_));
+ ::memcpy(&_impl_.filelength_, &from._impl_.filelength_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.thumbnailwidth_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.thumbnailwidth_));
// @@protoc_insertion_point(copy_constructor:proto.DocumentMessage)
}
-void DocumentMessage::SharedCtor() {
-url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnaildirectpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnailsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnailencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&thumbnailwidth_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(thumbnailwidth_));
+inline void DocumentMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.filename_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.thumbnaildirectpath_){}
+ , decltype(_impl_.thumbnailsha256_){}
+ , decltype(_impl_.thumbnailencsha256_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.filelength_){uint64_t{0u}}
+ , decltype(_impl_.pagecount_){0u}
+ , decltype(_impl_.contactvcard_){false}
+ , decltype(_impl_.mediakeytimestamp_){int64_t{0}}
+ , decltype(_impl_.thumbnailheight_){0u}
+ , decltype(_impl_.thumbnailwidth_){0u}
+ };
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filename_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filename_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
DocumentMessage::~DocumentMessage() {
// @@protoc_insertion_point(destructor:proto.DocumentMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void DocumentMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mimetype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- filesha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mediakey_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- fileencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- directpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnaildirectpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnailsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnailencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- jpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
-}
-
-void DocumentMessage::ArenaDtor(void* object) {
- DocumentMessage* _this = reinterpret_cast< DocumentMessage* >(object);
- (void)_this;
-}
-void DocumentMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
+ _impl_.url_.Destroy();
+ _impl_.mimetype_.Destroy();
+ _impl_.title_.Destroy();
+ _impl_.filesha256_.Destroy();
+ _impl_.mediakey_.Destroy();
+ _impl_.filename_.Destroy();
+ _impl_.fileencsha256_.Destroy();
+ _impl_.directpath_.Destroy();
+ _impl_.thumbnaildirectpath_.Destroy();
+ _impl_.thumbnailsha256_.Destroy();
+ _impl_.thumbnailencsha256_.Destroy();
+ _impl_.jpegthumbnail_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
+
void DocumentMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void DocumentMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.DocumentMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- url_.ClearNonDefaultToEmpty();
+ _impl_.url_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- mimetype_.ClearNonDefaultToEmpty();
+ _impl_.mimetype_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- filesha256_.ClearNonDefaultToEmpty();
+ _impl_.filesha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- mediakey_.ClearNonDefaultToEmpty();
+ _impl_.mediakey_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- filename_.ClearNonDefaultToEmpty();
+ _impl_.filename_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- fileencsha256_.ClearNonDefaultToEmpty();
+ _impl_.fileencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- directpath_.ClearNonDefaultToEmpty();
+ _impl_.directpath_.ClearNonDefaultToEmpty();
}
}
if (cached_has_bits & 0x00001f00u) {
if (cached_has_bits & 0x00000100u) {
- thumbnaildirectpath_.ClearNonDefaultToEmpty();
+ _impl_.thumbnaildirectpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000200u) {
- thumbnailsha256_.ClearNonDefaultToEmpty();
+ _impl_.thumbnailsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000400u) {
- thumbnailencsha256_.ClearNonDefaultToEmpty();
+ _impl_.thumbnailencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000800u) {
- jpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.jpegthumbnail_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00001000u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
if (cached_has_bits & 0x0000e000u) {
- ::memset(&filelength_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&contactvcard_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(contactvcard_));
+ ::memset(&_impl_.filelength_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.contactvcard_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.contactvcard_));
}
if (cached_has_bits & 0x00070000u) {
- ::memset(&mediakeytimestamp_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&thumbnailwidth_) -
- reinterpret_cast<char*>(&mediakeytimestamp_)) + sizeof(thumbnailwidth_));
+ ::memset(&_impl_.mediakeytimestamp_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.thumbnailwidth_) -
+ reinterpret_cast<char*>(&_impl_.mediakeytimestamp_)) + sizeof(_impl_.thumbnailwidth_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* DocumentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* DocumentMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string url = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_url();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.DocumentMessage.url");
+ ::_pbi::VerifyUTF8(str, "proto.DocumentMessage.url");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string mimetype = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_mimetype();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.DocumentMessage.mimetype");
+ ::_pbi::VerifyUTF8(str, "proto.DocumentMessage.mimetype");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string title = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.DocumentMessage.title");
+ ::_pbi::VerifyUTF8(str, "proto.DocumentMessage.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileSha256 = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_filesha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 fileLength = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_filelength(&has_bits);
- filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 pageCount = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
_Internal::set_has_pagecount(&has_bits);
- pagecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.pagecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes mediaKey = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_mediakey();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string fileName = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_filename();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.DocumentMessage.fileName");
+ ::_pbi::VerifyUTF8(str, "proto.DocumentMessage.fileName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileEncSha256 = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
auto str = _internal_mutable_fileencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string directPath = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
auto str = _internal_mutable_directpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.DocumentMessage.directPath");
+ ::_pbi::VerifyUTF8(str, "proto.DocumentMessage.directPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 mediaKeyTimestamp = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
_Internal::set_has_mediakeytimestamp(&has_bits);
- mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool contactVcard = 12;
case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
_Internal::set_has_contactvcard(&has_bits);
- contactvcard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.contactvcard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string thumbnailDirectPath = 13;
case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) {
auto str = _internal_mutable_thumbnaildirectpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.DocumentMessage.thumbnailDirectPath");
+ ::_pbi::VerifyUTF8(str, "proto.DocumentMessage.thumbnailDirectPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes thumbnailSha256 = 14;
case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 114)) {
auto str = _internal_mutable_thumbnailsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes thumbnailEncSha256 = 15;
case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) {
auto str = _internal_mutable_thumbnailencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes jpegThumbnail = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_jpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -14652,18 +15378,18 @@ const char* DocumentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional uint32 thumbnailHeight = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 144)) {
_Internal::set_has_thumbnailheight(&has_bits);
- thumbnailheight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.thumbnailheight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 thumbnailWidth = 19;
case 19:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 152)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 152)) {
_Internal::set_has_thumbnailwidth(&has_bits);
- thumbnailwidth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.thumbnailwidth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -14684,7 +15410,7 @@ const char* DocumentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -14692,13 +15418,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* DocumentMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* DocumentMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.DocumentMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -14738,13 +15464,13 @@ failure:
// optional uint64 fileLength = 5;
if (cached_has_bits & 0x00002000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(5, this->_internal_filelength(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_filelength(), target);
}
// optional uint32 pageCount = 6;
if (cached_has_bits & 0x00004000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_pagecount(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_pagecount(), target);
}
// optional bytes mediaKey = 7;
@@ -14782,13 +15508,13 @@ failure:
// optional int64 mediaKeyTimestamp = 11;
if (cached_has_bits & 0x00010000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(11, this->_internal_mediakeytimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(11, this->_internal_mediakeytimestamp(), target);
}
// optional bool contactVcard = 12;
if (cached_has_bits & 0x00008000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_contactvcard(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_contactvcard(), target);
}
// optional string thumbnailDirectPath = 13;
@@ -14821,26 +15547,25 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00001000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional uint32 thumbnailHeight = 18;
if (cached_has_bits & 0x00020000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(18, this->_internal_thumbnailheight(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_thumbnailheight(), target);
}
// optional uint32 thumbnailWidth = 19;
if (cached_has_bits & 0x00040000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(19, this->_internal_thumbnailwidth(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_thumbnailwidth(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.DocumentMessage)
@@ -14851,11 +15576,11 @@ size_t DocumentMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.DocumentMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
@@ -14947,17 +15672,17 @@ size_t DocumentMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00001000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional uint64 fileLength = 5;
if (cached_has_bits & 0x00002000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
}
// optional uint32 pageCount = 6;
if (cached_has_bits & 0x00004000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_pagecount());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pagecount());
}
// optional bool contactVcard = 12;
@@ -14969,113 +15694,110 @@ size_t DocumentMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00070000u) {
// optional int64 mediaKeyTimestamp = 11;
if (cached_has_bits & 0x00010000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
}
// optional uint32 thumbnailHeight = 18;
if (cached_has_bits & 0x00020000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_thumbnailheight());
}
// optional uint32 thumbnailWidth = 19;
if (cached_has_bits & 0x00040000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_thumbnailwidth());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DocumentMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
DocumentMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DocumentMessage::GetClassData() const { return &_class_data_; }
-void DocumentMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<DocumentMessage *>(to)->MergeFrom(
- static_cast<const DocumentMessage &>(from));
-}
-
-void DocumentMessage::MergeFrom(const DocumentMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.DocumentMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void DocumentMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<DocumentMessage*>(&to_msg);
+ auto& from = static_cast<const DocumentMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.DocumentMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_url(from._internal_url());
+ _this->_internal_set_url(from._internal_url());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_mimetype(from._internal_mimetype());
+ _this->_internal_set_mimetype(from._internal_mimetype());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_filesha256(from._internal_filesha256());
+ _this->_internal_set_filesha256(from._internal_filesha256());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_mediakey(from._internal_mediakey());
+ _this->_internal_set_mediakey(from._internal_mediakey());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_filename(from._internal_filename());
+ _this->_internal_set_filename(from._internal_filename());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_fileencsha256(from._internal_fileencsha256());
+ _this->_internal_set_fileencsha256(from._internal_fileencsha256());
}
if (cached_has_bits & 0x00000080u) {
- _internal_set_directpath(from._internal_directpath());
+ _this->_internal_set_directpath(from._internal_directpath());
}
}
if (cached_has_bits & 0x0000ff00u) {
if (cached_has_bits & 0x00000100u) {
- _internal_set_thumbnaildirectpath(from._internal_thumbnaildirectpath());
+ _this->_internal_set_thumbnaildirectpath(from._internal_thumbnaildirectpath());
}
if (cached_has_bits & 0x00000200u) {
- _internal_set_thumbnailsha256(from._internal_thumbnailsha256());
+ _this->_internal_set_thumbnailsha256(from._internal_thumbnailsha256());
}
if (cached_has_bits & 0x00000400u) {
- _internal_set_thumbnailencsha256(from._internal_thumbnailencsha256());
+ _this->_internal_set_thumbnailencsha256(from._internal_thumbnailencsha256());
}
if (cached_has_bits & 0x00000800u) {
- _internal_set_jpegthumbnail(from._internal_jpegthumbnail());
+ _this->_internal_set_jpegthumbnail(from._internal_jpegthumbnail());
}
if (cached_has_bits & 0x00001000u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00002000u) {
- filelength_ = from.filelength_;
+ _this->_impl_.filelength_ = from._impl_.filelength_;
}
if (cached_has_bits & 0x00004000u) {
- pagecount_ = from.pagecount_;
+ _this->_impl_.pagecount_ = from._impl_.pagecount_;
}
if (cached_has_bits & 0x00008000u) {
- contactvcard_ = from.contactvcard_;
+ _this->_impl_.contactvcard_ = from._impl_.contactvcard_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x00070000u) {
if (cached_has_bits & 0x00010000u) {
- mediakeytimestamp_ = from.mediakeytimestamp_;
+ _this->_impl_.mediakeytimestamp_ = from._impl_.mediakeytimestamp_;
}
if (cached_has_bits & 0x00020000u) {
- thumbnailheight_ = from.thumbnailheight_;
+ _this->_impl_.thumbnailheight_ = from._impl_.thumbnailheight_;
}
if (cached_has_bits & 0x00040000u) {
- thumbnailwidth_ = from.thumbnailwidth_;
+ _this->_impl_.thumbnailwidth_ = from._impl_.thumbnailwidth_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void DocumentMessage::CopyFrom(const DocumentMessage& from) {
@@ -15094,77 +15816,65 @@ void DocumentMessage::InternalSwap(DocumentMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &url_, lhs_arena,
- &other->url_, rhs_arena
+ &_impl_.url_, lhs_arena,
+ &other->_impl_.url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mimetype_, lhs_arena,
- &other->mimetype_, rhs_arena
+ &_impl_.mimetype_, lhs_arena,
+ &other->_impl_.mimetype_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &filesha256_, lhs_arena,
- &other->filesha256_, rhs_arena
+ &_impl_.filesha256_, lhs_arena,
+ &other->_impl_.filesha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mediakey_, lhs_arena,
- &other->mediakey_, rhs_arena
+ &_impl_.mediakey_, lhs_arena,
+ &other->_impl_.mediakey_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &filename_, lhs_arena,
- &other->filename_, rhs_arena
+ &_impl_.filename_, lhs_arena,
+ &other->_impl_.filename_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &fileencsha256_, lhs_arena,
- &other->fileencsha256_, rhs_arena
+ &_impl_.fileencsha256_, lhs_arena,
+ &other->_impl_.fileencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &directpath_, lhs_arena,
- &other->directpath_, rhs_arena
+ &_impl_.directpath_, lhs_arena,
+ &other->_impl_.directpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnaildirectpath_, lhs_arena,
- &other->thumbnaildirectpath_, rhs_arena
+ &_impl_.thumbnaildirectpath_, lhs_arena,
+ &other->_impl_.thumbnaildirectpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnailsha256_, lhs_arena,
- &other->thumbnailsha256_, rhs_arena
+ &_impl_.thumbnailsha256_, lhs_arena,
+ &other->_impl_.thumbnailsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnailencsha256_, lhs_arena,
- &other->thumbnailencsha256_, rhs_arena
+ &_impl_.thumbnailencsha256_, lhs_arena,
+ &other->_impl_.thumbnailencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &jpegthumbnail_, lhs_arena,
- &other->jpegthumbnail_, rhs_arena
+ &_impl_.jpegthumbnail_, lhs_arena,
+ &other->_impl_.jpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(DocumentMessage, thumbnailwidth_)
- + sizeof(DocumentMessage::thumbnailwidth_)
- - PROTOBUF_FIELD_OFFSET(DocumentMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(DocumentMessage, _impl_.thumbnailwidth_)
+ + sizeof(DocumentMessage::_impl_.thumbnailwidth_)
+ - PROTOBUF_FIELD_OFFSET(DocumentMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata DocumentMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[23]);
}
@@ -15173,7 +15883,7 @@ void DocumentMessage::InternalSwap(DocumentMessage* other) {
class AudioMessage::_Internal {
public:
- using HasBits = decltype(std::declval<AudioMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<AudioMessage>()._impl_._has_bits_);
static void set_has_url(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -15215,262 +15925,326 @@ class AudioMessage::_Internal {
const ::proto::ContextInfo&
AudioMessage::_Internal::contextinfo(const AudioMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
AudioMessage::AudioMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AudioMessage)
}
AudioMessage::AudioMessage(const AudioMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AudioMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.streamingsidecar_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.filelength_){}
+ , decltype(_impl_.seconds_){}
+ , decltype(_impl_.ptt_){}
+ , decltype(_impl_.mediakeytimestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_url()) {
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(),
- GetArenaForAllocation());
+ _this->_impl_.url_.Set(from._internal_url(),
+ _this->GetArenaForAllocation());
}
- mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mimetype()) {
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mimetype(),
- GetArenaForAllocation());
+ _this->_impl_.mimetype_.Set(from._internal_mimetype(),
+ _this->GetArenaForAllocation());
}
- filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_filesha256()) {
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_filesha256(),
- GetArenaForAllocation());
+ _this->_impl_.filesha256_.Set(from._internal_filesha256(),
+ _this->GetArenaForAllocation());
}
- mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mediakey()) {
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mediakey(),
- GetArenaForAllocation());
+ _this->_impl_.mediakey_.Set(from._internal_mediakey(),
+ _this->GetArenaForAllocation());
}
- fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_fileencsha256()) {
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_fileencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.fileencsha256_.Set(from._internal_fileencsha256(),
+ _this->GetArenaForAllocation());
}
- directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_directpath()) {
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_directpath(),
- GetArenaForAllocation());
+ _this->_impl_.directpath_.Set(from._internal_directpath(),
+ _this->GetArenaForAllocation());
}
- streamingsidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.streamingsidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.streamingsidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_streamingsidecar()) {
- streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_streamingsidecar(),
- GetArenaForAllocation());
+ _this->_impl_.streamingsidecar_.Set(from._internal_streamingsidecar(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&filelength_, &from.filelength_,
- static_cast<size_t>(reinterpret_cast<char*>(&mediakeytimestamp_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(mediakeytimestamp_));
+ ::memcpy(&_impl_.filelength_, &from._impl_.filelength_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mediakeytimestamp_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.mediakeytimestamp_));
// @@protoc_insertion_point(copy_constructor:proto.AudioMessage)
}
-void AudioMessage::SharedCtor() {
-url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-streamingsidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&mediakeytimestamp_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(mediakeytimestamp_));
+inline void AudioMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.streamingsidecar_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.filelength_){uint64_t{0u}}
+ , decltype(_impl_.seconds_){0u}
+ , decltype(_impl_.ptt_){false}
+ , decltype(_impl_.mediakeytimestamp_){int64_t{0}}
+ };
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.streamingsidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.streamingsidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
AudioMessage::~AudioMessage() {
// @@protoc_insertion_point(destructor:proto.AudioMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AudioMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mimetype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- filesha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mediakey_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- fileencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- directpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- streamingsidecar_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.url_.Destroy();
+ _impl_.mimetype_.Destroy();
+ _impl_.filesha256_.Destroy();
+ _impl_.mediakey_.Destroy();
+ _impl_.fileencsha256_.Destroy();
+ _impl_.directpath_.Destroy();
+ _impl_.streamingsidecar_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void AudioMessage::ArenaDtor(void* object) {
- AudioMessage* _this = reinterpret_cast< AudioMessage* >(object);
- (void)_this;
-}
-void AudioMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AudioMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AudioMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AudioMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- url_.ClearNonDefaultToEmpty();
+ _impl_.url_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- mimetype_.ClearNonDefaultToEmpty();
+ _impl_.mimetype_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- filesha256_.ClearNonDefaultToEmpty();
+ _impl_.filesha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- mediakey_.ClearNonDefaultToEmpty();
+ _impl_.mediakey_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- fileencsha256_.ClearNonDefaultToEmpty();
+ _impl_.fileencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- directpath_.ClearNonDefaultToEmpty();
+ _impl_.directpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- streamingsidecar_.ClearNonDefaultToEmpty();
+ _impl_.streamingsidecar_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
if (cached_has_bits & 0x00000f00u) {
- ::memset(&filelength_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&mediakeytimestamp_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(mediakeytimestamp_));
+ ::memset(&_impl_.filelength_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.mediakeytimestamp_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.mediakeytimestamp_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AudioMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AudioMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string url = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_url();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.AudioMessage.url");
+ ::_pbi::VerifyUTF8(str, "proto.AudioMessage.url");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string mimetype = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_mimetype();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.AudioMessage.mimetype");
+ ::_pbi::VerifyUTF8(str, "proto.AudioMessage.mimetype");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileSha256 = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_filesha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 fileLength = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
_Internal::set_has_filelength(&has_bits);
- filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 seconds = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_seconds(&has_bits);
- seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool ptt = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
_Internal::set_has_ptt(&has_bits);
- ptt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ptt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes mediaKey = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_mediakey();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileEncSha256 = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_fileencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string directPath = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
auto str = _internal_mutable_directpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.AudioMessage.directPath");
+ ::_pbi::VerifyUTF8(str, "proto.AudioMessage.directPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 mediaKeyTimestamp = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
_Internal::set_has_mediakeytimestamp(&has_bits);
- mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -15478,9 +16252,9 @@ const char* AudioMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional bytes streamingSidecar = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) {
auto str = _internal_mutable_streamingsidecar();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
@@ -15501,7 +16275,7 @@ const char* AudioMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -15509,13 +16283,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AudioMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AudioMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AudioMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -15545,19 +16319,19 @@ failure:
// optional uint64 fileLength = 4;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(4, this->_internal_filelength(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_filelength(), target);
}
// optional uint32 seconds = 5;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seconds(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seconds(), target);
}
// optional bool ptt = 6;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_ptt(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_ptt(), target);
}
// optional bytes mediaKey = 7;
@@ -15585,15 +16359,14 @@ failure:
// optional int64 mediaKeyTimestamp = 10;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(10, this->_internal_mediakeytimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(10, this->_internal_mediakeytimestamp(), target);
}
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional bytes streamingSidecar = 18;
@@ -15603,7 +16376,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AudioMessage)
@@ -15614,11 +16387,11 @@ size_t AudioMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AudioMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
@@ -15673,19 +16446,19 @@ size_t AudioMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000080u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
}
if (cached_has_bits & 0x00000f00u) {
// optional uint64 fileLength = 4;
if (cached_has_bits & 0x00000100u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
}
// optional uint32 seconds = 5;
if (cached_has_bits & 0x00000200u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds());
}
// optional bool ptt = 6;
@@ -15695,75 +16468,72 @@ size_t AudioMessage::ByteSizeLong() const {
// optional int64 mediaKeyTimestamp = 10;
if (cached_has_bits & 0x00000800u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AudioMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AudioMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AudioMessage::GetClassData() const { return &_class_data_; }
-void AudioMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AudioMessage *>(to)->MergeFrom(
- static_cast<const AudioMessage &>(from));
-}
-
-void AudioMessage::MergeFrom(const AudioMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AudioMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AudioMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AudioMessage*>(&to_msg);
+ auto& from = static_cast<const AudioMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AudioMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_url(from._internal_url());
+ _this->_internal_set_url(from._internal_url());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_mimetype(from._internal_mimetype());
+ _this->_internal_set_mimetype(from._internal_mimetype());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_filesha256(from._internal_filesha256());
+ _this->_internal_set_filesha256(from._internal_filesha256());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_mediakey(from._internal_mediakey());
+ _this->_internal_set_mediakey(from._internal_mediakey());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_fileencsha256(from._internal_fileencsha256());
+ _this->_internal_set_fileencsha256(from._internal_fileencsha256());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_directpath(from._internal_directpath());
+ _this->_internal_set_directpath(from._internal_directpath());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_streamingsidecar(from._internal_streamingsidecar());
+ _this->_internal_set_streamingsidecar(from._internal_streamingsidecar());
}
if (cached_has_bits & 0x00000080u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
}
if (cached_has_bits & 0x00000f00u) {
if (cached_has_bits & 0x00000100u) {
- filelength_ = from.filelength_;
+ _this->_impl_.filelength_ = from._impl_.filelength_;
}
if (cached_has_bits & 0x00000200u) {
- seconds_ = from.seconds_;
+ _this->_impl_.seconds_ = from._impl_.seconds_;
}
if (cached_has_bits & 0x00000400u) {
- ptt_ = from.ptt_;
+ _this->_impl_.ptt_ = from._impl_.ptt_;
}
if (cached_has_bits & 0x00000800u) {
- mediakeytimestamp_ = from.mediakeytimestamp_;
+ _this->_impl_.mediakeytimestamp_ = from._impl_.mediakeytimestamp_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AudioMessage::CopyFrom(const AudioMessage& from) {
@@ -15782,52 +16552,45 @@ void AudioMessage::InternalSwap(AudioMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &url_, lhs_arena,
- &other->url_, rhs_arena
+ &_impl_.url_, lhs_arena,
+ &other->_impl_.url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mimetype_, lhs_arena,
- &other->mimetype_, rhs_arena
+ &_impl_.mimetype_, lhs_arena,
+ &other->_impl_.mimetype_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &filesha256_, lhs_arena,
- &other->filesha256_, rhs_arena
+ &_impl_.filesha256_, lhs_arena,
+ &other->_impl_.filesha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mediakey_, lhs_arena,
- &other->mediakey_, rhs_arena
+ &_impl_.mediakey_, lhs_arena,
+ &other->_impl_.mediakey_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &fileencsha256_, lhs_arena,
- &other->fileencsha256_, rhs_arena
+ &_impl_.fileencsha256_, lhs_arena,
+ &other->_impl_.fileencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &directpath_, lhs_arena,
- &other->directpath_, rhs_arena
+ &_impl_.directpath_, lhs_arena,
+ &other->_impl_.directpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &streamingsidecar_, lhs_arena,
- &other->streamingsidecar_, rhs_arena
+ &_impl_.streamingsidecar_, lhs_arena,
+ &other->_impl_.streamingsidecar_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(AudioMessage, mediakeytimestamp_)
- + sizeof(AudioMessage::mediakeytimestamp_)
- - PROTOBUF_FIELD_OFFSET(AudioMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(AudioMessage, _impl_.mediakeytimestamp_)
+ + sizeof(AudioMessage::_impl_.mediakeytimestamp_)
+ - PROTOBUF_FIELD_OFFSET(AudioMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata AudioMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[24]);
}
@@ -15836,7 +16599,7 @@ void AudioMessage::InternalSwap(AudioMessage* other) {
class VideoMessage::_Internal {
public:
- using HasBits = decltype(std::declval<VideoMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<VideoMessage>()._impl_._has_bits_);
static void set_has_url(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -15905,331 +16668,444 @@ class VideoMessage::_Internal {
const ::proto::ContextInfo&
VideoMessage::_Internal::contextinfo(const VideoMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
VideoMessage::VideoMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- interactiveannotations_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.VideoMessage)
}
VideoMessage::VideoMessage(const VideoMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- interactiveannotations_(from.interactiveannotations_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ VideoMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.interactiveannotations_){from._impl_.interactiveannotations_}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.streamingsidecar_){}
+ , decltype(_impl_.thumbnaildirectpath_){}
+ , decltype(_impl_.thumbnailsha256_){}
+ , decltype(_impl_.thumbnailencsha256_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.filelength_){}
+ , decltype(_impl_.seconds_){}
+ , decltype(_impl_.height_){}
+ , decltype(_impl_.width_){}
+ , decltype(_impl_.gifplayback_){}
+ , decltype(_impl_.viewonce_){}
+ , decltype(_impl_.mediakeytimestamp_){}
+ , decltype(_impl_.gifattribution_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_url()) {
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(),
- GetArenaForAllocation());
+ _this->_impl_.url_.Set(from._internal_url(),
+ _this->GetArenaForAllocation());
}
- mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mimetype()) {
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mimetype(),
- GetArenaForAllocation());
+ _this->_impl_.mimetype_.Set(from._internal_mimetype(),
+ _this->GetArenaForAllocation());
}
- filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_filesha256()) {
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_filesha256(),
- GetArenaForAllocation());
+ _this->_impl_.filesha256_.Set(from._internal_filesha256(),
+ _this->GetArenaForAllocation());
}
- mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mediakey()) {
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mediakey(),
- GetArenaForAllocation());
+ _this->_impl_.mediakey_.Set(from._internal_mediakey(),
+ _this->GetArenaForAllocation());
}
- caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_caption()) {
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_caption(),
- GetArenaForAllocation());
+ _this->_impl_.caption_.Set(from._internal_caption(),
+ _this->GetArenaForAllocation());
}
- fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_fileencsha256()) {
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_fileencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.fileencsha256_.Set(from._internal_fileencsha256(),
+ _this->GetArenaForAllocation());
}
- directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_directpath()) {
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_directpath(),
- GetArenaForAllocation());
+ _this->_impl_.directpath_.Set(from._internal_directpath(),
+ _this->GetArenaForAllocation());
}
- jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_jpegthumbnail()) {
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_jpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.jpegthumbnail_.Set(from._internal_jpegthumbnail(),
+ _this->GetArenaForAllocation());
}
- streamingsidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.streamingsidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.streamingsidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_streamingsidecar()) {
- streamingsidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_streamingsidecar(),
- GetArenaForAllocation());
+ _this->_impl_.streamingsidecar_.Set(from._internal_streamingsidecar(),
+ _this->GetArenaForAllocation());
}
- thumbnaildirectpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnaildirectpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnaildirectpath()) {
- thumbnaildirectpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnaildirectpath(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnaildirectpath_.Set(from._internal_thumbnaildirectpath(),
+ _this->GetArenaForAllocation());
}
- thumbnailsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnailsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnailsha256()) {
- thumbnailsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnailsha256(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnailsha256_.Set(from._internal_thumbnailsha256(),
+ _this->GetArenaForAllocation());
}
- thumbnailencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnailencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnailencsha256()) {
- thumbnailencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnailencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnailencsha256_.Set(from._internal_thumbnailencsha256(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&filelength_, &from.filelength_,
- static_cast<size_t>(reinterpret_cast<char*>(&gifattribution_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(gifattribution_));
+ ::memcpy(&_impl_.filelength_, &from._impl_.filelength_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.gifattribution_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.gifattribution_));
// @@protoc_insertion_point(copy_constructor:proto.VideoMessage)
}
-void VideoMessage::SharedCtor() {
-url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-streamingsidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnaildirectpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnailsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnailencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&gifattribution_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(gifattribution_));
+inline void VideoMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.interactiveannotations_){arena}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.streamingsidecar_){}
+ , decltype(_impl_.thumbnaildirectpath_){}
+ , decltype(_impl_.thumbnailsha256_){}
+ , decltype(_impl_.thumbnailencsha256_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.filelength_){uint64_t{0u}}
+ , decltype(_impl_.seconds_){0u}
+ , decltype(_impl_.height_){0u}
+ , decltype(_impl_.width_){0u}
+ , decltype(_impl_.gifplayback_){false}
+ , decltype(_impl_.viewonce_){false}
+ , decltype(_impl_.mediakeytimestamp_){int64_t{0}}
+ , decltype(_impl_.gifattribution_){0}
+ };
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.streamingsidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.streamingsidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
VideoMessage::~VideoMessage() {
// @@protoc_insertion_point(destructor:proto.VideoMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void VideoMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mimetype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- filesha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mediakey_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- caption_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- fileencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- directpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- jpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- streamingsidecar_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnaildirectpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnailsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnailencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
-}
-
-void VideoMessage::ArenaDtor(void* object) {
- VideoMessage* _this = reinterpret_cast< VideoMessage* >(object);
- (void)_this;
-}
-void VideoMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
+ _impl_.interactiveannotations_.~RepeatedPtrField();
+ _impl_.url_.Destroy();
+ _impl_.mimetype_.Destroy();
+ _impl_.filesha256_.Destroy();
+ _impl_.mediakey_.Destroy();
+ _impl_.caption_.Destroy();
+ _impl_.fileencsha256_.Destroy();
+ _impl_.directpath_.Destroy();
+ _impl_.jpegthumbnail_.Destroy();
+ _impl_.streamingsidecar_.Destroy();
+ _impl_.thumbnaildirectpath_.Destroy();
+ _impl_.thumbnailsha256_.Destroy();
+ _impl_.thumbnailencsha256_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
+
void VideoMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void VideoMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.VideoMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- interactiveannotations_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.interactiveannotations_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- url_.ClearNonDefaultToEmpty();
+ _impl_.url_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- mimetype_.ClearNonDefaultToEmpty();
+ _impl_.mimetype_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- filesha256_.ClearNonDefaultToEmpty();
+ _impl_.filesha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- mediakey_.ClearNonDefaultToEmpty();
+ _impl_.mediakey_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- caption_.ClearNonDefaultToEmpty();
+ _impl_.caption_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- fileencsha256_.ClearNonDefaultToEmpty();
+ _impl_.fileencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- directpath_.ClearNonDefaultToEmpty();
+ _impl_.directpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- jpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.jpegthumbnail_.ClearNonDefaultToEmpty();
}
}
if (cached_has_bits & 0x00001f00u) {
if (cached_has_bits & 0x00000100u) {
- streamingsidecar_.ClearNonDefaultToEmpty();
+ _impl_.streamingsidecar_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000200u) {
- thumbnaildirectpath_.ClearNonDefaultToEmpty();
+ _impl_.thumbnaildirectpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000400u) {
- thumbnailsha256_.ClearNonDefaultToEmpty();
+ _impl_.thumbnailsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000800u) {
- thumbnailencsha256_.ClearNonDefaultToEmpty();
+ _impl_.thumbnailencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00001000u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
if (cached_has_bits & 0x0000e000u) {
- ::memset(&filelength_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&height_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(height_));
+ ::memset(&_impl_.filelength_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.height_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.height_));
}
if (cached_has_bits & 0x001f0000u) {
- ::memset(&width_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&gifattribution_) -
- reinterpret_cast<char*>(&width_)) + sizeof(gifattribution_));
+ ::memset(&_impl_.width_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.gifattribution_) -
+ reinterpret_cast<char*>(&_impl_.width_)) + sizeof(_impl_.gifattribution_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* VideoMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* VideoMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string url = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_url();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.VideoMessage.url");
+ ::_pbi::VerifyUTF8(str, "proto.VideoMessage.url");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string mimetype = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_mimetype();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.VideoMessage.mimetype");
+ ::_pbi::VerifyUTF8(str, "proto.VideoMessage.mimetype");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileSha256 = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_filesha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 fileLength = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
_Internal::set_has_filelength(&has_bits);
- filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 seconds = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_seconds(&has_bits);
- seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes mediaKey = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
auto str = _internal_mutable_mediakey();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string caption = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_caption();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.VideoMessage.caption");
+ ::_pbi::VerifyUTF8(str, "proto.VideoMessage.caption");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool gifPlayback = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 64)) {
_Internal::set_has_gifplayback(&has_bits);
- gifplayback_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.gifplayback_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 height = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
_Internal::set_has_height(&has_bits);
- height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 width = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
_Internal::set_has_width(&has_bits);
- width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileEncSha256 = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
auto str = _internal_mutable_fileencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .proto.InteractiveAnnotation interactiveAnnotations = 12;
case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) {
ptr -= 1;
do {
ptr += 1;
@@ -16242,37 +17118,37 @@ const char* VideoMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional string directPath = 13;
case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) {
auto str = _internal_mutable_directpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.VideoMessage.directPath");
+ ::_pbi::VerifyUTF8(str, "proto.VideoMessage.directPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 mediaKeyTimestamp = 14;
case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 112)) {
_Internal::set_has_mediakeytimestamp(&has_bits);
- mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes jpegThumbnail = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_jpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -16280,17 +17156,17 @@ const char* VideoMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional bytes streamingSidecar = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) {
auto str = _internal_mutable_streamingsidecar();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.VideoMessage.VideoMessageAttribution gifAttribution = 19;
case 19:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 152)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 152)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::VideoMessage_VideoMessageAttribution_IsValid(val))) {
_internal_set_gifattribution(static_cast<::proto::VideoMessage_VideoMessageAttribution>(val));
@@ -16302,39 +17178,39 @@ const char* VideoMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional bool viewOnce = 20;
case 20:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 160)) {
_Internal::set_has_viewonce(&has_bits);
- viewonce_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.viewonce_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string thumbnailDirectPath = 21;
case 21:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 170)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 170)) {
auto str = _internal_mutable_thumbnaildirectpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.VideoMessage.thumbnailDirectPath");
+ ::_pbi::VerifyUTF8(str, "proto.VideoMessage.thumbnailDirectPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes thumbnailSha256 = 22;
case 22:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 178)) {
auto str = _internal_mutable_thumbnailsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes thumbnailEncSha256 = 23;
case 23:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 186)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 186)) {
auto str = _internal_mutable_thumbnailencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
@@ -16355,7 +17231,7 @@ const char* VideoMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -16363,13 +17239,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* VideoMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* VideoMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.VideoMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -16399,13 +17275,13 @@ failure:
// optional uint64 fileLength = 4;
if (cached_has_bits & 0x00002000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(4, this->_internal_filelength(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_filelength(), target);
}
// optional uint32 seconds = 5;
if (cached_has_bits & 0x00004000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seconds(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seconds(), target);
}
// optional bytes mediaKey = 6;
@@ -16427,19 +17303,19 @@ failure:
// optional bool gifPlayback = 8;
if (cached_has_bits & 0x00020000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_gifplayback(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_gifplayback(), target);
}
// optional uint32 height = 9;
if (cached_has_bits & 0x00008000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(9, this->_internal_height(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_height(), target);
}
// optional uint32 width = 10;
if (cached_has_bits & 0x00010000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_width(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_width(), target);
}
// optional bytes fileEncSha256 = 11;
@@ -16449,11 +17325,11 @@ failure:
}
// repeated .proto.InteractiveAnnotation interactiveAnnotations = 12;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_interactiveannotations_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_interactiveannotations_size()); i < n; i++) {
+ const auto& repfield = this->_internal_interactiveannotations(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(12, this->_internal_interactiveannotations(i), target, stream);
+ InternalWriteMessage(12, repfield, repfield.GetCachedSize(), target, stream);
}
// optional string directPath = 13;
@@ -16469,7 +17345,7 @@ failure:
// optional int64 mediaKeyTimestamp = 14;
if (cached_has_bits & 0x00080000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(14, this->_internal_mediakeytimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(14, this->_internal_mediakeytimestamp(), target);
}
// optional bytes jpegThumbnail = 16;
@@ -16480,10 +17356,9 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00001000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional bytes streamingSidecar = 18;
@@ -16495,14 +17370,14 @@ failure:
// optional .proto.VideoMessage.VideoMessageAttribution gifAttribution = 19;
if (cached_has_bits & 0x00100000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
19, this->_internal_gifattribution(), target);
}
// optional bool viewOnce = 20;
if (cached_has_bits & 0x00040000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(20, this->_internal_viewonce(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(20, this->_internal_viewonce(), target);
}
// optional string thumbnailDirectPath = 21;
@@ -16528,7 +17403,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.VideoMessage)
@@ -16539,18 +17414,18 @@ size_t VideoMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.VideoMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.InteractiveAnnotation interactiveAnnotations = 12;
total_size += 1UL * this->_internal_interactiveannotations_size();
- for (const auto& msg : this->interactiveannotations_) {
+ for (const auto& msg : this->_impl_.interactiveannotations_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
@@ -16642,29 +17517,29 @@ size_t VideoMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00001000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional uint64 fileLength = 4;
if (cached_has_bits & 0x00002000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
}
// optional uint32 seconds = 5;
if (cached_has_bits & 0x00004000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds());
}
// optional uint32 height = 9;
if (cached_has_bits & 0x00008000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_height());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_height());
}
}
if (cached_has_bits & 0x001f0000u) {
// optional uint32 width = 10;
if (cached_has_bits & 0x00010000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
}
// optional bool gifPlayback = 8;
@@ -16679,112 +17554,109 @@ size_t VideoMessage::ByteSizeLong() const {
// optional int64 mediaKeyTimestamp = 14;
if (cached_has_bits & 0x00080000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
}
// optional .proto.VideoMessage.VideoMessageAttribution gifAttribution = 19;
if (cached_has_bits & 0x00100000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_gifattribution());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_gifattribution());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VideoMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
VideoMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VideoMessage::GetClassData() const { return &_class_data_; }
-void VideoMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<VideoMessage *>(to)->MergeFrom(
- static_cast<const VideoMessage &>(from));
-}
-
-void VideoMessage::MergeFrom(const VideoMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.VideoMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void VideoMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<VideoMessage*>(&to_msg);
+ auto& from = static_cast<const VideoMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.VideoMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- interactiveannotations_.MergeFrom(from.interactiveannotations_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.interactiveannotations_.MergeFrom(from._impl_.interactiveannotations_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_url(from._internal_url());
+ _this->_internal_set_url(from._internal_url());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_mimetype(from._internal_mimetype());
+ _this->_internal_set_mimetype(from._internal_mimetype());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_filesha256(from._internal_filesha256());
+ _this->_internal_set_filesha256(from._internal_filesha256());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_mediakey(from._internal_mediakey());
+ _this->_internal_set_mediakey(from._internal_mediakey());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_caption(from._internal_caption());
+ _this->_internal_set_caption(from._internal_caption());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_fileencsha256(from._internal_fileencsha256());
+ _this->_internal_set_fileencsha256(from._internal_fileencsha256());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_directpath(from._internal_directpath());
+ _this->_internal_set_directpath(from._internal_directpath());
}
if (cached_has_bits & 0x00000080u) {
- _internal_set_jpegthumbnail(from._internal_jpegthumbnail());
+ _this->_internal_set_jpegthumbnail(from._internal_jpegthumbnail());
}
}
if (cached_has_bits & 0x0000ff00u) {
if (cached_has_bits & 0x00000100u) {
- _internal_set_streamingsidecar(from._internal_streamingsidecar());
+ _this->_internal_set_streamingsidecar(from._internal_streamingsidecar());
}
if (cached_has_bits & 0x00000200u) {
- _internal_set_thumbnaildirectpath(from._internal_thumbnaildirectpath());
+ _this->_internal_set_thumbnaildirectpath(from._internal_thumbnaildirectpath());
}
if (cached_has_bits & 0x00000400u) {
- _internal_set_thumbnailsha256(from._internal_thumbnailsha256());
+ _this->_internal_set_thumbnailsha256(from._internal_thumbnailsha256());
}
if (cached_has_bits & 0x00000800u) {
- _internal_set_thumbnailencsha256(from._internal_thumbnailencsha256());
+ _this->_internal_set_thumbnailencsha256(from._internal_thumbnailencsha256());
}
if (cached_has_bits & 0x00001000u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00002000u) {
- filelength_ = from.filelength_;
+ _this->_impl_.filelength_ = from._impl_.filelength_;
}
if (cached_has_bits & 0x00004000u) {
- seconds_ = from.seconds_;
+ _this->_impl_.seconds_ = from._impl_.seconds_;
}
if (cached_has_bits & 0x00008000u) {
- height_ = from.height_;
+ _this->_impl_.height_ = from._impl_.height_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x001f0000u) {
if (cached_has_bits & 0x00010000u) {
- width_ = from.width_;
+ _this->_impl_.width_ = from._impl_.width_;
}
if (cached_has_bits & 0x00020000u) {
- gifplayback_ = from.gifplayback_;
+ _this->_impl_.gifplayback_ = from._impl_.gifplayback_;
}
if (cached_has_bits & 0x00040000u) {
- viewonce_ = from.viewonce_;
+ _this->_impl_.viewonce_ = from._impl_.viewonce_;
}
if (cached_has_bits & 0x00080000u) {
- mediakeytimestamp_ = from.mediakeytimestamp_;
+ _this->_impl_.mediakeytimestamp_ = from._impl_.mediakeytimestamp_;
}
if (cached_has_bits & 0x00100000u) {
- gifattribution_ = from.gifattribution_;
+ _this->_impl_.gifattribution_ = from._impl_.gifattribution_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void VideoMessage::CopyFrom(const VideoMessage& from) {
@@ -16803,78 +17675,66 @@ void VideoMessage::InternalSwap(VideoMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- interactiveannotations_.InternalSwap(&other->interactiveannotations_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.interactiveannotations_.InternalSwap(&other->_impl_.interactiveannotations_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &url_, lhs_arena,
- &other->url_, rhs_arena
+ &_impl_.url_, lhs_arena,
+ &other->_impl_.url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mimetype_, lhs_arena,
- &other->mimetype_, rhs_arena
+ &_impl_.mimetype_, lhs_arena,
+ &other->_impl_.mimetype_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &filesha256_, lhs_arena,
- &other->filesha256_, rhs_arena
+ &_impl_.filesha256_, lhs_arena,
+ &other->_impl_.filesha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mediakey_, lhs_arena,
- &other->mediakey_, rhs_arena
+ &_impl_.mediakey_, lhs_arena,
+ &other->_impl_.mediakey_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &caption_, lhs_arena,
- &other->caption_, rhs_arena
+ &_impl_.caption_, lhs_arena,
+ &other->_impl_.caption_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &fileencsha256_, lhs_arena,
- &other->fileencsha256_, rhs_arena
+ &_impl_.fileencsha256_, lhs_arena,
+ &other->_impl_.fileencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &directpath_, lhs_arena,
- &other->directpath_, rhs_arena
+ &_impl_.directpath_, lhs_arena,
+ &other->_impl_.directpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &jpegthumbnail_, lhs_arena,
- &other->jpegthumbnail_, rhs_arena
+ &_impl_.jpegthumbnail_, lhs_arena,
+ &other->_impl_.jpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &streamingsidecar_, lhs_arena,
- &other->streamingsidecar_, rhs_arena
+ &_impl_.streamingsidecar_, lhs_arena,
+ &other->_impl_.streamingsidecar_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnaildirectpath_, lhs_arena,
- &other->thumbnaildirectpath_, rhs_arena
+ &_impl_.thumbnaildirectpath_, lhs_arena,
+ &other->_impl_.thumbnaildirectpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnailsha256_, lhs_arena,
- &other->thumbnailsha256_, rhs_arena
+ &_impl_.thumbnailsha256_, lhs_arena,
+ &other->_impl_.thumbnailsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnailencsha256_, lhs_arena,
- &other->thumbnailencsha256_, rhs_arena
+ &_impl_.thumbnailencsha256_, lhs_arena,
+ &other->_impl_.thumbnailencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(VideoMessage, gifattribution_)
- + sizeof(VideoMessage::gifattribution_)
- - PROTOBUF_FIELD_OFFSET(VideoMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(VideoMessage, _impl_.gifattribution_)
+ + sizeof(VideoMessage::_impl_.gifattribution_)
+ - PROTOBUF_FIELD_OFFSET(VideoMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata VideoMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[25]);
}
@@ -16883,7 +17743,7 @@ void VideoMessage::InternalSwap(VideoMessage* other) {
class Call::_Internal {
public:
- using HasBits = decltype(std::declval<Call>()._has_bits_);
+ using HasBits = decltype(std::declval<Call>()._impl_._has_bits_);
static void set_has_callkey(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -16892,76 +17752,88 @@ class Call::_Internal {
Call::Call(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.Call)
}
Call::Call(const Call& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ Call* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.callkey_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- callkey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.callkey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.callkey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_callkey()) {
- callkey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_callkey(),
- GetArenaForAllocation());
+ _this->_impl_.callkey_.Set(from._internal_callkey(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.Call)
}
-void Call::SharedCtor() {
-callkey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void Call::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.callkey_){}
+ };
+ _impl_.callkey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.callkey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Call::~Call() {
// @@protoc_insertion_point(destructor:proto.Call)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void Call::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- callkey_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.callkey_.Destroy();
}
-void Call::ArenaDtor(void* object) {
- Call* _this = reinterpret_cast< Call* >(object);
- (void)_this;
-}
-void Call::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void Call::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void Call::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.Call)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- callkey_.ClearNonDefaultToEmpty();
+ _impl_.callkey_.ClearNonDefaultToEmpty();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* Call::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* Call::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional bytes callKey = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_callkey();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
@@ -16982,7 +17854,7 @@ const char* Call::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inter
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -16990,13 +17862,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* Call::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* Call::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.Call)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional bytes callKey = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->WriteBytesMaybeAliased(
@@ -17004,7 +17876,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.Call)
@@ -17015,44 +17887,40 @@ size_t Call::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.Call)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional bytes callKey = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
this->_internal_callkey());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Call::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
Call::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Call::GetClassData() const { return &_class_data_; }
-void Call::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<Call *>(to)->MergeFrom(
- static_cast<const Call &>(from));
-}
-
-void Call::MergeFrom(const Call& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.Call)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void Call::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<Call*>(&to_msg);
+ auto& from = static_cast<const Call&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.Call)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_callkey()) {
- _internal_set_callkey(from._internal_callkey());
+ _this->_internal_set_callkey(from._internal_callkey());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Call::CopyFrom(const Call& from) {
@@ -17071,16 +17939,15 @@ void Call::InternalSwap(Call* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &callkey_, lhs_arena,
- &other->callkey_, rhs_arena
+ &_impl_.callkey_, lhs_arena,
+ &other->_impl_.callkey_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata Call::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[26]);
}
@@ -17089,7 +17956,7 @@ void Call::InternalSwap(Call* other) {
class Chat::_Internal {
public:
- using HasBits = decltype(std::declval<Chat>()._has_bits_);
+ using HasBits = decltype(std::declval<Chat>()._impl_._has_bits_);
static void set_has_displayname(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -17101,104 +17968,124 @@ class Chat::_Internal {
Chat::Chat(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.Chat)
}
Chat::Chat(const Chat& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ Chat* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displayname_){}
+ , decltype(_impl_.id_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- displayname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displayname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_displayname()) {
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_displayname(),
- GetArenaForAllocation());
+ _this->_impl_.displayname_.Set(from._internal_displayname(),
+ _this->GetArenaForAllocation());
}
- id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.id_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_id()) {
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_id(),
- GetArenaForAllocation());
+ _this->_impl_.id_.Set(from._internal_id(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.Chat)
}
-void Chat::SharedCtor() {
-displayname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void Chat::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displayname_){}
+ , decltype(_impl_.id_){}
+ };
+ _impl_.displayname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Chat::~Chat() {
// @@protoc_insertion_point(destructor:proto.Chat)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void Chat::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- displayname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displayname_.Destroy();
+ _impl_.id_.Destroy();
}
-void Chat::ArenaDtor(void* object) {
- Chat* _this = reinterpret_cast< Chat* >(object);
- (void)_this;
-}
-void Chat::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void Chat::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void Chat::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.Chat)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- displayname_.ClearNonDefaultToEmpty();
+ _impl_.displayname_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- id_.ClearNonDefaultToEmpty();
+ _impl_.id_.ClearNonDefaultToEmpty();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* Chat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* Chat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string displayName = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_displayname();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Chat.displayName");
+ ::_pbi::VerifyUTF8(str, "proto.Chat.displayName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string id = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_id();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Chat.id");
+ ::_pbi::VerifyUTF8(str, "proto.Chat.id");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -17218,7 +18105,7 @@ const char* Chat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inter
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -17226,13 +18113,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* Chat::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* Chat::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.Chat)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string displayName = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -17254,7 +18141,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.Chat)
@@ -17265,11 +18152,11 @@ size_t Chat::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.Chat)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional string displayName = 1;
if (cached_has_bits & 0x00000001u) {
@@ -17286,38 +18173,34 @@ size_t Chat::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Chat::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
Chat::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Chat::GetClassData() const { return &_class_data_; }
-void Chat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<Chat *>(to)->MergeFrom(
- static_cast<const Chat &>(from));
-}
-
-void Chat::MergeFrom(const Chat& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.Chat)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void Chat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<Chat*>(&to_msg);
+ auto& from = static_cast<const Chat&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.Chat)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_displayname(from._internal_displayname());
+ _this->_internal_set_displayname(from._internal_displayname());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_id(from._internal_id());
+ _this->_internal_set_id(from._internal_id());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Chat::CopyFrom(const Chat& from) {
@@ -17336,21 +18219,19 @@ void Chat::InternalSwap(Chat* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &displayname_, lhs_arena,
- &other->displayname_, rhs_arena
+ &_impl_.displayname_, lhs_arena,
+ &other->_impl_.displayname_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &id_, lhs_arena,
- &other->id_, rhs_arena
+ &_impl_.id_, lhs_arena,
+ &other->_impl_.id_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata Chat::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[27]);
}
@@ -17359,7 +18240,7 @@ void Chat::InternalSwap(Chat* other) {
class ProtocolMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ProtocolMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ProtocolMessage>()._impl_._has_bits_);
static const ::proto::MessageKey& key(const ProtocolMessage* msg);
static void set_has_key(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -17397,164 +18278,170 @@ class ProtocolMessage::_Internal {
const ::proto::MessageKey&
ProtocolMessage::_Internal::key(const ProtocolMessage* msg) {
- return *msg->key_;
+ return *msg->_impl_.key_;
}
const ::proto::HistorySyncNotification&
ProtocolMessage::_Internal::historysyncnotification(const ProtocolMessage* msg) {
- return *msg->historysyncnotification_;
+ return *msg->_impl_.historysyncnotification_;
}
const ::proto::AppStateSyncKeyShare&
ProtocolMessage::_Internal::appstatesynckeyshare(const ProtocolMessage* msg) {
- return *msg->appstatesynckeyshare_;
+ return *msg->_impl_.appstatesynckeyshare_;
}
const ::proto::AppStateSyncKeyRequest&
ProtocolMessage::_Internal::appstatesynckeyrequest(const ProtocolMessage* msg) {
- return *msg->appstatesynckeyrequest_;
+ return *msg->_impl_.appstatesynckeyrequest_;
}
const ::proto::InitialSecurityNotificationSettingSync&
ProtocolMessage::_Internal::initialsecuritynotificationsettingsync(const ProtocolMessage* msg) {
- return *msg->initialsecuritynotificationsettingsync_;
+ return *msg->_impl_.initialsecuritynotificationsettingsync_;
}
const ::proto::AppStateFatalExceptionNotification&
ProtocolMessage::_Internal::appstatefatalexceptionnotification(const ProtocolMessage* msg) {
- return *msg->appstatefatalexceptionnotification_;
+ return *msg->_impl_.appstatefatalexceptionnotification_;
}
ProtocolMessage::ProtocolMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ProtocolMessage)
}
ProtocolMessage::ProtocolMessage(const ProtocolMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ProtocolMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.key_){nullptr}
+ , decltype(_impl_.historysyncnotification_){nullptr}
+ , decltype(_impl_.appstatesynckeyshare_){nullptr}
+ , decltype(_impl_.appstatesynckeyrequest_){nullptr}
+ , decltype(_impl_.initialsecuritynotificationsettingsync_){nullptr}
+ , decltype(_impl_.appstatefatalexceptionnotification_){nullptr}
+ , decltype(_impl_.type_){}
+ , decltype(_impl_.ephemeralexpiration_){}
+ , decltype(_impl_.ephemeralsettingtimestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_key()) {
- key_ = new ::proto::MessageKey(*from.key_);
- } else {
- key_ = nullptr;
+ _this->_impl_.key_ = new ::proto::MessageKey(*from._impl_.key_);
}
if (from._internal_has_historysyncnotification()) {
- historysyncnotification_ = new ::proto::HistorySyncNotification(*from.historysyncnotification_);
- } else {
- historysyncnotification_ = nullptr;
+ _this->_impl_.historysyncnotification_ = new ::proto::HistorySyncNotification(*from._impl_.historysyncnotification_);
}
if (from._internal_has_appstatesynckeyshare()) {
- appstatesynckeyshare_ = new ::proto::AppStateSyncKeyShare(*from.appstatesynckeyshare_);
- } else {
- appstatesynckeyshare_ = nullptr;
+ _this->_impl_.appstatesynckeyshare_ = new ::proto::AppStateSyncKeyShare(*from._impl_.appstatesynckeyshare_);
}
if (from._internal_has_appstatesynckeyrequest()) {
- appstatesynckeyrequest_ = new ::proto::AppStateSyncKeyRequest(*from.appstatesynckeyrequest_);
- } else {
- appstatesynckeyrequest_ = nullptr;
+ _this->_impl_.appstatesynckeyrequest_ = new ::proto::AppStateSyncKeyRequest(*from._impl_.appstatesynckeyrequest_);
}
if (from._internal_has_initialsecuritynotificationsettingsync()) {
- initialsecuritynotificationsettingsync_ = new ::proto::InitialSecurityNotificationSettingSync(*from.initialsecuritynotificationsettingsync_);
- } else {
- initialsecuritynotificationsettingsync_ = nullptr;
+ _this->_impl_.initialsecuritynotificationsettingsync_ = new ::proto::InitialSecurityNotificationSettingSync(*from._impl_.initialsecuritynotificationsettingsync_);
}
if (from._internal_has_appstatefatalexceptionnotification()) {
- appstatefatalexceptionnotification_ = new ::proto::AppStateFatalExceptionNotification(*from.appstatefatalexceptionnotification_);
- } else {
- appstatefatalexceptionnotification_ = nullptr;
+ _this->_impl_.appstatefatalexceptionnotification_ = new ::proto::AppStateFatalExceptionNotification(*from._impl_.appstatefatalexceptionnotification_);
}
- ::memcpy(&type_, &from.type_,
- static_cast<size_t>(reinterpret_cast<char*>(&ephemeralsettingtimestamp_) -
- reinterpret_cast<char*>(&type_)) + sizeof(ephemeralsettingtimestamp_));
+ ::memcpy(&_impl_.type_, &from._impl_.type_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ephemeralsettingtimestamp_) -
+ reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.ephemeralsettingtimestamp_));
// @@protoc_insertion_point(copy_constructor:proto.ProtocolMessage)
}
-void ProtocolMessage::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&key_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&ephemeralsettingtimestamp_) -
- reinterpret_cast<char*>(&key_)) + sizeof(ephemeralsettingtimestamp_));
+inline void ProtocolMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.key_){nullptr}
+ , decltype(_impl_.historysyncnotification_){nullptr}
+ , decltype(_impl_.appstatesynckeyshare_){nullptr}
+ , decltype(_impl_.appstatesynckeyrequest_){nullptr}
+ , decltype(_impl_.initialsecuritynotificationsettingsync_){nullptr}
+ , decltype(_impl_.appstatefatalexceptionnotification_){nullptr}
+ , decltype(_impl_.type_){0}
+ , decltype(_impl_.ephemeralexpiration_){0u}
+ , decltype(_impl_.ephemeralsettingtimestamp_){int64_t{0}}
+ };
}
ProtocolMessage::~ProtocolMessage() {
// @@protoc_insertion_point(destructor:proto.ProtocolMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ProtocolMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete key_;
- if (this != internal_default_instance()) delete historysyncnotification_;
- if (this != internal_default_instance()) delete appstatesynckeyshare_;
- if (this != internal_default_instance()) delete appstatesynckeyrequest_;
- if (this != internal_default_instance()) delete initialsecuritynotificationsettingsync_;
- if (this != internal_default_instance()) delete appstatefatalexceptionnotification_;
+ if (this != internal_default_instance()) delete _impl_.key_;
+ if (this != internal_default_instance()) delete _impl_.historysyncnotification_;
+ if (this != internal_default_instance()) delete _impl_.appstatesynckeyshare_;
+ if (this != internal_default_instance()) delete _impl_.appstatesynckeyrequest_;
+ if (this != internal_default_instance()) delete _impl_.initialsecuritynotificationsettingsync_;
+ if (this != internal_default_instance()) delete _impl_.appstatefatalexceptionnotification_;
}
-void ProtocolMessage::ArenaDtor(void* object) {
- ProtocolMessage* _this = reinterpret_cast< ProtocolMessage* >(object);
- (void)_this;
-}
-void ProtocolMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ProtocolMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ProtocolMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ProtocolMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000003fu) {
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(key_ != nullptr);
- key_->Clear();
+ GOOGLE_DCHECK(_impl_.key_ != nullptr);
+ _impl_.key_->Clear();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(historysyncnotification_ != nullptr);
- historysyncnotification_->Clear();
+ GOOGLE_DCHECK(_impl_.historysyncnotification_ != nullptr);
+ _impl_.historysyncnotification_->Clear();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(appstatesynckeyshare_ != nullptr);
- appstatesynckeyshare_->Clear();
+ GOOGLE_DCHECK(_impl_.appstatesynckeyshare_ != nullptr);
+ _impl_.appstatesynckeyshare_->Clear();
}
if (cached_has_bits & 0x00000008u) {
- GOOGLE_DCHECK(appstatesynckeyrequest_ != nullptr);
- appstatesynckeyrequest_->Clear();
+ GOOGLE_DCHECK(_impl_.appstatesynckeyrequest_ != nullptr);
+ _impl_.appstatesynckeyrequest_->Clear();
}
if (cached_has_bits & 0x00000010u) {
- GOOGLE_DCHECK(initialsecuritynotificationsettingsync_ != nullptr);
- initialsecuritynotificationsettingsync_->Clear();
+ GOOGLE_DCHECK(_impl_.initialsecuritynotificationsettingsync_ != nullptr);
+ _impl_.initialsecuritynotificationsettingsync_->Clear();
}
if (cached_has_bits & 0x00000020u) {
- GOOGLE_DCHECK(appstatefatalexceptionnotification_ != nullptr);
- appstatefatalexceptionnotification_->Clear();
+ GOOGLE_DCHECK(_impl_.appstatefatalexceptionnotification_ != nullptr);
+ _impl_.appstatefatalexceptionnotification_->Clear();
}
}
if (cached_has_bits & 0x000000c0u) {
- ::memset(&type_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&ephemeralexpiration_) -
- reinterpret_cast<char*>(&type_)) + sizeof(ephemeralexpiration_));
+ ::memset(&_impl_.type_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.ephemeralexpiration_) -
+ reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.ephemeralexpiration_));
}
- ephemeralsettingtimestamp_ = int64_t{0};
- _has_bits_.Clear();
+ _impl_.ephemeralsettingtimestamp_ = int64_t{0};
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ProtocolMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ProtocolMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.MessageKey key = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_key(), ptr);
CHK_(ptr);
} else
@@ -17562,8 +18449,8 @@ const char* ProtocolMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.ProtocolMessage.ProtocolMessageType type = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::ProtocolMessage_ProtocolMessageType_IsValid(val))) {
_internal_set_type(static_cast<::proto::ProtocolMessage_ProtocolMessageType>(val));
@@ -17575,25 +18462,25 @@ const char* ProtocolMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional uint32 ephemeralExpiration = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
_Internal::set_has_ephemeralexpiration(&has_bits);
- ephemeralexpiration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.ephemeralexpiration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 ephemeralSettingTimestamp = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_ephemeralsettingtimestamp(&has_bits);
- ephemeralsettingtimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ephemeralsettingtimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.HistorySyncNotification historySyncNotification = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
ptr = ctx->ParseMessage(_internal_mutable_historysyncnotification(), ptr);
CHK_(ptr);
} else
@@ -17601,7 +18488,7 @@ const char* ProtocolMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.AppStateSyncKeyShare appStateSyncKeyShare = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
ptr = ctx->ParseMessage(_internal_mutable_appstatesynckeyshare(), ptr);
CHK_(ptr);
} else
@@ -17609,7 +18496,7 @@ const char* ProtocolMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.AppStateSyncKeyRequest appStateSyncKeyRequest = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
ptr = ctx->ParseMessage(_internal_mutable_appstatesynckeyrequest(), ptr);
CHK_(ptr);
} else
@@ -17617,7 +18504,7 @@ const char* ProtocolMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
ptr = ctx->ParseMessage(_internal_mutable_initialsecuritynotificationsettingsync(), ptr);
CHK_(ptr);
} else
@@ -17625,7 +18512,7 @@ const char* ProtocolMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
ptr = ctx->ParseMessage(_internal_mutable_appstatefatalexceptionnotification(), ptr);
CHK_(ptr);
} else
@@ -17647,7 +18534,7 @@ const char* ProtocolMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -17655,82 +18542,76 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ProtocolMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ProtocolMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ProtocolMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.MessageKey key = 1;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::key(this), target, stream);
+ InternalWriteMessage(1, _Internal::key(this),
+ _Internal::key(this).GetCachedSize(), target, stream);
}
// optional .proto.ProtocolMessage.ProtocolMessageType type = 2;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
2, this->_internal_type(), target);
}
// optional uint32 ephemeralExpiration = 4;
if (cached_has_bits & 0x00000080u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ephemeralexpiration(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ephemeralexpiration(), target);
}
// optional int64 ephemeralSettingTimestamp = 5;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_ephemeralsettingtimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_ephemeralsettingtimestamp(), target);
}
// optional .proto.HistorySyncNotification historySyncNotification = 6;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 6, _Internal::historysyncnotification(this), target, stream);
+ InternalWriteMessage(6, _Internal::historysyncnotification(this),
+ _Internal::historysyncnotification(this).GetCachedSize(), target, stream);
}
// optional .proto.AppStateSyncKeyShare appStateSyncKeyShare = 7;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 7, _Internal::appstatesynckeyshare(this), target, stream);
+ InternalWriteMessage(7, _Internal::appstatesynckeyshare(this),
+ _Internal::appstatesynckeyshare(this).GetCachedSize(), target, stream);
}
// optional .proto.AppStateSyncKeyRequest appStateSyncKeyRequest = 8;
if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 8, _Internal::appstatesynckeyrequest(this), target, stream);
+ InternalWriteMessage(8, _Internal::appstatesynckeyrequest(this),
+ _Internal::appstatesynckeyrequest(this).GetCachedSize(), target, stream);
}
// optional .proto.InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9;
if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 9, _Internal::initialsecuritynotificationsettingsync(this), target, stream);
+ InternalWriteMessage(9, _Internal::initialsecuritynotificationsettingsync(this),
+ _Internal::initialsecuritynotificationsettingsync(this).GetCachedSize(), target, stream);
}
// optional .proto.AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10;
if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 10, _Internal::appstatefatalexceptionnotification(this), target, stream);
+ InternalWriteMessage(10, _Internal::appstatefatalexceptionnotification(this),
+ _Internal::appstatefatalexceptionnotification(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ProtocolMessage)
@@ -17741,125 +18622,127 @@ size_t ProtocolMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ProtocolMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional .proto.MessageKey key = 1;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *key_);
+ *_impl_.key_);
}
// optional .proto.HistorySyncNotification historySyncNotification = 6;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *historysyncnotification_);
+ *_impl_.historysyncnotification_);
}
// optional .proto.AppStateSyncKeyShare appStateSyncKeyShare = 7;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *appstatesynckeyshare_);
+ *_impl_.appstatesynckeyshare_);
}
// optional .proto.AppStateSyncKeyRequest appStateSyncKeyRequest = 8;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *appstatesynckeyrequest_);
+ *_impl_.appstatesynckeyrequest_);
}
// optional .proto.InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9;
if (cached_has_bits & 0x00000010u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *initialsecuritynotificationsettingsync_);
+ *_impl_.initialsecuritynotificationsettingsync_);
}
// optional .proto.AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10;
if (cached_has_bits & 0x00000020u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *appstatefatalexceptionnotification_);
+ *_impl_.appstatefatalexceptionnotification_);
}
// optional .proto.ProtocolMessage.ProtocolMessageType type = 2;
if (cached_has_bits & 0x00000040u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
}
// optional uint32 ephemeralExpiration = 4;
if (cached_has_bits & 0x00000080u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_ephemeralexpiration());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ephemeralexpiration());
}
}
// optional int64 ephemeralSettingTimestamp = 5;
if (cached_has_bits & 0x00000100u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_ephemeralsettingtimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_ephemeralsettingtimestamp());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProtocolMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ProtocolMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProtocolMessage::GetClassData() const { return &_class_data_; }
-void ProtocolMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ProtocolMessage *>(to)->MergeFrom(
- static_cast<const ProtocolMessage &>(from));
-}
-
-void ProtocolMessage::MergeFrom(const ProtocolMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ProtocolMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ProtocolMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ProtocolMessage*>(&to_msg);
+ auto& from = static_cast<const ProtocolMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ProtocolMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_mutable_key()->::proto::MessageKey::MergeFrom(from._internal_key());
+ _this->_internal_mutable_key()->::proto::MessageKey::MergeFrom(
+ from._internal_key());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_historysyncnotification()->::proto::HistorySyncNotification::MergeFrom(from._internal_historysyncnotification());
+ _this->_internal_mutable_historysyncnotification()->::proto::HistorySyncNotification::MergeFrom(
+ from._internal_historysyncnotification());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_appstatesynckeyshare()->::proto::AppStateSyncKeyShare::MergeFrom(from._internal_appstatesynckeyshare());
+ _this->_internal_mutable_appstatesynckeyshare()->::proto::AppStateSyncKeyShare::MergeFrom(
+ from._internal_appstatesynckeyshare());
}
if (cached_has_bits & 0x00000008u) {
- _internal_mutable_appstatesynckeyrequest()->::proto::AppStateSyncKeyRequest::MergeFrom(from._internal_appstatesynckeyrequest());
+ _this->_internal_mutable_appstatesynckeyrequest()->::proto::AppStateSyncKeyRequest::MergeFrom(
+ from._internal_appstatesynckeyrequest());
}
if (cached_has_bits & 0x00000010u) {
- _internal_mutable_initialsecuritynotificationsettingsync()->::proto::InitialSecurityNotificationSettingSync::MergeFrom(from._internal_initialsecuritynotificationsettingsync());
+ _this->_internal_mutable_initialsecuritynotificationsettingsync()->::proto::InitialSecurityNotificationSettingSync::MergeFrom(
+ from._internal_initialsecuritynotificationsettingsync());
}
if (cached_has_bits & 0x00000020u) {
- _internal_mutable_appstatefatalexceptionnotification()->::proto::AppStateFatalExceptionNotification::MergeFrom(from._internal_appstatefatalexceptionnotification());
+ _this->_internal_mutable_appstatefatalexceptionnotification()->::proto::AppStateFatalExceptionNotification::MergeFrom(
+ from._internal_appstatefatalexceptionnotification());
}
if (cached_has_bits & 0x00000040u) {
- type_ = from.type_;
+ _this->_impl_.type_ = from._impl_.type_;
}
if (cached_has_bits & 0x00000080u) {
- ephemeralexpiration_ = from.ephemeralexpiration_;
+ _this->_impl_.ephemeralexpiration_ = from._impl_.ephemeralexpiration_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x00000100u) {
- _internal_set_ephemeralsettingtimestamp(from._internal_ephemeralsettingtimestamp());
+ _this->_internal_set_ephemeralsettingtimestamp(from._internal_ephemeralsettingtimestamp());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ProtocolMessage::CopyFrom(const ProtocolMessage& from) {
@@ -17876,17 +18759,17 @@ bool ProtocolMessage::IsInitialized() const {
void ProtocolMessage::InternalSwap(ProtocolMessage* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ProtocolMessage, ephemeralsettingtimestamp_)
- + sizeof(ProtocolMessage::ephemeralsettingtimestamp_)
- - PROTOBUF_FIELD_OFFSET(ProtocolMessage, key_)>(
- reinterpret_cast<char*>(&key_),
- reinterpret_cast<char*>(&other->key_));
+ PROTOBUF_FIELD_OFFSET(ProtocolMessage, _impl_.ephemeralsettingtimestamp_)
+ + sizeof(ProtocolMessage::_impl_.ephemeralsettingtimestamp_)
+ - PROTOBUF_FIELD_OFFSET(ProtocolMessage, _impl_.key_)>(
+ reinterpret_cast<char*>(&_impl_.key_),
+ reinterpret_cast<char*>(&other->_impl_.key_));
}
::PROTOBUF_NAMESPACE_ID::Metadata ProtocolMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[28]);
}
@@ -17895,7 +18778,7 @@ void ProtocolMessage::InternalSwap(ProtocolMessage* other) {
class HistorySyncNotification::_Internal {
public:
- using HasBits = decltype(std::declval<HistorySyncNotification>()._has_bits_);
+ using HasBits = decltype(std::declval<HistorySyncNotification>()._impl_._has_bits_);
static void set_has_filesha256(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -17925,177 +18808,223 @@ class HistorySyncNotification::_Internal {
HistorySyncNotification::HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HistorySyncNotification)
}
HistorySyncNotification::HistorySyncNotification(const HistorySyncNotification& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HistorySyncNotification* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.originalmessageid_){}
+ , decltype(_impl_.filelength_){}
+ , decltype(_impl_.synctype_){}
+ , decltype(_impl_.chunkorder_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_filesha256()) {
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_filesha256(),
- GetArenaForAllocation());
+ _this->_impl_.filesha256_.Set(from._internal_filesha256(),
+ _this->GetArenaForAllocation());
}
- mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mediakey()) {
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mediakey(),
- GetArenaForAllocation());
+ _this->_impl_.mediakey_.Set(from._internal_mediakey(),
+ _this->GetArenaForAllocation());
}
- fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_fileencsha256()) {
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_fileencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.fileencsha256_.Set(from._internal_fileencsha256(),
+ _this->GetArenaForAllocation());
}
- directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_directpath()) {
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_directpath(),
- GetArenaForAllocation());
+ _this->_impl_.directpath_.Set(from._internal_directpath(),
+ _this->GetArenaForAllocation());
}
- originalmessageid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.originalmessageid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.originalmessageid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_originalmessageid()) {
- originalmessageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_originalmessageid(),
- GetArenaForAllocation());
+ _this->_impl_.originalmessageid_.Set(from._internal_originalmessageid(),
+ _this->GetArenaForAllocation());
}
- ::memcpy(&filelength_, &from.filelength_,
- static_cast<size_t>(reinterpret_cast<char*>(&chunkorder_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(chunkorder_));
+ ::memcpy(&_impl_.filelength_, &from._impl_.filelength_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.chunkorder_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.chunkorder_));
// @@protoc_insertion_point(copy_constructor:proto.HistorySyncNotification)
}
-void HistorySyncNotification::SharedCtor() {
-filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-originalmessageid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&filelength_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&chunkorder_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(chunkorder_));
+inline void HistorySyncNotification::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.originalmessageid_){}
+ , decltype(_impl_.filelength_){uint64_t{0u}}
+ , decltype(_impl_.synctype_){0}
+ , decltype(_impl_.chunkorder_){0u}
+ };
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.originalmessageid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.originalmessageid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
HistorySyncNotification::~HistorySyncNotification() {
// @@protoc_insertion_point(destructor:proto.HistorySyncNotification)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HistorySyncNotification::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- filesha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mediakey_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- fileencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- directpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- originalmessageid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.filesha256_.Destroy();
+ _impl_.mediakey_.Destroy();
+ _impl_.fileencsha256_.Destroy();
+ _impl_.directpath_.Destroy();
+ _impl_.originalmessageid_.Destroy();
}
-void HistorySyncNotification::ArenaDtor(void* object) {
- HistorySyncNotification* _this = reinterpret_cast< HistorySyncNotification* >(object);
- (void)_this;
-}
-void HistorySyncNotification::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HistorySyncNotification::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HistorySyncNotification::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HistorySyncNotification)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000001fu) {
if (cached_has_bits & 0x00000001u) {
- filesha256_.ClearNonDefaultToEmpty();
+ _impl_.filesha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- mediakey_.ClearNonDefaultToEmpty();
+ _impl_.mediakey_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- fileencsha256_.ClearNonDefaultToEmpty();
+ _impl_.fileencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- directpath_.ClearNonDefaultToEmpty();
+ _impl_.directpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- originalmessageid_.ClearNonDefaultToEmpty();
+ _impl_.originalmessageid_.ClearNonDefaultToEmpty();
}
}
if (cached_has_bits & 0x000000e0u) {
- ::memset(&filelength_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&chunkorder_) -
- reinterpret_cast<char*>(&filelength_)) + sizeof(chunkorder_));
+ ::memset(&_impl_.filelength_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.chunkorder_) -
+ reinterpret_cast<char*>(&_impl_.filelength_)) + sizeof(_impl_.chunkorder_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HistorySyncNotification::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HistorySyncNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional bytes fileSha256 = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_filesha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 fileLength = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_filelength(&has_bits);
- filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes mediaKey = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_mediakey();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileEncSha256 = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_fileencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string directPath = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_directpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HistorySyncNotification.directPath");
+ ::_pbi::VerifyUTF8(str, "proto.HistorySyncNotification.directPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.HistorySyncNotification.HistorySyncNotificationHistorySyncType syncType = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType_IsValid(val))) {
_internal_set_synctype(static_cast<::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType>(val));
@@ -18107,22 +19036,22 @@ const char* HistorySyncNotification::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// optional uint32 chunkOrder = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
_Internal::set_has_chunkorder(&has_bits);
- chunkorder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.chunkorder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string originalMessageId = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_originalmessageid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HistorySyncNotification.originalMessageId");
+ ::_pbi::VerifyUTF8(str, "proto.HistorySyncNotification.originalMessageId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -18142,7 +19071,7 @@ const char* HistorySyncNotification::_InternalParse(const char* ptr, ::PROTOBUF_
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -18150,13 +19079,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HistorySyncNotification::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HistorySyncNotification::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HistorySyncNotification)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional bytes fileSha256 = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->WriteBytesMaybeAliased(
@@ -18166,7 +19095,7 @@ failure:
// optional uint64 fileLength = 2;
if (cached_has_bits & 0x00000020u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_filelength(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_filelength(), target);
}
// optional bytes mediaKey = 3;
@@ -18194,14 +19123,14 @@ failure:
// optional .proto.HistorySyncNotification.HistorySyncNotificationHistorySyncType syncType = 6;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
6, this->_internal_synctype(), target);
}
// optional uint32 chunkOrder = 7;
if (cached_has_bits & 0x00000080u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_chunkorder(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_chunkorder(), target);
}
// optional string originalMessageId = 8;
@@ -18215,7 +19144,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HistorySyncNotification)
@@ -18226,11 +19155,11 @@ size_t HistorySyncNotification::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HistorySyncNotification)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional bytes fileSha256 = 1;
if (cached_has_bits & 0x00000001u) {
@@ -18269,72 +19198,68 @@ size_t HistorySyncNotification::ByteSizeLong() const {
// optional uint64 fileLength = 2;
if (cached_has_bits & 0x00000020u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
}
// optional .proto.HistorySyncNotification.HistorySyncNotificationHistorySyncType syncType = 6;
if (cached_has_bits & 0x00000040u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_synctype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_synctype());
}
// optional uint32 chunkOrder = 7;
if (cached_has_bits & 0x00000080u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_chunkorder());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_chunkorder());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HistorySyncNotification::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HistorySyncNotification::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HistorySyncNotification::GetClassData() const { return &_class_data_; }
-void HistorySyncNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HistorySyncNotification *>(to)->MergeFrom(
- static_cast<const HistorySyncNotification &>(from));
-}
-
-void HistorySyncNotification::MergeFrom(const HistorySyncNotification& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HistorySyncNotification)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HistorySyncNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HistorySyncNotification*>(&to_msg);
+ auto& from = static_cast<const HistorySyncNotification&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HistorySyncNotification)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_filesha256(from._internal_filesha256());
+ _this->_internal_set_filesha256(from._internal_filesha256());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_mediakey(from._internal_mediakey());
+ _this->_internal_set_mediakey(from._internal_mediakey());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_fileencsha256(from._internal_fileencsha256());
+ _this->_internal_set_fileencsha256(from._internal_fileencsha256());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_directpath(from._internal_directpath());
+ _this->_internal_set_directpath(from._internal_directpath());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_originalmessageid(from._internal_originalmessageid());
+ _this->_internal_set_originalmessageid(from._internal_originalmessageid());
}
if (cached_has_bits & 0x00000020u) {
- filelength_ = from.filelength_;
+ _this->_impl_.filelength_ = from._impl_.filelength_;
}
if (cached_has_bits & 0x00000040u) {
- synctype_ = from.synctype_;
+ _this->_impl_.synctype_ = from._impl_.synctype_;
}
if (cached_has_bits & 0x00000080u) {
- chunkorder_ = from.chunkorder_;
+ _this->_impl_.chunkorder_ = from._impl_.chunkorder_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HistorySyncNotification::CopyFrom(const HistorySyncNotification& from) {
@@ -18353,42 +19278,37 @@ void HistorySyncNotification::InternalSwap(HistorySyncNotification* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &filesha256_, lhs_arena,
- &other->filesha256_, rhs_arena
+ &_impl_.filesha256_, lhs_arena,
+ &other->_impl_.filesha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mediakey_, lhs_arena,
- &other->mediakey_, rhs_arena
+ &_impl_.mediakey_, lhs_arena,
+ &other->_impl_.mediakey_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &fileencsha256_, lhs_arena,
- &other->fileencsha256_, rhs_arena
+ &_impl_.fileencsha256_, lhs_arena,
+ &other->_impl_.fileencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &directpath_, lhs_arena,
- &other->directpath_, rhs_arena
+ &_impl_.directpath_, lhs_arena,
+ &other->_impl_.directpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &originalmessageid_, lhs_arena,
- &other->originalmessageid_, rhs_arena
+ &_impl_.originalmessageid_, lhs_arena,
+ &other->_impl_.originalmessageid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(HistorySyncNotification, chunkorder_)
- + sizeof(HistorySyncNotification::chunkorder_)
- - PROTOBUF_FIELD_OFFSET(HistorySyncNotification, filelength_)>(
- reinterpret_cast<char*>(&filelength_),
- reinterpret_cast<char*>(&other->filelength_));
+ PROTOBUF_FIELD_OFFSET(HistorySyncNotification, _impl_.chunkorder_)
+ + sizeof(HistorySyncNotification::_impl_.chunkorder_)
+ - PROTOBUF_FIELD_OFFSET(HistorySyncNotification, _impl_.filelength_)>(
+ reinterpret_cast<char*>(&_impl_.filelength_),
+ reinterpret_cast<char*>(&other->_impl_.filelength_));
}
::PROTOBUF_NAMESPACE_ID::Metadata HistorySyncNotification::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[29]);
}
@@ -18397,7 +19317,7 @@ void HistorySyncNotification::InternalSwap(HistorySyncNotification* other) {
class AppStateSyncKey::_Internal {
public:
- using HasBits = decltype(std::declval<AppStateSyncKey>()._has_bits_);
+ using HasBits = decltype(std::declval<AppStateSyncKey>()._impl_._has_bits_);
static const ::proto::AppStateSyncKeyId& keyid(const AppStateSyncKey* msg);
static void set_has_keyid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -18410,99 +19330,99 @@ class AppStateSyncKey::_Internal {
const ::proto::AppStateSyncKeyId&
AppStateSyncKey::_Internal::keyid(const AppStateSyncKey* msg) {
- return *msg->keyid_;
+ return *msg->_impl_.keyid_;
}
const ::proto::AppStateSyncKeyData&
AppStateSyncKey::_Internal::keydata(const AppStateSyncKey* msg) {
- return *msg->keydata_;
+ return *msg->_impl_.keydata_;
}
AppStateSyncKey::AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AppStateSyncKey)
}
AppStateSyncKey::AppStateSyncKey(const AppStateSyncKey& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AppStateSyncKey* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.keyid_){nullptr}
+ , decltype(_impl_.keydata_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_keyid()) {
- keyid_ = new ::proto::AppStateSyncKeyId(*from.keyid_);
- } else {
- keyid_ = nullptr;
+ _this->_impl_.keyid_ = new ::proto::AppStateSyncKeyId(*from._impl_.keyid_);
}
if (from._internal_has_keydata()) {
- keydata_ = new ::proto::AppStateSyncKeyData(*from.keydata_);
- } else {
- keydata_ = nullptr;
+ _this->_impl_.keydata_ = new ::proto::AppStateSyncKeyData(*from._impl_.keydata_);
}
// @@protoc_insertion_point(copy_constructor:proto.AppStateSyncKey)
}
-void AppStateSyncKey::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&keyid_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&keydata_) -
- reinterpret_cast<char*>(&keyid_)) + sizeof(keydata_));
+inline void AppStateSyncKey::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.keyid_){nullptr}
+ , decltype(_impl_.keydata_){nullptr}
+ };
}
AppStateSyncKey::~AppStateSyncKey() {
// @@protoc_insertion_point(destructor:proto.AppStateSyncKey)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AppStateSyncKey::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete keyid_;
- if (this != internal_default_instance()) delete keydata_;
+ if (this != internal_default_instance()) delete _impl_.keyid_;
+ if (this != internal_default_instance()) delete _impl_.keydata_;
}
-void AppStateSyncKey::ArenaDtor(void* object) {
- AppStateSyncKey* _this = reinterpret_cast< AppStateSyncKey* >(object);
- (void)_this;
-}
-void AppStateSyncKey::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AppStateSyncKey::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AppStateSyncKey::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AppStateSyncKey)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(keyid_ != nullptr);
- keyid_->Clear();
+ GOOGLE_DCHECK(_impl_.keyid_ != nullptr);
+ _impl_.keyid_->Clear();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(keydata_ != nullptr);
- keydata_->Clear();
+ GOOGLE_DCHECK(_impl_.keydata_ != nullptr);
+ _impl_.keydata_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AppStateSyncKey::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AppStateSyncKey::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.AppStateSyncKeyId keyId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_keyid(), ptr);
CHK_(ptr);
} else
@@ -18510,7 +19430,7 @@ const char* AppStateSyncKey::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.AppStateSyncKeyData keyData = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_keydata(), ptr);
CHK_(ptr);
} else
@@ -18532,7 +19452,7 @@ const char* AppStateSyncKey::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -18540,31 +19460,29 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AppStateSyncKey::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AppStateSyncKey::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AppStateSyncKey)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.AppStateSyncKeyId keyId = 1;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::keyid(this), target, stream);
+ InternalWriteMessage(1, _Internal::keyid(this),
+ _Internal::keyid(this).GetCachedSize(), target, stream);
}
// optional .proto.AppStateSyncKeyData keyData = 2;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::keydata(this), target, stream);
+ InternalWriteMessage(2, _Internal::keydata(this),
+ _Internal::keydata(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AppStateSyncKey)
@@ -18575,59 +19493,57 @@ size_t AppStateSyncKey::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AppStateSyncKey)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional .proto.AppStateSyncKeyId keyId = 1;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *keyid_);
+ *_impl_.keyid_);
}
// optional .proto.AppStateSyncKeyData keyData = 2;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *keydata_);
+ *_impl_.keydata_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AppStateSyncKey::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AppStateSyncKey::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AppStateSyncKey::GetClassData() const { return &_class_data_; }
-void AppStateSyncKey::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AppStateSyncKey *>(to)->MergeFrom(
- static_cast<const AppStateSyncKey &>(from));
-}
-
-void AppStateSyncKey::MergeFrom(const AppStateSyncKey& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKey)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AppStateSyncKey::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AppStateSyncKey*>(&to_msg);
+ auto& from = static_cast<const AppStateSyncKey&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKey)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_mutable_keyid()->::proto::AppStateSyncKeyId::MergeFrom(from._internal_keyid());
+ _this->_internal_mutable_keyid()->::proto::AppStateSyncKeyId::MergeFrom(
+ from._internal_keyid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_keydata()->::proto::AppStateSyncKeyData::MergeFrom(from._internal_keydata());
+ _this->_internal_mutable_keydata()->::proto::AppStateSyncKeyData::MergeFrom(
+ from._internal_keydata());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AppStateSyncKey::CopyFrom(const AppStateSyncKey& from) {
@@ -18644,17 +19560,17 @@ bool AppStateSyncKey::IsInitialized() const {
void AppStateSyncKey::InternalSwap(AppStateSyncKey* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(AppStateSyncKey, keydata_)
- + sizeof(AppStateSyncKey::keydata_)
- - PROTOBUF_FIELD_OFFSET(AppStateSyncKey, keyid_)>(
- reinterpret_cast<char*>(&keyid_),
- reinterpret_cast<char*>(&other->keyid_));
+ PROTOBUF_FIELD_OFFSET(AppStateSyncKey, _impl_.keydata_)
+ + sizeof(AppStateSyncKey::_impl_.keydata_)
+ - PROTOBUF_FIELD_OFFSET(AppStateSyncKey, _impl_.keyid_)>(
+ reinterpret_cast<char*>(&_impl_.keyid_),
+ reinterpret_cast<char*>(&other->_impl_.keyid_));
}
::PROTOBUF_NAMESPACE_ID::Metadata AppStateSyncKey::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[30]);
}
@@ -18663,7 +19579,7 @@ void AppStateSyncKey::InternalSwap(AppStateSyncKey* other) {
class AppStateSyncKeyId::_Internal {
public:
- using HasBits = decltype(std::declval<AppStateSyncKeyId>()._has_bits_);
+ using HasBits = decltype(std::declval<AppStateSyncKeyId>()._impl_._has_bits_);
static void set_has_keyid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -18672,76 +19588,88 @@ class AppStateSyncKeyId::_Internal {
AppStateSyncKeyId::AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AppStateSyncKeyId)
}
AppStateSyncKeyId::AppStateSyncKeyId(const AppStateSyncKeyId& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AppStateSyncKeyId* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.keyid_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- keyid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.keyid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.keyid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_keyid()) {
- keyid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_keyid(),
- GetArenaForAllocation());
+ _this->_impl_.keyid_.Set(from._internal_keyid(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.AppStateSyncKeyId)
}
-void AppStateSyncKeyId::SharedCtor() {
-keyid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void AppStateSyncKeyId::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.keyid_){}
+ };
+ _impl_.keyid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.keyid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
AppStateSyncKeyId::~AppStateSyncKeyId() {
// @@protoc_insertion_point(destructor:proto.AppStateSyncKeyId)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AppStateSyncKeyId::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- keyid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.keyid_.Destroy();
}
-void AppStateSyncKeyId::ArenaDtor(void* object) {
- AppStateSyncKeyId* _this = reinterpret_cast< AppStateSyncKeyId* >(object);
- (void)_this;
-}
-void AppStateSyncKeyId::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AppStateSyncKeyId::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AppStateSyncKeyId::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AppStateSyncKeyId)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- keyid_.ClearNonDefaultToEmpty();
+ _impl_.keyid_.ClearNonDefaultToEmpty();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AppStateSyncKeyId::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AppStateSyncKeyId::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional bytes keyId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_keyid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
@@ -18762,7 +19690,7 @@ const char* AppStateSyncKeyId::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -18770,13 +19698,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AppStateSyncKeyId::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AppStateSyncKeyId::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AppStateSyncKeyId)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional bytes keyId = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->WriteBytesMaybeAliased(
@@ -18784,7 +19712,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AppStateSyncKeyId)
@@ -18795,44 +19723,40 @@ size_t AppStateSyncKeyId::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AppStateSyncKeyId)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional bytes keyId = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
this->_internal_keyid());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AppStateSyncKeyId::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AppStateSyncKeyId::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AppStateSyncKeyId::GetClassData() const { return &_class_data_; }
-void AppStateSyncKeyId::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AppStateSyncKeyId *>(to)->MergeFrom(
- static_cast<const AppStateSyncKeyId &>(from));
-}
-
-void AppStateSyncKeyId::MergeFrom(const AppStateSyncKeyId& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyId)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AppStateSyncKeyId::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AppStateSyncKeyId*>(&to_msg);
+ auto& from = static_cast<const AppStateSyncKeyId&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyId)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_keyid()) {
- _internal_set_keyid(from._internal_keyid());
+ _this->_internal_set_keyid(from._internal_keyid());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AppStateSyncKeyId::CopyFrom(const AppStateSyncKeyId& from) {
@@ -18851,16 +19775,15 @@ void AppStateSyncKeyId::InternalSwap(AppStateSyncKeyId* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &keyid_, lhs_arena,
- &other->keyid_, rhs_arena
+ &_impl_.keyid_, lhs_arena,
+ &other->_impl_.keyid_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata AppStateSyncKeyId::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[31]);
}
@@ -18869,7 +19792,7 @@ void AppStateSyncKeyId::InternalSwap(AppStateSyncKeyId* other) {
class AppStateSyncKeyFingerprint::_Internal {
public:
- using HasBits = decltype(std::declval<AppStateSyncKeyFingerprint>()._has_bits_);
+ using HasBits = decltype(std::declval<AppStateSyncKeyFingerprint>()._impl_._has_bits_);
static void set_has_rawid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -18880,101 +19803,108 @@ class AppStateSyncKeyFingerprint::_Internal {
AppStateSyncKeyFingerprint::AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- deviceindexes_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AppStateSyncKeyFingerprint)
}
AppStateSyncKeyFingerprint::AppStateSyncKeyFingerprint(const AppStateSyncKeyFingerprint& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- deviceindexes_(from.deviceindexes_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AppStateSyncKeyFingerprint* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.deviceindexes_){from._impl_.deviceindexes_}
+ , /*decltype(_impl_._deviceindexes_cached_byte_size_)*/{0}
+ , decltype(_impl_.rawid_){}
+ , decltype(_impl_.currentindex_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- ::memcpy(&rawid_, &from.rawid_,
- static_cast<size_t>(reinterpret_cast<char*>(&currentindex_) -
- reinterpret_cast<char*>(&rawid_)) + sizeof(currentindex_));
+ ::memcpy(&_impl_.rawid_, &from._impl_.rawid_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.currentindex_) -
+ reinterpret_cast<char*>(&_impl_.rawid_)) + sizeof(_impl_.currentindex_));
// @@protoc_insertion_point(copy_constructor:proto.AppStateSyncKeyFingerprint)
}
-void AppStateSyncKeyFingerprint::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&rawid_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&currentindex_) -
- reinterpret_cast<char*>(&rawid_)) + sizeof(currentindex_));
+inline void AppStateSyncKeyFingerprint::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.deviceindexes_){arena}
+ , /*decltype(_impl_._deviceindexes_cached_byte_size_)*/{0}
+ , decltype(_impl_.rawid_){0u}
+ , decltype(_impl_.currentindex_){0u}
+ };
}
AppStateSyncKeyFingerprint::~AppStateSyncKeyFingerprint() {
// @@protoc_insertion_point(destructor:proto.AppStateSyncKeyFingerprint)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AppStateSyncKeyFingerprint::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.deviceindexes_.~RepeatedField();
}
-void AppStateSyncKeyFingerprint::ArenaDtor(void* object) {
- AppStateSyncKeyFingerprint* _this = reinterpret_cast< AppStateSyncKeyFingerprint* >(object);
- (void)_this;
-}
-void AppStateSyncKeyFingerprint::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AppStateSyncKeyFingerprint::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AppStateSyncKeyFingerprint::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AppStateSyncKeyFingerprint)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- deviceindexes_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.deviceindexes_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
- ::memset(&rawid_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&currentindex_) -
- reinterpret_cast<char*>(&rawid_)) + sizeof(currentindex_));
+ ::memset(&_impl_.rawid_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.currentindex_) -
+ reinterpret_cast<char*>(&_impl_.rawid_)) + sizeof(_impl_.currentindex_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AppStateSyncKeyFingerprint::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AppStateSyncKeyFingerprint::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional uint32 rawId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
_Internal::set_has_rawid(&has_bits);
- rawid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.rawid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 currentIndex = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_currentindex(&has_bits);
- currentindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.currentindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated uint32 deviceIndexes = 3 [packed = true];
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_deviceindexes(), ptr, ctx);
CHK_(ptr);
- } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24) {
+ } else if (static_cast<uint8_t>(tag) == 24) {
_internal_add_deviceindexes(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
CHK_(ptr);
} else
@@ -18996,7 +19926,7 @@ const char* AppStateSyncKeyFingerprint::_InternalParse(const char* ptr, ::PROTOB
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -19004,28 +19934,28 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AppStateSyncKeyFingerprint::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AppStateSyncKeyFingerprint::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AppStateSyncKeyFingerprint)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional uint32 rawId = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_rawid(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_rawid(), target);
}
// optional uint32 currentIndex = 2;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_currentindex(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_currentindex(), target);
}
// repeated uint32 deviceIndexes = 3 [packed = true];
{
- int byte_size = _deviceindexes_cached_byte_size_.load(std::memory_order_relaxed);
+ int byte_size = _impl_._deviceindexes_cached_byte_size_.load(std::memory_order_relaxed);
if (byte_size > 0) {
target = stream->WriteUInt32Packed(
3, _internal_deviceindexes(), byte_size, target);
@@ -19033,7 +19963,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AppStateSyncKeyFingerprint)
@@ -19044,72 +19974,67 @@ size_t AppStateSyncKeyFingerprint::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AppStateSyncKeyFingerprint)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated uint32 deviceIndexes = 3 [packed = true];
{
- size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- UInt32Size(this->deviceindexes_);
+ size_t data_size = ::_pbi::WireFormatLite::
+ UInt32Size(this->_impl_.deviceindexes_);
if (data_size > 0) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
- static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size));
+ ::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
}
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size);
- _deviceindexes_cached_byte_size_.store(cached_size,
+ int cached_size = ::_pbi::ToCachedSize(data_size);
+ _impl_._deviceindexes_cached_byte_size_.store(cached_size,
std::memory_order_relaxed);
total_size += data_size;
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional uint32 rawId = 1;
if (cached_has_bits & 0x00000001u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_rawid());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rawid());
}
// optional uint32 currentIndex = 2;
if (cached_has_bits & 0x00000002u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_currentindex());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_currentindex());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AppStateSyncKeyFingerprint::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AppStateSyncKeyFingerprint::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AppStateSyncKeyFingerprint::GetClassData() const { return &_class_data_; }
-void AppStateSyncKeyFingerprint::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AppStateSyncKeyFingerprint *>(to)->MergeFrom(
- static_cast<const AppStateSyncKeyFingerprint &>(from));
-}
-
-void AppStateSyncKeyFingerprint::MergeFrom(const AppStateSyncKeyFingerprint& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyFingerprint)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AppStateSyncKeyFingerprint::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AppStateSyncKeyFingerprint*>(&to_msg);
+ auto& from = static_cast<const AppStateSyncKeyFingerprint&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyFingerprint)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- deviceindexes_.MergeFrom(from.deviceindexes_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.deviceindexes_.MergeFrom(from._impl_.deviceindexes_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- rawid_ = from.rawid_;
+ _this->_impl_.rawid_ = from._impl_.rawid_;
}
if (cached_has_bits & 0x00000002u) {
- currentindex_ = from.currentindex_;
+ _this->_impl_.currentindex_ = from._impl_.currentindex_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AppStateSyncKeyFingerprint::CopyFrom(const AppStateSyncKeyFingerprint& from) {
@@ -19126,18 +20051,18 @@ bool AppStateSyncKeyFingerprint::IsInitialized() const {
void AppStateSyncKeyFingerprint::InternalSwap(AppStateSyncKeyFingerprint* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- deviceindexes_.InternalSwap(&other->deviceindexes_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.deviceindexes_.InternalSwap(&other->_impl_.deviceindexes_);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(AppStateSyncKeyFingerprint, currentindex_)
- + sizeof(AppStateSyncKeyFingerprint::currentindex_)
- - PROTOBUF_FIELD_OFFSET(AppStateSyncKeyFingerprint, rawid_)>(
- reinterpret_cast<char*>(&rawid_),
- reinterpret_cast<char*>(&other->rawid_));
+ PROTOBUF_FIELD_OFFSET(AppStateSyncKeyFingerprint, _impl_.currentindex_)
+ + sizeof(AppStateSyncKeyFingerprint::_impl_.currentindex_)
+ - PROTOBUF_FIELD_OFFSET(AppStateSyncKeyFingerprint, _impl_.rawid_)>(
+ reinterpret_cast<char*>(&_impl_.rawid_),
+ reinterpret_cast<char*>(&other->_impl_.rawid_));
}
::PROTOBUF_NAMESPACE_ID::Metadata AppStateSyncKeyFingerprint::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[32]);
}
@@ -19146,7 +20071,7 @@ void AppStateSyncKeyFingerprint::InternalSwap(AppStateSyncKeyFingerprint* other)
class AppStateSyncKeyData::_Internal {
public:
- using HasBits = decltype(std::declval<AppStateSyncKeyData>()._has_bits_);
+ using HasBits = decltype(std::declval<AppStateSyncKeyData>()._impl_._has_bits_);
static void set_has_keydata(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -19161,106 +20086,116 @@ class AppStateSyncKeyData::_Internal {
const ::proto::AppStateSyncKeyFingerprint&
AppStateSyncKeyData::_Internal::fingerprint(const AppStateSyncKeyData* msg) {
- return *msg->fingerprint_;
+ return *msg->_impl_.fingerprint_;
}
AppStateSyncKeyData::AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AppStateSyncKeyData)
}
AppStateSyncKeyData::AppStateSyncKeyData(const AppStateSyncKeyData& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AppStateSyncKeyData* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.keydata_){}
+ , decltype(_impl_.fingerprint_){nullptr}
+ , decltype(_impl_.timestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- keydata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.keydata_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.keydata_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_keydata()) {
- keydata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_keydata(),
- GetArenaForAllocation());
+ _this->_impl_.keydata_.Set(from._internal_keydata(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_fingerprint()) {
- fingerprint_ = new ::proto::AppStateSyncKeyFingerprint(*from.fingerprint_);
- } else {
- fingerprint_ = nullptr;
+ _this->_impl_.fingerprint_ = new ::proto::AppStateSyncKeyFingerprint(*from._impl_.fingerprint_);
}
- timestamp_ = from.timestamp_;
+ _this->_impl_.timestamp_ = from._impl_.timestamp_;
// @@protoc_insertion_point(copy_constructor:proto.AppStateSyncKeyData)
}
-void AppStateSyncKeyData::SharedCtor() {
-keydata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&fingerprint_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&timestamp_) -
- reinterpret_cast<char*>(&fingerprint_)) + sizeof(timestamp_));
+inline void AppStateSyncKeyData::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.keydata_){}
+ , decltype(_impl_.fingerprint_){nullptr}
+ , decltype(_impl_.timestamp_){int64_t{0}}
+ };
+ _impl_.keydata_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.keydata_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
AppStateSyncKeyData::~AppStateSyncKeyData() {
// @@protoc_insertion_point(destructor:proto.AppStateSyncKeyData)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AppStateSyncKeyData::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- keydata_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete fingerprint_;
+ _impl_.keydata_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.fingerprint_;
}
-void AppStateSyncKeyData::ArenaDtor(void* object) {
- AppStateSyncKeyData* _this = reinterpret_cast< AppStateSyncKeyData* >(object);
- (void)_this;
-}
-void AppStateSyncKeyData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AppStateSyncKeyData::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AppStateSyncKeyData::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AppStateSyncKeyData)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- keydata_.ClearNonDefaultToEmpty();
+ _impl_.keydata_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(fingerprint_ != nullptr);
- fingerprint_->Clear();
+ GOOGLE_DCHECK(_impl_.fingerprint_ != nullptr);
+ _impl_.fingerprint_->Clear();
}
}
- timestamp_ = int64_t{0};
- _has_bits_.Clear();
+ _impl_.timestamp_ = int64_t{0};
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AppStateSyncKeyData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AppStateSyncKeyData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional bytes keyData = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_keydata();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.AppStateSyncKeyFingerprint fingerprint = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_fingerprint(), ptr);
CHK_(ptr);
} else
@@ -19268,9 +20203,9 @@ const char* AppStateSyncKeyData::_InternalParse(const char* ptr, ::PROTOBUF_NAME
continue;
// optional int64 timestamp = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_timestamp(&has_bits);
- timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -19291,7 +20226,7 @@ const char* AppStateSyncKeyData::_InternalParse(const char* ptr, ::PROTOBUF_NAME
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -19299,13 +20234,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AppStateSyncKeyData::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AppStateSyncKeyData::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AppStateSyncKeyData)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional bytes keyData = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->WriteBytesMaybeAliased(
@@ -19314,20 +20249,19 @@ failure:
// optional .proto.AppStateSyncKeyFingerprint fingerprint = 2;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::fingerprint(this), target, stream);
+ InternalWriteMessage(2, _Internal::fingerprint(this),
+ _Internal::fingerprint(this).GetCachedSize(), target, stream);
}
// optional int64 timestamp = 3;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->_internal_timestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_timestamp(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AppStateSyncKeyData)
@@ -19338,11 +20272,11 @@ size_t AppStateSyncKeyData::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AppStateSyncKeyData)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional bytes keyData = 1;
if (cached_has_bits & 0x00000001u) {
@@ -19355,51 +20289,48 @@ size_t AppStateSyncKeyData::ByteSizeLong() const {
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *fingerprint_);
+ *_impl_.fingerprint_);
}
// optional int64 timestamp = 3;
if (cached_has_bits & 0x00000004u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_timestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_timestamp());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AppStateSyncKeyData::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AppStateSyncKeyData::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AppStateSyncKeyData::GetClassData() const { return &_class_data_; }
-void AppStateSyncKeyData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AppStateSyncKeyData *>(to)->MergeFrom(
- static_cast<const AppStateSyncKeyData &>(from));
-}
-
-void AppStateSyncKeyData::MergeFrom(const AppStateSyncKeyData& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyData)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AppStateSyncKeyData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AppStateSyncKeyData*>(&to_msg);
+ auto& from = static_cast<const AppStateSyncKeyData&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyData)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_keydata(from._internal_keydata());
+ _this->_internal_set_keydata(from._internal_keydata());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_fingerprint()->::proto::AppStateSyncKeyFingerprint::MergeFrom(from._internal_fingerprint());
+ _this->_internal_mutable_fingerprint()->::proto::AppStateSyncKeyFingerprint::MergeFrom(
+ from._internal_fingerprint());
}
if (cached_has_bits & 0x00000004u) {
- timestamp_ = from.timestamp_;
+ _this->_impl_.timestamp_ = from._impl_.timestamp_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AppStateSyncKeyData::CopyFrom(const AppStateSyncKeyData& from) {
@@ -19418,22 +20349,21 @@ void AppStateSyncKeyData::InternalSwap(AppStateSyncKeyData* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &keydata_, lhs_arena,
- &other->keydata_, rhs_arena
+ &_impl_.keydata_, lhs_arena,
+ &other->_impl_.keydata_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(AppStateSyncKeyData, timestamp_)
- + sizeof(AppStateSyncKeyData::timestamp_)
- - PROTOBUF_FIELD_OFFSET(AppStateSyncKeyData, fingerprint_)>(
- reinterpret_cast<char*>(&fingerprint_),
- reinterpret_cast<char*>(&other->fingerprint_));
+ PROTOBUF_FIELD_OFFSET(AppStateSyncKeyData, _impl_.timestamp_)
+ + sizeof(AppStateSyncKeyData::_impl_.timestamp_)
+ - PROTOBUF_FIELD_OFFSET(AppStateSyncKeyData, _impl_.fingerprint_)>(
+ reinterpret_cast<char*>(&_impl_.fingerprint_),
+ reinterpret_cast<char*>(&other->_impl_.fingerprint_));
}
::PROTOBUF_NAMESPACE_ID::Metadata AppStateSyncKeyData::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[33]);
}
@@ -19446,64 +20376,68 @@ class AppStateSyncKeyShare::_Internal {
AppStateSyncKeyShare::AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- keys_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AppStateSyncKeyShare)
}
AppStateSyncKeyShare::AppStateSyncKeyShare(const AppStateSyncKeyShare& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- keys_(from.keys_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AppStateSyncKeyShare* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.keys_){from._impl_.keys_}
+ , /*decltype(_impl_._cached_size_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
// @@protoc_insertion_point(copy_constructor:proto.AppStateSyncKeyShare)
}
-void AppStateSyncKeyShare::SharedCtor() {
+inline void AppStateSyncKeyShare::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_.keys_){arena}
+ , /*decltype(_impl_._cached_size_)*/{}
+ };
}
AppStateSyncKeyShare::~AppStateSyncKeyShare() {
// @@protoc_insertion_point(destructor:proto.AppStateSyncKeyShare)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AppStateSyncKeyShare::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.keys_.~RepeatedPtrField();
}
-void AppStateSyncKeyShare::ArenaDtor(void* object) {
- AppStateSyncKeyShare* _this = reinterpret_cast< AppStateSyncKeyShare* >(object);
- (void)_this;
-}
-void AppStateSyncKeyShare::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AppStateSyncKeyShare::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AppStateSyncKeyShare::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AppStateSyncKeyShare)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- keys_.Clear();
+ _impl_.keys_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AppStateSyncKeyShare::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AppStateSyncKeyShare::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// repeated .proto.AppStateSyncKey keys = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr -= 1;
do {
ptr += 1;
@@ -19537,22 +20471,22 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AppStateSyncKeyShare::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AppStateSyncKeyShare::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AppStateSyncKeyShare)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// repeated .proto.AppStateSyncKey keys = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_keys_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_keys_size()); i < n; i++) {
+ const auto& repfield = this->_internal_keys(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, this->_internal_keys(i), target, stream);
+ InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AppStateSyncKeyShare)
@@ -19563,41 +20497,37 @@ size_t AppStateSyncKeyShare::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AppStateSyncKeyShare)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.AppStateSyncKey keys = 1;
total_size += 1UL * this->_internal_keys_size();
- for (const auto& msg : this->keys_) {
+ for (const auto& msg : this->_impl_.keys_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AppStateSyncKeyShare::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AppStateSyncKeyShare::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AppStateSyncKeyShare::GetClassData() const { return &_class_data_; }
-void AppStateSyncKeyShare::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AppStateSyncKeyShare *>(to)->MergeFrom(
- static_cast<const AppStateSyncKeyShare &>(from));
-}
-
-void AppStateSyncKeyShare::MergeFrom(const AppStateSyncKeyShare& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyShare)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AppStateSyncKeyShare::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AppStateSyncKeyShare*>(&to_msg);
+ auto& from = static_cast<const AppStateSyncKeyShare&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyShare)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- keys_.MergeFrom(from.keys_);
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_impl_.keys_.MergeFrom(from._impl_.keys_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AppStateSyncKeyShare::CopyFrom(const AppStateSyncKeyShare& from) {
@@ -19614,11 +20544,11 @@ bool AppStateSyncKeyShare::IsInitialized() const {
void AppStateSyncKeyShare::InternalSwap(AppStateSyncKeyShare* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- keys_.InternalSwap(&other->keys_);
+ _impl_.keys_.InternalSwap(&other->_impl_.keys_);
}
::PROTOBUF_NAMESPACE_ID::Metadata AppStateSyncKeyShare::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[34]);
}
@@ -19631,64 +20561,68 @@ class AppStateSyncKeyRequest::_Internal {
AppStateSyncKeyRequest::AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- keyids_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AppStateSyncKeyRequest)
}
AppStateSyncKeyRequest::AppStateSyncKeyRequest(const AppStateSyncKeyRequest& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- keyids_(from.keyids_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AppStateSyncKeyRequest* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.keyids_){from._impl_.keyids_}
+ , /*decltype(_impl_._cached_size_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
// @@protoc_insertion_point(copy_constructor:proto.AppStateSyncKeyRequest)
}
-void AppStateSyncKeyRequest::SharedCtor() {
+inline void AppStateSyncKeyRequest::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_.keyids_){arena}
+ , /*decltype(_impl_._cached_size_)*/{}
+ };
}
AppStateSyncKeyRequest::~AppStateSyncKeyRequest() {
// @@protoc_insertion_point(destructor:proto.AppStateSyncKeyRequest)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AppStateSyncKeyRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.keyids_.~RepeatedPtrField();
}
-void AppStateSyncKeyRequest::ArenaDtor(void* object) {
- AppStateSyncKeyRequest* _this = reinterpret_cast< AppStateSyncKeyRequest* >(object);
- (void)_this;
-}
-void AppStateSyncKeyRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AppStateSyncKeyRequest::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AppStateSyncKeyRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AppStateSyncKeyRequest)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- keyids_.Clear();
+ _impl_.keyids_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AppStateSyncKeyRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AppStateSyncKeyRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// repeated .proto.AppStateSyncKeyId keyIds = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr -= 1;
do {
ptr += 1;
@@ -19722,22 +20656,22 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AppStateSyncKeyRequest::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AppStateSyncKeyRequest::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AppStateSyncKeyRequest)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// repeated .proto.AppStateSyncKeyId keyIds = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_keyids_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_keyids_size()); i < n; i++) {
+ const auto& repfield = this->_internal_keyids(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, this->_internal_keyids(i), target, stream);
+ InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AppStateSyncKeyRequest)
@@ -19748,41 +20682,37 @@ size_t AppStateSyncKeyRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AppStateSyncKeyRequest)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.AppStateSyncKeyId keyIds = 1;
total_size += 1UL * this->_internal_keyids_size();
- for (const auto& msg : this->keyids_) {
+ for (const auto& msg : this->_impl_.keyids_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AppStateSyncKeyRequest::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AppStateSyncKeyRequest::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AppStateSyncKeyRequest::GetClassData() const { return &_class_data_; }
-void AppStateSyncKeyRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AppStateSyncKeyRequest *>(to)->MergeFrom(
- static_cast<const AppStateSyncKeyRequest &>(from));
-}
-
-void AppStateSyncKeyRequest::MergeFrom(const AppStateSyncKeyRequest& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyRequest)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AppStateSyncKeyRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AppStateSyncKeyRequest*>(&to_msg);
+ auto& from = static_cast<const AppStateSyncKeyRequest&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateSyncKeyRequest)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- keyids_.MergeFrom(from.keyids_);
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_impl_.keyids_.MergeFrom(from._impl_.keyids_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AppStateSyncKeyRequest::CopyFrom(const AppStateSyncKeyRequest& from) {
@@ -19799,11 +20729,11 @@ bool AppStateSyncKeyRequest::IsInitialized() const {
void AppStateSyncKeyRequest::InternalSwap(AppStateSyncKeyRequest* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- keyids_.InternalSwap(&other->keyids_);
+ _impl_.keyids_.InternalSwap(&other->_impl_.keyids_);
}
::PROTOBUF_NAMESPACE_ID::Metadata AppStateSyncKeyRequest::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[35]);
}
@@ -19812,7 +20742,7 @@ void AppStateSyncKeyRequest::InternalSwap(AppStateSyncKeyRequest* other) {
class AppStateFatalExceptionNotification::_Internal {
public:
- using HasBits = decltype(std::declval<AppStateFatalExceptionNotification>()._has_bits_);
+ using HasBits = decltype(std::declval<AppStateFatalExceptionNotification>()._impl_._has_bits_);
static void set_has_timestamp(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -19820,79 +20750,85 @@ class AppStateFatalExceptionNotification::_Internal {
AppStateFatalExceptionNotification::AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- collectionnames_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.AppStateFatalExceptionNotification)
}
AppStateFatalExceptionNotification::AppStateFatalExceptionNotification(const AppStateFatalExceptionNotification& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- collectionnames_(from.collectionnames_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ AppStateFatalExceptionNotification* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.collectionnames_){from._impl_.collectionnames_}
+ , decltype(_impl_.timestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- timestamp_ = from.timestamp_;
+ _this->_impl_.timestamp_ = from._impl_.timestamp_;
// @@protoc_insertion_point(copy_constructor:proto.AppStateFatalExceptionNotification)
}
-void AppStateFatalExceptionNotification::SharedCtor() {
-timestamp_ = int64_t{0};
+inline void AppStateFatalExceptionNotification::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.collectionnames_){arena}
+ , decltype(_impl_.timestamp_){int64_t{0}}
+ };
}
AppStateFatalExceptionNotification::~AppStateFatalExceptionNotification() {
// @@protoc_insertion_point(destructor:proto.AppStateFatalExceptionNotification)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void AppStateFatalExceptionNotification::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.collectionnames_.~RepeatedPtrField();
}
-void AppStateFatalExceptionNotification::ArenaDtor(void* object) {
- AppStateFatalExceptionNotification* _this = reinterpret_cast< AppStateFatalExceptionNotification* >(object);
- (void)_this;
-}
-void AppStateFatalExceptionNotification::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void AppStateFatalExceptionNotification::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void AppStateFatalExceptionNotification::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.AppStateFatalExceptionNotification)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- collectionnames_.Clear();
- timestamp_ = int64_t{0};
- _has_bits_.Clear();
+ _impl_.collectionnames_.Clear();
+ _impl_.timestamp_ = int64_t{0};
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* AppStateFatalExceptionNotification::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* AppStateFatalExceptionNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// repeated string collectionNames = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr -= 1;
do {
ptr += 1;
auto str = _internal_add_collectionnames();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.AppStateFatalExceptionNotification.collectionNames");
+ ::_pbi::VerifyUTF8(str, "proto.AppStateFatalExceptionNotification.collectionNames");
#endif // !NDEBUG
- CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
} else
@@ -19900,9 +20836,9 @@ const char* AppStateFatalExceptionNotification::_InternalParse(const char* ptr,
continue;
// optional int64 timestamp = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_timestamp(&has_bits);
- timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -19923,7 +20859,7 @@ const char* AppStateFatalExceptionNotification::_InternalParse(const char* ptr,
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -19931,10 +20867,10 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* AppStateFatalExceptionNotification::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* AppStateFatalExceptionNotification::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.AppStateFatalExceptionNotification)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// repeated string collectionNames = 1;
@@ -19947,15 +20883,15 @@ failure:
target = stream->WriteString(1, s, target);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional int64 timestamp = 2;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->_internal_timestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_timestamp(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.AppStateFatalExceptionNotification)
@@ -19966,51 +20902,47 @@ size_t AppStateFatalExceptionNotification::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.AppStateFatalExceptionNotification)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated string collectionNames = 1;
total_size += 1 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(collectionnames_.size());
- for (int i = 0, n = collectionnames_.size(); i < n; i++) {
+ ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.collectionnames_.size());
+ for (int i = 0, n = _impl_.collectionnames_.size(); i < n; i++) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- collectionnames_.Get(i));
+ _impl_.collectionnames_.Get(i));
}
// optional int64 timestamp = 2;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_timestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_timestamp());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AppStateFatalExceptionNotification::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
AppStateFatalExceptionNotification::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AppStateFatalExceptionNotification::GetClassData() const { return &_class_data_; }
-void AppStateFatalExceptionNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<AppStateFatalExceptionNotification *>(to)->MergeFrom(
- static_cast<const AppStateFatalExceptionNotification &>(from));
-}
-
-void AppStateFatalExceptionNotification::MergeFrom(const AppStateFatalExceptionNotification& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateFatalExceptionNotification)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void AppStateFatalExceptionNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<AppStateFatalExceptionNotification*>(&to_msg);
+ auto& from = static_cast<const AppStateFatalExceptionNotification&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.AppStateFatalExceptionNotification)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- collectionnames_.MergeFrom(from.collectionnames_);
+ _this->_impl_.collectionnames_.MergeFrom(from._impl_.collectionnames_);
if (from._internal_has_timestamp()) {
- _internal_set_timestamp(from._internal_timestamp());
+ _this->_internal_set_timestamp(from._internal_timestamp());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void AppStateFatalExceptionNotification::CopyFrom(const AppStateFatalExceptionNotification& from) {
@@ -20027,13 +20959,13 @@ bool AppStateFatalExceptionNotification::IsInitialized() const {
void AppStateFatalExceptionNotification::InternalSwap(AppStateFatalExceptionNotification* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- collectionnames_.InternalSwap(&other->collectionnames_);
- swap(timestamp_, other->timestamp_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.collectionnames_.InternalSwap(&other->_impl_.collectionnames_);
+ swap(_impl_.timestamp_, other->_impl_.timestamp_);
}
::PROTOBUF_NAMESPACE_ID::Metadata AppStateFatalExceptionNotification::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[36]);
}
@@ -20042,7 +20974,7 @@ void AppStateFatalExceptionNotification::InternalSwap(AppStateFatalExceptionNoti
class InitialSecurityNotificationSettingSync::_Internal {
public:
- using HasBits = decltype(std::declval<InitialSecurityNotificationSettingSync>()._has_bits_);
+ using HasBits = decltype(std::declval<InitialSecurityNotificationSettingSync>()._impl_._has_bits_);
static void set_has_securitynotificationenabled(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -20051,68 +20983,73 @@ class InitialSecurityNotificationSettingSync::_Internal {
InitialSecurityNotificationSettingSync::InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.InitialSecurityNotificationSettingSync)
}
InitialSecurityNotificationSettingSync::InitialSecurityNotificationSettingSync(const InitialSecurityNotificationSettingSync& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ InitialSecurityNotificationSettingSync* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.securitynotificationenabled_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- securitynotificationenabled_ = from.securitynotificationenabled_;
+ _this->_impl_.securitynotificationenabled_ = from._impl_.securitynotificationenabled_;
// @@protoc_insertion_point(copy_constructor:proto.InitialSecurityNotificationSettingSync)
}
-void InitialSecurityNotificationSettingSync::SharedCtor() {
-securitynotificationenabled_ = false;
+inline void InitialSecurityNotificationSettingSync::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.securitynotificationenabled_){false}
+ };
}
InitialSecurityNotificationSettingSync::~InitialSecurityNotificationSettingSync() {
// @@protoc_insertion_point(destructor:proto.InitialSecurityNotificationSettingSync)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void InitialSecurityNotificationSettingSync::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}
-void InitialSecurityNotificationSettingSync::ArenaDtor(void* object) {
- InitialSecurityNotificationSettingSync* _this = reinterpret_cast< InitialSecurityNotificationSettingSync* >(object);
- (void)_this;
-}
-void InitialSecurityNotificationSettingSync::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void InitialSecurityNotificationSettingSync::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void InitialSecurityNotificationSettingSync::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.InitialSecurityNotificationSettingSync)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- securitynotificationenabled_ = false;
- _has_bits_.Clear();
+ _impl_.securitynotificationenabled_ = false;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* InitialSecurityNotificationSettingSync::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* InitialSecurityNotificationSettingSync::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional bool securityNotificationEnabled = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
_Internal::set_has_securitynotificationenabled(&has_bits);
- securitynotificationenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.securitynotificationenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -20133,7 +21070,7 @@ const char* InitialSecurityNotificationSettingSync::_InternalParse(const char* p
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -20141,21 +21078,21 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* InitialSecurityNotificationSettingSync::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* InitialSecurityNotificationSettingSync::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.InitialSecurityNotificationSettingSync)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional bool securityNotificationEnabled = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_securitynotificationenabled(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_securitynotificationenabled(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.InitialSecurityNotificationSettingSync)
@@ -20166,42 +21103,38 @@ size_t InitialSecurityNotificationSettingSync::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.InitialSecurityNotificationSettingSync)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional bool securityNotificationEnabled = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 + 1;
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InitialSecurityNotificationSettingSync::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
InitialSecurityNotificationSettingSync::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InitialSecurityNotificationSettingSync::GetClassData() const { return &_class_data_; }
-void InitialSecurityNotificationSettingSync::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<InitialSecurityNotificationSettingSync *>(to)->MergeFrom(
- static_cast<const InitialSecurityNotificationSettingSync &>(from));
-}
-
-void InitialSecurityNotificationSettingSync::MergeFrom(const InitialSecurityNotificationSettingSync& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.InitialSecurityNotificationSettingSync)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void InitialSecurityNotificationSettingSync::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<InitialSecurityNotificationSettingSync*>(&to_msg);
+ auto& from = static_cast<const InitialSecurityNotificationSettingSync&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.InitialSecurityNotificationSettingSync)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_securitynotificationenabled()) {
- _internal_set_securitynotificationenabled(from._internal_securitynotificationenabled());
+ _this->_internal_set_securitynotificationenabled(from._internal_securitynotificationenabled());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void InitialSecurityNotificationSettingSync::CopyFrom(const InitialSecurityNotificationSettingSync& from) {
@@ -20218,12 +21151,12 @@ bool InitialSecurityNotificationSettingSync::IsInitialized() const {
void InitialSecurityNotificationSettingSync::InternalSwap(InitialSecurityNotificationSettingSync* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(securitynotificationenabled_, other->securitynotificationenabled_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.securitynotificationenabled_, other->_impl_.securitynotificationenabled_);
}
::PROTOBUF_NAMESPACE_ID::Metadata InitialSecurityNotificationSettingSync::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[37]);
}
@@ -20232,7 +21165,7 @@ void InitialSecurityNotificationSettingSync::InternalSwap(InitialSecurityNotific
class ContactsArrayMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ContactsArrayMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ContactsArrayMessage>()._impl_._has_bits_);
static void set_has_displayname(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -20244,107 +21177,119 @@ class ContactsArrayMessage::_Internal {
const ::proto::ContextInfo&
ContactsArrayMessage::_Internal::contextinfo(const ContactsArrayMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
ContactsArrayMessage::ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- contacts_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ContactsArrayMessage)
}
ContactsArrayMessage::ContactsArrayMessage(const ContactsArrayMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- contacts_(from.contacts_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ContactsArrayMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.contacts_){from._impl_.contacts_}
+ , decltype(_impl_.displayname_){}
+ , decltype(_impl_.contextinfo_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- displayname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displayname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_displayname()) {
- displayname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_displayname(),
- GetArenaForAllocation());
+ _this->_impl_.displayname_.Set(from._internal_displayname(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
// @@protoc_insertion_point(copy_constructor:proto.ContactsArrayMessage)
}
-void ContactsArrayMessage::SharedCtor() {
-displayname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-contextinfo_ = nullptr;
+inline void ContactsArrayMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.contacts_){arena}
+ , decltype(_impl_.displayname_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ };
+ _impl_.displayname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ContactsArrayMessage::~ContactsArrayMessage() {
// @@protoc_insertion_point(destructor:proto.ContactsArrayMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ContactsArrayMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- displayname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.contacts_.~RepeatedPtrField();
+ _impl_.displayname_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void ContactsArrayMessage::ArenaDtor(void* object) {
- ContactsArrayMessage* _this = reinterpret_cast< ContactsArrayMessage* >(object);
- (void)_this;
-}
-void ContactsArrayMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ContactsArrayMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ContactsArrayMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ContactsArrayMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- contacts_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.contacts_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- displayname_.ClearNonDefaultToEmpty();
+ _impl_.displayname_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ContactsArrayMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ContactsArrayMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string displayName = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_displayname();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ContactsArrayMessage.displayName");
+ ::_pbi::VerifyUTF8(str, "proto.ContactsArrayMessage.displayName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .proto.ContactMessage contacts = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr -= 1;
do {
ptr += 1;
@@ -20357,7 +21302,7 @@ const char* ContactsArrayMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAM
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -20379,7 +21324,7 @@ const char* ContactsArrayMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAM
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -20387,13 +21332,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ContactsArrayMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ContactsArrayMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ContactsArrayMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string displayName = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -20405,23 +21350,22 @@ failure:
}
// repeated .proto.ContactMessage contacts = 2;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_contacts_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_contacts_size()); i < n; i++) {
+ const auto& repfield = this->_internal_contacts(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, this->_internal_contacts(i), target, stream);
+ InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
}
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ContactsArrayMessage)
@@ -20432,18 +21376,18 @@ size_t ContactsArrayMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ContactsArrayMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.ContactMessage contacts = 2;
total_size += 1UL * this->_internal_contacts_size();
- for (const auto& msg : this->contacts_) {
+ for (const auto& msg : this->_impl_.contacts_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional string displayName = 1;
if (cached_has_bits & 0x00000001u) {
@@ -20456,43 +21400,40 @@ size_t ContactsArrayMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000002u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContactsArrayMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ContactsArrayMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContactsArrayMessage::GetClassData() const { return &_class_data_; }
-void ContactsArrayMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ContactsArrayMessage *>(to)->MergeFrom(
- static_cast<const ContactsArrayMessage &>(from));
-}
-
-void ContactsArrayMessage::MergeFrom(const ContactsArrayMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ContactsArrayMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ContactsArrayMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ContactsArrayMessage*>(&to_msg);
+ auto& from = static_cast<const ContactsArrayMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ContactsArrayMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- contacts_.MergeFrom(from.contacts_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.contacts_.MergeFrom(from._impl_.contacts_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_displayname(from._internal_displayname());
+ _this->_internal_set_displayname(from._internal_displayname());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ContactsArrayMessage::CopyFrom(const ContactsArrayMessage& from) {
@@ -20511,18 +21452,17 @@ void ContactsArrayMessage::InternalSwap(ContactsArrayMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- contacts_.InternalSwap(&other->contacts_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.contacts_.InternalSwap(&other->_impl_.contacts_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &displayname_, lhs_arena,
- &other->displayname_, rhs_arena
+ &_impl_.displayname_, lhs_arena,
+ &other->_impl_.displayname_, rhs_arena
);
- swap(contextinfo_, other->contextinfo_);
+ swap(_impl_.contextinfo_, other->_impl_.contextinfo_);
}
::PROTOBUF_NAMESPACE_ID::Metadata ContactsArrayMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[38]);
}
@@ -20531,7 +21471,7 @@ void ContactsArrayMessage::InternalSwap(ContactsArrayMessage* other) {
class HSMCurrency::_Internal {
public:
- using HasBits = decltype(std::declval<HSMCurrency>()._has_bits_);
+ using HasBits = decltype(std::declval<HSMCurrency>()._impl_._has_bits_);
static void set_has_currencycode(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -20543,91 +21483,104 @@ class HSMCurrency::_Internal {
HSMCurrency::HSMCurrency(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HSMCurrency)
}
HSMCurrency::HSMCurrency(const HSMCurrency& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HSMCurrency* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.currencycode_){}
+ , decltype(_impl_.amount1000_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- currencycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.currencycode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_currencycode()) {
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_currencycode(),
- GetArenaForAllocation());
+ _this->_impl_.currencycode_.Set(from._internal_currencycode(),
+ _this->GetArenaForAllocation());
}
- amount1000_ = from.amount1000_;
+ _this->_impl_.amount1000_ = from._impl_.amount1000_;
// @@protoc_insertion_point(copy_constructor:proto.HSMCurrency)
}
-void HSMCurrency::SharedCtor() {
-currencycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-amount1000_ = int64_t{0};
+inline void HSMCurrency::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.currencycode_){}
+ , decltype(_impl_.amount1000_){int64_t{0}}
+ };
+ _impl_.currencycode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
HSMCurrency::~HSMCurrency() {
// @@protoc_insertion_point(destructor:proto.HSMCurrency)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HSMCurrency::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- currencycode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.currencycode_.Destroy();
}
-void HSMCurrency::ArenaDtor(void* object) {
- HSMCurrency* _this = reinterpret_cast< HSMCurrency* >(object);
- (void)_this;
-}
-void HSMCurrency::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HSMCurrency::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HSMCurrency::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HSMCurrency)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- currencycode_.ClearNonDefaultToEmpty();
+ _impl_.currencycode_.ClearNonDefaultToEmpty();
}
- amount1000_ = int64_t{0};
- _has_bits_.Clear();
+ _impl_.amount1000_ = int64_t{0};
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HSMCurrency::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HSMCurrency::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string currencyCode = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_currencycode();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HSMCurrency.currencyCode");
+ ::_pbi::VerifyUTF8(str, "proto.HSMCurrency.currencyCode");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 amount1000 = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_amount1000(&has_bits);
- amount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.amount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -20648,7 +21601,7 @@ const char* HSMCurrency::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -20656,13 +21609,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HSMCurrency::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HSMCurrency::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HSMCurrency)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string currencyCode = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -20676,11 +21629,11 @@ failure:
// optional int64 amount1000 = 2;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->_internal_amount1000(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_amount1000(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HSMCurrency)
@@ -20691,11 +21644,11 @@ size_t HSMCurrency::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HSMCurrency)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional string currencyCode = 1;
if (cached_has_bits & 0x00000001u) {
@@ -20706,43 +21659,39 @@ size_t HSMCurrency::ByteSizeLong() const {
// optional int64 amount1000 = 2;
if (cached_has_bits & 0x00000002u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_amount1000());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_amount1000());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HSMCurrency::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HSMCurrency::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HSMCurrency::GetClassData() const { return &_class_data_; }
-void HSMCurrency::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HSMCurrency *>(to)->MergeFrom(
- static_cast<const HSMCurrency &>(from));
-}
-
-void HSMCurrency::MergeFrom(const HSMCurrency& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMCurrency)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HSMCurrency::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HSMCurrency*>(&to_msg);
+ auto& from = static_cast<const HSMCurrency&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMCurrency)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_currencycode(from._internal_currencycode());
+ _this->_internal_set_currencycode(from._internal_currencycode());
}
if (cached_has_bits & 0x00000002u) {
- amount1000_ = from.amount1000_;
+ _this->_impl_.amount1000_ = from._impl_.amount1000_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HSMCurrency::CopyFrom(const HSMCurrency& from) {
@@ -20761,17 +21710,16 @@ void HSMCurrency::InternalSwap(HSMCurrency* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &currencycode_, lhs_arena,
- &other->currencycode_, rhs_arena
+ &_impl_.currencycode_, lhs_arena,
+ &other->_impl_.currencycode_, rhs_arena
);
- swap(amount1000_, other->amount1000_);
+ swap(_impl_.amount1000_, other->_impl_.amount1000_);
}
::PROTOBUF_NAMESPACE_ID::Metadata HSMCurrency::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[39]);
}
@@ -20780,7 +21728,7 @@ void HSMCurrency::InternalSwap(HSMCurrency* other) {
class HSMDateTimeComponent::_Internal {
public:
- using HasBits = decltype(std::declval<HSMDateTimeComponent>()._has_bits_);
+ using HasBits = decltype(std::declval<HSMDateTimeComponent>()._impl_._has_bits_);
static void set_has_dayofweek(HasBits* has_bits) {
(*has_bits)[0] |= 32u;
}
@@ -20807,81 +21755,93 @@ class HSMDateTimeComponent::_Internal {
HSMDateTimeComponent::HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HSMDateTimeComponent)
}
HSMDateTimeComponent::HSMDateTimeComponent(const HSMDateTimeComponent& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HSMDateTimeComponent* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.year_){}
+ , decltype(_impl_.month_){}
+ , decltype(_impl_.dayofmonth_){}
+ , decltype(_impl_.hour_){}
+ , decltype(_impl_.minute_){}
+ , decltype(_impl_.dayofweek_){}
+ , decltype(_impl_.calendar_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- ::memcpy(&year_, &from.year_,
- static_cast<size_t>(reinterpret_cast<char*>(&calendar_) -
- reinterpret_cast<char*>(&year_)) + sizeof(calendar_));
+ ::memcpy(&_impl_.year_, &from._impl_.year_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.calendar_) -
+ reinterpret_cast<char*>(&_impl_.year_)) + sizeof(_impl_.calendar_));
// @@protoc_insertion_point(copy_constructor:proto.HSMDateTimeComponent)
}
-void HSMDateTimeComponent::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&year_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&minute_) -
- reinterpret_cast<char*>(&year_)) + sizeof(minute_));
-dayofweek_ = 1;
-calendar_ = 1;
+inline void HSMDateTimeComponent::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.year_){0u}
+ , decltype(_impl_.month_){0u}
+ , decltype(_impl_.dayofmonth_){0u}
+ , decltype(_impl_.hour_){0u}
+ , decltype(_impl_.minute_){0u}
+ , decltype(_impl_.dayofweek_){1}
+ , decltype(_impl_.calendar_){1}
+ };
}
HSMDateTimeComponent::~HSMDateTimeComponent() {
// @@protoc_insertion_point(destructor:proto.HSMDateTimeComponent)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HSMDateTimeComponent::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}
-void HSMDateTimeComponent::ArenaDtor(void* object) {
- HSMDateTimeComponent* _this = reinterpret_cast< HSMDateTimeComponent* >(object);
- (void)_this;
-}
-void HSMDateTimeComponent::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HSMDateTimeComponent::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HSMDateTimeComponent::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HSMDateTimeComponent)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
- ::memset(&year_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&minute_) -
- reinterpret_cast<char*>(&year_)) + sizeof(minute_));
- dayofweek_ = 1;
- calendar_ = 1;
+ ::memset(&_impl_.year_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.minute_) -
+ reinterpret_cast<char*>(&_impl_.year_)) + sizeof(_impl_.minute_));
+ _impl_.dayofweek_ = 1;
+ _impl_.calendar_ = 1;
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HSMDateTimeComponent::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HSMDateTimeComponent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentDayOfWeekType dayOfWeek = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType_IsValid(val))) {
_internal_set_dayofweek(static_cast<::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType>(val));
@@ -20893,53 +21853,53 @@ const char* HSMDateTimeComponent::_InternalParse(const char* ptr, ::PROTOBUF_NAM
continue;
// optional uint32 year = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_year(&has_bits);
- year_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.year_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 month = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_month(&has_bits);
- month_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.month_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 dayOfMonth = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
_Internal::set_has_dayofmonth(&has_bits);
- dayofmonth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.dayofmonth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 hour = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_hour(&has_bits);
- hour_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.hour_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 minute = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
_Internal::set_has_minute(&has_bits);
- minute_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.minute_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentCalendarType calendar = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType_IsValid(val))) {
_internal_set_calendar(static_cast<::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType>(val));
@@ -20965,7 +21925,7 @@ const char* HSMDateTimeComponent::_InternalParse(const char* ptr, ::PROTOBUF_NAM
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -20973,59 +21933,59 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HSMDateTimeComponent::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HSMDateTimeComponent::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HSMDateTimeComponent)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentDayOfWeekType dayOfWeek = 1;
if (cached_has_bits & 0x00000020u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this->_internal_dayofweek(), target);
}
// optional uint32 year = 2;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_year(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_year(), target);
}
// optional uint32 month = 3;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_month(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_month(), target);
}
// optional uint32 dayOfMonth = 4;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_dayofmonth(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_dayofmonth(), target);
}
// optional uint32 hour = 5;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_hour(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_hour(), target);
}
// optional uint32 minute = 6;
if (cached_has_bits & 0x00000010u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_minute(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_minute(), target);
}
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentCalendarType calendar = 7;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this->_internal_calendar(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HSMDateTimeComponent)
@@ -21036,98 +21996,94 @@ size_t HSMDateTimeComponent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HSMDateTimeComponent)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
// optional uint32 year = 2;
if (cached_has_bits & 0x00000001u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_year());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_year());
}
// optional uint32 month = 3;
if (cached_has_bits & 0x00000002u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_month());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_month());
}
// optional uint32 dayOfMonth = 4;
if (cached_has_bits & 0x00000004u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_dayofmonth());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dayofmonth());
}
// optional uint32 hour = 5;
if (cached_has_bits & 0x00000008u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_hour());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hour());
}
// optional uint32 minute = 6;
if (cached_has_bits & 0x00000010u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_minute());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minute());
}
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentDayOfWeekType dayOfWeek = 1;
if (cached_has_bits & 0x00000020u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_dayofweek());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_dayofweek());
}
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentCalendarType calendar = 7;
if (cached_has_bits & 0x00000040u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_calendar());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_calendar());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HSMDateTimeComponent::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HSMDateTimeComponent::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HSMDateTimeComponent::GetClassData() const { return &_class_data_; }
-void HSMDateTimeComponent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HSMDateTimeComponent *>(to)->MergeFrom(
- static_cast<const HSMDateTimeComponent &>(from));
-}
-
-void HSMDateTimeComponent::MergeFrom(const HSMDateTimeComponent& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMDateTimeComponent)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HSMDateTimeComponent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HSMDateTimeComponent*>(&to_msg);
+ auto& from = static_cast<const HSMDateTimeComponent&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMDateTimeComponent)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
if (cached_has_bits & 0x00000001u) {
- year_ = from.year_;
+ _this->_impl_.year_ = from._impl_.year_;
}
if (cached_has_bits & 0x00000002u) {
- month_ = from.month_;
+ _this->_impl_.month_ = from._impl_.month_;
}
if (cached_has_bits & 0x00000004u) {
- dayofmonth_ = from.dayofmonth_;
+ _this->_impl_.dayofmonth_ = from._impl_.dayofmonth_;
}
if (cached_has_bits & 0x00000008u) {
- hour_ = from.hour_;
+ _this->_impl_.hour_ = from._impl_.hour_;
}
if (cached_has_bits & 0x00000010u) {
- minute_ = from.minute_;
+ _this->_impl_.minute_ = from._impl_.minute_;
}
if (cached_has_bits & 0x00000020u) {
- dayofweek_ = from.dayofweek_;
+ _this->_impl_.dayofweek_ = from._impl_.dayofweek_;
}
if (cached_has_bits & 0x00000040u) {
- calendar_ = from.calendar_;
+ _this->_impl_.calendar_ = from._impl_.calendar_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HSMDateTimeComponent::CopyFrom(const HSMDateTimeComponent& from) {
@@ -21144,19 +22100,19 @@ bool HSMDateTimeComponent::IsInitialized() const {
void HSMDateTimeComponent::InternalSwap(HSMDateTimeComponent* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(HSMDateTimeComponent, minute_)
- + sizeof(HSMDateTimeComponent::minute_)
- - PROTOBUF_FIELD_OFFSET(HSMDateTimeComponent, year_)>(
- reinterpret_cast<char*>(&year_),
- reinterpret_cast<char*>(&other->year_));
- swap(dayofweek_, other->dayofweek_);
- swap(calendar_, other->calendar_);
+ PROTOBUF_FIELD_OFFSET(HSMDateTimeComponent, _impl_.minute_)
+ + sizeof(HSMDateTimeComponent::_impl_.minute_)
+ - PROTOBUF_FIELD_OFFSET(HSMDateTimeComponent, _impl_.year_)>(
+ reinterpret_cast<char*>(&_impl_.year_),
+ reinterpret_cast<char*>(&other->_impl_.year_));
+ swap(_impl_.dayofweek_, other->_impl_.dayofweek_);
+ swap(_impl_.calendar_, other->_impl_.calendar_);
}
::PROTOBUF_NAMESPACE_ID::Metadata HSMDateTimeComponent::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[40]);
}
@@ -21165,7 +22121,7 @@ void HSMDateTimeComponent::InternalSwap(HSMDateTimeComponent* other) {
class HSMDateTimeUnixEpoch::_Internal {
public:
- using HasBits = decltype(std::declval<HSMDateTimeUnixEpoch>()._has_bits_);
+ using HasBits = decltype(std::declval<HSMDateTimeUnixEpoch>()._impl_._has_bits_);
static void set_has_timestamp(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -21174,68 +22130,73 @@ class HSMDateTimeUnixEpoch::_Internal {
HSMDateTimeUnixEpoch::HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HSMDateTimeUnixEpoch)
}
HSMDateTimeUnixEpoch::HSMDateTimeUnixEpoch(const HSMDateTimeUnixEpoch& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HSMDateTimeUnixEpoch* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.timestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- timestamp_ = from.timestamp_;
+ _this->_impl_.timestamp_ = from._impl_.timestamp_;
// @@protoc_insertion_point(copy_constructor:proto.HSMDateTimeUnixEpoch)
}
-void HSMDateTimeUnixEpoch::SharedCtor() {
-timestamp_ = int64_t{0};
+inline void HSMDateTimeUnixEpoch::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.timestamp_){int64_t{0}}
+ };
}
HSMDateTimeUnixEpoch::~HSMDateTimeUnixEpoch() {
// @@protoc_insertion_point(destructor:proto.HSMDateTimeUnixEpoch)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HSMDateTimeUnixEpoch::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}
-void HSMDateTimeUnixEpoch::ArenaDtor(void* object) {
- HSMDateTimeUnixEpoch* _this = reinterpret_cast< HSMDateTimeUnixEpoch* >(object);
- (void)_this;
-}
-void HSMDateTimeUnixEpoch::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HSMDateTimeUnixEpoch::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HSMDateTimeUnixEpoch::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HSMDateTimeUnixEpoch)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- timestamp_ = int64_t{0};
- _has_bits_.Clear();
+ _impl_.timestamp_ = int64_t{0};
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HSMDateTimeUnixEpoch::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HSMDateTimeUnixEpoch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional int64 timestamp = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
_Internal::set_has_timestamp(&has_bits);
- timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -21256,7 +22217,7 @@ const char* HSMDateTimeUnixEpoch::_InternalParse(const char* ptr, ::PROTOBUF_NAM
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -21264,21 +22225,21 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HSMDateTimeUnixEpoch::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HSMDateTimeUnixEpoch::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HSMDateTimeUnixEpoch)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional int64 timestamp = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_timestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(1, this->_internal_timestamp(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HSMDateTimeUnixEpoch)
@@ -21289,42 +22250,38 @@ size_t HSMDateTimeUnixEpoch::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HSMDateTimeUnixEpoch)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional int64 timestamp = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_timestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_timestamp());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HSMDateTimeUnixEpoch::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HSMDateTimeUnixEpoch::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HSMDateTimeUnixEpoch::GetClassData() const { return &_class_data_; }
-void HSMDateTimeUnixEpoch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HSMDateTimeUnixEpoch *>(to)->MergeFrom(
- static_cast<const HSMDateTimeUnixEpoch &>(from));
-}
-
-void HSMDateTimeUnixEpoch::MergeFrom(const HSMDateTimeUnixEpoch& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMDateTimeUnixEpoch)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HSMDateTimeUnixEpoch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HSMDateTimeUnixEpoch*>(&to_msg);
+ auto& from = static_cast<const HSMDateTimeUnixEpoch&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMDateTimeUnixEpoch)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_timestamp()) {
- _internal_set_timestamp(from._internal_timestamp());
+ _this->_internal_set_timestamp(from._internal_timestamp());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HSMDateTimeUnixEpoch::CopyFrom(const HSMDateTimeUnixEpoch& from) {
@@ -21341,12 +22298,12 @@ bool HSMDateTimeUnixEpoch::IsInitialized() const {
void HSMDateTimeUnixEpoch::InternalSwap(HSMDateTimeUnixEpoch* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(timestamp_, other->timestamp_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.timestamp_, other->_impl_.timestamp_);
}
::PROTOBUF_NAMESPACE_ID::Metadata HSMDateTimeUnixEpoch::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[41]);
}
@@ -21361,24 +22318,24 @@ class HSMDateTime::_Internal {
const ::proto::HSMDateTimeComponent&
HSMDateTime::_Internal::component(const HSMDateTime* msg) {
- return *msg->datetimeOneof_.component_;
+ return *msg->_impl_.datetimeOneof_.component_;
}
const ::proto::HSMDateTimeUnixEpoch&
HSMDateTime::_Internal::unixepoch(const HSMDateTime* msg) {
- return *msg->datetimeOneof_.unixepoch_;
+ return *msg->_impl_.datetimeOneof_.unixepoch_;
}
void HSMDateTime::set_allocated_component(::proto::HSMDateTimeComponent* component) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_datetimeOneof();
if (component) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HSMDateTimeComponent>::GetOwningArena(component);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(component);
if (message_arena != submessage_arena) {
component = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, component, submessage_arena);
}
set_has_component();
- datetimeOneof_.component_ = component;
+ _impl_.datetimeOneof_.component_ = component;
}
// @@protoc_insertion_point(field_set_allocated:proto.HSMDateTime.component)
}
@@ -21387,36 +22344,41 @@ void HSMDateTime::set_allocated_unixepoch(::proto::HSMDateTimeUnixEpoch* unixepo
clear_datetimeOneof();
if (unixepoch) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HSMDateTimeUnixEpoch>::GetOwningArena(unixepoch);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unixepoch);
if (message_arena != submessage_arena) {
unixepoch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, unixepoch, submessage_arena);
}
set_has_unixepoch();
- datetimeOneof_.unixepoch_ = unixepoch;
+ _impl_.datetimeOneof_.unixepoch_ = unixepoch;
}
// @@protoc_insertion_point(field_set_allocated:proto.HSMDateTime.unixEpoch)
}
HSMDateTime::HSMDateTime(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HSMDateTime)
}
HSMDateTime::HSMDateTime(const HSMDateTime& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
+ HSMDateTime* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.datetimeOneof_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
clear_has_datetimeOneof();
switch (from.datetimeOneof_case()) {
case kComponent: {
- _internal_mutable_component()->::proto::HSMDateTimeComponent::MergeFrom(from._internal_component());
+ _this->_internal_mutable_component()->::proto::HSMDateTimeComponent::MergeFrom(
+ from._internal_component());
break;
}
case kUnixEpoch: {
- _internal_mutable_unixepoch()->::proto::HSMDateTimeUnixEpoch::MergeFrom(from._internal_unixepoch());
+ _this->_internal_mutable_unixepoch()->::proto::HSMDateTimeUnixEpoch::MergeFrom(
+ from._internal_unixepoch());
break;
}
case DATETIMEONEOF_NOT_SET: {
@@ -21426,15 +22388,25 @@ HSMDateTime::HSMDateTime(const HSMDateTime& from)
// @@protoc_insertion_point(copy_constructor:proto.HSMDateTime)
}
-void HSMDateTime::SharedCtor() {
-clear_has_datetimeOneof();
+inline void HSMDateTime::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_.datetimeOneof_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ clear_has_datetimeOneof();
}
HSMDateTime::~HSMDateTime() {
// @@protoc_insertion_point(destructor:proto.HSMDateTime)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HSMDateTime::SharedDtor() {
@@ -21444,14 +22416,8 @@ inline void HSMDateTime::SharedDtor() {
}
}
-void HSMDateTime::ArenaDtor(void* object) {
- HSMDateTime* _this = reinterpret_cast< HSMDateTime* >(object);
- (void)_this;
-}
-void HSMDateTime::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HSMDateTime::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HSMDateTime::clear_datetimeOneof() {
@@ -21459,13 +22425,13 @@ void HSMDateTime::clear_datetimeOneof() {
switch (datetimeOneof_case()) {
case kComponent: {
if (GetArenaForAllocation() == nullptr) {
- delete datetimeOneof_.component_;
+ delete _impl_.datetimeOneof_.component_;
}
break;
}
case kUnixEpoch: {
if (GetArenaForAllocation() == nullptr) {
- delete datetimeOneof_.unixepoch_;
+ delete _impl_.datetimeOneof_.unixepoch_;
}
break;
}
@@ -21473,13 +22439,13 @@ void HSMDateTime::clear_datetimeOneof() {
break;
}
}
- _oneof_case_[0] = DATETIMEONEOF_NOT_SET;
+ _impl_._oneof_case_[0] = DATETIMEONEOF_NOT_SET;
}
void HSMDateTime::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HSMDateTime)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
@@ -21487,15 +22453,15 @@ void HSMDateTime::Clear() {
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HSMDateTime::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HSMDateTime::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .proto.HSMDateTimeComponent component = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_component(), ptr);
CHK_(ptr);
} else
@@ -21503,7 +22469,7 @@ const char* HSMDateTime::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// .proto.HSMDateTimeUnixEpoch unixEpoch = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_unixepoch(), ptr);
CHK_(ptr);
} else
@@ -21532,31 +22498,29 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HSMDateTime::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HSMDateTime::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HSMDateTime)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
switch (datetimeOneof_case()) {
case kComponent: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::component(this), target, stream);
+ InternalWriteMessage(1, _Internal::component(this),
+ _Internal::component(this).GetCachedSize(), target, stream);
break;
}
case kUnixEpoch: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::unixepoch(this), target, stream);
+ InternalWriteMessage(2, _Internal::unixepoch(this),
+ _Internal::unixepoch(this).GetCachedSize(), target, stream);
break;
}
default: ;
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HSMDateTime)
@@ -21567,7 +22531,7 @@ size_t HSMDateTime::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HSMDateTime)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
@@ -21576,56 +22540,54 @@ size_t HSMDateTime::ByteSizeLong() const {
case kComponent: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *datetimeOneof_.component_);
+ *_impl_.datetimeOneof_.component_);
break;
}
// .proto.HSMDateTimeUnixEpoch unixEpoch = 2;
case kUnixEpoch: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *datetimeOneof_.unixepoch_);
+ *_impl_.datetimeOneof_.unixepoch_);
break;
}
case DATETIMEONEOF_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HSMDateTime::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HSMDateTime::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HSMDateTime::GetClassData() const { return &_class_data_; }
-void HSMDateTime::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HSMDateTime *>(to)->MergeFrom(
- static_cast<const HSMDateTime &>(from));
-}
-
-void HSMDateTime::MergeFrom(const HSMDateTime& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMDateTime)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HSMDateTime::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HSMDateTime*>(&to_msg);
+ auto& from = static_cast<const HSMDateTime&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMDateTime)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
switch (from.datetimeOneof_case()) {
case kComponent: {
- _internal_mutable_component()->::proto::HSMDateTimeComponent::MergeFrom(from._internal_component());
+ _this->_internal_mutable_component()->::proto::HSMDateTimeComponent::MergeFrom(
+ from._internal_component());
break;
}
case kUnixEpoch: {
- _internal_mutable_unixepoch()->::proto::HSMDateTimeUnixEpoch::MergeFrom(from._internal_unixepoch());
+ _this->_internal_mutable_unixepoch()->::proto::HSMDateTimeUnixEpoch::MergeFrom(
+ from._internal_unixepoch());
break;
}
case DATETIMEONEOF_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HSMDateTime::CopyFrom(const HSMDateTime& from) {
@@ -21642,12 +22604,12 @@ bool HSMDateTime::IsInitialized() const {
void HSMDateTime::InternalSwap(HSMDateTime* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(datetimeOneof_, other->datetimeOneof_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ swap(_impl_.datetimeOneof_, other->_impl_.datetimeOneof_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata HSMDateTime::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[42]);
}
@@ -21656,7 +22618,7 @@ void HSMDateTime::InternalSwap(HSMDateTime* other) {
class HSMLocalizableParameter::_Internal {
public:
- using HasBits = decltype(std::declval<HSMLocalizableParameter>()._has_bits_);
+ using HasBits = decltype(std::declval<HSMLocalizableParameter>()._impl_._has_bits_);
static void set_has_default_(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -21666,24 +22628,24 @@ class HSMLocalizableParameter::_Internal {
const ::proto::HSMCurrency&
HSMLocalizableParameter::_Internal::currency(const HSMLocalizableParameter* msg) {
- return *msg->paramOneof_.currency_;
+ return *msg->_impl_.paramOneof_.currency_;
}
const ::proto::HSMDateTime&
HSMLocalizableParameter::_Internal::datetime(const HSMLocalizableParameter* msg) {
- return *msg->paramOneof_.datetime_;
+ return *msg->_impl_.paramOneof_.datetime_;
}
void HSMLocalizableParameter::set_allocated_currency(::proto::HSMCurrency* currency) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_paramOneof();
if (currency) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HSMCurrency>::GetOwningArena(currency);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(currency);
if (message_arena != submessage_arena) {
currency = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, currency, submessage_arena);
}
set_has_currency();
- paramOneof_.currency_ = currency;
+ _impl_.paramOneof_.currency_ = currency;
}
// @@protoc_insertion_point(field_set_allocated:proto.HSMLocalizableParameter.currency)
}
@@ -21692,42 +22654,51 @@ void HSMLocalizableParameter::set_allocated_datetime(::proto::HSMDateTime* datet
clear_paramOneof();
if (datetime) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HSMDateTime>::GetOwningArena(datetime);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(datetime);
if (message_arena != submessage_arena) {
datetime = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, datetime, submessage_arena);
}
set_has_datetime();
- paramOneof_.datetime_ = datetime;
+ _impl_.paramOneof_.datetime_ = datetime;
}
// @@protoc_insertion_point(field_set_allocated:proto.HSMLocalizableParameter.dateTime)
}
HSMLocalizableParameter::HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HSMLocalizableParameter)
}
HSMLocalizableParameter::HSMLocalizableParameter(const HSMLocalizableParameter& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HSMLocalizableParameter* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.default__){}
+ , decltype(_impl_.paramOneof_){}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- default__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.default__.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.default__.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_default_()) {
- default__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_default_(),
- GetArenaForAllocation());
+ _this->_impl_.default__.Set(from._internal_default_(),
+ _this->GetArenaForAllocation());
}
clear_has_paramOneof();
switch (from.paramOneof_case()) {
case kCurrency: {
- _internal_mutable_currency()->::proto::HSMCurrency::MergeFrom(from._internal_currency());
+ _this->_internal_mutable_currency()->::proto::HSMCurrency::MergeFrom(
+ from._internal_currency());
break;
}
case kDateTime: {
- _internal_mutable_datetime()->::proto::HSMDateTime::MergeFrom(from._internal_datetime());
+ _this->_internal_mutable_datetime()->::proto::HSMDateTime::MergeFrom(
+ from._internal_datetime());
break;
}
case PARAMONEOF_NOT_SET: {
@@ -21737,34 +22708,43 @@ HSMLocalizableParameter::HSMLocalizableParameter(const HSMLocalizableParameter&
// @@protoc_insertion_point(copy_constructor:proto.HSMLocalizableParameter)
}
-void HSMLocalizableParameter::SharedCtor() {
-default__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-clear_has_paramOneof();
+inline void HSMLocalizableParameter::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.default__){}
+ , decltype(_impl_.paramOneof_){}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ _impl_.default__.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.default__.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ clear_has_paramOneof();
}
HSMLocalizableParameter::~HSMLocalizableParameter() {
// @@protoc_insertion_point(destructor:proto.HSMLocalizableParameter)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HSMLocalizableParameter::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- default__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.default__.Destroy();
if (has_paramOneof()) {
clear_paramOneof();
}
}
-void HSMLocalizableParameter::ArenaDtor(void* object) {
- HSMLocalizableParameter* _this = reinterpret_cast< HSMLocalizableParameter* >(object);
- (void)_this;
-}
-void HSMLocalizableParameter::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HSMLocalizableParameter::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HSMLocalizableParameter::clear_paramOneof() {
@@ -21772,13 +22752,13 @@ void HSMLocalizableParameter::clear_paramOneof() {
switch (paramOneof_case()) {
case kCurrency: {
if (GetArenaForAllocation() == nullptr) {
- delete paramOneof_.currency_;
+ delete _impl_.paramOneof_.currency_;
}
break;
}
case kDateTime: {
if (GetArenaForAllocation() == nullptr) {
- delete paramOneof_.datetime_;
+ delete _impl_.paramOneof_.datetime_;
}
break;
}
@@ -21786,47 +22766,47 @@ void HSMLocalizableParameter::clear_paramOneof() {
break;
}
}
- _oneof_case_[0] = PARAMONEOF_NOT_SET;
+ _impl_._oneof_case_[0] = PARAMONEOF_NOT_SET;
}
void HSMLocalizableParameter::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HSMLocalizableParameter)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- default__.ClearNonDefaultToEmpty();
+ _impl_.default__.ClearNonDefaultToEmpty();
}
clear_paramOneof();
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HSMLocalizableParameter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HSMLocalizableParameter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string default = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_default_();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HSMLocalizableParameter.default");
+ ::_pbi::VerifyUTF8(str, "proto.HSMLocalizableParameter.default");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// .proto.HSMCurrency currency = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_currency(), ptr);
CHK_(ptr);
} else
@@ -21834,7 +22814,7 @@ const char* HSMLocalizableParameter::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// .proto.HSMDateTime dateTime = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_datetime(), ptr);
CHK_(ptr);
} else
@@ -21856,7 +22836,7 @@ const char* HSMLocalizableParameter::_InternalParse(const char* ptr, ::PROTOBUF_
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -21864,13 +22844,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HSMLocalizableParameter::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HSMLocalizableParameter::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HSMLocalizableParameter)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string default = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -21883,23 +22863,21 @@ failure:
switch (paramOneof_case()) {
case kCurrency: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::currency(this), target, stream);
+ InternalWriteMessage(2, _Internal::currency(this),
+ _Internal::currency(this).GetCachedSize(), target, stream);
break;
}
case kDateTime: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::datetime(this), target, stream);
+ InternalWriteMessage(3, _Internal::datetime(this),
+ _Internal::datetime(this).GetCachedSize(), target, stream);
break;
}
default: ;
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HSMLocalizableParameter)
@@ -21910,12 +22888,12 @@ size_t HSMLocalizableParameter::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HSMLocalizableParameter)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional string default = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
@@ -21927,59 +22905,57 @@ size_t HSMLocalizableParameter::ByteSizeLong() const {
case kCurrency: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *paramOneof_.currency_);
+ *_impl_.paramOneof_.currency_);
break;
}
// .proto.HSMDateTime dateTime = 3;
case kDateTime: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *paramOneof_.datetime_);
+ *_impl_.paramOneof_.datetime_);
break;
}
case PARAMONEOF_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HSMLocalizableParameter::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HSMLocalizableParameter::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HSMLocalizableParameter::GetClassData() const { return &_class_data_; }
-void HSMLocalizableParameter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HSMLocalizableParameter *>(to)->MergeFrom(
- static_cast<const HSMLocalizableParameter &>(from));
-}
-
-void HSMLocalizableParameter::MergeFrom(const HSMLocalizableParameter& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMLocalizableParameter)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HSMLocalizableParameter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HSMLocalizableParameter*>(&to_msg);
+ auto& from = static_cast<const HSMLocalizableParameter&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HSMLocalizableParameter)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_default_()) {
- _internal_set_default_(from._internal_default_());
+ _this->_internal_set_default_(from._internal_default_());
}
switch (from.paramOneof_case()) {
case kCurrency: {
- _internal_mutable_currency()->::proto::HSMCurrency::MergeFrom(from._internal_currency());
+ _this->_internal_mutable_currency()->::proto::HSMCurrency::MergeFrom(
+ from._internal_currency());
break;
}
case kDateTime: {
- _internal_mutable_datetime()->::proto::HSMDateTime::MergeFrom(from._internal_datetime());
+ _this->_internal_mutable_datetime()->::proto::HSMDateTime::MergeFrom(
+ from._internal_datetime());
break;
}
case PARAMONEOF_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HSMLocalizableParameter::CopyFrom(const HSMLocalizableParameter& from) {
@@ -21998,18 +22974,17 @@ void HSMLocalizableParameter::InternalSwap(HSMLocalizableParameter* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &default__, lhs_arena,
- &other->default__, rhs_arena
+ &_impl_.default__, lhs_arena,
+ &other->_impl_.default__, rhs_arena
);
- swap(paramOneof_, other->paramOneof_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ swap(_impl_.paramOneof_, other->_impl_.paramOneof_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata HSMLocalizableParameter::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[43]);
}
@@ -22018,7 +22993,7 @@ void HSMLocalizableParameter::InternalSwap(HSMLocalizableParameter* other) {
class HighlyStructuredMessage::_Internal {
public:
- using HasBits = decltype(std::declval<HighlyStructuredMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<HighlyStructuredMessage>()._impl_._has_bits_);
static void set_has_namespace_(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -22045,181 +23020,234 @@ class HighlyStructuredMessage::_Internal {
const ::proto::TemplateMessage&
HighlyStructuredMessage::_Internal::hydratedhsm(const HighlyStructuredMessage* msg) {
- return *msg->hydratedhsm_;
+ return *msg->_impl_.hydratedhsm_;
}
HighlyStructuredMessage::HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- params_(arena),
- localizableparams_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HighlyStructuredMessage)
}
HighlyStructuredMessage::HighlyStructuredMessage(const HighlyStructuredMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- params_(from.params_),
- localizableparams_(from.localizableparams_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HighlyStructuredMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.params_){from._impl_.params_}
+ , decltype(_impl_.localizableparams_){from._impl_.localizableparams_}
+ , decltype(_impl_.namespace__){}
+ , decltype(_impl_.elementname_){}
+ , decltype(_impl_.fallbacklg_){}
+ , decltype(_impl_.fallbacklc_){}
+ , decltype(_impl_.deterministiclg_){}
+ , decltype(_impl_.deterministiclc_){}
+ , decltype(_impl_.hydratedhsm_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- namespace__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.namespace__.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.namespace__.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_namespace_()) {
- namespace__.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_namespace_(),
- GetArenaForAllocation());
+ _this->_impl_.namespace__.Set(from._internal_namespace_(),
+ _this->GetArenaForAllocation());
}
- elementname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.elementname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.elementname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_elementname()) {
- elementname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_elementname(),
- GetArenaForAllocation());
+ _this->_impl_.elementname_.Set(from._internal_elementname(),
+ _this->GetArenaForAllocation());
}
- fallbacklg_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.fallbacklg_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fallbacklg_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_fallbacklg()) {
- fallbacklg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_fallbacklg(),
- GetArenaForAllocation());
+ _this->_impl_.fallbacklg_.Set(from._internal_fallbacklg(),
+ _this->GetArenaForAllocation());
}
- fallbacklc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.fallbacklc_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fallbacklc_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_fallbacklc()) {
- fallbacklc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_fallbacklc(),
- GetArenaForAllocation());
+ _this->_impl_.fallbacklc_.Set(from._internal_fallbacklc(),
+ _this->GetArenaForAllocation());
}
- deterministiclg_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.deterministiclg_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.deterministiclg_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_deterministiclg()) {
- deterministiclg_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_deterministiclg(),
- GetArenaForAllocation());
+ _this->_impl_.deterministiclg_.Set(from._internal_deterministiclg(),
+ _this->GetArenaForAllocation());
}
- deterministiclc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.deterministiclc_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.deterministiclc_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_deterministiclc()) {
- deterministiclc_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_deterministiclc(),
- GetArenaForAllocation());
+ _this->_impl_.deterministiclc_.Set(from._internal_deterministiclc(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_hydratedhsm()) {
- hydratedhsm_ = new ::proto::TemplateMessage(*from.hydratedhsm_);
- } else {
- hydratedhsm_ = nullptr;
+ _this->_impl_.hydratedhsm_ = new ::proto::TemplateMessage(*from._impl_.hydratedhsm_);
}
// @@protoc_insertion_point(copy_constructor:proto.HighlyStructuredMessage)
}
-void HighlyStructuredMessage::SharedCtor() {
-namespace__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-elementname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fallbacklg_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fallbacklc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-deterministiclg_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-deterministiclc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-hydratedhsm_ = nullptr;
+inline void HighlyStructuredMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.params_){arena}
+ , decltype(_impl_.localizableparams_){arena}
+ , decltype(_impl_.namespace__){}
+ , decltype(_impl_.elementname_){}
+ , decltype(_impl_.fallbacklg_){}
+ , decltype(_impl_.fallbacklc_){}
+ , decltype(_impl_.deterministiclg_){}
+ , decltype(_impl_.deterministiclc_){}
+ , decltype(_impl_.hydratedhsm_){nullptr}
+ };
+ _impl_.namespace__.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.namespace__.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.elementname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.elementname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fallbacklg_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fallbacklg_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fallbacklc_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fallbacklc_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.deterministiclg_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.deterministiclg_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.deterministiclc_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.deterministiclc_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
HighlyStructuredMessage::~HighlyStructuredMessage() {
// @@protoc_insertion_point(destructor:proto.HighlyStructuredMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HighlyStructuredMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- namespace__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- elementname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- fallbacklg_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- fallbacklc_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- deterministiclg_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- deterministiclc_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete hydratedhsm_;
+ _impl_.params_.~RepeatedPtrField();
+ _impl_.localizableparams_.~RepeatedPtrField();
+ _impl_.namespace__.Destroy();
+ _impl_.elementname_.Destroy();
+ _impl_.fallbacklg_.Destroy();
+ _impl_.fallbacklc_.Destroy();
+ _impl_.deterministiclg_.Destroy();
+ _impl_.deterministiclc_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.hydratedhsm_;
}
-void HighlyStructuredMessage::ArenaDtor(void* object) {
- HighlyStructuredMessage* _this = reinterpret_cast< HighlyStructuredMessage* >(object);
- (void)_this;
-}
-void HighlyStructuredMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HighlyStructuredMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HighlyStructuredMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HighlyStructuredMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- params_.Clear();
- localizableparams_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.params_.Clear();
+ _impl_.localizableparams_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
if (cached_has_bits & 0x00000001u) {
- namespace__.ClearNonDefaultToEmpty();
+ _impl_.namespace__.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- elementname_.ClearNonDefaultToEmpty();
+ _impl_.elementname_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- fallbacklg_.ClearNonDefaultToEmpty();
+ _impl_.fallbacklg_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- fallbacklc_.ClearNonDefaultToEmpty();
+ _impl_.fallbacklc_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- deterministiclg_.ClearNonDefaultToEmpty();
+ _impl_.deterministiclg_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- deterministiclc_.ClearNonDefaultToEmpty();
+ _impl_.deterministiclc_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- GOOGLE_DCHECK(hydratedhsm_ != nullptr);
- hydratedhsm_->Clear();
+ GOOGLE_DCHECK(_impl_.hydratedhsm_ != nullptr);
+ _impl_.hydratedhsm_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HighlyStructuredMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HighlyStructuredMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string namespace = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_namespace_();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HighlyStructuredMessage.namespace");
+ ::_pbi::VerifyUTF8(str, "proto.HighlyStructuredMessage.namespace");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string elementName = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_elementname();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HighlyStructuredMessage.elementName");
+ ::_pbi::VerifyUTF8(str, "proto.HighlyStructuredMessage.elementName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated string params = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr -= 1;
do {
ptr += 1;
auto str = _internal_add_params();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HighlyStructuredMessage.params");
+ ::_pbi::VerifyUTF8(str, "proto.HighlyStructuredMessage.params");
#endif // !NDEBUG
- CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
} else
@@ -22227,31 +23255,31 @@ const char* HighlyStructuredMessage::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// optional string fallbackLg = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_fallbacklg();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HighlyStructuredMessage.fallbackLg");
+ ::_pbi::VerifyUTF8(str, "proto.HighlyStructuredMessage.fallbackLg");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string fallbackLc = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_fallbacklc();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HighlyStructuredMessage.fallbackLc");
+ ::_pbi::VerifyUTF8(str, "proto.HighlyStructuredMessage.fallbackLc");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .proto.HSMLocalizableParameter localizableParams = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
ptr -= 1;
do {
ptr += 1;
@@ -22264,31 +23292,31 @@ const char* HighlyStructuredMessage::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// optional string deterministicLg = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_deterministiclg();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HighlyStructuredMessage.deterministicLg");
+ ::_pbi::VerifyUTF8(str, "proto.HighlyStructuredMessage.deterministicLg");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string deterministicLc = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_deterministiclc();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HighlyStructuredMessage.deterministicLc");
+ ::_pbi::VerifyUTF8(str, "proto.HighlyStructuredMessage.deterministicLc");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.TemplateMessage hydratedHsm = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
ptr = ctx->ParseMessage(_internal_mutable_hydratedhsm(), ptr);
CHK_(ptr);
} else
@@ -22310,7 +23338,7 @@ const char* HighlyStructuredMessage::_InternalParse(const char* ptr, ::PROTOBUF_
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -22318,13 +23346,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HighlyStructuredMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HighlyStructuredMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HighlyStructuredMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string namespace = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -22376,11 +23404,11 @@ failure:
}
// repeated .proto.HSMLocalizableParameter localizableParams = 6;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_localizableparams_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_localizableparams_size()); i < n; i++) {
+ const auto& repfield = this->_internal_localizableparams(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(6, this->_internal_localizableparams(i), target, stream);
+ InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream);
}
// optional string deterministicLg = 7;
@@ -22405,14 +23433,13 @@ failure:
// optional .proto.TemplateMessage hydratedHsm = 9;
if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 9, _Internal::hydratedhsm(this), target, stream);
+ InternalWriteMessage(9, _Internal::hydratedhsm(this),
+ _Internal::hydratedhsm(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HighlyStructuredMessage)
@@ -22423,26 +23450,26 @@ size_t HighlyStructuredMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HighlyStructuredMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated string params = 3;
total_size += 1 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(params_.size());
- for (int i = 0, n = params_.size(); i < n; i++) {
+ ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.params_.size());
+ for (int i = 0, n = _impl_.params_.size(); i < n; i++) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- params_.Get(i));
+ _impl_.params_.Get(i));
}
// repeated .proto.HSMLocalizableParameter localizableParams = 6;
total_size += 1UL * this->_internal_localizableparams_size();
- for (const auto& msg : this->localizableparams_) {
+ for (const auto& msg : this->_impl_.localizableparams_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
// optional string namespace = 1;
if (cached_has_bits & 0x00000001u) {
@@ -22490,59 +23517,56 @@ size_t HighlyStructuredMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000040u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *hydratedhsm_);
+ *_impl_.hydratedhsm_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HighlyStructuredMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HighlyStructuredMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HighlyStructuredMessage::GetClassData() const { return &_class_data_; }
-void HighlyStructuredMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HighlyStructuredMessage *>(to)->MergeFrom(
- static_cast<const HighlyStructuredMessage &>(from));
-}
-
-void HighlyStructuredMessage::MergeFrom(const HighlyStructuredMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HighlyStructuredMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HighlyStructuredMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HighlyStructuredMessage*>(&to_msg);
+ auto& from = static_cast<const HighlyStructuredMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HighlyStructuredMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- params_.MergeFrom(from.params_);
- localizableparams_.MergeFrom(from.localizableparams_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.params_.MergeFrom(from._impl_.params_);
+ _this->_impl_.localizableparams_.MergeFrom(from._impl_.localizableparams_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_namespace_(from._internal_namespace_());
+ _this->_internal_set_namespace_(from._internal_namespace_());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_elementname(from._internal_elementname());
+ _this->_internal_set_elementname(from._internal_elementname());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_fallbacklg(from._internal_fallbacklg());
+ _this->_internal_set_fallbacklg(from._internal_fallbacklg());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_fallbacklc(from._internal_fallbacklc());
+ _this->_internal_set_fallbacklc(from._internal_fallbacklc());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_deterministiclg(from._internal_deterministiclg());
+ _this->_internal_set_deterministiclg(from._internal_deterministiclg());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_deterministiclc(from._internal_deterministiclc());
+ _this->_internal_set_deterministiclc(from._internal_deterministiclc());
}
if (cached_has_bits & 0x00000040u) {
- _internal_mutable_hydratedhsm()->::proto::TemplateMessage::MergeFrom(from._internal_hydratedhsm());
+ _this->_internal_mutable_hydratedhsm()->::proto::TemplateMessage::MergeFrom(
+ from._internal_hydratedhsm());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HighlyStructuredMessage::CopyFrom(const HighlyStructuredMessage& from) {
@@ -22561,44 +23585,38 @@ void HighlyStructuredMessage::InternalSwap(HighlyStructuredMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- params_.InternalSwap(&other->params_);
- localizableparams_.InternalSwap(&other->localizableparams_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.params_.InternalSwap(&other->_impl_.params_);
+ _impl_.localizableparams_.InternalSwap(&other->_impl_.localizableparams_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &namespace__, lhs_arena,
- &other->namespace__, rhs_arena
+ &_impl_.namespace__, lhs_arena,
+ &other->_impl_.namespace__, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &elementname_, lhs_arena,
- &other->elementname_, rhs_arena
+ &_impl_.elementname_, lhs_arena,
+ &other->_impl_.elementname_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &fallbacklg_, lhs_arena,
- &other->fallbacklg_, rhs_arena
+ &_impl_.fallbacklg_, lhs_arena,
+ &other->_impl_.fallbacklg_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &fallbacklc_, lhs_arena,
- &other->fallbacklc_, rhs_arena
+ &_impl_.fallbacklc_, lhs_arena,
+ &other->_impl_.fallbacklc_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &deterministiclg_, lhs_arena,
- &other->deterministiclg_, rhs_arena
+ &_impl_.deterministiclg_, lhs_arena,
+ &other->_impl_.deterministiclg_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &deterministiclc_, lhs_arena,
- &other->deterministiclc_, rhs_arena
+ &_impl_.deterministiclc_, lhs_arena,
+ &other->_impl_.deterministiclc_, rhs_arena
);
- swap(hydratedhsm_, other->hydratedhsm_);
+ swap(_impl_.hydratedhsm_, other->_impl_.hydratedhsm_);
}
::PROTOBUF_NAMESPACE_ID::Metadata HighlyStructuredMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[44]);
}
@@ -22607,7 +23625,7 @@ void HighlyStructuredMessage::InternalSwap(HighlyStructuredMessage* other) {
class SendPaymentMessage::_Internal {
public:
- using HasBits = decltype(std::declval<SendPaymentMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<SendPaymentMessage>()._impl_._has_bits_);
static const ::proto::Message& notemessage(const SendPaymentMessage* msg);
static void set_has_notemessage(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -22620,99 +23638,99 @@ class SendPaymentMessage::_Internal {
const ::proto::Message&
SendPaymentMessage::_Internal::notemessage(const SendPaymentMessage* msg) {
- return *msg->notemessage_;
+ return *msg->_impl_.notemessage_;
}
const ::proto::MessageKey&
SendPaymentMessage::_Internal::requestmessagekey(const SendPaymentMessage* msg) {
- return *msg->requestmessagekey_;
+ return *msg->_impl_.requestmessagekey_;
}
SendPaymentMessage::SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.SendPaymentMessage)
}
SendPaymentMessage::SendPaymentMessage(const SendPaymentMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ SendPaymentMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.notemessage_){nullptr}
+ , decltype(_impl_.requestmessagekey_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_notemessage()) {
- notemessage_ = new ::proto::Message(*from.notemessage_);
- } else {
- notemessage_ = nullptr;
+ _this->_impl_.notemessage_ = new ::proto::Message(*from._impl_.notemessage_);
}
if (from._internal_has_requestmessagekey()) {
- requestmessagekey_ = new ::proto::MessageKey(*from.requestmessagekey_);
- } else {
- requestmessagekey_ = nullptr;
+ _this->_impl_.requestmessagekey_ = new ::proto::MessageKey(*from._impl_.requestmessagekey_);
}
// @@protoc_insertion_point(copy_constructor:proto.SendPaymentMessage)
}
-void SendPaymentMessage::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&notemessage_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&requestmessagekey_) -
- reinterpret_cast<char*>(&notemessage_)) + sizeof(requestmessagekey_));
+inline void SendPaymentMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.notemessage_){nullptr}
+ , decltype(_impl_.requestmessagekey_){nullptr}
+ };
}
SendPaymentMessage::~SendPaymentMessage() {
// @@protoc_insertion_point(destructor:proto.SendPaymentMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void SendPaymentMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete notemessage_;
- if (this != internal_default_instance()) delete requestmessagekey_;
+ if (this != internal_default_instance()) delete _impl_.notemessage_;
+ if (this != internal_default_instance()) delete _impl_.requestmessagekey_;
}
-void SendPaymentMessage::ArenaDtor(void* object) {
- SendPaymentMessage* _this = reinterpret_cast< SendPaymentMessage* >(object);
- (void)_this;
-}
-void SendPaymentMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void SendPaymentMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void SendPaymentMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.SendPaymentMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(notemessage_ != nullptr);
- notemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.notemessage_ != nullptr);
+ _impl_.notemessage_->Clear();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(requestmessagekey_ != nullptr);
- requestmessagekey_->Clear();
+ GOOGLE_DCHECK(_impl_.requestmessagekey_ != nullptr);
+ _impl_.requestmessagekey_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* SendPaymentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* SendPaymentMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.Message noteMessage = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_notemessage(), ptr);
CHK_(ptr);
} else
@@ -22720,7 +23738,7 @@ const char* SendPaymentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMES
continue;
// optional .proto.MessageKey requestMessageKey = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_requestmessagekey(), ptr);
CHK_(ptr);
} else
@@ -22742,7 +23760,7 @@ const char* SendPaymentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMES
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -22750,31 +23768,29 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* SendPaymentMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* SendPaymentMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.SendPaymentMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.Message noteMessage = 2;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::notemessage(this), target, stream);
+ InternalWriteMessage(2, _Internal::notemessage(this),
+ _Internal::notemessage(this).GetCachedSize(), target, stream);
}
// optional .proto.MessageKey requestMessageKey = 3;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::requestmessagekey(this), target, stream);
+ InternalWriteMessage(3, _Internal::requestmessagekey(this),
+ _Internal::requestmessagekey(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.SendPaymentMessage)
@@ -22785,59 +23801,57 @@ size_t SendPaymentMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.SendPaymentMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional .proto.Message noteMessage = 2;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *notemessage_);
+ *_impl_.notemessage_);
}
// optional .proto.MessageKey requestMessageKey = 3;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *requestmessagekey_);
+ *_impl_.requestmessagekey_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SendPaymentMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
SendPaymentMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SendPaymentMessage::GetClassData() const { return &_class_data_; }
-void SendPaymentMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<SendPaymentMessage *>(to)->MergeFrom(
- static_cast<const SendPaymentMessage &>(from));
-}
-
-void SendPaymentMessage::MergeFrom(const SendPaymentMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.SendPaymentMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void SendPaymentMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<SendPaymentMessage*>(&to_msg);
+ auto& from = static_cast<const SendPaymentMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.SendPaymentMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_mutable_notemessage()->::proto::Message::MergeFrom(from._internal_notemessage());
+ _this->_internal_mutable_notemessage()->::proto::Message::MergeFrom(
+ from._internal_notemessage());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_requestmessagekey()->::proto::MessageKey::MergeFrom(from._internal_requestmessagekey());
+ _this->_internal_mutable_requestmessagekey()->::proto::MessageKey::MergeFrom(
+ from._internal_requestmessagekey());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void SendPaymentMessage::CopyFrom(const SendPaymentMessage& from) {
@@ -22854,17 +23868,17 @@ bool SendPaymentMessage::IsInitialized() const {
void SendPaymentMessage::InternalSwap(SendPaymentMessage* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(SendPaymentMessage, requestmessagekey_)
- + sizeof(SendPaymentMessage::requestmessagekey_)
- - PROTOBUF_FIELD_OFFSET(SendPaymentMessage, notemessage_)>(
- reinterpret_cast<char*>(&notemessage_),
- reinterpret_cast<char*>(&other->notemessage_));
+ PROTOBUF_FIELD_OFFSET(SendPaymentMessage, _impl_.requestmessagekey_)
+ + sizeof(SendPaymentMessage::_impl_.requestmessagekey_)
+ - PROTOBUF_FIELD_OFFSET(SendPaymentMessage, _impl_.notemessage_)>(
+ reinterpret_cast<char*>(&_impl_.notemessage_),
+ reinterpret_cast<char*>(&other->_impl_.notemessage_));
}
::PROTOBUF_NAMESPACE_ID::Metadata SendPaymentMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[45]);
}
@@ -22873,7 +23887,7 @@ void SendPaymentMessage::InternalSwap(SendPaymentMessage* other) {
class RequestPaymentMessage::_Internal {
public:
- using HasBits = decltype(std::declval<RequestPaymentMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<RequestPaymentMessage>()._impl_._has_bits_);
static const ::proto::Message& notemessage(const RequestPaymentMessage* msg);
static void set_has_notemessage(HasBits* has_bits) {
(*has_bits)[0] |= 4u;
@@ -22898,160 +23912,180 @@ class RequestPaymentMessage::_Internal {
const ::proto::Message&
RequestPaymentMessage::_Internal::notemessage(const RequestPaymentMessage* msg) {
- return *msg->notemessage_;
+ return *msg->_impl_.notemessage_;
}
const ::proto::PaymentMoney&
RequestPaymentMessage::_Internal::amount(const RequestPaymentMessage* msg) {
- return *msg->amount_;
+ return *msg->_impl_.amount_;
}
RequestPaymentMessage::RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.RequestPaymentMessage)
}
RequestPaymentMessage::RequestPaymentMessage(const RequestPaymentMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ RequestPaymentMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.currencycodeiso4217_){}
+ , decltype(_impl_.requestfrom_){}
+ , decltype(_impl_.notemessage_){nullptr}
+ , decltype(_impl_.amount_){nullptr}
+ , decltype(_impl_.amount1000_){}
+ , decltype(_impl_.expirytimestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- currencycodeiso4217_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.currencycodeiso4217_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycodeiso4217_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_currencycodeiso4217()) {
- currencycodeiso4217_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_currencycodeiso4217(),
- GetArenaForAllocation());
+ _this->_impl_.currencycodeiso4217_.Set(from._internal_currencycodeiso4217(),
+ _this->GetArenaForAllocation());
}
- requestfrom_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.requestfrom_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.requestfrom_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_requestfrom()) {
- requestfrom_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_requestfrom(),
- GetArenaForAllocation());
+ _this->_impl_.requestfrom_.Set(from._internal_requestfrom(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_notemessage()) {
- notemessage_ = new ::proto::Message(*from.notemessage_);
- } else {
- notemessage_ = nullptr;
+ _this->_impl_.notemessage_ = new ::proto::Message(*from._impl_.notemessage_);
}
if (from._internal_has_amount()) {
- amount_ = new ::proto::PaymentMoney(*from.amount_);
- } else {
- amount_ = nullptr;
+ _this->_impl_.amount_ = new ::proto::PaymentMoney(*from._impl_.amount_);
}
- ::memcpy(&amount1000_, &from.amount1000_,
- static_cast<size_t>(reinterpret_cast<char*>(&expirytimestamp_) -
- reinterpret_cast<char*>(&amount1000_)) + sizeof(expirytimestamp_));
+ ::memcpy(&_impl_.amount1000_, &from._impl_.amount1000_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.expirytimestamp_) -
+ reinterpret_cast<char*>(&_impl_.amount1000_)) + sizeof(_impl_.expirytimestamp_));
// @@protoc_insertion_point(copy_constructor:proto.RequestPaymentMessage)
}
-void RequestPaymentMessage::SharedCtor() {
-currencycodeiso4217_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-requestfrom_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&notemessage_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&expirytimestamp_) -
- reinterpret_cast<char*>(&notemessage_)) + sizeof(expirytimestamp_));
+inline void RequestPaymentMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.currencycodeiso4217_){}
+ , decltype(_impl_.requestfrom_){}
+ , decltype(_impl_.notemessage_){nullptr}
+ , decltype(_impl_.amount_){nullptr}
+ , decltype(_impl_.amount1000_){uint64_t{0u}}
+ , decltype(_impl_.expirytimestamp_){int64_t{0}}
+ };
+ _impl_.currencycodeiso4217_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycodeiso4217_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.requestfrom_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.requestfrom_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
RequestPaymentMessage::~RequestPaymentMessage() {
// @@protoc_insertion_point(destructor:proto.RequestPaymentMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void RequestPaymentMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- currencycodeiso4217_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- requestfrom_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete notemessage_;
- if (this != internal_default_instance()) delete amount_;
+ _impl_.currencycodeiso4217_.Destroy();
+ _impl_.requestfrom_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.notemessage_;
+ if (this != internal_default_instance()) delete _impl_.amount_;
}
-void RequestPaymentMessage::ArenaDtor(void* object) {
- RequestPaymentMessage* _this = reinterpret_cast< RequestPaymentMessage* >(object);
- (void)_this;
-}
-void RequestPaymentMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void RequestPaymentMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void RequestPaymentMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.RequestPaymentMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- currencycodeiso4217_.ClearNonDefaultToEmpty();
+ _impl_.currencycodeiso4217_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- requestfrom_.ClearNonDefaultToEmpty();
+ _impl_.requestfrom_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(notemessage_ != nullptr);
- notemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.notemessage_ != nullptr);
+ _impl_.notemessage_->Clear();
}
if (cached_has_bits & 0x00000008u) {
- GOOGLE_DCHECK(amount_ != nullptr);
- amount_->Clear();
+ GOOGLE_DCHECK(_impl_.amount_ != nullptr);
+ _impl_.amount_->Clear();
}
}
if (cached_has_bits & 0x00000030u) {
- ::memset(&amount1000_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&expirytimestamp_) -
- reinterpret_cast<char*>(&amount1000_)) + sizeof(expirytimestamp_));
+ ::memset(&_impl_.amount1000_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.expirytimestamp_) -
+ reinterpret_cast<char*>(&_impl_.amount1000_)) + sizeof(_impl_.expirytimestamp_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* RequestPaymentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* RequestPaymentMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string currencyCodeIso4217 = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_currencycodeiso4217();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.RequestPaymentMessage.currencyCodeIso4217");
+ ::_pbi::VerifyUTF8(str, "proto.RequestPaymentMessage.currencyCodeIso4217");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 amount1000 = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_amount1000(&has_bits);
- amount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.amount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string requestFrom = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_requestfrom();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.RequestPaymentMessage.requestFrom");
+ ::_pbi::VerifyUTF8(str, "proto.RequestPaymentMessage.requestFrom");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.Message noteMessage = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_notemessage(), ptr);
CHK_(ptr);
} else
@@ -23059,16 +24093,16 @@ const char* RequestPaymentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NA
continue;
// optional int64 expiryTimestamp = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_expirytimestamp(&has_bits);
- expirytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.expirytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.PaymentMoney amount = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
ptr = ctx->ParseMessage(_internal_mutable_amount(), ptr);
CHK_(ptr);
} else
@@ -23090,7 +24124,7 @@ const char* RequestPaymentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NA
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -23098,13 +24132,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* RequestPaymentMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* RequestPaymentMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.RequestPaymentMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string currencyCodeIso4217 = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -23118,7 +24152,7 @@ failure:
// optional uint64 amount1000 = 2;
if (cached_has_bits & 0x00000010u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_amount1000(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_amount1000(), target);
}
// optional string requestFrom = 3;
@@ -23133,28 +24167,26 @@ failure:
// optional .proto.Message noteMessage = 4;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 4, _Internal::notemessage(this), target, stream);
+ InternalWriteMessage(4, _Internal::notemessage(this),
+ _Internal::notemessage(this).GetCachedSize(), target, stream);
}
// optional int64 expiryTimestamp = 5;
if (cached_has_bits & 0x00000020u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_expirytimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_expirytimestamp(), target);
}
// optional .proto.PaymentMoney amount = 6;
if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 6, _Internal::amount(this), target, stream);
+ InternalWriteMessage(6, _Internal::amount(this),
+ _Internal::amount(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.RequestPaymentMessage)
@@ -23165,11 +24197,11 @@ size_t RequestPaymentMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.RequestPaymentMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000003fu) {
// optional string currencyCodeIso4217 = 1;
if (cached_has_bits & 0x00000001u) {
@@ -23189,72 +24221,70 @@ size_t RequestPaymentMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *notemessage_);
+ *_impl_.notemessage_);
}
// optional .proto.PaymentMoney amount = 6;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *amount_);
+ *_impl_.amount_);
}
// optional uint64 amount1000 = 2;
if (cached_has_bits & 0x00000010u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_amount1000());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_amount1000());
}
// optional int64 expiryTimestamp = 5;
if (cached_has_bits & 0x00000020u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_expirytimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_expirytimestamp());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RequestPaymentMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
RequestPaymentMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RequestPaymentMessage::GetClassData() const { return &_class_data_; }
-void RequestPaymentMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<RequestPaymentMessage *>(to)->MergeFrom(
- static_cast<const RequestPaymentMessage &>(from));
-}
-
-void RequestPaymentMessage::MergeFrom(const RequestPaymentMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.RequestPaymentMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void RequestPaymentMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<RequestPaymentMessage*>(&to_msg);
+ auto& from = static_cast<const RequestPaymentMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.RequestPaymentMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000003fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_currencycodeiso4217(from._internal_currencycodeiso4217());
+ _this->_internal_set_currencycodeiso4217(from._internal_currencycodeiso4217());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_requestfrom(from._internal_requestfrom());
+ _this->_internal_set_requestfrom(from._internal_requestfrom());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_notemessage()->::proto::Message::MergeFrom(from._internal_notemessage());
+ _this->_internal_mutable_notemessage()->::proto::Message::MergeFrom(
+ from._internal_notemessage());
}
if (cached_has_bits & 0x00000008u) {
- _internal_mutable_amount()->::proto::PaymentMoney::MergeFrom(from._internal_amount());
+ _this->_internal_mutable_amount()->::proto::PaymentMoney::MergeFrom(
+ from._internal_amount());
}
if (cached_has_bits & 0x00000010u) {
- amount1000_ = from.amount1000_;
+ _this->_impl_.amount1000_ = from._impl_.amount1000_;
}
if (cached_has_bits & 0x00000020u) {
- expirytimestamp_ = from.expirytimestamp_;
+ _this->_impl_.expirytimestamp_ = from._impl_.expirytimestamp_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void RequestPaymentMessage::CopyFrom(const RequestPaymentMessage& from) {
@@ -23273,27 +24303,25 @@ void RequestPaymentMessage::InternalSwap(RequestPaymentMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &currencycodeiso4217_, lhs_arena,
- &other->currencycodeiso4217_, rhs_arena
+ &_impl_.currencycodeiso4217_, lhs_arena,
+ &other->_impl_.currencycodeiso4217_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &requestfrom_, lhs_arena,
- &other->requestfrom_, rhs_arena
+ &_impl_.requestfrom_, lhs_arena,
+ &other->_impl_.requestfrom_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(RequestPaymentMessage, expirytimestamp_)
- + sizeof(RequestPaymentMessage::expirytimestamp_)
- - PROTOBUF_FIELD_OFFSET(RequestPaymentMessage, notemessage_)>(
- reinterpret_cast<char*>(&notemessage_),
- reinterpret_cast<char*>(&other->notemessage_));
+ PROTOBUF_FIELD_OFFSET(RequestPaymentMessage, _impl_.expirytimestamp_)
+ + sizeof(RequestPaymentMessage::_impl_.expirytimestamp_)
+ - PROTOBUF_FIELD_OFFSET(RequestPaymentMessage, _impl_.notemessage_)>(
+ reinterpret_cast<char*>(&_impl_.notemessage_),
+ reinterpret_cast<char*>(&other->_impl_.notemessage_));
}
::PROTOBUF_NAMESPACE_ID::Metadata RequestPaymentMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[46]);
}
@@ -23302,7 +24330,7 @@ void RequestPaymentMessage::InternalSwap(RequestPaymentMessage* other) {
class DeclinePaymentRequestMessage::_Internal {
public:
- using HasBits = decltype(std::declval<DeclinePaymentRequestMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<DeclinePaymentRequestMessage>()._impl_._has_bits_);
static const ::proto::MessageKey& key(const DeclinePaymentRequestMessage* msg);
static void set_has_key(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -23311,80 +24339,83 @@ class DeclinePaymentRequestMessage::_Internal {
const ::proto::MessageKey&
DeclinePaymentRequestMessage::_Internal::key(const DeclinePaymentRequestMessage* msg) {
- return *msg->key_;
+ return *msg->_impl_.key_;
}
DeclinePaymentRequestMessage::DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.DeclinePaymentRequestMessage)
}
DeclinePaymentRequestMessage::DeclinePaymentRequestMessage(const DeclinePaymentRequestMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ DeclinePaymentRequestMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.key_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_key()) {
- key_ = new ::proto::MessageKey(*from.key_);
- } else {
- key_ = nullptr;
+ _this->_impl_.key_ = new ::proto::MessageKey(*from._impl_.key_);
}
// @@protoc_insertion_point(copy_constructor:proto.DeclinePaymentRequestMessage)
}
-void DeclinePaymentRequestMessage::SharedCtor() {
-key_ = nullptr;
+inline void DeclinePaymentRequestMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.key_){nullptr}
+ };
}
DeclinePaymentRequestMessage::~DeclinePaymentRequestMessage() {
// @@protoc_insertion_point(destructor:proto.DeclinePaymentRequestMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void DeclinePaymentRequestMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete key_;
+ if (this != internal_default_instance()) delete _impl_.key_;
}
-void DeclinePaymentRequestMessage::ArenaDtor(void* object) {
- DeclinePaymentRequestMessage* _this = reinterpret_cast< DeclinePaymentRequestMessage* >(object);
- (void)_this;
-}
-void DeclinePaymentRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void DeclinePaymentRequestMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void DeclinePaymentRequestMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.DeclinePaymentRequestMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(key_ != nullptr);
- key_->Clear();
+ GOOGLE_DCHECK(_impl_.key_ != nullptr);
+ _impl_.key_->Clear();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* DeclinePaymentRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* DeclinePaymentRequestMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.MessageKey key = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_key(), ptr);
CHK_(ptr);
} else
@@ -23406,7 +24437,7 @@ const char* DeclinePaymentRequestMessage::_InternalParse(const char* ptr, ::PROT
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -23414,23 +24445,22 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* DeclinePaymentRequestMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* DeclinePaymentRequestMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.DeclinePaymentRequestMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.MessageKey key = 1;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::key(this), target, stream);
+ InternalWriteMessage(1, _Internal::key(this),
+ _Internal::key(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.DeclinePaymentRequestMessage)
@@ -23441,44 +24471,41 @@ size_t DeclinePaymentRequestMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.DeclinePaymentRequestMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional .proto.MessageKey key = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *key_);
+ *_impl_.key_);
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeclinePaymentRequestMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
DeclinePaymentRequestMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeclinePaymentRequestMessage::GetClassData() const { return &_class_data_; }
-void DeclinePaymentRequestMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<DeclinePaymentRequestMessage *>(to)->MergeFrom(
- static_cast<const DeclinePaymentRequestMessage &>(from));
-}
-
-void DeclinePaymentRequestMessage::MergeFrom(const DeclinePaymentRequestMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.DeclinePaymentRequestMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void DeclinePaymentRequestMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<DeclinePaymentRequestMessage*>(&to_msg);
+ auto& from = static_cast<const DeclinePaymentRequestMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.DeclinePaymentRequestMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_key()) {
- _internal_mutable_key()->::proto::MessageKey::MergeFrom(from._internal_key());
+ _this->_internal_mutable_key()->::proto::MessageKey::MergeFrom(
+ from._internal_key());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void DeclinePaymentRequestMessage::CopyFrom(const DeclinePaymentRequestMessage& from) {
@@ -23495,12 +24522,12 @@ bool DeclinePaymentRequestMessage::IsInitialized() const {
void DeclinePaymentRequestMessage::InternalSwap(DeclinePaymentRequestMessage* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(key_, other->key_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.key_, other->_impl_.key_);
}
::PROTOBUF_NAMESPACE_ID::Metadata DeclinePaymentRequestMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[47]);
}
@@ -23509,7 +24536,7 @@ void DeclinePaymentRequestMessage::InternalSwap(DeclinePaymentRequestMessage* ot
class CancelPaymentRequestMessage::_Internal {
public:
- using HasBits = decltype(std::declval<CancelPaymentRequestMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<CancelPaymentRequestMessage>()._impl_._has_bits_);
static const ::proto::MessageKey& key(const CancelPaymentRequestMessage* msg);
static void set_has_key(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -23518,80 +24545,83 @@ class CancelPaymentRequestMessage::_Internal {
const ::proto::MessageKey&
CancelPaymentRequestMessage::_Internal::key(const CancelPaymentRequestMessage* msg) {
- return *msg->key_;
+ return *msg->_impl_.key_;
}
CancelPaymentRequestMessage::CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.CancelPaymentRequestMessage)
}
CancelPaymentRequestMessage::CancelPaymentRequestMessage(const CancelPaymentRequestMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ CancelPaymentRequestMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.key_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_key()) {
- key_ = new ::proto::MessageKey(*from.key_);
- } else {
- key_ = nullptr;
+ _this->_impl_.key_ = new ::proto::MessageKey(*from._impl_.key_);
}
// @@protoc_insertion_point(copy_constructor:proto.CancelPaymentRequestMessage)
}
-void CancelPaymentRequestMessage::SharedCtor() {
-key_ = nullptr;
+inline void CancelPaymentRequestMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.key_){nullptr}
+ };
}
CancelPaymentRequestMessage::~CancelPaymentRequestMessage() {
// @@protoc_insertion_point(destructor:proto.CancelPaymentRequestMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void CancelPaymentRequestMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete key_;
+ if (this != internal_default_instance()) delete _impl_.key_;
}
-void CancelPaymentRequestMessage::ArenaDtor(void* object) {
- CancelPaymentRequestMessage* _this = reinterpret_cast< CancelPaymentRequestMessage* >(object);
- (void)_this;
-}
-void CancelPaymentRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void CancelPaymentRequestMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void CancelPaymentRequestMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.CancelPaymentRequestMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(key_ != nullptr);
- key_->Clear();
+ GOOGLE_DCHECK(_impl_.key_ != nullptr);
+ _impl_.key_->Clear();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* CancelPaymentRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* CancelPaymentRequestMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.MessageKey key = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_key(), ptr);
CHK_(ptr);
} else
@@ -23613,7 +24643,7 @@ const char* CancelPaymentRequestMessage::_InternalParse(const char* ptr, ::PROTO
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -23621,23 +24651,22 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* CancelPaymentRequestMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* CancelPaymentRequestMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.CancelPaymentRequestMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.MessageKey key = 1;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::key(this), target, stream);
+ InternalWriteMessage(1, _Internal::key(this),
+ _Internal::key(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.CancelPaymentRequestMessage)
@@ -23648,44 +24677,41 @@ size_t CancelPaymentRequestMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.CancelPaymentRequestMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional .proto.MessageKey key = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *key_);
+ *_impl_.key_);
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CancelPaymentRequestMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
CancelPaymentRequestMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CancelPaymentRequestMessage::GetClassData() const { return &_class_data_; }
-void CancelPaymentRequestMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<CancelPaymentRequestMessage *>(to)->MergeFrom(
- static_cast<const CancelPaymentRequestMessage &>(from));
-}
-
-void CancelPaymentRequestMessage::MergeFrom(const CancelPaymentRequestMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.CancelPaymentRequestMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void CancelPaymentRequestMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<CancelPaymentRequestMessage*>(&to_msg);
+ auto& from = static_cast<const CancelPaymentRequestMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.CancelPaymentRequestMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_key()) {
- _internal_mutable_key()->::proto::MessageKey::MergeFrom(from._internal_key());
+ _this->_internal_mutable_key()->::proto::MessageKey::MergeFrom(
+ from._internal_key());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void CancelPaymentRequestMessage::CopyFrom(const CancelPaymentRequestMessage& from) {
@@ -23702,12 +24728,12 @@ bool CancelPaymentRequestMessage::IsInitialized() const {
void CancelPaymentRequestMessage::InternalSwap(CancelPaymentRequestMessage* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(key_, other->key_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.key_, other->_impl_.key_);
}
::PROTOBUF_NAMESPACE_ID::Metadata CancelPaymentRequestMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[48]);
}
@@ -23716,7 +24742,7 @@ void CancelPaymentRequestMessage::InternalSwap(CancelPaymentRequestMessage* othe
class LiveLocationMessage::_Internal {
public:
- using HasBits = decltype(std::declval<LiveLocationMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<LiveLocationMessage>()._impl_._has_bits_);
static void set_has_degreeslatitude(HasBits* has_bits) {
(*has_bits)[0] |= 8u;
}
@@ -23752,202 +24778,232 @@ class LiveLocationMessage::_Internal {
const ::proto::ContextInfo&
LiveLocationMessage::_Internal::contextinfo(const LiveLocationMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
LiveLocationMessage::LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.LiveLocationMessage)
}
LiveLocationMessage::LiveLocationMessage(const LiveLocationMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ LiveLocationMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.degreeslatitude_){}
+ , decltype(_impl_.degreeslongitude_){}
+ , decltype(_impl_.accuracyinmeters_){}
+ , decltype(_impl_.speedinmps_){}
+ , decltype(_impl_.degreesclockwisefrommagneticnorth_){}
+ , decltype(_impl_.timeoffset_){}
+ , decltype(_impl_.sequencenumber_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_caption()) {
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_caption(),
- GetArenaForAllocation());
+ _this->_impl_.caption_.Set(from._internal_caption(),
+ _this->GetArenaForAllocation());
}
- jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_jpegthumbnail()) {
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_jpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.jpegthumbnail_.Set(from._internal_jpegthumbnail(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&degreeslatitude_, &from.degreeslatitude_,
- static_cast<size_t>(reinterpret_cast<char*>(&sequencenumber_) -
- reinterpret_cast<char*>(&degreeslatitude_)) + sizeof(sequencenumber_));
+ ::memcpy(&_impl_.degreeslatitude_, &from._impl_.degreeslatitude_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.sequencenumber_) -
+ reinterpret_cast<char*>(&_impl_.degreeslatitude_)) + sizeof(_impl_.sequencenumber_));
// @@protoc_insertion_point(copy_constructor:proto.LiveLocationMessage)
}
-void LiveLocationMessage::SharedCtor() {
-caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&sequencenumber_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(sequencenumber_));
+inline void LiveLocationMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.degreeslatitude_){0}
+ , decltype(_impl_.degreeslongitude_){0}
+ , decltype(_impl_.accuracyinmeters_){0u}
+ , decltype(_impl_.speedinmps_){0}
+ , decltype(_impl_.degreesclockwisefrommagneticnorth_){0u}
+ , decltype(_impl_.timeoffset_){0u}
+ , decltype(_impl_.sequencenumber_){int64_t{0}}
+ };
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
LiveLocationMessage::~LiveLocationMessage() {
// @@protoc_insertion_point(destructor:proto.LiveLocationMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void LiveLocationMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- caption_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- jpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.caption_.Destroy();
+ _impl_.jpegthumbnail_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void LiveLocationMessage::ArenaDtor(void* object) {
- LiveLocationMessage* _this = reinterpret_cast< LiveLocationMessage* >(object);
- (void)_this;
-}
-void LiveLocationMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void LiveLocationMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void LiveLocationMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.LiveLocationMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- caption_.ClearNonDefaultToEmpty();
+ _impl_.caption_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- jpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.jpegthumbnail_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
if (cached_has_bits & 0x000000f8u) {
- ::memset(&degreeslatitude_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&degreesclockwisefrommagneticnorth_) -
- reinterpret_cast<char*>(&degreeslatitude_)) + sizeof(degreesclockwisefrommagneticnorth_));
+ ::memset(&_impl_.degreeslatitude_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.degreesclockwisefrommagneticnorth_) -
+ reinterpret_cast<char*>(&_impl_.degreeslatitude_)) + sizeof(_impl_.degreesclockwisefrommagneticnorth_));
}
if (cached_has_bits & 0x00000300u) {
- ::memset(&timeoffset_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&sequencenumber_) -
- reinterpret_cast<char*>(&timeoffset_)) + sizeof(sequencenumber_));
+ ::memset(&_impl_.timeoffset_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.sequencenumber_) -
+ reinterpret_cast<char*>(&_impl_.timeoffset_)) + sizeof(_impl_.sequencenumber_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* LiveLocationMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* LiveLocationMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional double degreesLatitude = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 9)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 9)) {
_Internal::set_has_degreeslatitude(&has_bits);
- degreeslatitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ _impl_.degreeslatitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else
goto handle_unusual;
continue;
// optional double degreesLongitude = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 17)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 17)) {
_Internal::set_has_degreeslongitude(&has_bits);
- degreeslongitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ _impl_.degreeslongitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else
goto handle_unusual;
continue;
// optional uint32 accuracyInMeters = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_accuracyinmeters(&has_bits);
- accuracyinmeters_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.accuracyinmeters_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional float speedInMps = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 37)) {
_Internal::set_has_speedinmps(&has_bits);
- speedinmps_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
+ _impl_.speedinmps_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
ptr += sizeof(float);
} else
goto handle_unusual;
continue;
// optional uint32 degreesClockwiseFromMagneticNorth = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_degreesclockwisefrommagneticnorth(&has_bits);
- degreesclockwisefrommagneticnorth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.degreesclockwisefrommagneticnorth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string caption = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
auto str = _internal_mutable_caption();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.LiveLocationMessage.caption");
+ ::_pbi::VerifyUTF8(str, "proto.LiveLocationMessage.caption");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 sequenceNumber = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
_Internal::set_has_sequencenumber(&has_bits);
- sequencenumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.sequencenumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 timeOffset = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 64)) {
_Internal::set_has_timeoffset(&has_bits);
- timeoffset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.timeoffset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes jpegThumbnail = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_jpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -23969,7 +25025,7 @@ const char* LiveLocationMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -23977,41 +25033,41 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* LiveLocationMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* LiveLocationMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.LiveLocationMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional double degreesLatitude = 1;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_degreeslatitude(), target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(1, this->_internal_degreeslatitude(), target);
}
// optional double degreesLongitude = 2;
if (cached_has_bits & 0x00000010u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_degreeslongitude(), target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(2, this->_internal_degreeslongitude(), target);
}
// optional uint32 accuracyInMeters = 3;
if (cached_has_bits & 0x00000020u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_accuracyinmeters(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_accuracyinmeters(), target);
}
// optional float speedInMps = 4;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_speedinmps(), target);
+ target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_speedinmps(), target);
}
// optional uint32 degreesClockwiseFromMagneticNorth = 5;
if (cached_has_bits & 0x00000080u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_degreesclockwisefrommagneticnorth(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_degreesclockwisefrommagneticnorth(), target);
}
// optional string caption = 6;
@@ -24027,13 +25083,13 @@ failure:
// optional int64 sequenceNumber = 7;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(7, this->_internal_sequencenumber(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(7, this->_internal_sequencenumber(), target);
}
// optional uint32 timeOffset = 8;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(8, this->_internal_timeoffset(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_timeoffset(), target);
}
// optional bytes jpegThumbnail = 16;
@@ -24044,14 +25100,13 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.LiveLocationMessage)
@@ -24062,11 +25117,11 @@ size_t LiveLocationMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.LiveLocationMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string caption = 6;
if (cached_has_bits & 0x00000001u) {
@@ -24086,7 +25141,7 @@ size_t LiveLocationMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional double degreesLatitude = 1;
@@ -24101,7 +25156,7 @@ size_t LiveLocationMessage::ByteSizeLong() const {
// optional uint32 accuracyInMeters = 3;
if (cached_has_bits & 0x00000020u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_accuracyinmeters());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accuracyinmeters());
}
// optional float speedInMps = 4;
@@ -24111,82 +25166,79 @@ size_t LiveLocationMessage::ByteSizeLong() const {
// optional uint32 degreesClockwiseFromMagneticNorth = 5;
if (cached_has_bits & 0x00000080u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_degreesclockwisefrommagneticnorth());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_degreesclockwisefrommagneticnorth());
}
}
if (cached_has_bits & 0x00000300u) {
// optional uint32 timeOffset = 8;
if (cached_has_bits & 0x00000100u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_timeoffset());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timeoffset());
}
// optional int64 sequenceNumber = 7;
if (cached_has_bits & 0x00000200u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_sequencenumber());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_sequencenumber());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LiveLocationMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
LiveLocationMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LiveLocationMessage::GetClassData() const { return &_class_data_; }
-void LiveLocationMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<LiveLocationMessage *>(to)->MergeFrom(
- static_cast<const LiveLocationMessage &>(from));
-}
-
-void LiveLocationMessage::MergeFrom(const LiveLocationMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.LiveLocationMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void LiveLocationMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<LiveLocationMessage*>(&to_msg);
+ auto& from = static_cast<const LiveLocationMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.LiveLocationMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_caption(from._internal_caption());
+ _this->_internal_set_caption(from._internal_caption());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_jpegthumbnail(from._internal_jpegthumbnail());
+ _this->_internal_set_jpegthumbnail(from._internal_jpegthumbnail());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000008u) {
- degreeslatitude_ = from.degreeslatitude_;
+ _this->_impl_.degreeslatitude_ = from._impl_.degreeslatitude_;
}
if (cached_has_bits & 0x00000010u) {
- degreeslongitude_ = from.degreeslongitude_;
+ _this->_impl_.degreeslongitude_ = from._impl_.degreeslongitude_;
}
if (cached_has_bits & 0x00000020u) {
- accuracyinmeters_ = from.accuracyinmeters_;
+ _this->_impl_.accuracyinmeters_ = from._impl_.accuracyinmeters_;
}
if (cached_has_bits & 0x00000040u) {
- speedinmps_ = from.speedinmps_;
+ _this->_impl_.speedinmps_ = from._impl_.speedinmps_;
}
if (cached_has_bits & 0x00000080u) {
- degreesclockwisefrommagneticnorth_ = from.degreesclockwisefrommagneticnorth_;
+ _this->_impl_.degreesclockwisefrommagneticnorth_ = from._impl_.degreesclockwisefrommagneticnorth_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x00000300u) {
if (cached_has_bits & 0x00000100u) {
- timeoffset_ = from.timeoffset_;
+ _this->_impl_.timeoffset_ = from._impl_.timeoffset_;
}
if (cached_has_bits & 0x00000200u) {
- sequencenumber_ = from.sequencenumber_;
+ _this->_impl_.sequencenumber_ = from._impl_.sequencenumber_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void LiveLocationMessage::CopyFrom(const LiveLocationMessage& from) {
@@ -24205,27 +25257,25 @@ void LiveLocationMessage::InternalSwap(LiveLocationMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &caption_, lhs_arena,
- &other->caption_, rhs_arena
+ &_impl_.caption_, lhs_arena,
+ &other->_impl_.caption_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &jpegthumbnail_, lhs_arena,
- &other->jpegthumbnail_, rhs_arena
+ &_impl_.jpegthumbnail_, lhs_arena,
+ &other->_impl_.jpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(LiveLocationMessage, sequencenumber_)
- + sizeof(LiveLocationMessage::sequencenumber_)
- - PROTOBUF_FIELD_OFFSET(LiveLocationMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(LiveLocationMessage, _impl_.sequencenumber_)
+ + sizeof(LiveLocationMessage::_impl_.sequencenumber_)
+ - PROTOBUF_FIELD_OFFSET(LiveLocationMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata LiveLocationMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[49]);
}
@@ -24234,7 +25284,7 @@ void LiveLocationMessage::InternalSwap(LiveLocationMessage* other) {
class StickerMessage::_Internal {
public:
- using HasBits = decltype(std::declval<StickerMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<StickerMessage>()._impl_._has_bits_);
static void set_has_url(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -24285,308 +25335,384 @@ class StickerMessage::_Internal {
const ::proto::ContextInfo&
StickerMessage::_Internal::contextinfo(const StickerMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
StickerMessage::StickerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.StickerMessage)
}
StickerMessage::StickerMessage(const StickerMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ StickerMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.firstframesidecar_){}
+ , decltype(_impl_.pngthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.height_){}
+ , decltype(_impl_.width_){}
+ , decltype(_impl_.filelength_){}
+ , decltype(_impl_.mediakeytimestamp_){}
+ , decltype(_impl_.firstframelength_){}
+ , decltype(_impl_.isanimated_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_url()) {
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(),
- GetArenaForAllocation());
+ _this->_impl_.url_.Set(from._internal_url(),
+ _this->GetArenaForAllocation());
}
- filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_filesha256()) {
- filesha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_filesha256(),
- GetArenaForAllocation());
+ _this->_impl_.filesha256_.Set(from._internal_filesha256(),
+ _this->GetArenaForAllocation());
}
- fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_fileencsha256()) {
- fileencsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_fileencsha256(),
- GetArenaForAllocation());
+ _this->_impl_.fileencsha256_.Set(from._internal_fileencsha256(),
+ _this->GetArenaForAllocation());
}
- mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mediakey()) {
- mediakey_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mediakey(),
- GetArenaForAllocation());
+ _this->_impl_.mediakey_.Set(from._internal_mediakey(),
+ _this->GetArenaForAllocation());
}
- mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mimetype()) {
- mimetype_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mimetype(),
- GetArenaForAllocation());
+ _this->_impl_.mimetype_.Set(from._internal_mimetype(),
+ _this->GetArenaForAllocation());
}
- directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_directpath()) {
- directpath_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_directpath(),
- GetArenaForAllocation());
+ _this->_impl_.directpath_.Set(from._internal_directpath(),
+ _this->GetArenaForAllocation());
}
- firstframesidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.firstframesidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstframesidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_firstframesidecar()) {
- firstframesidecar_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_firstframesidecar(),
- GetArenaForAllocation());
+ _this->_impl_.firstframesidecar_.Set(from._internal_firstframesidecar(),
+ _this->GetArenaForAllocation());
}
- pngthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.pngthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.pngthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_pngthumbnail()) {
- pngthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_pngthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.pngthumbnail_.Set(from._internal_pngthumbnail(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&height_, &from.height_,
- static_cast<size_t>(reinterpret_cast<char*>(&isanimated_) -
- reinterpret_cast<char*>(&height_)) + sizeof(isanimated_));
+ ::memcpy(&_impl_.height_, &from._impl_.height_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.isanimated_) -
+ reinterpret_cast<char*>(&_impl_.height_)) + sizeof(_impl_.isanimated_));
// @@protoc_insertion_point(copy_constructor:proto.StickerMessage)
}
-void StickerMessage::SharedCtor() {
-url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-filesha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fileencsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediakey_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mimetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-directpath_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-firstframesidecar_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-pngthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&isanimated_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(isanimated_));
+inline void StickerMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.filesha256_){}
+ , decltype(_impl_.fileencsha256_){}
+ , decltype(_impl_.mediakey_){}
+ , decltype(_impl_.mimetype_){}
+ , decltype(_impl_.directpath_){}
+ , decltype(_impl_.firstframesidecar_){}
+ , decltype(_impl_.pngthumbnail_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.height_){0u}
+ , decltype(_impl_.width_){0u}
+ , decltype(_impl_.filelength_){uint64_t{0u}}
+ , decltype(_impl_.mediakeytimestamp_){int64_t{0}}
+ , decltype(_impl_.firstframelength_){0u}
+ , decltype(_impl_.isanimated_){false}
+ };
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstframesidecar_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstframesidecar_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.pngthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.pngthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
StickerMessage::~StickerMessage() {
// @@protoc_insertion_point(destructor:proto.StickerMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void StickerMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- filesha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- fileencsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mediakey_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mimetype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- directpath_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- firstframesidecar_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- pngthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.url_.Destroy();
+ _impl_.filesha256_.Destroy();
+ _impl_.fileencsha256_.Destroy();
+ _impl_.mediakey_.Destroy();
+ _impl_.mimetype_.Destroy();
+ _impl_.directpath_.Destroy();
+ _impl_.firstframesidecar_.Destroy();
+ _impl_.pngthumbnail_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void StickerMessage::ArenaDtor(void* object) {
- StickerMessage* _this = reinterpret_cast< StickerMessage* >(object);
- (void)_this;
-}
-void StickerMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void StickerMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void StickerMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.StickerMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- url_.ClearNonDefaultToEmpty();
+ _impl_.url_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- filesha256_.ClearNonDefaultToEmpty();
+ _impl_.filesha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- fileencsha256_.ClearNonDefaultToEmpty();
+ _impl_.fileencsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- mediakey_.ClearNonDefaultToEmpty();
+ _impl_.mediakey_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- mimetype_.ClearNonDefaultToEmpty();
+ _impl_.mimetype_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- directpath_.ClearNonDefaultToEmpty();
+ _impl_.directpath_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- firstframesidecar_.ClearNonDefaultToEmpty();
+ _impl_.firstframesidecar_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- pngthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.pngthumbnail_.ClearNonDefaultToEmpty();
}
}
if (cached_has_bits & 0x00000100u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
if (cached_has_bits & 0x00007e00u) {
- ::memset(&height_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&isanimated_) -
- reinterpret_cast<char*>(&height_)) + sizeof(isanimated_));
+ ::memset(&_impl_.height_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.isanimated_) -
+ reinterpret_cast<char*>(&_impl_.height_)) + sizeof(_impl_.isanimated_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* StickerMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* StickerMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string url = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_url();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.StickerMessage.url");
+ ::_pbi::VerifyUTF8(str, "proto.StickerMessage.url");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileSha256 = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_filesha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes fileEncSha256 = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_fileencsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes mediaKey = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_mediakey();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string mimetype = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_mimetype();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.StickerMessage.mimetype");
+ ::_pbi::VerifyUTF8(str, "proto.StickerMessage.mimetype");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 height = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
_Internal::set_has_height(&has_bits);
- height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 width = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
_Internal::set_has_width(&has_bits);
- width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string directPath = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_directpath();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.StickerMessage.directPath");
+ ::_pbi::VerifyUTF8(str, "proto.StickerMessage.directPath");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint64 fileLength = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
_Internal::set_has_filelength(&has_bits);
- filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.filelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 mediaKeyTimestamp = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
_Internal::set_has_mediakeytimestamp(&has_bits);
- mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.mediakeytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 firstFrameLength = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
_Internal::set_has_firstframelength(&has_bits);
- firstframelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.firstframelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes firstFrameSidecar = 12;
case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) {
auto str = _internal_mutable_firstframesidecar();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool isAnimated = 13;
case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 104)) {
_Internal::set_has_isanimated(&has_bits);
- isanimated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.isanimated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes pngThumbnail = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
auto str = _internal_mutable_pngthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -24608,7 +25734,7 @@ const char* StickerMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -24616,13 +25742,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* StickerMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* StickerMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.StickerMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -24664,13 +25790,13 @@ failure:
// optional uint32 height = 6;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_height(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_height(), target);
}
// optional uint32 width = 7;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_width(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_width(), target);
}
// optional string directPath = 8;
@@ -24686,19 +25812,19 @@ failure:
// optional uint64 fileLength = 9;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(9, this->_internal_filelength(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_filelength(), target);
}
// optional int64 mediaKeyTimestamp = 10;
if (cached_has_bits & 0x00001000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(10, this->_internal_mediakeytimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(10, this->_internal_mediakeytimestamp(), target);
}
// optional uint32 firstFrameLength = 11;
if (cached_has_bits & 0x00002000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_firstframelength(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_firstframelength(), target);
}
// optional bytes firstFrameSidecar = 12;
@@ -24710,7 +25836,7 @@ failure:
// optional bool isAnimated = 13;
if (cached_has_bits & 0x00004000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(13, this->_internal_isanimated(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_isanimated(), target);
}
// optional bytes pngThumbnail = 16;
@@ -24721,14 +25847,13 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000100u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.StickerMessage)
@@ -24739,11 +25864,11 @@ size_t StickerMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.StickerMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string url = 1;
if (cached_has_bits & 0x00000001u) {
@@ -24807,32 +25932,32 @@ size_t StickerMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000100u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional uint32 height = 6;
if (cached_has_bits & 0x00000200u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_height());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_height());
}
// optional uint32 width = 7;
if (cached_has_bits & 0x00000400u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
}
// optional uint64 fileLength = 9;
if (cached_has_bits & 0x00000800u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_filelength());
}
// optional int64 mediaKeyTimestamp = 10;
if (cached_has_bits & 0x00001000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_mediakeytimestamp());
}
// optional uint32 firstFrameLength = 11;
if (cached_has_bits & 0x00002000u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_firstframelength());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_firstframelength());
}
// optional bool isAnimated = 13;
@@ -24841,80 +25966,77 @@ size_t StickerMessage::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StickerMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
StickerMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StickerMessage::GetClassData() const { return &_class_data_; }
-void StickerMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<StickerMessage *>(to)->MergeFrom(
- static_cast<const StickerMessage &>(from));
-}
-
-void StickerMessage::MergeFrom(const StickerMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.StickerMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void StickerMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<StickerMessage*>(&to_msg);
+ auto& from = static_cast<const StickerMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.StickerMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_url(from._internal_url());
+ _this->_internal_set_url(from._internal_url());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_filesha256(from._internal_filesha256());
+ _this->_internal_set_filesha256(from._internal_filesha256());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_fileencsha256(from._internal_fileencsha256());
+ _this->_internal_set_fileencsha256(from._internal_fileencsha256());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_mediakey(from._internal_mediakey());
+ _this->_internal_set_mediakey(from._internal_mediakey());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_mimetype(from._internal_mimetype());
+ _this->_internal_set_mimetype(from._internal_mimetype());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_directpath(from._internal_directpath());
+ _this->_internal_set_directpath(from._internal_directpath());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_firstframesidecar(from._internal_firstframesidecar());
+ _this->_internal_set_firstframesidecar(from._internal_firstframesidecar());
}
if (cached_has_bits & 0x00000080u) {
- _internal_set_pngthumbnail(from._internal_pngthumbnail());
+ _this->_internal_set_pngthumbnail(from._internal_pngthumbnail());
}
}
if (cached_has_bits & 0x00007f00u) {
if (cached_has_bits & 0x00000100u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000200u) {
- height_ = from.height_;
+ _this->_impl_.height_ = from._impl_.height_;
}
if (cached_has_bits & 0x00000400u) {
- width_ = from.width_;
+ _this->_impl_.width_ = from._impl_.width_;
}
if (cached_has_bits & 0x00000800u) {
- filelength_ = from.filelength_;
+ _this->_impl_.filelength_ = from._impl_.filelength_;
}
if (cached_has_bits & 0x00001000u) {
- mediakeytimestamp_ = from.mediakeytimestamp_;
+ _this->_impl_.mediakeytimestamp_ = from._impl_.mediakeytimestamp_;
}
if (cached_has_bits & 0x00002000u) {
- firstframelength_ = from.firstframelength_;
+ _this->_impl_.firstframelength_ = from._impl_.firstframelength_;
}
if (cached_has_bits & 0x00004000u) {
- isanimated_ = from.isanimated_;
+ _this->_impl_.isanimated_ = from._impl_.isanimated_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void StickerMessage::CopyFrom(const StickerMessage& from) {
@@ -24933,57 +26055,49 @@ void StickerMessage::InternalSwap(StickerMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &url_, lhs_arena,
- &other->url_, rhs_arena
+ &_impl_.url_, lhs_arena,
+ &other->_impl_.url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &filesha256_, lhs_arena,
- &other->filesha256_, rhs_arena
+ &_impl_.filesha256_, lhs_arena,
+ &other->_impl_.filesha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &fileencsha256_, lhs_arena,
- &other->fileencsha256_, rhs_arena
+ &_impl_.fileencsha256_, lhs_arena,
+ &other->_impl_.fileencsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mediakey_, lhs_arena,
- &other->mediakey_, rhs_arena
+ &_impl_.mediakey_, lhs_arena,
+ &other->_impl_.mediakey_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mimetype_, lhs_arena,
- &other->mimetype_, rhs_arena
+ &_impl_.mimetype_, lhs_arena,
+ &other->_impl_.mimetype_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &directpath_, lhs_arena,
- &other->directpath_, rhs_arena
+ &_impl_.directpath_, lhs_arena,
+ &other->_impl_.directpath_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &firstframesidecar_, lhs_arena,
- &other->firstframesidecar_, rhs_arena
+ &_impl_.firstframesidecar_, lhs_arena,
+ &other->_impl_.firstframesidecar_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &pngthumbnail_, lhs_arena,
- &other->pngthumbnail_, rhs_arena
+ &_impl_.pngthumbnail_, lhs_arena,
+ &other->_impl_.pngthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(StickerMessage, isanimated_)
- + sizeof(StickerMessage::isanimated_)
- - PROTOBUF_FIELD_OFFSET(StickerMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(StickerMessage, _impl_.isanimated_)
+ + sizeof(StickerMessage::_impl_.isanimated_)
+ - PROTOBUF_FIELD_OFFSET(StickerMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata StickerMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[50]);
}
@@ -24992,7 +26106,7 @@ void StickerMessage::InternalSwap(StickerMessage* other) {
class FourRowTemplate::_Internal {
public:
- using HasBits = decltype(std::declval<FourRowTemplate>()._has_bits_);
+ using HasBits = decltype(std::declval<FourRowTemplate>()._impl_._has_bits_);
static const ::proto::HighlyStructuredMessage& content(const FourRowTemplate* msg);
static void set_has_content(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -25010,44 +26124,44 @@ class FourRowTemplate::_Internal {
const ::proto::HighlyStructuredMessage&
FourRowTemplate::_Internal::content(const FourRowTemplate* msg) {
- return *msg->content_;
+ return *msg->_impl_.content_;
}
const ::proto::HighlyStructuredMessage&
FourRowTemplate::_Internal::footer(const FourRowTemplate* msg) {
- return *msg->footer_;
+ return *msg->_impl_.footer_;
}
const ::proto::DocumentMessage&
FourRowTemplate::_Internal::documentmessage(const FourRowTemplate* msg) {
- return *msg->title_.documentmessage_;
+ return *msg->_impl_.title_.documentmessage_;
}
const ::proto::HighlyStructuredMessage&
FourRowTemplate::_Internal::highlystructuredmessage(const FourRowTemplate* msg) {
- return *msg->title_.highlystructuredmessage_;
+ return *msg->_impl_.title_.highlystructuredmessage_;
}
const ::proto::ImageMessage&
FourRowTemplate::_Internal::imagemessage(const FourRowTemplate* msg) {
- return *msg->title_.imagemessage_;
+ return *msg->_impl_.title_.imagemessage_;
}
const ::proto::VideoMessage&
FourRowTemplate::_Internal::videomessage(const FourRowTemplate* msg) {
- return *msg->title_.videomessage_;
+ return *msg->_impl_.title_.videomessage_;
}
const ::proto::LocationMessage&
FourRowTemplate::_Internal::locationmessage(const FourRowTemplate* msg) {
- return *msg->title_.locationmessage_;
+ return *msg->_impl_.title_.locationmessage_;
}
void FourRowTemplate::set_allocated_documentmessage(::proto::DocumentMessage* documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_title();
if (documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DocumentMessage>::GetOwningArena(documentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(documentmessage);
if (message_arena != submessage_arena) {
documentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, documentmessage, submessage_arena);
}
set_has_documentmessage();
- title_.documentmessage_ = documentmessage;
+ _impl_.title_.documentmessage_ = documentmessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.FourRowTemplate.documentMessage)
}
@@ -25056,13 +26170,13 @@ void FourRowTemplate::set_allocated_highlystructuredmessage(::proto::HighlyStruc
clear_title();
if (highlystructuredmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(highlystructuredmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(highlystructuredmessage);
if (message_arena != submessage_arena) {
highlystructuredmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, highlystructuredmessage, submessage_arena);
}
set_has_highlystructuredmessage();
- title_.highlystructuredmessage_ = highlystructuredmessage;
+ _impl_.title_.highlystructuredmessage_ = highlystructuredmessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.FourRowTemplate.highlyStructuredMessage)
}
@@ -25071,13 +26185,13 @@ void FourRowTemplate::set_allocated_imagemessage(::proto::ImageMessage* imagemes
clear_title();
if (imagemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(imagemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(imagemessage);
if (message_arena != submessage_arena) {
imagemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, imagemessage, submessage_arena);
}
set_has_imagemessage();
- title_.imagemessage_ = imagemessage;
+ _impl_.title_.imagemessage_ = imagemessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.FourRowTemplate.imageMessage)
}
@@ -25086,13 +26200,13 @@ void FourRowTemplate::set_allocated_videomessage(::proto::VideoMessage* videomes
clear_title();
if (videomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::VideoMessage>::GetOwningArena(videomessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(videomessage);
if (message_arena != submessage_arena) {
videomessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, videomessage, submessage_arena);
}
set_has_videomessage();
- title_.videomessage_ = videomessage;
+ _impl_.title_.videomessage_ = videomessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.FourRowTemplate.videoMessage)
}
@@ -25101,61 +26215,66 @@ void FourRowTemplate::set_allocated_locationmessage(::proto::LocationMessage* lo
clear_title();
if (locationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LocationMessage>::GetOwningArena(locationmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(locationmessage);
if (message_arena != submessage_arena) {
locationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, locationmessage, submessage_arena);
}
set_has_locationmessage();
- title_.locationmessage_ = locationmessage;
+ _impl_.title_.locationmessage_ = locationmessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.FourRowTemplate.locationMessage)
}
FourRowTemplate::FourRowTemplate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- buttons_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.FourRowTemplate)
}
FourRowTemplate::FourRowTemplate(const FourRowTemplate& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- buttons_(from.buttons_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ FourRowTemplate* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.buttons_){from._impl_.buttons_}
+ , decltype(_impl_.content_){nullptr}
+ , decltype(_impl_.footer_){nullptr}
+ , decltype(_impl_.title_){}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_content()) {
- content_ = new ::proto::HighlyStructuredMessage(*from.content_);
- } else {
- content_ = nullptr;
+ _this->_impl_.content_ = new ::proto::HighlyStructuredMessage(*from._impl_.content_);
}
if (from._internal_has_footer()) {
- footer_ = new ::proto::HighlyStructuredMessage(*from.footer_);
- } else {
- footer_ = nullptr;
+ _this->_impl_.footer_ = new ::proto::HighlyStructuredMessage(*from._impl_.footer_);
}
clear_has_title();
switch (from.title_case()) {
case kDocumentMessage: {
- _internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(from._internal_documentmessage());
+ _this->_internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(
+ from._internal_documentmessage());
break;
}
case kHighlyStructuredMessage: {
- _internal_mutable_highlystructuredmessage()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_highlystructuredmessage());
+ _this->_internal_mutable_highlystructuredmessage()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_highlystructuredmessage());
break;
}
case kImageMessage: {
- _internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(from._internal_imagemessage());
+ _this->_internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(
+ from._internal_imagemessage());
break;
}
case kVideoMessage: {
- _internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(from._internal_videomessage());
+ _this->_internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(
+ from._internal_videomessage());
break;
}
case kLocationMessage: {
- _internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(from._internal_locationmessage());
+ _this->_internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(
+ from._internal_locationmessage());
break;
}
case TITLE_NOT_SET: {
@@ -25165,38 +26284,43 @@ FourRowTemplate::FourRowTemplate(const FourRowTemplate& from)
// @@protoc_insertion_point(copy_constructor:proto.FourRowTemplate)
}
-void FourRowTemplate::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&content_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&footer_) -
- reinterpret_cast<char*>(&content_)) + sizeof(footer_));
-clear_has_title();
+inline void FourRowTemplate::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.buttons_){arena}
+ , decltype(_impl_.content_){nullptr}
+ , decltype(_impl_.footer_){nullptr}
+ , decltype(_impl_.title_){}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ clear_has_title();
}
FourRowTemplate::~FourRowTemplate() {
// @@protoc_insertion_point(destructor:proto.FourRowTemplate)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void FourRowTemplate::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete content_;
- if (this != internal_default_instance()) delete footer_;
+ _impl_.buttons_.~RepeatedPtrField();
+ if (this != internal_default_instance()) delete _impl_.content_;
+ if (this != internal_default_instance()) delete _impl_.footer_;
if (has_title()) {
clear_title();
}
}
-void FourRowTemplate::ArenaDtor(void* object) {
- FourRowTemplate* _this = reinterpret_cast< FourRowTemplate* >(object);
- (void)_this;
-}
-void FourRowTemplate::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void FourRowTemplate::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void FourRowTemplate::clear_title() {
@@ -25204,31 +26328,31 @@ void FourRowTemplate::clear_title() {
switch (title_case()) {
case kDocumentMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.documentmessage_;
+ delete _impl_.title_.documentmessage_;
}
break;
}
case kHighlyStructuredMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.highlystructuredmessage_;
+ delete _impl_.title_.highlystructuredmessage_;
}
break;
}
case kImageMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.imagemessage_;
+ delete _impl_.title_.imagemessage_;
}
break;
}
case kVideoMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.videomessage_;
+ delete _impl_.title_.videomessage_;
}
break;
}
case kLocationMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.locationmessage_;
+ delete _impl_.title_.locationmessage_;
}
break;
}
@@ -25236,43 +26360,43 @@ void FourRowTemplate::clear_title() {
break;
}
}
- _oneof_case_[0] = TITLE_NOT_SET;
+ _impl_._oneof_case_[0] = TITLE_NOT_SET;
}
void FourRowTemplate::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.FourRowTemplate)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- buttons_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.buttons_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(content_ != nullptr);
- content_->Clear();
+ GOOGLE_DCHECK(_impl_.content_ != nullptr);
+ _impl_.content_->Clear();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(footer_ != nullptr);
- footer_->Clear();
+ GOOGLE_DCHECK(_impl_.footer_ != nullptr);
+ _impl_.footer_->Clear();
}
}
clear_title();
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* FourRowTemplate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .proto.DocumentMessage documentMessage = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_documentmessage(), ptr);
CHK_(ptr);
} else
@@ -25280,7 +26404,7 @@ const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// .proto.HighlyStructuredMessage highlyStructuredMessage = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_highlystructuredmessage(), ptr);
CHK_(ptr);
} else
@@ -25288,7 +26412,7 @@ const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// .proto.ImageMessage imageMessage = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_imagemessage(), ptr);
CHK_(ptr);
} else
@@ -25296,7 +26420,7 @@ const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// .proto.VideoMessage videoMessage = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_videomessage(), ptr);
CHK_(ptr);
} else
@@ -25304,7 +26428,7 @@ const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// .proto.LocationMessage locationMessage = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
ptr = ctx->ParseMessage(_internal_mutable_locationmessage(), ptr);
CHK_(ptr);
} else
@@ -25312,7 +26436,7 @@ const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.HighlyStructuredMessage content = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
ptr = ctx->ParseMessage(_internal_mutable_content(), ptr);
CHK_(ptr);
} else
@@ -25320,7 +26444,7 @@ const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.HighlyStructuredMessage footer = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
ptr = ctx->ParseMessage(_internal_mutable_footer(), ptr);
CHK_(ptr);
} else
@@ -25328,7 +26452,7 @@ const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// repeated .proto.TemplateButton buttons = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
ptr -= 1;
do {
ptr += 1;
@@ -25355,7 +26479,7 @@ const char* FourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -25363,77 +26487,70 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* FourRowTemplate::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* FourRowTemplate::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.FourRowTemplate)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
switch (title_case()) {
case kDocumentMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::documentmessage(this), target, stream);
+ InternalWriteMessage(1, _Internal::documentmessage(this),
+ _Internal::documentmessage(this).GetCachedSize(), target, stream);
break;
}
case kHighlyStructuredMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::highlystructuredmessage(this), target, stream);
+ InternalWriteMessage(2, _Internal::highlystructuredmessage(this),
+ _Internal::highlystructuredmessage(this).GetCachedSize(), target, stream);
break;
}
case kImageMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::imagemessage(this), target, stream);
+ InternalWriteMessage(3, _Internal::imagemessage(this),
+ _Internal::imagemessage(this).GetCachedSize(), target, stream);
break;
}
case kVideoMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 4, _Internal::videomessage(this), target, stream);
+ InternalWriteMessage(4, _Internal::videomessage(this),
+ _Internal::videomessage(this).GetCachedSize(), target, stream);
break;
}
case kLocationMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 5, _Internal::locationmessage(this), target, stream);
+ InternalWriteMessage(5, _Internal::locationmessage(this),
+ _Internal::locationmessage(this).GetCachedSize(), target, stream);
break;
}
default: ;
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.HighlyStructuredMessage content = 6;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 6, _Internal::content(this), target, stream);
+ InternalWriteMessage(6, _Internal::content(this),
+ _Internal::content(this).GetCachedSize(), target, stream);
}
// optional .proto.HighlyStructuredMessage footer = 7;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 7, _Internal::footer(this), target, stream);
+ InternalWriteMessage(7, _Internal::footer(this),
+ _Internal::footer(this).GetCachedSize(), target, stream);
}
// repeated .proto.TemplateButton buttons = 8;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_buttons_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_buttons_size()); i < n; i++) {
+ const auto& repfield = this->_internal_buttons(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(8, this->_internal_buttons(i), target, stream);
+ InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.FourRowTemplate)
@@ -25444,31 +26561,31 @@ size_t FourRowTemplate::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.FourRowTemplate)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.TemplateButton buttons = 8;
total_size += 1UL * this->_internal_buttons_size();
- for (const auto& msg : this->buttons_) {
+ for (const auto& msg : this->_impl_.buttons_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional .proto.HighlyStructuredMessage content = 6;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *content_);
+ *_impl_.content_);
}
// optional .proto.HighlyStructuredMessage footer = 7;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *footer_);
+ *_impl_.footer_);
}
}
@@ -25477,99 +26594,102 @@ size_t FourRowTemplate::ByteSizeLong() const {
case kDocumentMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.documentmessage_);
+ *_impl_.title_.documentmessage_);
break;
}
// .proto.HighlyStructuredMessage highlyStructuredMessage = 2;
case kHighlyStructuredMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.highlystructuredmessage_);
+ *_impl_.title_.highlystructuredmessage_);
break;
}
// .proto.ImageMessage imageMessage = 3;
case kImageMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.imagemessage_);
+ *_impl_.title_.imagemessage_);
break;
}
// .proto.VideoMessage videoMessage = 4;
case kVideoMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.videomessage_);
+ *_impl_.title_.videomessage_);
break;
}
// .proto.LocationMessage locationMessage = 5;
case kLocationMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.locationmessage_);
+ *_impl_.title_.locationmessage_);
break;
}
case TITLE_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FourRowTemplate::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
FourRowTemplate::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FourRowTemplate::GetClassData() const { return &_class_data_; }
-void FourRowTemplate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<FourRowTemplate *>(to)->MergeFrom(
- static_cast<const FourRowTemplate &>(from));
-}
-
-void FourRowTemplate::MergeFrom(const FourRowTemplate& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.FourRowTemplate)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void FourRowTemplate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<FourRowTemplate*>(&to_msg);
+ auto& from = static_cast<const FourRowTemplate&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.FourRowTemplate)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- buttons_.MergeFrom(from.buttons_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.buttons_.MergeFrom(from._impl_.buttons_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_mutable_content()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_content());
+ _this->_internal_mutable_content()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_content());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_footer()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_footer());
+ _this->_internal_mutable_footer()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_footer());
}
}
switch (from.title_case()) {
case kDocumentMessage: {
- _internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(from._internal_documentmessage());
+ _this->_internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(
+ from._internal_documentmessage());
break;
}
case kHighlyStructuredMessage: {
- _internal_mutable_highlystructuredmessage()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_highlystructuredmessage());
+ _this->_internal_mutable_highlystructuredmessage()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_highlystructuredmessage());
break;
}
case kImageMessage: {
- _internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(from._internal_imagemessage());
+ _this->_internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(
+ from._internal_imagemessage());
break;
}
case kVideoMessage: {
- _internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(from._internal_videomessage());
+ _this->_internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(
+ from._internal_videomessage());
break;
}
case kLocationMessage: {
- _internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(from._internal_locationmessage());
+ _this->_internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(
+ from._internal_locationmessage());
break;
}
case TITLE_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void FourRowTemplate::CopyFrom(const FourRowTemplate& from) {
@@ -25586,20 +26706,20 @@ bool FourRowTemplate::IsInitialized() const {
void FourRowTemplate::InternalSwap(FourRowTemplate* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- buttons_.InternalSwap(&other->buttons_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.buttons_.InternalSwap(&other->_impl_.buttons_);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(FourRowTemplate, footer_)
- + sizeof(FourRowTemplate::footer_)
- - PROTOBUF_FIELD_OFFSET(FourRowTemplate, content_)>(
- reinterpret_cast<char*>(&content_),
- reinterpret_cast<char*>(&other->content_));
- swap(title_, other->title_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ PROTOBUF_FIELD_OFFSET(FourRowTemplate, _impl_.footer_)
+ + sizeof(FourRowTemplate::_impl_.footer_)
+ - PROTOBUF_FIELD_OFFSET(FourRowTemplate, _impl_.content_)>(
+ reinterpret_cast<char*>(&_impl_.content_),
+ reinterpret_cast<char*>(&other->_impl_.content_));
+ swap(_impl_.title_, other->_impl_.title_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata FourRowTemplate::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[51]);
}
@@ -25608,7 +26728,7 @@ void FourRowTemplate::InternalSwap(FourRowTemplate* other) {
class HydratedFourRowTemplate::_Internal {
public:
- using HasBits = decltype(std::declval<HydratedFourRowTemplate>()._has_bits_);
+ using HasBits = decltype(std::declval<HydratedFourRowTemplate>()._impl_._has_bits_);
static void set_has_hydratedcontenttext(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -25626,32 +26746,32 @@ class HydratedFourRowTemplate::_Internal {
const ::proto::DocumentMessage&
HydratedFourRowTemplate::_Internal::documentmessage(const HydratedFourRowTemplate* msg) {
- return *msg->title_.documentmessage_;
+ return *msg->_impl_.title_.documentmessage_;
}
const ::proto::ImageMessage&
HydratedFourRowTemplate::_Internal::imagemessage(const HydratedFourRowTemplate* msg) {
- return *msg->title_.imagemessage_;
+ return *msg->_impl_.title_.imagemessage_;
}
const ::proto::VideoMessage&
HydratedFourRowTemplate::_Internal::videomessage(const HydratedFourRowTemplate* msg) {
- return *msg->title_.videomessage_;
+ return *msg->_impl_.title_.videomessage_;
}
const ::proto::LocationMessage&
HydratedFourRowTemplate::_Internal::locationmessage(const HydratedFourRowTemplate* msg) {
- return *msg->title_.locationmessage_;
+ return *msg->_impl_.title_.locationmessage_;
}
void HydratedFourRowTemplate::set_allocated_documentmessage(::proto::DocumentMessage* documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_title();
if (documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DocumentMessage>::GetOwningArena(documentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(documentmessage);
if (message_arena != submessage_arena) {
documentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, documentmessage, submessage_arena);
}
set_has_documentmessage();
- title_.documentmessage_ = documentmessage;
+ _impl_.title_.documentmessage_ = documentmessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.documentMessage)
}
@@ -25660,13 +26780,13 @@ void HydratedFourRowTemplate::set_allocated_imagemessage(::proto::ImageMessage*
clear_title();
if (imagemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(imagemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(imagemessage);
if (message_arena != submessage_arena) {
imagemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, imagemessage, submessage_arena);
}
set_has_imagemessage();
- title_.imagemessage_ = imagemessage;
+ _impl_.title_.imagemessage_ = imagemessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.imageMessage)
}
@@ -25675,13 +26795,13 @@ void HydratedFourRowTemplate::set_allocated_videomessage(::proto::VideoMessage*
clear_title();
if (videomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::VideoMessage>::GetOwningArena(videomessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(videomessage);
if (message_arena != submessage_arena) {
videomessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, videomessage, submessage_arena);
}
set_has_videomessage();
- title_.videomessage_ = videomessage;
+ _impl_.title_.videomessage_ = videomessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.videoMessage)
}
@@ -25690,66 +26810,84 @@ void HydratedFourRowTemplate::set_allocated_locationmessage(::proto::LocationMes
clear_title();
if (locationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LocationMessage>::GetOwningArena(locationmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(locationmessage);
if (message_arena != submessage_arena) {
locationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, locationmessage, submessage_arena);
}
set_has_locationmessage();
- title_.locationmessage_ = locationmessage;
+ _impl_.title_.locationmessage_ = locationmessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.locationMessage)
}
HydratedFourRowTemplate::HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- hydratedbuttons_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.HydratedFourRowTemplate)
}
HydratedFourRowTemplate::HydratedFourRowTemplate(const HydratedFourRowTemplate& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- hydratedbuttons_(from.hydratedbuttons_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ HydratedFourRowTemplate* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.hydratedbuttons_){from._impl_.hydratedbuttons_}
+ , decltype(_impl_.hydratedcontenttext_){}
+ , decltype(_impl_.hydratedfootertext_){}
+ , decltype(_impl_.templateid_){}
+ , decltype(_impl_.title_){}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- hydratedcontenttext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.hydratedcontenttext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.hydratedcontenttext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_hydratedcontenttext()) {
- hydratedcontenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_hydratedcontenttext(),
- GetArenaForAllocation());
+ _this->_impl_.hydratedcontenttext_.Set(from._internal_hydratedcontenttext(),
+ _this->GetArenaForAllocation());
}
- hydratedfootertext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.hydratedfootertext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.hydratedfootertext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_hydratedfootertext()) {
- hydratedfootertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_hydratedfootertext(),
- GetArenaForAllocation());
+ _this->_impl_.hydratedfootertext_.Set(from._internal_hydratedfootertext(),
+ _this->GetArenaForAllocation());
}
- templateid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.templateid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.templateid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_templateid()) {
- templateid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_templateid(),
- GetArenaForAllocation());
+ _this->_impl_.templateid_.Set(from._internal_templateid(),
+ _this->GetArenaForAllocation());
}
clear_has_title();
switch (from.title_case()) {
case kDocumentMessage: {
- _internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(from._internal_documentmessage());
+ _this->_internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(
+ from._internal_documentmessage());
break;
}
case kHydratedTitleText: {
- _internal_set_hydratedtitletext(from._internal_hydratedtitletext());
+ _this->_internal_set_hydratedtitletext(from._internal_hydratedtitletext());
break;
}
case kImageMessage: {
- _internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(from._internal_imagemessage());
+ _this->_internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(
+ from._internal_imagemessage());
break;
}
case kVideoMessage: {
- _internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(from._internal_videomessage());
+ _this->_internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(
+ from._internal_videomessage());
break;
}
case kLocationMessage: {
- _internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(from._internal_locationmessage());
+ _this->_internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(
+ from._internal_locationmessage());
break;
}
case TITLE_NOT_SET: {
@@ -25759,38 +26897,57 @@ HydratedFourRowTemplate::HydratedFourRowTemplate(const HydratedFourRowTemplate&
// @@protoc_insertion_point(copy_constructor:proto.HydratedFourRowTemplate)
}
-void HydratedFourRowTemplate::SharedCtor() {
-hydratedcontenttext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-hydratedfootertext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-templateid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-clear_has_title();
+inline void HydratedFourRowTemplate::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.hydratedbuttons_){arena}
+ , decltype(_impl_.hydratedcontenttext_){}
+ , decltype(_impl_.hydratedfootertext_){}
+ , decltype(_impl_.templateid_){}
+ , decltype(_impl_.title_){}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ _impl_.hydratedcontenttext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.hydratedcontenttext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.hydratedfootertext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.hydratedfootertext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.templateid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.templateid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ clear_has_title();
}
HydratedFourRowTemplate::~HydratedFourRowTemplate() {
// @@protoc_insertion_point(destructor:proto.HydratedFourRowTemplate)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void HydratedFourRowTemplate::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- hydratedcontenttext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- hydratedfootertext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- templateid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.hydratedbuttons_.~RepeatedPtrField();
+ _impl_.hydratedcontenttext_.Destroy();
+ _impl_.hydratedfootertext_.Destroy();
+ _impl_.templateid_.Destroy();
if (has_title()) {
clear_title();
}
}
-void HydratedFourRowTemplate::ArenaDtor(void* object) {
- HydratedFourRowTemplate* _this = reinterpret_cast< HydratedFourRowTemplate* >(object);
- (void)_this;
-}
-void HydratedFourRowTemplate::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void HydratedFourRowTemplate::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void HydratedFourRowTemplate::clear_title() {
@@ -25798,29 +26955,29 @@ void HydratedFourRowTemplate::clear_title() {
switch (title_case()) {
case kDocumentMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.documentmessage_;
+ delete _impl_.title_.documentmessage_;
}
break;
}
case kHydratedTitleText: {
- title_.hydratedtitletext_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_.title_.hydratedtitletext_.Destroy();
break;
}
case kImageMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.imagemessage_;
+ delete _impl_.title_.imagemessage_;
}
break;
}
case kVideoMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.videomessage_;
+ delete _impl_.title_.videomessage_;
}
break;
}
case kLocationMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete title_.locationmessage_;
+ delete _impl_.title_.locationmessage_;
}
break;
}
@@ -25828,44 +26985,44 @@ void HydratedFourRowTemplate::clear_title() {
break;
}
}
- _oneof_case_[0] = TITLE_NOT_SET;
+ _impl_._oneof_case_[0] = TITLE_NOT_SET;
}
void HydratedFourRowTemplate::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.HydratedFourRowTemplate)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- hydratedbuttons_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.hydratedbuttons_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- hydratedcontenttext_.ClearNonDefaultToEmpty();
+ _impl_.hydratedcontenttext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- hydratedfootertext_.ClearNonDefaultToEmpty();
+ _impl_.hydratedfootertext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- templateid_.ClearNonDefaultToEmpty();
+ _impl_.templateid_.ClearNonDefaultToEmpty();
}
}
clear_title();
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* HydratedFourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* HydratedFourRowTemplate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .proto.DocumentMessage documentMessage = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_documentmessage(), ptr);
CHK_(ptr);
} else
@@ -25873,19 +27030,19 @@ const char* HydratedFourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// string hydratedTitleText = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_hydratedtitletext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedFourRowTemplate.hydratedTitleText");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedFourRowTemplate.hydratedTitleText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// .proto.ImageMessage imageMessage = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_imagemessage(), ptr);
CHK_(ptr);
} else
@@ -25893,7 +27050,7 @@ const char* HydratedFourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// .proto.VideoMessage videoMessage = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_videomessage(), ptr);
CHK_(ptr);
} else
@@ -25901,7 +27058,7 @@ const char* HydratedFourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// .proto.LocationMessage locationMessage = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
ptr = ctx->ParseMessage(_internal_mutable_locationmessage(), ptr);
CHK_(ptr);
} else
@@ -25909,31 +27066,31 @@ const char* HydratedFourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// optional string hydratedContentText = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
auto str = _internal_mutable_hydratedcontenttext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedFourRowTemplate.hydratedContentText");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedFourRowTemplate.hydratedContentText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string hydratedFooterText = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_hydratedfootertext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedFourRowTemplate.hydratedFooterText");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedFourRowTemplate.hydratedFooterText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .proto.HydratedTemplateButton hydratedButtons = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
ptr -= 1;
do {
ptr += 1;
@@ -25946,13 +27103,13 @@ const char* HydratedFourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// optional string templateId = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
auto str = _internal_mutable_templateid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.HydratedFourRowTemplate.templateId");
+ ::_pbi::VerifyUTF8(str, "proto.HydratedFourRowTemplate.templateId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -25972,7 +27129,7 @@ const char* HydratedFourRowTemplate::_InternalParse(const char* ptr, ::PROTOBUF_
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -25980,18 +27137,17 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* HydratedFourRowTemplate::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* HydratedFourRowTemplate::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.HydratedFourRowTemplate)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
switch (title_case()) {
case kDocumentMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::documentmessage(this), target, stream);
+ InternalWriteMessage(1, _Internal::documentmessage(this),
+ _Internal::documentmessage(this).GetCachedSize(), target, stream);
break;
}
case kHydratedTitleText: {
@@ -26004,29 +27160,26 @@ failure:
break;
}
case kImageMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::imagemessage(this), target, stream);
+ InternalWriteMessage(3, _Internal::imagemessage(this),
+ _Internal::imagemessage(this).GetCachedSize(), target, stream);
break;
}
case kVideoMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 4, _Internal::videomessage(this), target, stream);
+ InternalWriteMessage(4, _Internal::videomessage(this),
+ _Internal::videomessage(this).GetCachedSize(), target, stream);
break;
}
case kLocationMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 5, _Internal::locationmessage(this), target, stream);
+ InternalWriteMessage(5, _Internal::locationmessage(this),
+ _Internal::locationmessage(this).GetCachedSize(), target, stream);
break;
}
default: ;
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string hydratedContentText = 6;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -26048,11 +27201,11 @@ failure:
}
// repeated .proto.HydratedTemplateButton hydratedButtons = 8;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_hydratedbuttons_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_hydratedbuttons_size()); i < n; i++) {
+ const auto& repfield = this->_internal_hydratedbuttons(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(8, this->_internal_hydratedbuttons(i), target, stream);
+ InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream);
}
// optional string templateId = 9;
@@ -26066,7 +27219,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.HydratedFourRowTemplate)
@@ -26077,18 +27230,18 @@ size_t HydratedFourRowTemplate::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.HydratedFourRowTemplate)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.HydratedTemplateButton hydratedButtons = 8;
total_size += 1UL * this->_internal_hydratedbuttons_size();
- for (const auto& msg : this->hydratedbuttons_) {
+ for (const auto& msg : this->_impl_.hydratedbuttons_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string hydratedContentText = 6;
if (cached_has_bits & 0x00000001u) {
@@ -26117,7 +27270,7 @@ size_t HydratedFourRowTemplate::ByteSizeLong() const {
case kDocumentMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.documentmessage_);
+ *_impl_.title_.documentmessage_);
break;
}
// string hydratedTitleText = 2;
@@ -26131,88 +27284,88 @@ size_t HydratedFourRowTemplate::ByteSizeLong() const {
case kImageMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.imagemessage_);
+ *_impl_.title_.imagemessage_);
break;
}
// .proto.VideoMessage videoMessage = 4;
case kVideoMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.videomessage_);
+ *_impl_.title_.videomessage_);
break;
}
// .proto.LocationMessage locationMessage = 5;
case kLocationMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *title_.locationmessage_);
+ *_impl_.title_.locationmessage_);
break;
}
case TITLE_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData HydratedFourRowTemplate::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
HydratedFourRowTemplate::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HydratedFourRowTemplate::GetClassData() const { return &_class_data_; }
-void HydratedFourRowTemplate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<HydratedFourRowTemplate *>(to)->MergeFrom(
- static_cast<const HydratedFourRowTemplate &>(from));
-}
-
-void HydratedFourRowTemplate::MergeFrom(const HydratedFourRowTemplate& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedFourRowTemplate)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void HydratedFourRowTemplate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<HydratedFourRowTemplate*>(&to_msg);
+ auto& from = static_cast<const HydratedFourRowTemplate&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.HydratedFourRowTemplate)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- hydratedbuttons_.MergeFrom(from.hydratedbuttons_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.hydratedbuttons_.MergeFrom(from._impl_.hydratedbuttons_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_hydratedcontenttext(from._internal_hydratedcontenttext());
+ _this->_internal_set_hydratedcontenttext(from._internal_hydratedcontenttext());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_hydratedfootertext(from._internal_hydratedfootertext());
+ _this->_internal_set_hydratedfootertext(from._internal_hydratedfootertext());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_templateid(from._internal_templateid());
+ _this->_internal_set_templateid(from._internal_templateid());
}
}
switch (from.title_case()) {
case kDocumentMessage: {
- _internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(from._internal_documentmessage());
+ _this->_internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(
+ from._internal_documentmessage());
break;
}
case kHydratedTitleText: {
- _internal_set_hydratedtitletext(from._internal_hydratedtitletext());
+ _this->_internal_set_hydratedtitletext(from._internal_hydratedtitletext());
break;
}
case kImageMessage: {
- _internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(from._internal_imagemessage());
+ _this->_internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(
+ from._internal_imagemessage());
break;
}
case kVideoMessage: {
- _internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(from._internal_videomessage());
+ _this->_internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(
+ from._internal_videomessage());
break;
}
case kLocationMessage: {
- _internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(from._internal_locationmessage());
+ _this->_internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(
+ from._internal_locationmessage());
break;
}
case TITLE_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void HydratedFourRowTemplate::CopyFrom(const HydratedFourRowTemplate& from) {
@@ -26231,29 +27384,26 @@ void HydratedFourRowTemplate::InternalSwap(HydratedFourRowTemplate* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- hydratedbuttons_.InternalSwap(&other->hydratedbuttons_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.hydratedbuttons_.InternalSwap(&other->_impl_.hydratedbuttons_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &hydratedcontenttext_, lhs_arena,
- &other->hydratedcontenttext_, rhs_arena
+ &_impl_.hydratedcontenttext_, lhs_arena,
+ &other->_impl_.hydratedcontenttext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &hydratedfootertext_, lhs_arena,
- &other->hydratedfootertext_, rhs_arena
+ &_impl_.hydratedfootertext_, lhs_arena,
+ &other->_impl_.hydratedfootertext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &templateid_, lhs_arena,
- &other->templateid_, rhs_arena
+ &_impl_.templateid_, lhs_arena,
+ &other->_impl_.templateid_, rhs_arena
);
- swap(title_, other->title_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ swap(_impl_.title_, other->_impl_.title_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata HydratedFourRowTemplate::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[52]);
}
@@ -26262,7 +27412,7 @@ void HydratedFourRowTemplate::InternalSwap(HydratedFourRowTemplate* other) {
class TemplateMessage::_Internal {
public:
- using HasBits = decltype(std::declval<TemplateMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<TemplateMessage>()._impl_._has_bits_);
static const ::proto::ContextInfo& contextinfo(const TemplateMessage* msg);
static void set_has_contextinfo(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -26277,32 +27427,32 @@ class TemplateMessage::_Internal {
const ::proto::ContextInfo&
TemplateMessage::_Internal::contextinfo(const TemplateMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
const ::proto::HydratedFourRowTemplate&
TemplateMessage::_Internal::hydratedtemplate(const TemplateMessage* msg) {
- return *msg->hydratedtemplate_;
+ return *msg->_impl_.hydratedtemplate_;
}
const ::proto::FourRowTemplate&
TemplateMessage::_Internal::fourrowtemplate(const TemplateMessage* msg) {
- return *msg->format_.fourrowtemplate_;
+ return *msg->_impl_.format_.fourrowtemplate_;
}
const ::proto::HydratedFourRowTemplate&
TemplateMessage::_Internal::hydratedfourrowtemplate(const TemplateMessage* msg) {
- return *msg->format_.hydratedfourrowtemplate_;
+ return *msg->_impl_.format_.hydratedfourrowtemplate_;
}
void TemplateMessage::set_allocated_fourrowtemplate(::proto::FourRowTemplate* fourrowtemplate) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_format();
if (fourrowtemplate) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::FourRowTemplate>::GetOwningArena(fourrowtemplate);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fourrowtemplate);
if (message_arena != submessage_arena) {
fourrowtemplate = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, fourrowtemplate, submessage_arena);
}
set_has_fourrowtemplate();
- format_.fourrowtemplate_ = fourrowtemplate;
+ _impl_.format_.fourrowtemplate_ = fourrowtemplate;
}
// @@protoc_insertion_point(field_set_allocated:proto.TemplateMessage.fourRowTemplate)
}
@@ -26311,47 +27461,50 @@ void TemplateMessage::set_allocated_hydratedfourrowtemplate(::proto::HydratedFou
clear_format();
if (hydratedfourrowtemplate) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HydratedFourRowTemplate>::GetOwningArena(hydratedfourrowtemplate);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(hydratedfourrowtemplate);
if (message_arena != submessage_arena) {
hydratedfourrowtemplate = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, hydratedfourrowtemplate, submessage_arena);
}
set_has_hydratedfourrowtemplate();
- format_.hydratedfourrowtemplate_ = hydratedfourrowtemplate;
+ _impl_.format_.hydratedfourrowtemplate_ = hydratedfourrowtemplate;
}
// @@protoc_insertion_point(field_set_allocated:proto.TemplateMessage.hydratedFourRowTemplate)
}
TemplateMessage::TemplateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.TemplateMessage)
}
TemplateMessage::TemplateMessage(const TemplateMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ TemplateMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.hydratedtemplate_){nullptr}
+ , decltype(_impl_.format_){}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
if (from._internal_has_hydratedtemplate()) {
- hydratedtemplate_ = new ::proto::HydratedFourRowTemplate(*from.hydratedtemplate_);
- } else {
- hydratedtemplate_ = nullptr;
+ _this->_impl_.hydratedtemplate_ = new ::proto::HydratedFourRowTemplate(*from._impl_.hydratedtemplate_);
}
clear_has_format();
switch (from.format_case()) {
case kFourRowTemplate: {
- _internal_mutable_fourrowtemplate()->::proto::FourRowTemplate::MergeFrom(from._internal_fourrowtemplate());
+ _this->_internal_mutable_fourrowtemplate()->::proto::FourRowTemplate::MergeFrom(
+ from._internal_fourrowtemplate());
break;
}
case kHydratedFourRowTemplate: {
- _internal_mutable_hydratedfourrowtemplate()->::proto::HydratedFourRowTemplate::MergeFrom(from._internal_hydratedfourrowtemplate());
+ _this->_internal_mutable_hydratedfourrowtemplate()->::proto::HydratedFourRowTemplate::MergeFrom(
+ from._internal_hydratedfourrowtemplate());
break;
}
case FORMAT_NOT_SET: {
@@ -26361,38 +27514,41 @@ TemplateMessage::TemplateMessage(const TemplateMessage& from)
// @@protoc_insertion_point(copy_constructor:proto.TemplateMessage)
}
-void TemplateMessage::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&hydratedtemplate_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(hydratedtemplate_));
-clear_has_format();
+inline void TemplateMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.hydratedtemplate_){nullptr}
+ , decltype(_impl_.format_){}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ clear_has_format();
}
TemplateMessage::~TemplateMessage() {
// @@protoc_insertion_point(destructor:proto.TemplateMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void TemplateMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete contextinfo_;
- if (this != internal_default_instance()) delete hydratedtemplate_;
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
+ if (this != internal_default_instance()) delete _impl_.hydratedtemplate_;
if (has_format()) {
clear_format();
}
}
-void TemplateMessage::ArenaDtor(void* object) {
- TemplateMessage* _this = reinterpret_cast< TemplateMessage* >(object);
- (void)_this;
-}
-void TemplateMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void TemplateMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void TemplateMessage::clear_format() {
@@ -26400,13 +27556,13 @@ void TemplateMessage::clear_format() {
switch (format_case()) {
case kFourRowTemplate: {
if (GetArenaForAllocation() == nullptr) {
- delete format_.fourrowtemplate_;
+ delete _impl_.format_.fourrowtemplate_;
}
break;
}
case kHydratedFourRowTemplate: {
if (GetArenaForAllocation() == nullptr) {
- delete format_.hydratedfourrowtemplate_;
+ delete _impl_.format_.hydratedfourrowtemplate_;
}
break;
}
@@ -26414,42 +27570,42 @@ void TemplateMessage::clear_format() {
break;
}
}
- _oneof_case_[0] = FORMAT_NOT_SET;
+ _impl_._oneof_case_[0] = FORMAT_NOT_SET;
}
void TemplateMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.TemplateMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(hydratedtemplate_ != nullptr);
- hydratedtemplate_->Clear();
+ GOOGLE_DCHECK(_impl_.hydratedtemplate_ != nullptr);
+ _impl_.hydratedtemplate_->Clear();
}
}
clear_format();
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* TemplateMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* TemplateMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .proto.FourRowTemplate fourRowTemplate = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_fourrowtemplate(), ptr);
CHK_(ptr);
} else
@@ -26457,7 +27613,7 @@ const char* TemplateMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// .proto.HydratedFourRowTemplate hydratedFourRowTemplate = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_hydratedfourrowtemplate(), ptr);
CHK_(ptr);
} else
@@ -26465,7 +27621,7 @@ const char* TemplateMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.ContextInfo contextInfo = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -26473,7 +27629,7 @@ const char* TemplateMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional .proto.HydratedFourRowTemplate hydratedTemplate = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_hydratedtemplate(), ptr);
CHK_(ptr);
} else
@@ -26495,7 +27651,7 @@ const char* TemplateMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -26503,48 +27659,44 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* TemplateMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* TemplateMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.TemplateMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
switch (format_case()) {
case kFourRowTemplate: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::fourrowtemplate(this), target, stream);
+ InternalWriteMessage(1, _Internal::fourrowtemplate(this),
+ _Internal::fourrowtemplate(this).GetCachedSize(), target, stream);
break;
}
case kHydratedFourRowTemplate: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::hydratedfourrowtemplate(this), target, stream);
+ InternalWriteMessage(2, _Internal::hydratedfourrowtemplate(this),
+ _Internal::hydratedfourrowtemplate(this).GetCachedSize(), target, stream);
break;
}
default: ;
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.ContextInfo contextInfo = 3;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(3, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional .proto.HydratedFourRowTemplate hydratedTemplate = 4;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 4, _Internal::hydratedtemplate(this), target, stream);
+ InternalWriteMessage(4, _Internal::hydratedtemplate(this),
+ _Internal::hydratedtemplate(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.TemplateMessage)
@@ -26555,24 +27707,24 @@ size_t TemplateMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.TemplateMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// optional .proto.ContextInfo contextInfo = 3;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional .proto.HydratedFourRowTemplate hydratedTemplate = 4;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *hydratedtemplate_);
+ *_impl_.hydratedtemplate_);
}
}
@@ -26581,65 +27733,65 @@ size_t TemplateMessage::ByteSizeLong() const {
case kFourRowTemplate: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *format_.fourrowtemplate_);
+ *_impl_.format_.fourrowtemplate_);
break;
}
// .proto.HydratedFourRowTemplate hydratedFourRowTemplate = 2;
case kHydratedFourRowTemplate: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *format_.hydratedfourrowtemplate_);
+ *_impl_.format_.hydratedfourrowtemplate_);
break;
}
case FORMAT_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TemplateMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
TemplateMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TemplateMessage::GetClassData() const { return &_class_data_; }
-void TemplateMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<TemplateMessage *>(to)->MergeFrom(
- static_cast<const TemplateMessage &>(from));
-}
-
-void TemplateMessage::MergeFrom(const TemplateMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.TemplateMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void TemplateMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<TemplateMessage*>(&to_msg);
+ auto& from = static_cast<const TemplateMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.TemplateMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_hydratedtemplate()->::proto::HydratedFourRowTemplate::MergeFrom(from._internal_hydratedtemplate());
+ _this->_internal_mutable_hydratedtemplate()->::proto::HydratedFourRowTemplate::MergeFrom(
+ from._internal_hydratedtemplate());
}
}
switch (from.format_case()) {
case kFourRowTemplate: {
- _internal_mutable_fourrowtemplate()->::proto::FourRowTemplate::MergeFrom(from._internal_fourrowtemplate());
+ _this->_internal_mutable_fourrowtemplate()->::proto::FourRowTemplate::MergeFrom(
+ from._internal_fourrowtemplate());
break;
}
case kHydratedFourRowTemplate: {
- _internal_mutable_hydratedfourrowtemplate()->::proto::HydratedFourRowTemplate::MergeFrom(from._internal_hydratedfourrowtemplate());
+ _this->_internal_mutable_hydratedfourrowtemplate()->::proto::HydratedFourRowTemplate::MergeFrom(
+ from._internal_hydratedfourrowtemplate());
break;
}
case FORMAT_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void TemplateMessage::CopyFrom(const TemplateMessage& from) {
@@ -26656,19 +27808,19 @@ bool TemplateMessage::IsInitialized() const {
void TemplateMessage::InternalSwap(TemplateMessage* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(TemplateMessage, hydratedtemplate_)
- + sizeof(TemplateMessage::hydratedtemplate_)
- - PROTOBUF_FIELD_OFFSET(TemplateMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
- swap(format_, other->format_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ PROTOBUF_FIELD_OFFSET(TemplateMessage, _impl_.hydratedtemplate_)
+ + sizeof(TemplateMessage::_impl_.hydratedtemplate_)
+ - PROTOBUF_FIELD_OFFSET(TemplateMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
+ swap(_impl_.format_, other->_impl_.format_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata TemplateMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[53]);
}
@@ -26677,7 +27829,7 @@ void TemplateMessage::InternalSwap(TemplateMessage* other) {
class TemplateButtonReplyMessage::_Internal {
public:
- using HasBits = decltype(std::declval<TemplateButtonReplyMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<TemplateButtonReplyMessage>()._impl_._has_bits_);
static void set_has_selectedid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -26695,131 +27847,149 @@ class TemplateButtonReplyMessage::_Internal {
const ::proto::ContextInfo&
TemplateButtonReplyMessage::_Internal::contextinfo(const TemplateButtonReplyMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
TemplateButtonReplyMessage::TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.TemplateButtonReplyMessage)
}
TemplateButtonReplyMessage::TemplateButtonReplyMessage(const TemplateButtonReplyMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ TemplateButtonReplyMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.selectedid_){}
+ , decltype(_impl_.selecteddisplaytext_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.selectedindex_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- selectedid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.selectedid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selectedid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_selectedid()) {
- selectedid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_selectedid(),
- GetArenaForAllocation());
+ _this->_impl_.selectedid_.Set(from._internal_selectedid(),
+ _this->GetArenaForAllocation());
}
- selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.selecteddisplaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selecteddisplaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_selecteddisplaytext()) {
- selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_selecteddisplaytext(),
- GetArenaForAllocation());
+ _this->_impl_.selecteddisplaytext_.Set(from._internal_selecteddisplaytext(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- selectedindex_ = from.selectedindex_;
+ _this->_impl_.selectedindex_ = from._impl_.selectedindex_;
// @@protoc_insertion_point(copy_constructor:proto.TemplateButtonReplyMessage)
}
-void TemplateButtonReplyMessage::SharedCtor() {
-selectedid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&selectedindex_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(selectedindex_));
+inline void TemplateButtonReplyMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.selectedid_){}
+ , decltype(_impl_.selecteddisplaytext_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.selectedindex_){0u}
+ };
+ _impl_.selectedid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selectedid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selecteddisplaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selecteddisplaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
TemplateButtonReplyMessage::~TemplateButtonReplyMessage() {
// @@protoc_insertion_point(destructor:proto.TemplateButtonReplyMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void TemplateButtonReplyMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- selectedid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- selecteddisplaytext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.selectedid_.Destroy();
+ _impl_.selecteddisplaytext_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void TemplateButtonReplyMessage::ArenaDtor(void* object) {
- TemplateButtonReplyMessage* _this = reinterpret_cast< TemplateButtonReplyMessage* >(object);
- (void)_this;
-}
-void TemplateButtonReplyMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void TemplateButtonReplyMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void TemplateButtonReplyMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.TemplateButtonReplyMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- selectedid_.ClearNonDefaultToEmpty();
+ _impl_.selectedid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- selecteddisplaytext_.ClearNonDefaultToEmpty();
+ _impl_.selecteddisplaytext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- selectedindex_ = 0u;
- _has_bits_.Clear();
+ _impl_.selectedindex_ = 0u;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* TemplateButtonReplyMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* TemplateButtonReplyMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string selectedId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_selectedid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.TemplateButtonReplyMessage.selectedId");
+ ::_pbi::VerifyUTF8(str, "proto.TemplateButtonReplyMessage.selectedId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string selectedDisplayText = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_selecteddisplaytext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.TemplateButtonReplyMessage.selectedDisplayText");
+ ::_pbi::VerifyUTF8(str, "proto.TemplateButtonReplyMessage.selectedDisplayText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -26827,9 +27997,9 @@ const char* TemplateButtonReplyMessage::_InternalParse(const char* ptr, ::PROTOB
continue;
// optional uint32 selectedIndex = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
_Internal::set_has_selectedindex(&has_bits);
- selectedindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.selectedindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -26850,7 +28020,7 @@ const char* TemplateButtonReplyMessage::_InternalParse(const char* ptr, ::PROTOB
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -26858,13 +28028,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* TemplateButtonReplyMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* TemplateButtonReplyMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.TemplateButtonReplyMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string selectedId = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -26887,20 +28057,19 @@ failure:
// optional .proto.ContextInfo contextInfo = 3;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(3, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional uint32 selectedIndex = 4;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_selectedindex(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_selectedindex(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.TemplateButtonReplyMessage)
@@ -26911,11 +28080,11 @@ size_t TemplateButtonReplyMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.TemplateButtonReplyMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string selectedId = 1;
if (cached_has_bits & 0x00000001u) {
@@ -26935,54 +28104,51 @@ size_t TemplateButtonReplyMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional uint32 selectedIndex = 4;
if (cached_has_bits & 0x00000008u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_selectedindex());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_selectedindex());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TemplateButtonReplyMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
TemplateButtonReplyMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TemplateButtonReplyMessage::GetClassData() const { return &_class_data_; }
-void TemplateButtonReplyMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<TemplateButtonReplyMessage *>(to)->MergeFrom(
- static_cast<const TemplateButtonReplyMessage &>(from));
-}
-
-void TemplateButtonReplyMessage::MergeFrom(const TemplateButtonReplyMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.TemplateButtonReplyMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void TemplateButtonReplyMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<TemplateButtonReplyMessage*>(&to_msg);
+ auto& from = static_cast<const TemplateButtonReplyMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.TemplateButtonReplyMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_selectedid(from._internal_selectedid());
+ _this->_internal_set_selectedid(from._internal_selectedid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_selecteddisplaytext(from._internal_selecteddisplaytext());
+ _this->_internal_set_selecteddisplaytext(from._internal_selecteddisplaytext());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000008u) {
- selectedindex_ = from.selectedindex_;
+ _this->_impl_.selectedindex_ = from._impl_.selectedindex_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void TemplateButtonReplyMessage::CopyFrom(const TemplateButtonReplyMessage& from) {
@@ -27001,27 +28167,25 @@ void TemplateButtonReplyMessage::InternalSwap(TemplateButtonReplyMessage* other)
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &selectedid_, lhs_arena,
- &other->selectedid_, rhs_arena
+ &_impl_.selectedid_, lhs_arena,
+ &other->_impl_.selectedid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &selecteddisplaytext_, lhs_arena,
- &other->selecteddisplaytext_, rhs_arena
+ &_impl_.selecteddisplaytext_, lhs_arena,
+ &other->_impl_.selecteddisplaytext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(TemplateButtonReplyMessage, selectedindex_)
- + sizeof(TemplateButtonReplyMessage::selectedindex_)
- - PROTOBUF_FIELD_OFFSET(TemplateButtonReplyMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(TemplateButtonReplyMessage, _impl_.selectedindex_)
+ + sizeof(TemplateButtonReplyMessage::_impl_.selectedindex_)
+ - PROTOBUF_FIELD_OFFSET(TemplateButtonReplyMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata TemplateButtonReplyMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[54]);
}
@@ -27030,7 +28194,7 @@ void TemplateButtonReplyMessage::InternalSwap(TemplateButtonReplyMessage* other)
class CatalogSnapshot::_Internal {
public:
- using HasBits = decltype(std::declval<CatalogSnapshot>()._has_bits_);
+ using HasBits = decltype(std::declval<CatalogSnapshot>()._impl_._has_bits_);
static const ::proto::ImageMessage& catalogimage(const CatalogSnapshot* msg);
static void set_has_catalogimage(HasBits* has_bits) {
(*has_bits)[0] |= 4u;
@@ -27045,102 +28209,121 @@ class CatalogSnapshot::_Internal {
const ::proto::ImageMessage&
CatalogSnapshot::_Internal::catalogimage(const CatalogSnapshot* msg) {
- return *msg->catalogimage_;
+ return *msg->_impl_.catalogimage_;
}
CatalogSnapshot::CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.CatalogSnapshot)
}
CatalogSnapshot::CatalogSnapshot(const CatalogSnapshot& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ CatalogSnapshot* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.catalogimage_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
- description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_description()) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_description(),
- GetArenaForAllocation());
+ _this->_impl_.description_.Set(from._internal_description(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_catalogimage()) {
- catalogimage_ = new ::proto::ImageMessage(*from.catalogimage_);
- } else {
- catalogimage_ = nullptr;
+ _this->_impl_.catalogimage_ = new ::proto::ImageMessage(*from._impl_.catalogimage_);
}
// @@protoc_insertion_point(copy_constructor:proto.CatalogSnapshot)
}
-void CatalogSnapshot::SharedCtor() {
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-catalogimage_ = nullptr;
+inline void CatalogSnapshot::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.catalogimage_){nullptr}
+ };
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
CatalogSnapshot::~CatalogSnapshot() {
// @@protoc_insertion_point(destructor:proto.CatalogSnapshot)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void CatalogSnapshot::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- description_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete catalogimage_;
+ _impl_.title_.Destroy();
+ _impl_.description_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.catalogimage_;
}
-void CatalogSnapshot::ArenaDtor(void* object) {
- CatalogSnapshot* _this = reinterpret_cast< CatalogSnapshot* >(object);
- (void)_this;
-}
-void CatalogSnapshot::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void CatalogSnapshot::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void CatalogSnapshot::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.CatalogSnapshot)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- description_.ClearNonDefaultToEmpty();
+ _impl_.description_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(catalogimage_ != nullptr);
- catalogimage_->Clear();
+ GOOGLE_DCHECK(_impl_.catalogimage_ != nullptr);
+ _impl_.catalogimage_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* CatalogSnapshot::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* CatalogSnapshot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.ImageMessage catalogImage = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_catalogimage(), ptr);
CHK_(ptr);
} else
@@ -27148,25 +28331,25 @@ const char* CatalogSnapshot::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional string title = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.CatalogSnapshot.title");
+ ::_pbi::VerifyUTF8(str, "proto.CatalogSnapshot.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string description = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_description();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.CatalogSnapshot.description");
+ ::_pbi::VerifyUTF8(str, "proto.CatalogSnapshot.description");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -27186,7 +28369,7 @@ const char* CatalogSnapshot::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -27194,19 +28377,18 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* CatalogSnapshot::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* CatalogSnapshot::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.CatalogSnapshot)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.ImageMessage catalogImage = 1;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::catalogimage(this), target, stream);
+ InternalWriteMessage(1, _Internal::catalogimage(this),
+ _Internal::catalogimage(this).GetCachedSize(), target, stream);
}
// optional string title = 2;
@@ -27230,7 +28412,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.CatalogSnapshot)
@@ -27241,11 +28423,11 @@ size_t CatalogSnapshot::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.CatalogSnapshot)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string title = 2;
if (cached_has_bits & 0x00000001u) {
@@ -27265,45 +28447,42 @@ size_t CatalogSnapshot::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *catalogimage_);
+ *_impl_.catalogimage_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CatalogSnapshot::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
CatalogSnapshot::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CatalogSnapshot::GetClassData() const { return &_class_data_; }
-void CatalogSnapshot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<CatalogSnapshot *>(to)->MergeFrom(
- static_cast<const CatalogSnapshot &>(from));
-}
-
-void CatalogSnapshot::MergeFrom(const CatalogSnapshot& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.CatalogSnapshot)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void CatalogSnapshot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<CatalogSnapshot*>(&to_msg);
+ auto& from = static_cast<const CatalogSnapshot&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.CatalogSnapshot)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_description(from._internal_description());
+ _this->_internal_set_description(from._internal_description());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_catalogimage()->::proto::ImageMessage::MergeFrom(from._internal_catalogimage());
+ _this->_internal_mutable_catalogimage()->::proto::ImageMessage::MergeFrom(
+ from._internal_catalogimage());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void CatalogSnapshot::CopyFrom(const CatalogSnapshot& from) {
@@ -27322,22 +28501,20 @@ void CatalogSnapshot::InternalSwap(CatalogSnapshot* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &description_, lhs_arena,
- &other->description_, rhs_arena
+ &_impl_.description_, lhs_arena,
+ &other->_impl_.description_, rhs_arena
);
- swap(catalogimage_, other->catalogimage_);
+ swap(_impl_.catalogimage_, other->_impl_.catalogimage_);
}
::PROTOBUF_NAMESPACE_ID::Metadata CatalogSnapshot::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[55]);
}
@@ -27346,7 +28523,7 @@ void CatalogSnapshot::InternalSwap(CatalogSnapshot* other) {
class ProductSnapshot::_Internal {
public:
- using HasBits = decltype(std::declval<ProductSnapshot>()._has_bits_);
+ using HasBits = decltype(std::declval<ProductSnapshot>()._impl_._has_bits_);
static const ::proto::ImageMessage& productimage(const ProductSnapshot* msg);
static void set_has_productimage(HasBits* has_bits) {
(*has_bits)[0] |= 128u;
@@ -27382,163 +28559,223 @@ class ProductSnapshot::_Internal {
const ::proto::ImageMessage&
ProductSnapshot::_Internal::productimage(const ProductSnapshot* msg) {
- return *msg->productimage_;
+ return *msg->_impl_.productimage_;
}
ProductSnapshot::ProductSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ProductSnapshot)
}
ProductSnapshot::ProductSnapshot(const ProductSnapshot& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ProductSnapshot* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.productid_){}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.currencycode_){}
+ , decltype(_impl_.retailerid_){}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.firstimageid_){}
+ , decltype(_impl_.productimage_){nullptr}
+ , decltype(_impl_.priceamount1000_){}
+ , decltype(_impl_.productimagecount_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- productid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.productid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.productid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_productid()) {
- productid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_productid(),
- GetArenaForAllocation());
+ _this->_impl_.productid_.Set(from._internal_productid(),
+ _this->GetArenaForAllocation());
}
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
- description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_description()) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_description(),
- GetArenaForAllocation());
+ _this->_impl_.description_.Set(from._internal_description(),
+ _this->GetArenaForAllocation());
}
- currencycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.currencycode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_currencycode()) {
- currencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_currencycode(),
- GetArenaForAllocation());
+ _this->_impl_.currencycode_.Set(from._internal_currencycode(),
+ _this->GetArenaForAllocation());
}
- retailerid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.retailerid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.retailerid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_retailerid()) {
- retailerid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_retailerid(),
- GetArenaForAllocation());
+ _this->_impl_.retailerid_.Set(from._internal_retailerid(),
+ _this->GetArenaForAllocation());
}
- url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_url()) {
- url_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_url(),
- GetArenaForAllocation());
+ _this->_impl_.url_.Set(from._internal_url(),
+ _this->GetArenaForAllocation());
}
- firstimageid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.firstimageid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstimageid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_firstimageid()) {
- firstimageid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_firstimageid(),
- GetArenaForAllocation());
+ _this->_impl_.firstimageid_.Set(from._internal_firstimageid(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_productimage()) {
- productimage_ = new ::proto::ImageMessage(*from.productimage_);
- } else {
- productimage_ = nullptr;
+ _this->_impl_.productimage_ = new ::proto::ImageMessage(*from._impl_.productimage_);
}
- ::memcpy(&priceamount1000_, &from.priceamount1000_,
- static_cast<size_t>(reinterpret_cast<char*>(&productimagecount_) -
- reinterpret_cast<char*>(&priceamount1000_)) + sizeof(productimagecount_));
+ ::memcpy(&_impl_.priceamount1000_, &from._impl_.priceamount1000_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.productimagecount_) -
+ reinterpret_cast<char*>(&_impl_.priceamount1000_)) + sizeof(_impl_.productimagecount_));
// @@protoc_insertion_point(copy_constructor:proto.ProductSnapshot)
}
-void ProductSnapshot::SharedCtor() {
-productid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-currencycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-retailerid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-firstimageid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&productimage_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&productimagecount_) -
- reinterpret_cast<char*>(&productimage_)) + sizeof(productimagecount_));
+inline void ProductSnapshot::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.productid_){}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.currencycode_){}
+ , decltype(_impl_.retailerid_){}
+ , decltype(_impl_.url_){}
+ , decltype(_impl_.firstimageid_){}
+ , decltype(_impl_.productimage_){nullptr}
+ , decltype(_impl_.priceamount1000_){int64_t{0}}
+ , decltype(_impl_.productimagecount_){0u}
+ };
+ _impl_.productid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.productid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.retailerid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.retailerid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.url_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstimageid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.firstimageid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ProductSnapshot::~ProductSnapshot() {
// @@protoc_insertion_point(destructor:proto.ProductSnapshot)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ProductSnapshot::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- productid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- description_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- currencycode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- retailerid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- firstimageid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete productimage_;
+ _impl_.productid_.Destroy();
+ _impl_.title_.Destroy();
+ _impl_.description_.Destroy();
+ _impl_.currencycode_.Destroy();
+ _impl_.retailerid_.Destroy();
+ _impl_.url_.Destroy();
+ _impl_.firstimageid_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.productimage_;
}
-void ProductSnapshot::ArenaDtor(void* object) {
- ProductSnapshot* _this = reinterpret_cast< ProductSnapshot* >(object);
- (void)_this;
-}
-void ProductSnapshot::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ProductSnapshot::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ProductSnapshot::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ProductSnapshot)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- productid_.ClearNonDefaultToEmpty();
+ _impl_.productid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- description_.ClearNonDefaultToEmpty();
+ _impl_.description_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- currencycode_.ClearNonDefaultToEmpty();
+ _impl_.currencycode_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- retailerid_.ClearNonDefaultToEmpty();
+ _impl_.retailerid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- url_.ClearNonDefaultToEmpty();
+ _impl_.url_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- firstimageid_.ClearNonDefaultToEmpty();
+ _impl_.firstimageid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- GOOGLE_DCHECK(productimage_ != nullptr);
- productimage_->Clear();
+ GOOGLE_DCHECK(_impl_.productimage_ != nullptr);
+ _impl_.productimage_->Clear();
}
}
if (cached_has_bits & 0x00000300u) {
- ::memset(&priceamount1000_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&productimagecount_) -
- reinterpret_cast<char*>(&priceamount1000_)) + sizeof(productimagecount_));
+ ::memset(&_impl_.priceamount1000_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.productimagecount_) -
+ reinterpret_cast<char*>(&_impl_.priceamount1000_)) + sizeof(_impl_.productimagecount_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ProductSnapshot::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ProductSnapshot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.ImageMessage productImage = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_productimage(), ptr);
CHK_(ptr);
} else
@@ -27546,103 +28783,103 @@ const char* ProductSnapshot::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
continue;
// optional string productId = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_productid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ProductSnapshot.productId");
+ ::_pbi::VerifyUTF8(str, "proto.ProductSnapshot.productId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string title = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ProductSnapshot.title");
+ ::_pbi::VerifyUTF8(str, "proto.ProductSnapshot.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string description = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_description();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ProductSnapshot.description");
+ ::_pbi::VerifyUTF8(str, "proto.ProductSnapshot.description");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string currencyCode = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_currencycode();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ProductSnapshot.currencyCode");
+ ::_pbi::VerifyUTF8(str, "proto.ProductSnapshot.currencyCode");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 priceAmount1000 = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
_Internal::set_has_priceamount1000(&has_bits);
- priceamount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.priceamount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string retailerId = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_retailerid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ProductSnapshot.retailerId");
+ ::_pbi::VerifyUTF8(str, "proto.ProductSnapshot.retailerId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string url = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_url();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ProductSnapshot.url");
+ ::_pbi::VerifyUTF8(str, "proto.ProductSnapshot.url");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 productImageCount = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
_Internal::set_has_productimagecount(&has_bits);
- productimagecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.productimagecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string firstImageId = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
auto str = _internal_mutable_firstimageid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ProductSnapshot.firstImageId");
+ ::_pbi::VerifyUTF8(str, "proto.ProductSnapshot.firstImageId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -27662,7 +28899,7 @@ const char* ProductSnapshot::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPAC
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -27670,19 +28907,18 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ProductSnapshot::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ProductSnapshot::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ProductSnapshot)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.ImageMessage productImage = 1;
if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::productimage(this), target, stream);
+ InternalWriteMessage(1, _Internal::productimage(this),
+ _Internal::productimage(this).GetCachedSize(), target, stream);
}
// optional string productId = 2;
@@ -27728,7 +28964,7 @@ failure:
// optional int64 priceAmount1000 = 6;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_priceamount1000(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_priceamount1000(), target);
}
// optional string retailerId = 7;
@@ -27754,7 +28990,7 @@ failure:
// optional uint32 productImageCount = 9;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(9, this->_internal_productimagecount(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_productimagecount(), target);
}
// optional string firstImageId = 11;
@@ -27768,7 +29004,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ProductSnapshot)
@@ -27779,11 +29015,11 @@ size_t ProductSnapshot::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ProductSnapshot)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string productId = 2;
if (cached_has_bits & 0x00000001u) {
@@ -27838,81 +29074,78 @@ size_t ProductSnapshot::ByteSizeLong() const {
if (cached_has_bits & 0x00000080u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *productimage_);
+ *_impl_.productimage_);
}
}
if (cached_has_bits & 0x00000300u) {
// optional int64 priceAmount1000 = 6;
if (cached_has_bits & 0x00000100u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_priceamount1000());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_priceamount1000());
}
// optional uint32 productImageCount = 9;
if (cached_has_bits & 0x00000200u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_productimagecount());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_productimagecount());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProductSnapshot::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ProductSnapshot::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProductSnapshot::GetClassData() const { return &_class_data_; }
-void ProductSnapshot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ProductSnapshot *>(to)->MergeFrom(
- static_cast<const ProductSnapshot &>(from));
-}
-
-void ProductSnapshot::MergeFrom(const ProductSnapshot& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ProductSnapshot)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ProductSnapshot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ProductSnapshot*>(&to_msg);
+ auto& from = static_cast<const ProductSnapshot&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ProductSnapshot)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_productid(from._internal_productid());
+ _this->_internal_set_productid(from._internal_productid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_description(from._internal_description());
+ _this->_internal_set_description(from._internal_description());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_currencycode(from._internal_currencycode());
+ _this->_internal_set_currencycode(from._internal_currencycode());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_retailerid(from._internal_retailerid());
+ _this->_internal_set_retailerid(from._internal_retailerid());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_url(from._internal_url());
+ _this->_internal_set_url(from._internal_url());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_firstimageid(from._internal_firstimageid());
+ _this->_internal_set_firstimageid(from._internal_firstimageid());
}
if (cached_has_bits & 0x00000080u) {
- _internal_mutable_productimage()->::proto::ImageMessage::MergeFrom(from._internal_productimage());
+ _this->_internal_mutable_productimage()->::proto::ImageMessage::MergeFrom(
+ from._internal_productimage());
}
}
if (cached_has_bits & 0x00000300u) {
if (cached_has_bits & 0x00000100u) {
- priceamount1000_ = from.priceamount1000_;
+ _this->_impl_.priceamount1000_ = from._impl_.priceamount1000_;
}
if (cached_has_bits & 0x00000200u) {
- productimagecount_ = from.productimagecount_;
+ _this->_impl_.productimagecount_ = from._impl_.productimagecount_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ProductSnapshot::CopyFrom(const ProductSnapshot& from) {
@@ -27931,52 +29164,45 @@ void ProductSnapshot::InternalSwap(ProductSnapshot* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &productid_, lhs_arena,
- &other->productid_, rhs_arena
+ &_impl_.productid_, lhs_arena,
+ &other->_impl_.productid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &description_, lhs_arena,
- &other->description_, rhs_arena
+ &_impl_.description_, lhs_arena,
+ &other->_impl_.description_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &currencycode_, lhs_arena,
- &other->currencycode_, rhs_arena
+ &_impl_.currencycode_, lhs_arena,
+ &other->_impl_.currencycode_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &retailerid_, lhs_arena,
- &other->retailerid_, rhs_arena
+ &_impl_.retailerid_, lhs_arena,
+ &other->_impl_.retailerid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &url_, lhs_arena,
- &other->url_, rhs_arena
+ &_impl_.url_, lhs_arena,
+ &other->_impl_.url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &firstimageid_, lhs_arena,
- &other->firstimageid_, rhs_arena
+ &_impl_.firstimageid_, lhs_arena,
+ &other->_impl_.firstimageid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ProductSnapshot, productimagecount_)
- + sizeof(ProductSnapshot::productimagecount_)
- - PROTOBUF_FIELD_OFFSET(ProductSnapshot, productimage_)>(
- reinterpret_cast<char*>(&productimage_),
- reinterpret_cast<char*>(&other->productimage_));
+ PROTOBUF_FIELD_OFFSET(ProductSnapshot, _impl_.productimagecount_)
+ + sizeof(ProductSnapshot::_impl_.productimagecount_)
+ - PROTOBUF_FIELD_OFFSET(ProductSnapshot, _impl_.productimage_)>(
+ reinterpret_cast<char*>(&_impl_.productimage_),
+ reinterpret_cast<char*>(&other->_impl_.productimage_));
}
::PROTOBUF_NAMESPACE_ID::Metadata ProductSnapshot::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[56]);
}
@@ -27985,7 +29211,7 @@ void ProductSnapshot::InternalSwap(ProductSnapshot* other) {
class ProductMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ProductMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ProductMessage>()._impl_._has_bits_);
static const ::proto::ProductSnapshot& product(const ProductMessage* msg);
static void set_has_product(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
@@ -28005,123 +29231,131 @@ class ProductMessage::_Internal {
const ::proto::ProductSnapshot&
ProductMessage::_Internal::product(const ProductMessage* msg) {
- return *msg->product_;
+ return *msg->_impl_.product_;
}
const ::proto::CatalogSnapshot&
ProductMessage::_Internal::catalog(const ProductMessage* msg) {
- return *msg->catalog_;
+ return *msg->_impl_.catalog_;
}
const ::proto::ContextInfo&
ProductMessage::_Internal::contextinfo(const ProductMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
ProductMessage::ProductMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ProductMessage)
}
ProductMessage::ProductMessage(const ProductMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ProductMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.businessownerjid_){}
+ , decltype(_impl_.product_){nullptr}
+ , decltype(_impl_.catalog_){nullptr}
+ , decltype(_impl_.contextinfo_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- businessownerjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.businessownerjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.businessownerjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_businessownerjid()) {
- businessownerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_businessownerjid(),
- GetArenaForAllocation());
+ _this->_impl_.businessownerjid_.Set(from._internal_businessownerjid(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_product()) {
- product_ = new ::proto::ProductSnapshot(*from.product_);
- } else {
- product_ = nullptr;
+ _this->_impl_.product_ = new ::proto::ProductSnapshot(*from._impl_.product_);
}
if (from._internal_has_catalog()) {
- catalog_ = new ::proto::CatalogSnapshot(*from.catalog_);
- } else {
- catalog_ = nullptr;
+ _this->_impl_.catalog_ = new ::proto::CatalogSnapshot(*from._impl_.catalog_);
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
// @@protoc_insertion_point(copy_constructor:proto.ProductMessage)
}
-void ProductMessage::SharedCtor() {
-businessownerjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&product_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&contextinfo_) -
- reinterpret_cast<char*>(&product_)) + sizeof(contextinfo_));
+inline void ProductMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.businessownerjid_){}
+ , decltype(_impl_.product_){nullptr}
+ , decltype(_impl_.catalog_){nullptr}
+ , decltype(_impl_.contextinfo_){nullptr}
+ };
+ _impl_.businessownerjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.businessownerjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ProductMessage::~ProductMessage() {
// @@protoc_insertion_point(destructor:proto.ProductMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ProductMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- businessownerjid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete product_;
- if (this != internal_default_instance()) delete catalog_;
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.businessownerjid_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.product_;
+ if (this != internal_default_instance()) delete _impl_.catalog_;
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void ProductMessage::ArenaDtor(void* object) {
- ProductMessage* _this = reinterpret_cast< ProductMessage* >(object);
- (void)_this;
-}
-void ProductMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ProductMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ProductMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ProductMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- businessownerjid_.ClearNonDefaultToEmpty();
+ _impl_.businessownerjid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(product_ != nullptr);
- product_->Clear();
+ GOOGLE_DCHECK(_impl_.product_ != nullptr);
+ _impl_.product_->Clear();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(catalog_ != nullptr);
- catalog_->Clear();
+ GOOGLE_DCHECK(_impl_.catalog_ != nullptr);
+ _impl_.catalog_->Clear();
}
if (cached_has_bits & 0x00000008u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ProductMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ProductMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.ProductSnapshot product = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_product(), ptr);
CHK_(ptr);
} else
@@ -28129,19 +29363,19 @@ const char* ProductMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional string businessOwnerJid = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_businessownerjid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ProductMessage.businessOwnerJid");
+ ::_pbi::VerifyUTF8(str, "proto.ProductMessage.businessOwnerJid");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.CatalogSnapshot catalog = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_catalog(), ptr);
CHK_(ptr);
} else
@@ -28149,7 +29383,7 @@ const char* ProductMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -28171,7 +29405,7 @@ const char* ProductMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -28179,19 +29413,18 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ProductMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ProductMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ProductMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.ProductSnapshot product = 1;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::product(this), target, stream);
+ InternalWriteMessage(1, _Internal::product(this),
+ _Internal::product(this).GetCachedSize(), target, stream);
}
// optional string businessOwnerJid = 2;
@@ -28206,22 +29439,20 @@ failure:
// optional .proto.CatalogSnapshot catalog = 4;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 4, _Internal::catalog(this), target, stream);
+ InternalWriteMessage(4, _Internal::catalog(this),
+ _Internal::catalog(this).GetCachedSize(), target, stream);
}
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ProductMessage)
@@ -28232,11 +29463,11 @@ size_t ProductMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ProductMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string businessOwnerJid = 2;
if (cached_has_bits & 0x00000001u) {
@@ -28249,62 +29480,61 @@ size_t ProductMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *product_);
+ *_impl_.product_);
}
// optional .proto.CatalogSnapshot catalog = 4;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *catalog_);
+ *_impl_.catalog_);
}
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000008u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProductMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ProductMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProductMessage::GetClassData() const { return &_class_data_; }
-void ProductMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ProductMessage *>(to)->MergeFrom(
- static_cast<const ProductMessage &>(from));
-}
-
-void ProductMessage::MergeFrom(const ProductMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ProductMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ProductMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ProductMessage*>(&to_msg);
+ auto& from = static_cast<const ProductMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ProductMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_businessownerjid(from._internal_businessownerjid());
+ _this->_internal_set_businessownerjid(from._internal_businessownerjid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_product()->::proto::ProductSnapshot::MergeFrom(from._internal_product());
+ _this->_internal_mutable_product()->::proto::ProductSnapshot::MergeFrom(
+ from._internal_product());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_catalog()->::proto::CatalogSnapshot::MergeFrom(from._internal_catalog());
+ _this->_internal_mutable_catalog()->::proto::CatalogSnapshot::MergeFrom(
+ from._internal_catalog());
}
if (cached_has_bits & 0x00000008u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ProductMessage::CopyFrom(const ProductMessage& from) {
@@ -28323,22 +29553,21 @@ void ProductMessage::InternalSwap(ProductMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &businessownerjid_, lhs_arena,
- &other->businessownerjid_, rhs_arena
+ &_impl_.businessownerjid_, lhs_arena,
+ &other->_impl_.businessownerjid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ProductMessage, contextinfo_)
- + sizeof(ProductMessage::contextinfo_)
- - PROTOBUF_FIELD_OFFSET(ProductMessage, product_)>(
- reinterpret_cast<char*>(&product_),
- reinterpret_cast<char*>(&other->product_));
+ PROTOBUF_FIELD_OFFSET(ProductMessage, _impl_.contextinfo_)
+ + sizeof(ProductMessage::_impl_.contextinfo_)
+ - PROTOBUF_FIELD_OFFSET(ProductMessage, _impl_.product_)>(
+ reinterpret_cast<char*>(&_impl_.product_),
+ reinterpret_cast<char*>(&other->_impl_.product_));
}
::PROTOBUF_NAMESPACE_ID::Metadata ProductMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[57]);
}
@@ -28347,7 +29576,7 @@ void ProductMessage::InternalSwap(ProductMessage* other) {
class OrderMessage::_Internal {
public:
- using HasBits = decltype(std::declval<OrderMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<OrderMessage>()._impl_._has_bits_);
static void set_has_orderid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -28389,198 +29618,260 @@ class OrderMessage::_Internal {
const ::proto::ContextInfo&
OrderMessage::_Internal::contextinfo(const OrderMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
OrderMessage::OrderMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.OrderMessage)
}
OrderMessage::OrderMessage(const OrderMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ OrderMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.orderid_){}
+ , decltype(_impl_.thumbnail_){}
+ , decltype(_impl_.message_){}
+ , decltype(_impl_.ordertitle_){}
+ , decltype(_impl_.sellerjid_){}
+ , decltype(_impl_.token_){}
+ , decltype(_impl_.totalcurrencycode_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.totalamount1000_){}
+ , decltype(_impl_.itemcount_){}
+ , decltype(_impl_.status_){}
+ , decltype(_impl_.surface_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- orderid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.orderid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.orderid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_orderid()) {
- orderid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_orderid(),
- GetArenaForAllocation());
+ _this->_impl_.orderid_.Set(from._internal_orderid(),
+ _this->GetArenaForAllocation());
}
- thumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.thumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_thumbnail()) {
- thumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_thumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.thumbnail_.Set(from._internal_thumbnail(),
+ _this->GetArenaForAllocation());
}
- message_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.message_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.message_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_message()) {
- message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_message(),
- GetArenaForAllocation());
+ _this->_impl_.message_.Set(from._internal_message(),
+ _this->GetArenaForAllocation());
}
- ordertitle_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.ordertitle_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.ordertitle_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_ordertitle()) {
- ordertitle_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_ordertitle(),
- GetArenaForAllocation());
+ _this->_impl_.ordertitle_.Set(from._internal_ordertitle(),
+ _this->GetArenaForAllocation());
}
- sellerjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.sellerjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sellerjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_sellerjid()) {
- sellerjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_sellerjid(),
- GetArenaForAllocation());
+ _this->_impl_.sellerjid_.Set(from._internal_sellerjid(),
+ _this->GetArenaForAllocation());
}
- token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.token_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.token_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_token()) {
- token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_token(),
- GetArenaForAllocation());
+ _this->_impl_.token_.Set(from._internal_token(),
+ _this->GetArenaForAllocation());
}
- totalcurrencycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.totalcurrencycode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.totalcurrencycode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_totalcurrencycode()) {
- totalcurrencycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_totalcurrencycode(),
- GetArenaForAllocation());
+ _this->_impl_.totalcurrencycode_.Set(from._internal_totalcurrencycode(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- ::memcpy(&totalamount1000_, &from.totalamount1000_,
- static_cast<size_t>(reinterpret_cast<char*>(&surface_) -
- reinterpret_cast<char*>(&totalamount1000_)) + sizeof(surface_));
+ ::memcpy(&_impl_.totalamount1000_, &from._impl_.totalamount1000_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.surface_) -
+ reinterpret_cast<char*>(&_impl_.totalamount1000_)) + sizeof(_impl_.surface_));
// @@protoc_insertion_point(copy_constructor:proto.OrderMessage)
}
-void OrderMessage::SharedCtor() {
-orderid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-thumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-message_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-ordertitle_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-sellerjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-totalcurrencycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&itemcount_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(itemcount_));
-status_ = 1;
-surface_ = 1;
+inline void OrderMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.orderid_){}
+ , decltype(_impl_.thumbnail_){}
+ , decltype(_impl_.message_){}
+ , decltype(_impl_.ordertitle_){}
+ , decltype(_impl_.sellerjid_){}
+ , decltype(_impl_.token_){}
+ , decltype(_impl_.totalcurrencycode_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.totalamount1000_){int64_t{0}}
+ , decltype(_impl_.itemcount_){0}
+ , decltype(_impl_.status_){1}
+ , decltype(_impl_.surface_){1}
+ };
+ _impl_.orderid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.orderid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.thumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.message_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.message_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.ordertitle_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.ordertitle_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sellerjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.sellerjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.token_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.token_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.totalcurrencycode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.totalcurrencycode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
OrderMessage::~OrderMessage() {
// @@protoc_insertion_point(destructor:proto.OrderMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void OrderMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- orderid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- thumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- message_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- ordertitle_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- sellerjid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- totalcurrencycode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.orderid_.Destroy();
+ _impl_.thumbnail_.Destroy();
+ _impl_.message_.Destroy();
+ _impl_.ordertitle_.Destroy();
+ _impl_.sellerjid_.Destroy();
+ _impl_.token_.Destroy();
+ _impl_.totalcurrencycode_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void OrderMessage::ArenaDtor(void* object) {
- OrderMessage* _this = reinterpret_cast< OrderMessage* >(object);
- (void)_this;
-}
-void OrderMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void OrderMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void OrderMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.OrderMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- orderid_.ClearNonDefaultToEmpty();
+ _impl_.orderid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- thumbnail_.ClearNonDefaultToEmpty();
+ _impl_.thumbnail_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- message_.ClearNonDefaultToEmpty();
+ _impl_.message_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- ordertitle_.ClearNonDefaultToEmpty();
+ _impl_.ordertitle_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- sellerjid_.ClearNonDefaultToEmpty();
+ _impl_.sellerjid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- token_.ClearNonDefaultToEmpty();
+ _impl_.token_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000040u) {
- totalcurrencycode_.ClearNonDefaultToEmpty();
+ _impl_.totalcurrencycode_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000080u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
if (cached_has_bits & 0x00000f00u) {
- ::memset(&totalamount1000_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&itemcount_) -
- reinterpret_cast<char*>(&totalamount1000_)) + sizeof(itemcount_));
- status_ = 1;
- surface_ = 1;
+ ::memset(&_impl_.totalamount1000_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.itemcount_) -
+ reinterpret_cast<char*>(&_impl_.totalamount1000_)) + sizeof(_impl_.itemcount_));
+ _impl_.status_ = 1;
+ _impl_.surface_ = 1;
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* OrderMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* OrderMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string orderId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_orderid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.OrderMessage.orderId");
+ ::_pbi::VerifyUTF8(str, "proto.OrderMessage.orderId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes thumbnail = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_thumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int32 itemCount = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_itemcount(&has_bits);
- itemcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.itemcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.OrderMessage.OrderMessageOrderStatus status = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::OrderMessage_OrderMessageOrderStatus_IsValid(val))) {
_internal_set_status(static_cast<::proto::OrderMessage_OrderMessageOrderStatus>(val));
@@ -28592,8 +29883,8 @@ const char* OrderMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional .proto.OrderMessage.OrderMessageOrderSurface surface = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::OrderMessage_OrderMessageOrderSurface_IsValid(val))) {
_internal_set_surface(static_cast<::proto::OrderMessage_OrderMessageOrderSurface>(val));
@@ -28605,76 +29896,76 @@ const char* OrderMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
continue;
// optional string message = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
auto str = _internal_mutable_message();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.OrderMessage.message");
+ ::_pbi::VerifyUTF8(str, "proto.OrderMessage.message");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string orderTitle = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_ordertitle();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.OrderMessage.orderTitle");
+ ::_pbi::VerifyUTF8(str, "proto.OrderMessage.orderTitle");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string sellerJid = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
auto str = _internal_mutable_sellerjid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.OrderMessage.sellerJid");
+ ::_pbi::VerifyUTF8(str, "proto.OrderMessage.sellerJid");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string token = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
auto str = _internal_mutable_token();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.OrderMessage.token");
+ ::_pbi::VerifyUTF8(str, "proto.OrderMessage.token");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 totalAmount1000 = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
_Internal::set_has_totalamount1000(&has_bits);
- totalamount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.totalamount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string totalCurrencyCode = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
auto str = _internal_mutable_totalcurrencycode();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.OrderMessage.totalCurrencyCode");
+ ::_pbi::VerifyUTF8(str, "proto.OrderMessage.totalCurrencyCode");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -28696,7 +29987,7 @@ const char* OrderMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_I
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -28704,13 +29995,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* OrderMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* OrderMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.OrderMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string orderId = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -28730,20 +30021,20 @@ failure:
// optional int32 itemCount = 3;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_itemcount(), target);
+ target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_itemcount(), target);
}
// optional .proto.OrderMessage.OrderMessageOrderStatus status = 4;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
4, this->_internal_status(), target);
}
// optional .proto.OrderMessage.OrderMessageOrderSurface surface = 5;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
5, this->_internal_surface(), target);
}
@@ -28790,7 +30081,7 @@ failure:
// optional int64 totalAmount1000 = 10;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(10, this->_internal_totalamount1000(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(10, this->_internal_totalamount1000(), target);
}
// optional string totalCurrencyCode = 11;
@@ -28805,14 +30096,13 @@ failure:
// optional .proto.ContextInfo contextInfo = 17;
if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 17, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(17, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.OrderMessage)
@@ -28823,11 +30113,11 @@ size_t OrderMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.OrderMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string orderId = 1;
if (cached_has_bits & 0x00000001u) {
@@ -28882,99 +30172,96 @@ size_t OrderMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000080u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
}
if (cached_has_bits & 0x00000f00u) {
// optional int64 totalAmount1000 = 10;
if (cached_has_bits & 0x00000100u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_totalamount1000());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_totalamount1000());
}
// optional int32 itemCount = 3;
if (cached_has_bits & 0x00000200u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_itemcount());
+ total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_itemcount());
}
// optional .proto.OrderMessage.OrderMessageOrderStatus status = 4;
if (cached_has_bits & 0x00000400u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_status());
}
// optional .proto.OrderMessage.OrderMessageOrderSurface surface = 5;
if (cached_has_bits & 0x00000800u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_surface());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_surface());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OrderMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
OrderMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OrderMessage::GetClassData() const { return &_class_data_; }
-void OrderMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<OrderMessage *>(to)->MergeFrom(
- static_cast<const OrderMessage &>(from));
-}
-
-void OrderMessage::MergeFrom(const OrderMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.OrderMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void OrderMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<OrderMessage*>(&to_msg);
+ auto& from = static_cast<const OrderMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.OrderMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_orderid(from._internal_orderid());
+ _this->_internal_set_orderid(from._internal_orderid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_thumbnail(from._internal_thumbnail());
+ _this->_internal_set_thumbnail(from._internal_thumbnail());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_message(from._internal_message());
+ _this->_internal_set_message(from._internal_message());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_ordertitle(from._internal_ordertitle());
+ _this->_internal_set_ordertitle(from._internal_ordertitle());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_sellerjid(from._internal_sellerjid());
+ _this->_internal_set_sellerjid(from._internal_sellerjid());
}
if (cached_has_bits & 0x00000020u) {
- _internal_set_token(from._internal_token());
+ _this->_internal_set_token(from._internal_token());
}
if (cached_has_bits & 0x00000040u) {
- _internal_set_totalcurrencycode(from._internal_totalcurrencycode());
+ _this->_internal_set_totalcurrencycode(from._internal_totalcurrencycode());
}
if (cached_has_bits & 0x00000080u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
}
if (cached_has_bits & 0x00000f00u) {
if (cached_has_bits & 0x00000100u) {
- totalamount1000_ = from.totalamount1000_;
+ _this->_impl_.totalamount1000_ = from._impl_.totalamount1000_;
}
if (cached_has_bits & 0x00000200u) {
- itemcount_ = from.itemcount_;
+ _this->_impl_.itemcount_ = from._impl_.itemcount_;
}
if (cached_has_bits & 0x00000400u) {
- status_ = from.status_;
+ _this->_impl_.status_ = from._impl_.status_;
}
if (cached_has_bits & 0x00000800u) {
- surface_ = from.surface_;
+ _this->_impl_.surface_ = from._impl_.surface_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void OrderMessage::CopyFrom(const OrderMessage& from) {
@@ -28993,54 +30280,47 @@ void OrderMessage::InternalSwap(OrderMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &orderid_, lhs_arena,
- &other->orderid_, rhs_arena
+ &_impl_.orderid_, lhs_arena,
+ &other->_impl_.orderid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &thumbnail_, lhs_arena,
- &other->thumbnail_, rhs_arena
+ &_impl_.thumbnail_, lhs_arena,
+ &other->_impl_.thumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &message_, lhs_arena,
- &other->message_, rhs_arena
+ &_impl_.message_, lhs_arena,
+ &other->_impl_.message_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &ordertitle_, lhs_arena,
- &other->ordertitle_, rhs_arena
+ &_impl_.ordertitle_, lhs_arena,
+ &other->_impl_.ordertitle_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &sellerjid_, lhs_arena,
- &other->sellerjid_, rhs_arena
+ &_impl_.sellerjid_, lhs_arena,
+ &other->_impl_.sellerjid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &token_, lhs_arena,
- &other->token_, rhs_arena
+ &_impl_.token_, lhs_arena,
+ &other->_impl_.token_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &totalcurrencycode_, lhs_arena,
- &other->totalcurrencycode_, rhs_arena
+ &_impl_.totalcurrencycode_, lhs_arena,
+ &other->_impl_.totalcurrencycode_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(OrderMessage, itemcount_)
- + sizeof(OrderMessage::itemcount_)
- - PROTOBUF_FIELD_OFFSET(OrderMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
- swap(status_, other->status_);
- swap(surface_, other->surface_);
+ PROTOBUF_FIELD_OFFSET(OrderMessage, _impl_.itemcount_)
+ + sizeof(OrderMessage::_impl_.itemcount_)
+ - PROTOBUF_FIELD_OFFSET(OrderMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
+ swap(_impl_.status_, other->_impl_.status_);
+ swap(_impl_.surface_, other->_impl_.surface_);
}
::PROTOBUF_NAMESPACE_ID::Metadata OrderMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[58]);
}
@@ -29049,7 +30329,7 @@ void OrderMessage::InternalSwap(OrderMessage* other) {
class Row::_Internal {
public:
- using HasBits = decltype(std::declval<Row>()._has_bits_);
+ using HasBits = decltype(std::declval<Row>()._impl_._has_bits_);
static void set_has_title(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -29064,126 +30344,154 @@ class Row::_Internal {
Row::Row(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.Row)
}
Row::Row(const Row& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ Row* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.rowid_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
- description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_description()) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_description(),
- GetArenaForAllocation());
+ _this->_impl_.description_.Set(from._internal_description(),
+ _this->GetArenaForAllocation());
}
- rowid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.rowid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.rowid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_rowid()) {
- rowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_rowid(),
- GetArenaForAllocation());
+ _this->_impl_.rowid_.Set(from._internal_rowid(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.Row)
}
-void Row::SharedCtor() {
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-rowid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void Row::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.rowid_){}
+ };
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.rowid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.rowid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Row::~Row() {
// @@protoc_insertion_point(destructor:proto.Row)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void Row::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- description_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- rowid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.Destroy();
+ _impl_.description_.Destroy();
+ _impl_.rowid_.Destroy();
}
-void Row::ArenaDtor(void* object) {
- Row* _this = reinterpret_cast< Row* >(object);
- (void)_this;
-}
-void Row::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void Row::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void Row::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.Row)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- description_.ClearNonDefaultToEmpty();
+ _impl_.description_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- rowid_.ClearNonDefaultToEmpty();
+ _impl_.rowid_.ClearNonDefaultToEmpty();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* Row::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* Row::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string title = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Row.title");
+ ::_pbi::VerifyUTF8(str, "proto.Row.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string description = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_description();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Row.description");
+ ::_pbi::VerifyUTF8(str, "proto.Row.description");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string rowId = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_rowid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Row.rowId");
+ ::_pbi::VerifyUTF8(str, "proto.Row.rowId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -29203,7 +30511,7 @@ const char* Row::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -29211,13 +30519,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* Row::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* Row::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.Row)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -29249,7 +30557,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.Row)
@@ -29260,11 +30568,11 @@ size_t Row::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.Row)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
@@ -29288,41 +30596,37 @@ size_t Row::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Row::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
Row::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Row::GetClassData() const { return &_class_data_; }
-void Row::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<Row *>(to)->MergeFrom(
- static_cast<const Row &>(from));
-}
-
-void Row::MergeFrom(const Row& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.Row)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void Row::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<Row*>(&to_msg);
+ auto& from = static_cast<const Row&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.Row)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_description(from._internal_description());
+ _this->_internal_set_description(from._internal_description());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_rowid(from._internal_rowid());
+ _this->_internal_set_rowid(from._internal_rowid());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Row::CopyFrom(const Row& from) {
@@ -29341,26 +30645,23 @@ void Row::InternalSwap(Row* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &description_, lhs_arena,
- &other->description_, rhs_arena
+ &_impl_.description_, lhs_arena,
+ &other->_impl_.description_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &rowid_, lhs_arena,
- &other->rowid_, rhs_arena
+ &_impl_.rowid_, lhs_arena,
+ &other->_impl_.rowid_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata Row::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[59]);
}
@@ -29369,7 +30670,7 @@ void Row::InternalSwap(Row* other) {
class Section::_Internal {
public:
- using HasBits = decltype(std::declval<Section>()._has_bits_);
+ using HasBits = decltype(std::declval<Section>()._impl_._has_bits_);
static void set_has_title(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -29377,90 +30678,103 @@ class Section::_Internal {
Section::Section(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- rows_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.Section)
}
Section::Section(const Section& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- rows_(from.rows_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ Section* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.rows_){from._impl_.rows_}
+ , decltype(_impl_.title_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.Section)
}
-void Section::SharedCtor() {
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void Section::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.rows_){arena}
+ , decltype(_impl_.title_){}
+ };
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Section::~Section() {
// @@protoc_insertion_point(destructor:proto.Section)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void Section::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.rows_.~RepeatedPtrField();
+ _impl_.title_.Destroy();
}
-void Section::ArenaDtor(void* object) {
- Section* _this = reinterpret_cast< Section* >(object);
- (void)_this;
-}
-void Section::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void Section::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void Section::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.Section)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- rows_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.rows_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* Section::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* Section::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string title = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Section.title");
+ ::_pbi::VerifyUTF8(str, "proto.Section.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .proto.Row rows = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr -= 1;
do {
ptr += 1;
@@ -29487,7 +30801,7 @@ const char* Section::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -29495,13 +30809,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* Section::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* Section::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.Section)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -29513,15 +30827,15 @@ failure:
}
// repeated .proto.Row rows = 2;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_rows_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_rows_size()); i < n; i++) {
+ const auto& repfield = this->_internal_rows(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, this->_internal_rows(i), target, stream);
+ InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.Section)
@@ -29532,52 +30846,48 @@ size_t Section::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.Section)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.Row rows = 2;
total_size += 1UL * this->_internal_rows_size();
- for (const auto& msg : this->rows_) {
+ for (const auto& msg : this->_impl_.rows_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
// optional string title = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_title());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Section::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
Section::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Section::GetClassData() const { return &_class_data_; }
-void Section::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<Section *>(to)->MergeFrom(
- static_cast<const Section &>(from));
-}
-
-void Section::MergeFrom(const Section& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.Section)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void Section::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<Section*>(&to_msg);
+ auto& from = static_cast<const Section&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.Section)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- rows_.MergeFrom(from.rows_);
+ _this->_impl_.rows_.MergeFrom(from._impl_.rows_);
if (from._internal_has_title()) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Section::CopyFrom(const Section& from) {
@@ -29596,17 +30906,16 @@ void Section::InternalSwap(Section* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- rows_.InternalSwap(&other->rows_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.rows_.InternalSwap(&other->_impl_.rows_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata Section::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[60]);
}
@@ -29615,7 +30924,7 @@ void Section::InternalSwap(Section* other) {
class ListMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ListMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ListMessage>()._impl_._has_bits_);
static void set_has_title(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -29632,140 +30941,170 @@ class ListMessage::_Internal {
ListMessage::ListMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- sections_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ListMessage)
}
ListMessage::ListMessage(const ListMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- sections_(from.sections_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ListMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.sections_){from._impl_.sections_}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.buttontext_){}
+ , decltype(_impl_.listtype_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
- description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_description()) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_description(),
- GetArenaForAllocation());
+ _this->_impl_.description_.Set(from._internal_description(),
+ _this->GetArenaForAllocation());
}
- buttontext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.buttontext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.buttontext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_buttontext()) {
- buttontext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_buttontext(),
- GetArenaForAllocation());
+ _this->_impl_.buttontext_.Set(from._internal_buttontext(),
+ _this->GetArenaForAllocation());
}
- listtype_ = from.listtype_;
+ _this->_impl_.listtype_ = from._impl_.listtype_;
// @@protoc_insertion_point(copy_constructor:proto.ListMessage)
}
-void ListMessage::SharedCtor() {
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-buttontext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-listtype_ = 0;
+inline void ListMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.sections_){arena}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.buttontext_){}
+ , decltype(_impl_.listtype_){0}
+ };
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.buttontext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.buttontext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ListMessage::~ListMessage() {
// @@protoc_insertion_point(destructor:proto.ListMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ListMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- description_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- buttontext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.sections_.~RepeatedPtrField();
+ _impl_.title_.Destroy();
+ _impl_.description_.Destroy();
+ _impl_.buttontext_.Destroy();
}
-void ListMessage::ArenaDtor(void* object) {
- ListMessage* _this = reinterpret_cast< ListMessage* >(object);
- (void)_this;
-}
-void ListMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ListMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ListMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ListMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- sections_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.sections_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- description_.ClearNonDefaultToEmpty();
+ _impl_.description_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- buttontext_.ClearNonDefaultToEmpty();
+ _impl_.buttontext_.ClearNonDefaultToEmpty();
}
}
- listtype_ = 0;
- _has_bits_.Clear();
+ _impl_.listtype_ = 0;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ListMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ListMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string title = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ListMessage.title");
+ ::_pbi::VerifyUTF8(str, "proto.ListMessage.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string description = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_description();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ListMessage.description");
+ ::_pbi::VerifyUTF8(str, "proto.ListMessage.description");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string buttonText = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_buttontext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ListMessage.buttonText");
+ ::_pbi::VerifyUTF8(str, "proto.ListMessage.buttonText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ListMessage.ListMessageListType listType = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::ListMessage_ListMessageListType_IsValid(val))) {
_internal_set_listtype(static_cast<::proto::ListMessage_ListMessageListType>(val));
@@ -29777,7 +31116,7 @@ const char* ListMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// repeated .proto.Section sections = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
ptr -= 1;
do {
ptr += 1;
@@ -29804,7 +31143,7 @@ const char* ListMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -29812,13 +31151,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ListMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ListMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ListMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -29852,20 +31191,20 @@ failure:
// optional .proto.ListMessage.ListMessageListType listType = 4;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
4, this->_internal_listtype(), target);
}
// repeated .proto.Section sections = 5;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_sections_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_sections_size()); i < n; i++) {
+ const auto& repfield = this->_internal_sections(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(5, this->_internal_sections(i), target, stream);
+ InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ListMessage)
@@ -29876,18 +31215,18 @@ size_t ListMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ListMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.Section sections = 5;
total_size += 1UL * this->_internal_sections_size();
- for (const auto& msg : this->sections_) {
+ for (const auto& msg : this->_impl_.sections_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
@@ -29913,50 +31252,46 @@ size_t ListMessage::ByteSizeLong() const {
// optional .proto.ListMessage.ListMessageListType listType = 4;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_listtype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_listtype());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ListMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListMessage::GetClassData() const { return &_class_data_; }
-void ListMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ListMessage *>(to)->MergeFrom(
- static_cast<const ListMessage &>(from));
-}
-
-void ListMessage::MergeFrom(const ListMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ListMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ListMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ListMessage*>(&to_msg);
+ auto& from = static_cast<const ListMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ListMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- sections_.MergeFrom(from.sections_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.sections_.MergeFrom(from._impl_.sections_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_description(from._internal_description());
+ _this->_internal_set_description(from._internal_description());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_buttontext(from._internal_buttontext());
+ _this->_internal_set_buttontext(from._internal_buttontext());
}
if (cached_has_bits & 0x00000008u) {
- listtype_ = from.listtype_;
+ _this->_impl_.listtype_ = from._impl_.listtype_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ListMessage::CopyFrom(const ListMessage& from) {
@@ -29975,28 +31310,25 @@ void ListMessage::InternalSwap(ListMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- sections_.InternalSwap(&other->sections_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.sections_.InternalSwap(&other->_impl_.sections_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &description_, lhs_arena,
- &other->description_, rhs_arena
+ &_impl_.description_, lhs_arena,
+ &other->_impl_.description_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &buttontext_, lhs_arena,
- &other->buttontext_, rhs_arena
+ &_impl_.buttontext_, lhs_arena,
+ &other->_impl_.buttontext_, rhs_arena
);
- swap(listtype_, other->listtype_);
+ swap(_impl_.listtype_, other->_impl_.listtype_);
}
::PROTOBUF_NAMESPACE_ID::Metadata ListMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[61]);
}
@@ -30005,7 +31337,7 @@ void ListMessage::InternalSwap(ListMessage* other) {
class SingleSelectReply::_Internal {
public:
- using HasBits = decltype(std::declval<SingleSelectReply>()._has_bits_);
+ using HasBits = decltype(std::declval<SingleSelectReply>()._impl_._has_bits_);
static void set_has_selectedrowid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -30014,80 +31346,92 @@ class SingleSelectReply::_Internal {
SingleSelectReply::SingleSelectReply(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.SingleSelectReply)
}
SingleSelectReply::SingleSelectReply(const SingleSelectReply& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ SingleSelectReply* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.selectedrowid_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- selectedrowid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.selectedrowid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selectedrowid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_selectedrowid()) {
- selectedrowid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_selectedrowid(),
- GetArenaForAllocation());
+ _this->_impl_.selectedrowid_.Set(from._internal_selectedrowid(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.SingleSelectReply)
}
-void SingleSelectReply::SharedCtor() {
-selectedrowid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void SingleSelectReply::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.selectedrowid_){}
+ };
+ _impl_.selectedrowid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selectedrowid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
SingleSelectReply::~SingleSelectReply() {
// @@protoc_insertion_point(destructor:proto.SingleSelectReply)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void SingleSelectReply::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- selectedrowid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.selectedrowid_.Destroy();
}
-void SingleSelectReply::ArenaDtor(void* object) {
- SingleSelectReply* _this = reinterpret_cast< SingleSelectReply* >(object);
- (void)_this;
-}
-void SingleSelectReply::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void SingleSelectReply::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void SingleSelectReply::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.SingleSelectReply)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- selectedrowid_.ClearNonDefaultToEmpty();
+ _impl_.selectedrowid_.ClearNonDefaultToEmpty();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* SingleSelectReply::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* SingleSelectReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string selectedRowId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_selectedrowid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.SingleSelectReply.selectedRowId");
+ ::_pbi::VerifyUTF8(str, "proto.SingleSelectReply.selectedRowId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -30107,7 +31451,7 @@ const char* SingleSelectReply::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -30115,13 +31459,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* SingleSelectReply::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* SingleSelectReply::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.SingleSelectReply)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string selectedRowId = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -30133,7 +31477,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.SingleSelectReply)
@@ -30144,44 +31488,40 @@ size_t SingleSelectReply::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.SingleSelectReply)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional string selectedRowId = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_selectedrowid());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SingleSelectReply::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
SingleSelectReply::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SingleSelectReply::GetClassData() const { return &_class_data_; }
-void SingleSelectReply::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<SingleSelectReply *>(to)->MergeFrom(
- static_cast<const SingleSelectReply &>(from));
-}
-
-void SingleSelectReply::MergeFrom(const SingleSelectReply& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.SingleSelectReply)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void SingleSelectReply::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<SingleSelectReply*>(&to_msg);
+ auto& from = static_cast<const SingleSelectReply&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.SingleSelectReply)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_selectedrowid()) {
- _internal_set_selectedrowid(from._internal_selectedrowid());
+ _this->_internal_set_selectedrowid(from._internal_selectedrowid());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void SingleSelectReply::CopyFrom(const SingleSelectReply& from) {
@@ -30200,16 +31540,15 @@ void SingleSelectReply::InternalSwap(SingleSelectReply* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &selectedrowid_, lhs_arena,
- &other->selectedrowid_, rhs_arena
+ &_impl_.selectedrowid_, lhs_arena,
+ &other->_impl_.selectedrowid_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata SingleSelectReply::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[62]);
}
@@ -30218,7 +31557,7 @@ void SingleSelectReply::InternalSwap(SingleSelectReply* other) {
class ListResponseMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ListResponseMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ListResponseMessage>()._impl_._has_bits_);
static void set_has_title(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -30240,134 +31579,152 @@ class ListResponseMessage::_Internal {
const ::proto::SingleSelectReply&
ListResponseMessage::_Internal::singleselectreply(const ListResponseMessage* msg) {
- return *msg->singleselectreply_;
+ return *msg->_impl_.singleselectreply_;
}
const ::proto::ContextInfo&
ListResponseMessage::_Internal::contextinfo(const ListResponseMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
ListResponseMessage::ListResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ListResponseMessage)
}
ListResponseMessage::ListResponseMessage(const ListResponseMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ListResponseMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.singleselectreply_){nullptr}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.listtype_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_title()) {
- title_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_title(),
- GetArenaForAllocation());
+ _this->_impl_.title_.Set(from._internal_title(),
+ _this->GetArenaForAllocation());
}
- description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_description()) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_description(),
- GetArenaForAllocation());
+ _this->_impl_.description_.Set(from._internal_description(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_singleselectreply()) {
- singleselectreply_ = new ::proto::SingleSelectReply(*from.singleselectreply_);
- } else {
- singleselectreply_ = nullptr;
+ _this->_impl_.singleselectreply_ = new ::proto::SingleSelectReply(*from._impl_.singleselectreply_);
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- listtype_ = from.listtype_;
+ _this->_impl_.listtype_ = from._impl_.listtype_;
// @@protoc_insertion_point(copy_constructor:proto.ListResponseMessage)
}
-void ListResponseMessage::SharedCtor() {
-title_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-description_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&singleselectreply_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&listtype_) -
- reinterpret_cast<char*>(&singleselectreply_)) + sizeof(listtype_));
+inline void ListResponseMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.title_){}
+ , decltype(_impl_.description_){}
+ , decltype(_impl_.singleselectreply_){nullptr}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.listtype_){0}
+ };
+ _impl_.title_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.title_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.description_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ListResponseMessage::~ListResponseMessage() {
// @@protoc_insertion_point(destructor:proto.ListResponseMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ListResponseMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- title_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- description_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete singleselectreply_;
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.title_.Destroy();
+ _impl_.description_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.singleselectreply_;
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void ListResponseMessage::ArenaDtor(void* object) {
- ListResponseMessage* _this = reinterpret_cast< ListResponseMessage* >(object);
- (void)_this;
-}
-void ListResponseMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ListResponseMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ListResponseMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ListResponseMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- title_.ClearNonDefaultToEmpty();
+ _impl_.title_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- description_.ClearNonDefaultToEmpty();
+ _impl_.description_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(singleselectreply_ != nullptr);
- singleselectreply_->Clear();
+ GOOGLE_DCHECK(_impl_.singleselectreply_ != nullptr);
+ _impl_.singleselectreply_->Clear();
}
if (cached_has_bits & 0x00000008u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- listtype_ = 0;
- _has_bits_.Clear();
+ _impl_.listtype_ = 0;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ListResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ListResponseMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string title = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_title();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ListResponseMessage.title");
+ ::_pbi::VerifyUTF8(str, "proto.ListResponseMessage.title");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ListResponseMessage.ListResponseMessageListType listType = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::ListResponseMessage_ListResponseMessageListType_IsValid(val))) {
_internal_set_listtype(static_cast<::proto::ListResponseMessage_ListResponseMessageListType>(val));
@@ -30379,7 +31736,7 @@ const char* ListResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
continue;
// optional .proto.SingleSelectReply singleSelectReply = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_singleselectreply(), ptr);
CHK_(ptr);
} else
@@ -30387,7 +31744,7 @@ const char* ListResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
continue;
// optional .proto.ContextInfo contextInfo = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -30395,13 +31752,13 @@ const char* ListResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
continue;
// optional string description = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_description();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ListResponseMessage.description");
+ ::_pbi::VerifyUTF8(str, "proto.ListResponseMessage.description");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -30421,7 +31778,7 @@ const char* ListResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAME
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -30429,13 +31786,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ListResponseMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ListResponseMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ListResponseMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -30449,24 +31806,22 @@ failure:
// optional .proto.ListResponseMessage.ListResponseMessageListType listType = 2;
if (cached_has_bits & 0x00000010u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
2, this->_internal_listtype(), target);
}
// optional .proto.SingleSelectReply singleSelectReply = 3;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::singleselectreply(this), target, stream);
+ InternalWriteMessage(3, _Internal::singleselectreply(this),
+ _Internal::singleselectreply(this).GetCachedSize(), target, stream);
}
// optional .proto.ContextInfo contextInfo = 4;
if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 4, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(4, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional string description = 5;
@@ -30480,7 +31835,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ListResponseMessage)
@@ -30491,11 +31846,11 @@ size_t ListResponseMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ListResponseMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000001fu) {
// optional string title = 1;
if (cached_has_bits & 0x00000001u) {
@@ -30515,65 +31870,63 @@ size_t ListResponseMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *singleselectreply_);
+ *_impl_.singleselectreply_);
}
// optional .proto.ContextInfo contextInfo = 4;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional .proto.ListResponseMessage.ListResponseMessageListType listType = 2;
if (cached_has_bits & 0x00000010u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_listtype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_listtype());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListResponseMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ListResponseMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListResponseMessage::GetClassData() const { return &_class_data_; }
-void ListResponseMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ListResponseMessage *>(to)->MergeFrom(
- static_cast<const ListResponseMessage &>(from));
-}
-
-void ListResponseMessage::MergeFrom(const ListResponseMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ListResponseMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ListResponseMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ListResponseMessage*>(&to_msg);
+ auto& from = static_cast<const ListResponseMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ListResponseMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000001fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_title(from._internal_title());
+ _this->_internal_set_title(from._internal_title());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_description(from._internal_description());
+ _this->_internal_set_description(from._internal_description());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_singleselectreply()->::proto::SingleSelectReply::MergeFrom(from._internal_singleselectreply());
+ _this->_internal_mutable_singleselectreply()->::proto::SingleSelectReply::MergeFrom(
+ from._internal_singleselectreply());
}
if (cached_has_bits & 0x00000008u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000010u) {
- listtype_ = from.listtype_;
+ _this->_impl_.listtype_ = from._impl_.listtype_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ListResponseMessage::CopyFrom(const ListResponseMessage& from) {
@@ -30592,27 +31945,25 @@ void ListResponseMessage::InternalSwap(ListResponseMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &title_, lhs_arena,
- &other->title_, rhs_arena
+ &_impl_.title_, lhs_arena,
+ &other->_impl_.title_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &description_, lhs_arena,
- &other->description_, rhs_arena
+ &_impl_.description_, lhs_arena,
+ &other->_impl_.description_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ListResponseMessage, listtype_)
- + sizeof(ListResponseMessage::listtype_)
- - PROTOBUF_FIELD_OFFSET(ListResponseMessage, singleselectreply_)>(
- reinterpret_cast<char*>(&singleselectreply_),
- reinterpret_cast<char*>(&other->singleselectreply_));
+ PROTOBUF_FIELD_OFFSET(ListResponseMessage, _impl_.listtype_)
+ + sizeof(ListResponseMessage::_impl_.listtype_)
+ - PROTOBUF_FIELD_OFFSET(ListResponseMessage, _impl_.singleselectreply_)>(
+ reinterpret_cast<char*>(&_impl_.singleselectreply_),
+ reinterpret_cast<char*>(&other->_impl_.singleselectreply_));
}
::PROTOBUF_NAMESPACE_ID::Metadata ListResponseMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[63]);
}
@@ -30621,7 +31972,7 @@ void ListResponseMessage::InternalSwap(ListResponseMessage* other) {
class GroupInviteMessage::_Internal {
public:
- using HasBits = decltype(std::declval<GroupInviteMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<GroupInviteMessage>()._impl_._has_bits_);
static void set_has_groupjid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -30648,203 +31999,245 @@ class GroupInviteMessage::_Internal {
const ::proto::ContextInfo&
GroupInviteMessage::_Internal::contextinfo(const GroupInviteMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
GroupInviteMessage::GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.GroupInviteMessage)
}
GroupInviteMessage::GroupInviteMessage(const GroupInviteMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ GroupInviteMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.groupjid_){}
+ , decltype(_impl_.invitecode_){}
+ , decltype(_impl_.groupname_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.inviteexpiration_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- groupjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.groupjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.groupjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_groupjid()) {
- groupjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_groupjid(),
- GetArenaForAllocation());
+ _this->_impl_.groupjid_.Set(from._internal_groupjid(),
+ _this->GetArenaForAllocation());
}
- invitecode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.invitecode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.invitecode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_invitecode()) {
- invitecode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_invitecode(),
- GetArenaForAllocation());
+ _this->_impl_.invitecode_.Set(from._internal_invitecode(),
+ _this->GetArenaForAllocation());
}
- groupname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.groupname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.groupname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_groupname()) {
- groupname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_groupname(),
- GetArenaForAllocation());
+ _this->_impl_.groupname_.Set(from._internal_groupname(),
+ _this->GetArenaForAllocation());
}
- jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_jpegthumbnail()) {
- jpegthumbnail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_jpegthumbnail(),
- GetArenaForAllocation());
+ _this->_impl_.jpegthumbnail_.Set(from._internal_jpegthumbnail(),
+ _this->GetArenaForAllocation());
}
- caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_caption()) {
- caption_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_caption(),
- GetArenaForAllocation());
+ _this->_impl_.caption_.Set(from._internal_caption(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- inviteexpiration_ = from.inviteexpiration_;
+ _this->_impl_.inviteexpiration_ = from._impl_.inviteexpiration_;
// @@protoc_insertion_point(copy_constructor:proto.GroupInviteMessage)
}
-void GroupInviteMessage::SharedCtor() {
-groupjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-invitecode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-groupname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-jpegthumbnail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-caption_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&inviteexpiration_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(inviteexpiration_));
+inline void GroupInviteMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.groupjid_){}
+ , decltype(_impl_.invitecode_){}
+ , decltype(_impl_.groupname_){}
+ , decltype(_impl_.jpegthumbnail_){}
+ , decltype(_impl_.caption_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.inviteexpiration_){int64_t{0}}
+ };
+ _impl_.groupjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.groupjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.invitecode_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.invitecode_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.groupname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.groupname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
GroupInviteMessage::~GroupInviteMessage() {
// @@protoc_insertion_point(destructor:proto.GroupInviteMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void GroupInviteMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- groupjid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- invitecode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- groupname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- jpegthumbnail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- caption_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.groupjid_.Destroy();
+ _impl_.invitecode_.Destroy();
+ _impl_.groupname_.Destroy();
+ _impl_.jpegthumbnail_.Destroy();
+ _impl_.caption_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
}
-void GroupInviteMessage::ArenaDtor(void* object) {
- GroupInviteMessage* _this = reinterpret_cast< GroupInviteMessage* >(object);
- (void)_this;
-}
-void GroupInviteMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void GroupInviteMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void GroupInviteMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.GroupInviteMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000003fu) {
if (cached_has_bits & 0x00000001u) {
- groupjid_.ClearNonDefaultToEmpty();
+ _impl_.groupjid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- invitecode_.ClearNonDefaultToEmpty();
+ _impl_.invitecode_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- groupname_.ClearNonDefaultToEmpty();
+ _impl_.groupname_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- jpegthumbnail_.ClearNonDefaultToEmpty();
+ _impl_.jpegthumbnail_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- caption_.ClearNonDefaultToEmpty();
+ _impl_.caption_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000020u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- inviteexpiration_ = int64_t{0};
- _has_bits_.Clear();
+ _impl_.inviteexpiration_ = int64_t{0};
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* GroupInviteMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* GroupInviteMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string groupJid = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_groupjid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.GroupInviteMessage.groupJid");
+ ::_pbi::VerifyUTF8(str, "proto.GroupInviteMessage.groupJid");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string inviteCode = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_invitecode();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.GroupInviteMessage.inviteCode");
+ ::_pbi::VerifyUTF8(str, "proto.GroupInviteMessage.inviteCode");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 inviteExpiration = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_inviteexpiration(&has_bits);
- inviteexpiration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.inviteexpiration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string groupName = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_groupname();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.GroupInviteMessage.groupName");
+ ::_pbi::VerifyUTF8(str, "proto.GroupInviteMessage.groupName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes jpegThumbnail = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_jpegthumbnail();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string caption = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
auto str = _internal_mutable_caption();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.GroupInviteMessage.caption");
+ ::_pbi::VerifyUTF8(str, "proto.GroupInviteMessage.caption");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -30866,7 +32259,7 @@ const char* GroupInviteMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMES
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -30874,13 +32267,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* GroupInviteMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* GroupInviteMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.GroupInviteMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string groupJid = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -30904,7 +32297,7 @@ failure:
// optional int64 inviteExpiration = 3;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->_internal_inviteexpiration(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_inviteexpiration(), target);
}
// optional string groupName = 4;
@@ -30935,14 +32328,13 @@ failure:
// optional .proto.ContextInfo contextInfo = 7;
if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 7, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(7, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.GroupInviteMessage)
@@ -30953,11 +32345,11 @@ size_t GroupInviteMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.GroupInviteMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
// optional string groupJid = 1;
if (cached_has_bits & 0x00000001u) {
@@ -30998,63 +32390,60 @@ size_t GroupInviteMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000020u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional int64 inviteExpiration = 3;
if (cached_has_bits & 0x00000040u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_inviteexpiration());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_inviteexpiration());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GroupInviteMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
GroupInviteMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GroupInviteMessage::GetClassData() const { return &_class_data_; }
-void GroupInviteMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<GroupInviteMessage *>(to)->MergeFrom(
- static_cast<const GroupInviteMessage &>(from));
-}
-
-void GroupInviteMessage::MergeFrom(const GroupInviteMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.GroupInviteMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void GroupInviteMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<GroupInviteMessage*>(&to_msg);
+ auto& from = static_cast<const GroupInviteMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.GroupInviteMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000007fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_groupjid(from._internal_groupjid());
+ _this->_internal_set_groupjid(from._internal_groupjid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_invitecode(from._internal_invitecode());
+ _this->_internal_set_invitecode(from._internal_invitecode());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_groupname(from._internal_groupname());
+ _this->_internal_set_groupname(from._internal_groupname());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_jpegthumbnail(from._internal_jpegthumbnail());
+ _this->_internal_set_jpegthumbnail(from._internal_jpegthumbnail());
}
if (cached_has_bits & 0x00000010u) {
- _internal_set_caption(from._internal_caption());
+ _this->_internal_set_caption(from._internal_caption());
}
if (cached_has_bits & 0x00000020u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000040u) {
- inviteexpiration_ = from.inviteexpiration_;
+ _this->_impl_.inviteexpiration_ = from._impl_.inviteexpiration_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void GroupInviteMessage::CopyFrom(const GroupInviteMessage& from) {
@@ -31073,42 +32462,37 @@ void GroupInviteMessage::InternalSwap(GroupInviteMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &groupjid_, lhs_arena,
- &other->groupjid_, rhs_arena
+ &_impl_.groupjid_, lhs_arena,
+ &other->_impl_.groupjid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &invitecode_, lhs_arena,
- &other->invitecode_, rhs_arena
+ &_impl_.invitecode_, lhs_arena,
+ &other->_impl_.invitecode_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &groupname_, lhs_arena,
- &other->groupname_, rhs_arena
+ &_impl_.groupname_, lhs_arena,
+ &other->_impl_.groupname_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &jpegthumbnail_, lhs_arena,
- &other->jpegthumbnail_, rhs_arena
+ &_impl_.jpegthumbnail_, lhs_arena,
+ &other->_impl_.jpegthumbnail_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &caption_, lhs_arena,
- &other->caption_, rhs_arena
+ &_impl_.caption_, lhs_arena,
+ &other->_impl_.caption_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(GroupInviteMessage, inviteexpiration_)
- + sizeof(GroupInviteMessage::inviteexpiration_)
- - PROTOBUF_FIELD_OFFSET(GroupInviteMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
+ PROTOBUF_FIELD_OFFSET(GroupInviteMessage, _impl_.inviteexpiration_)
+ + sizeof(GroupInviteMessage::_impl_.inviteexpiration_)
+ - PROTOBUF_FIELD_OFFSET(GroupInviteMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
}
::PROTOBUF_NAMESPACE_ID::Metadata GroupInviteMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[64]);
}
@@ -31117,7 +32501,7 @@ void GroupInviteMessage::InternalSwap(GroupInviteMessage* other) {
class EphemeralSetting::_Internal {
public:
- using HasBits = decltype(std::declval<EphemeralSetting>()._has_bits_);
+ using HasBits = decltype(std::declval<EphemeralSetting>()._impl_._has_bits_);
static void set_has_chatjid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -31132,109 +32516,121 @@ class EphemeralSetting::_Internal {
EphemeralSetting::EphemeralSetting(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.EphemeralSetting)
}
EphemeralSetting::EphemeralSetting(const EphemeralSetting& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ EphemeralSetting* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.chatjid_){}
+ , decltype(_impl_.ephemeralsettingtimestamp_){}
+ , decltype(_impl_.ephemeralexpiration_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- chatjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.chatjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.chatjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_chatjid()) {
- chatjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_chatjid(),
- GetArenaForAllocation());
+ _this->_impl_.chatjid_.Set(from._internal_chatjid(),
+ _this->GetArenaForAllocation());
}
- ::memcpy(&ephemeralsettingtimestamp_, &from.ephemeralsettingtimestamp_,
- static_cast<size_t>(reinterpret_cast<char*>(&ephemeralexpiration_) -
- reinterpret_cast<char*>(&ephemeralsettingtimestamp_)) + sizeof(ephemeralexpiration_));
+ ::memcpy(&_impl_.ephemeralsettingtimestamp_, &from._impl_.ephemeralsettingtimestamp_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ephemeralexpiration_) -
+ reinterpret_cast<char*>(&_impl_.ephemeralsettingtimestamp_)) + sizeof(_impl_.ephemeralexpiration_));
// @@protoc_insertion_point(copy_constructor:proto.EphemeralSetting)
}
-void EphemeralSetting::SharedCtor() {
-chatjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&ephemeralsettingtimestamp_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&ephemeralexpiration_) -
- reinterpret_cast<char*>(&ephemeralsettingtimestamp_)) + sizeof(ephemeralexpiration_));
+inline void EphemeralSetting::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.chatjid_){}
+ , decltype(_impl_.ephemeralsettingtimestamp_){int64_t{0}}
+ , decltype(_impl_.ephemeralexpiration_){0u}
+ };
+ _impl_.chatjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.chatjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
EphemeralSetting::~EphemeralSetting() {
// @@protoc_insertion_point(destructor:proto.EphemeralSetting)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void EphemeralSetting::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- chatjid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.chatjid_.Destroy();
}
-void EphemeralSetting::ArenaDtor(void* object) {
- EphemeralSetting* _this = reinterpret_cast< EphemeralSetting* >(object);
- (void)_this;
-}
-void EphemeralSetting::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void EphemeralSetting::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void EphemeralSetting::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.EphemeralSetting)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- chatjid_.ClearNonDefaultToEmpty();
+ _impl_.chatjid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000006u) {
- ::memset(&ephemeralsettingtimestamp_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&ephemeralexpiration_) -
- reinterpret_cast<char*>(&ephemeralsettingtimestamp_)) + sizeof(ephemeralexpiration_));
+ ::memset(&_impl_.ephemeralsettingtimestamp_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.ephemeralexpiration_) -
+ reinterpret_cast<char*>(&_impl_.ephemeralsettingtimestamp_)) + sizeof(_impl_.ephemeralexpiration_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* EphemeralSetting::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* EphemeralSetting::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string chatJid = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_chatjid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.EphemeralSetting.chatJid");
+ ::_pbi::VerifyUTF8(str, "proto.EphemeralSetting.chatJid");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 ephemeralExpiration = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_ephemeralexpiration(&has_bits);
- ephemeralexpiration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.ephemeralexpiration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional int64 ephemeralSettingTimestamp = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_ephemeralsettingtimestamp(&has_bits);
- ephemeralsettingtimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ephemeralsettingtimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
@@ -31255,7 +32651,7 @@ const char* EphemeralSetting::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -31263,13 +32659,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* EphemeralSetting::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* EphemeralSetting::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.EphemeralSetting)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string chatJid = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -31283,17 +32679,17 @@ failure:
// optional uint32 ephemeralExpiration = 2;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ephemeralexpiration(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ephemeralexpiration(), target);
}
// optional int64 ephemeralSettingTimestamp = 3;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->_internal_ephemeralsettingtimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_ephemeralsettingtimestamp(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.EphemeralSetting)
@@ -31304,11 +32700,11 @@ size_t EphemeralSetting::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.EphemeralSetting)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string chatJid = 1;
if (cached_has_bits & 0x00000001u) {
@@ -31319,51 +32715,47 @@ size_t EphemeralSetting::ByteSizeLong() const {
// optional int64 ephemeralSettingTimestamp = 3;
if (cached_has_bits & 0x00000002u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_ephemeralsettingtimestamp());
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_ephemeralsettingtimestamp());
}
// optional uint32 ephemeralExpiration = 2;
if (cached_has_bits & 0x00000004u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_ephemeralexpiration());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ephemeralexpiration());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EphemeralSetting::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
EphemeralSetting::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EphemeralSetting::GetClassData() const { return &_class_data_; }
-void EphemeralSetting::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<EphemeralSetting *>(to)->MergeFrom(
- static_cast<const EphemeralSetting &>(from));
-}
-
-void EphemeralSetting::MergeFrom(const EphemeralSetting& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.EphemeralSetting)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void EphemeralSetting::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<EphemeralSetting*>(&to_msg);
+ auto& from = static_cast<const EphemeralSetting&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.EphemeralSetting)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_chatjid(from._internal_chatjid());
+ _this->_internal_set_chatjid(from._internal_chatjid());
}
if (cached_has_bits & 0x00000002u) {
- ephemeralsettingtimestamp_ = from.ephemeralsettingtimestamp_;
+ _this->_impl_.ephemeralsettingtimestamp_ = from._impl_.ephemeralsettingtimestamp_;
}
if (cached_has_bits & 0x00000004u) {
- ephemeralexpiration_ = from.ephemeralexpiration_;
+ _this->_impl_.ephemeralexpiration_ = from._impl_.ephemeralexpiration_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void EphemeralSetting::CopyFrom(const EphemeralSetting& from) {
@@ -31382,22 +32774,21 @@ void EphemeralSetting::InternalSwap(EphemeralSetting* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &chatjid_, lhs_arena,
- &other->chatjid_, rhs_arena
+ &_impl_.chatjid_, lhs_arena,
+ &other->_impl_.chatjid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(EphemeralSetting, ephemeralexpiration_)
- + sizeof(EphemeralSetting::ephemeralexpiration_)
- - PROTOBUF_FIELD_OFFSET(EphemeralSetting, ephemeralsettingtimestamp_)>(
- reinterpret_cast<char*>(&ephemeralsettingtimestamp_),
- reinterpret_cast<char*>(&other->ephemeralsettingtimestamp_));
+ PROTOBUF_FIELD_OFFSET(EphemeralSetting, _impl_.ephemeralexpiration_)
+ + sizeof(EphemeralSetting::_impl_.ephemeralexpiration_)
+ - PROTOBUF_FIELD_OFFSET(EphemeralSetting, _impl_.ephemeralsettingtimestamp_)>(
+ reinterpret_cast<char*>(&_impl_.ephemeralsettingtimestamp_),
+ reinterpret_cast<char*>(&other->_impl_.ephemeralsettingtimestamp_));
}
::PROTOBUF_NAMESPACE_ID::Metadata EphemeralSetting::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[65]);
}
@@ -31406,7 +32797,7 @@ void EphemeralSetting::InternalSwap(EphemeralSetting* other) {
class DeviceSentMessage::_Internal {
public:
- using HasBits = decltype(std::declval<DeviceSentMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<DeviceSentMessage>()._impl_._has_bits_);
static void set_has_destinationjid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -31421,117 +32812,137 @@ class DeviceSentMessage::_Internal {
const ::proto::Message&
DeviceSentMessage::_Internal::message(const DeviceSentMessage* msg) {
- return *msg->message_;
+ return *msg->_impl_.message_;
}
DeviceSentMessage::DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- broadcastephemeralsettings_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.DeviceSentMessage)
}
DeviceSentMessage::DeviceSentMessage(const DeviceSentMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- broadcastephemeralsettings_(from.broadcastephemeralsettings_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ DeviceSentMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.broadcastephemeralsettings_){from._impl_.broadcastephemeralsettings_}
+ , decltype(_impl_.destinationjid_){}
+ , decltype(_impl_.phash_){}
+ , decltype(_impl_.message_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- destinationjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.destinationjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.destinationjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_destinationjid()) {
- destinationjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_destinationjid(),
- GetArenaForAllocation());
+ _this->_impl_.destinationjid_.Set(from._internal_destinationjid(),
+ _this->GetArenaForAllocation());
}
- phash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.phash_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.phash_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_phash()) {
- phash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_phash(),
- GetArenaForAllocation());
+ _this->_impl_.phash_.Set(from._internal_phash(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_message()) {
- message_ = new ::proto::Message(*from.message_);
- } else {
- message_ = nullptr;
+ _this->_impl_.message_ = new ::proto::Message(*from._impl_.message_);
}
// @@protoc_insertion_point(copy_constructor:proto.DeviceSentMessage)
}
-void DeviceSentMessage::SharedCtor() {
-destinationjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-phash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-message_ = nullptr;
+inline void DeviceSentMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.broadcastephemeralsettings_){arena}
+ , decltype(_impl_.destinationjid_){}
+ , decltype(_impl_.phash_){}
+ , decltype(_impl_.message_){nullptr}
+ };
+ _impl_.destinationjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.destinationjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.phash_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.phash_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
DeviceSentMessage::~DeviceSentMessage() {
// @@protoc_insertion_point(destructor:proto.DeviceSentMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void DeviceSentMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- destinationjid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- phash_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete message_;
+ _impl_.broadcastephemeralsettings_.~RepeatedPtrField();
+ _impl_.destinationjid_.Destroy();
+ _impl_.phash_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.message_;
}
-void DeviceSentMessage::ArenaDtor(void* object) {
- DeviceSentMessage* _this = reinterpret_cast< DeviceSentMessage* >(object);
- (void)_this;
-}
-void DeviceSentMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void DeviceSentMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void DeviceSentMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.DeviceSentMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- broadcastephemeralsettings_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.broadcastephemeralsettings_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- destinationjid_.ClearNonDefaultToEmpty();
+ _impl_.destinationjid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- phash_.ClearNonDefaultToEmpty();
+ _impl_.phash_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(message_ != nullptr);
- message_->Clear();
+ GOOGLE_DCHECK(_impl_.message_ != nullptr);
+ _impl_.message_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* DeviceSentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* DeviceSentMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string destinationJid = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_destinationjid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.DeviceSentMessage.destinationJid");
+ ::_pbi::VerifyUTF8(str, "proto.DeviceSentMessage.destinationJid");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.Message message = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_message(), ptr);
CHK_(ptr);
} else
@@ -31539,19 +32950,19 @@ const char* DeviceSentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP
continue;
// optional string phash = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_phash();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.DeviceSentMessage.phash");
+ ::_pbi::VerifyUTF8(str, "proto.DeviceSentMessage.phash");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .proto.EphemeralSetting broadcastEphemeralSettings = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr -= 1;
do {
ptr += 1;
@@ -31578,7 +32989,7 @@ const char* DeviceSentMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -31586,13 +32997,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* DeviceSentMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* DeviceSentMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.DeviceSentMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string destinationJid = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -31605,10 +33016,9 @@ failure:
// optional .proto.Message message = 2;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::message(this), target, stream);
+ InternalWriteMessage(2, _Internal::message(this),
+ _Internal::message(this).GetCachedSize(), target, stream);
}
// optional string phash = 3;
@@ -31622,15 +33032,15 @@ failure:
}
// repeated .proto.EphemeralSetting broadcastEphemeralSettings = 4;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_broadcastephemeralsettings_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_broadcastephemeralsettings_size()); i < n; i++) {
+ const auto& repfield = this->_internal_broadcastephemeralsettings(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(4, this->_internal_broadcastephemeralsettings(i), target, stream);
+ InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.DeviceSentMessage)
@@ -31641,18 +33051,18 @@ size_t DeviceSentMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.DeviceSentMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.EphemeralSetting broadcastEphemeralSettings = 4;
total_size += 1UL * this->_internal_broadcastephemeralsettings_size();
- for (const auto& msg : this->broadcastephemeralsettings_) {
+ for (const auto& msg : this->_impl_.broadcastephemeralsettings_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string destinationJid = 1;
if (cached_has_bits & 0x00000001u) {
@@ -31672,46 +33082,43 @@ size_t DeviceSentMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *message_);
+ *_impl_.message_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeviceSentMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
DeviceSentMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeviceSentMessage::GetClassData() const { return &_class_data_; }
-void DeviceSentMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<DeviceSentMessage *>(to)->MergeFrom(
- static_cast<const DeviceSentMessage &>(from));
-}
-
-void DeviceSentMessage::MergeFrom(const DeviceSentMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.DeviceSentMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void DeviceSentMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<DeviceSentMessage*>(&to_msg);
+ auto& from = static_cast<const DeviceSentMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.DeviceSentMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- broadcastephemeralsettings_.MergeFrom(from.broadcastephemeralsettings_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.broadcastephemeralsettings_.MergeFrom(from._impl_.broadcastephemeralsettings_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_destinationjid(from._internal_destinationjid());
+ _this->_internal_set_destinationjid(from._internal_destinationjid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_phash(from._internal_phash());
+ _this->_internal_set_phash(from._internal_phash());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_message()->::proto::Message::MergeFrom(from._internal_message());
+ _this->_internal_mutable_message()->::proto::Message::MergeFrom(
+ from._internal_message());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void DeviceSentMessage::CopyFrom(const DeviceSentMessage& from) {
@@ -31730,23 +33137,21 @@ void DeviceSentMessage::InternalSwap(DeviceSentMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- broadcastephemeralsettings_.InternalSwap(&other->broadcastephemeralsettings_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.broadcastephemeralsettings_.InternalSwap(&other->_impl_.broadcastephemeralsettings_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &destinationjid_, lhs_arena,
- &other->destinationjid_, rhs_arena
+ &_impl_.destinationjid_, lhs_arena,
+ &other->_impl_.destinationjid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &phash_, lhs_arena,
- &other->phash_, rhs_arena
+ &_impl_.phash_, lhs_arena,
+ &other->_impl_.phash_, rhs_arena
);
- swap(message_, other->message_);
+ swap(_impl_.message_, other->_impl_.message_);
}
::PROTOBUF_NAMESPACE_ID::Metadata DeviceSentMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[66]);
}
@@ -31755,7 +33160,7 @@ void DeviceSentMessage::InternalSwap(DeviceSentMessage* other) {
class FutureProofMessage::_Internal {
public:
- using HasBits = decltype(std::declval<FutureProofMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<FutureProofMessage>()._impl_._has_bits_);
static const ::proto::Message& message(const FutureProofMessage* msg);
static void set_has_message(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
@@ -31764,80 +33169,83 @@ class FutureProofMessage::_Internal {
const ::proto::Message&
FutureProofMessage::_Internal::message(const FutureProofMessage* msg) {
- return *msg->message_;
+ return *msg->_impl_.message_;
}
FutureProofMessage::FutureProofMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.FutureProofMessage)
}
FutureProofMessage::FutureProofMessage(const FutureProofMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ FutureProofMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.message_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_message()) {
- message_ = new ::proto::Message(*from.message_);
- } else {
- message_ = nullptr;
+ _this->_impl_.message_ = new ::proto::Message(*from._impl_.message_);
}
// @@protoc_insertion_point(copy_constructor:proto.FutureProofMessage)
}
-void FutureProofMessage::SharedCtor() {
-message_ = nullptr;
+inline void FutureProofMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.message_){nullptr}
+ };
}
FutureProofMessage::~FutureProofMessage() {
// @@protoc_insertion_point(destructor:proto.FutureProofMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void FutureProofMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete message_;
+ if (this != internal_default_instance()) delete _impl_.message_;
}
-void FutureProofMessage::ArenaDtor(void* object) {
- FutureProofMessage* _this = reinterpret_cast< FutureProofMessage* >(object);
- (void)_this;
-}
-void FutureProofMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void FutureProofMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void FutureProofMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.FutureProofMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(message_ != nullptr);
- message_->Clear();
+ GOOGLE_DCHECK(_impl_.message_ != nullptr);
+ _impl_.message_->Clear();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* FutureProofMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* FutureProofMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.Message message = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_message(), ptr);
CHK_(ptr);
} else
@@ -31859,7 +33267,7 @@ const char* FutureProofMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMES
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -31867,23 +33275,22 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* FutureProofMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* FutureProofMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.FutureProofMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.Message message = 1;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::message(this), target, stream);
+ InternalWriteMessage(1, _Internal::message(this),
+ _Internal::message(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.FutureProofMessage)
@@ -31894,44 +33301,41 @@ size_t FutureProofMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.FutureProofMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional .proto.Message message = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *message_);
+ *_impl_.message_);
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FutureProofMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
FutureProofMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FutureProofMessage::GetClassData() const { return &_class_data_; }
-void FutureProofMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<FutureProofMessage *>(to)->MergeFrom(
- static_cast<const FutureProofMessage &>(from));
-}
-
-void FutureProofMessage::MergeFrom(const FutureProofMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.FutureProofMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void FutureProofMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<FutureProofMessage*>(&to_msg);
+ auto& from = static_cast<const FutureProofMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.FutureProofMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_message()) {
- _internal_mutable_message()->::proto::Message::MergeFrom(from._internal_message());
+ _this->_internal_mutable_message()->::proto::Message::MergeFrom(
+ from._internal_message());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void FutureProofMessage::CopyFrom(const FutureProofMessage& from) {
@@ -31948,12 +33352,12 @@ bool FutureProofMessage::IsInitialized() const {
void FutureProofMessage::InternalSwap(FutureProofMessage* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(message_, other->message_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.message_, other->_impl_.message_);
}
::PROTOBUF_NAMESPACE_ID::Metadata FutureProofMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[67]);
}
@@ -31962,7 +33366,7 @@ void FutureProofMessage::InternalSwap(FutureProofMessage* other) {
class ButtonText::_Internal {
public:
- using HasBits = decltype(std::declval<ButtonText>()._has_bits_);
+ using HasBits = decltype(std::declval<ButtonText>()._impl_._has_bits_);
static void set_has_displaytext(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -31971,80 +33375,92 @@ class ButtonText::_Internal {
ButtonText::ButtonText(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ButtonText)
}
ButtonText::ButtonText(const ButtonText& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ButtonText* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- displaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_displaytext()) {
- displaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_displaytext(),
- GetArenaForAllocation());
+ _this->_impl_.displaytext_.Set(from._internal_displaytext(),
+ _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:proto.ButtonText)
}
-void ButtonText::SharedCtor() {
-displaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+inline void ButtonText::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.displaytext_){}
+ };
+ _impl_.displaytext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
ButtonText::~ButtonText() {
// @@protoc_insertion_point(destructor:proto.ButtonText)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ButtonText::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- displaytext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.displaytext_.Destroy();
}
-void ButtonText::ArenaDtor(void* object) {
- ButtonText* _this = reinterpret_cast< ButtonText* >(object);
- (void)_this;
-}
-void ButtonText::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ButtonText::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ButtonText::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ButtonText)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
- displaytext_.ClearNonDefaultToEmpty();
+ _impl_.displaytext_.ClearNonDefaultToEmpty();
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ButtonText::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ButtonText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string displayText = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_displaytext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ButtonText.displayText");
+ ::_pbi::VerifyUTF8(str, "proto.ButtonText.displayText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -32064,7 +33480,7 @@ const char* ButtonText::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID:
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -32072,13 +33488,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ButtonText::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ButtonText::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ButtonText)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string displayText = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -32090,7 +33506,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ButtonText)
@@ -32101,44 +33517,40 @@ size_t ButtonText::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ButtonText)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// optional string displayText = 1;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_displaytext());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ButtonText::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ButtonText::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ButtonText::GetClassData() const { return &_class_data_; }
-void ButtonText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ButtonText *>(to)->MergeFrom(
- static_cast<const ButtonText &>(from));
-}
-
-void ButtonText::MergeFrom(const ButtonText& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ButtonText)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ButtonText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ButtonText*>(&to_msg);
+ auto& from = static_cast<const ButtonText&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ButtonText)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_has_displaytext()) {
- _internal_set_displaytext(from._internal_displaytext());
+ _this->_internal_set_displaytext(from._internal_displaytext());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ButtonText::CopyFrom(const ButtonText& from) {
@@ -32157,16 +33569,15 @@ void ButtonText::InternalSwap(ButtonText* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &displaytext_, lhs_arena,
- &other->displaytext_, rhs_arena
+ &_impl_.displaytext_, lhs_arena,
+ &other->_impl_.displaytext_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata ButtonText::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[68]);
}
@@ -32175,7 +33586,7 @@ void ButtonText::InternalSwap(ButtonText* other) {
class Button::_Internal {
public:
- using HasBits = decltype(std::declval<Button>()._has_bits_);
+ using HasBits = decltype(std::declval<Button>()._impl_._has_bits_);
static void set_has_buttonid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -32190,109 +33601,119 @@ class Button::_Internal {
const ::proto::ButtonText&
Button::_Internal::buttontext(const Button* msg) {
- return *msg->buttontext_;
+ return *msg->_impl_.buttontext_;
}
Button::Button(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.Button)
}
Button::Button(const Button& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ Button* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.buttonid_){}
+ , decltype(_impl_.buttontext_){nullptr}
+ , decltype(_impl_.type_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- buttonid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.buttonid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.buttonid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_buttonid()) {
- buttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_buttonid(),
- GetArenaForAllocation());
+ _this->_impl_.buttonid_.Set(from._internal_buttonid(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_buttontext()) {
- buttontext_ = new ::proto::ButtonText(*from.buttontext_);
- } else {
- buttontext_ = nullptr;
+ _this->_impl_.buttontext_ = new ::proto::ButtonText(*from._impl_.buttontext_);
}
- type_ = from.type_;
+ _this->_impl_.type_ = from._impl_.type_;
// @@protoc_insertion_point(copy_constructor:proto.Button)
}
-void Button::SharedCtor() {
-buttonid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&buttontext_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&type_) -
- reinterpret_cast<char*>(&buttontext_)) + sizeof(type_));
+inline void Button::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.buttonid_){}
+ , decltype(_impl_.buttontext_){nullptr}
+ , decltype(_impl_.type_){0}
+ };
+ _impl_.buttonid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.buttonid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Button::~Button() {
// @@protoc_insertion_point(destructor:proto.Button)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void Button::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- buttonid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete buttontext_;
+ _impl_.buttonid_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.buttontext_;
}
-void Button::ArenaDtor(void* object) {
- Button* _this = reinterpret_cast< Button* >(object);
- (void)_this;
-}
-void Button::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void Button::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void Button::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.Button)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- buttonid_.ClearNonDefaultToEmpty();
+ _impl_.buttonid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(buttontext_ != nullptr);
- buttontext_->Clear();
+ GOOGLE_DCHECK(_impl_.buttontext_ != nullptr);
+ _impl_.buttontext_->Clear();
}
}
- type_ = 0;
- _has_bits_.Clear();
+ _impl_.type_ = 0;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* Button::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* Button::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string buttonId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_buttonid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Button.buttonId");
+ ::_pbi::VerifyUTF8(str, "proto.Button.buttonId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ButtonText buttonText = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_buttontext(), ptr);
CHK_(ptr);
} else
@@ -32300,8 +33721,8 @@ const char* Button::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int
continue;
// optional .proto.Button.ButtonType type = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::Button_ButtonType_IsValid(val))) {
_internal_set_type(static_cast<::proto::Button_ButtonType>(val));
@@ -32327,7 +33748,7 @@ const char* Button::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -32335,13 +33756,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* Button::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* Button::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.Button)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string buttonId = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -32354,21 +33775,20 @@ failure:
// optional .proto.ButtonText buttonText = 2;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::buttontext(this), target, stream);
+ InternalWriteMessage(2, _Internal::buttontext(this),
+ _Internal::buttontext(this).GetCachedSize(), target, stream);
}
// optional .proto.Button.ButtonType type = 3;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
3, this->_internal_type(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.Button)
@@ -32379,11 +33799,11 @@ size_t Button::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.Button)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string buttonId = 1;
if (cached_has_bits & 0x00000001u) {
@@ -32396,52 +33816,49 @@ size_t Button::ByteSizeLong() const {
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *buttontext_);
+ *_impl_.buttontext_);
}
// optional .proto.Button.ButtonType type = 3;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Button::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
Button::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Button::GetClassData() const { return &_class_data_; }
-void Button::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<Button *>(to)->MergeFrom(
- static_cast<const Button &>(from));
-}
-
-void Button::MergeFrom(const Button& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.Button)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void Button::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<Button*>(&to_msg);
+ auto& from = static_cast<const Button&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.Button)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_buttonid(from._internal_buttonid());
+ _this->_internal_set_buttonid(from._internal_buttonid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_buttontext()->::proto::ButtonText::MergeFrom(from._internal_buttontext());
+ _this->_internal_mutable_buttontext()->::proto::ButtonText::MergeFrom(
+ from._internal_buttontext());
}
if (cached_has_bits & 0x00000004u) {
- type_ = from.type_;
+ _this->_impl_.type_ = from._impl_.type_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Button::CopyFrom(const Button& from) {
@@ -32460,22 +33877,21 @@ void Button::InternalSwap(Button* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &buttonid_, lhs_arena,
- &other->buttonid_, rhs_arena
+ &_impl_.buttonid_, lhs_arena,
+ &other->_impl_.buttonid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(Button, type_)
- + sizeof(Button::type_)
- - PROTOBUF_FIELD_OFFSET(Button, buttontext_)>(
- reinterpret_cast<char*>(&buttontext_),
- reinterpret_cast<char*>(&other->buttontext_));
+ PROTOBUF_FIELD_OFFSET(Button, _impl_.type_)
+ + sizeof(Button::_impl_.type_)
+ - PROTOBUF_FIELD_OFFSET(Button, _impl_.buttontext_)>(
+ reinterpret_cast<char*>(&_impl_.buttontext_),
+ reinterpret_cast<char*>(&other->_impl_.buttontext_));
}
::PROTOBUF_NAMESPACE_ID::Metadata Button::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[69]);
}
@@ -32484,7 +33900,7 @@ void Button::InternalSwap(Button* other) {
class ButtonsMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ButtonsMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ButtonsMessage>()._impl_._has_bits_);
static void set_has_contenttext(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -32506,36 +33922,36 @@ class ButtonsMessage::_Internal {
const ::proto::ContextInfo&
ButtonsMessage::_Internal::contextinfo(const ButtonsMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
const ::proto::DocumentMessage&
ButtonsMessage::_Internal::documentmessage(const ButtonsMessage* msg) {
- return *msg->header_.documentmessage_;
+ return *msg->_impl_.header_.documentmessage_;
}
const ::proto::ImageMessage&
ButtonsMessage::_Internal::imagemessage(const ButtonsMessage* msg) {
- return *msg->header_.imagemessage_;
+ return *msg->_impl_.header_.imagemessage_;
}
const ::proto::VideoMessage&
ButtonsMessage::_Internal::videomessage(const ButtonsMessage* msg) {
- return *msg->header_.videomessage_;
+ return *msg->_impl_.header_.videomessage_;
}
const ::proto::LocationMessage&
ButtonsMessage::_Internal::locationmessage(const ButtonsMessage* msg) {
- return *msg->header_.locationmessage_;
+ return *msg->_impl_.header_.locationmessage_;
}
void ButtonsMessage::set_allocated_documentmessage(::proto::DocumentMessage* documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_header();
if (documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DocumentMessage>::GetOwningArena(documentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(documentmessage);
if (message_arena != submessage_arena) {
documentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, documentmessage, submessage_arena);
}
set_has_documentmessage();
- header_.documentmessage_ = documentmessage;
+ _impl_.header_.documentmessage_ = documentmessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.documentMessage)
}
@@ -32544,13 +33960,13 @@ void ButtonsMessage::set_allocated_imagemessage(::proto::ImageMessage* imagemess
clear_header();
if (imagemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(imagemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(imagemessage);
if (message_arena != submessage_arena) {
imagemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, imagemessage, submessage_arena);
}
set_has_imagemessage();
- header_.imagemessage_ = imagemessage;
+ _impl_.header_.imagemessage_ = imagemessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.imageMessage)
}
@@ -32559,13 +33975,13 @@ void ButtonsMessage::set_allocated_videomessage(::proto::VideoMessage* videomess
clear_header();
if (videomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::VideoMessage>::GetOwningArena(videomessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(videomessage);
if (message_arena != submessage_arena) {
videomessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, videomessage, submessage_arena);
}
set_has_videomessage();
- header_.videomessage_ = videomessage;
+ _impl_.header_.videomessage_ = videomessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.videoMessage)
}
@@ -32574,67 +33990,81 @@ void ButtonsMessage::set_allocated_locationmessage(::proto::LocationMessage* loc
clear_header();
if (locationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LocationMessage>::GetOwningArena(locationmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(locationmessage);
if (message_arena != submessage_arena) {
locationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, locationmessage, submessage_arena);
}
set_has_locationmessage();
- header_.locationmessage_ = locationmessage;
+ _impl_.header_.locationmessage_ = locationmessage;
}
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.locationMessage)
}
ButtonsMessage::ButtonsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- buttons_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ButtonsMessage)
}
ButtonsMessage::ButtonsMessage(const ButtonsMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- buttons_(from.buttons_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ButtonsMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.buttons_){from._impl_.buttons_}
+ , decltype(_impl_.contenttext_){}
+ , decltype(_impl_.footertext_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.headertype_){}
+ , decltype(_impl_.header_){}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- contenttext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.contenttext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.contenttext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_contenttext()) {
- contenttext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_contenttext(),
- GetArenaForAllocation());
+ _this->_impl_.contenttext_.Set(from._internal_contenttext(),
+ _this->GetArenaForAllocation());
}
- footertext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.footertext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.footertext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_footertext()) {
- footertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_footertext(),
- GetArenaForAllocation());
+ _this->_impl_.footertext_.Set(from._internal_footertext(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- headertype_ = from.headertype_;
+ _this->_impl_.headertype_ = from._impl_.headertype_;
clear_has_header();
switch (from.header_case()) {
case kText: {
- _internal_set_text(from._internal_text());
+ _this->_internal_set_text(from._internal_text());
break;
}
case kDocumentMessage: {
- _internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(from._internal_documentmessage());
+ _this->_internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(
+ from._internal_documentmessage());
break;
}
case kImageMessage: {
- _internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(from._internal_imagemessage());
+ _this->_internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(
+ from._internal_imagemessage());
break;
}
case kVideoMessage: {
- _internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(from._internal_videomessage());
+ _this->_internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(
+ from._internal_videomessage());
break;
}
case kLocationMessage: {
- _internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(from._internal_locationmessage());
+ _this->_internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(
+ from._internal_locationmessage());
break;
}
case HEADER_NOT_SET: {
@@ -32644,71 +34074,84 @@ ButtonsMessage::ButtonsMessage(const ButtonsMessage& from)
// @@protoc_insertion_point(copy_constructor:proto.ButtonsMessage)
}
-void ButtonsMessage::SharedCtor() {
-contenttext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-footertext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&headertype_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(headertype_));
-clear_has_header();
+inline void ButtonsMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.buttons_){arena}
+ , decltype(_impl_.contenttext_){}
+ , decltype(_impl_.footertext_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.headertype_){0}
+ , decltype(_impl_.header_){}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ _impl_.contenttext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.contenttext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.footertext_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.footertext_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ clear_has_header();
}
ButtonsMessage::~ButtonsMessage() {
// @@protoc_insertion_point(destructor:proto.ButtonsMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ButtonsMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- contenttext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- footertext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.buttons_.~RepeatedPtrField();
+ _impl_.contenttext_.Destroy();
+ _impl_.footertext_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
if (has_header()) {
clear_header();
}
}
-void ButtonsMessage::ArenaDtor(void* object) {
- ButtonsMessage* _this = reinterpret_cast< ButtonsMessage* >(object);
- (void)_this;
-}
-void ButtonsMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ButtonsMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ButtonsMessage::clear_header() {
// @@protoc_insertion_point(one_of_clear_start:proto.ButtonsMessage)
switch (header_case()) {
case kText: {
- header_.text_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_.header_.text_.Destroy();
break;
}
case kDocumentMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete header_.documentmessage_;
+ delete _impl_.header_.documentmessage_;
}
break;
}
case kImageMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete header_.imagemessage_;
+ delete _impl_.header_.imagemessage_;
}
break;
}
case kVideoMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete header_.videomessage_;
+ delete _impl_.header_.videomessage_;
}
break;
}
case kLocationMessage: {
if (GetArenaForAllocation() == nullptr) {
- delete header_.locationmessage_;
+ delete _impl_.header_.locationmessage_;
}
break;
}
@@ -32716,58 +34159,58 @@ void ButtonsMessage::clear_header() {
break;
}
}
- _oneof_case_[0] = HEADER_NOT_SET;
+ _impl_._oneof_case_[0] = HEADER_NOT_SET;
}
void ButtonsMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ButtonsMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- buttons_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.buttons_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- contenttext_.ClearNonDefaultToEmpty();
+ _impl_.contenttext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- footertext_.ClearNonDefaultToEmpty();
+ _impl_.footertext_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- headertype_ = 0;
+ _impl_.headertype_ = 0;
clear_header();
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ButtonsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ButtonsMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string text = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_text();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ButtonsMessage.text");
+ ::_pbi::VerifyUTF8(str, "proto.ButtonsMessage.text");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// .proto.DocumentMessage documentMessage = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_documentmessage(), ptr);
CHK_(ptr);
} else
@@ -32775,7 +34218,7 @@ const char* ButtonsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// .proto.ImageMessage imageMessage = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_imagemessage(), ptr);
CHK_(ptr);
} else
@@ -32783,7 +34226,7 @@ const char* ButtonsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// .proto.VideoMessage videoMessage = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_videomessage(), ptr);
CHK_(ptr);
} else
@@ -32791,7 +34234,7 @@ const char* ButtonsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// .proto.LocationMessage locationMessage = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
ptr = ctx->ParseMessage(_internal_mutable_locationmessage(), ptr);
CHK_(ptr);
} else
@@ -32799,31 +34242,31 @@ const char* ButtonsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional string contentText = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
auto str = _internal_mutable_contenttext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ButtonsMessage.contentText");
+ ::_pbi::VerifyUTF8(str, "proto.ButtonsMessage.contentText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string footerText = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
auto str = _internal_mutable_footertext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ButtonsMessage.footerText");
+ ::_pbi::VerifyUTF8(str, "proto.ButtonsMessage.footerText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -32831,7 +34274,7 @@ const char* ButtonsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// repeated .proto.Button buttons = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
ptr -= 1;
do {
ptr += 1;
@@ -32844,8 +34287,8 @@ const char* ButtonsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional .proto.ButtonsMessage.ButtonsMessageHeaderType headerType = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::ButtonsMessage_ButtonsMessageHeaderType_IsValid(val))) {
_internal_set_headertype(static_cast<::proto::ButtonsMessage_ButtonsMessageHeaderType>(val));
@@ -32871,7 +34314,7 @@ const char* ButtonsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -32879,10 +34322,10 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ButtonsMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ButtonsMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ButtonsMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
switch (header_case()) {
@@ -32896,36 +34339,32 @@ failure:
break;
}
case kDocumentMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::documentmessage(this), target, stream);
+ InternalWriteMessage(2, _Internal::documentmessage(this),
+ _Internal::documentmessage(this).GetCachedSize(), target, stream);
break;
}
case kImageMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::imagemessage(this), target, stream);
+ InternalWriteMessage(3, _Internal::imagemessage(this),
+ _Internal::imagemessage(this).GetCachedSize(), target, stream);
break;
}
case kVideoMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 4, _Internal::videomessage(this), target, stream);
+ InternalWriteMessage(4, _Internal::videomessage(this),
+ _Internal::videomessage(this).GetCachedSize(), target, stream);
break;
}
case kLocationMessage: {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 5, _Internal::locationmessage(this), target, stream);
+ InternalWriteMessage(5, _Internal::locationmessage(this),
+ _Internal::locationmessage(this).GetCachedSize(), target, stream);
break;
}
default: ;
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string contentText = 6;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -32948,29 +34387,28 @@ failure:
// optional .proto.ContextInfo contextInfo = 8;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 8, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(8, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// repeated .proto.Button buttons = 9;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_buttons_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_buttons_size()); i < n; i++) {
+ const auto& repfield = this->_internal_buttons(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(9, this->_internal_buttons(i), target, stream);
+ InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream);
}
// optional .proto.ButtonsMessage.ButtonsMessageHeaderType headerType = 10;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
10, this->_internal_headertype(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ButtonsMessage)
@@ -32981,18 +34419,18 @@ size_t ButtonsMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ButtonsMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.Button buttons = 9;
total_size += 1UL * this->_internal_buttons_size();
- for (const auto& msg : this->buttons_) {
+ for (const auto& msg : this->_impl_.buttons_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string contentText = 6;
if (cached_has_bits & 0x00000001u) {
@@ -33012,13 +34450,13 @@ size_t ButtonsMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional .proto.ButtonsMessage.ButtonsMessageHeaderType headerType = 10;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_headertype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_headertype());
}
}
@@ -33034,99 +34472,100 @@ size_t ButtonsMessage::ByteSizeLong() const {
case kDocumentMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *header_.documentmessage_);
+ *_impl_.header_.documentmessage_);
break;
}
// .proto.ImageMessage imageMessage = 3;
case kImageMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *header_.imagemessage_);
+ *_impl_.header_.imagemessage_);
break;
}
// .proto.VideoMessage videoMessage = 4;
case kVideoMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *header_.videomessage_);
+ *_impl_.header_.videomessage_);
break;
}
// .proto.LocationMessage locationMessage = 5;
case kLocationMessage: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *header_.locationmessage_);
+ *_impl_.header_.locationmessage_);
break;
}
case HEADER_NOT_SET: {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ButtonsMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ButtonsMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ButtonsMessage::GetClassData() const { return &_class_data_; }
-void ButtonsMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ButtonsMessage *>(to)->MergeFrom(
- static_cast<const ButtonsMessage &>(from));
-}
-
-void ButtonsMessage::MergeFrom(const ButtonsMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ButtonsMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ButtonsMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ButtonsMessage*>(&to_msg);
+ auto& from = static_cast<const ButtonsMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ButtonsMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- buttons_.MergeFrom(from.buttons_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.buttons_.MergeFrom(from._impl_.buttons_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_contenttext(from._internal_contenttext());
+ _this->_internal_set_contenttext(from._internal_contenttext());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_footertext(from._internal_footertext());
+ _this->_internal_set_footertext(from._internal_footertext());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000008u) {
- headertype_ = from.headertype_;
+ _this->_impl_.headertype_ = from._impl_.headertype_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
switch (from.header_case()) {
case kText: {
- _internal_set_text(from._internal_text());
+ _this->_internal_set_text(from._internal_text());
break;
}
case kDocumentMessage: {
- _internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(from._internal_documentmessage());
+ _this->_internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(
+ from._internal_documentmessage());
break;
}
case kImageMessage: {
- _internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(from._internal_imagemessage());
+ _this->_internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(
+ from._internal_imagemessage());
break;
}
case kVideoMessage: {
- _internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(from._internal_videomessage());
+ _this->_internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(
+ from._internal_videomessage());
break;
}
case kLocationMessage: {
- _internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(from._internal_locationmessage());
+ _this->_internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(
+ from._internal_locationmessage());
break;
}
case HEADER_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ButtonsMessage::CopyFrom(const ButtonsMessage& from) {
@@ -33145,30 +34584,28 @@ void ButtonsMessage::InternalSwap(ButtonsMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- buttons_.InternalSwap(&other->buttons_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.buttons_.InternalSwap(&other->_impl_.buttons_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &contenttext_, lhs_arena,
- &other->contenttext_, rhs_arena
+ &_impl_.contenttext_, lhs_arena,
+ &other->_impl_.contenttext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &footertext_, lhs_arena,
- &other->footertext_, rhs_arena
+ &_impl_.footertext_, lhs_arena,
+ &other->_impl_.footertext_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ButtonsMessage, headertype_)
- + sizeof(ButtonsMessage::headertype_)
- - PROTOBUF_FIELD_OFFSET(ButtonsMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
- swap(header_, other->header_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ PROTOBUF_FIELD_OFFSET(ButtonsMessage, _impl_.headertype_)
+ + sizeof(ButtonsMessage::_impl_.headertype_)
+ - PROTOBUF_FIELD_OFFSET(ButtonsMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
+ swap(_impl_.header_, other->_impl_.header_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata ButtonsMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[70]);
}
@@ -33177,7 +34614,7 @@ void ButtonsMessage::InternalSwap(ButtonsMessage* other) {
class ButtonsResponseMessage::_Internal {
public:
- using HasBits = decltype(std::declval<ButtonsResponseMessage>()._has_bits_);
+ using HasBits = decltype(std::declval<ButtonsResponseMessage>()._impl_._has_bits_);
static void set_has_selectedbuttonid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -33192,36 +34629,43 @@ class ButtonsResponseMessage::_Internal {
const ::proto::ContextInfo&
ButtonsResponseMessage::_Internal::contextinfo(const ButtonsResponseMessage* msg) {
- return *msg->contextinfo_;
+ return *msg->_impl_.contextinfo_;
}
ButtonsResponseMessage::ButtonsResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.ButtonsResponseMessage)
}
ButtonsResponseMessage::ButtonsResponseMessage(const ButtonsResponseMessage& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ ButtonsResponseMessage* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.selectedbuttonid_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.type_){}
+ , decltype(_impl_.response_){}
+ , /*decltype(_impl_._oneof_case_)*/{}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- selectedbuttonid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.selectedbuttonid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selectedbuttonid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_selectedbuttonid()) {
- selectedbuttonid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_selectedbuttonid(),
- GetArenaForAllocation());
+ _this->_impl_.selectedbuttonid_.Set(from._internal_selectedbuttonid(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_contextinfo()) {
- contextinfo_ = new ::proto::ContextInfo(*from.contextinfo_);
- } else {
- contextinfo_ = nullptr;
+ _this->_impl_.contextinfo_ = new ::proto::ContextInfo(*from._impl_.contextinfo_);
}
- type_ = from.type_;
+ _this->_impl_.type_ = from._impl_.type_;
clear_has_response();
switch (from.response_case()) {
case kSelectedDisplayText: {
- _internal_set_selecteddisplaytext(from._internal_selecteddisplaytext());
+ _this->_internal_set_selecteddisplaytext(from._internal_selecteddisplaytext());
break;
}
case RESPONSE_NOT_SET: {
@@ -33231,112 +34675,119 @@ ButtonsResponseMessage::ButtonsResponseMessage(const ButtonsResponseMessage& fro
// @@protoc_insertion_point(copy_constructor:proto.ButtonsResponseMessage)
}
-void ButtonsResponseMessage::SharedCtor() {
-selectedbuttonid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&contextinfo_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&type_) -
- reinterpret_cast<char*>(&contextinfo_)) + sizeof(type_));
-clear_has_response();
+inline void ButtonsResponseMessage::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.selectedbuttonid_){}
+ , decltype(_impl_.contextinfo_){nullptr}
+ , decltype(_impl_.type_){0}
+ , decltype(_impl_.response_){}
+ , /*decltype(_impl_._oneof_case_)*/{}
+ };
+ _impl_.selectedbuttonid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.selectedbuttonid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ clear_has_response();
}
ButtonsResponseMessage::~ButtonsResponseMessage() {
// @@protoc_insertion_point(destructor:proto.ButtonsResponseMessage)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void ButtonsResponseMessage::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- selectedbuttonid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete contextinfo_;
+ _impl_.selectedbuttonid_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.contextinfo_;
if (has_response()) {
clear_response();
}
}
-void ButtonsResponseMessage::ArenaDtor(void* object) {
- ButtonsResponseMessage* _this = reinterpret_cast< ButtonsResponseMessage* >(object);
- (void)_this;
-}
-void ButtonsResponseMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void ButtonsResponseMessage::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void ButtonsResponseMessage::clear_response() {
// @@protoc_insertion_point(one_of_clear_start:proto.ButtonsResponseMessage)
switch (response_case()) {
case kSelectedDisplayText: {
- response_.selecteddisplaytext_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_.response_.selecteddisplaytext_.Destroy();
break;
}
case RESPONSE_NOT_SET: {
break;
}
}
- _oneof_case_[0] = RESPONSE_NOT_SET;
+ _impl_._oneof_case_[0] = RESPONSE_NOT_SET;
}
void ButtonsResponseMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.ButtonsResponseMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
if (cached_has_bits & 0x00000001u) {
- selectedbuttonid_.ClearNonDefaultToEmpty();
+ _impl_.selectedbuttonid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(contextinfo_ != nullptr);
- contextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.contextinfo_ != nullptr);
+ _impl_.contextinfo_->Clear();
}
}
- type_ = 0;
+ _impl_.type_ = 0;
clear_response();
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* ButtonsResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* ButtonsResponseMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string selectedButtonId = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_selectedbuttonid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ButtonsResponseMessage.selectedButtonId");
+ ::_pbi::VerifyUTF8(str, "proto.ButtonsResponseMessage.selectedButtonId");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// string selectedDisplayText = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_selecteddisplaytext();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.ButtonsResponseMessage.selectedDisplayText");
+ ::_pbi::VerifyUTF8(str, "proto.ButtonsResponseMessage.selectedDisplayText");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.ContextInfo contextInfo = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_contextinfo(), ptr);
CHK_(ptr);
} else
@@ -33344,8 +34795,8 @@ const char* ButtonsResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_N
continue;
// optional .proto.ButtonsResponseMessage.ButtonsResponseMessageType type = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::ButtonsResponseMessage_ButtonsResponseMessageType_IsValid(val))) {
_internal_set_type(static_cast<::proto::ButtonsResponseMessage_ButtonsResponseMessageType>(val));
@@ -33371,7 +34822,7 @@ const char* ButtonsResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_N
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -33379,13 +34830,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* ButtonsResponseMessage::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* ButtonsResponseMessage::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.ButtonsResponseMessage)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string selectedButtonId = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -33408,21 +34859,20 @@ failure:
// optional .proto.ContextInfo contextInfo = 3;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::contextinfo(this), target, stream);
+ InternalWriteMessage(3, _Internal::contextinfo(this),
+ _Internal::contextinfo(this).GetCachedSize(), target, stream);
}
// optional .proto.ButtonsResponseMessage.ButtonsResponseMessageType type = 4;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
4, this->_internal_type(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.ButtonsResponseMessage)
@@ -33433,11 +34883,11 @@ size_t ButtonsResponseMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.ButtonsResponseMessage)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional string selectedButtonId = 1;
if (cached_has_bits & 0x00000001u) {
@@ -33450,13 +34900,13 @@ size_t ButtonsResponseMessage::ByteSizeLong() const {
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contextinfo_);
+ *_impl_.contextinfo_);
}
// optional .proto.ButtonsResponseMessage.ButtonsResponseMessageType type = 4;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
}
}
@@ -33472,51 +34922,48 @@ size_t ButtonsResponseMessage::ByteSizeLong() const {
break;
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ButtonsResponseMessage::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
ButtonsResponseMessage::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ButtonsResponseMessage::GetClassData() const { return &_class_data_; }
-void ButtonsResponseMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<ButtonsResponseMessage *>(to)->MergeFrom(
- static_cast<const ButtonsResponseMessage &>(from));
-}
-
-void ButtonsResponseMessage::MergeFrom(const ButtonsResponseMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.ButtonsResponseMessage)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void ButtonsResponseMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<ButtonsResponseMessage*>(&to_msg);
+ auto& from = static_cast<const ButtonsResponseMessage&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.ButtonsResponseMessage)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_selectedbuttonid(from._internal_selectedbuttonid());
+ _this->_internal_set_selectedbuttonid(from._internal_selectedbuttonid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(from._internal_contextinfo());
+ _this->_internal_mutable_contextinfo()->::proto::ContextInfo::MergeFrom(
+ from._internal_contextinfo());
}
if (cached_has_bits & 0x00000004u) {
- type_ = from.type_;
+ _this->_impl_.type_ = from._impl_.type_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
switch (from.response_case()) {
case kSelectedDisplayText: {
- _internal_set_selecteddisplaytext(from._internal_selecteddisplaytext());
+ _this->_internal_set_selecteddisplaytext(from._internal_selecteddisplaytext());
break;
}
case RESPONSE_NOT_SET: {
break;
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void ButtonsResponseMessage::CopyFrom(const ButtonsResponseMessage& from) {
@@ -33535,24 +34982,23 @@ void ButtonsResponseMessage::InternalSwap(ButtonsResponseMessage* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &selectedbuttonid_, lhs_arena,
- &other->selectedbuttonid_, rhs_arena
+ &_impl_.selectedbuttonid_, lhs_arena,
+ &other->_impl_.selectedbuttonid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ButtonsResponseMessage, type_)
- + sizeof(ButtonsResponseMessage::type_)
- - PROTOBUF_FIELD_OFFSET(ButtonsResponseMessage, contextinfo_)>(
- reinterpret_cast<char*>(&contextinfo_),
- reinterpret_cast<char*>(&other->contextinfo_));
- swap(response_, other->response_);
- swap(_oneof_case_[0], other->_oneof_case_[0]);
+ PROTOBUF_FIELD_OFFSET(ButtonsResponseMessage, _impl_.type_)
+ + sizeof(ButtonsResponseMessage::_impl_.type_)
+ - PROTOBUF_FIELD_OFFSET(ButtonsResponseMessage, _impl_.contextinfo_)>(
+ reinterpret_cast<char*>(&_impl_.contextinfo_),
+ reinterpret_cast<char*>(&other->_impl_.contextinfo_));
+ swap(_impl_.response_, other->_impl_.response_);
+ swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
::PROTOBUF_NAMESPACE_ID::Metadata ButtonsResponseMessage::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[71]);
}
@@ -33561,7 +35007,7 @@ void ButtonsResponseMessage::InternalSwap(ButtonsResponseMessage* other) {
class Message::_Internal {
public:
- using HasBits = decltype(std::declval<Message>()._has_bits_);
+ using HasBits = decltype(std::declval<Message>()._impl_._has_bits_);
static void set_has_conversation(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -33705,577 +35151,585 @@ class Message::_Internal {
const ::proto::SenderKeyDistributionMessage&
Message::_Internal::senderkeydistributionmessage(const Message* msg) {
- return *msg->senderkeydistributionmessage_;
+ return *msg->_impl_.senderkeydistributionmessage_;
}
const ::proto::ImageMessage&
Message::_Internal::imagemessage(const Message* msg) {
- return *msg->imagemessage_;
+ return *msg->_impl_.imagemessage_;
}
const ::proto::ContactMessage&
Message::_Internal::contactmessage(const Message* msg) {
- return *msg->contactmessage_;
+ return *msg->_impl_.contactmessage_;
}
const ::proto::LocationMessage&
Message::_Internal::locationmessage(const Message* msg) {
- return *msg->locationmessage_;
+ return *msg->_impl_.locationmessage_;
}
const ::proto::ExtendedTextMessage&
Message::_Internal::extendedtextmessage(const Message* msg) {
- return *msg->extendedtextmessage_;
+ return *msg->_impl_.extendedtextmessage_;
}
const ::proto::DocumentMessage&
Message::_Internal::documentmessage(const Message* msg) {
- return *msg->documentmessage_;
+ return *msg->_impl_.documentmessage_;
}
const ::proto::AudioMessage&
Message::_Internal::audiomessage(const Message* msg) {
- return *msg->audiomessage_;
+ return *msg->_impl_.audiomessage_;
}
const ::proto::VideoMessage&
Message::_Internal::videomessage(const Message* msg) {
- return *msg->videomessage_;
+ return *msg->_impl_.videomessage_;
}
const ::proto::Call&
Message::_Internal::call(const Message* msg) {
- return *msg->call_;
+ return *msg->_impl_.call_;
}
const ::proto::Chat&
Message::_Internal::chat(const Message* msg) {
- return *msg->chat_;
+ return *msg->_impl_.chat_;
}
const ::proto::ProtocolMessage&
Message::_Internal::protocolmessage(const Message* msg) {
- return *msg->protocolmessage_;
+ return *msg->_impl_.protocolmessage_;
}
const ::proto::ContactsArrayMessage&
Message::_Internal::contactsarraymessage(const Message* msg) {
- return *msg->contactsarraymessage_;
+ return *msg->_impl_.contactsarraymessage_;
}
const ::proto::HighlyStructuredMessage&
Message::_Internal::highlystructuredmessage(const Message* msg) {
- return *msg->highlystructuredmessage_;
+ return *msg->_impl_.highlystructuredmessage_;
}
const ::proto::SenderKeyDistributionMessage&
Message::_Internal::fastratchetkeysenderkeydistributionmessage(const Message* msg) {
- return *msg->fastratchetkeysenderkeydistributionmessage_;
+ return *msg->_impl_.fastratchetkeysenderkeydistributionmessage_;
}
const ::proto::SendPaymentMessage&
Message::_Internal::sendpaymentmessage(const Message* msg) {
- return *msg->sendpaymentmessage_;
+ return *msg->_impl_.sendpaymentmessage_;
}
const ::proto::LiveLocationMessage&
Message::_Internal::livelocationmessage(const Message* msg) {
- return *msg->livelocationmessage_;
+ return *msg->_impl_.livelocationmessage_;
}
const ::proto::RequestPaymentMessage&
Message::_Internal::requestpaymentmessage(const Message* msg) {
- return *msg->requestpaymentmessage_;
+ return *msg->_impl_.requestpaymentmessage_;
}
const ::proto::DeclinePaymentRequestMessage&
Message::_Internal::declinepaymentrequestmessage(const Message* msg) {
- return *msg->declinepaymentrequestmessage_;
+ return *msg->_impl_.declinepaymentrequestmessage_;
}
const ::proto::CancelPaymentRequestMessage&
Message::_Internal::cancelpaymentrequestmessage(const Message* msg) {
- return *msg->cancelpaymentrequestmessage_;
+ return *msg->_impl_.cancelpaymentrequestmessage_;
}
const ::proto::TemplateMessage&
Message::_Internal::templatemessage(const Message* msg) {
- return *msg->templatemessage_;
+ return *msg->_impl_.templatemessage_;
}
const ::proto::StickerMessage&
Message::_Internal::stickermessage(const Message* msg) {
- return *msg->stickermessage_;
+ return *msg->_impl_.stickermessage_;
}
const ::proto::GroupInviteMessage&
Message::_Internal::groupinvitemessage(const Message* msg) {
- return *msg->groupinvitemessage_;
+ return *msg->_impl_.groupinvitemessage_;
}
const ::proto::TemplateButtonReplyMessage&
Message::_Internal::templatebuttonreplymessage(const Message* msg) {
- return *msg->templatebuttonreplymessage_;
+ return *msg->_impl_.templatebuttonreplymessage_;
}
const ::proto::ProductMessage&
Message::_Internal::productmessage(const Message* msg) {
- return *msg->productmessage_;
+ return *msg->_impl_.productmessage_;
}
const ::proto::DeviceSentMessage&
Message::_Internal::devicesentmessage(const Message* msg) {
- return *msg->devicesentmessage_;
+ return *msg->_impl_.devicesentmessage_;
}
const ::proto::MessageContextInfo&
Message::_Internal::messagecontextinfo(const Message* msg) {
- return *msg->messagecontextinfo_;
+ return *msg->_impl_.messagecontextinfo_;
}
const ::proto::ListMessage&
Message::_Internal::listmessage(const Message* msg) {
- return *msg->listmessage_;
+ return *msg->_impl_.listmessage_;
}
const ::proto::FutureProofMessage&
Message::_Internal::viewoncemessage(const Message* msg) {
- return *msg->viewoncemessage_;
+ return *msg->_impl_.viewoncemessage_;
}
const ::proto::OrderMessage&
Message::_Internal::ordermessage(const Message* msg) {
- return *msg->ordermessage_;
+ return *msg->_impl_.ordermessage_;
}
const ::proto::ListResponseMessage&
Message::_Internal::listresponsemessage(const Message* msg) {
- return *msg->listresponsemessage_;
+ return *msg->_impl_.listresponsemessage_;
}
const ::proto::FutureProofMessage&
Message::_Internal::ephemeralmessage(const Message* msg) {
- return *msg->ephemeralmessage_;
+ return *msg->_impl_.ephemeralmessage_;
}
const ::proto::InvoiceMessage&
Message::_Internal::invoicemessage(const Message* msg) {
- return *msg->invoicemessage_;
+ return *msg->_impl_.invoicemessage_;
}
const ::proto::ButtonsMessage&
Message::_Internal::buttonsmessage(const Message* msg) {
- return *msg->buttonsmessage_;
+ return *msg->_impl_.buttonsmessage_;
}
const ::proto::ButtonsResponseMessage&
Message::_Internal::buttonsresponsemessage(const Message* msg) {
- return *msg->buttonsresponsemessage_;
+ return *msg->_impl_.buttonsresponsemessage_;
}
Message::Message(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.Message)
}
Message::Message(const Message& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ Message* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.conversation_){}
+ , decltype(_impl_.senderkeydistributionmessage_){nullptr}
+ , decltype(_impl_.imagemessage_){nullptr}
+ , decltype(_impl_.contactmessage_){nullptr}
+ , decltype(_impl_.locationmessage_){nullptr}
+ , decltype(_impl_.extendedtextmessage_){nullptr}
+ , decltype(_impl_.documentmessage_){nullptr}
+ , decltype(_impl_.audiomessage_){nullptr}
+ , decltype(_impl_.videomessage_){nullptr}
+ , decltype(_impl_.call_){nullptr}
+ , decltype(_impl_.chat_){nullptr}
+ , decltype(_impl_.protocolmessage_){nullptr}
+ , decltype(_impl_.contactsarraymessage_){nullptr}
+ , decltype(_impl_.highlystructuredmessage_){nullptr}
+ , decltype(_impl_.fastratchetkeysenderkeydistributionmessage_){nullptr}
+ , decltype(_impl_.sendpaymentmessage_){nullptr}
+ , decltype(_impl_.livelocationmessage_){nullptr}
+ , decltype(_impl_.requestpaymentmessage_){nullptr}
+ , decltype(_impl_.declinepaymentrequestmessage_){nullptr}
+ , decltype(_impl_.cancelpaymentrequestmessage_){nullptr}
+ , decltype(_impl_.templatemessage_){nullptr}
+ , decltype(_impl_.stickermessage_){nullptr}
+ , decltype(_impl_.groupinvitemessage_){nullptr}
+ , decltype(_impl_.templatebuttonreplymessage_){nullptr}
+ , decltype(_impl_.productmessage_){nullptr}
+ , decltype(_impl_.devicesentmessage_){nullptr}
+ , decltype(_impl_.messagecontextinfo_){nullptr}
+ , decltype(_impl_.listmessage_){nullptr}
+ , decltype(_impl_.viewoncemessage_){nullptr}
+ , decltype(_impl_.ordermessage_){nullptr}
+ , decltype(_impl_.listresponsemessage_){nullptr}
+ , decltype(_impl_.ephemeralmessage_){nullptr}
+ , decltype(_impl_.invoicemessage_){nullptr}
+ , decltype(_impl_.buttonsmessage_){nullptr}
+ , decltype(_impl_.buttonsresponsemessage_){nullptr}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- conversation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.conversation_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.conversation_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_conversation()) {
- conversation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_conversation(),
- GetArenaForAllocation());
+ _this->_impl_.conversation_.Set(from._internal_conversation(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_senderkeydistributionmessage()) {
- senderkeydistributionmessage_ = new ::proto::SenderKeyDistributionMessage(*from.senderkeydistributionmessage_);
- } else {
- senderkeydistributionmessage_ = nullptr;
+ _this->_impl_.senderkeydistributionmessage_ = new ::proto::SenderKeyDistributionMessage(*from._impl_.senderkeydistributionmessage_);
}
if (from._internal_has_imagemessage()) {
- imagemessage_ = new ::proto::ImageMessage(*from.imagemessage_);
- } else {
- imagemessage_ = nullptr;
+ _this->_impl_.imagemessage_ = new ::proto::ImageMessage(*from._impl_.imagemessage_);
}
if (from._internal_has_contactmessage()) {
- contactmessage_ = new ::proto::ContactMessage(*from.contactmessage_);
- } else {
- contactmessage_ = nullptr;
+ _this->_impl_.contactmessage_ = new ::proto::ContactMessage(*from._impl_.contactmessage_);
}
if (from._internal_has_locationmessage()) {
- locationmessage_ = new ::proto::LocationMessage(*from.locationmessage_);
- } else {
- locationmessage_ = nullptr;
+ _this->_impl_.locationmessage_ = new ::proto::LocationMessage(*from._impl_.locationmessage_);
}
if (from._internal_has_extendedtextmessage()) {
- extendedtextmessage_ = new ::proto::ExtendedTextMessage(*from.extendedtextmessage_);
- } else {
- extendedtextmessage_ = nullptr;
+ _this->_impl_.extendedtextmessage_ = new ::proto::ExtendedTextMessage(*from._impl_.extendedtextmessage_);
}
if (from._internal_has_documentmessage()) {
- documentmessage_ = new ::proto::DocumentMessage(*from.documentmessage_);
- } else {
- documentmessage_ = nullptr;
+ _this->_impl_.documentmessage_ = new ::proto::DocumentMessage(*from._impl_.documentmessage_);
}
if (from._internal_has_audiomessage()) {
- audiomessage_ = new ::proto::AudioMessage(*from.audiomessage_);
- } else {
- audiomessage_ = nullptr;
+ _this->_impl_.audiomessage_ = new ::proto::AudioMessage(*from._impl_.audiomessage_);
}
if (from._internal_has_videomessage()) {
- videomessage_ = new ::proto::VideoMessage(*from.videomessage_);
- } else {
- videomessage_ = nullptr;
+ _this->_impl_.videomessage_ = new ::proto::VideoMessage(*from._impl_.videomessage_);
}
if (from._internal_has_call()) {
- call_ = new ::proto::Call(*from.call_);
- } else {
- call_ = nullptr;
+ _this->_impl_.call_ = new ::proto::Call(*from._impl_.call_);
}
if (from._internal_has_chat()) {
- chat_ = new ::proto::Chat(*from.chat_);
- } else {
- chat_ = nullptr;
+ _this->_impl_.chat_ = new ::proto::Chat(*from._impl_.chat_);
}
if (from._internal_has_protocolmessage()) {
- protocolmessage_ = new ::proto::ProtocolMessage(*from.protocolmessage_);
- } else {
- protocolmessage_ = nullptr;
+ _this->_impl_.protocolmessage_ = new ::proto::ProtocolMessage(*from._impl_.protocolmessage_);
}
if (from._internal_has_contactsarraymessage()) {
- contactsarraymessage_ = new ::proto::ContactsArrayMessage(*from.contactsarraymessage_);
- } else {
- contactsarraymessage_ = nullptr;
+ _this->_impl_.contactsarraymessage_ = new ::proto::ContactsArrayMessage(*from._impl_.contactsarraymessage_);
}
if (from._internal_has_highlystructuredmessage()) {
- highlystructuredmessage_ = new ::proto::HighlyStructuredMessage(*from.highlystructuredmessage_);
- } else {
- highlystructuredmessage_ = nullptr;
+ _this->_impl_.highlystructuredmessage_ = new ::proto::HighlyStructuredMessage(*from._impl_.highlystructuredmessage_);
}
if (from._internal_has_fastratchetkeysenderkeydistributionmessage()) {
- fastratchetkeysenderkeydistributionmessage_ = new ::proto::SenderKeyDistributionMessage(*from.fastratchetkeysenderkeydistributionmessage_);
- } else {
- fastratchetkeysenderkeydistributionmessage_ = nullptr;
+ _this->_impl_.fastratchetkeysenderkeydistributionmessage_ = new ::proto::SenderKeyDistributionMessage(*from._impl_.fastratchetkeysenderkeydistributionmessage_);
}
if (from._internal_has_sendpaymentmessage()) {
- sendpaymentmessage_ = new ::proto::SendPaymentMessage(*from.sendpaymentmessage_);
- } else {
- sendpaymentmessage_ = nullptr;
+ _this->_impl_.sendpaymentmessage_ = new ::proto::SendPaymentMessage(*from._impl_.sendpaymentmessage_);
}
if (from._internal_has_livelocationmessage()) {
- livelocationmessage_ = new ::proto::LiveLocationMessage(*from.livelocationmessage_);
- } else {
- livelocationmessage_ = nullptr;
+ _this->_impl_.livelocationmessage_ = new ::proto::LiveLocationMessage(*from._impl_.livelocationmessage_);
}
if (from._internal_has_requestpaymentmessage()) {
- requestpaymentmessage_ = new ::proto::RequestPaymentMessage(*from.requestpaymentmessage_);
- } else {
- requestpaymentmessage_ = nullptr;
+ _this->_impl_.requestpaymentmessage_ = new ::proto::RequestPaymentMessage(*from._impl_.requestpaymentmessage_);
}
if (from._internal_has_declinepaymentrequestmessage()) {
- declinepaymentrequestmessage_ = new ::proto::DeclinePaymentRequestMessage(*from.declinepaymentrequestmessage_);
- } else {
- declinepaymentrequestmessage_ = nullptr;
+ _this->_impl_.declinepaymentrequestmessage_ = new ::proto::DeclinePaymentRequestMessage(*from._impl_.declinepaymentrequestmessage_);
}
if (from._internal_has_cancelpaymentrequestmessage()) {
- cancelpaymentrequestmessage_ = new ::proto::CancelPaymentRequestMessage(*from.cancelpaymentrequestmessage_);
- } else {
- cancelpaymentrequestmessage_ = nullptr;
+ _this->_impl_.cancelpaymentrequestmessage_ = new ::proto::CancelPaymentRequestMessage(*from._impl_.cancelpaymentrequestmessage_);
}
if (from._internal_has_templatemessage()) {
- templatemessage_ = new ::proto::TemplateMessage(*from.templatemessage_);
- } else {
- templatemessage_ = nullptr;
+ _this->_impl_.templatemessage_ = new ::proto::TemplateMessage(*from._impl_.templatemessage_);
}
if (from._internal_has_stickermessage()) {
- stickermessage_ = new ::proto::StickerMessage(*from.stickermessage_);
- } else {
- stickermessage_ = nullptr;
+ _this->_impl_.stickermessage_ = new ::proto::StickerMessage(*from._impl_.stickermessage_);
}
if (from._internal_has_groupinvitemessage()) {
- groupinvitemessage_ = new ::proto::GroupInviteMessage(*from.groupinvitemessage_);
- } else {
- groupinvitemessage_ = nullptr;
+ _this->_impl_.groupinvitemessage_ = new ::proto::GroupInviteMessage(*from._impl_.groupinvitemessage_);
}
if (from._internal_has_templatebuttonreplymessage()) {
- templatebuttonreplymessage_ = new ::proto::TemplateButtonReplyMessage(*from.templatebuttonreplymessage_);
- } else {
- templatebuttonreplymessage_ = nullptr;
+ _this->_impl_.templatebuttonreplymessage_ = new ::proto::TemplateButtonReplyMessage(*from._impl_.templatebuttonreplymessage_);
}
if (from._internal_has_productmessage()) {
- productmessage_ = new ::proto::ProductMessage(*from.productmessage_);
- } else {
- productmessage_ = nullptr;
+ _this->_impl_.productmessage_ = new ::proto::ProductMessage(*from._impl_.productmessage_);
}
if (from._internal_has_devicesentmessage()) {
- devicesentmessage_ = new ::proto::DeviceSentMessage(*from.devicesentmessage_);
- } else {
- devicesentmessage_ = nullptr;
+ _this->_impl_.devicesentmessage_ = new ::proto::DeviceSentMessage(*from._impl_.devicesentmessage_);
}
if (from._internal_has_messagecontextinfo()) {
- messagecontextinfo_ = new ::proto::MessageContextInfo(*from.messagecontextinfo_);
- } else {
- messagecontextinfo_ = nullptr;
+ _this->_impl_.messagecontextinfo_ = new ::proto::MessageContextInfo(*from._impl_.messagecontextinfo_);
}
if (from._internal_has_listmessage()) {
- listmessage_ = new ::proto::ListMessage(*from.listmessage_);
- } else {
- listmessage_ = nullptr;
+ _this->_impl_.listmessage_ = new ::proto::ListMessage(*from._impl_.listmessage_);
}
if (from._internal_has_viewoncemessage()) {
- viewoncemessage_ = new ::proto::FutureProofMessage(*from.viewoncemessage_);
- } else {
- viewoncemessage_ = nullptr;
+ _this->_impl_.viewoncemessage_ = new ::proto::FutureProofMessage(*from._impl_.viewoncemessage_);
}
if (from._internal_has_ordermessage()) {
- ordermessage_ = new ::proto::OrderMessage(*from.ordermessage_);
- } else {
- ordermessage_ = nullptr;
+ _this->_impl_.ordermessage_ = new ::proto::OrderMessage(*from._impl_.ordermessage_);
}
if (from._internal_has_listresponsemessage()) {
- listresponsemessage_ = new ::proto::ListResponseMessage(*from.listresponsemessage_);
- } else {
- listresponsemessage_ = nullptr;
+ _this->_impl_.listresponsemessage_ = new ::proto::ListResponseMessage(*from._impl_.listresponsemessage_);
}
if (from._internal_has_ephemeralmessage()) {
- ephemeralmessage_ = new ::proto::FutureProofMessage(*from.ephemeralmessage_);
- } else {
- ephemeralmessage_ = nullptr;
+ _this->_impl_.ephemeralmessage_ = new ::proto::FutureProofMessage(*from._impl_.ephemeralmessage_);
}
if (from._internal_has_invoicemessage()) {
- invoicemessage_ = new ::proto::InvoiceMessage(*from.invoicemessage_);
- } else {
- invoicemessage_ = nullptr;
+ _this->_impl_.invoicemessage_ = new ::proto::InvoiceMessage(*from._impl_.invoicemessage_);
}
if (from._internal_has_buttonsmessage()) {
- buttonsmessage_ = new ::proto::ButtonsMessage(*from.buttonsmessage_);
- } else {
- buttonsmessage_ = nullptr;
+ _this->_impl_.buttonsmessage_ = new ::proto::ButtonsMessage(*from._impl_.buttonsmessage_);
}
if (from._internal_has_buttonsresponsemessage()) {
- buttonsresponsemessage_ = new ::proto::ButtonsResponseMessage(*from.buttonsresponsemessage_);
- } else {
- buttonsresponsemessage_ = nullptr;
+ _this->_impl_.buttonsresponsemessage_ = new ::proto::ButtonsResponseMessage(*from._impl_.buttonsresponsemessage_);
}
// @@protoc_insertion_point(copy_constructor:proto.Message)
}
-void Message::SharedCtor() {
-conversation_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&senderkeydistributionmessage_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&buttonsresponsemessage_) -
- reinterpret_cast<char*>(&senderkeydistributionmessage_)) + sizeof(buttonsresponsemessage_));
+inline void Message::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.conversation_){}
+ , decltype(_impl_.senderkeydistributionmessage_){nullptr}
+ , decltype(_impl_.imagemessage_){nullptr}
+ , decltype(_impl_.contactmessage_){nullptr}
+ , decltype(_impl_.locationmessage_){nullptr}
+ , decltype(_impl_.extendedtextmessage_){nullptr}
+ , decltype(_impl_.documentmessage_){nullptr}
+ , decltype(_impl_.audiomessage_){nullptr}
+ , decltype(_impl_.videomessage_){nullptr}
+ , decltype(_impl_.call_){nullptr}
+ , decltype(_impl_.chat_){nullptr}
+ , decltype(_impl_.protocolmessage_){nullptr}
+ , decltype(_impl_.contactsarraymessage_){nullptr}
+ , decltype(_impl_.highlystructuredmessage_){nullptr}
+ , decltype(_impl_.fastratchetkeysenderkeydistributionmessage_){nullptr}
+ , decltype(_impl_.sendpaymentmessage_){nullptr}
+ , decltype(_impl_.livelocationmessage_){nullptr}
+ , decltype(_impl_.requestpaymentmessage_){nullptr}
+ , decltype(_impl_.declinepaymentrequestmessage_){nullptr}
+ , decltype(_impl_.cancelpaymentrequestmessage_){nullptr}
+ , decltype(_impl_.templatemessage_){nullptr}
+ , decltype(_impl_.stickermessage_){nullptr}
+ , decltype(_impl_.groupinvitemessage_){nullptr}
+ , decltype(_impl_.templatebuttonreplymessage_){nullptr}
+ , decltype(_impl_.productmessage_){nullptr}
+ , decltype(_impl_.devicesentmessage_){nullptr}
+ , decltype(_impl_.messagecontextinfo_){nullptr}
+ , decltype(_impl_.listmessage_){nullptr}
+ , decltype(_impl_.viewoncemessage_){nullptr}
+ , decltype(_impl_.ordermessage_){nullptr}
+ , decltype(_impl_.listresponsemessage_){nullptr}
+ , decltype(_impl_.ephemeralmessage_){nullptr}
+ , decltype(_impl_.invoicemessage_){nullptr}
+ , decltype(_impl_.buttonsmessage_){nullptr}
+ , decltype(_impl_.buttonsresponsemessage_){nullptr}
+ };
+ _impl_.conversation_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.conversation_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Message::~Message() {
// @@protoc_insertion_point(destructor:proto.Message)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void Message::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- conversation_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete senderkeydistributionmessage_;
- if (this != internal_default_instance()) delete imagemessage_;
- if (this != internal_default_instance()) delete contactmessage_;
- if (this != internal_default_instance()) delete locationmessage_;
- if (this != internal_default_instance()) delete extendedtextmessage_;
- if (this != internal_default_instance()) delete documentmessage_;
- if (this != internal_default_instance()) delete audiomessage_;
- if (this != internal_default_instance()) delete videomessage_;
- if (this != internal_default_instance()) delete call_;
- if (this != internal_default_instance()) delete chat_;
- if (this != internal_default_instance()) delete protocolmessage_;
- if (this != internal_default_instance()) delete contactsarraymessage_;
- if (this != internal_default_instance()) delete highlystructuredmessage_;
- if (this != internal_default_instance()) delete fastratchetkeysenderkeydistributionmessage_;
- if (this != internal_default_instance()) delete sendpaymentmessage_;
- if (this != internal_default_instance()) delete livelocationmessage_;
- if (this != internal_default_instance()) delete requestpaymentmessage_;
- if (this != internal_default_instance()) delete declinepaymentrequestmessage_;
- if (this != internal_default_instance()) delete cancelpaymentrequestmessage_;
- if (this != internal_default_instance()) delete templatemessage_;
- if (this != internal_default_instance()) delete stickermessage_;
- if (this != internal_default_instance()) delete groupinvitemessage_;
- if (this != internal_default_instance()) delete templatebuttonreplymessage_;
- if (this != internal_default_instance()) delete productmessage_;
- if (this != internal_default_instance()) delete devicesentmessage_;
- if (this != internal_default_instance()) delete messagecontextinfo_;
- if (this != internal_default_instance()) delete listmessage_;
- if (this != internal_default_instance()) delete viewoncemessage_;
- if (this != internal_default_instance()) delete ordermessage_;
- if (this != internal_default_instance()) delete listresponsemessage_;
- if (this != internal_default_instance()) delete ephemeralmessage_;
- if (this != internal_default_instance()) delete invoicemessage_;
- if (this != internal_default_instance()) delete buttonsmessage_;
- if (this != internal_default_instance()) delete buttonsresponsemessage_;
-}
-
-void Message::ArenaDtor(void* object) {
- Message* _this = reinterpret_cast< Message* >(object);
- (void)_this;
-}
-void Message::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
+ _impl_.conversation_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.senderkeydistributionmessage_;
+ if (this != internal_default_instance()) delete _impl_.imagemessage_;
+ if (this != internal_default_instance()) delete _impl_.contactmessage_;
+ if (this != internal_default_instance()) delete _impl_.locationmessage_;
+ if (this != internal_default_instance()) delete _impl_.extendedtextmessage_;
+ if (this != internal_default_instance()) delete _impl_.documentmessage_;
+ if (this != internal_default_instance()) delete _impl_.audiomessage_;
+ if (this != internal_default_instance()) delete _impl_.videomessage_;
+ if (this != internal_default_instance()) delete _impl_.call_;
+ if (this != internal_default_instance()) delete _impl_.chat_;
+ if (this != internal_default_instance()) delete _impl_.protocolmessage_;
+ if (this != internal_default_instance()) delete _impl_.contactsarraymessage_;
+ if (this != internal_default_instance()) delete _impl_.highlystructuredmessage_;
+ if (this != internal_default_instance()) delete _impl_.fastratchetkeysenderkeydistributionmessage_;
+ if (this != internal_default_instance()) delete _impl_.sendpaymentmessage_;
+ if (this != internal_default_instance()) delete _impl_.livelocationmessage_;
+ if (this != internal_default_instance()) delete _impl_.requestpaymentmessage_;
+ if (this != internal_default_instance()) delete _impl_.declinepaymentrequestmessage_;
+ if (this != internal_default_instance()) delete _impl_.cancelpaymentrequestmessage_;
+ if (this != internal_default_instance()) delete _impl_.templatemessage_;
+ if (this != internal_default_instance()) delete _impl_.stickermessage_;
+ if (this != internal_default_instance()) delete _impl_.groupinvitemessage_;
+ if (this != internal_default_instance()) delete _impl_.templatebuttonreplymessage_;
+ if (this != internal_default_instance()) delete _impl_.productmessage_;
+ if (this != internal_default_instance()) delete _impl_.devicesentmessage_;
+ if (this != internal_default_instance()) delete _impl_.messagecontextinfo_;
+ if (this != internal_default_instance()) delete _impl_.listmessage_;
+ if (this != internal_default_instance()) delete _impl_.viewoncemessage_;
+ if (this != internal_default_instance()) delete _impl_.ordermessage_;
+ if (this != internal_default_instance()) delete _impl_.listresponsemessage_;
+ if (this != internal_default_instance()) delete _impl_.ephemeralmessage_;
+ if (this != internal_default_instance()) delete _impl_.invoicemessage_;
+ if (this != internal_default_instance()) delete _impl_.buttonsmessage_;
+ if (this != internal_default_instance()) delete _impl_.buttonsresponsemessage_;
}
+
void Message::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void Message::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.Message)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- conversation_.ClearNonDefaultToEmpty();
+ _impl_.conversation_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(senderkeydistributionmessage_ != nullptr);
- senderkeydistributionmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.senderkeydistributionmessage_ != nullptr);
+ _impl_.senderkeydistributionmessage_->Clear();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(imagemessage_ != nullptr);
- imagemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.imagemessage_ != nullptr);
+ _impl_.imagemessage_->Clear();
}
if (cached_has_bits & 0x00000008u) {
- GOOGLE_DCHECK(contactmessage_ != nullptr);
- contactmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.contactmessage_ != nullptr);
+ _impl_.contactmessage_->Clear();
}
if (cached_has_bits & 0x00000010u) {
- GOOGLE_DCHECK(locationmessage_ != nullptr);
- locationmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.locationmessage_ != nullptr);
+ _impl_.locationmessage_->Clear();
}
if (cached_has_bits & 0x00000020u) {
- GOOGLE_DCHECK(extendedtextmessage_ != nullptr);
- extendedtextmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.extendedtextmessage_ != nullptr);
+ _impl_.extendedtextmessage_->Clear();
}
if (cached_has_bits & 0x00000040u) {
- GOOGLE_DCHECK(documentmessage_ != nullptr);
- documentmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.documentmessage_ != nullptr);
+ _impl_.documentmessage_->Clear();
}
if (cached_has_bits & 0x00000080u) {
- GOOGLE_DCHECK(audiomessage_ != nullptr);
- audiomessage_->Clear();
+ GOOGLE_DCHECK(_impl_.audiomessage_ != nullptr);
+ _impl_.audiomessage_->Clear();
}
}
if (cached_has_bits & 0x0000ff00u) {
if (cached_has_bits & 0x00000100u) {
- GOOGLE_DCHECK(videomessage_ != nullptr);
- videomessage_->Clear();
+ GOOGLE_DCHECK(_impl_.videomessage_ != nullptr);
+ _impl_.videomessage_->Clear();
}
if (cached_has_bits & 0x00000200u) {
- GOOGLE_DCHECK(call_ != nullptr);
- call_->Clear();
+ GOOGLE_DCHECK(_impl_.call_ != nullptr);
+ _impl_.call_->Clear();
}
if (cached_has_bits & 0x00000400u) {
- GOOGLE_DCHECK(chat_ != nullptr);
- chat_->Clear();
+ GOOGLE_DCHECK(_impl_.chat_ != nullptr);
+ _impl_.chat_->Clear();
}
if (cached_has_bits & 0x00000800u) {
- GOOGLE_DCHECK(protocolmessage_ != nullptr);
- protocolmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.protocolmessage_ != nullptr);
+ _impl_.protocolmessage_->Clear();
}
if (cached_has_bits & 0x00001000u) {
- GOOGLE_DCHECK(contactsarraymessage_ != nullptr);
- contactsarraymessage_->Clear();
+ GOOGLE_DCHECK(_impl_.contactsarraymessage_ != nullptr);
+ _impl_.contactsarraymessage_->Clear();
}
if (cached_has_bits & 0x00002000u) {
- GOOGLE_DCHECK(highlystructuredmessage_ != nullptr);
- highlystructuredmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.highlystructuredmessage_ != nullptr);
+ _impl_.highlystructuredmessage_->Clear();
}
if (cached_has_bits & 0x00004000u) {
- GOOGLE_DCHECK(fastratchetkeysenderkeydistributionmessage_ != nullptr);
- fastratchetkeysenderkeydistributionmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.fastratchetkeysenderkeydistributionmessage_ != nullptr);
+ _impl_.fastratchetkeysenderkeydistributionmessage_->Clear();
}
if (cached_has_bits & 0x00008000u) {
- GOOGLE_DCHECK(sendpaymentmessage_ != nullptr);
- sendpaymentmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.sendpaymentmessage_ != nullptr);
+ _impl_.sendpaymentmessage_->Clear();
}
}
if (cached_has_bits & 0x00ff0000u) {
if (cached_has_bits & 0x00010000u) {
- GOOGLE_DCHECK(livelocationmessage_ != nullptr);
- livelocationmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.livelocationmessage_ != nullptr);
+ _impl_.livelocationmessage_->Clear();
}
if (cached_has_bits & 0x00020000u) {
- GOOGLE_DCHECK(requestpaymentmessage_ != nullptr);
- requestpaymentmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.requestpaymentmessage_ != nullptr);
+ _impl_.requestpaymentmessage_->Clear();
}
if (cached_has_bits & 0x00040000u) {
- GOOGLE_DCHECK(declinepaymentrequestmessage_ != nullptr);
- declinepaymentrequestmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.declinepaymentrequestmessage_ != nullptr);
+ _impl_.declinepaymentrequestmessage_->Clear();
}
if (cached_has_bits & 0x00080000u) {
- GOOGLE_DCHECK(cancelpaymentrequestmessage_ != nullptr);
- cancelpaymentrequestmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.cancelpaymentrequestmessage_ != nullptr);
+ _impl_.cancelpaymentrequestmessage_->Clear();
}
if (cached_has_bits & 0x00100000u) {
- GOOGLE_DCHECK(templatemessage_ != nullptr);
- templatemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.templatemessage_ != nullptr);
+ _impl_.templatemessage_->Clear();
}
if (cached_has_bits & 0x00200000u) {
- GOOGLE_DCHECK(stickermessage_ != nullptr);
- stickermessage_->Clear();
+ GOOGLE_DCHECK(_impl_.stickermessage_ != nullptr);
+ _impl_.stickermessage_->Clear();
}
if (cached_has_bits & 0x00400000u) {
- GOOGLE_DCHECK(groupinvitemessage_ != nullptr);
- groupinvitemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.groupinvitemessage_ != nullptr);
+ _impl_.groupinvitemessage_->Clear();
}
if (cached_has_bits & 0x00800000u) {
- GOOGLE_DCHECK(templatebuttonreplymessage_ != nullptr);
- templatebuttonreplymessage_->Clear();
+ GOOGLE_DCHECK(_impl_.templatebuttonreplymessage_ != nullptr);
+ _impl_.templatebuttonreplymessage_->Clear();
}
}
if (cached_has_bits & 0xff000000u) {
if (cached_has_bits & 0x01000000u) {
- GOOGLE_DCHECK(productmessage_ != nullptr);
- productmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.productmessage_ != nullptr);
+ _impl_.productmessage_->Clear();
}
if (cached_has_bits & 0x02000000u) {
- GOOGLE_DCHECK(devicesentmessage_ != nullptr);
- devicesentmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.devicesentmessage_ != nullptr);
+ _impl_.devicesentmessage_->Clear();
}
if (cached_has_bits & 0x04000000u) {
- GOOGLE_DCHECK(messagecontextinfo_ != nullptr);
- messagecontextinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.messagecontextinfo_ != nullptr);
+ _impl_.messagecontextinfo_->Clear();
}
if (cached_has_bits & 0x08000000u) {
- GOOGLE_DCHECK(listmessage_ != nullptr);
- listmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.listmessage_ != nullptr);
+ _impl_.listmessage_->Clear();
}
if (cached_has_bits & 0x10000000u) {
- GOOGLE_DCHECK(viewoncemessage_ != nullptr);
- viewoncemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.viewoncemessage_ != nullptr);
+ _impl_.viewoncemessage_->Clear();
}
if (cached_has_bits & 0x20000000u) {
- GOOGLE_DCHECK(ordermessage_ != nullptr);
- ordermessage_->Clear();
+ GOOGLE_DCHECK(_impl_.ordermessage_ != nullptr);
+ _impl_.ordermessage_->Clear();
}
if (cached_has_bits & 0x40000000u) {
- GOOGLE_DCHECK(listresponsemessage_ != nullptr);
- listresponsemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.listresponsemessage_ != nullptr);
+ _impl_.listresponsemessage_->Clear();
}
if (cached_has_bits & 0x80000000u) {
- GOOGLE_DCHECK(ephemeralmessage_ != nullptr);
- ephemeralmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.ephemeralmessage_ != nullptr);
+ _impl_.ephemeralmessage_->Clear();
}
}
- cached_has_bits = _has_bits_[1];
+ cached_has_bits = _impl_._has_bits_[1];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(invoicemessage_ != nullptr);
- invoicemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.invoicemessage_ != nullptr);
+ _impl_.invoicemessage_->Clear();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(buttonsmessage_ != nullptr);
- buttonsmessage_->Clear();
+ GOOGLE_DCHECK(_impl_.buttonsmessage_ != nullptr);
+ _impl_.buttonsmessage_->Clear();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(buttonsresponsemessage_ != nullptr);
- buttonsresponsemessage_->Clear();
+ GOOGLE_DCHECK(_impl_.buttonsresponsemessage_ != nullptr);
+ _impl_.buttonsresponsemessage_->Clear();
}
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* Message::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string conversation = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_conversation();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.Message.conversation");
+ ::_pbi::VerifyUTF8(str, "proto.Message.conversation");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_senderkeydistributionmessage(), ptr);
CHK_(ptr);
} else
@@ -34283,7 +35737,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ImageMessage imageMessage = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_imagemessage(), ptr);
CHK_(ptr);
} else
@@ -34291,7 +35745,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ContactMessage contactMessage = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_contactmessage(), ptr);
CHK_(ptr);
} else
@@ -34299,7 +35753,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.LocationMessage locationMessage = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
ptr = ctx->ParseMessage(_internal_mutable_locationmessage(), ptr);
CHK_(ptr);
} else
@@ -34307,7 +35761,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ExtendedTextMessage extendedTextMessage = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
ptr = ctx->ParseMessage(_internal_mutable_extendedtextmessage(), ptr);
CHK_(ptr);
} else
@@ -34315,7 +35769,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.DocumentMessage documentMessage = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
ptr = ctx->ParseMessage(_internal_mutable_documentmessage(), ptr);
CHK_(ptr);
} else
@@ -34323,7 +35777,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.AudioMessage audioMessage = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
ptr = ctx->ParseMessage(_internal_mutable_audiomessage(), ptr);
CHK_(ptr);
} else
@@ -34331,7 +35785,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.VideoMessage videoMessage = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
ptr = ctx->ParseMessage(_internal_mutable_videomessage(), ptr);
CHK_(ptr);
} else
@@ -34339,7 +35793,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.Call call = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
ptr = ctx->ParseMessage(_internal_mutable_call(), ptr);
CHK_(ptr);
} else
@@ -34347,7 +35801,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.Chat chat = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
ptr = ctx->ParseMessage(_internal_mutable_chat(), ptr);
CHK_(ptr);
} else
@@ -34355,7 +35809,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ProtocolMessage protocolMessage = 12;
case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) {
ptr = ctx->ParseMessage(_internal_mutable_protocolmessage(), ptr);
CHK_(ptr);
} else
@@ -34363,7 +35817,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ContactsArrayMessage contactsArrayMessage = 13;
case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) {
ptr = ctx->ParseMessage(_internal_mutable_contactsarraymessage(), ptr);
CHK_(ptr);
} else
@@ -34371,7 +35825,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.HighlyStructuredMessage highlyStructuredMessage = 14;
case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 114)) {
ptr = ctx->ParseMessage(_internal_mutable_highlystructuredmessage(), ptr);
CHK_(ptr);
} else
@@ -34379,7 +35833,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.SenderKeyDistributionMessage fastRatchetKeySenderKeyDistributionMessage = 15;
case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) {
ptr = ctx->ParseMessage(_internal_mutable_fastratchetkeysenderkeydistributionmessage(), ptr);
CHK_(ptr);
} else
@@ -34387,7 +35841,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.SendPaymentMessage sendPaymentMessage = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
ptr = ctx->ParseMessage(_internal_mutable_sendpaymentmessage(), ptr);
CHK_(ptr);
} else
@@ -34395,7 +35849,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.LiveLocationMessage liveLocationMessage = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) {
ptr = ctx->ParseMessage(_internal_mutable_livelocationmessage(), ptr);
CHK_(ptr);
} else
@@ -34403,7 +35857,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.RequestPaymentMessage requestPaymentMessage = 22;
case 22:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 178)) {
ptr = ctx->ParseMessage(_internal_mutable_requestpaymentmessage(), ptr);
CHK_(ptr);
} else
@@ -34411,7 +35865,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.DeclinePaymentRequestMessage declinePaymentRequestMessage = 23;
case 23:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 186)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 186)) {
ptr = ctx->ParseMessage(_internal_mutable_declinepaymentrequestmessage(), ptr);
CHK_(ptr);
} else
@@ -34419,7 +35873,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.CancelPaymentRequestMessage cancelPaymentRequestMessage = 24;
case 24:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 194)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 194)) {
ptr = ctx->ParseMessage(_internal_mutable_cancelpaymentrequestmessage(), ptr);
CHK_(ptr);
} else
@@ -34427,7 +35881,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.TemplateMessage templateMessage = 25;
case 25:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 202)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 202)) {
ptr = ctx->ParseMessage(_internal_mutable_templatemessage(), ptr);
CHK_(ptr);
} else
@@ -34435,7 +35889,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.StickerMessage stickerMessage = 26;
case 26:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 210)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 210)) {
ptr = ctx->ParseMessage(_internal_mutable_stickermessage(), ptr);
CHK_(ptr);
} else
@@ -34443,7 +35897,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.GroupInviteMessage groupInviteMessage = 28;
case 28:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 226)) {
ptr = ctx->ParseMessage(_internal_mutable_groupinvitemessage(), ptr);
CHK_(ptr);
} else
@@ -34451,7 +35905,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.TemplateButtonReplyMessage templateButtonReplyMessage = 29;
case 29:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 234)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 234)) {
ptr = ctx->ParseMessage(_internal_mutable_templatebuttonreplymessage(), ptr);
CHK_(ptr);
} else
@@ -34459,7 +35913,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ProductMessage productMessage = 30;
case 30:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 242)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 242)) {
ptr = ctx->ParseMessage(_internal_mutable_productmessage(), ptr);
CHK_(ptr);
} else
@@ -34467,7 +35921,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.DeviceSentMessage deviceSentMessage = 31;
case 31:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 250)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 250)) {
ptr = ctx->ParseMessage(_internal_mutable_devicesentmessage(), ptr);
CHK_(ptr);
} else
@@ -34475,7 +35929,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.MessageContextInfo messageContextInfo = 35;
case 35:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_messagecontextinfo(), ptr);
CHK_(ptr);
} else
@@ -34483,7 +35937,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ListMessage listMessage = 36;
case 36:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_listmessage(), ptr);
CHK_(ptr);
} else
@@ -34491,7 +35945,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.FutureProofMessage viewOnceMessage = 37;
case 37:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
ptr = ctx->ParseMessage(_internal_mutable_viewoncemessage(), ptr);
CHK_(ptr);
} else
@@ -34499,7 +35953,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.OrderMessage orderMessage = 38;
case 38:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
ptr = ctx->ParseMessage(_internal_mutable_ordermessage(), ptr);
CHK_(ptr);
} else
@@ -34507,7 +35961,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ListResponseMessage listResponseMessage = 39;
case 39:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
ptr = ctx->ParseMessage(_internal_mutable_listresponsemessage(), ptr);
CHK_(ptr);
} else
@@ -34515,7 +35969,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.FutureProofMessage ephemeralMessage = 40;
case 40:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
ptr = ctx->ParseMessage(_internal_mutable_ephemeralmessage(), ptr);
CHK_(ptr);
} else
@@ -34523,7 +35977,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.InvoiceMessage invoiceMessage = 41;
case 41:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
ptr = ctx->ParseMessage(_internal_mutable_invoicemessage(), ptr);
CHK_(ptr);
} else
@@ -34531,7 +35985,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ButtonsMessage buttonsMessage = 42;
case 42:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
ptr = ctx->ParseMessage(_internal_mutable_buttonsmessage(), ptr);
CHK_(ptr);
} else
@@ -34539,7 +35993,7 @@ const char* Message::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::in
continue;
// optional .proto.ButtonsResponseMessage buttonsResponseMessage = 43;
case 43:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
ptr = ctx->ParseMessage(_internal_mutable_buttonsresponsemessage(), ptr);
CHK_(ptr);
} else
@@ -34568,13 +36022,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* Message::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* Message::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.Message)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string conversation = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -34587,279 +36041,245 @@ failure:
// optional .proto.SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::senderkeydistributionmessage(this), target, stream);
+ InternalWriteMessage(2, _Internal::senderkeydistributionmessage(this),
+ _Internal::senderkeydistributionmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.ImageMessage imageMessage = 3;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 3, _Internal::imagemessage(this), target, stream);
+ InternalWriteMessage(3, _Internal::imagemessage(this),
+ _Internal::imagemessage(this).GetCachedSize(), target, stream);
}
// optional .proto.ContactMessage contactMessage = 4;
if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 4, _Internal::contactmessage(this), target, stream);
+ InternalWriteMessage(4, _Internal::contactmessage(this),
+ _Internal::contactmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.LocationMessage locationMessage = 5;
if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 5, _Internal::locationmessage(this), target, stream);
+ InternalWriteMessage(5, _Internal::locationmessage(this),
+ _Internal::locationmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.ExtendedTextMessage extendedTextMessage = 6;
if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 6, _Internal::extendedtextmessage(this), target, stream);
+ InternalWriteMessage(6, _Internal::extendedtextmessage(this),
+ _Internal::extendedtextmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.DocumentMessage documentMessage = 7;
if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 7, _Internal::documentmessage(this), target, stream);
+ InternalWriteMessage(7, _Internal::documentmessage(this),
+ _Internal::documentmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.AudioMessage audioMessage = 8;
if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 8, _Internal::audiomessage(this), target, stream);
+ InternalWriteMessage(8, _Internal::audiomessage(this),
+ _Internal::audiomessage(this).GetCachedSize(), target, stream);
}
// optional .proto.VideoMessage videoMessage = 9;
if (cached_has_bits & 0x00000100u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 9, _Internal::videomessage(this), target, stream);
+ InternalWriteMessage(9, _Internal::videomessage(this),
+ _Internal::videomessage(this).GetCachedSize(), target, stream);
}
// optional .proto.Call call = 10;
if (cached_has_bits & 0x00000200u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 10, _Internal::call(this), target, stream);
+ InternalWriteMessage(10, _Internal::call(this),
+ _Internal::call(this).GetCachedSize(), target, stream);
}
// optional .proto.Chat chat = 11;
if (cached_has_bits & 0x00000400u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 11, _Internal::chat(this), target, stream);
+ InternalWriteMessage(11, _Internal::chat(this),
+ _Internal::chat(this).GetCachedSize(), target, stream);
}
// optional .proto.ProtocolMessage protocolMessage = 12;
if (cached_has_bits & 0x00000800u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 12, _Internal::protocolmessage(this), target, stream);
+ InternalWriteMessage(12, _Internal::protocolmessage(this),
+ _Internal::protocolmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.ContactsArrayMessage contactsArrayMessage = 13;
if (cached_has_bits & 0x00001000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 13, _Internal::contactsarraymessage(this), target, stream);
+ InternalWriteMessage(13, _Internal::contactsarraymessage(this),
+ _Internal::contactsarraymessage(this).GetCachedSize(), target, stream);
}
// optional .proto.HighlyStructuredMessage highlyStructuredMessage = 14;
if (cached_has_bits & 0x00002000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 14, _Internal::highlystructuredmessage(this), target, stream);
+ InternalWriteMessage(14, _Internal::highlystructuredmessage(this),
+ _Internal::highlystructuredmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.SenderKeyDistributionMessage fastRatchetKeySenderKeyDistributionMessage = 15;
if (cached_has_bits & 0x00004000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 15, _Internal::fastratchetkeysenderkeydistributionmessage(this), target, stream);
+ InternalWriteMessage(15, _Internal::fastratchetkeysenderkeydistributionmessage(this),
+ _Internal::fastratchetkeysenderkeydistributionmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.SendPaymentMessage sendPaymentMessage = 16;
if (cached_has_bits & 0x00008000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 16, _Internal::sendpaymentmessage(this), target, stream);
+ InternalWriteMessage(16, _Internal::sendpaymentmessage(this),
+ _Internal::sendpaymentmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.LiveLocationMessage liveLocationMessage = 18;
if (cached_has_bits & 0x00010000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 18, _Internal::livelocationmessage(this), target, stream);
+ InternalWriteMessage(18, _Internal::livelocationmessage(this),
+ _Internal::livelocationmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.RequestPaymentMessage requestPaymentMessage = 22;
if (cached_has_bits & 0x00020000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 22, _Internal::requestpaymentmessage(this), target, stream);
+ InternalWriteMessage(22, _Internal::requestpaymentmessage(this),
+ _Internal::requestpaymentmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.DeclinePaymentRequestMessage declinePaymentRequestMessage = 23;
if (cached_has_bits & 0x00040000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 23, _Internal::declinepaymentrequestmessage(this), target, stream);
+ InternalWriteMessage(23, _Internal::declinepaymentrequestmessage(this),
+ _Internal::declinepaymentrequestmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.CancelPaymentRequestMessage cancelPaymentRequestMessage = 24;
if (cached_has_bits & 0x00080000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 24, _Internal::cancelpaymentrequestmessage(this), target, stream);
+ InternalWriteMessage(24, _Internal::cancelpaymentrequestmessage(this),
+ _Internal::cancelpaymentrequestmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.TemplateMessage templateMessage = 25;
if (cached_has_bits & 0x00100000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 25, _Internal::templatemessage(this), target, stream);
+ InternalWriteMessage(25, _Internal::templatemessage(this),
+ _Internal::templatemessage(this).GetCachedSize(), target, stream);
}
// optional .proto.StickerMessage stickerMessage = 26;
if (cached_has_bits & 0x00200000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 26, _Internal::stickermessage(this), target, stream);
+ InternalWriteMessage(26, _Internal::stickermessage(this),
+ _Internal::stickermessage(this).GetCachedSize(), target, stream);
}
// optional .proto.GroupInviteMessage groupInviteMessage = 28;
if (cached_has_bits & 0x00400000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 28, _Internal::groupinvitemessage(this), target, stream);
+ InternalWriteMessage(28, _Internal::groupinvitemessage(this),
+ _Internal::groupinvitemessage(this).GetCachedSize(), target, stream);
}
// optional .proto.TemplateButtonReplyMessage templateButtonReplyMessage = 29;
if (cached_has_bits & 0x00800000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 29, _Internal::templatebuttonreplymessage(this), target, stream);
+ InternalWriteMessage(29, _Internal::templatebuttonreplymessage(this),
+ _Internal::templatebuttonreplymessage(this).GetCachedSize(), target, stream);
}
// optional .proto.ProductMessage productMessage = 30;
if (cached_has_bits & 0x01000000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 30, _Internal::productmessage(this), target, stream);
+ InternalWriteMessage(30, _Internal::productmessage(this),
+ _Internal::productmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.DeviceSentMessage deviceSentMessage = 31;
if (cached_has_bits & 0x02000000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 31, _Internal::devicesentmessage(this), target, stream);
+ InternalWriteMessage(31, _Internal::devicesentmessage(this),
+ _Internal::devicesentmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.MessageContextInfo messageContextInfo = 35;
if (cached_has_bits & 0x04000000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 35, _Internal::messagecontextinfo(this), target, stream);
+ InternalWriteMessage(35, _Internal::messagecontextinfo(this),
+ _Internal::messagecontextinfo(this).GetCachedSize(), target, stream);
}
// optional .proto.ListMessage listMessage = 36;
if (cached_has_bits & 0x08000000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 36, _Internal::listmessage(this), target, stream);
+ InternalWriteMessage(36, _Internal::listmessage(this),
+ _Internal::listmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.FutureProofMessage viewOnceMessage = 37;
if (cached_has_bits & 0x10000000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 37, _Internal::viewoncemessage(this), target, stream);
+ InternalWriteMessage(37, _Internal::viewoncemessage(this),
+ _Internal::viewoncemessage(this).GetCachedSize(), target, stream);
}
// optional .proto.OrderMessage orderMessage = 38;
if (cached_has_bits & 0x20000000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 38, _Internal::ordermessage(this), target, stream);
+ InternalWriteMessage(38, _Internal::ordermessage(this),
+ _Internal::ordermessage(this).GetCachedSize(), target, stream);
}
// optional .proto.ListResponseMessage listResponseMessage = 39;
if (cached_has_bits & 0x40000000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 39, _Internal::listresponsemessage(this), target, stream);
+ InternalWriteMessage(39, _Internal::listresponsemessage(this),
+ _Internal::listresponsemessage(this).GetCachedSize(), target, stream);
}
// optional .proto.FutureProofMessage ephemeralMessage = 40;
if (cached_has_bits & 0x80000000u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 40, _Internal::ephemeralmessage(this), target, stream);
+ InternalWriteMessage(40, _Internal::ephemeralmessage(this),
+ _Internal::ephemeralmessage(this).GetCachedSize(), target, stream);
}
- cached_has_bits = _has_bits_[1];
+ cached_has_bits = _impl_._has_bits_[1];
// optional .proto.InvoiceMessage invoiceMessage = 41;
if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 41, _Internal::invoicemessage(this), target, stream);
+ InternalWriteMessage(41, _Internal::invoicemessage(this),
+ _Internal::invoicemessage(this).GetCachedSize(), target, stream);
}
// optional .proto.ButtonsMessage buttonsMessage = 42;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 42, _Internal::buttonsmessage(this), target, stream);
+ InternalWriteMessage(42, _Internal::buttonsmessage(this),
+ _Internal::buttonsmessage(this).GetCachedSize(), target, stream);
}
// optional .proto.ButtonsResponseMessage buttonsResponseMessage = 43;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 43, _Internal::buttonsresponsemessage(this), target, stream);
+ InternalWriteMessage(43, _Internal::buttonsresponsemessage(this),
+ _Internal::buttonsresponsemessage(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.Message)
@@ -34870,11 +36290,11 @@ size_t Message::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.Message)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string conversation = 1;
if (cached_has_bits & 0x00000001u) {
@@ -34887,49 +36307,49 @@ size_t Message::ByteSizeLong() const {
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *senderkeydistributionmessage_);
+ *_impl_.senderkeydistributionmessage_);
}
// optional .proto.ImageMessage imageMessage = 3;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *imagemessage_);
+ *_impl_.imagemessage_);
}
// optional .proto.ContactMessage contactMessage = 4;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contactmessage_);
+ *_impl_.contactmessage_);
}
// optional .proto.LocationMessage locationMessage = 5;
if (cached_has_bits & 0x00000010u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *locationmessage_);
+ *_impl_.locationmessage_);
}
// optional .proto.ExtendedTextMessage extendedTextMessage = 6;
if (cached_has_bits & 0x00000020u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *extendedtextmessage_);
+ *_impl_.extendedtextmessage_);
}
// optional .proto.DocumentMessage documentMessage = 7;
if (cached_has_bits & 0x00000040u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *documentmessage_);
+ *_impl_.documentmessage_);
}
// optional .proto.AudioMessage audioMessage = 8;
if (cached_has_bits & 0x00000080u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *audiomessage_);
+ *_impl_.audiomessage_);
}
}
@@ -34938,56 +36358,56 @@ size_t Message::ByteSizeLong() const {
if (cached_has_bits & 0x00000100u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *videomessage_);
+ *_impl_.videomessage_);
}
// optional .proto.Call call = 10;
if (cached_has_bits & 0x00000200u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *call_);
+ *_impl_.call_);
}
// optional .proto.Chat chat = 11;
if (cached_has_bits & 0x00000400u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *chat_);
+ *_impl_.chat_);
}
// optional .proto.ProtocolMessage protocolMessage = 12;
if (cached_has_bits & 0x00000800u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *protocolmessage_);
+ *_impl_.protocolmessage_);
}
// optional .proto.ContactsArrayMessage contactsArrayMessage = 13;
if (cached_has_bits & 0x00001000u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *contactsarraymessage_);
+ *_impl_.contactsarraymessage_);
}
// optional .proto.HighlyStructuredMessage highlyStructuredMessage = 14;
if (cached_has_bits & 0x00002000u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *highlystructuredmessage_);
+ *_impl_.highlystructuredmessage_);
}
// optional .proto.SenderKeyDistributionMessage fastRatchetKeySenderKeyDistributionMessage = 15;
if (cached_has_bits & 0x00004000u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *fastratchetkeysenderkeydistributionmessage_);
+ *_impl_.fastratchetkeysenderkeydistributionmessage_);
}
// optional .proto.SendPaymentMessage sendPaymentMessage = 16;
if (cached_has_bits & 0x00008000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *sendpaymentmessage_);
+ *_impl_.sendpaymentmessage_);
}
}
@@ -34996,56 +36416,56 @@ size_t Message::ByteSizeLong() const {
if (cached_has_bits & 0x00010000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *livelocationmessage_);
+ *_impl_.livelocationmessage_);
}
// optional .proto.RequestPaymentMessage requestPaymentMessage = 22;
if (cached_has_bits & 0x00020000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *requestpaymentmessage_);
+ *_impl_.requestpaymentmessage_);
}
// optional .proto.DeclinePaymentRequestMessage declinePaymentRequestMessage = 23;
if (cached_has_bits & 0x00040000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *declinepaymentrequestmessage_);
+ *_impl_.declinepaymentrequestmessage_);
}
// optional .proto.CancelPaymentRequestMessage cancelPaymentRequestMessage = 24;
if (cached_has_bits & 0x00080000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *cancelpaymentrequestmessage_);
+ *_impl_.cancelpaymentrequestmessage_);
}
// optional .proto.TemplateMessage templateMessage = 25;
if (cached_has_bits & 0x00100000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *templatemessage_);
+ *_impl_.templatemessage_);
}
// optional .proto.StickerMessage stickerMessage = 26;
if (cached_has_bits & 0x00200000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *stickermessage_);
+ *_impl_.stickermessage_);
}
// optional .proto.GroupInviteMessage groupInviteMessage = 28;
if (cached_has_bits & 0x00400000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *groupinvitemessage_);
+ *_impl_.groupinvitemessage_);
}
// optional .proto.TemplateButtonReplyMessage templateButtonReplyMessage = 29;
if (cached_has_bits & 0x00800000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *templatebuttonreplymessage_);
+ *_impl_.templatebuttonreplymessage_);
}
}
@@ -35054,223 +36474,253 @@ size_t Message::ByteSizeLong() const {
if (cached_has_bits & 0x01000000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *productmessage_);
+ *_impl_.productmessage_);
}
// optional .proto.DeviceSentMessage deviceSentMessage = 31;
if (cached_has_bits & 0x02000000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *devicesentmessage_);
+ *_impl_.devicesentmessage_);
}
// optional .proto.MessageContextInfo messageContextInfo = 35;
if (cached_has_bits & 0x04000000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *messagecontextinfo_);
+ *_impl_.messagecontextinfo_);
}
// optional .proto.ListMessage listMessage = 36;
if (cached_has_bits & 0x08000000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *listmessage_);
+ *_impl_.listmessage_);
}
// optional .proto.FutureProofMessage viewOnceMessage = 37;
if (cached_has_bits & 0x10000000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *viewoncemessage_);
+ *_impl_.viewoncemessage_);
}
// optional .proto.OrderMessage orderMessage = 38;
if (cached_has_bits & 0x20000000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *ordermessage_);
+ *_impl_.ordermessage_);
}
// optional .proto.ListResponseMessage listResponseMessage = 39;
if (cached_has_bits & 0x40000000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *listresponsemessage_);
+ *_impl_.listresponsemessage_);
}
// optional .proto.FutureProofMessage ephemeralMessage = 40;
if (cached_has_bits & 0x80000000u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *ephemeralmessage_);
+ *_impl_.ephemeralmessage_);
}
}
- cached_has_bits = _has_bits_[1];
+ cached_has_bits = _impl_._has_bits_[1];
if (cached_has_bits & 0x00000007u) {
// optional .proto.InvoiceMessage invoiceMessage = 41;
if (cached_has_bits & 0x00000001u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *invoicemessage_);
+ *_impl_.invoicemessage_);
}
// optional .proto.ButtonsMessage buttonsMessage = 42;
if (cached_has_bits & 0x00000002u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *buttonsmessage_);
+ *_impl_.buttonsmessage_);
}
// optional .proto.ButtonsResponseMessage buttonsResponseMessage = 43;
if (cached_has_bits & 0x00000004u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *buttonsresponsemessage_);
+ *_impl_.buttonsresponsemessage_);
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Message::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
Message::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Message::GetClassData() const { return &_class_data_; }
-void Message::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<Message *>(to)->MergeFrom(
- static_cast<const Message &>(from));
-}
-
-void Message::MergeFrom(const Message& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.Message)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void Message::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<Message*>(&to_msg);
+ auto& from = static_cast<const Message&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.Message)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_conversation(from._internal_conversation());
+ _this->_internal_set_conversation(from._internal_conversation());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_senderkeydistributionmessage()->::proto::SenderKeyDistributionMessage::MergeFrom(from._internal_senderkeydistributionmessage());
+ _this->_internal_mutable_senderkeydistributionmessage()->::proto::SenderKeyDistributionMessage::MergeFrom(
+ from._internal_senderkeydistributionmessage());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(from._internal_imagemessage());
+ _this->_internal_mutable_imagemessage()->::proto::ImageMessage::MergeFrom(
+ from._internal_imagemessage());
}
if (cached_has_bits & 0x00000008u) {
- _internal_mutable_contactmessage()->::proto::ContactMessage::MergeFrom(from._internal_contactmessage());
+ _this->_internal_mutable_contactmessage()->::proto::ContactMessage::MergeFrom(
+ from._internal_contactmessage());
}
if (cached_has_bits & 0x00000010u) {
- _internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(from._internal_locationmessage());
+ _this->_internal_mutable_locationmessage()->::proto::LocationMessage::MergeFrom(
+ from._internal_locationmessage());
}
if (cached_has_bits & 0x00000020u) {
- _internal_mutable_extendedtextmessage()->::proto::ExtendedTextMessage::MergeFrom(from._internal_extendedtextmessage());
+ _this->_internal_mutable_extendedtextmessage()->::proto::ExtendedTextMessage::MergeFrom(
+ from._internal_extendedtextmessage());
}
if (cached_has_bits & 0x00000040u) {
- _internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(from._internal_documentmessage());
+ _this->_internal_mutable_documentmessage()->::proto::DocumentMessage::MergeFrom(
+ from._internal_documentmessage());
}
if (cached_has_bits & 0x00000080u) {
- _internal_mutable_audiomessage()->::proto::AudioMessage::MergeFrom(from._internal_audiomessage());
+ _this->_internal_mutable_audiomessage()->::proto::AudioMessage::MergeFrom(
+ from._internal_audiomessage());
}
}
if (cached_has_bits & 0x0000ff00u) {
if (cached_has_bits & 0x00000100u) {
- _internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(from._internal_videomessage());
+ _this->_internal_mutable_videomessage()->::proto::VideoMessage::MergeFrom(
+ from._internal_videomessage());
}
if (cached_has_bits & 0x00000200u) {
- _internal_mutable_call()->::proto::Call::MergeFrom(from._internal_call());
+ _this->_internal_mutable_call()->::proto::Call::MergeFrom(
+ from._internal_call());
}
if (cached_has_bits & 0x00000400u) {
- _internal_mutable_chat()->::proto::Chat::MergeFrom(from._internal_chat());
+ _this->_internal_mutable_chat()->::proto::Chat::MergeFrom(
+ from._internal_chat());
}
if (cached_has_bits & 0x00000800u) {
- _internal_mutable_protocolmessage()->::proto::ProtocolMessage::MergeFrom(from._internal_protocolmessage());
+ _this->_internal_mutable_protocolmessage()->::proto::ProtocolMessage::MergeFrom(
+ from._internal_protocolmessage());
}
if (cached_has_bits & 0x00001000u) {
- _internal_mutable_contactsarraymessage()->::proto::ContactsArrayMessage::MergeFrom(from._internal_contactsarraymessage());
+ _this->_internal_mutable_contactsarraymessage()->::proto::ContactsArrayMessage::MergeFrom(
+ from._internal_contactsarraymessage());
}
if (cached_has_bits & 0x00002000u) {
- _internal_mutable_highlystructuredmessage()->::proto::HighlyStructuredMessage::MergeFrom(from._internal_highlystructuredmessage());
+ _this->_internal_mutable_highlystructuredmessage()->::proto::HighlyStructuredMessage::MergeFrom(
+ from._internal_highlystructuredmessage());
}
if (cached_has_bits & 0x00004000u) {
- _internal_mutable_fastratchetkeysenderkeydistributionmessage()->::proto::SenderKeyDistributionMessage::MergeFrom(from._internal_fastratchetkeysenderkeydistributionmessage());
+ _this->_internal_mutable_fastratchetkeysenderkeydistributionmessage()->::proto::SenderKeyDistributionMessage::MergeFrom(
+ from._internal_fastratchetkeysenderkeydistributionmessage());
}
if (cached_has_bits & 0x00008000u) {
- _internal_mutable_sendpaymentmessage()->::proto::SendPaymentMessage::MergeFrom(from._internal_sendpaymentmessage());
+ _this->_internal_mutable_sendpaymentmessage()->::proto::SendPaymentMessage::MergeFrom(
+ from._internal_sendpaymentmessage());
}
}
if (cached_has_bits & 0x00ff0000u) {
if (cached_has_bits & 0x00010000u) {
- _internal_mutable_livelocationmessage()->::proto::LiveLocationMessage::MergeFrom(from._internal_livelocationmessage());
+ _this->_internal_mutable_livelocationmessage()->::proto::LiveLocationMessage::MergeFrom(
+ from._internal_livelocationmessage());
}
if (cached_has_bits & 0x00020000u) {
- _internal_mutable_requestpaymentmessage()->::proto::RequestPaymentMessage::MergeFrom(from._internal_requestpaymentmessage());
+ _this->_internal_mutable_requestpaymentmessage()->::proto::RequestPaymentMessage::MergeFrom(
+ from._internal_requestpaymentmessage());
}
if (cached_has_bits & 0x00040000u) {
- _internal_mutable_declinepaymentrequestmessage()->::proto::DeclinePaymentRequestMessage::MergeFrom(from._internal_declinepaymentrequestmessage());
+ _this->_internal_mutable_declinepaymentrequestmessage()->::proto::DeclinePaymentRequestMessage::MergeFrom(
+ from._internal_declinepaymentrequestmessage());
}
if (cached_has_bits & 0x00080000u) {
- _internal_mutable_cancelpaymentrequestmessage()->::proto::CancelPaymentRequestMessage::MergeFrom(from._internal_cancelpaymentrequestmessage());
+ _this->_internal_mutable_cancelpaymentrequestmessage()->::proto::CancelPaymentRequestMessage::MergeFrom(
+ from._internal_cancelpaymentrequestmessage());
}
if (cached_has_bits & 0x00100000u) {
- _internal_mutable_templatemessage()->::proto::TemplateMessage::MergeFrom(from._internal_templatemessage());
+ _this->_internal_mutable_templatemessage()->::proto::TemplateMessage::MergeFrom(
+ from._internal_templatemessage());
}
if (cached_has_bits & 0x00200000u) {
- _internal_mutable_stickermessage()->::proto::StickerMessage::MergeFrom(from._internal_stickermessage());
+ _this->_internal_mutable_stickermessage()->::proto::StickerMessage::MergeFrom(
+ from._internal_stickermessage());
}
if (cached_has_bits & 0x00400000u) {
- _internal_mutable_groupinvitemessage()->::proto::GroupInviteMessage::MergeFrom(from._internal_groupinvitemessage());
+ _this->_internal_mutable_groupinvitemessage()->::proto::GroupInviteMessage::MergeFrom(
+ from._internal_groupinvitemessage());
}
if (cached_has_bits & 0x00800000u) {
- _internal_mutable_templatebuttonreplymessage()->::proto::TemplateButtonReplyMessage::MergeFrom(from._internal_templatebuttonreplymessage());
+ _this->_internal_mutable_templatebuttonreplymessage()->::proto::TemplateButtonReplyMessage::MergeFrom(
+ from._internal_templatebuttonreplymessage());
}
}
if (cached_has_bits & 0xff000000u) {
if (cached_has_bits & 0x01000000u) {
- _internal_mutable_productmessage()->::proto::ProductMessage::MergeFrom(from._internal_productmessage());
+ _this->_internal_mutable_productmessage()->::proto::ProductMessage::MergeFrom(
+ from._internal_productmessage());
}
if (cached_has_bits & 0x02000000u) {
- _internal_mutable_devicesentmessage()->::proto::DeviceSentMessage::MergeFrom(from._internal_devicesentmessage());
+ _this->_internal_mutable_devicesentmessage()->::proto::DeviceSentMessage::MergeFrom(
+ from._internal_devicesentmessage());
}
if (cached_has_bits & 0x04000000u) {
- _internal_mutable_messagecontextinfo()->::proto::MessageContextInfo::MergeFrom(from._internal_messagecontextinfo());
+ _this->_internal_mutable_messagecontextinfo()->::proto::MessageContextInfo::MergeFrom(
+ from._internal_messagecontextinfo());
}
if (cached_has_bits & 0x08000000u) {
- _internal_mutable_listmessage()->::proto::ListMessage::MergeFrom(from._internal_listmessage());
+ _this->_internal_mutable_listmessage()->::proto::ListMessage::MergeFrom(
+ from._internal_listmessage());
}
if (cached_has_bits & 0x10000000u) {
- _internal_mutable_viewoncemessage()->::proto::FutureProofMessage::MergeFrom(from._internal_viewoncemessage());
+ _this->_internal_mutable_viewoncemessage()->::proto::FutureProofMessage::MergeFrom(
+ from._internal_viewoncemessage());
}
if (cached_has_bits & 0x20000000u) {
- _internal_mutable_ordermessage()->::proto::OrderMessage::MergeFrom(from._internal_ordermessage());
+ _this->_internal_mutable_ordermessage()->::proto::OrderMessage::MergeFrom(
+ from._internal_ordermessage());
}
if (cached_has_bits & 0x40000000u) {
- _internal_mutable_listresponsemessage()->::proto::ListResponseMessage::MergeFrom(from._internal_listresponsemessage());
+ _this->_internal_mutable_listresponsemessage()->::proto::ListResponseMessage::MergeFrom(
+ from._internal_listresponsemessage());
}
if (cached_has_bits & 0x80000000u) {
- _internal_mutable_ephemeralmessage()->::proto::FutureProofMessage::MergeFrom(from._internal_ephemeralmessage());
+ _this->_internal_mutable_ephemeralmessage()->::proto::FutureProofMessage::MergeFrom(
+ from._internal_ephemeralmessage());
}
}
- cached_has_bits = from._has_bits_[1];
+ cached_has_bits = from._impl_._has_bits_[1];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- _internal_mutable_invoicemessage()->::proto::InvoiceMessage::MergeFrom(from._internal_invoicemessage());
+ _this->_internal_mutable_invoicemessage()->::proto::InvoiceMessage::MergeFrom(
+ from._internal_invoicemessage());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_buttonsmessage()->::proto::ButtonsMessage::MergeFrom(from._internal_buttonsmessage());
+ _this->_internal_mutable_buttonsmessage()->::proto::ButtonsMessage::MergeFrom(
+ from._internal_buttonsmessage());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_buttonsresponsemessage()->::proto::ButtonsResponseMessage::MergeFrom(from._internal_buttonsresponsemessage());
+ _this->_internal_mutable_buttonsresponsemessage()->::proto::ButtonsResponseMessage::MergeFrom(
+ from._internal_buttonsresponsemessage());
}
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void Message::CopyFrom(const Message& from) {
@@ -35289,23 +36739,22 @@ void Message::InternalSwap(Message* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(_has_bits_[1], other->_has_bits_[1]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &conversation_, lhs_arena,
- &other->conversation_, rhs_arena
+ &_impl_.conversation_, lhs_arena,
+ &other->_impl_.conversation_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(Message, buttonsresponsemessage_)
- + sizeof(Message::buttonsresponsemessage_)
- - PROTOBUF_FIELD_OFFSET(Message, senderkeydistributionmessage_)>(
- reinterpret_cast<char*>(&senderkeydistributionmessage_),
- reinterpret_cast<char*>(&other->senderkeydistributionmessage_));
+ PROTOBUF_FIELD_OFFSET(Message, _impl_.buttonsresponsemessage_)
+ + sizeof(Message::_impl_.buttonsresponsemessage_)
+ - PROTOBUF_FIELD_OFFSET(Message, _impl_.senderkeydistributionmessage_)>(
+ reinterpret_cast<char*>(&_impl_.senderkeydistributionmessage_),
+ reinterpret_cast<char*>(&other->_impl_.senderkeydistributionmessage_));
}
::PROTOBUF_NAMESPACE_ID::Metadata Message::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[72]);
}
@@ -35314,7 +36763,7 @@ void Message::InternalSwap(Message* other) {
class MessageKey::_Internal {
public:
- using HasBits = decltype(std::declval<MessageKey>()._has_bits_);
+ using HasBits = decltype(std::declval<MessageKey>()._impl_._has_bits_);
static void set_has_remotejid(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -35332,138 +36781,167 @@ class MessageKey::_Internal {
MessageKey::MessageKey(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.MessageKey)
}
MessageKey::MessageKey(const MessageKey& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ MessageKey* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.remotejid_){}
+ , decltype(_impl_.id_){}
+ , decltype(_impl_.participant_){}
+ , decltype(_impl_.fromme_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- remotejid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.remotejid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.remotejid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_remotejid()) {
- remotejid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_remotejid(),
- GetArenaForAllocation());
+ _this->_impl_.remotejid_.Set(from._internal_remotejid(),
+ _this->GetArenaForAllocation());
}
- id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.id_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_id()) {
- id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_id(),
- GetArenaForAllocation());
+ _this->_impl_.id_.Set(from._internal_id(),
+ _this->GetArenaForAllocation());
}
- participant_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.participant_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_participant()) {
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_participant(),
- GetArenaForAllocation());
+ _this->_impl_.participant_.Set(from._internal_participant(),
+ _this->GetArenaForAllocation());
}
- fromme_ = from.fromme_;
+ _this->_impl_.fromme_ = from._impl_.fromme_;
// @@protoc_insertion_point(copy_constructor:proto.MessageKey)
}
-void MessageKey::SharedCtor() {
-remotejid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-participant_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-fromme_ = false;
+inline void MessageKey::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.remotejid_){}
+ , decltype(_impl_.id_){}
+ , decltype(_impl_.participant_){}
+ , decltype(_impl_.fromme_){false}
+ };
+ _impl_.remotejid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.remotejid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.id_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
MessageKey::~MessageKey() {
// @@protoc_insertion_point(destructor:proto.MessageKey)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void MessageKey::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- remotejid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- participant_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.remotejid_.Destroy();
+ _impl_.id_.Destroy();
+ _impl_.participant_.Destroy();
}
-void MessageKey::ArenaDtor(void* object) {
- MessageKey* _this = reinterpret_cast< MessageKey* >(object);
- (void)_this;
-}
-void MessageKey::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void MessageKey::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void MessageKey::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.MessageKey)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- remotejid_.ClearNonDefaultToEmpty();
+ _impl_.remotejid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- id_.ClearNonDefaultToEmpty();
+ _impl_.id_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- participant_.ClearNonDefaultToEmpty();
+ _impl_.participant_.ClearNonDefaultToEmpty();
}
}
- fromme_ = false;
- _has_bits_.Clear();
+ _impl_.fromme_ = false;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* MessageKey::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* MessageKey::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional string remoteJid = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_remotejid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.MessageKey.remoteJid");
+ ::_pbi::VerifyUTF8(str, "proto.MessageKey.remoteJid");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool fromMe = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_fromme(&has_bits);
- fromme_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.fromme_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string id = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_id();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.MessageKey.id");
+ ::_pbi::VerifyUTF8(str, "proto.MessageKey.id");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string participant = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_participant();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.MessageKey.participant");
+ ::_pbi::VerifyUTF8(str, "proto.MessageKey.participant");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -35483,7 +36961,7 @@ const char* MessageKey::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID:
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -35491,13 +36969,13 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* MessageKey::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* MessageKey::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.MessageKey)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional string remoteJid = 1;
if (cached_has_bits & 0x00000001u) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
@@ -35511,7 +36989,7 @@ failure:
// optional bool fromMe = 2;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_fromme(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_fromme(), target);
}
// optional string id = 3;
@@ -35535,7 +37013,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.MessageKey)
@@ -35546,11 +37024,11 @@ size_t MessageKey::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.MessageKey)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string remoteJid = 1;
if (cached_has_bits & 0x00000001u) {
@@ -35579,45 +37057,41 @@ size_t MessageKey::ByteSizeLong() const {
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MessageKey::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
MessageKey::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MessageKey::GetClassData() const { return &_class_data_; }
-void MessageKey::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<MessageKey *>(to)->MergeFrom(
- static_cast<const MessageKey &>(from));
-}
-
-void MessageKey::MergeFrom(const MessageKey& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.MessageKey)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void MessageKey::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<MessageKey*>(&to_msg);
+ auto& from = static_cast<const MessageKey&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.MessageKey)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_remotejid(from._internal_remotejid());
+ _this->_internal_set_remotejid(from._internal_remotejid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_id(from._internal_id());
+ _this->_internal_set_id(from._internal_id());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_participant(from._internal_participant());
+ _this->_internal_set_participant(from._internal_participant());
}
if (cached_has_bits & 0x00000008u) {
- fromme_ = from.fromme_;
+ _this->_impl_.fromme_ = from._impl_.fromme_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void MessageKey::CopyFrom(const MessageKey& from) {
@@ -35636,27 +37110,24 @@ void MessageKey::InternalSwap(MessageKey* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &remotejid_, lhs_arena,
- &other->remotejid_, rhs_arena
+ &_impl_.remotejid_, lhs_arena,
+ &other->_impl_.remotejid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &id_, lhs_arena,
- &other->id_, rhs_arena
+ &_impl_.id_, lhs_arena,
+ &other->_impl_.id_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &participant_, lhs_arena,
- &other->participant_, rhs_arena
+ &_impl_.participant_, lhs_arena,
+ &other->_impl_.participant_, rhs_arena
);
- swap(fromme_, other->fromme_);
+ swap(_impl_.fromme_, other->_impl_.fromme_);
}
::PROTOBUF_NAMESPACE_ID::Metadata MessageKey::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[73]);
}
@@ -35665,7 +37136,7 @@ void MessageKey::InternalSwap(MessageKey* other) {
class WebFeatures::_Internal {
public:
- using HasBits = decltype(std::declval<WebFeatures>()._has_bits_);
+ using HasBits = decltype(std::declval<WebFeatures>()._impl_._has_bits_);
static void set_has_labelsdisplay(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -35791,97 +37262,177 @@ class WebFeatures::_Internal {
WebFeatures::WebFeatures(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.WebFeatures)
}
WebFeatures::WebFeatures(const WebFeatures& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ WebFeatures* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.labelsdisplay_){}
+ , decltype(_impl_.voipindividualoutgoing_){}
+ , decltype(_impl_.groupsv3_){}
+ , decltype(_impl_.groupsv3create_){}
+ , decltype(_impl_.changenumberv2_){}
+ , decltype(_impl_.querystatusv3thumbnail_){}
+ , decltype(_impl_.livelocations_){}
+ , decltype(_impl_.queryvname_){}
+ , decltype(_impl_.voipindividualincoming_){}
+ , decltype(_impl_.quickrepliesquery_){}
+ , decltype(_impl_.payments_){}
+ , decltype(_impl_.stickerpackquery_){}
+ , decltype(_impl_.livelocationsfinal_){}
+ , decltype(_impl_.labelsedit_){}
+ , decltype(_impl_.mediaupload_){}
+ , decltype(_impl_.mediauploadrichquickreplies_){}
+ , decltype(_impl_.vnamev2_){}
+ , decltype(_impl_.videoplaybackurl_){}
+ , decltype(_impl_.statusranking_){}
+ , decltype(_impl_.voipindividualvideo_){}
+ , decltype(_impl_.thirdpartystickers_){}
+ , decltype(_impl_.frequentlyforwardedsetting_){}
+ , decltype(_impl_.groupsv4joinpermission_){}
+ , decltype(_impl_.recentstickers_){}
+ , decltype(_impl_.catalog_){}
+ , decltype(_impl_.starredstickers_){}
+ , decltype(_impl_.voipgroupcall_){}
+ , decltype(_impl_.templatemessage_){}
+ , decltype(_impl_.templatemessageinteractivity_){}
+ , decltype(_impl_.ephemeralmessages_){}
+ , decltype(_impl_.e2enotificationsync_){}
+ , decltype(_impl_.recentstickersv2_){}
+ , decltype(_impl_.syncdrelease1_){}
+ , decltype(_impl_.recentstickersv3_){}
+ , decltype(_impl_.usernotice_){}
+ , decltype(_impl_.syncdrelease11_){}
+ , decltype(_impl_.support_){}
+ , decltype(_impl_.groupuiicleanup_){}
+ , decltype(_impl_.groupdogfoodinginternalonly_){}
+ , decltype(_impl_.settingssync_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- ::memcpy(&labelsdisplay_, &from.labelsdisplay_,
- static_cast<size_t>(reinterpret_cast<char*>(&settingssync_) -
- reinterpret_cast<char*>(&labelsdisplay_)) + sizeof(settingssync_));
+ ::memcpy(&_impl_.labelsdisplay_, &from._impl_.labelsdisplay_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.settingssync_) -
+ reinterpret_cast<char*>(&_impl_.labelsdisplay_)) + sizeof(_impl_.settingssync_));
// @@protoc_insertion_point(copy_constructor:proto.WebFeatures)
}
-void WebFeatures::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&labelsdisplay_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&settingssync_) -
- reinterpret_cast<char*>(&labelsdisplay_)) + sizeof(settingssync_));
+inline void WebFeatures::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.labelsdisplay_){0}
+ , decltype(_impl_.voipindividualoutgoing_){0}
+ , decltype(_impl_.groupsv3_){0}
+ , decltype(_impl_.groupsv3create_){0}
+ , decltype(_impl_.changenumberv2_){0}
+ , decltype(_impl_.querystatusv3thumbnail_){0}
+ , decltype(_impl_.livelocations_){0}
+ , decltype(_impl_.queryvname_){0}
+ , decltype(_impl_.voipindividualincoming_){0}
+ , decltype(_impl_.quickrepliesquery_){0}
+ , decltype(_impl_.payments_){0}
+ , decltype(_impl_.stickerpackquery_){0}
+ , decltype(_impl_.livelocationsfinal_){0}
+ , decltype(_impl_.labelsedit_){0}
+ , decltype(_impl_.mediaupload_){0}
+ , decltype(_impl_.mediauploadrichquickreplies_){0}
+ , decltype(_impl_.vnamev2_){0}
+ , decltype(_impl_.videoplaybackurl_){0}
+ , decltype(_impl_.statusranking_){0}
+ , decltype(_impl_.voipindividualvideo_){0}
+ , decltype(_impl_.thirdpartystickers_){0}
+ , decltype(_impl_.frequentlyforwardedsetting_){0}
+ , decltype(_impl_.groupsv4joinpermission_){0}
+ , decltype(_impl_.recentstickers_){0}
+ , decltype(_impl_.catalog_){0}
+ , decltype(_impl_.starredstickers_){0}
+ , decltype(_impl_.voipgroupcall_){0}
+ , decltype(_impl_.templatemessage_){0}
+ , decltype(_impl_.templatemessageinteractivity_){0}
+ , decltype(_impl_.ephemeralmessages_){0}
+ , decltype(_impl_.e2enotificationsync_){0}
+ , decltype(_impl_.recentstickersv2_){0}
+ , decltype(_impl_.syncdrelease1_){0}
+ , decltype(_impl_.recentstickersv3_){0}
+ , decltype(_impl_.usernotice_){0}
+ , decltype(_impl_.syncdrelease11_){0}
+ , decltype(_impl_.support_){0}
+ , decltype(_impl_.groupuiicleanup_){0}
+ , decltype(_impl_.groupdogfoodinginternalonly_){0}
+ , decltype(_impl_.settingssync_){0}
+ };
}
WebFeatures::~WebFeatures() {
// @@protoc_insertion_point(destructor:proto.WebFeatures)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void WebFeatures::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}
-void WebFeatures::ArenaDtor(void* object) {
- WebFeatures* _this = reinterpret_cast< WebFeatures* >(object);
- (void)_this;
-}
-void WebFeatures::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void WebFeatures::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void WebFeatures::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.WebFeatures)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
- ::memset(&labelsdisplay_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&queryvname_) -
- reinterpret_cast<char*>(&labelsdisplay_)) + sizeof(queryvname_));
+ ::memset(&_impl_.labelsdisplay_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.queryvname_) -
+ reinterpret_cast<char*>(&_impl_.labelsdisplay_)) + sizeof(_impl_.queryvname_));
}
if (cached_has_bits & 0x0000ff00u) {
- ::memset(&voipindividualincoming_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&mediauploadrichquickreplies_) -
- reinterpret_cast<char*>(&voipindividualincoming_)) + sizeof(mediauploadrichquickreplies_));
+ ::memset(&_impl_.voipindividualincoming_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.mediauploadrichquickreplies_) -
+ reinterpret_cast<char*>(&_impl_.voipindividualincoming_)) + sizeof(_impl_.mediauploadrichquickreplies_));
}
if (cached_has_bits & 0x00ff0000u) {
- ::memset(&vnamev2_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&recentstickers_) -
- reinterpret_cast<char*>(&vnamev2_)) + sizeof(recentstickers_));
+ ::memset(&_impl_.vnamev2_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.recentstickers_) -
+ reinterpret_cast<char*>(&_impl_.vnamev2_)) + sizeof(_impl_.recentstickers_));
}
if (cached_has_bits & 0xff000000u) {
- ::memset(&catalog_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&recentstickersv2_) -
- reinterpret_cast<char*>(&catalog_)) + sizeof(recentstickersv2_));
+ ::memset(&_impl_.catalog_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.recentstickersv2_) -
+ reinterpret_cast<char*>(&_impl_.catalog_)) + sizeof(_impl_.recentstickersv2_));
}
- cached_has_bits = _has_bits_[1];
+ cached_has_bits = _impl_._has_bits_[1];
if (cached_has_bits & 0x000000ffu) {
- ::memset(&syncdrelease1_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&settingssync_) -
- reinterpret_cast<char*>(&syncdrelease1_)) + sizeof(settingssync_));
+ ::memset(&_impl_.syncdrelease1_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.settingssync_) -
+ reinterpret_cast<char*>(&_impl_.syncdrelease1_)) + sizeof(_impl_.settingssync_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* WebFeatures::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.WebFeatures.WebFeaturesFlag labelsDisplay = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_labelsdisplay(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35893,8 +37444,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualOutgoing = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_voipindividualoutgoing(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35906,8 +37457,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag groupsV3 = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_groupsv3(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35919,8 +37470,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag groupsV3Create = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_groupsv3create(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35932,8 +37483,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag changeNumberV2 = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_changenumberv2(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35945,8 +37496,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag queryStatusV3Thumbnail = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_querystatusv3thumbnail(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35958,8 +37509,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag liveLocations = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_livelocations(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35971,8 +37522,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag queryVname = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 64)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_queryvname(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35984,8 +37535,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualIncoming = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_voipindividualincoming(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -35997,8 +37548,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag quickRepliesQuery = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_quickrepliesquery(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36010,8 +37561,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag payments = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_payments(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36023,8 +37574,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag stickerPackQuery = 12;
case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_stickerpackquery(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36036,8 +37587,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag liveLocationsFinal = 13;
case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 104)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_livelocationsfinal(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36049,8 +37600,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag labelsEdit = 14;
case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 112)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_labelsedit(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36062,8 +37613,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag mediaUpload = 15;
case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 120)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_mediaupload(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36075,8 +37626,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag mediaUploadRichQuickReplies = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 144)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_mediauploadrichquickreplies(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36088,8 +37639,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag vnameV2 = 19;
case 19:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 152)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 152)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_vnamev2(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36101,8 +37652,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag videoPlaybackUrl = 20;
case 20:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 160)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_videoplaybackurl(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36114,8 +37665,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag statusRanking = 21;
case 21:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 168)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_statusranking(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36127,8 +37678,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualVideo = 22;
case 22:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 176)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 176)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_voipindividualvideo(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36140,8 +37691,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag thirdPartyStickers = 23;
case 23:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 184)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_thirdpartystickers(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36153,8 +37704,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag frequentlyForwardedSetting = 24;
case 24:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 192)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 192)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_frequentlyforwardedsetting(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36166,8 +37717,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag groupsV4JoinPermission = 25;
case 25:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 200)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 200)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_groupsv4joinpermission(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36179,8 +37730,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag recentStickers = 26;
case 26:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 208)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 208)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_recentstickers(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36192,8 +37743,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag catalog = 27;
case 27:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 216)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 216)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_catalog(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36205,8 +37756,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag starredStickers = 28;
case 28:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 224)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 224)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_starredstickers(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36218,8 +37769,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag voipGroupCall = 29;
case 29:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 232)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 232)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_voipgroupcall(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36231,8 +37782,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag templateMessage = 30;
case 30:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 240)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 240)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_templatemessage(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36244,8 +37795,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag templateMessageInteractivity = 31;
case 31:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 248)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 248)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_templatemessageinteractivity(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36257,8 +37808,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag ephemeralMessages = 32;
case 32:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 0)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 0)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_ephemeralmessages(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36270,8 +37821,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag e2ENotificationSync = 33;
case 33:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_e2enotificationsync(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36283,8 +37834,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag recentStickersV2 = 34;
case 34:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_recentstickersv2(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36296,8 +37847,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag syncdRelease1 = 35;
case 35:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_syncdrelease1(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36309,8 +37860,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag recentStickersV3 = 36;
case 36:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_recentstickersv3(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36322,8 +37873,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag userNotice = 37;
case 37:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_usernotice(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36335,8 +37886,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag syncdRelease11 = 38;
case 38:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_syncdrelease11(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36348,8 +37899,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag support = 39;
case 39:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_support(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36361,8 +37912,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag groupUiiCleanup = 40;
case 40:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 64)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_groupuiicleanup(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36374,8 +37925,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag groupDogfoodingInternalOnly = 41;
case 41:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_groupdogfoodinginternalonly(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36387,8 +37938,8 @@ const char* WebFeatures::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.WebFeatures.WebFeaturesFlag settingsSync = 42;
case 42:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebFeatures_WebFeaturesFlag_IsValid(val))) {
_internal_set_settingssync(static_cast<::proto::WebFeatures_WebFeaturesFlag>(val));
@@ -36421,296 +37972,296 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* WebFeatures::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* WebFeatures::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.WebFeatures)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.WebFeatures.WebFeaturesFlag labelsDisplay = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this->_internal_labelsdisplay(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualOutgoing = 2;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
2, this->_internal_voipindividualoutgoing(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag groupsV3 = 3;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
3, this->_internal_groupsv3(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag groupsV3Create = 4;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
4, this->_internal_groupsv3create(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag changeNumberV2 = 5;
if (cached_has_bits & 0x00000010u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
5, this->_internal_changenumberv2(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag queryStatusV3Thumbnail = 6;
if (cached_has_bits & 0x00000020u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
6, this->_internal_querystatusv3thumbnail(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag liveLocations = 7;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this->_internal_livelocations(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag queryVname = 8;
if (cached_has_bits & 0x00000080u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
8, this->_internal_queryvname(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualIncoming = 9;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
9, this->_internal_voipindividualincoming(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag quickRepliesQuery = 10;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
10, this->_internal_quickrepliesquery(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag payments = 11;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
11, this->_internal_payments(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag stickerPackQuery = 12;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
12, this->_internal_stickerpackquery(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag liveLocationsFinal = 13;
if (cached_has_bits & 0x00001000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
13, this->_internal_livelocationsfinal(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag labelsEdit = 14;
if (cached_has_bits & 0x00002000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
14, this->_internal_labelsedit(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag mediaUpload = 15;
if (cached_has_bits & 0x00004000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
15, this->_internal_mediaupload(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag mediaUploadRichQuickReplies = 18;
if (cached_has_bits & 0x00008000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
18, this->_internal_mediauploadrichquickreplies(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag vnameV2 = 19;
if (cached_has_bits & 0x00010000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
19, this->_internal_vnamev2(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag videoPlaybackUrl = 20;
if (cached_has_bits & 0x00020000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
20, this->_internal_videoplaybackurl(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag statusRanking = 21;
if (cached_has_bits & 0x00040000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
21, this->_internal_statusranking(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualVideo = 22;
if (cached_has_bits & 0x00080000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
22, this->_internal_voipindividualvideo(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag thirdPartyStickers = 23;
if (cached_has_bits & 0x00100000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
23, this->_internal_thirdpartystickers(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag frequentlyForwardedSetting = 24;
if (cached_has_bits & 0x00200000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
24, this->_internal_frequentlyforwardedsetting(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag groupsV4JoinPermission = 25;
if (cached_has_bits & 0x00400000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
25, this->_internal_groupsv4joinpermission(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag recentStickers = 26;
if (cached_has_bits & 0x00800000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
26, this->_internal_recentstickers(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag catalog = 27;
if (cached_has_bits & 0x01000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
27, this->_internal_catalog(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag starredStickers = 28;
if (cached_has_bits & 0x02000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
28, this->_internal_starredstickers(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag voipGroupCall = 29;
if (cached_has_bits & 0x04000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
29, this->_internal_voipgroupcall(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag templateMessage = 30;
if (cached_has_bits & 0x08000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
30, this->_internal_templatemessage(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag templateMessageInteractivity = 31;
if (cached_has_bits & 0x10000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
31, this->_internal_templatemessageinteractivity(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag ephemeralMessages = 32;
if (cached_has_bits & 0x20000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
32, this->_internal_ephemeralmessages(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag e2ENotificationSync = 33;
if (cached_has_bits & 0x40000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
33, this->_internal_e2enotificationsync(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag recentStickersV2 = 34;
if (cached_has_bits & 0x80000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
34, this->_internal_recentstickersv2(), target);
}
- cached_has_bits = _has_bits_[1];
+ cached_has_bits = _impl_._has_bits_[1];
// optional .proto.WebFeatures.WebFeaturesFlag syncdRelease1 = 35;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
35, this->_internal_syncdrelease1(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag recentStickersV3 = 36;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
36, this->_internal_recentstickersv3(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag userNotice = 37;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
37, this->_internal_usernotice(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag syncdRelease11 = 38;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
38, this->_internal_syncdrelease11(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag support = 39;
if (cached_has_bits & 0x00000010u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
39, this->_internal_support(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag groupUiiCleanup = 40;
if (cached_has_bits & 0x00000020u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
40, this->_internal_groupuiicleanup(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag groupDogfoodingInternalOnly = 41;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
41, this->_internal_groupdogfoodinginternalonly(), target);
}
// optional .proto.WebFeatures.WebFeaturesFlag settingsSync = 42;
if (cached_has_bits & 0x00000080u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
42, this->_internal_settingssync(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.WebFeatures)
@@ -36721,58 +38272,58 @@ size_t WebFeatures::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.WebFeatures)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional .proto.WebFeatures.WebFeaturesFlag labelsDisplay = 1;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_labelsdisplay());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_labelsdisplay());
}
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualOutgoing = 2;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_voipindividualoutgoing());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_voipindividualoutgoing());
}
// optional .proto.WebFeatures.WebFeaturesFlag groupsV3 = 3;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_groupsv3());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_groupsv3());
}
// optional .proto.WebFeatures.WebFeaturesFlag groupsV3Create = 4;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_groupsv3create());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_groupsv3create());
}
// optional .proto.WebFeatures.WebFeaturesFlag changeNumberV2 = 5;
if (cached_has_bits & 0x00000010u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_changenumberv2());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_changenumberv2());
}
// optional .proto.WebFeatures.WebFeaturesFlag queryStatusV3Thumbnail = 6;
if (cached_has_bits & 0x00000020u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_querystatusv3thumbnail());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_querystatusv3thumbnail());
}
// optional .proto.WebFeatures.WebFeaturesFlag liveLocations = 7;
if (cached_has_bits & 0x00000040u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_livelocations());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_livelocations());
}
// optional .proto.WebFeatures.WebFeaturesFlag queryVname = 8;
if (cached_has_bits & 0x00000080u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_queryvname());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_queryvname());
}
}
@@ -36780,49 +38331,49 @@ size_t WebFeatures::ByteSizeLong() const {
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualIncoming = 9;
if (cached_has_bits & 0x00000100u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_voipindividualincoming());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_voipindividualincoming());
}
// optional .proto.WebFeatures.WebFeaturesFlag quickRepliesQuery = 10;
if (cached_has_bits & 0x00000200u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_quickrepliesquery());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_quickrepliesquery());
}
// optional .proto.WebFeatures.WebFeaturesFlag payments = 11;
if (cached_has_bits & 0x00000400u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_payments());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_payments());
}
// optional .proto.WebFeatures.WebFeaturesFlag stickerPackQuery = 12;
if (cached_has_bits & 0x00000800u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_stickerpackquery());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_stickerpackquery());
}
// optional .proto.WebFeatures.WebFeaturesFlag liveLocationsFinal = 13;
if (cached_has_bits & 0x00001000u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_livelocationsfinal());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_livelocationsfinal());
}
// optional .proto.WebFeatures.WebFeaturesFlag labelsEdit = 14;
if (cached_has_bits & 0x00002000u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_labelsedit());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_labelsedit());
}
// optional .proto.WebFeatures.WebFeaturesFlag mediaUpload = 15;
if (cached_has_bits & 0x00004000u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_mediaupload());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_mediaupload());
}
// optional .proto.WebFeatures.WebFeaturesFlag mediaUploadRichQuickReplies = 18;
if (cached_has_bits & 0x00008000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_mediauploadrichquickreplies());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_mediauploadrichquickreplies());
}
}
@@ -36830,49 +38381,49 @@ size_t WebFeatures::ByteSizeLong() const {
// optional .proto.WebFeatures.WebFeaturesFlag vnameV2 = 19;
if (cached_has_bits & 0x00010000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_vnamev2());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_vnamev2());
}
// optional .proto.WebFeatures.WebFeaturesFlag videoPlaybackUrl = 20;
if (cached_has_bits & 0x00020000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_videoplaybackurl());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_videoplaybackurl());
}
// optional .proto.WebFeatures.WebFeaturesFlag statusRanking = 21;
if (cached_has_bits & 0x00040000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_statusranking());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_statusranking());
}
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualVideo = 22;
if (cached_has_bits & 0x00080000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_voipindividualvideo());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_voipindividualvideo());
}
// optional .proto.WebFeatures.WebFeaturesFlag thirdPartyStickers = 23;
if (cached_has_bits & 0x00100000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_thirdpartystickers());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_thirdpartystickers());
}
// optional .proto.WebFeatures.WebFeaturesFlag frequentlyForwardedSetting = 24;
if (cached_has_bits & 0x00200000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_frequentlyforwardedsetting());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_frequentlyforwardedsetting());
}
// optional .proto.WebFeatures.WebFeaturesFlag groupsV4JoinPermission = 25;
if (cached_has_bits & 0x00400000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_groupsv4joinpermission());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_groupsv4joinpermission());
}
// optional .proto.WebFeatures.WebFeaturesFlag recentStickers = 26;
if (cached_has_bits & 0x00800000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_recentstickers());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_recentstickers());
}
}
@@ -36880,263 +38431,259 @@ size_t WebFeatures::ByteSizeLong() const {
// optional .proto.WebFeatures.WebFeaturesFlag catalog = 27;
if (cached_has_bits & 0x01000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_catalog());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_catalog());
}
// optional .proto.WebFeatures.WebFeaturesFlag starredStickers = 28;
if (cached_has_bits & 0x02000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_starredstickers());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_starredstickers());
}
// optional .proto.WebFeatures.WebFeaturesFlag voipGroupCall = 29;
if (cached_has_bits & 0x04000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_voipgroupcall());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_voipgroupcall());
}
// optional .proto.WebFeatures.WebFeaturesFlag templateMessage = 30;
if (cached_has_bits & 0x08000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_templatemessage());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_templatemessage());
}
// optional .proto.WebFeatures.WebFeaturesFlag templateMessageInteractivity = 31;
if (cached_has_bits & 0x10000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_templatemessageinteractivity());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_templatemessageinteractivity());
}
// optional .proto.WebFeatures.WebFeaturesFlag ephemeralMessages = 32;
if (cached_has_bits & 0x20000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_ephemeralmessages());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_ephemeralmessages());
}
// optional .proto.WebFeatures.WebFeaturesFlag e2ENotificationSync = 33;
if (cached_has_bits & 0x40000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_e2enotificationsync());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_e2enotificationsync());
}
// optional .proto.WebFeatures.WebFeaturesFlag recentStickersV2 = 34;
if (cached_has_bits & 0x80000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_recentstickersv2());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_recentstickersv2());
}
}
- cached_has_bits = _has_bits_[1];
+ cached_has_bits = _impl_._has_bits_[1];
if (cached_has_bits & 0x000000ffu) {
// optional .proto.WebFeatures.WebFeaturesFlag syncdRelease1 = 35;
if (cached_has_bits & 0x00000001u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_syncdrelease1());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_syncdrelease1());
}
// optional .proto.WebFeatures.WebFeaturesFlag recentStickersV3 = 36;
if (cached_has_bits & 0x00000002u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_recentstickersv3());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_recentstickersv3());
}
// optional .proto.WebFeatures.WebFeaturesFlag userNotice = 37;
if (cached_has_bits & 0x00000004u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_usernotice());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_usernotice());
}
// optional .proto.WebFeatures.WebFeaturesFlag syncdRelease11 = 38;
if (cached_has_bits & 0x00000008u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_syncdrelease11());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_syncdrelease11());
}
// optional .proto.WebFeatures.WebFeaturesFlag support = 39;
if (cached_has_bits & 0x00000010u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_support());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_support());
}
// optional .proto.WebFeatures.WebFeaturesFlag groupUiiCleanup = 40;
if (cached_has_bits & 0x00000020u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_groupuiicleanup());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_groupuiicleanup());
}
// optional .proto.WebFeatures.WebFeaturesFlag groupDogfoodingInternalOnly = 41;
if (cached_has_bits & 0x00000040u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_groupdogfoodinginternalonly());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_groupdogfoodinginternalonly());
}
// optional .proto.WebFeatures.WebFeaturesFlag settingsSync = 42;
if (cached_has_bits & 0x00000080u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_settingssync());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_settingssync());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WebFeatures::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
WebFeatures::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WebFeatures::GetClassData() const { return &_class_data_; }
-void WebFeatures::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<WebFeatures *>(to)->MergeFrom(
- static_cast<const WebFeatures &>(from));
-}
-
-void WebFeatures::MergeFrom(const WebFeatures& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.WebFeatures)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void WebFeatures::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<WebFeatures*>(&to_msg);
+ auto& from = static_cast<const WebFeatures&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.WebFeatures)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- labelsdisplay_ = from.labelsdisplay_;
+ _this->_impl_.labelsdisplay_ = from._impl_.labelsdisplay_;
}
if (cached_has_bits & 0x00000002u) {
- voipindividualoutgoing_ = from.voipindividualoutgoing_;
+ _this->_impl_.voipindividualoutgoing_ = from._impl_.voipindividualoutgoing_;
}
if (cached_has_bits & 0x00000004u) {
- groupsv3_ = from.groupsv3_;
+ _this->_impl_.groupsv3_ = from._impl_.groupsv3_;
}
if (cached_has_bits & 0x00000008u) {
- groupsv3create_ = from.groupsv3create_;
+ _this->_impl_.groupsv3create_ = from._impl_.groupsv3create_;
}
if (cached_has_bits & 0x00000010u) {
- changenumberv2_ = from.changenumberv2_;
+ _this->_impl_.changenumberv2_ = from._impl_.changenumberv2_;
}
if (cached_has_bits & 0x00000020u) {
- querystatusv3thumbnail_ = from.querystatusv3thumbnail_;
+ _this->_impl_.querystatusv3thumbnail_ = from._impl_.querystatusv3thumbnail_;
}
if (cached_has_bits & 0x00000040u) {
- livelocations_ = from.livelocations_;
+ _this->_impl_.livelocations_ = from._impl_.livelocations_;
}
if (cached_has_bits & 0x00000080u) {
- queryvname_ = from.queryvname_;
+ _this->_impl_.queryvname_ = from._impl_.queryvname_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x0000ff00u) {
if (cached_has_bits & 0x00000100u) {
- voipindividualincoming_ = from.voipindividualincoming_;
+ _this->_impl_.voipindividualincoming_ = from._impl_.voipindividualincoming_;
}
if (cached_has_bits & 0x00000200u) {
- quickrepliesquery_ = from.quickrepliesquery_;
+ _this->_impl_.quickrepliesquery_ = from._impl_.quickrepliesquery_;
}
if (cached_has_bits & 0x00000400u) {
- payments_ = from.payments_;
+ _this->_impl_.payments_ = from._impl_.payments_;
}
if (cached_has_bits & 0x00000800u) {
- stickerpackquery_ = from.stickerpackquery_;
+ _this->_impl_.stickerpackquery_ = from._impl_.stickerpackquery_;
}
if (cached_has_bits & 0x00001000u) {
- livelocationsfinal_ = from.livelocationsfinal_;
+ _this->_impl_.livelocationsfinal_ = from._impl_.livelocationsfinal_;
}
if (cached_has_bits & 0x00002000u) {
- labelsedit_ = from.labelsedit_;
+ _this->_impl_.labelsedit_ = from._impl_.labelsedit_;
}
if (cached_has_bits & 0x00004000u) {
- mediaupload_ = from.mediaupload_;
+ _this->_impl_.mediaupload_ = from._impl_.mediaupload_;
}
if (cached_has_bits & 0x00008000u) {
- mediauploadrichquickreplies_ = from.mediauploadrichquickreplies_;
+ _this->_impl_.mediauploadrichquickreplies_ = from._impl_.mediauploadrichquickreplies_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x00ff0000u) {
if (cached_has_bits & 0x00010000u) {
- vnamev2_ = from.vnamev2_;
+ _this->_impl_.vnamev2_ = from._impl_.vnamev2_;
}
if (cached_has_bits & 0x00020000u) {
- videoplaybackurl_ = from.videoplaybackurl_;
+ _this->_impl_.videoplaybackurl_ = from._impl_.videoplaybackurl_;
}
if (cached_has_bits & 0x00040000u) {
- statusranking_ = from.statusranking_;
+ _this->_impl_.statusranking_ = from._impl_.statusranking_;
}
if (cached_has_bits & 0x00080000u) {
- voipindividualvideo_ = from.voipindividualvideo_;
+ _this->_impl_.voipindividualvideo_ = from._impl_.voipindividualvideo_;
}
if (cached_has_bits & 0x00100000u) {
- thirdpartystickers_ = from.thirdpartystickers_;
+ _this->_impl_.thirdpartystickers_ = from._impl_.thirdpartystickers_;
}
if (cached_has_bits & 0x00200000u) {
- frequentlyforwardedsetting_ = from.frequentlyforwardedsetting_;
+ _this->_impl_.frequentlyforwardedsetting_ = from._impl_.frequentlyforwardedsetting_;
}
if (cached_has_bits & 0x00400000u) {
- groupsv4joinpermission_ = from.groupsv4joinpermission_;
+ _this->_impl_.groupsv4joinpermission_ = from._impl_.groupsv4joinpermission_;
}
if (cached_has_bits & 0x00800000u) {
- recentstickers_ = from.recentstickers_;
+ _this->_impl_.recentstickers_ = from._impl_.recentstickers_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0xff000000u) {
if (cached_has_bits & 0x01000000u) {
- catalog_ = from.catalog_;
+ _this->_impl_.catalog_ = from._impl_.catalog_;
}
if (cached_has_bits & 0x02000000u) {
- starredstickers_ = from.starredstickers_;
+ _this->_impl_.starredstickers_ = from._impl_.starredstickers_;
}
if (cached_has_bits & 0x04000000u) {
- voipgroupcall_ = from.voipgroupcall_;
+ _this->_impl_.voipgroupcall_ = from._impl_.voipgroupcall_;
}
if (cached_has_bits & 0x08000000u) {
- templatemessage_ = from.templatemessage_;
+ _this->_impl_.templatemessage_ = from._impl_.templatemessage_;
}
if (cached_has_bits & 0x10000000u) {
- templatemessageinteractivity_ = from.templatemessageinteractivity_;
+ _this->_impl_.templatemessageinteractivity_ = from._impl_.templatemessageinteractivity_;
}
if (cached_has_bits & 0x20000000u) {
- ephemeralmessages_ = from.ephemeralmessages_;
+ _this->_impl_.ephemeralmessages_ = from._impl_.ephemeralmessages_;
}
if (cached_has_bits & 0x40000000u) {
- e2enotificationsync_ = from.e2enotificationsync_;
+ _this->_impl_.e2enotificationsync_ = from._impl_.e2enotificationsync_;
}
if (cached_has_bits & 0x80000000u) {
- recentstickersv2_ = from.recentstickersv2_;
+ _this->_impl_.recentstickersv2_ = from._impl_.recentstickersv2_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- cached_has_bits = from._has_bits_[1];
+ cached_has_bits = from._impl_._has_bits_[1];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- syncdrelease1_ = from.syncdrelease1_;
+ _this->_impl_.syncdrelease1_ = from._impl_.syncdrelease1_;
}
if (cached_has_bits & 0x00000002u) {
- recentstickersv3_ = from.recentstickersv3_;
+ _this->_impl_.recentstickersv3_ = from._impl_.recentstickersv3_;
}
if (cached_has_bits & 0x00000004u) {
- usernotice_ = from.usernotice_;
+ _this->_impl_.usernotice_ = from._impl_.usernotice_;
}
if (cached_has_bits & 0x00000008u) {
- syncdrelease11_ = from.syncdrelease11_;
+ _this->_impl_.syncdrelease11_ = from._impl_.syncdrelease11_;
}
if (cached_has_bits & 0x00000010u) {
- support_ = from.support_;
+ _this->_impl_.support_ = from._impl_.support_;
}
if (cached_has_bits & 0x00000020u) {
- groupuiicleanup_ = from.groupuiicleanup_;
+ _this->_impl_.groupuiicleanup_ = from._impl_.groupuiicleanup_;
}
if (cached_has_bits & 0x00000040u) {
- groupdogfoodinginternalonly_ = from.groupdogfoodinginternalonly_;
+ _this->_impl_.groupdogfoodinginternalonly_ = from._impl_.groupdogfoodinginternalonly_;
}
if (cached_has_bits & 0x00000080u) {
- settingssync_ = from.settingssync_;
+ _this->_impl_.settingssync_ = from._impl_.settingssync_;
}
- _has_bits_[1] |= cached_has_bits;
+ _this->_impl_._has_bits_[1] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void WebFeatures::CopyFrom(const WebFeatures& from) {
@@ -37153,18 +38700,18 @@ bool WebFeatures::IsInitialized() const {
void WebFeatures::InternalSwap(WebFeatures* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- swap(_has_bits_[1], other->_has_bits_[1]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(WebFeatures, settingssync_)
- + sizeof(WebFeatures::settingssync_)
- - PROTOBUF_FIELD_OFFSET(WebFeatures, labelsdisplay_)>(
- reinterpret_cast<char*>(&labelsdisplay_),
- reinterpret_cast<char*>(&other->labelsdisplay_));
+ PROTOBUF_FIELD_OFFSET(WebFeatures, _impl_.settingssync_)
+ + sizeof(WebFeatures::_impl_.settingssync_)
+ - PROTOBUF_FIELD_OFFSET(WebFeatures, _impl_.labelsdisplay_)>(
+ reinterpret_cast<char*>(&_impl_.labelsdisplay_),
+ reinterpret_cast<char*>(&other->_impl_.labelsdisplay_));
}
::PROTOBUF_NAMESPACE_ID::Metadata WebFeatures::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[74]);
}
@@ -37173,7 +38720,7 @@ void WebFeatures::InternalSwap(WebFeatures* other) {
class NotificationMessageInfo::_Internal {
public:
- using HasBits = decltype(std::declval<NotificationMessageInfo>()._has_bits_);
+ using HasBits = decltype(std::declval<NotificationMessageInfo>()._impl_._has_bits_);
static const ::proto::MessageKey& key(const NotificationMessageInfo* msg);
static void set_has_key(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
@@ -37192,111 +38739,121 @@ class NotificationMessageInfo::_Internal {
const ::proto::MessageKey&
NotificationMessageInfo::_Internal::key(const NotificationMessageInfo* msg) {
- return *msg->key_;
+ return *msg->_impl_.key_;
}
const ::proto::Message&
NotificationMessageInfo::_Internal::message(const NotificationMessageInfo* msg) {
- return *msg->message_;
+ return *msg->_impl_.message_;
}
NotificationMessageInfo::NotificationMessageInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.NotificationMessageInfo)
}
NotificationMessageInfo::NotificationMessageInfo(const NotificationMessageInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ NotificationMessageInfo* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.participant_){}
+ , decltype(_impl_.key_){nullptr}
+ , decltype(_impl_.message_){nullptr}
+ , decltype(_impl_.messagetimestamp_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- participant_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.participant_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_participant()) {
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_participant(),
- GetArenaForAllocation());
+ _this->_impl_.participant_.Set(from._internal_participant(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_key()) {
- key_ = new ::proto::MessageKey(*from.key_);
- } else {
- key_ = nullptr;
+ _this->_impl_.key_ = new ::proto::MessageKey(*from._impl_.key_);
}
if (from._internal_has_message()) {
- message_ = new ::proto::Message(*from.message_);
- } else {
- message_ = nullptr;
+ _this->_impl_.message_ = new ::proto::Message(*from._impl_.message_);
}
- messagetimestamp_ = from.messagetimestamp_;
+ _this->_impl_.messagetimestamp_ = from._impl_.messagetimestamp_;
// @@protoc_insertion_point(copy_constructor:proto.NotificationMessageInfo)
}
-void NotificationMessageInfo::SharedCtor() {
-participant_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&key_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&messagetimestamp_) -
- reinterpret_cast<char*>(&key_)) + sizeof(messagetimestamp_));
+inline void NotificationMessageInfo::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.participant_){}
+ , decltype(_impl_.key_){nullptr}
+ , decltype(_impl_.message_){nullptr}
+ , decltype(_impl_.messagetimestamp_){uint64_t{0u}}
+ };
+ _impl_.participant_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
NotificationMessageInfo::~NotificationMessageInfo() {
// @@protoc_insertion_point(destructor:proto.NotificationMessageInfo)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void NotificationMessageInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- participant_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete key_;
- if (this != internal_default_instance()) delete message_;
+ _impl_.participant_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.key_;
+ if (this != internal_default_instance()) delete _impl_.message_;
}
-void NotificationMessageInfo::ArenaDtor(void* object) {
- NotificationMessageInfo* _this = reinterpret_cast< NotificationMessageInfo* >(object);
- (void)_this;
-}
-void NotificationMessageInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void NotificationMessageInfo::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void NotificationMessageInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.NotificationMessageInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- participant_.ClearNonDefaultToEmpty();
+ _impl_.participant_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- GOOGLE_DCHECK(key_ != nullptr);
- key_->Clear();
+ GOOGLE_DCHECK(_impl_.key_ != nullptr);
+ _impl_.key_->Clear();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(message_ != nullptr);
- message_->Clear();
+ GOOGLE_DCHECK(_impl_.message_ != nullptr);
+ _impl_.message_->Clear();
}
}
- messagetimestamp_ = uint64_t{0u};
- _has_bits_.Clear();
+ _impl_.messagetimestamp_ = uint64_t{0u};
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* NotificationMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* NotificationMessageInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.MessageKey key = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_key(), ptr);
CHK_(ptr);
} else
@@ -37304,7 +38861,7 @@ const char* NotificationMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// optional .proto.Message message = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_message(), ptr);
CHK_(ptr);
} else
@@ -37312,22 +38869,22 @@ const char* NotificationMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_
continue;
// optional uint64 messageTimestamp = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_messagetimestamp(&has_bits);
- messagetimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.messagetimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string participant = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_participant();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.NotificationMessageInfo.participant");
+ ::_pbi::VerifyUTF8(str, "proto.NotificationMessageInfo.participant");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -37347,7 +38904,7 @@ const char* NotificationMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -37355,33 +38912,31 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* NotificationMessageInfo::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* NotificationMessageInfo::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.NotificationMessageInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.MessageKey key = 1;
if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::key(this), target, stream);
+ InternalWriteMessage(1, _Internal::key(this),
+ _Internal::key(this).GetCachedSize(), target, stream);
}
// optional .proto.Message message = 2;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::message(this), target, stream);
+ InternalWriteMessage(2, _Internal::message(this),
+ _Internal::message(this).GetCachedSize(), target, stream);
}
// optional uint64 messageTimestamp = 3;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(3, this->_internal_messagetimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_messagetimestamp(), target);
}
// optional string participant = 4;
@@ -37395,7 +38950,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.NotificationMessageInfo)
@@ -37406,11 +38961,11 @@ size_t NotificationMessageInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.NotificationMessageInfo)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string participant = 4;
if (cached_has_bits & 0x00000001u) {
@@ -37423,61 +38978,59 @@ size_t NotificationMessageInfo::ByteSizeLong() const {
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *key_);
+ *_impl_.key_);
}
// optional .proto.Message message = 2;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *message_);
+ *_impl_.message_);
}
// optional uint64 messageTimestamp = 3;
if (cached_has_bits & 0x00000008u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_messagetimestamp());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_messagetimestamp());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NotificationMessageInfo::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
NotificationMessageInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NotificationMessageInfo::GetClassData() const { return &_class_data_; }
-void NotificationMessageInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<NotificationMessageInfo *>(to)->MergeFrom(
- static_cast<const NotificationMessageInfo &>(from));
-}
-
-void NotificationMessageInfo::MergeFrom(const NotificationMessageInfo& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.NotificationMessageInfo)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void NotificationMessageInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<NotificationMessageInfo*>(&to_msg);
+ auto& from = static_cast<const NotificationMessageInfo&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.NotificationMessageInfo)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_participant(from._internal_participant());
+ _this->_internal_set_participant(from._internal_participant());
}
if (cached_has_bits & 0x00000002u) {
- _internal_mutable_key()->::proto::MessageKey::MergeFrom(from._internal_key());
+ _this->_internal_mutable_key()->::proto::MessageKey::MergeFrom(
+ from._internal_key());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_message()->::proto::Message::MergeFrom(from._internal_message());
+ _this->_internal_mutable_message()->::proto::Message::MergeFrom(
+ from._internal_message());
}
if (cached_has_bits & 0x00000008u) {
- messagetimestamp_ = from.messagetimestamp_;
+ _this->_impl_.messagetimestamp_ = from._impl_.messagetimestamp_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void NotificationMessageInfo::CopyFrom(const NotificationMessageInfo& from) {
@@ -37496,22 +39049,21 @@ void NotificationMessageInfo::InternalSwap(NotificationMessageInfo* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &participant_, lhs_arena,
- &other->participant_, rhs_arena
+ &_impl_.participant_, lhs_arena,
+ &other->_impl_.participant_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(NotificationMessageInfo, messagetimestamp_)
- + sizeof(NotificationMessageInfo::messagetimestamp_)
- - PROTOBUF_FIELD_OFFSET(NotificationMessageInfo, key_)>(
- reinterpret_cast<char*>(&key_),
- reinterpret_cast<char*>(&other->key_));
+ PROTOBUF_FIELD_OFFSET(NotificationMessageInfo, _impl_.messagetimestamp_)
+ + sizeof(NotificationMessageInfo::_impl_.messagetimestamp_)
+ - PROTOBUF_FIELD_OFFSET(NotificationMessageInfo, _impl_.key_)>(
+ reinterpret_cast<char*>(&_impl_.key_),
+ reinterpret_cast<char*>(&other->_impl_.key_));
}
::PROTOBUF_NAMESPACE_ID::Metadata NotificationMessageInfo::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[75]);
}
@@ -37520,7 +39072,7 @@ void NotificationMessageInfo::InternalSwap(NotificationMessageInfo* other) {
class WebNotificationsInfo::_Internal {
public:
- using HasBits = decltype(std::declval<WebNotificationsInfo>()._has_bits_);
+ using HasBits = decltype(std::declval<WebNotificationsInfo>()._impl_._has_bits_);
static void set_has_timestamp(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
@@ -37534,107 +39086,114 @@ class WebNotificationsInfo::_Internal {
WebNotificationsInfo::WebNotificationsInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- notifymessages_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.WebNotificationsInfo)
}
WebNotificationsInfo::WebNotificationsInfo(const WebNotificationsInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- notifymessages_(from.notifymessages_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ WebNotificationsInfo* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.notifymessages_){from._impl_.notifymessages_}
+ , decltype(_impl_.timestamp_){}
+ , decltype(_impl_.unreadchats_){}
+ , decltype(_impl_.notifymessagecount_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- ::memcpy(&timestamp_, &from.timestamp_,
- static_cast<size_t>(reinterpret_cast<char*>(&notifymessagecount_) -
- reinterpret_cast<char*>(&timestamp_)) + sizeof(notifymessagecount_));
+ ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.notifymessagecount_) -
+ reinterpret_cast<char*>(&_impl_.timestamp_)) + sizeof(_impl_.notifymessagecount_));
// @@protoc_insertion_point(copy_constructor:proto.WebNotificationsInfo)
}
-void WebNotificationsInfo::SharedCtor() {
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&timestamp_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&notifymessagecount_) -
- reinterpret_cast<char*>(&timestamp_)) + sizeof(notifymessagecount_));
+inline void WebNotificationsInfo::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.notifymessages_){arena}
+ , decltype(_impl_.timestamp_){uint64_t{0u}}
+ , decltype(_impl_.unreadchats_){0u}
+ , decltype(_impl_.notifymessagecount_){0u}
+ };
}
WebNotificationsInfo::~WebNotificationsInfo() {
// @@protoc_insertion_point(destructor:proto.WebNotificationsInfo)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void WebNotificationsInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.notifymessages_.~RepeatedPtrField();
}
-void WebNotificationsInfo::ArenaDtor(void* object) {
- WebNotificationsInfo* _this = reinterpret_cast< WebNotificationsInfo* >(object);
- (void)_this;
-}
-void WebNotificationsInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void WebNotificationsInfo::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void WebNotificationsInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.WebNotificationsInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- notifymessages_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.notifymessages_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
- ::memset(&timestamp_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&notifymessagecount_) -
- reinterpret_cast<char*>(&timestamp_)) + sizeof(notifymessagecount_));
+ ::memset(&_impl_.timestamp_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.notifymessagecount_) -
+ reinterpret_cast<char*>(&_impl_.timestamp_)) + sizeof(_impl_.notifymessagecount_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* WebNotificationsInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* WebNotificationsInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional uint64 timestamp = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_timestamp(&has_bits);
- timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 unreadChats = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_unreadchats(&has_bits);
- unreadchats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.unreadchats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 notifyMessageCount = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
_Internal::set_has_notifymessagecount(&has_bits);
- notifymessagecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.notifymessagecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated .proto.WebMessageInfo notifyMessages = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
ptr -= 1;
do {
ptr += 1;
@@ -37661,7 +39220,7 @@ const char* WebNotificationsInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAM
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -37669,41 +39228,41 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* WebNotificationsInfo::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* WebNotificationsInfo::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.WebNotificationsInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional uint64 timestamp = 2;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_timestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_timestamp(), target);
}
// optional uint32 unreadChats = 3;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_unreadchats(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_unreadchats(), target);
}
// optional uint32 notifyMessageCount = 4;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_notifymessagecount(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_notifymessagecount(), target);
}
// repeated .proto.WebMessageInfo notifyMessages = 5;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->_internal_notifymessages_size()); i < n; i++) {
- target = stream->EnsureSpace(target);
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_notifymessages_size()); i < n; i++) {
+ const auto& repfield = this->_internal_notifymessages(i);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(5, this->_internal_notifymessages(i), target, stream);
+ InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.WebNotificationsInfo)
@@ -37714,72 +39273,68 @@ size_t WebNotificationsInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.WebNotificationsInfo)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated .proto.WebMessageInfo notifyMessages = 5;
total_size += 1UL * this->_internal_notifymessages_size();
- for (const auto& msg : this->notifymessages_) {
+ for (const auto& msg : this->_impl_.notifymessages_) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// optional uint64 timestamp = 2;
if (cached_has_bits & 0x00000001u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp());
}
// optional uint32 unreadChats = 3;
if (cached_has_bits & 0x00000002u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_unreadchats());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_unreadchats());
}
// optional uint32 notifyMessageCount = 4;
if (cached_has_bits & 0x00000004u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_notifymessagecount());
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_notifymessagecount());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WebNotificationsInfo::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
WebNotificationsInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WebNotificationsInfo::GetClassData() const { return &_class_data_; }
-void WebNotificationsInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<WebNotificationsInfo *>(to)->MergeFrom(
- static_cast<const WebNotificationsInfo &>(from));
-}
-
-void WebNotificationsInfo::MergeFrom(const WebNotificationsInfo& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.WebNotificationsInfo)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void WebNotificationsInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<WebNotificationsInfo*>(&to_msg);
+ auto& from = static_cast<const WebNotificationsInfo&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.WebNotificationsInfo)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- notifymessages_.MergeFrom(from.notifymessages_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.notifymessages_.MergeFrom(from._impl_.notifymessages_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
- timestamp_ = from.timestamp_;
+ _this->_impl_.timestamp_ = from._impl_.timestamp_;
}
if (cached_has_bits & 0x00000002u) {
- unreadchats_ = from.unreadchats_;
+ _this->_impl_.unreadchats_ = from._impl_.unreadchats_;
}
if (cached_has_bits & 0x00000004u) {
- notifymessagecount_ = from.notifymessagecount_;
+ _this->_impl_.notifymessagecount_ = from._impl_.notifymessagecount_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void WebNotificationsInfo::CopyFrom(const WebNotificationsInfo& from) {
@@ -37790,25 +39345,26 @@ void WebNotificationsInfo::CopyFrom(const WebNotificationsInfo& from) {
}
bool WebNotificationsInfo::IsInitialized() const {
- if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(notifymessages_)) return false;
+ if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.notifymessages_))
+ return false;
return true;
}
void WebNotificationsInfo::InternalSwap(WebNotificationsInfo* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- notifymessages_.InternalSwap(&other->notifymessages_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.notifymessages_.InternalSwap(&other->_impl_.notifymessages_);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(WebNotificationsInfo, notifymessagecount_)
- + sizeof(WebNotificationsInfo::notifymessagecount_)
- - PROTOBUF_FIELD_OFFSET(WebNotificationsInfo, timestamp_)>(
- reinterpret_cast<char*>(&timestamp_),
- reinterpret_cast<char*>(&other->timestamp_));
+ PROTOBUF_FIELD_OFFSET(WebNotificationsInfo, _impl_.notifymessagecount_)
+ + sizeof(WebNotificationsInfo::_impl_.notifymessagecount_)
+ - PROTOBUF_FIELD_OFFSET(WebNotificationsInfo, _impl_.timestamp_)>(
+ reinterpret_cast<char*>(&_impl_.timestamp_),
+ reinterpret_cast<char*>(&other->_impl_.timestamp_));
}
::PROTOBUF_NAMESPACE_ID::Metadata WebNotificationsInfo::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[76]);
}
@@ -37817,7 +39373,7 @@ void WebNotificationsInfo::InternalSwap(WebNotificationsInfo* other) {
class PaymentInfo::_Internal {
public:
- using HasBits = decltype(std::declval<PaymentInfo>()._has_bits_);
+ using HasBits = decltype(std::declval<PaymentInfo>()._impl_._has_bits_);
static void set_has_currencydeprecated(HasBits* has_bits) {
(*has_bits)[0] |= 64u;
}
@@ -37864,147 +39420,179 @@ class PaymentInfo::_Internal {
const ::proto::MessageKey&
PaymentInfo::_Internal::requestmessagekey(const PaymentInfo* msg) {
- return *msg->requestmessagekey_;
+ return *msg->_impl_.requestmessagekey_;
}
const ::proto::PaymentMoney&
PaymentInfo::_Internal::primaryamount(const PaymentInfo* msg) {
- return *msg->primaryamount_;
+ return *msg->_impl_.primaryamount_;
}
const ::proto::PaymentMoney&
PaymentInfo::_Internal::exchangeamount(const PaymentInfo* msg) {
- return *msg->exchangeamount_;
+ return *msg->_impl_.exchangeamount_;
}
PaymentInfo::PaymentInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.PaymentInfo)
}
PaymentInfo::PaymentInfo(const PaymentInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ PaymentInfo* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.receiverjid_){}
+ , decltype(_impl_.currency_){}
+ , decltype(_impl_.requestmessagekey_){nullptr}
+ , decltype(_impl_.primaryamount_){nullptr}
+ , decltype(_impl_.exchangeamount_){nullptr}
+ , decltype(_impl_.amount1000_){}
+ , decltype(_impl_.currencydeprecated_){}
+ , decltype(_impl_.status_){}
+ , decltype(_impl_.transactiontimestamp_){}
+ , decltype(_impl_.expirytimestamp_){}
+ , decltype(_impl_.futureproofed_){}
+ , decltype(_impl_.usenovifiatformat_){}
+ , decltype(_impl_.txnstatus_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- receiverjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.receiverjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.receiverjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_receiverjid()) {
- receiverjid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_receiverjid(),
- GetArenaForAllocation());
+ _this->_impl_.receiverjid_.Set(from._internal_receiverjid(),
+ _this->GetArenaForAllocation());
}
- currency_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.currency_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currency_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_currency()) {
- currency_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_currency(),
- GetArenaForAllocation());
+ _this->_impl_.currency_.Set(from._internal_currency(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_requestmessagekey()) {
- requestmessagekey_ = new ::proto::MessageKey(*from.requestmessagekey_);
- } else {
- requestmessagekey_ = nullptr;
+ _this->_impl_.requestmessagekey_ = new ::proto::MessageKey(*from._impl_.requestmessagekey_);
}
if (from._internal_has_primaryamount()) {
- primaryamount_ = new ::proto::PaymentMoney(*from.primaryamount_);
- } else {
- primaryamount_ = nullptr;
+ _this->_impl_.primaryamount_ = new ::proto::PaymentMoney(*from._impl_.primaryamount_);
}
if (from._internal_has_exchangeamount()) {
- exchangeamount_ = new ::proto::PaymentMoney(*from.exchangeamount_);
- } else {
- exchangeamount_ = nullptr;
+ _this->_impl_.exchangeamount_ = new ::proto::PaymentMoney(*from._impl_.exchangeamount_);
}
- ::memcpy(&amount1000_, &from.amount1000_,
- static_cast<size_t>(reinterpret_cast<char*>(&txnstatus_) -
- reinterpret_cast<char*>(&amount1000_)) + sizeof(txnstatus_));
+ ::memcpy(&_impl_.amount1000_, &from._impl_.amount1000_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.txnstatus_) -
+ reinterpret_cast<char*>(&_impl_.amount1000_)) + sizeof(_impl_.txnstatus_));
// @@protoc_insertion_point(copy_constructor:proto.PaymentInfo)
}
-void PaymentInfo::SharedCtor() {
-receiverjid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-currency_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&requestmessagekey_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&txnstatus_) -
- reinterpret_cast<char*>(&requestmessagekey_)) + sizeof(txnstatus_));
+inline void PaymentInfo::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.receiverjid_){}
+ , decltype(_impl_.currency_){}
+ , decltype(_impl_.requestmessagekey_){nullptr}
+ , decltype(_impl_.primaryamount_){nullptr}
+ , decltype(_impl_.exchangeamount_){nullptr}
+ , decltype(_impl_.amount1000_){uint64_t{0u}}
+ , decltype(_impl_.currencydeprecated_){0}
+ , decltype(_impl_.status_){0}
+ , decltype(_impl_.transactiontimestamp_){uint64_t{0u}}
+ , decltype(_impl_.expirytimestamp_){uint64_t{0u}}
+ , decltype(_impl_.futureproofed_){false}
+ , decltype(_impl_.usenovifiatformat_){false}
+ , decltype(_impl_.txnstatus_){0}
+ };
+ _impl_.receiverjid_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.receiverjid_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currency_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.currency_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
PaymentInfo::~PaymentInfo() {
// @@protoc_insertion_point(destructor:proto.PaymentInfo)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void PaymentInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- receiverjid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- currency_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete requestmessagekey_;
- if (this != internal_default_instance()) delete primaryamount_;
- if (this != internal_default_instance()) delete exchangeamount_;
+ _impl_.receiverjid_.Destroy();
+ _impl_.currency_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.requestmessagekey_;
+ if (this != internal_default_instance()) delete _impl_.primaryamount_;
+ if (this != internal_default_instance()) delete _impl_.exchangeamount_;
}
-void PaymentInfo::ArenaDtor(void* object) {
- PaymentInfo* _this = reinterpret_cast< PaymentInfo* >(object);
- (void)_this;
-}
-void PaymentInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void PaymentInfo::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void PaymentInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.PaymentInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000001fu) {
if (cached_has_bits & 0x00000001u) {
- receiverjid_.ClearNonDefaultToEmpty();
+ _impl_.receiverjid_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- currency_.ClearNonDefaultToEmpty();
+ _impl_.currency_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- GOOGLE_DCHECK(requestmessagekey_ != nullptr);
- requestmessagekey_->Clear();
+ GOOGLE_DCHECK(_impl_.requestmessagekey_ != nullptr);
+ _impl_.requestmessagekey_->Clear();
}
if (cached_has_bits & 0x00000008u) {
- GOOGLE_DCHECK(primaryamount_ != nullptr);
- primaryamount_->Clear();
+ GOOGLE_DCHECK(_impl_.primaryamount_ != nullptr);
+ _impl_.primaryamount_->Clear();
}
if (cached_has_bits & 0x00000010u) {
- GOOGLE_DCHECK(exchangeamount_ != nullptr);
- exchangeamount_->Clear();
+ GOOGLE_DCHECK(_impl_.exchangeamount_ != nullptr);
+ _impl_.exchangeamount_->Clear();
}
}
if (cached_has_bits & 0x000000e0u) {
- ::memset(&amount1000_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&status_) -
- reinterpret_cast<char*>(&amount1000_)) + sizeof(status_));
+ ::memset(&_impl_.amount1000_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.status_) -
+ reinterpret_cast<char*>(&_impl_.amount1000_)) + sizeof(_impl_.status_));
}
if (cached_has_bits & 0x00001f00u) {
- ::memset(&transactiontimestamp_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&txnstatus_) -
- reinterpret_cast<char*>(&transactiontimestamp_)) + sizeof(txnstatus_));
+ ::memset(&_impl_.transactiontimestamp_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.txnstatus_) -
+ reinterpret_cast<char*>(&_impl_.transactiontimestamp_)) + sizeof(_impl_.txnstatus_));
}
- _has_bits_.Clear();
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* PaymentInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* PaymentInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// optional .proto.PaymentInfo.PaymentInfoCurrency currencyDeprecated = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::PaymentInfo_PaymentInfoCurrency_IsValid(val))) {
_internal_set_currencydeprecated(static_cast<::proto::PaymentInfo_PaymentInfoCurrency>(val));
@@ -38016,29 +39604,29 @@ const char* PaymentInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional uint64 amount1000 = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_amount1000(&has_bits);
- amount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.amount1000_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string receiverJid = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_receiverjid();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.PaymentInfo.receiverJid");
+ ::_pbi::VerifyUTF8(str, "proto.PaymentInfo.receiverJid");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.PaymentInfo.PaymentInfoStatus status = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::PaymentInfo_PaymentInfoStatus_IsValid(val))) {
_internal_set_status(static_cast<::proto::PaymentInfo_PaymentInfoStatus>(val));
@@ -38050,16 +39638,16 @@ const char* PaymentInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional uint64 transactionTimestamp = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
_Internal::set_has_transactiontimestamp(&has_bits);
- transactiontimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.transactiontimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.MessageKey requestMessageKey = 6;
case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
ptr = ctx->ParseMessage(_internal_mutable_requestmessagekey(), ptr);
CHK_(ptr);
} else
@@ -38067,38 +39655,38 @@ const char* PaymentInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional uint64 expiryTimestamp = 7;
case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
_Internal::set_has_expirytimestamp(&has_bits);
- expirytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.expirytimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool futureproofed = 8;
case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 64)) {
_Internal::set_has_futureproofed(&has_bits);
- futureproofed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.futureproofed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string currency = 9;
case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
auto str = _internal_mutable_currency();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.PaymentInfo.currency");
+ ::_pbi::VerifyUTF8(str, "proto.PaymentInfo.currency");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.PaymentInfo.PaymentInfoTxnStatus txnStatus = 10;
case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::PaymentInfo_PaymentInfoTxnStatus_IsValid(val))) {
_internal_set_txnstatus(static_cast<::proto::PaymentInfo_PaymentInfoTxnStatus>(val));
@@ -38110,16 +39698,16 @@ const char* PaymentInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional bool useNoviFiatFormat = 11;
case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
_Internal::set_has_usenovifiatformat(&has_bits);
- usenovifiatformat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.usenovifiatformat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.PaymentMoney primaryAmount = 12;
case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) {
ptr = ctx->ParseMessage(_internal_mutable_primaryamount(), ptr);
CHK_(ptr);
} else
@@ -38127,7 +39715,7 @@ const char* PaymentInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
continue;
// optional .proto.PaymentMoney exchangeAmount = 13;
case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) {
ptr = ctx->ParseMessage(_internal_mutable_exchangeamount(), ptr);
CHK_(ptr);
} else
@@ -38149,7 +39737,7 @@ const char* PaymentInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -38157,24 +39745,24 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* PaymentInfo::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* PaymentInfo::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.PaymentInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// optional .proto.PaymentInfo.PaymentInfoCurrency currencyDeprecated = 1;
if (cached_has_bits & 0x00000040u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this->_internal_currencydeprecated(), target);
}
// optional uint64 amount1000 = 2;
if (cached_has_bits & 0x00000020u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_amount1000(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_amount1000(), target);
}
// optional string receiverJid = 3;
@@ -38190,34 +39778,33 @@ failure:
// optional .proto.PaymentInfo.PaymentInfoStatus status = 4;
if (cached_has_bits & 0x00000080u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
4, this->_internal_status(), target);
}
// optional uint64 transactionTimestamp = 5;
if (cached_has_bits & 0x00000100u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(5, this->_internal_transactiontimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_transactiontimestamp(), target);
}
// optional .proto.MessageKey requestMessageKey = 6;
if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 6, _Internal::requestmessagekey(this), target, stream);
+ InternalWriteMessage(6, _Internal::requestmessagekey(this),
+ _Internal::requestmessagekey(this).GetCachedSize(), target, stream);
}
// optional uint64 expiryTimestamp = 7;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(7, this->_internal_expirytimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_expirytimestamp(), target);
}
// optional bool futureproofed = 8;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_futureproofed(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_futureproofed(), target);
}
// optional string currency = 9;
@@ -38233,34 +39820,32 @@ failure:
// optional .proto.PaymentInfo.PaymentInfoTxnStatus txnStatus = 10;
if (cached_has_bits & 0x00001000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
10, this->_internal_txnstatus(), target);
}
// optional bool useNoviFiatFormat = 11;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_usenovifiatformat(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_usenovifiatformat(), target);
}
// optional .proto.PaymentMoney primaryAmount = 12;
if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 12, _Internal::primaryamount(this), target, stream);
+ InternalWriteMessage(12, _Internal::primaryamount(this),
+ _Internal::primaryamount(this).GetCachedSize(), target, stream);
}
// optional .proto.PaymentMoney exchangeAmount = 13;
if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 13, _Internal::exchangeamount(this), target, stream);
+ InternalWriteMessage(13, _Internal::exchangeamount(this),
+ _Internal::exchangeamount(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.PaymentInfo)
@@ -38271,11 +39856,11 @@ size_t PaymentInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:proto.PaymentInfo)
size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
// optional string receiverJid = 3;
if (cached_has_bits & 0x00000001u) {
@@ -38295,50 +39880,50 @@ size_t PaymentInfo::ByteSizeLong() const {
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *requestmessagekey_);
+ *_impl_.requestmessagekey_);
}
// optional .proto.PaymentMoney primaryAmount = 12;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *primaryamount_);
+ *_impl_.primaryamount_);
}
// optional .proto.PaymentMoney exchangeAmount = 13;
if (cached_has_bits & 0x00000010u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *exchangeamount_);
+ *_impl_.exchangeamount_);
}
// optional uint64 amount1000 = 2;
if (cached_has_bits & 0x00000020u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_amount1000());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_amount1000());
}
// optional .proto.PaymentInfo.PaymentInfoCurrency currencyDeprecated = 1;
if (cached_has_bits & 0x00000040u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_currencydeprecated());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_currencydeprecated());
}
// optional .proto.PaymentInfo.PaymentInfoStatus status = 4;
if (cached_has_bits & 0x00000080u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_status());
}
}
if (cached_has_bits & 0x00001f00u) {
// optional uint64 transactionTimestamp = 5;
if (cached_has_bits & 0x00000100u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_transactiontimestamp());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_transactiontimestamp());
}
// optional uint64 expiryTimestamp = 7;
if (cached_has_bits & 0x00000200u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_expirytimestamp());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_expirytimestamp());
}
// optional bool futureproofed = 8;
@@ -38354,79 +39939,78 @@ size_t PaymentInfo::ByteSizeLong() const {
// optional .proto.PaymentInfo.PaymentInfoTxnStatus txnStatus = 10;
if (cached_has_bits & 0x00001000u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_txnstatus());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_txnstatus());
}
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PaymentInfo::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
PaymentInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PaymentInfo::GetClassData() const { return &_class_data_; }
-void PaymentInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<PaymentInfo *>(to)->MergeFrom(
- static_cast<const PaymentInfo &>(from));
-}
-
-void PaymentInfo::MergeFrom(const PaymentInfo& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.PaymentInfo)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void PaymentInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<PaymentInfo*>(&to_msg);
+ auto& from = static_cast<const PaymentInfo&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.PaymentInfo)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_receiverjid(from._internal_receiverjid());
+ _this->_internal_set_receiverjid(from._internal_receiverjid());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_currency(from._internal_currency());
+ _this->_internal_set_currency(from._internal_currency());
}
if (cached_has_bits & 0x00000004u) {
- _internal_mutable_requestmessagekey()->::proto::MessageKey::MergeFrom(from._internal_requestmessagekey());
+ _this->_internal_mutable_requestmessagekey()->::proto::MessageKey::MergeFrom(
+ from._internal_requestmessagekey());
}
if (cached_has_bits & 0x00000008u) {
- _internal_mutable_primaryamount()->::proto::PaymentMoney::MergeFrom(from._internal_primaryamount());
+ _this->_internal_mutable_primaryamount()->::proto::PaymentMoney::MergeFrom(
+ from._internal_primaryamount());
}
if (cached_has_bits & 0x00000010u) {
- _internal_mutable_exchangeamount()->::proto::PaymentMoney::MergeFrom(from._internal_exchangeamount());
+ _this->_internal_mutable_exchangeamount()->::proto::PaymentMoney::MergeFrom(
+ from._internal_exchangeamount());
}
if (cached_has_bits & 0x00000020u) {
- amount1000_ = from.amount1000_;
+ _this->_impl_.amount1000_ = from._impl_.amount1000_;
}
if (cached_has_bits & 0x00000040u) {
- currencydeprecated_ = from.currencydeprecated_;
+ _this->_impl_.currencydeprecated_ = from._impl_.currencydeprecated_;
}
if (cached_has_bits & 0x00000080u) {
- status_ = from.status_;
+ _this->_impl_.status_ = from._impl_.status_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x00001f00u) {
if (cached_has_bits & 0x00000100u) {
- transactiontimestamp_ = from.transactiontimestamp_;
+ _this->_impl_.transactiontimestamp_ = from._impl_.transactiontimestamp_;
}
if (cached_has_bits & 0x00000200u) {
- expirytimestamp_ = from.expirytimestamp_;
+ _this->_impl_.expirytimestamp_ = from._impl_.expirytimestamp_;
}
if (cached_has_bits & 0x00000400u) {
- futureproofed_ = from.futureproofed_;
+ _this->_impl_.futureproofed_ = from._impl_.futureproofed_;
}
if (cached_has_bits & 0x00000800u) {
- usenovifiatformat_ = from.usenovifiatformat_;
+ _this->_impl_.usenovifiatformat_ = from._impl_.usenovifiatformat_;
}
if (cached_has_bits & 0x00001000u) {
- txnstatus_ = from.txnstatus_;
+ _this->_impl_.txnstatus_ = from._impl_.txnstatus_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void PaymentInfo::CopyFrom(const PaymentInfo& from) {
@@ -38445,27 +40029,25 @@ void PaymentInfo::InternalSwap(PaymentInfo* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &receiverjid_, lhs_arena,
- &other->receiverjid_, rhs_arena
+ &_impl_.receiverjid_, lhs_arena,
+ &other->_impl_.receiverjid_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &currency_, lhs_arena,
- &other->currency_, rhs_arena
+ &_impl_.currency_, lhs_arena,
+ &other->_impl_.currency_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(PaymentInfo, txnstatus_)
- + sizeof(PaymentInfo::txnstatus_)
- - PROTOBUF_FIELD_OFFSET(PaymentInfo, requestmessagekey_)>(
- reinterpret_cast<char*>(&requestmessagekey_),
- reinterpret_cast<char*>(&other->requestmessagekey_));
+ PROTOBUF_FIELD_OFFSET(PaymentInfo, _impl_.txnstatus_)
+ + sizeof(PaymentInfo::_impl_.txnstatus_)
+ - PROTOBUF_FIELD_OFFSET(PaymentInfo, _impl_.requestmessagekey_)>(
+ reinterpret_cast<char*>(&_impl_.requestmessagekey_),
+ reinterpret_cast<char*>(&other->_impl_.requestmessagekey_));
}
::PROTOBUF_NAMESPACE_ID::Metadata PaymentInfo::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[77]);
}
@@ -38474,7 +40056,7 @@ void PaymentInfo::InternalSwap(PaymentInfo* other) {
class WebMessageInfo::_Internal {
public:
- using HasBits = decltype(std::declval<WebMessageInfo>()._has_bits_);
+ using HasBits = decltype(std::declval<WebMessageInfo>()._impl_._has_bits_);
static const ::proto::MessageKey& key(const WebMessageInfo* msg);
static void set_has_key(HasBits* has_bits) {
(*has_bits)[0] |= 16u;
@@ -38562,201 +40144,267 @@ class WebMessageInfo::_Internal {
const ::proto::MessageKey&
WebMessageInfo::_Internal::key(const WebMessageInfo* msg) {
- return *msg->key_;
+ return *msg->_impl_.key_;
}
const ::proto::Message&
WebMessageInfo::_Internal::message(const WebMessageInfo* msg) {
- return *msg->message_;
+ return *msg->_impl_.message_;
}
const ::proto::PaymentInfo&
WebMessageInfo::_Internal::paymentinfo(const WebMessageInfo* msg) {
- return *msg->paymentinfo_;
+ return *msg->_impl_.paymentinfo_;
}
const ::proto::LiveLocationMessage&
WebMessageInfo::_Internal::finallivelocation(const WebMessageInfo* msg) {
- return *msg->finallivelocation_;
+ return *msg->_impl_.finallivelocation_;
}
const ::proto::PaymentInfo&
WebMessageInfo::_Internal::quotedpaymentinfo(const WebMessageInfo* msg) {
- return *msg->quotedpaymentinfo_;
+ return *msg->_impl_.quotedpaymentinfo_;
}
WebMessageInfo::WebMessageInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
- : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
- messagestubparameters_(arena),
- labels_(arena) {
- SharedCtor();
- if (!is_message_owned) {
- RegisterArenaDtor(arena);
- }
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
+ SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:proto.WebMessageInfo)
}
WebMessageInfo::WebMessageInfo(const WebMessageInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _has_bits_(from._has_bits_),
- messagestubparameters_(from.messagestubparameters_),
- labels_(from.labels_) {
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ WebMessageInfo* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){from._impl_._has_bits_}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.messagestubparameters_){from._impl_.messagestubparameters_}
+ , decltype(_impl_.labels_){from._impl_.labels_}
+ , decltype(_impl_.participant_){}
+ , decltype(_impl_.pushname_){}
+ , decltype(_impl_.mediaciphertextsha256_){}
+ , decltype(_impl_.verifiedbizname_){}
+ , decltype(_impl_.key_){nullptr}
+ , decltype(_impl_.message_){nullptr}
+ , decltype(_impl_.paymentinfo_){nullptr}
+ , decltype(_impl_.finallivelocation_){nullptr}
+ , decltype(_impl_.quotedpaymentinfo_){nullptr}
+ , decltype(_impl_.messagetimestamp_){}
+ , decltype(_impl_.status_){}
+ , decltype(_impl_.ignore_){}
+ , decltype(_impl_.starred_){}
+ , decltype(_impl_.broadcast_){}
+ , decltype(_impl_.multicast_){}
+ , decltype(_impl_.messagestubtype_){}
+ , decltype(_impl_.urltext_){}
+ , decltype(_impl_.urlnumber_){}
+ , decltype(_impl_.clearmedia_){}
+ , decltype(_impl_.ephemeralofftoon_){}
+ , decltype(_impl_.duration_){}
+ , decltype(_impl_.ephemeralduration_){}
+ , decltype(_impl_.ephemeralstarttimestamp_){}
+ , decltype(_impl_.ephemeraloutofsync_){}
+ , decltype(_impl_.bizprivacystatus_){}};
+
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
- participant_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.participant_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_participant()) {
- participant_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_participant(),
- GetArenaForAllocation());
+ _this->_impl_.participant_.Set(from._internal_participant(),
+ _this->GetArenaForAllocation());
}
- pushname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.pushname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.pushname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_pushname()) {
- pushname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_pushname(),
- GetArenaForAllocation());
+ _this->_impl_.pushname_.Set(from._internal_pushname(),
+ _this->GetArenaForAllocation());
}
- mediaciphertextsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.mediaciphertextsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediaciphertextsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mediaciphertextsha256()) {
- mediaciphertextsha256_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mediaciphertextsha256(),
- GetArenaForAllocation());
+ _this->_impl_.mediaciphertextsha256_.Set(from._internal_mediaciphertextsha256(),
+ _this->GetArenaForAllocation());
}
- verifiedbizname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.verifiedbizname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.verifiedbizname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_verifiedbizname()) {
- verifiedbizname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_verifiedbizname(),
- GetArenaForAllocation());
+ _this->_impl_.verifiedbizname_.Set(from._internal_verifiedbizname(),
+ _this->GetArenaForAllocation());
}
if (from._internal_has_key()) {
- key_ = new ::proto::MessageKey(*from.key_);
- } else {
- key_ = nullptr;
+ _this->_impl_.key_ = new ::proto::MessageKey(*from._impl_.key_);
}
if (from._internal_has_message()) {
- message_ = new ::proto::Message(*from.message_);
- } else {
- message_ = nullptr;
+ _this->_impl_.message_ = new ::proto::Message(*from._impl_.message_);
}
if (from._internal_has_paymentinfo()) {
- paymentinfo_ = new ::proto::PaymentInfo(*from.paymentinfo_);
- } else {
- paymentinfo_ = nullptr;
+ _this->_impl_.paymentinfo_ = new ::proto::PaymentInfo(*from._impl_.paymentinfo_);
}
if (from._internal_has_finallivelocation()) {
- finallivelocation_ = new ::proto::LiveLocationMessage(*from.finallivelocation_);
- } else {
- finallivelocation_ = nullptr;
+ _this->_impl_.finallivelocation_ = new ::proto::LiveLocationMessage(*from._impl_.finallivelocation_);
}
if (from._internal_has_quotedpaymentinfo()) {
- quotedpaymentinfo_ = new ::proto::PaymentInfo(*from.quotedpaymentinfo_);
- } else {
- quotedpaymentinfo_ = nullptr;
+ _this->_impl_.quotedpaymentinfo_ = new ::proto::PaymentInfo(*from._impl_.quotedpaymentinfo_);
}
- ::memcpy(&messagetimestamp_, &from.messagetimestamp_,
- static_cast<size_t>(reinterpret_cast<char*>(&bizprivacystatus_) -
- reinterpret_cast<char*>(&messagetimestamp_)) + sizeof(bizprivacystatus_));
+ ::memcpy(&_impl_.messagetimestamp_, &from._impl_.messagetimestamp_,
+ static_cast<size_t>(reinterpret_cast<char*>(&_impl_.bizprivacystatus_) -
+ reinterpret_cast<char*>(&_impl_.messagetimestamp_)) + sizeof(_impl_.bizprivacystatus_));
// @@protoc_insertion_point(copy_constructor:proto.WebMessageInfo)
}
-void WebMessageInfo::SharedCtor() {
-participant_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-pushname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-mediaciphertextsha256_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-verifiedbizname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
-::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
- reinterpret_cast<char*>(&key_) - reinterpret_cast<char*>(this)),
- 0, static_cast<size_t>(reinterpret_cast<char*>(&bizprivacystatus_) -
- reinterpret_cast<char*>(&key_)) + sizeof(bizprivacystatus_));
+inline void WebMessageInfo::SharedCtor(
+ ::_pb::Arena* arena, bool is_message_owned) {
+ (void)arena;
+ (void)is_message_owned;
+ new (&_impl_) Impl_{
+ decltype(_impl_._has_bits_){}
+ , /*decltype(_impl_._cached_size_)*/{}
+ , decltype(_impl_.messagestubparameters_){arena}
+ , decltype(_impl_.labels_){arena}
+ , decltype(_impl_.participant_){}
+ , decltype(_impl_.pushname_){}
+ , decltype(_impl_.mediaciphertextsha256_){}
+ , decltype(_impl_.verifiedbizname_){}
+ , decltype(_impl_.key_){nullptr}
+ , decltype(_impl_.message_){nullptr}
+ , decltype(_impl_.paymentinfo_){nullptr}
+ , decltype(_impl_.finallivelocation_){nullptr}
+ , decltype(_impl_.quotedpaymentinfo_){nullptr}
+ , decltype(_impl_.messagetimestamp_){uint64_t{0u}}
+ , decltype(_impl_.status_){0}
+ , decltype(_impl_.ignore_){false}
+ , decltype(_impl_.starred_){false}
+ , decltype(_impl_.broadcast_){false}
+ , decltype(_impl_.multicast_){false}
+ , decltype(_impl_.messagestubtype_){0}
+ , decltype(_impl_.urltext_){false}
+ , decltype(_impl_.urlnumber_){false}
+ , decltype(_impl_.clearmedia_){false}
+ , decltype(_impl_.ephemeralofftoon_){false}
+ , decltype(_impl_.duration_){0u}
+ , decltype(_impl_.ephemeralduration_){0u}
+ , decltype(_impl_.ephemeralstarttimestamp_){uint64_t{0u}}
+ , decltype(_impl_.ephemeraloutofsync_){false}
+ , decltype(_impl_.bizprivacystatus_){0}
+ };
+ _impl_.participant_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.pushname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.pushname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediaciphertextsha256_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.mediaciphertextsha256_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.verifiedbizname_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.verifiedbizname_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
WebMessageInfo::~WebMessageInfo() {
// @@protoc_insertion_point(destructor:proto.WebMessageInfo)
- if (GetArenaForAllocation() != nullptr) return;
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
SharedDtor();
- _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
inline void WebMessageInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
- participant_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- pushname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- mediaciphertextsha256_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- verifiedbizname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
- if (this != internal_default_instance()) delete key_;
- if (this != internal_default_instance()) delete message_;
- if (this != internal_default_instance()) delete paymentinfo_;
- if (this != internal_default_instance()) delete finallivelocation_;
- if (this != internal_default_instance()) delete quotedpaymentinfo_;
+ _impl_.messagestubparameters_.~RepeatedPtrField();
+ _impl_.labels_.~RepeatedPtrField();
+ _impl_.participant_.Destroy();
+ _impl_.pushname_.Destroy();
+ _impl_.mediaciphertextsha256_.Destroy();
+ _impl_.verifiedbizname_.Destroy();
+ if (this != internal_default_instance()) delete _impl_.key_;
+ if (this != internal_default_instance()) delete _impl_.message_;
+ if (this != internal_default_instance()) delete _impl_.paymentinfo_;
+ if (this != internal_default_instance()) delete _impl_.finallivelocation_;
+ if (this != internal_default_instance()) delete _impl_.quotedpaymentinfo_;
}
-void WebMessageInfo::ArenaDtor(void* object) {
- WebMessageInfo* _this = reinterpret_cast< WebMessageInfo* >(object);
- (void)_this;
-}
-void WebMessageInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
-}
void WebMessageInfo::SetCachedSize(int size) const {
- _cached_size_.Set(size);
+ _impl_._cached_size_.Set(size);
}
void WebMessageInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:proto.WebMessageInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
- messagestubparameters_.Clear();
- labels_.Clear();
- cached_has_bits = _has_bits_[0];
+ _impl_.messagestubparameters_.Clear();
+ _impl_.labels_.Clear();
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- participant_.ClearNonDefaultToEmpty();
+ _impl_.participant_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
- pushname_.ClearNonDefaultToEmpty();
+ _impl_.pushname_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
- mediaciphertextsha256_.ClearNonDefaultToEmpty();
+ _impl_.mediaciphertextsha256_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
- verifiedbizname_.ClearNonDefaultToEmpty();
+ _impl_.verifiedbizname_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000010u) {
- GOOGLE_DCHECK(key_ != nullptr);
- key_->Clear();
+ GOOGLE_DCHECK(_impl_.key_ != nullptr);
+ _impl_.key_->Clear();
}
if (cached_has_bits & 0x00000020u) {
- GOOGLE_DCHECK(message_ != nullptr);
- message_->Clear();
+ GOOGLE_DCHECK(_impl_.message_ != nullptr);
+ _impl_.message_->Clear();
}
if (cached_has_bits & 0x00000040u) {
- GOOGLE_DCHECK(paymentinfo_ != nullptr);
- paymentinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.paymentinfo_ != nullptr);
+ _impl_.paymentinfo_->Clear();
}
if (cached_has_bits & 0x00000080u) {
- GOOGLE_DCHECK(finallivelocation_ != nullptr);
- finallivelocation_->Clear();
+ GOOGLE_DCHECK(_impl_.finallivelocation_ != nullptr);
+ _impl_.finallivelocation_->Clear();
}
}
if (cached_has_bits & 0x00000100u) {
- GOOGLE_DCHECK(quotedpaymentinfo_ != nullptr);
- quotedpaymentinfo_->Clear();
+ GOOGLE_DCHECK(_impl_.quotedpaymentinfo_ != nullptr);
+ _impl_.quotedpaymentinfo_->Clear();
}
if (cached_has_bits & 0x0000fe00u) {
- ::memset(&messagetimestamp_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&messagestubtype_) -
- reinterpret_cast<char*>(&messagetimestamp_)) + sizeof(messagestubtype_));
+ ::memset(&_impl_.messagetimestamp_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.messagestubtype_) -
+ reinterpret_cast<char*>(&_impl_.messagetimestamp_)) + sizeof(_impl_.messagestubtype_));
}
if (cached_has_bits & 0x00ff0000u) {
- ::memset(&urltext_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&ephemeraloutofsync_) -
- reinterpret_cast<char*>(&urltext_)) + sizeof(ephemeraloutofsync_));
+ ::memset(&_impl_.urltext_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&_impl_.ephemeraloutofsync_) -
+ reinterpret_cast<char*>(&_impl_.urltext_)) + sizeof(_impl_.ephemeraloutofsync_));
}
- bizprivacystatus_ = 0;
- _has_bits_.Clear();
+ _impl_.bizprivacystatus_ = 0;
+ _impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
-const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
+const char* WebMessageInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
+ uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// required .proto.MessageKey key = 1;
case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_key(), ptr);
CHK_(ptr);
} else
@@ -38764,7 +40412,7 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional .proto.Message message = 2;
case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_message(), ptr);
CHK_(ptr);
} else
@@ -38772,17 +40420,17 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional uint64 messageTimestamp = 3;
case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_messagetimestamp(&has_bits);
- messagetimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.messagetimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.WebMessageInfo.WebMessageInfoStatus status = 4;
case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebMessageInfo_WebMessageInfoStatus_IsValid(val))) {
_internal_set_status(static_cast<::proto::WebMessageInfo_WebMessageInfoStatus>(val));
@@ -38794,95 +40442,95 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional string participant = 5;
case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_participant();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.WebMessageInfo.participant");
+ ::_pbi::VerifyUTF8(str, "proto.WebMessageInfo.participant");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool ignore = 16;
case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 128)) {
_Internal::set_has_ignore(&has_bits);
- ignore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ignore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool starred = 17;
case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 136)) {
_Internal::set_has_starred(&has_bits);
- starred_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.starred_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool broadcast = 18;
case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 144)) {
_Internal::set_has_broadcast(&has_bits);
- broadcast_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.broadcast_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional string pushName = 19;
case 19:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 154)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 154)) {
auto str = _internal_mutable_pushname();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.WebMessageInfo.pushName");
+ ::_pbi::VerifyUTF8(str, "proto.WebMessageInfo.pushName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bytes mediaCiphertextSha256 = 20;
case 20:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 162)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 162)) {
auto str = _internal_mutable_mediaciphertextsha256();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool multicast = 21;
case 21:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 168)) {
_Internal::set_has_multicast(&has_bits);
- multicast_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.multicast_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool urlText = 22;
case 22:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 176)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 176)) {
_Internal::set_has_urltext(&has_bits);
- urltext_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.urltext_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool urlNumber = 23;
case 23:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 184)) {
_Internal::set_has_urlnumber(&has_bits);
- urlnumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.urlnumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.WebMessageInfo.WebMessageInfoStubType messageStubType = 24;
case 24:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 192)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 192)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebMessageInfo_WebMessageInfoStubType_IsValid(val))) {
_internal_set_messagestubtype(static_cast<::proto::WebMessageInfo_WebMessageInfoStubType>(val));
@@ -38894,25 +40542,25 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional bool clearMedia = 25;
case 25:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 200)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 200)) {
_Internal::set_has_clearmedia(&has_bits);
- clearmedia_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.clearmedia_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated string messageStubParameters = 26;
case 26:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 210)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 210)) {
ptr -= 2;
do {
ptr += 2;
auto str = _internal_add_messagestubparameters();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.WebMessageInfo.messageStubParameters");
+ ::_pbi::VerifyUTF8(str, "proto.WebMessageInfo.messageStubParameters");
#endif // !NDEBUG
- CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<210>(ptr));
} else
@@ -38920,25 +40568,25 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional uint32 duration = 27;
case 27:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 216)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 216)) {
_Internal::set_has_duration(&has_bits);
- duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// repeated string labels = 28;
case 28:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 226)) {
ptr -= 2;
do {
ptr += 2;
auto str = _internal_add_labels();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.WebMessageInfo.labels");
+ ::_pbi::VerifyUTF8(str, "proto.WebMessageInfo.labels");
#endif // !NDEBUG
- CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<226>(ptr));
} else
@@ -38946,7 +40594,7 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional .proto.PaymentInfo paymentInfo = 29;
case 29:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 234)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 234)) {
ptr = ctx->ParseMessage(_internal_mutable_paymentinfo(), ptr);
CHK_(ptr);
} else
@@ -38954,7 +40602,7 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional .proto.LiveLocationMessage finalLiveLocation = 30;
case 30:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 242)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 242)) {
ptr = ctx->ParseMessage(_internal_mutable_finallivelocation(), ptr);
CHK_(ptr);
} else
@@ -38962,7 +40610,7 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional .proto.PaymentInfo quotedPaymentInfo = 31;
case 31:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 250)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 250)) {
ptr = ctx->ParseMessage(_internal_mutable_quotedpaymentinfo(), ptr);
CHK_(ptr);
} else
@@ -38970,44 +40618,44 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional uint64 ephemeralStartTimestamp = 32;
case 32:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 0)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 0)) {
_Internal::set_has_ephemeralstarttimestamp(&has_bits);
- ephemeralstarttimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ephemeralstarttimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional uint32 ephemeralDuration = 33;
case 33:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
_Internal::set_has_ephemeralduration(&has_bits);
- ephemeralduration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ _impl_.ephemeralduration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool ephemeralOffToOn = 34;
case 34:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
_Internal::set_has_ephemeralofftoon(&has_bits);
- ephemeralofftoon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ephemeralofftoon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional bool ephemeralOutOfSync = 35;
case 35:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
_Internal::set_has_ephemeraloutofsync(&has_bits);
- ephemeraloutofsync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ _impl_.ephemeraloutofsync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
// optional .proto.WebMessageInfo.WebMessageInfoBizPrivacyStatus bizPrivacyStatus = 36;
case 36:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
- ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
+ uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
if (PROTOBUF_PREDICT_TRUE(::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus_IsValid(val))) {
_internal_set_bizprivacystatus(static_cast<::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus>(val));
@@ -39019,13 +40667,13 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
continue;
// optional string verifiedBizName = 37;
case 37:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
+ if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_verifiedbizname();
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
#ifndef NDEBUG
- ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "proto.WebMessageInfo.verifiedBizName");
+ ::_pbi::VerifyUTF8(str, "proto.WebMessageInfo.verifiedBizName");
#endif // !NDEBUG
- CHK_(ptr);
} else
goto handle_unusual;
continue;
@@ -39045,7 +40693,7 @@ const char* WebMessageInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE
CHK_(ptr != nullptr);
} // while
message_done:
- _has_bits_.Or(has_bits);
+ _impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
@@ -39053,39 +40701,37 @@ failure:
#undef CHK_
}
-::PROTOBUF_NAMESPACE_ID::uint8* WebMessageInfo::_InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+uint8_t* WebMessageInfo::_InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:proto.WebMessageInfo)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
// required .proto.MessageKey key = 1;
if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 1, _Internal::key(this), target, stream);
+ InternalWriteMessage(1, _Internal::key(this),
+ _Internal::key(this).GetCachedSize(), target, stream);
}
// optional .proto.Message message = 2;
if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 2, _Internal::message(this), target, stream);
+ InternalWriteMessage(2, _Internal::message(this),
+ _Internal::message(this).GetCachedSize(), target, stream);
}
// optional uint64 messageTimestamp = 3;
if (cached_has_bits & 0x00000200u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(3, this->_internal_messagetimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_messagetimestamp(), target);
}
// optional .proto.WebMessageInfo.WebMessageInfoStatus status = 4;
if (cached_has_bits & 0x00000400u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
4, this->_internal_status(), target);
}
@@ -39102,19 +40748,19 @@ failure:
// optional bool ignore = 16;
if (cached_has_bits & 0x00000800u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(16, this->_internal_ignore(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_ignore(), target);
}
// optional bool starred = 17;
if (cached_has_bits & 0x00001000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(17, this->_internal_starred(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_starred(), target);
}
// optional bool broadcast = 18;
if (cached_has_bits & 0x00002000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(18, this->_internal_broadcast(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_broadcast(), target);
}
// optional string pushName = 19;
@@ -39136,32 +40782,32 @@ failure:
// optional bool multicast = 21;
if (cached_has_bits & 0x00004000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(21, this->_internal_multicast(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(21, this->_internal_multicast(), target);
}
// optional bool urlText = 22;
if (cached_has_bits & 0x00010000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(22, this->_internal_urltext(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(22, this->_internal_urltext(), target);
}
// optional bool urlNumber = 23;
if (cached_has_bits & 0x00020000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(23, this->_internal_urlnumber(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(23, this->_internal_urlnumber(), target);
}
// optional .proto.WebMessageInfo.WebMessageInfoStubType messageStubType = 24;
if (cached_has_bits & 0x00008000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
24, this->_internal_messagestubtype(), target);
}
// optional bool clearMedia = 25;
if (cached_has_bits & 0x00040000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(25, this->_internal_clearmedia(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(25, this->_internal_clearmedia(), target);
}
// repeated string messageStubParameters = 26;
@@ -39177,7 +40823,7 @@ failure:
// optional uint32 duration = 27;
if (cached_has_bits & 0x00100000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(27, this->_internal_duration(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(27, this->_internal_duration(), target);
}
// repeated string labels = 28;
@@ -39192,56 +40838,53 @@ failure:
// optional .proto.PaymentInfo paymentInfo = 29;
if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 29, _Internal::paymentinfo(this), target, stream);
+ InternalWriteMessage(29, _Internal::paymentinfo(this),
+ _Internal::paymentinfo(this).GetCachedSize(), target, stream);
}
// optional .proto.LiveLocationMessage finalLiveLocation = 30;
if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 30, _Internal::finallivelocation(this), target, stream);
+ InternalWriteMessage(30, _Internal::finallivelocation(this),
+ _Internal::finallivelocation(this).GetCachedSize(), target, stream);
}
// optional .proto.PaymentInfo quotedPaymentInfo = 31;
if (cached_has_bits & 0x00000100u) {
- target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(
- 31, _Internal::quotedpaymentinfo(this), target, stream);
+ InternalWriteMessage(31, _Internal::quotedpaymentinfo(this),
+ _Internal::quotedpaymentinfo(this).GetCachedSize(), target, stream);
}
// optional uint64 ephemeralStartTimestamp = 32;
if (cached_has_bits & 0x00400000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(32, this->_internal_ephemeralstarttimestamp(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(32, this->_internal_ephemeralstarttimestamp(), target);
}
// optional uint32 ephemeralDuration = 33;
if (cached_has_bits & 0x00200000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(33, this->_internal_ephemeralduration(), target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_ephemeralduration(), target);
}
// optional bool ephemeralOffToOn = 34;
if (cached_has_bits & 0x00080000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(34, this->_internal_ephemeralofftoon(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(34, this->_internal_ephemeralofftoon(), target);
}
// optional bool ephemeralOutOfSync = 35;
if (cached_has_bits & 0x00800000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(35, this->_internal_ephemeraloutofsync(), target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(35, this->_internal_ephemeraloutofsync(), target);
}
// optional .proto.WebMessageInfo.WebMessageInfoBizPrivacyStatus bizPrivacyStatus = 36;
if (cached_has_bits & 0x01000000u) {
target = stream->EnsureSpace(target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
+ target = ::_pbi::WireFormatLite::WriteEnumToArray(
36, this->_internal_bizprivacystatus(), target);
}
@@ -39256,7 +40899,7 @@ failure:
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:proto.WebMessageInfo)
@@ -39271,29 +40914,29 @@ size_t WebMessageInfo::ByteSizeLong() const {
if (_internal_has_key()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *key_);
+ *_impl_.key_);
}
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+ uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// repeated string messageStubParameters = 26;
total_size += 2 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(messagestubparameters_.size());
- for (int i = 0, n = messagestubparameters_.size(); i < n; i++) {
+ ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.messagestubparameters_.size());
+ for (int i = 0, n = _impl_.messagestubparameters_.size(); i < n; i++) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- messagestubparameters_.Get(i));
+ _impl_.messagestubparameters_.Get(i));
}
// repeated string labels = 28;
total_size += 2 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(labels_.size());
- for (int i = 0, n = labels_.size(); i < n; i++) {
+ ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.labels_.size());
+ for (int i = 0, n = _impl_.labels_.size(); i < n; i++) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- labels_.Get(i));
+ _impl_.labels_.Get(i));
}
- cached_has_bits = _has_bits_[0];
+ cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string participant = 5;
if (cached_has_bits & 0x00000001u) {
@@ -39329,21 +40972,21 @@ size_t WebMessageInfo::ByteSizeLong() const {
if (cached_has_bits & 0x00000020u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *message_);
+ *_impl_.message_);
}
// optional .proto.PaymentInfo paymentInfo = 29;
if (cached_has_bits & 0x00000040u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *paymentinfo_);
+ *_impl_.paymentinfo_);
}
// optional .proto.LiveLocationMessage finalLiveLocation = 30;
if (cached_has_bits & 0x00000080u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *finallivelocation_);
+ *_impl_.finallivelocation_);
}
}
@@ -39352,18 +40995,18 @@ size_t WebMessageInfo::ByteSizeLong() const {
if (cached_has_bits & 0x00000100u) {
total_size += 2 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *quotedpaymentinfo_);
+ *_impl_.quotedpaymentinfo_);
}
// optional uint64 messageTimestamp = 3;
if (cached_has_bits & 0x00000200u) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64SizePlusOne(this->_internal_messagetimestamp());
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_messagetimestamp());
}
// optional .proto.WebMessageInfo.WebMessageInfoStatus status = 4;
if (cached_has_bits & 0x00000400u) {
total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_status());
}
// optional bool ignore = 16;
@@ -39389,7 +41032,7 @@ size_t WebMessageInfo::ByteSizeLong() const {
// optional .proto.WebMessageInfo.WebMessageInfoStubType messageStubType = 24;
if (cached_has_bits & 0x00008000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_messagestubtype());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_messagestubtype());
}
}
@@ -39417,21 +41060,21 @@ size_t WebMessageInfo::ByteSizeLong() const {
// optional uint32 duration = 27;
if (cached_has_bits & 0x00100000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_duration());
}
// optional uint32 ephemeralDuration = 33;
if (cached_has_bits & 0x00200000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
+ ::_pbi::WireFormatLite::UInt32Size(
this->_internal_ephemeralduration());
}
// optional uint64 ephemeralStartTimestamp = 32;
if (cached_has_bits & 0x00400000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size(
+ ::_pbi::WireFormatLite::UInt64Size(
this->_internal_ephemeralstarttimestamp());
}
@@ -39444,118 +41087,119 @@ size_t WebMessageInfo::ByteSizeLong() const {
// optional .proto.WebMessageInfo.WebMessageInfoBizPrivacyStatus bizPrivacyStatus = 36;
if (cached_has_bits & 0x01000000u) {
total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_bizprivacystatus());
+ ::_pbi::WireFormatLite::EnumSize(this->_internal_bizprivacystatus());
}
- return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WebMessageInfo::_class_data_ = {
- ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
WebMessageInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WebMessageInfo::GetClassData() const { return &_class_data_; }
-void WebMessageInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
- const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- static_cast<WebMessageInfo *>(to)->MergeFrom(
- static_cast<const WebMessageInfo &>(from));
-}
-
-void WebMessageInfo::MergeFrom(const WebMessageInfo& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:proto.WebMessageInfo)
- GOOGLE_DCHECK_NE(&from, this);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
+void WebMessageInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<WebMessageInfo*>(&to_msg);
+ auto& from = static_cast<const WebMessageInfo&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:proto.WebMessageInfo)
+ GOOGLE_DCHECK_NE(&from, _this);
+ uint32_t cached_has_bits = 0;
(void) cached_has_bits;
- messagestubparameters_.MergeFrom(from.messagestubparameters_);
- labels_.MergeFrom(from.labels_);
- cached_has_bits = from._has_bits_[0];
+ _this->_impl_.messagestubparameters_.MergeFrom(from._impl_.messagestubparameters_);
+ _this->_impl_.labels_.MergeFrom(from._impl_.labels_);
+ cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x000000ffu) {
if (cached_has_bits & 0x00000001u) {
- _internal_set_participant(from._internal_participant());
+ _this->_internal_set_participant(from._internal_participant());
}
if (cached_has_bits & 0x00000002u) {
- _internal_set_pushname(from._internal_pushname());
+ _this->_internal_set_pushname(from._internal_pushname());
}
if (cached_has_bits & 0x00000004u) {
- _internal_set_mediaciphertextsha256(from._internal_mediaciphertextsha256());
+ _this->_internal_set_mediaciphertextsha256(from._internal_mediaciphertextsha256());
}
if (cached_has_bits & 0x00000008u) {
- _internal_set_verifiedbizname(from._internal_verifiedbizname());
+ _this->_internal_set_verifiedbizname(from._internal_verifiedbizname());
}
if (cached_has_bits & 0x00000010u) {
- _internal_mutable_key()->::proto::MessageKey::MergeFrom(from._internal_key());
+ _this->_internal_mutable_key()->::proto::MessageKey::MergeFrom(
+ from._internal_key());
}
if (cached_has_bits & 0x00000020u) {
- _internal_mutable_message()->::proto::Message::MergeFrom(from._internal_message());
+ _this->_internal_mutable_message()->::proto::Message::MergeFrom(
+ from._internal_message());
}
if (cached_has_bits & 0x00000040u) {
- _internal_mutable_paymentinfo()->::proto::PaymentInfo::MergeFrom(from._internal_paymentinfo());
+ _this->_internal_mutable_paymentinfo()->::proto::PaymentInfo::MergeFrom(
+ from._internal_paymentinfo());
}
if (cached_has_bits & 0x00000080u) {
- _internal_mutable_finallivelocation()->::proto::LiveLocationMessage::MergeFrom(from._internal_finallivelocation());
+ _this->_internal_mutable_finallivelocation()->::proto::LiveLocationMessage::MergeFrom(
+ from._internal_finallivelocation());
}
}
if (cached_has_bits & 0x0000ff00u) {
if (cached_has_bits & 0x00000100u) {
- _internal_mutable_quotedpaymentinfo()->::proto::PaymentInfo::MergeFrom(from._internal_quotedpaymentinfo());
+ _this->_internal_mutable_quotedpaymentinfo()->::proto::PaymentInfo::MergeFrom(
+ from._internal_quotedpaymentinfo());
}
if (cached_has_bits & 0x00000200u) {
- messagetimestamp_ = from.messagetimestamp_;
+ _this->_impl_.messagetimestamp_ = from._impl_.messagetimestamp_;
}
if (cached_has_bits & 0x00000400u) {
- status_ = from.status_;
+ _this->_impl_.status_ = from._impl_.status_;
}
if (cached_has_bits & 0x00000800u) {
- ignore_ = from.ignore_;
+ _this->_impl_.ignore_ = from._impl_.ignore_;
}
if (cached_has_bits & 0x00001000u) {
- starred_ = from.starred_;
+ _this->_impl_.starred_ = from._impl_.starred_;
}
if (cached_has_bits & 0x00002000u) {
- broadcast_ = from.broadcast_;
+ _this->_impl_.broadcast_ = from._impl_.broadcast_;
}
if (cached_has_bits & 0x00004000u) {
- multicast_ = from.multicast_;
+ _this->_impl_.multicast_ = from._impl_.multicast_;
}
if (cached_has_bits & 0x00008000u) {
- messagestubtype_ = from.messagestubtype_;
+ _this->_impl_.messagestubtype_ = from._impl_.messagestubtype_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x00ff0000u) {
if (cached_has_bits & 0x00010000u) {
- urltext_ = from.urltext_;
+ _this->_impl_.urltext_ = from._impl_.urltext_;
}
if (cached_has_bits & 0x00020000u) {
- urlnumber_ = from.urlnumber_;
+ _this->_impl_.urlnumber_ = from._impl_.urlnumber_;
}
if (cached_has_bits & 0x00040000u) {
- clearmedia_ = from.clearmedia_;
+ _this->_impl_.clearmedia_ = from._impl_.clearmedia_;
}
if (cached_has_bits & 0x00080000u) {
- ephemeralofftoon_ = from.ephemeralofftoon_;
+ _this->_impl_.ephemeralofftoon_ = from._impl_.ephemeralofftoon_;
}
if (cached_has_bits & 0x00100000u) {
- duration_ = from.duration_;
+ _this->_impl_.duration_ = from._impl_.duration_;
}
if (cached_has_bits & 0x00200000u) {
- ephemeralduration_ = from.ephemeralduration_;
+ _this->_impl_.ephemeralduration_ = from._impl_.ephemeralduration_;
}
if (cached_has_bits & 0x00400000u) {
- ephemeralstarttimestamp_ = from.ephemeralstarttimestamp_;
+ _this->_impl_.ephemeralstarttimestamp_ = from._impl_.ephemeralstarttimestamp_;
}
if (cached_has_bits & 0x00800000u) {
- ephemeraloutofsync_ = from.ephemeraloutofsync_;
+ _this->_impl_.ephemeraloutofsync_ = from._impl_.ephemeraloutofsync_;
}
- _has_bits_[0] |= cached_has_bits;
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
}
if (cached_has_bits & 0x01000000u) {
- _internal_set_bizprivacystatus(from._internal_bizprivacystatus());
+ _this->_internal_set_bizprivacystatus(from._internal_bizprivacystatus());
}
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void WebMessageInfo::CopyFrom(const WebMessageInfo& from) {
@@ -39566,7 +41210,7 @@ void WebMessageInfo::CopyFrom(const WebMessageInfo& from) {
}
bool WebMessageInfo::IsInitialized() const {
- if (_Internal::MissingRequiredFields(_has_bits_)) return false;
+ if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
return true;
}
@@ -39575,39 +41219,35 @@ void WebMessageInfo::InternalSwap(WebMessageInfo* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- messagestubparameters_.InternalSwap(&other->messagestubparameters_);
- labels_.InternalSwap(&other->labels_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ _impl_.messagestubparameters_.InternalSwap(&other->_impl_.messagestubparameters_);
+ _impl_.labels_.InternalSwap(&other->_impl_.labels_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &participant_, lhs_arena,
- &other->participant_, rhs_arena
+ &_impl_.participant_, lhs_arena,
+ &other->_impl_.participant_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &pushname_, lhs_arena,
- &other->pushname_, rhs_arena
+ &_impl_.pushname_, lhs_arena,
+ &other->_impl_.pushname_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &mediaciphertextsha256_, lhs_arena,
- &other->mediaciphertextsha256_, rhs_arena
+ &_impl_.mediaciphertextsha256_, lhs_arena,
+ &other->_impl_.mediaciphertextsha256_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
- &verifiedbizname_, lhs_arena,
- &other->verifiedbizname_, rhs_arena
+ &_impl_.verifiedbizname_, lhs_arena,
+ &other->_impl_.verifiedbizname_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(WebMessageInfo, bizprivacystatus_)
- + sizeof(WebMessageInfo::bizprivacystatus_)
- - PROTOBUF_FIELD_OFFSET(WebMessageInfo, key_)>(
- reinterpret_cast<char*>(&key_),
- reinterpret_cast<char*>(&other->key_));
+ PROTOBUF_FIELD_OFFSET(WebMessageInfo, _impl_.bizprivacystatus_)
+ + sizeof(WebMessageInfo::_impl_.bizprivacystatus_)
+ - PROTOBUF_FIELD_OFFSET(WebMessageInfo, _impl_.key_)>(
+ reinterpret_cast<char*>(&_impl_.key_),
+ reinterpret_cast<char*>(&other->_impl_.key_));
}
::PROTOBUF_NAMESPACE_ID::Metadata WebMessageInfo::GetMetadata() const {
- return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
+ return ::_pbi::AssignDescriptors(
&descriptor_table_pmsg_2eproto_getter, &descriptor_table_pmsg_2eproto_once,
file_level_metadata_pmsg_2eproto[78]);
}
@@ -39615,241 +41255,320 @@ void WebMessageInfo::InternalSwap(WebMessageInfo* other) {
// @@protoc_insertion_point(namespace_scope)
} // namespace proto
PROTOBUF_NAMESPACE_OPEN
-template<> PROTOBUF_NOINLINE ::proto::PaymentMoney* Arena::CreateMaybeMessage< ::proto::PaymentMoney >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::PaymentMoney*
+Arena::CreateMaybeMessage< ::proto::PaymentMoney >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::PaymentMoney >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HydratedQuickReplyButton* Arena::CreateMaybeMessage< ::proto::HydratedQuickReplyButton >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HydratedQuickReplyButton*
+Arena::CreateMaybeMessage< ::proto::HydratedQuickReplyButton >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HydratedQuickReplyButton >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HydratedURLButton* Arena::CreateMaybeMessage< ::proto::HydratedURLButton >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HydratedURLButton*
+Arena::CreateMaybeMessage< ::proto::HydratedURLButton >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HydratedURLButton >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HydratedCallButton* Arena::CreateMaybeMessage< ::proto::HydratedCallButton >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HydratedCallButton*
+Arena::CreateMaybeMessage< ::proto::HydratedCallButton >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HydratedCallButton >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HydratedTemplateButton* Arena::CreateMaybeMessage< ::proto::HydratedTemplateButton >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HydratedTemplateButton*
+Arena::CreateMaybeMessage< ::proto::HydratedTemplateButton >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HydratedTemplateButton >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::QuickReplyButton* Arena::CreateMaybeMessage< ::proto::QuickReplyButton >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::QuickReplyButton*
+Arena::CreateMaybeMessage< ::proto::QuickReplyButton >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::QuickReplyButton >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::URLButton* Arena::CreateMaybeMessage< ::proto::URLButton >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::URLButton*
+Arena::CreateMaybeMessage< ::proto::URLButton >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::URLButton >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::CallButton* Arena::CreateMaybeMessage< ::proto::CallButton >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::CallButton*
+Arena::CreateMaybeMessage< ::proto::CallButton >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::CallButton >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::TemplateButton* Arena::CreateMaybeMessage< ::proto::TemplateButton >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::TemplateButton*
+Arena::CreateMaybeMessage< ::proto::TemplateButton >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::TemplateButton >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::Location* Arena::CreateMaybeMessage< ::proto::Location >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::Location*
+Arena::CreateMaybeMessage< ::proto::Location >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::Location >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::Point* Arena::CreateMaybeMessage< ::proto::Point >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::Point*
+Arena::CreateMaybeMessage< ::proto::Point >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::Point >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::InteractiveAnnotation* Arena::CreateMaybeMessage< ::proto::InteractiveAnnotation >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::InteractiveAnnotation*
+Arena::CreateMaybeMessage< ::proto::InteractiveAnnotation >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::InteractiveAnnotation >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::DeviceListMetadata* Arena::CreateMaybeMessage< ::proto::DeviceListMetadata >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::DeviceListMetadata*
+Arena::CreateMaybeMessage< ::proto::DeviceListMetadata >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::DeviceListMetadata >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::MessageContextInfo* Arena::CreateMaybeMessage< ::proto::MessageContextInfo >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::MessageContextInfo*
+Arena::CreateMaybeMessage< ::proto::MessageContextInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::MessageContextInfo >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AdReplyInfo* Arena::CreateMaybeMessage< ::proto::AdReplyInfo >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AdReplyInfo*
+Arena::CreateMaybeMessage< ::proto::AdReplyInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AdReplyInfo >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ExternalAdReplyInfo* Arena::CreateMaybeMessage< ::proto::ExternalAdReplyInfo >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ExternalAdReplyInfo*
+Arena::CreateMaybeMessage< ::proto::ExternalAdReplyInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ExternalAdReplyInfo >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ContextInfo* Arena::CreateMaybeMessage< ::proto::ContextInfo >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ContextInfo*
+Arena::CreateMaybeMessage< ::proto::ContextInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ContextInfo >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::SenderKeyDistributionMessage* Arena::CreateMaybeMessage< ::proto::SenderKeyDistributionMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::SenderKeyDistributionMessage*
+Arena::CreateMaybeMessage< ::proto::SenderKeyDistributionMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::SenderKeyDistributionMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ImageMessage* Arena::CreateMaybeMessage< ::proto::ImageMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ImageMessage*
+Arena::CreateMaybeMessage< ::proto::ImageMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ImageMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::InvoiceMessage* Arena::CreateMaybeMessage< ::proto::InvoiceMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::InvoiceMessage*
+Arena::CreateMaybeMessage< ::proto::InvoiceMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::InvoiceMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ContactMessage* Arena::CreateMaybeMessage< ::proto::ContactMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ContactMessage*
+Arena::CreateMaybeMessage< ::proto::ContactMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ContactMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::LocationMessage* Arena::CreateMaybeMessage< ::proto::LocationMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::LocationMessage*
+Arena::CreateMaybeMessage< ::proto::LocationMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::LocationMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ExtendedTextMessage* Arena::CreateMaybeMessage< ::proto::ExtendedTextMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ExtendedTextMessage*
+Arena::CreateMaybeMessage< ::proto::ExtendedTextMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ExtendedTextMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::DocumentMessage* Arena::CreateMaybeMessage< ::proto::DocumentMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::DocumentMessage*
+Arena::CreateMaybeMessage< ::proto::DocumentMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::DocumentMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AudioMessage* Arena::CreateMaybeMessage< ::proto::AudioMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AudioMessage*
+Arena::CreateMaybeMessage< ::proto::AudioMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AudioMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::VideoMessage* Arena::CreateMaybeMessage< ::proto::VideoMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::VideoMessage*
+Arena::CreateMaybeMessage< ::proto::VideoMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::VideoMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::Call* Arena::CreateMaybeMessage< ::proto::Call >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::Call*
+Arena::CreateMaybeMessage< ::proto::Call >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::Call >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::Chat* Arena::CreateMaybeMessage< ::proto::Chat >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::Chat*
+Arena::CreateMaybeMessage< ::proto::Chat >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::Chat >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ProtocolMessage* Arena::CreateMaybeMessage< ::proto::ProtocolMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ProtocolMessage*
+Arena::CreateMaybeMessage< ::proto::ProtocolMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ProtocolMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HistorySyncNotification* Arena::CreateMaybeMessage< ::proto::HistorySyncNotification >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HistorySyncNotification*
+Arena::CreateMaybeMessage< ::proto::HistorySyncNotification >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HistorySyncNotification >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKey* Arena::CreateMaybeMessage< ::proto::AppStateSyncKey >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKey*
+Arena::CreateMaybeMessage< ::proto::AppStateSyncKey >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AppStateSyncKey >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyId* Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyId >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyId*
+Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyId >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AppStateSyncKeyId >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyFingerprint* Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyFingerprint >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyFingerprint*
+Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyFingerprint >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AppStateSyncKeyFingerprint >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyData* Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyData >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyData*
+Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyData >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AppStateSyncKeyData >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyShare* Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyShare >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyShare*
+Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyShare >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AppStateSyncKeyShare >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyRequest* Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyRequest >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AppStateSyncKeyRequest*
+Arena::CreateMaybeMessage< ::proto::AppStateSyncKeyRequest >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AppStateSyncKeyRequest >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::AppStateFatalExceptionNotification* Arena::CreateMaybeMessage< ::proto::AppStateFatalExceptionNotification >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::AppStateFatalExceptionNotification*
+Arena::CreateMaybeMessage< ::proto::AppStateFatalExceptionNotification >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::AppStateFatalExceptionNotification >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::InitialSecurityNotificationSettingSync* Arena::CreateMaybeMessage< ::proto::InitialSecurityNotificationSettingSync >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::InitialSecurityNotificationSettingSync*
+Arena::CreateMaybeMessage< ::proto::InitialSecurityNotificationSettingSync >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::InitialSecurityNotificationSettingSync >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ContactsArrayMessage* Arena::CreateMaybeMessage< ::proto::ContactsArrayMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ContactsArrayMessage*
+Arena::CreateMaybeMessage< ::proto::ContactsArrayMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ContactsArrayMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HSMCurrency* Arena::CreateMaybeMessage< ::proto::HSMCurrency >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HSMCurrency*
+Arena::CreateMaybeMessage< ::proto::HSMCurrency >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HSMCurrency >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HSMDateTimeComponent* Arena::CreateMaybeMessage< ::proto::HSMDateTimeComponent >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HSMDateTimeComponent*
+Arena::CreateMaybeMessage< ::proto::HSMDateTimeComponent >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HSMDateTimeComponent >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HSMDateTimeUnixEpoch* Arena::CreateMaybeMessage< ::proto::HSMDateTimeUnixEpoch >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HSMDateTimeUnixEpoch*
+Arena::CreateMaybeMessage< ::proto::HSMDateTimeUnixEpoch >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HSMDateTimeUnixEpoch >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HSMDateTime* Arena::CreateMaybeMessage< ::proto::HSMDateTime >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HSMDateTime*
+Arena::CreateMaybeMessage< ::proto::HSMDateTime >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HSMDateTime >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HSMLocalizableParameter* Arena::CreateMaybeMessage< ::proto::HSMLocalizableParameter >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HSMLocalizableParameter*
+Arena::CreateMaybeMessage< ::proto::HSMLocalizableParameter >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HSMLocalizableParameter >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HighlyStructuredMessage* Arena::CreateMaybeMessage< ::proto::HighlyStructuredMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HighlyStructuredMessage*
+Arena::CreateMaybeMessage< ::proto::HighlyStructuredMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HighlyStructuredMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::SendPaymentMessage* Arena::CreateMaybeMessage< ::proto::SendPaymentMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::SendPaymentMessage*
+Arena::CreateMaybeMessage< ::proto::SendPaymentMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::SendPaymentMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::RequestPaymentMessage* Arena::CreateMaybeMessage< ::proto::RequestPaymentMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::RequestPaymentMessage*
+Arena::CreateMaybeMessage< ::proto::RequestPaymentMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::RequestPaymentMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::DeclinePaymentRequestMessage* Arena::CreateMaybeMessage< ::proto::DeclinePaymentRequestMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::DeclinePaymentRequestMessage*
+Arena::CreateMaybeMessage< ::proto::DeclinePaymentRequestMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::DeclinePaymentRequestMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::CancelPaymentRequestMessage* Arena::CreateMaybeMessage< ::proto::CancelPaymentRequestMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::CancelPaymentRequestMessage*
+Arena::CreateMaybeMessage< ::proto::CancelPaymentRequestMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::CancelPaymentRequestMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::LiveLocationMessage* Arena::CreateMaybeMessage< ::proto::LiveLocationMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::LiveLocationMessage*
+Arena::CreateMaybeMessage< ::proto::LiveLocationMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::LiveLocationMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::StickerMessage* Arena::CreateMaybeMessage< ::proto::StickerMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::StickerMessage*
+Arena::CreateMaybeMessage< ::proto::StickerMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::StickerMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::FourRowTemplate* Arena::CreateMaybeMessage< ::proto::FourRowTemplate >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::FourRowTemplate*
+Arena::CreateMaybeMessage< ::proto::FourRowTemplate >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::FourRowTemplate >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::HydratedFourRowTemplate* Arena::CreateMaybeMessage< ::proto::HydratedFourRowTemplate >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::HydratedFourRowTemplate*
+Arena::CreateMaybeMessage< ::proto::HydratedFourRowTemplate >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::HydratedFourRowTemplate >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::TemplateMessage* Arena::CreateMaybeMessage< ::proto::TemplateMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::TemplateMessage*
+Arena::CreateMaybeMessage< ::proto::TemplateMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::TemplateMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::TemplateButtonReplyMessage* Arena::CreateMaybeMessage< ::proto::TemplateButtonReplyMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::TemplateButtonReplyMessage*
+Arena::CreateMaybeMessage< ::proto::TemplateButtonReplyMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::TemplateButtonReplyMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::CatalogSnapshot* Arena::CreateMaybeMessage< ::proto::CatalogSnapshot >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::CatalogSnapshot*
+Arena::CreateMaybeMessage< ::proto::CatalogSnapshot >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::CatalogSnapshot >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ProductSnapshot* Arena::CreateMaybeMessage< ::proto::ProductSnapshot >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ProductSnapshot*
+Arena::CreateMaybeMessage< ::proto::ProductSnapshot >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ProductSnapshot >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ProductMessage* Arena::CreateMaybeMessage< ::proto::ProductMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ProductMessage*
+Arena::CreateMaybeMessage< ::proto::ProductMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ProductMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::OrderMessage* Arena::CreateMaybeMessage< ::proto::OrderMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::OrderMessage*
+Arena::CreateMaybeMessage< ::proto::OrderMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::OrderMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::Row* Arena::CreateMaybeMessage< ::proto::Row >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::Row*
+Arena::CreateMaybeMessage< ::proto::Row >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::Row >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::Section* Arena::CreateMaybeMessage< ::proto::Section >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::Section*
+Arena::CreateMaybeMessage< ::proto::Section >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::Section >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ListMessage* Arena::CreateMaybeMessage< ::proto::ListMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ListMessage*
+Arena::CreateMaybeMessage< ::proto::ListMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ListMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::SingleSelectReply* Arena::CreateMaybeMessage< ::proto::SingleSelectReply >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::SingleSelectReply*
+Arena::CreateMaybeMessage< ::proto::SingleSelectReply >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::SingleSelectReply >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ListResponseMessage* Arena::CreateMaybeMessage< ::proto::ListResponseMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ListResponseMessage*
+Arena::CreateMaybeMessage< ::proto::ListResponseMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ListResponseMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::GroupInviteMessage* Arena::CreateMaybeMessage< ::proto::GroupInviteMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::GroupInviteMessage*
+Arena::CreateMaybeMessage< ::proto::GroupInviteMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::GroupInviteMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::EphemeralSetting* Arena::CreateMaybeMessage< ::proto::EphemeralSetting >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::EphemeralSetting*
+Arena::CreateMaybeMessage< ::proto::EphemeralSetting >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::EphemeralSetting >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::DeviceSentMessage* Arena::CreateMaybeMessage< ::proto::DeviceSentMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::DeviceSentMessage*
+Arena::CreateMaybeMessage< ::proto::DeviceSentMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::DeviceSentMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::FutureProofMessage* Arena::CreateMaybeMessage< ::proto::FutureProofMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::FutureProofMessage*
+Arena::CreateMaybeMessage< ::proto::FutureProofMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::FutureProofMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ButtonText* Arena::CreateMaybeMessage< ::proto::ButtonText >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ButtonText*
+Arena::CreateMaybeMessage< ::proto::ButtonText >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ButtonText >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::Button* Arena::CreateMaybeMessage< ::proto::Button >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::Button*
+Arena::CreateMaybeMessage< ::proto::Button >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::Button >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ButtonsMessage* Arena::CreateMaybeMessage< ::proto::ButtonsMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ButtonsMessage*
+Arena::CreateMaybeMessage< ::proto::ButtonsMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ButtonsMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::ButtonsResponseMessage* Arena::CreateMaybeMessage< ::proto::ButtonsResponseMessage >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::ButtonsResponseMessage*
+Arena::CreateMaybeMessage< ::proto::ButtonsResponseMessage >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::ButtonsResponseMessage >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::Message* Arena::CreateMaybeMessage< ::proto::Message >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::Message*
+Arena::CreateMaybeMessage< ::proto::Message >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::Message >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::MessageKey* Arena::CreateMaybeMessage< ::proto::MessageKey >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::MessageKey*
+Arena::CreateMaybeMessage< ::proto::MessageKey >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::MessageKey >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::WebFeatures* Arena::CreateMaybeMessage< ::proto::WebFeatures >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::WebFeatures*
+Arena::CreateMaybeMessage< ::proto::WebFeatures >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::WebFeatures >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::NotificationMessageInfo* Arena::CreateMaybeMessage< ::proto::NotificationMessageInfo >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::NotificationMessageInfo*
+Arena::CreateMaybeMessage< ::proto::NotificationMessageInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::NotificationMessageInfo >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::WebNotificationsInfo* Arena::CreateMaybeMessage< ::proto::WebNotificationsInfo >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::WebNotificationsInfo*
+Arena::CreateMaybeMessage< ::proto::WebNotificationsInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::WebNotificationsInfo >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::PaymentInfo* Arena::CreateMaybeMessage< ::proto::PaymentInfo >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::PaymentInfo*
+Arena::CreateMaybeMessage< ::proto::PaymentInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::PaymentInfo >(arena);
}
-template<> PROTOBUF_NOINLINE ::proto::WebMessageInfo* Arena::CreateMaybeMessage< ::proto::WebMessageInfo >(Arena* arena) {
+template<> PROTOBUF_NOINLINE ::proto::WebMessageInfo*
+Arena::CreateMaybeMessage< ::proto::WebMessageInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::proto::WebMessageInfo >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
diff --git a/protocols/WhatsAppWeb/src/pmsg.pb.h b/protocols/WhatsAppWeb/src/pmsg.pb.h
index 5e17139e71..cfe8da76fc 100644
--- a/protocols/WhatsAppWeb/src/pmsg.pb.h
+++ b/protocols/WhatsAppWeb/src/pmsg.pb.h
@@ -8,12 +8,12 @@
#include <string>
#include <google/protobuf/port_def.inc>
-#if PROTOBUF_VERSION < 3018000
+#if PROTOBUF_VERSION < 3021000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
-#if 3018000 < PROTOBUF_MIN_PROTOC_VERSION
+#if 3021004 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
@@ -23,7 +23,6 @@
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
-#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
@@ -43,15 +42,7 @@ PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_pmsg_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[79]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
+ static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_pmsg_2eproto;
namespace proto {
@@ -1121,7 +1112,7 @@ class PaymentMoney final :
public:
inline PaymentMoney() : PaymentMoney(nullptr) {}
~PaymentMoney() override;
- explicit constexpr PaymentMoney(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR PaymentMoney(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PaymentMoney(const PaymentMoney& from);
PaymentMoney(PaymentMoney&& from) noexcept
@@ -1178,7 +1169,12 @@ class PaymentMoney final :
}
inline void Swap(PaymentMoney* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1192,34 +1188,34 @@ class PaymentMoney final :
// implements Message ----------------------------------------------
- inline PaymentMoney* New() const final {
- return new PaymentMoney();
- }
-
- PaymentMoney* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ PaymentMoney* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<PaymentMoney>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PaymentMoney& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const PaymentMoney& from);
+ void MergeFrom( const PaymentMoney& from) {
+ PaymentMoney::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(PaymentMoney* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.PaymentMoney";
@@ -1227,9 +1223,6 @@ class PaymentMoney final :
protected:
explicit PaymentMoney(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1256,7 +1249,7 @@ class PaymentMoney final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_currencycode(ArgT0&& arg0, ArgT... args);
std::string* mutable_currencycode();
- PROTOBUF_MUST_USE_RESULT std::string* release_currencycode();
+ PROTOBUF_NODISCARD std::string* release_currencycode();
void set_allocated_currencycode(std::string* currencycode);
private:
const std::string& _internal_currencycode() const;
@@ -1270,11 +1263,11 @@ class PaymentMoney final :
bool _internal_has_value() const;
public:
void clear_value();
- ::PROTOBUF_NAMESPACE_ID::int64 value() const;
- void set_value(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t value() const;
+ void set_value(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_value() const;
- void _internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_value() const;
+ void _internal_set_value(int64_t value);
public:
// optional uint32 offset = 2;
@@ -1283,11 +1276,11 @@ class PaymentMoney final :
bool _internal_has_offset() const;
public:
void clear_offset();
- ::PROTOBUF_NAMESPACE_ID::uint32 offset() const;
- void set_offset(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t offset() const;
+ void set_offset(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_offset() const;
- void _internal_set_offset(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_offset() const;
+ void _internal_set_offset(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.PaymentMoney)
@@ -1297,11 +1290,14 @@ class PaymentMoney final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_;
- ::PROTOBUF_NAMESPACE_ID::int64 value_;
- ::PROTOBUF_NAMESPACE_ID::uint32 offset_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_;
+ int64_t value_;
+ uint32_t offset_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -1311,7 +1307,7 @@ class HydratedQuickReplyButton final :
public:
inline HydratedQuickReplyButton() : HydratedQuickReplyButton(nullptr) {}
~HydratedQuickReplyButton() override;
- explicit constexpr HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedQuickReplyButton(const HydratedQuickReplyButton& from);
HydratedQuickReplyButton(HydratedQuickReplyButton&& from) noexcept
@@ -1368,7 +1364,12 @@ class HydratedQuickReplyButton final :
}
inline void Swap(HydratedQuickReplyButton* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1382,34 +1383,34 @@ class HydratedQuickReplyButton final :
// implements Message ----------------------------------------------
- inline HydratedQuickReplyButton* New() const final {
- return new HydratedQuickReplyButton();
- }
-
- HydratedQuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HydratedQuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HydratedQuickReplyButton>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedQuickReplyButton& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HydratedQuickReplyButton& from);
+ void MergeFrom( const HydratedQuickReplyButton& from) {
+ HydratedQuickReplyButton::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedQuickReplyButton* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HydratedQuickReplyButton";
@@ -1417,9 +1418,6 @@ class HydratedQuickReplyButton final :
protected:
explicit HydratedQuickReplyButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1445,7 +1443,7 @@ class HydratedQuickReplyButton final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_displaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_displaytext();
- PROTOBUF_MUST_USE_RESULT std::string* release_displaytext();
+ PROTOBUF_NODISCARD std::string* release_displaytext();
void set_allocated_displaytext(std::string* displaytext);
private:
const std::string& _internal_displaytext() const;
@@ -1463,7 +1461,7 @@ class HydratedQuickReplyButton final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
- PROTOBUF_MUST_USE_RESULT std::string* release_id();
+ PROTOBUF_NODISCARD std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
@@ -1478,10 +1476,13 @@ class HydratedQuickReplyButton final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -1491,7 +1492,7 @@ class HydratedURLButton final :
public:
inline HydratedURLButton() : HydratedURLButton(nullptr) {}
~HydratedURLButton() override;
- explicit constexpr HydratedURLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HydratedURLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedURLButton(const HydratedURLButton& from);
HydratedURLButton(HydratedURLButton&& from) noexcept
@@ -1548,7 +1549,12 @@ class HydratedURLButton final :
}
inline void Swap(HydratedURLButton* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1562,34 +1568,34 @@ class HydratedURLButton final :
// implements Message ----------------------------------------------
- inline HydratedURLButton* New() const final {
- return new HydratedURLButton();
- }
-
- HydratedURLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HydratedURLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HydratedURLButton>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedURLButton& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HydratedURLButton& from);
+ void MergeFrom( const HydratedURLButton& from) {
+ HydratedURLButton::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedURLButton* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HydratedURLButton";
@@ -1597,9 +1603,6 @@ class HydratedURLButton final :
protected:
explicit HydratedURLButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1625,7 +1628,7 @@ class HydratedURLButton final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_displaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_displaytext();
- PROTOBUF_MUST_USE_RESULT std::string* release_displaytext();
+ PROTOBUF_NODISCARD std::string* release_displaytext();
void set_allocated_displaytext(std::string* displaytext);
private:
const std::string& _internal_displaytext() const;
@@ -1643,7 +1646,7 @@ class HydratedURLButton final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- PROTOBUF_MUST_USE_RESULT std::string* release_url();
+ PROTOBUF_NODISCARD std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
@@ -1658,10 +1661,13 @@ class HydratedURLButton final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -1671,7 +1677,7 @@ class HydratedCallButton final :
public:
inline HydratedCallButton() : HydratedCallButton(nullptr) {}
~HydratedCallButton() override;
- explicit constexpr HydratedCallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HydratedCallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedCallButton(const HydratedCallButton& from);
HydratedCallButton(HydratedCallButton&& from) noexcept
@@ -1728,7 +1734,12 @@ class HydratedCallButton final :
}
inline void Swap(HydratedCallButton* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1742,34 +1753,34 @@ class HydratedCallButton final :
// implements Message ----------------------------------------------
- inline HydratedCallButton* New() const final {
- return new HydratedCallButton();
- }
-
- HydratedCallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HydratedCallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HydratedCallButton>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedCallButton& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HydratedCallButton& from);
+ void MergeFrom( const HydratedCallButton& from) {
+ HydratedCallButton::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedCallButton* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HydratedCallButton";
@@ -1777,9 +1788,6 @@ class HydratedCallButton final :
protected:
explicit HydratedCallButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1805,7 +1813,7 @@ class HydratedCallButton final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_displaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_displaytext();
- PROTOBUF_MUST_USE_RESULT std::string* release_displaytext();
+ PROTOBUF_NODISCARD std::string* release_displaytext();
void set_allocated_displaytext(std::string* displaytext);
private:
const std::string& _internal_displaytext() const;
@@ -1823,7 +1831,7 @@ class HydratedCallButton final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_phonenumber(ArgT0&& arg0, ArgT... args);
std::string* mutable_phonenumber();
- PROTOBUF_MUST_USE_RESULT std::string* release_phonenumber();
+ PROTOBUF_NODISCARD std::string* release_phonenumber();
void set_allocated_phonenumber(std::string* phonenumber);
private:
const std::string& _internal_phonenumber() const;
@@ -1838,10 +1846,13 @@ class HydratedCallButton final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phonenumber_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phonenumber_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -1851,7 +1862,7 @@ class HydratedTemplateButton final :
public:
inline HydratedTemplateButton() : HydratedTemplateButton(nullptr) {}
~HydratedTemplateButton() override;
- explicit constexpr HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedTemplateButton(const HydratedTemplateButton& from);
HydratedTemplateButton(HydratedTemplateButton&& from) noexcept
@@ -1915,7 +1926,12 @@ class HydratedTemplateButton final :
}
inline void Swap(HydratedTemplateButton* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -1929,34 +1945,34 @@ class HydratedTemplateButton final :
// implements Message ----------------------------------------------
- inline HydratedTemplateButton* New() const final {
- return new HydratedTemplateButton();
- }
-
- HydratedTemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HydratedTemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HydratedTemplateButton>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedTemplateButton& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HydratedTemplateButton& from);
+ void MergeFrom( const HydratedTemplateButton& from) {
+ HydratedTemplateButton::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedTemplateButton* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HydratedTemplateButton";
@@ -1964,9 +1980,6 @@ class HydratedTemplateButton final :
protected:
explicit HydratedTemplateButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1990,11 +2003,11 @@ class HydratedTemplateButton final :
bool _internal_has_index() const;
public:
void clear_index();
- ::PROTOBUF_NAMESPACE_ID::uint32 index() const;
- void set_index(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t index() const;
+ void set_index(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_index() const;
- void _internal_set_index(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_index() const;
+ void _internal_set_index(uint32_t value);
public:
// .proto.HydratedQuickReplyButton quickReplyButton = 1;
@@ -2004,7 +2017,7 @@ class HydratedTemplateButton final :
public:
void clear_quickreplybutton();
const ::proto::HydratedQuickReplyButton& quickreplybutton() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HydratedQuickReplyButton* release_quickreplybutton();
+ PROTOBUF_NODISCARD ::proto::HydratedQuickReplyButton* release_quickreplybutton();
::proto::HydratedQuickReplyButton* mutable_quickreplybutton();
void set_allocated_quickreplybutton(::proto::HydratedQuickReplyButton* quickreplybutton);
private:
@@ -2022,7 +2035,7 @@ class HydratedTemplateButton final :
public:
void clear_urlbutton();
const ::proto::HydratedURLButton& urlbutton() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HydratedURLButton* release_urlbutton();
+ PROTOBUF_NODISCARD ::proto::HydratedURLButton* release_urlbutton();
::proto::HydratedURLButton* mutable_urlbutton();
void set_allocated_urlbutton(::proto::HydratedURLButton* urlbutton);
private:
@@ -2040,7 +2053,7 @@ class HydratedTemplateButton final :
public:
void clear_callbutton();
const ::proto::HydratedCallButton& callbutton() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HydratedCallButton* release_callbutton();
+ PROTOBUF_NODISCARD ::proto::HydratedCallButton* release_callbutton();
::proto::HydratedCallButton* mutable_callbutton();
void set_allocated_callbutton(::proto::HydratedCallButton* callbutton);
private:
@@ -2066,18 +2079,21 @@ class HydratedTemplateButton final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::uint32 index_;
- union HydratedButtonUnion {
- constexpr HydratedButtonUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::HydratedQuickReplyButton* quickreplybutton_;
- ::proto::HydratedURLButton* urlbutton_;
- ::proto::HydratedCallButton* callbutton_;
- } hydratedButton_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ uint32_t index_;
+ union HydratedButtonUnion {
+ constexpr HydratedButtonUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::HydratedQuickReplyButton* quickreplybutton_;
+ ::proto::HydratedURLButton* urlbutton_;
+ ::proto::HydratedCallButton* callbutton_;
+ } hydratedButton_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -2087,7 +2103,7 @@ class QuickReplyButton final :
public:
inline QuickReplyButton() : QuickReplyButton(nullptr) {}
~QuickReplyButton() override;
- explicit constexpr QuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR QuickReplyButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
QuickReplyButton(const QuickReplyButton& from);
QuickReplyButton(QuickReplyButton&& from) noexcept
@@ -2144,7 +2160,12 @@ class QuickReplyButton final :
}
inline void Swap(QuickReplyButton* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2158,34 +2179,34 @@ class QuickReplyButton final :
// implements Message ----------------------------------------------
- inline QuickReplyButton* New() const final {
- return new QuickReplyButton();
- }
-
- QuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ QuickReplyButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<QuickReplyButton>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const QuickReplyButton& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const QuickReplyButton& from);
+ void MergeFrom( const QuickReplyButton& from) {
+ QuickReplyButton::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(QuickReplyButton* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.QuickReplyButton";
@@ -2193,9 +2214,6 @@ class QuickReplyButton final :
protected:
explicit QuickReplyButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2221,7 +2239,7 @@ class QuickReplyButton final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
- PROTOBUF_MUST_USE_RESULT std::string* release_id();
+ PROTOBUF_NODISCARD std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
@@ -2236,7 +2254,7 @@ class QuickReplyButton final :
public:
void clear_displaytext();
const ::proto::HighlyStructuredMessage& displaytext() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_displaytext();
::proto::HighlyStructuredMessage* mutable_displaytext();
void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext);
private:
@@ -2254,10 +2272,13 @@ class QuickReplyButton final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
- ::proto::HighlyStructuredMessage* displaytext_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
+ ::proto::HighlyStructuredMessage* displaytext_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -2267,7 +2288,7 @@ class URLButton final :
public:
inline URLButton() : URLButton(nullptr) {}
~URLButton() override;
- explicit constexpr URLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR URLButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
URLButton(const URLButton& from);
URLButton(URLButton&& from) noexcept
@@ -2324,7 +2345,12 @@ class URLButton final :
}
inline void Swap(URLButton* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2338,34 +2364,34 @@ class URLButton final :
// implements Message ----------------------------------------------
- inline URLButton* New() const final {
- return new URLButton();
- }
-
- URLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ URLButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<URLButton>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const URLButton& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const URLButton& from);
+ void MergeFrom( const URLButton& from) {
+ URLButton::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(URLButton* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.URLButton";
@@ -2373,9 +2399,6 @@ class URLButton final :
protected:
explicit URLButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2398,7 +2421,7 @@ class URLButton final :
public:
void clear_displaytext();
const ::proto::HighlyStructuredMessage& displaytext() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_displaytext();
::proto::HighlyStructuredMessage* mutable_displaytext();
void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext);
private:
@@ -2416,7 +2439,7 @@ class URLButton final :
public:
void clear_url();
const ::proto::HighlyStructuredMessage& url() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_url();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_url();
::proto::HighlyStructuredMessage* mutable_url();
void set_allocated_url(::proto::HighlyStructuredMessage* url);
private:
@@ -2434,10 +2457,13 @@ class URLButton final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::HighlyStructuredMessage* displaytext_;
- ::proto::HighlyStructuredMessage* url_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::HighlyStructuredMessage* displaytext_;
+ ::proto::HighlyStructuredMessage* url_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -2447,7 +2473,7 @@ class CallButton final :
public:
inline CallButton() : CallButton(nullptr) {}
~CallButton() override;
- explicit constexpr CallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR CallButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
CallButton(const CallButton& from);
CallButton(CallButton&& from) noexcept
@@ -2504,7 +2530,12 @@ class CallButton final :
}
inline void Swap(CallButton* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2518,34 +2549,34 @@ class CallButton final :
// implements Message ----------------------------------------------
- inline CallButton* New() const final {
- return new CallButton();
- }
-
- CallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ CallButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<CallButton>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const CallButton& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CallButton& from);
+ void MergeFrom( const CallButton& from) {
+ CallButton::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(CallButton* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.CallButton";
@@ -2553,9 +2584,6 @@ class CallButton final :
protected:
explicit CallButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2578,7 +2606,7 @@ class CallButton final :
public:
void clear_displaytext();
const ::proto::HighlyStructuredMessage& displaytext() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_displaytext();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_displaytext();
::proto::HighlyStructuredMessage* mutable_displaytext();
void set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext);
private:
@@ -2596,7 +2624,7 @@ class CallButton final :
public:
void clear_phonenumber();
const ::proto::HighlyStructuredMessage& phonenumber() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_phonenumber();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_phonenumber();
::proto::HighlyStructuredMessage* mutable_phonenumber();
void set_allocated_phonenumber(::proto::HighlyStructuredMessage* phonenumber);
private:
@@ -2614,10 +2642,13 @@ class CallButton final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::HighlyStructuredMessage* displaytext_;
- ::proto::HighlyStructuredMessage* phonenumber_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::HighlyStructuredMessage* displaytext_;
+ ::proto::HighlyStructuredMessage* phonenumber_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -2627,7 +2658,7 @@ class TemplateButton final :
public:
inline TemplateButton() : TemplateButton(nullptr) {}
~TemplateButton() override;
- explicit constexpr TemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR TemplateButton(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
TemplateButton(const TemplateButton& from);
TemplateButton(TemplateButton&& from) noexcept
@@ -2691,7 +2722,12 @@ class TemplateButton final :
}
inline void Swap(TemplateButton* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2705,34 +2741,34 @@ class TemplateButton final :
// implements Message ----------------------------------------------
- inline TemplateButton* New() const final {
- return new TemplateButton();
- }
-
- TemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ TemplateButton* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<TemplateButton>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const TemplateButton& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const TemplateButton& from);
+ void MergeFrom( const TemplateButton& from) {
+ TemplateButton::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(TemplateButton* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.TemplateButton";
@@ -2740,9 +2776,6 @@ class TemplateButton final :
protected:
explicit TemplateButton(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2766,11 +2799,11 @@ class TemplateButton final :
bool _internal_has_index() const;
public:
void clear_index();
- ::PROTOBUF_NAMESPACE_ID::uint32 index() const;
- void set_index(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t index() const;
+ void set_index(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_index() const;
- void _internal_set_index(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_index() const;
+ void _internal_set_index(uint32_t value);
public:
// .proto.QuickReplyButton quickReplyButton = 1;
@@ -2780,7 +2813,7 @@ class TemplateButton final :
public:
void clear_quickreplybutton();
const ::proto::QuickReplyButton& quickreplybutton() const;
- PROTOBUF_MUST_USE_RESULT ::proto::QuickReplyButton* release_quickreplybutton();
+ PROTOBUF_NODISCARD ::proto::QuickReplyButton* release_quickreplybutton();
::proto::QuickReplyButton* mutable_quickreplybutton();
void set_allocated_quickreplybutton(::proto::QuickReplyButton* quickreplybutton);
private:
@@ -2798,7 +2831,7 @@ class TemplateButton final :
public:
void clear_urlbutton();
const ::proto::URLButton& urlbutton() const;
- PROTOBUF_MUST_USE_RESULT ::proto::URLButton* release_urlbutton();
+ PROTOBUF_NODISCARD ::proto::URLButton* release_urlbutton();
::proto::URLButton* mutable_urlbutton();
void set_allocated_urlbutton(::proto::URLButton* urlbutton);
private:
@@ -2816,7 +2849,7 @@ class TemplateButton final :
public:
void clear_callbutton();
const ::proto::CallButton& callbutton() const;
- PROTOBUF_MUST_USE_RESULT ::proto::CallButton* release_callbutton();
+ PROTOBUF_NODISCARD ::proto::CallButton* release_callbutton();
::proto::CallButton* mutable_callbutton();
void set_allocated_callbutton(::proto::CallButton* callbutton);
private:
@@ -2842,18 +2875,21 @@ class TemplateButton final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::uint32 index_;
- union ButtonUnion {
- constexpr ButtonUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::QuickReplyButton* quickreplybutton_;
- ::proto::URLButton* urlbutton_;
- ::proto::CallButton* callbutton_;
- } button_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ uint32_t index_;
+ union ButtonUnion {
+ constexpr ButtonUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::QuickReplyButton* quickreplybutton_;
+ ::proto::URLButton* urlbutton_;
+ ::proto::CallButton* callbutton_;
+ } button_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -2863,7 +2899,7 @@ class Location final :
public:
inline Location() : Location(nullptr) {}
~Location() override;
- explicit constexpr Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Location(const Location& from);
Location(Location&& from) noexcept
@@ -2920,7 +2956,12 @@ class Location final :
}
inline void Swap(Location* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -2934,34 +2975,34 @@ class Location final :
// implements Message ----------------------------------------------
- inline Location* New() const final {
- return new Location();
- }
-
- Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Location>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Location& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Location& from);
+ void MergeFrom( const Location& from) {
+ Location::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Location* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.Location";
@@ -2969,9 +3010,6 @@ class Location final :
protected:
explicit Location(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2998,7 +3036,7 @@ class Location final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
std::string* mutable_name();
- PROTOBUF_MUST_USE_RESULT std::string* release_name();
+ PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
private:
const std::string& _internal_name() const;
@@ -3039,11 +3077,14 @@ class Location final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- double degreeslatitude_;
- double degreeslongitude_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
+ double degreeslatitude_;
+ double degreeslongitude_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -3053,7 +3094,7 @@ class Point final :
public:
inline Point() : Point(nullptr) {}
~Point() override;
- explicit constexpr Point(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR Point(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Point(const Point& from);
Point(Point&& from) noexcept
@@ -3110,7 +3151,12 @@ class Point final :
}
inline void Swap(Point* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3124,34 +3170,34 @@ class Point final :
// implements Message ----------------------------------------------
- inline Point* New() const final {
- return new Point();
- }
-
- Point* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ Point* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Point>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Point& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Point& from);
+ void MergeFrom( const Point& from) {
+ Point::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Point* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.Point";
@@ -3159,9 +3205,6 @@ class Point final :
protected:
explicit Point(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -3185,11 +3228,11 @@ class Point final :
bool _internal_has_xdeprecated() const;
public:
void clear_xdeprecated();
- ::PROTOBUF_NAMESPACE_ID::int32 xdeprecated() const;
- void set_xdeprecated(::PROTOBUF_NAMESPACE_ID::int32 value);
+ int32_t xdeprecated() const;
+ void set_xdeprecated(int32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_xdeprecated() const;
- void _internal_set_xdeprecated(::PROTOBUF_NAMESPACE_ID::int32 value);
+ int32_t _internal_xdeprecated() const;
+ void _internal_set_xdeprecated(int32_t value);
public:
// optional int32 yDeprecated = 2;
@@ -3198,11 +3241,11 @@ class Point final :
bool _internal_has_ydeprecated() const;
public:
void clear_ydeprecated();
- ::PROTOBUF_NAMESPACE_ID::int32 ydeprecated() const;
- void set_ydeprecated(::PROTOBUF_NAMESPACE_ID::int32 value);
+ int32_t ydeprecated() const;
+ void set_ydeprecated(int32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_ydeprecated() const;
- void _internal_set_ydeprecated(::PROTOBUF_NAMESPACE_ID::int32 value);
+ int32_t _internal_ydeprecated() const;
+ void _internal_set_ydeprecated(int32_t value);
public:
// optional double x = 3;
@@ -3238,12 +3281,15 @@ class Point final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::int32 xdeprecated_;
- ::PROTOBUF_NAMESPACE_ID::int32 ydeprecated_;
- double x_;
- double y_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ int32_t xdeprecated_;
+ int32_t ydeprecated_;
+ double x_;
+ double y_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -3253,7 +3299,7 @@ class InteractiveAnnotation final :
public:
inline InteractiveAnnotation() : InteractiveAnnotation(nullptr) {}
~InteractiveAnnotation() override;
- explicit constexpr InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
InteractiveAnnotation(const InteractiveAnnotation& from);
InteractiveAnnotation(InteractiveAnnotation&& from) noexcept
@@ -3315,7 +3361,12 @@ class InteractiveAnnotation final :
}
inline void Swap(InteractiveAnnotation* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3329,34 +3380,34 @@ class InteractiveAnnotation final :
// implements Message ----------------------------------------------
- inline InteractiveAnnotation* New() const final {
- return new InteractiveAnnotation();
- }
-
- InteractiveAnnotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ InteractiveAnnotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<InteractiveAnnotation>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const InteractiveAnnotation& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const InteractiveAnnotation& from);
+ void MergeFrom( const InteractiveAnnotation& from) {
+ InteractiveAnnotation::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(InteractiveAnnotation* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.InteractiveAnnotation";
@@ -3364,9 +3415,6 @@ class InteractiveAnnotation final :
protected:
explicit InteractiveAnnotation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -3407,7 +3455,7 @@ class InteractiveAnnotation final :
public:
void clear_location();
const ::proto::Location& location() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Location* release_location();
+ PROTOBUF_NODISCARD ::proto::Location* release_location();
::proto::Location* mutable_location();
void set_allocated_location(::proto::Location* location);
private:
@@ -3431,15 +3479,18 @@ class InteractiveAnnotation final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Point > polygonvertices_;
- union ActionUnion {
- constexpr ActionUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::Location* location_;
- } action_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Point > polygonvertices_;
+ union ActionUnion {
+ constexpr ActionUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::Location* location_;
+ } action_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -3449,7 +3500,7 @@ class DeviceListMetadata final :
public:
inline DeviceListMetadata() : DeviceListMetadata(nullptr) {}
~DeviceListMetadata() override;
- explicit constexpr DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
DeviceListMetadata(const DeviceListMetadata& from);
DeviceListMetadata(DeviceListMetadata&& from) noexcept
@@ -3506,7 +3557,12 @@ class DeviceListMetadata final :
}
inline void Swap(DeviceListMetadata* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3520,34 +3576,34 @@ class DeviceListMetadata final :
// implements Message ----------------------------------------------
- inline DeviceListMetadata* New() const final {
- return new DeviceListMetadata();
- }
-
- DeviceListMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ DeviceListMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<DeviceListMetadata>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const DeviceListMetadata& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const DeviceListMetadata& from);
+ void MergeFrom( const DeviceListMetadata& from) {
+ DeviceListMetadata::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DeviceListMetadata* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.DeviceListMetadata";
@@ -3555,9 +3611,6 @@ class DeviceListMetadata final :
protected:
explicit DeviceListMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -3585,7 +3638,7 @@ class DeviceListMetadata final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_senderkeyhash(ArgT0&& arg0, ArgT... args);
std::string* mutable_senderkeyhash();
- PROTOBUF_MUST_USE_RESULT std::string* release_senderkeyhash();
+ PROTOBUF_NODISCARD std::string* release_senderkeyhash();
void set_allocated_senderkeyhash(std::string* senderkeyhash);
private:
const std::string& _internal_senderkeyhash() const;
@@ -3603,7 +3656,7 @@ class DeviceListMetadata final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_recipientkeyhash(ArgT0&& arg0, ArgT... args);
std::string* mutable_recipientkeyhash();
- PROTOBUF_MUST_USE_RESULT std::string* release_recipientkeyhash();
+ PROTOBUF_NODISCARD std::string* release_recipientkeyhash();
void set_allocated_recipientkeyhash(std::string* recipientkeyhash);
private:
const std::string& _internal_recipientkeyhash() const;
@@ -3617,11 +3670,11 @@ class DeviceListMetadata final :
bool _internal_has_sendertimestamp() const;
public:
void clear_sendertimestamp();
- ::PROTOBUF_NAMESPACE_ID::uint64 sendertimestamp() const;
- void set_sendertimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t sendertimestamp() const;
+ void set_sendertimestamp(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_sendertimestamp() const;
- void _internal_set_sendertimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_sendertimestamp() const;
+ void _internal_set_sendertimestamp(uint64_t value);
public:
// optional uint64 recipientTimestamp = 9;
@@ -3630,11 +3683,11 @@ class DeviceListMetadata final :
bool _internal_has_recipienttimestamp() const;
public:
void clear_recipienttimestamp();
- ::PROTOBUF_NAMESPACE_ID::uint64 recipienttimestamp() const;
- void set_recipienttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t recipienttimestamp() const;
+ void set_recipienttimestamp(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_recipienttimestamp() const;
- void _internal_set_recipienttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_recipienttimestamp() const;
+ void _internal_set_recipienttimestamp(uint64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.DeviceListMetadata)
@@ -3644,12 +3697,15 @@ class DeviceListMetadata final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr senderkeyhash_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr recipientkeyhash_;
- ::PROTOBUF_NAMESPACE_ID::uint64 sendertimestamp_;
- ::PROTOBUF_NAMESPACE_ID::uint64 recipienttimestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr senderkeyhash_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr recipientkeyhash_;
+ uint64_t sendertimestamp_;
+ uint64_t recipienttimestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -3659,7 +3715,7 @@ class MessageContextInfo final :
public:
inline MessageContextInfo() : MessageContextInfo(nullptr) {}
~MessageContextInfo() override;
- explicit constexpr MessageContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR MessageContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
MessageContextInfo(const MessageContextInfo& from);
MessageContextInfo(MessageContextInfo&& from) noexcept
@@ -3716,7 +3772,12 @@ class MessageContextInfo final :
}
inline void Swap(MessageContextInfo* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3730,34 +3791,34 @@ class MessageContextInfo final :
// implements Message ----------------------------------------------
- inline MessageContextInfo* New() const final {
- return new MessageContextInfo();
- }
-
- MessageContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ MessageContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<MessageContextInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const MessageContextInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageContextInfo& from);
+ void MergeFrom( const MessageContextInfo& from) {
+ MessageContextInfo::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(MessageContextInfo* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.MessageContextInfo";
@@ -3765,9 +3826,6 @@ class MessageContextInfo final :
protected:
explicit MessageContextInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -3789,7 +3847,7 @@ class MessageContextInfo final :
public:
void clear_devicelistmetadata();
const ::proto::DeviceListMetadata& devicelistmetadata() const;
- PROTOBUF_MUST_USE_RESULT ::proto::DeviceListMetadata* release_devicelistmetadata();
+ PROTOBUF_NODISCARD ::proto::DeviceListMetadata* release_devicelistmetadata();
::proto::DeviceListMetadata* mutable_devicelistmetadata();
void set_allocated_devicelistmetadata(::proto::DeviceListMetadata* devicelistmetadata);
private:
@@ -3807,9 +3865,12 @@ class MessageContextInfo final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::DeviceListMetadata* devicelistmetadata_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::DeviceListMetadata* devicelistmetadata_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -3819,7 +3880,7 @@ class AdReplyInfo final :
public:
inline AdReplyInfo() : AdReplyInfo(nullptr) {}
~AdReplyInfo() override;
- explicit constexpr AdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AdReplyInfo(const AdReplyInfo& from);
AdReplyInfo(AdReplyInfo&& from) noexcept
@@ -3876,7 +3937,12 @@ class AdReplyInfo final :
}
inline void Swap(AdReplyInfo* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -3890,34 +3956,34 @@ class AdReplyInfo final :
// implements Message ----------------------------------------------
- inline AdReplyInfo* New() const final {
- return new AdReplyInfo();
- }
-
- AdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AdReplyInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AdReplyInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AdReplyInfo& from);
+ void MergeFrom( const AdReplyInfo& from) {
+ AdReplyInfo::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AdReplyInfo* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AdReplyInfo";
@@ -3925,9 +3991,6 @@ class AdReplyInfo final :
protected:
explicit AdReplyInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -3987,7 +4050,7 @@ class AdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_advertisername(ArgT0&& arg0, ArgT... args);
std::string* mutable_advertisername();
- PROTOBUF_MUST_USE_RESULT std::string* release_advertisername();
+ PROTOBUF_NODISCARD std::string* release_advertisername();
void set_allocated_advertisername(std::string* advertisername);
private:
const std::string& _internal_advertisername() const;
@@ -4005,7 +4068,7 @@ class AdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
@@ -4023,7 +4086,7 @@ class AdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- PROTOBUF_MUST_USE_RESULT std::string* release_caption();
+ PROTOBUF_NODISCARD std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
@@ -4051,12 +4114,15 @@ class AdReplyInfo final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr advertisername_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
- int mediatype_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr advertisername_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
+ int mediatype_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -4066,7 +4132,7 @@ class ExternalAdReplyInfo final :
public:
inline ExternalAdReplyInfo() : ExternalAdReplyInfo(nullptr) {}
~ExternalAdReplyInfo() override;
- explicit constexpr ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ExternalAdReplyInfo(const ExternalAdReplyInfo& from);
ExternalAdReplyInfo(ExternalAdReplyInfo&& from) noexcept
@@ -4123,7 +4189,12 @@ class ExternalAdReplyInfo final :
}
inline void Swap(ExternalAdReplyInfo* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -4137,34 +4208,34 @@ class ExternalAdReplyInfo final :
// implements Message ----------------------------------------------
- inline ExternalAdReplyInfo* New() const final {
- return new ExternalAdReplyInfo();
- }
-
- ExternalAdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ExternalAdReplyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ExternalAdReplyInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ExternalAdReplyInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ExternalAdReplyInfo& from);
+ void MergeFrom( const ExternalAdReplyInfo& from) {
+ ExternalAdReplyInfo::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ExternalAdReplyInfo* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ExternalAdReplyInfo";
@@ -4172,9 +4243,6 @@ class ExternalAdReplyInfo final :
protected:
explicit ExternalAdReplyInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -4239,7 +4307,7 @@ class ExternalAdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -4257,7 +4325,7 @@ class ExternalAdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_body(ArgT0&& arg0, ArgT... args);
std::string* mutable_body();
- PROTOBUF_MUST_USE_RESULT std::string* release_body();
+ PROTOBUF_NODISCARD std::string* release_body();
void set_allocated_body(std::string* body);
private:
const std::string& _internal_body() const;
@@ -4275,7 +4343,7 @@ class ExternalAdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnailurl(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailurl();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailurl();
+ PROTOBUF_NODISCARD std::string* release_thumbnailurl();
void set_allocated_thumbnailurl(std::string* thumbnailurl);
private:
const std::string& _internal_thumbnailurl() const;
@@ -4293,7 +4361,7 @@ class ExternalAdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mediaurl(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediaurl();
- PROTOBUF_MUST_USE_RESULT std::string* release_mediaurl();
+ PROTOBUF_NODISCARD std::string* release_mediaurl();
void set_allocated_mediaurl(std::string* mediaurl);
private:
const std::string& _internal_mediaurl() const;
@@ -4311,7 +4379,7 @@ class ExternalAdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnail();
+ PROTOBUF_NODISCARD std::string* release_thumbnail();
void set_allocated_thumbnail(std::string* thumbnail);
private:
const std::string& _internal_thumbnail() const;
@@ -4329,7 +4397,7 @@ class ExternalAdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_sourcetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_sourcetype();
- PROTOBUF_MUST_USE_RESULT std::string* release_sourcetype();
+ PROTOBUF_NODISCARD std::string* release_sourcetype();
void set_allocated_sourcetype(std::string* sourcetype);
private:
const std::string& _internal_sourcetype() const;
@@ -4347,7 +4415,7 @@ class ExternalAdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_sourceid(ArgT0&& arg0, ArgT... args);
std::string* mutable_sourceid();
- PROTOBUF_MUST_USE_RESULT std::string* release_sourceid();
+ PROTOBUF_NODISCARD std::string* release_sourceid();
void set_allocated_sourceid(std::string* sourceid);
private:
const std::string& _internal_sourceid() const;
@@ -4365,7 +4433,7 @@ class ExternalAdReplyInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_sourceurl(ArgT0&& arg0, ArgT... args);
std::string* mutable_sourceurl();
- PROTOBUF_MUST_USE_RESULT std::string* release_sourceurl();
+ PROTOBUF_NODISCARD std::string* release_sourceurl();
void set_allocated_sourceurl(std::string* sourceurl);
private:
const std::string& _internal_sourceurl() const;
@@ -4393,17 +4461,20 @@ class ExternalAdReplyInfo final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailurl_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediaurl_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnail_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourcetype_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourceid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourceurl_;
- int mediatype_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailurl_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediaurl_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnail_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourcetype_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourceid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sourceurl_;
+ int mediatype_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -4413,7 +4484,7 @@ class ContextInfo final :
public:
inline ContextInfo() : ContextInfo(nullptr) {}
~ContextInfo() override;
- explicit constexpr ContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ContextInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ContextInfo(const ContextInfo& from);
ContextInfo(ContextInfo&& from) noexcept
@@ -4470,7 +4541,12 @@ class ContextInfo final :
}
inline void Swap(ContextInfo* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -4484,34 +4560,34 @@ class ContextInfo final :
// implements Message ----------------------------------------------
- inline ContextInfo* New() const final {
- return new ContextInfo();
- }
-
- ContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ContextInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ContextInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ContextInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ContextInfo& from);
+ void MergeFrom( const ContextInfo& from) {
+ ContextInfo::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ContextInfo* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ContextInfo";
@@ -4519,9 +4595,6 @@ class ContextInfo final :
protected:
explicit ContextInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -4585,7 +4658,7 @@ class ContextInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_stanzaid(ArgT0&& arg0, ArgT... args);
std::string* mutable_stanzaid();
- PROTOBUF_MUST_USE_RESULT std::string* release_stanzaid();
+ PROTOBUF_NODISCARD std::string* release_stanzaid();
void set_allocated_stanzaid(std::string* stanzaid);
private:
const std::string& _internal_stanzaid() const;
@@ -4603,7 +4676,7 @@ class ContextInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_participant(ArgT0&& arg0, ArgT... args);
std::string* mutable_participant();
- PROTOBUF_MUST_USE_RESULT std::string* release_participant();
+ PROTOBUF_NODISCARD std::string* release_participant();
void set_allocated_participant(std::string* participant);
private:
const std::string& _internal_participant() const;
@@ -4621,7 +4694,7 @@ class ContextInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_remotejid(ArgT0&& arg0, ArgT... args);
std::string* mutable_remotejid();
- PROTOBUF_MUST_USE_RESULT std::string* release_remotejid();
+ PROTOBUF_NODISCARD std::string* release_remotejid();
void set_allocated_remotejid(std::string* remotejid);
private:
const std::string& _internal_remotejid() const;
@@ -4639,7 +4712,7 @@ class ContextInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_conversionsource(ArgT0&& arg0, ArgT... args);
std::string* mutable_conversionsource();
- PROTOBUF_MUST_USE_RESULT std::string* release_conversionsource();
+ PROTOBUF_NODISCARD std::string* release_conversionsource();
void set_allocated_conversionsource(std::string* conversionsource);
private:
const std::string& _internal_conversionsource() const;
@@ -4657,7 +4730,7 @@ class ContextInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_conversiondata(ArgT0&& arg0, ArgT... args);
std::string* mutable_conversiondata();
- PROTOBUF_MUST_USE_RESULT std::string* release_conversiondata();
+ PROTOBUF_NODISCARD std::string* release_conversiondata();
void set_allocated_conversiondata(std::string* conversiondata);
private:
const std::string& _internal_conversiondata() const;
@@ -4675,7 +4748,7 @@ class ContextInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_ephemeralsharedsecret(ArgT0&& arg0, ArgT... args);
std::string* mutable_ephemeralsharedsecret();
- PROTOBUF_MUST_USE_RESULT std::string* release_ephemeralsharedsecret();
+ PROTOBUF_NODISCARD std::string* release_ephemeralsharedsecret();
void set_allocated_ephemeralsharedsecret(std::string* ephemeralsharedsecret);
private:
const std::string& _internal_ephemeralsharedsecret() const;
@@ -4690,7 +4763,7 @@ class ContextInfo final :
public:
void clear_quotedmessage();
const ::proto::Message& quotedmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Message* release_quotedmessage();
+ PROTOBUF_NODISCARD ::proto::Message* release_quotedmessage();
::proto::Message* mutable_quotedmessage();
void set_allocated_quotedmessage(::proto::Message* quotedmessage);
private:
@@ -4708,7 +4781,7 @@ class ContextInfo final :
public:
void clear_quotedad();
const ::proto::AdReplyInfo& quotedad() const;
- PROTOBUF_MUST_USE_RESULT ::proto::AdReplyInfo* release_quotedad();
+ PROTOBUF_NODISCARD ::proto::AdReplyInfo* release_quotedad();
::proto::AdReplyInfo* mutable_quotedad();
void set_allocated_quotedad(::proto::AdReplyInfo* quotedad);
private:
@@ -4726,7 +4799,7 @@ class ContextInfo final :
public:
void clear_placeholderkey();
const ::proto::MessageKey& placeholderkey() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_placeholderkey();
+ PROTOBUF_NODISCARD ::proto::MessageKey* release_placeholderkey();
::proto::MessageKey* mutable_placeholderkey();
void set_allocated_placeholderkey(::proto::MessageKey* placeholderkey);
private:
@@ -4744,7 +4817,7 @@ class ContextInfo final :
public:
void clear_externaladreply();
const ::proto::ExternalAdReplyInfo& externaladreply() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ExternalAdReplyInfo* release_externaladreply();
+ PROTOBUF_NODISCARD ::proto::ExternalAdReplyInfo* release_externaladreply();
::proto::ExternalAdReplyInfo* mutable_externaladreply();
void set_allocated_externaladreply(::proto::ExternalAdReplyInfo* externaladreply);
private:
@@ -4761,11 +4834,11 @@ class ContextInfo final :
bool _internal_has_conversiondelayseconds() const;
public:
void clear_conversiondelayseconds();
- ::PROTOBUF_NAMESPACE_ID::uint32 conversiondelayseconds() const;
- void set_conversiondelayseconds(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t conversiondelayseconds() const;
+ void set_conversiondelayseconds(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_conversiondelayseconds() const;
- void _internal_set_conversiondelayseconds(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_conversiondelayseconds() const;
+ void _internal_set_conversiondelayseconds(uint32_t value);
public:
// optional uint32 forwardingScore = 21;
@@ -4774,11 +4847,11 @@ class ContextInfo final :
bool _internal_has_forwardingscore() const;
public:
void clear_forwardingscore();
- ::PROTOBUF_NAMESPACE_ID::uint32 forwardingscore() const;
- void set_forwardingscore(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t forwardingscore() const;
+ void set_forwardingscore(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_forwardingscore() const;
- void _internal_set_forwardingscore(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_forwardingscore() const;
+ void _internal_set_forwardingscore(uint32_t value);
public:
// optional bool isForwarded = 22;
@@ -4800,11 +4873,11 @@ class ContextInfo final :
bool _internal_has_expiration() const;
public:
void clear_expiration();
- ::PROTOBUF_NAMESPACE_ID::uint32 expiration() const;
- void set_expiration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t expiration() const;
+ void set_expiration(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_expiration() const;
- void _internal_set_expiration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_expiration() const;
+ void _internal_set_expiration(uint32_t value);
public:
// optional int64 ephemeralSettingTimestamp = 26;
@@ -4813,11 +4886,11 @@ class ContextInfo final :
bool _internal_has_ephemeralsettingtimestamp() const;
public:
void clear_ephemeralsettingtimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp() const;
- void set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t ephemeralsettingtimestamp() const;
+ void set_ephemeralsettingtimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_ephemeralsettingtimestamp() const;
- void _internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_ephemeralsettingtimestamp() const;
+ void _internal_set_ephemeralsettingtimestamp(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.ContextInfo)
@@ -4827,24 +4900,27 @@ class ContextInfo final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> mentionedjid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stanzaid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remotejid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversionsource_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversiondata_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ephemeralsharedsecret_;
- ::proto::Message* quotedmessage_;
- ::proto::AdReplyInfo* quotedad_;
- ::proto::MessageKey* placeholderkey_;
- ::proto::ExternalAdReplyInfo* externaladreply_;
- ::PROTOBUF_NAMESPACE_ID::uint32 conversiondelayseconds_;
- ::PROTOBUF_NAMESPACE_ID::uint32 forwardingscore_;
- bool isforwarded_;
- ::PROTOBUF_NAMESPACE_ID::uint32 expiration_;
- ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> mentionedjid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stanzaid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remotejid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversionsource_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversiondata_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ephemeralsharedsecret_;
+ ::proto::Message* quotedmessage_;
+ ::proto::AdReplyInfo* quotedad_;
+ ::proto::MessageKey* placeholderkey_;
+ ::proto::ExternalAdReplyInfo* externaladreply_;
+ uint32_t conversiondelayseconds_;
+ uint32_t forwardingscore_;
+ bool isforwarded_;
+ uint32_t expiration_;
+ int64_t ephemeralsettingtimestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -4854,7 +4930,7 @@ class SenderKeyDistributionMessage final :
public:
inline SenderKeyDistributionMessage() : SenderKeyDistributionMessage(nullptr) {}
~SenderKeyDistributionMessage() override;
- explicit constexpr SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SenderKeyDistributionMessage(const SenderKeyDistributionMessage& from);
SenderKeyDistributionMessage(SenderKeyDistributionMessage&& from) noexcept
@@ -4911,7 +4987,12 @@ class SenderKeyDistributionMessage final :
}
inline void Swap(SenderKeyDistributionMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -4925,34 +5006,34 @@ class SenderKeyDistributionMessage final :
// implements Message ----------------------------------------------
- inline SenderKeyDistributionMessage* New() const final {
- return new SenderKeyDistributionMessage();
- }
-
- SenderKeyDistributionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ SenderKeyDistributionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<SenderKeyDistributionMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SenderKeyDistributionMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SenderKeyDistributionMessage& from);
+ void MergeFrom( const SenderKeyDistributionMessage& from) {
+ SenderKeyDistributionMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(SenderKeyDistributionMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.SenderKeyDistributionMessage";
@@ -4960,9 +5041,6 @@ class SenderKeyDistributionMessage final :
protected:
explicit SenderKeyDistributionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -4988,7 +5066,7 @@ class SenderKeyDistributionMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_groupid(ArgT0&& arg0, ArgT... args);
std::string* mutable_groupid();
- PROTOBUF_MUST_USE_RESULT std::string* release_groupid();
+ PROTOBUF_NODISCARD std::string* release_groupid();
void set_allocated_groupid(std::string* groupid);
private:
const std::string& _internal_groupid() const;
@@ -5006,7 +5084,7 @@ class SenderKeyDistributionMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_axolotlsenderkeydistributionmessage(ArgT0&& arg0, ArgT... args);
std::string* mutable_axolotlsenderkeydistributionmessage();
- PROTOBUF_MUST_USE_RESULT std::string* release_axolotlsenderkeydistributionmessage();
+ PROTOBUF_NODISCARD std::string* release_axolotlsenderkeydistributionmessage();
void set_allocated_axolotlsenderkeydistributionmessage(std::string* axolotlsenderkeydistributionmessage);
private:
const std::string& _internal_axolotlsenderkeydistributionmessage() const;
@@ -5021,10 +5099,13 @@ class SenderKeyDistributionMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr axolotlsenderkeydistributionmessage_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr axolotlsenderkeydistributionmessage_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -5034,7 +5115,7 @@ class ImageMessage final :
public:
inline ImageMessage() : ImageMessage(nullptr) {}
~ImageMessage() override;
- explicit constexpr ImageMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ImageMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ImageMessage(const ImageMessage& from);
ImageMessage(ImageMessage&& from) noexcept
@@ -5091,7 +5172,12 @@ class ImageMessage final :
}
inline void Swap(ImageMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -5105,34 +5191,34 @@ class ImageMessage final :
// implements Message ----------------------------------------------
- inline ImageMessage* New() const final {
- return new ImageMessage();
- }
-
- ImageMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ImageMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ImageMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ImageMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ImageMessage& from);
+ void MergeFrom( const ImageMessage& from) {
+ ImageMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ImageMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ImageMessage";
@@ -5140,9 +5226,6 @@ class ImageMessage final :
protected:
explicit ImageMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -5206,19 +5289,19 @@ class ImageMessage final :
public:
void clear_scanlengths();
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_scanlengths(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
+ uint32_t _internal_scanlengths(int index) const;
+ const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
_internal_scanlengths() const;
- void _internal_add_scanlengths(::PROTOBUF_NAMESPACE_ID::uint32 value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
+ void _internal_add_scanlengths(uint32_t value);
+ ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
_internal_mutable_scanlengths();
public:
- ::PROTOBUF_NAMESPACE_ID::uint32 scanlengths(int index) const;
- void set_scanlengths(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value);
- void add_scanlengths(::PROTOBUF_NAMESPACE_ID::uint32 value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
+ uint32_t scanlengths(int index) const;
+ void set_scanlengths(int index, uint32_t value);
+ void add_scanlengths(uint32_t value);
+ const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
scanlengths() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
+ ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
mutable_scanlengths();
// optional string url = 1;
@@ -5231,7 +5314,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- PROTOBUF_MUST_USE_RESULT std::string* release_url();
+ PROTOBUF_NODISCARD std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
@@ -5249,7 +5332,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
+ PROTOBUF_NODISCARD std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
@@ -5267,7 +5350,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- PROTOBUF_MUST_USE_RESULT std::string* release_caption();
+ PROTOBUF_NODISCARD std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
@@ -5285,7 +5368,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
+ PROTOBUF_NODISCARD std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
@@ -5303,7 +5386,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
+ PROTOBUF_NODISCARD std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
@@ -5321,7 +5404,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
+ PROTOBUF_NODISCARD std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
@@ -5339,7 +5422,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
+ PROTOBUF_NODISCARD std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
@@ -5357,7 +5440,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
@@ -5375,7 +5458,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_firstscansidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_firstscansidecar();
- PROTOBUF_MUST_USE_RESULT std::string* release_firstscansidecar();
+ PROTOBUF_NODISCARD std::string* release_firstscansidecar();
void set_allocated_firstscansidecar(std::string* firstscansidecar);
private:
const std::string& _internal_firstscansidecar() const;
@@ -5393,7 +5476,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_scanssidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_scanssidecar();
- PROTOBUF_MUST_USE_RESULT std::string* release_scanssidecar();
+ PROTOBUF_NODISCARD std::string* release_scanssidecar();
void set_allocated_scanssidecar(std::string* scanssidecar);
private:
const std::string& _internal_scanssidecar() const;
@@ -5411,7 +5494,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_midqualityfilesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_midqualityfilesha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_midqualityfilesha256();
+ PROTOBUF_NODISCARD std::string* release_midqualityfilesha256();
void set_allocated_midqualityfilesha256(std::string* midqualityfilesha256);
private:
const std::string& _internal_midqualityfilesha256() const;
@@ -5429,7 +5512,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_midqualityfileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_midqualityfileencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_midqualityfileencsha256();
+ PROTOBUF_NODISCARD std::string* release_midqualityfileencsha256();
void set_allocated_midqualityfileencsha256(std::string* midqualityfileencsha256);
private:
const std::string& _internal_midqualityfileencsha256() const;
@@ -5447,7 +5530,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnaildirectpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath();
+ PROTOBUF_NODISCARD std::string* release_thumbnaildirectpath();
void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath);
private:
const std::string& _internal_thumbnaildirectpath() const;
@@ -5465,7 +5548,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnailsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256();
+ PROTOBUF_NODISCARD std::string* release_thumbnailsha256();
void set_allocated_thumbnailsha256(std::string* thumbnailsha256);
private:
const std::string& _internal_thumbnailsha256() const;
@@ -5483,7 +5566,7 @@ class ImageMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256();
+ PROTOBUF_NODISCARD std::string* release_thumbnailencsha256();
void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256);
private:
const std::string& _internal_thumbnailencsha256() const;
@@ -5498,7 +5581,7 @@ class ImageMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -5515,11 +5598,11 @@ class ImageMessage final :
bool _internal_has_filelength() const;
public:
void clear_filelength();
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const;
- void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t filelength() const;
+ void set_filelength(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const;
- void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_filelength() const;
+ void _internal_set_filelength(uint64_t value);
public:
// optional uint32 height = 6;
@@ -5528,11 +5611,11 @@ class ImageMessage final :
bool _internal_has_height() const;
public:
void clear_height();
- ::PROTOBUF_NAMESPACE_ID::uint32 height() const;
- void set_height(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t height() const;
+ void set_height(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_height() const;
- void _internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_height() const;
+ void _internal_set_height(uint32_t value);
public:
// optional uint32 width = 7;
@@ -5541,11 +5624,11 @@ class ImageMessage final :
bool _internal_has_width() const;
public:
void clear_width();
- ::PROTOBUF_NAMESPACE_ID::uint32 width() const;
- void set_width(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t width() const;
+ void set_width(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_width() const;
- void _internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_width() const;
+ void _internal_set_width(uint32_t value);
public:
// optional int64 mediaKeyTimestamp = 12;
@@ -5554,11 +5637,11 @@ class ImageMessage final :
bool _internal_has_mediakeytimestamp() const;
public:
void clear_mediakeytimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const;
- void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t mediakeytimestamp() const;
+ void set_mediakeytimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const;
- void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_mediakeytimestamp() const;
+ void _internal_set_mediakeytimestamp(int64_t value);
public:
// optional uint32 firstScanLength = 19;
@@ -5567,11 +5650,11 @@ class ImageMessage final :
bool _internal_has_firstscanlength() const;
public:
void clear_firstscanlength();
- ::PROTOBUF_NAMESPACE_ID::uint32 firstscanlength() const;
- void set_firstscanlength(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t firstscanlength() const;
+ void set_firstscanlength(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_firstscanlength() const;
- void _internal_set_firstscanlength(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_firstscanlength() const;
+ void _internal_set_firstscanlength(uint32_t value);
public:
// optional uint32 experimentGroupId = 20;
@@ -5580,11 +5663,11 @@ class ImageMessage final :
bool _internal_has_experimentgroupid() const;
public:
void clear_experimentgroupid();
- ::PROTOBUF_NAMESPACE_ID::uint32 experimentgroupid() const;
- void set_experimentgroupid(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t experimentgroupid() const;
+ void set_experimentgroupid(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_experimentgroupid() const;
- void _internal_set_experimentgroupid(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_experimentgroupid() const;
+ void _internal_set_experimentgroupid(uint32_t value);
public:
// optional bool viewOnce = 25;
@@ -5607,33 +5690,36 @@ class ImageMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation > interactiveannotations_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > scanlengths_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstscansidecar_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scanssidecar_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr midqualityfilesha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr midqualityfileencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength_;
- ::PROTOBUF_NAMESPACE_ID::uint32 height_;
- ::PROTOBUF_NAMESPACE_ID::uint32 width_;
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_;
- ::PROTOBUF_NAMESPACE_ID::uint32 firstscanlength_;
- ::PROTOBUF_NAMESPACE_ID::uint32 experimentgroupid_;
- bool viewonce_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation > interactiveannotations_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > scanlengths_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstscansidecar_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scanssidecar_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr midqualityfilesha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr midqualityfileencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_;
+ ::proto::ContextInfo* contextinfo_;
+ uint64_t filelength_;
+ uint32_t height_;
+ uint32_t width_;
+ int64_t mediakeytimestamp_;
+ uint32_t firstscanlength_;
+ uint32_t experimentgroupid_;
+ bool viewonce_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -5643,7 +5729,7 @@ class InvoiceMessage final :
public:
inline InvoiceMessage() : InvoiceMessage(nullptr) {}
~InvoiceMessage() override;
- explicit constexpr InvoiceMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR InvoiceMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
InvoiceMessage(const InvoiceMessage& from);
InvoiceMessage(InvoiceMessage&& from) noexcept
@@ -5700,7 +5786,12 @@ class InvoiceMessage final :
}
inline void Swap(InvoiceMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -5714,34 +5805,34 @@ class InvoiceMessage final :
// implements Message ----------------------------------------------
- inline InvoiceMessage* New() const final {
- return new InvoiceMessage();
- }
-
- InvoiceMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ InvoiceMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<InvoiceMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const InvoiceMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const InvoiceMessage& from);
+ void MergeFrom( const InvoiceMessage& from) {
+ InvoiceMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(InvoiceMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.InvoiceMessage";
@@ -5749,9 +5840,6 @@ class InvoiceMessage final :
protected:
explicit InvoiceMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -5815,7 +5903,7 @@ class InvoiceMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_note(ArgT0&& arg0, ArgT... args);
std::string* mutable_note();
- PROTOBUF_MUST_USE_RESULT std::string* release_note();
+ PROTOBUF_NODISCARD std::string* release_note();
void set_allocated_note(std::string* note);
private:
const std::string& _internal_note() const;
@@ -5833,7 +5921,7 @@ class InvoiceMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_token(ArgT0&& arg0, ArgT... args);
std::string* mutable_token();
- PROTOBUF_MUST_USE_RESULT std::string* release_token();
+ PROTOBUF_NODISCARD std::string* release_token();
void set_allocated_token(std::string* token);
private:
const std::string& _internal_token() const;
@@ -5851,7 +5939,7 @@ class InvoiceMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_attachmentmimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentmimetype();
- PROTOBUF_MUST_USE_RESULT std::string* release_attachmentmimetype();
+ PROTOBUF_NODISCARD std::string* release_attachmentmimetype();
void set_allocated_attachmentmimetype(std::string* attachmentmimetype);
private:
const std::string& _internal_attachmentmimetype() const;
@@ -5869,7 +5957,7 @@ class InvoiceMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_attachmentmediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentmediakey();
- PROTOBUF_MUST_USE_RESULT std::string* release_attachmentmediakey();
+ PROTOBUF_NODISCARD std::string* release_attachmentmediakey();
void set_allocated_attachmentmediakey(std::string* attachmentmediakey);
private:
const std::string& _internal_attachmentmediakey() const;
@@ -5887,7 +5975,7 @@ class InvoiceMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_attachmentfilesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentfilesha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_attachmentfilesha256();
+ PROTOBUF_NODISCARD std::string* release_attachmentfilesha256();
void set_allocated_attachmentfilesha256(std::string* attachmentfilesha256);
private:
const std::string& _internal_attachmentfilesha256() const;
@@ -5905,7 +5993,7 @@ class InvoiceMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_attachmentfileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentfileencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_attachmentfileencsha256();
+ PROTOBUF_NODISCARD std::string* release_attachmentfileencsha256();
void set_allocated_attachmentfileencsha256(std::string* attachmentfileencsha256);
private:
const std::string& _internal_attachmentfileencsha256() const;
@@ -5923,7 +6011,7 @@ class InvoiceMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_attachmentdirectpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentdirectpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_attachmentdirectpath();
+ PROTOBUF_NODISCARD std::string* release_attachmentdirectpath();
void set_allocated_attachmentdirectpath(std::string* attachmentdirectpath);
private:
const std::string& _internal_attachmentdirectpath() const;
@@ -5941,7 +6029,7 @@ class InvoiceMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_attachmentjpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_attachmentjpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_attachmentjpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_attachmentjpegthumbnail();
void set_allocated_attachmentjpegthumbnail(std::string* attachmentjpegthumbnail);
private:
const std::string& _internal_attachmentjpegthumbnail() const;
@@ -5955,11 +6043,11 @@ class InvoiceMessage final :
bool _internal_has_attachmentmediakeytimestamp() const;
public:
void clear_attachmentmediakeytimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 attachmentmediakeytimestamp() const;
- void set_attachmentmediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t attachmentmediakeytimestamp() const;
+ void set_attachmentmediakeytimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_attachmentmediakeytimestamp() const;
- void _internal_set_attachmentmediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_attachmentmediakeytimestamp() const;
+ void _internal_set_attachmentmediakeytimestamp(int64_t value);
public:
// optional .proto.InvoiceMessage.InvoiceMessageAttachmentType attachmentType = 3;
@@ -5982,18 +6070,21 @@ class InvoiceMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr note_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentmimetype_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentmediakey_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentfilesha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentfileencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentdirectpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentjpegthumbnail_;
- ::PROTOBUF_NAMESPACE_ID::int64 attachmentmediakeytimestamp_;
- int attachmenttype_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr note_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentmimetype_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentmediakey_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentfilesha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentfileencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentdirectpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachmentjpegthumbnail_;
+ int64_t attachmentmediakeytimestamp_;
+ int attachmenttype_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -6003,7 +6094,7 @@ class ContactMessage final :
public:
inline ContactMessage() : ContactMessage(nullptr) {}
~ContactMessage() override;
- explicit constexpr ContactMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ContactMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ContactMessage(const ContactMessage& from);
ContactMessage(ContactMessage&& from) noexcept
@@ -6060,7 +6151,12 @@ class ContactMessage final :
}
inline void Swap(ContactMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -6074,34 +6170,34 @@ class ContactMessage final :
// implements Message ----------------------------------------------
- inline ContactMessage* New() const final {
- return new ContactMessage();
- }
-
- ContactMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ContactMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ContactMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ContactMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ContactMessage& from);
+ void MergeFrom( const ContactMessage& from) {
+ ContactMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ContactMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ContactMessage";
@@ -6109,9 +6205,6 @@ class ContactMessage final :
protected:
explicit ContactMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -6138,7 +6231,7 @@ class ContactMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_displayname(ArgT0&& arg0, ArgT... args);
std::string* mutable_displayname();
- PROTOBUF_MUST_USE_RESULT std::string* release_displayname();
+ PROTOBUF_NODISCARD std::string* release_displayname();
void set_allocated_displayname(std::string* displayname);
private:
const std::string& _internal_displayname() const;
@@ -6156,7 +6249,7 @@ class ContactMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_vcard(ArgT0&& arg0, ArgT... args);
std::string* mutable_vcard();
- PROTOBUF_MUST_USE_RESULT std::string* release_vcard();
+ PROTOBUF_NODISCARD std::string* release_vcard();
void set_allocated_vcard(std::string* vcard);
private:
const std::string& _internal_vcard() const;
@@ -6171,7 +6264,7 @@ class ContactMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -6189,11 +6282,14 @@ class ContactMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vcard_;
- ::proto::ContextInfo* contextinfo_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vcard_;
+ ::proto::ContextInfo* contextinfo_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -6203,7 +6299,7 @@ class LocationMessage final :
public:
inline LocationMessage() : LocationMessage(nullptr) {}
~LocationMessage() override;
- explicit constexpr LocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR LocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocationMessage(const LocationMessage& from);
LocationMessage(LocationMessage&& from) noexcept
@@ -6260,7 +6356,12 @@ class LocationMessage final :
}
inline void Swap(LocationMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -6274,34 +6375,34 @@ class LocationMessage final :
// implements Message ----------------------------------------------
- inline LocationMessage* New() const final {
- return new LocationMessage();
- }
-
- LocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ LocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocationMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocationMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const LocationMessage& from);
+ void MergeFrom( const LocationMessage& from) {
+ LocationMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocationMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.LocationMessage";
@@ -6309,9 +6410,6 @@ class LocationMessage final :
protected:
explicit LocationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -6347,7 +6445,7 @@ class LocationMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
std::string* mutable_name();
- PROTOBUF_MUST_USE_RESULT std::string* release_name();
+ PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
private:
const std::string& _internal_name() const;
@@ -6365,7 +6463,7 @@ class LocationMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_address(ArgT0&& arg0, ArgT... args);
std::string* mutable_address();
- PROTOBUF_MUST_USE_RESULT std::string* release_address();
+ PROTOBUF_NODISCARD std::string* release_address();
void set_allocated_address(std::string* address);
private:
const std::string& _internal_address() const;
@@ -6383,7 +6481,7 @@ class LocationMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- PROTOBUF_MUST_USE_RESULT std::string* release_url();
+ PROTOBUF_NODISCARD std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
@@ -6401,7 +6499,7 @@ class LocationMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_comment(ArgT0&& arg0, ArgT... args);
std::string* mutable_comment();
- PROTOBUF_MUST_USE_RESULT std::string* release_comment();
+ PROTOBUF_NODISCARD std::string* release_comment();
void set_allocated_comment(std::string* comment);
private:
const std::string& _internal_comment() const;
@@ -6419,7 +6517,7 @@ class LocationMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
@@ -6434,7 +6532,7 @@ class LocationMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -6490,11 +6588,11 @@ class LocationMessage final :
bool _internal_has_accuracyinmeters() const;
public:
void clear_accuracyinmeters();
- ::PROTOBUF_NAMESPACE_ID::uint32 accuracyinmeters() const;
- void set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t accuracyinmeters() const;
+ void set_accuracyinmeters(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_accuracyinmeters() const;
- void _internal_set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_accuracyinmeters() const;
+ void _internal_set_accuracyinmeters(uint32_t value);
public:
// optional float speedInMps = 8;
@@ -6516,11 +6614,11 @@ class LocationMessage final :
bool _internal_has_degreesclockwisefrommagneticnorth() const;
public:
void clear_degreesclockwisefrommagneticnorth();
- ::PROTOBUF_NAMESPACE_ID::uint32 degreesclockwisefrommagneticnorth() const;
- void set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t degreesclockwisefrommagneticnorth() const;
+ void set_degreesclockwisefrommagneticnorth(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_degreesclockwisefrommagneticnorth() const;
- void _internal_set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_degreesclockwisefrommagneticnorth() const;
+ void _internal_set_degreesclockwisefrommagneticnorth(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.LocationMessage)
@@ -6530,20 +6628,23 @@ class LocationMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
- ::proto::ContextInfo* contextinfo_;
- double degreeslatitude_;
- double degreeslongitude_;
- bool islive_;
- ::PROTOBUF_NAMESPACE_ID::uint32 accuracyinmeters_;
- float speedinmps_;
- ::PROTOBUF_NAMESPACE_ID::uint32 degreesclockwisefrommagneticnorth_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
+ ::proto::ContextInfo* contextinfo_;
+ double degreeslatitude_;
+ double degreeslongitude_;
+ bool islive_;
+ uint32_t accuracyinmeters_;
+ float speedinmps_;
+ uint32_t degreesclockwisefrommagneticnorth_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -6553,7 +6654,7 @@ class ExtendedTextMessage final :
public:
inline ExtendedTextMessage() : ExtendedTextMessage(nullptr) {}
~ExtendedTextMessage() override;
- explicit constexpr ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ExtendedTextMessage(const ExtendedTextMessage& from);
ExtendedTextMessage(ExtendedTextMessage&& from) noexcept
@@ -6610,7 +6711,12 @@ class ExtendedTextMessage final :
}
inline void Swap(ExtendedTextMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -6624,34 +6730,34 @@ class ExtendedTextMessage final :
// implements Message ----------------------------------------------
- inline ExtendedTextMessage* New() const final {
- return new ExtendedTextMessage();
- }
-
- ExtendedTextMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ExtendedTextMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ExtendedTextMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ExtendedTextMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ExtendedTextMessage& from);
+ void MergeFrom( const ExtendedTextMessage& from) {
+ ExtendedTextMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ExtendedTextMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ExtendedTextMessage";
@@ -6659,9 +6765,6 @@ class ExtendedTextMessage final :
protected:
explicit ExtendedTextMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -6765,7 +6868,7 @@ class ExtendedTextMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_text(ArgT0&& arg0, ArgT... args);
std::string* mutable_text();
- PROTOBUF_MUST_USE_RESULT std::string* release_text();
+ PROTOBUF_NODISCARD std::string* release_text();
void set_allocated_text(std::string* text);
private:
const std::string& _internal_text() const;
@@ -6783,7 +6886,7 @@ class ExtendedTextMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_matchedtext(ArgT0&& arg0, ArgT... args);
std::string* mutable_matchedtext();
- PROTOBUF_MUST_USE_RESULT std::string* release_matchedtext();
+ PROTOBUF_NODISCARD std::string* release_matchedtext();
void set_allocated_matchedtext(std::string* matchedtext);
private:
const std::string& _internal_matchedtext() const;
@@ -6801,7 +6904,7 @@ class ExtendedTextMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_canonicalurl(ArgT0&& arg0, ArgT... args);
std::string* mutable_canonicalurl();
- PROTOBUF_MUST_USE_RESULT std::string* release_canonicalurl();
+ PROTOBUF_NODISCARD std::string* release_canonicalurl();
void set_allocated_canonicalurl(std::string* canonicalurl);
private:
const std::string& _internal_canonicalurl() const;
@@ -6819,7 +6922,7 @@ class ExtendedTextMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- PROTOBUF_MUST_USE_RESULT std::string* release_description();
+ PROTOBUF_NODISCARD std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
@@ -6837,7 +6940,7 @@ class ExtendedTextMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -6855,7 +6958,7 @@ class ExtendedTextMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
@@ -6870,7 +6973,7 @@ class ExtendedTextMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -6887,11 +6990,11 @@ class ExtendedTextMessage final :
bool _internal_has_textargb() const;
public:
void clear_textargb();
- ::PROTOBUF_NAMESPACE_ID::uint32 textargb() const;
- void set_textargb(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t textargb() const;
+ void set_textargb(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_textargb() const;
- void _internal_set_textargb(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_textargb() const;
+ void _internal_set_textargb(uint32_t value);
public:
// optional fixed32 backgroundArgb = 8;
@@ -6900,11 +7003,11 @@ class ExtendedTextMessage final :
bool _internal_has_backgroundargb() const;
public:
void clear_backgroundargb();
- ::PROTOBUF_NAMESPACE_ID::uint32 backgroundargb() const;
- void set_backgroundargb(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t backgroundargb() const;
+ void set_backgroundargb(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_backgroundargb() const;
- void _internal_set_backgroundargb(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_backgroundargb() const;
+ void _internal_set_backgroundargb(uint32_t value);
public:
// optional .proto.ExtendedTextMessage.ExtendedTextMessageFontType font = 9;
@@ -6953,20 +7056,23 @@ class ExtendedTextMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr matchedtext_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr canonicalurl_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::uint32 textargb_;
- ::PROTOBUF_NAMESPACE_ID::uint32 backgroundargb_;
- int font_;
- int previewtype_;
- bool donotplayinline_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr matchedtext_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr canonicalurl_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
+ ::proto::ContextInfo* contextinfo_;
+ uint32_t textargb_;
+ uint32_t backgroundargb_;
+ int font_;
+ int previewtype_;
+ bool donotplayinline_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -6976,7 +7082,7 @@ class DocumentMessage final :
public:
inline DocumentMessage() : DocumentMessage(nullptr) {}
~DocumentMessage() override;
- explicit constexpr DocumentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR DocumentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
DocumentMessage(const DocumentMessage& from);
DocumentMessage(DocumentMessage&& from) noexcept
@@ -7033,7 +7139,12 @@ class DocumentMessage final :
}
inline void Swap(DocumentMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -7047,34 +7158,34 @@ class DocumentMessage final :
// implements Message ----------------------------------------------
- inline DocumentMessage* New() const final {
- return new DocumentMessage();
- }
-
- DocumentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ DocumentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<DocumentMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const DocumentMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const DocumentMessage& from);
+ void MergeFrom( const DocumentMessage& from) {
+ DocumentMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DocumentMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.DocumentMessage";
@@ -7082,9 +7193,6 @@ class DocumentMessage final :
protected:
explicit DocumentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -7127,7 +7235,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- PROTOBUF_MUST_USE_RESULT std::string* release_url();
+ PROTOBUF_NODISCARD std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
@@ -7145,7 +7253,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
+ PROTOBUF_NODISCARD std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
@@ -7163,7 +7271,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -7181,7 +7289,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
+ PROTOBUF_NODISCARD std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
@@ -7199,7 +7307,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
+ PROTOBUF_NODISCARD std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
@@ -7217,7 +7325,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_filename(ArgT0&& arg0, ArgT... args);
std::string* mutable_filename();
- PROTOBUF_MUST_USE_RESULT std::string* release_filename();
+ PROTOBUF_NODISCARD std::string* release_filename();
void set_allocated_filename(std::string* filename);
private:
const std::string& _internal_filename() const;
@@ -7235,7 +7343,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
+ PROTOBUF_NODISCARD std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
@@ -7253,7 +7361,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
+ PROTOBUF_NODISCARD std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
@@ -7271,7 +7379,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnaildirectpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath();
+ PROTOBUF_NODISCARD std::string* release_thumbnaildirectpath();
void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath);
private:
const std::string& _internal_thumbnaildirectpath() const;
@@ -7289,7 +7397,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnailsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256();
+ PROTOBUF_NODISCARD std::string* release_thumbnailsha256();
void set_allocated_thumbnailsha256(std::string* thumbnailsha256);
private:
const std::string& _internal_thumbnailsha256() const;
@@ -7307,7 +7415,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256();
+ PROTOBUF_NODISCARD std::string* release_thumbnailencsha256();
void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256);
private:
const std::string& _internal_thumbnailencsha256() const;
@@ -7325,7 +7433,7 @@ class DocumentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
@@ -7340,7 +7448,7 @@ class DocumentMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -7357,11 +7465,11 @@ class DocumentMessage final :
bool _internal_has_filelength() const;
public:
void clear_filelength();
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const;
- void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t filelength() const;
+ void set_filelength(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const;
- void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_filelength() const;
+ void _internal_set_filelength(uint64_t value);
public:
// optional uint32 pageCount = 6;
@@ -7370,11 +7478,11 @@ class DocumentMessage final :
bool _internal_has_pagecount() const;
public:
void clear_pagecount();
- ::PROTOBUF_NAMESPACE_ID::uint32 pagecount() const;
- void set_pagecount(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t pagecount() const;
+ void set_pagecount(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_pagecount() const;
- void _internal_set_pagecount(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_pagecount() const;
+ void _internal_set_pagecount(uint32_t value);
public:
// optional bool contactVcard = 12;
@@ -7396,11 +7504,11 @@ class DocumentMessage final :
bool _internal_has_mediakeytimestamp() const;
public:
void clear_mediakeytimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const;
- void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t mediakeytimestamp() const;
+ void set_mediakeytimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const;
- void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_mediakeytimestamp() const;
+ void _internal_set_mediakeytimestamp(int64_t value);
public:
// optional uint32 thumbnailHeight = 18;
@@ -7409,11 +7517,11 @@ class DocumentMessage final :
bool _internal_has_thumbnailheight() const;
public:
void clear_thumbnailheight();
- ::PROTOBUF_NAMESPACE_ID::uint32 thumbnailheight() const;
- void set_thumbnailheight(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t thumbnailheight() const;
+ void set_thumbnailheight(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_thumbnailheight() const;
- void _internal_set_thumbnailheight(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_thumbnailheight() const;
+ void _internal_set_thumbnailheight(uint32_t value);
public:
// optional uint32 thumbnailWidth = 19;
@@ -7422,11 +7530,11 @@ class DocumentMessage final :
bool _internal_has_thumbnailwidth() const;
public:
void clear_thumbnailwidth();
- ::PROTOBUF_NAMESPACE_ID::uint32 thumbnailwidth() const;
- void set_thumbnailwidth(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t thumbnailwidth() const;
+ void set_thumbnailwidth(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_thumbnailwidth() const;
- void _internal_set_thumbnailwidth(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_thumbnailwidth() const;
+ void _internal_set_thumbnailwidth(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.DocumentMessage)
@@ -7436,27 +7544,30 @@ class DocumentMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength_;
- ::PROTOBUF_NAMESPACE_ID::uint32 pagecount_;
- bool contactvcard_;
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_;
- ::PROTOBUF_NAMESPACE_ID::uint32 thumbnailheight_;
- ::PROTOBUF_NAMESPACE_ID::uint32 thumbnailwidth_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
+ ::proto::ContextInfo* contextinfo_;
+ uint64_t filelength_;
+ uint32_t pagecount_;
+ bool contactvcard_;
+ int64_t mediakeytimestamp_;
+ uint32_t thumbnailheight_;
+ uint32_t thumbnailwidth_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -7466,7 +7577,7 @@ class AudioMessage final :
public:
inline AudioMessage() : AudioMessage(nullptr) {}
~AudioMessage() override;
- explicit constexpr AudioMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AudioMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AudioMessage(const AudioMessage& from);
AudioMessage(AudioMessage&& from) noexcept
@@ -7523,7 +7634,12 @@ class AudioMessage final :
}
inline void Swap(AudioMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -7537,34 +7653,34 @@ class AudioMessage final :
// implements Message ----------------------------------------------
- inline AudioMessage* New() const final {
- return new AudioMessage();
- }
-
- AudioMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AudioMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AudioMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AudioMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AudioMessage& from);
+ void MergeFrom( const AudioMessage& from) {
+ AudioMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AudioMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AudioMessage";
@@ -7572,9 +7688,6 @@ class AudioMessage final :
protected:
explicit AudioMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -7610,7 +7723,7 @@ class AudioMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- PROTOBUF_MUST_USE_RESULT std::string* release_url();
+ PROTOBUF_NODISCARD std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
@@ -7628,7 +7741,7 @@ class AudioMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
+ PROTOBUF_NODISCARD std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
@@ -7646,7 +7759,7 @@ class AudioMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
+ PROTOBUF_NODISCARD std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
@@ -7664,7 +7777,7 @@ class AudioMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
+ PROTOBUF_NODISCARD std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
@@ -7682,7 +7795,7 @@ class AudioMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
+ PROTOBUF_NODISCARD std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
@@ -7700,7 +7813,7 @@ class AudioMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
+ PROTOBUF_NODISCARD std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
@@ -7718,7 +7831,7 @@ class AudioMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_streamingsidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_streamingsidecar();
- PROTOBUF_MUST_USE_RESULT std::string* release_streamingsidecar();
+ PROTOBUF_NODISCARD std::string* release_streamingsidecar();
void set_allocated_streamingsidecar(std::string* streamingsidecar);
private:
const std::string& _internal_streamingsidecar() const;
@@ -7733,7 +7846,7 @@ class AudioMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -7750,11 +7863,11 @@ class AudioMessage final :
bool _internal_has_filelength() const;
public:
void clear_filelength();
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const;
- void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t filelength() const;
+ void set_filelength(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const;
- void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_filelength() const;
+ void _internal_set_filelength(uint64_t value);
public:
// optional uint32 seconds = 5;
@@ -7763,11 +7876,11 @@ class AudioMessage final :
bool _internal_has_seconds() const;
public:
void clear_seconds();
- ::PROTOBUF_NAMESPACE_ID::uint32 seconds() const;
- void set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t seconds() const;
+ void set_seconds(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_seconds() const;
- void _internal_set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_seconds() const;
+ void _internal_set_seconds(uint32_t value);
public:
// optional bool ptt = 6;
@@ -7789,11 +7902,11 @@ class AudioMessage final :
bool _internal_has_mediakeytimestamp() const;
public:
void clear_mediakeytimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const;
- void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t mediakeytimestamp() const;
+ void set_mediakeytimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const;
- void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_mediakeytimestamp() const;
+ void _internal_set_mediakeytimestamp(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.AudioMessage)
@@ -7803,20 +7916,23 @@ class AudioMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamingsidecar_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength_;
- ::PROTOBUF_NAMESPACE_ID::uint32 seconds_;
- bool ptt_;
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamingsidecar_;
+ ::proto::ContextInfo* contextinfo_;
+ uint64_t filelength_;
+ uint32_t seconds_;
+ bool ptt_;
+ int64_t mediakeytimestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -7826,7 +7942,7 @@ class VideoMessage final :
public:
inline VideoMessage() : VideoMessage(nullptr) {}
~VideoMessage() override;
- explicit constexpr VideoMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR VideoMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
VideoMessage(const VideoMessage& from);
VideoMessage(VideoMessage&& from) noexcept
@@ -7883,7 +7999,12 @@ class VideoMessage final :
}
inline void Swap(VideoMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -7897,34 +8018,34 @@ class VideoMessage final :
// implements Message ----------------------------------------------
- inline VideoMessage* New() const final {
- return new VideoMessage();
- }
-
- VideoMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ VideoMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<VideoMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const VideoMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const VideoMessage& from);
+ void MergeFrom( const VideoMessage& from) {
+ VideoMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(VideoMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.VideoMessage";
@@ -7932,9 +8053,6 @@ class VideoMessage final :
protected:
explicit VideoMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -8030,7 +8148,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- PROTOBUF_MUST_USE_RESULT std::string* release_url();
+ PROTOBUF_NODISCARD std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
@@ -8048,7 +8166,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
+ PROTOBUF_NODISCARD std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
@@ -8066,7 +8184,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
+ PROTOBUF_NODISCARD std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
@@ -8084,7 +8202,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
+ PROTOBUF_NODISCARD std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
@@ -8102,7 +8220,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- PROTOBUF_MUST_USE_RESULT std::string* release_caption();
+ PROTOBUF_NODISCARD std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
@@ -8120,7 +8238,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
+ PROTOBUF_NODISCARD std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
@@ -8138,7 +8256,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
+ PROTOBUF_NODISCARD std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
@@ -8156,7 +8274,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
@@ -8174,7 +8292,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_streamingsidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_streamingsidecar();
- PROTOBUF_MUST_USE_RESULT std::string* release_streamingsidecar();
+ PROTOBUF_NODISCARD std::string* release_streamingsidecar();
void set_allocated_streamingsidecar(std::string* streamingsidecar);
private:
const std::string& _internal_streamingsidecar() const;
@@ -8192,7 +8310,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnaildirectpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnaildirectpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnaildirectpath();
+ PROTOBUF_NODISCARD std::string* release_thumbnaildirectpath();
void set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath);
private:
const std::string& _internal_thumbnaildirectpath() const;
@@ -8210,7 +8328,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnailsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailsha256();
+ PROTOBUF_NODISCARD std::string* release_thumbnailsha256();
void set_allocated_thumbnailsha256(std::string* thumbnailsha256);
private:
const std::string& _internal_thumbnailsha256() const;
@@ -8228,7 +8346,7 @@ class VideoMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnailencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnailencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnailencsha256();
+ PROTOBUF_NODISCARD std::string* release_thumbnailencsha256();
void set_allocated_thumbnailencsha256(std::string* thumbnailencsha256);
private:
const std::string& _internal_thumbnailencsha256() const;
@@ -8243,7 +8361,7 @@ class VideoMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -8260,11 +8378,11 @@ class VideoMessage final :
bool _internal_has_filelength() const;
public:
void clear_filelength();
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const;
- void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t filelength() const;
+ void set_filelength(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const;
- void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_filelength() const;
+ void _internal_set_filelength(uint64_t value);
public:
// optional uint32 seconds = 5;
@@ -8273,11 +8391,11 @@ class VideoMessage final :
bool _internal_has_seconds() const;
public:
void clear_seconds();
- ::PROTOBUF_NAMESPACE_ID::uint32 seconds() const;
- void set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t seconds() const;
+ void set_seconds(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_seconds() const;
- void _internal_set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_seconds() const;
+ void _internal_set_seconds(uint32_t value);
public:
// optional uint32 height = 9;
@@ -8286,11 +8404,11 @@ class VideoMessage final :
bool _internal_has_height() const;
public:
void clear_height();
- ::PROTOBUF_NAMESPACE_ID::uint32 height() const;
- void set_height(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t height() const;
+ void set_height(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_height() const;
- void _internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_height() const;
+ void _internal_set_height(uint32_t value);
public:
// optional uint32 width = 10;
@@ -8299,11 +8417,11 @@ class VideoMessage final :
bool _internal_has_width() const;
public:
void clear_width();
- ::PROTOBUF_NAMESPACE_ID::uint32 width() const;
- void set_width(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t width() const;
+ void set_width(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_width() const;
- void _internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_width() const;
+ void _internal_set_width(uint32_t value);
public:
// optional bool gifPlayback = 8;
@@ -8338,11 +8456,11 @@ class VideoMessage final :
bool _internal_has_mediakeytimestamp() const;
public:
void clear_mediakeytimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const;
- void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t mediakeytimestamp() const;
+ void set_mediakeytimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const;
- void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_mediakeytimestamp() const;
+ void _internal_set_mediakeytimestamp(int64_t value);
public:
// optional .proto.VideoMessage.VideoMessageAttribution gifAttribution = 19;
@@ -8365,30 +8483,33 @@ class VideoMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation > interactiveannotations_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamingsidecar_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength_;
- ::PROTOBUF_NAMESPACE_ID::uint32 seconds_;
- ::PROTOBUF_NAMESPACE_ID::uint32 height_;
- ::PROTOBUF_NAMESPACE_ID::uint32 width_;
- bool gifplayback_;
- bool viewonce_;
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_;
- int gifattribution_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation > interactiveannotations_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr streamingsidecar_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnaildirectpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnailencsha256_;
+ ::proto::ContextInfo* contextinfo_;
+ uint64_t filelength_;
+ uint32_t seconds_;
+ uint32_t height_;
+ uint32_t width_;
+ bool gifplayback_;
+ bool viewonce_;
+ int64_t mediakeytimestamp_;
+ int gifattribution_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -8398,7 +8519,7 @@ class Call final :
public:
inline Call() : Call(nullptr) {}
~Call() override;
- explicit constexpr Call(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR Call(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Call(const Call& from);
Call(Call&& from) noexcept
@@ -8455,7 +8576,12 @@ class Call final :
}
inline void Swap(Call* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -8469,34 +8595,34 @@ class Call final :
// implements Message ----------------------------------------------
- inline Call* New() const final {
- return new Call();
- }
-
- Call* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ Call* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Call>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Call& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Call& from);
+ void MergeFrom( const Call& from) {
+ Call::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Call* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.Call";
@@ -8504,9 +8630,6 @@ class Call final :
protected:
explicit Call(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -8531,7 +8654,7 @@ class Call final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_callkey(ArgT0&& arg0, ArgT... args);
std::string* mutable_callkey();
- PROTOBUF_MUST_USE_RESULT std::string* release_callkey();
+ PROTOBUF_NODISCARD std::string* release_callkey();
void set_allocated_callkey(std::string* callkey);
private:
const std::string& _internal_callkey() const;
@@ -8546,9 +8669,12 @@ class Call final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr callkey_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr callkey_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -8558,7 +8684,7 @@ class Chat final :
public:
inline Chat() : Chat(nullptr) {}
~Chat() override;
- explicit constexpr Chat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR Chat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Chat(const Chat& from);
Chat(Chat&& from) noexcept
@@ -8615,7 +8741,12 @@ class Chat final :
}
inline void Swap(Chat* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -8629,34 +8760,34 @@ class Chat final :
// implements Message ----------------------------------------------
- inline Chat* New() const final {
- return new Chat();
- }
-
- Chat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ Chat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Chat>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Chat& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Chat& from);
+ void MergeFrom( const Chat& from) {
+ Chat::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Chat* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.Chat";
@@ -8664,9 +8795,6 @@ class Chat final :
protected:
explicit Chat(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -8692,7 +8820,7 @@ class Chat final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_displayname(ArgT0&& arg0, ArgT... args);
std::string* mutable_displayname();
- PROTOBUF_MUST_USE_RESULT std::string* release_displayname();
+ PROTOBUF_NODISCARD std::string* release_displayname();
void set_allocated_displayname(std::string* displayname);
private:
const std::string& _internal_displayname() const;
@@ -8710,7 +8838,7 @@ class Chat final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
- PROTOBUF_MUST_USE_RESULT std::string* release_id();
+ PROTOBUF_NODISCARD std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
@@ -8725,10 +8853,13 @@ class Chat final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -8738,7 +8869,7 @@ class ProtocolMessage final :
public:
inline ProtocolMessage() : ProtocolMessage(nullptr) {}
~ProtocolMessage() override;
- explicit constexpr ProtocolMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ProtocolMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ProtocolMessage(const ProtocolMessage& from);
ProtocolMessage(ProtocolMessage&& from) noexcept
@@ -8795,7 +8926,12 @@ class ProtocolMessage final :
}
inline void Swap(ProtocolMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -8809,34 +8945,34 @@ class ProtocolMessage final :
// implements Message ----------------------------------------------
- inline ProtocolMessage* New() const final {
- return new ProtocolMessage();
- }
-
- ProtocolMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ProtocolMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ProtocolMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ProtocolMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ProtocolMessage& from);
+ void MergeFrom( const ProtocolMessage& from) {
+ ProtocolMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ProtocolMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ProtocolMessage";
@@ -8844,9 +8980,6 @@ class ProtocolMessage final :
protected:
explicit ProtocolMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -8920,7 +9053,7 @@ class ProtocolMessage final :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
+ PROTOBUF_NODISCARD ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -8938,7 +9071,7 @@ class ProtocolMessage final :
public:
void clear_historysyncnotification();
const ::proto::HistorySyncNotification& historysyncnotification() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HistorySyncNotification* release_historysyncnotification();
+ PROTOBUF_NODISCARD ::proto::HistorySyncNotification* release_historysyncnotification();
::proto::HistorySyncNotification* mutable_historysyncnotification();
void set_allocated_historysyncnotification(::proto::HistorySyncNotification* historysyncnotification);
private:
@@ -8956,7 +9089,7 @@ class ProtocolMessage final :
public:
void clear_appstatesynckeyshare();
const ::proto::AppStateSyncKeyShare& appstatesynckeyshare() const;
- PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyShare* release_appstatesynckeyshare();
+ PROTOBUF_NODISCARD ::proto::AppStateSyncKeyShare* release_appstatesynckeyshare();
::proto::AppStateSyncKeyShare* mutable_appstatesynckeyshare();
void set_allocated_appstatesynckeyshare(::proto::AppStateSyncKeyShare* appstatesynckeyshare);
private:
@@ -8974,7 +9107,7 @@ class ProtocolMessage final :
public:
void clear_appstatesynckeyrequest();
const ::proto::AppStateSyncKeyRequest& appstatesynckeyrequest() const;
- PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyRequest* release_appstatesynckeyrequest();
+ PROTOBUF_NODISCARD ::proto::AppStateSyncKeyRequest* release_appstatesynckeyrequest();
::proto::AppStateSyncKeyRequest* mutable_appstatesynckeyrequest();
void set_allocated_appstatesynckeyrequest(::proto::AppStateSyncKeyRequest* appstatesynckeyrequest);
private:
@@ -8992,7 +9125,7 @@ class ProtocolMessage final :
public:
void clear_initialsecuritynotificationsettingsync();
const ::proto::InitialSecurityNotificationSettingSync& initialsecuritynotificationsettingsync() const;
- PROTOBUF_MUST_USE_RESULT ::proto::InitialSecurityNotificationSettingSync* release_initialsecuritynotificationsettingsync();
+ PROTOBUF_NODISCARD ::proto::InitialSecurityNotificationSettingSync* release_initialsecuritynotificationsettingsync();
::proto::InitialSecurityNotificationSettingSync* mutable_initialsecuritynotificationsettingsync();
void set_allocated_initialsecuritynotificationsettingsync(::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync);
private:
@@ -9010,7 +9143,7 @@ class ProtocolMessage final :
public:
void clear_appstatefatalexceptionnotification();
const ::proto::AppStateFatalExceptionNotification& appstatefatalexceptionnotification() const;
- PROTOBUF_MUST_USE_RESULT ::proto::AppStateFatalExceptionNotification* release_appstatefatalexceptionnotification();
+ PROTOBUF_NODISCARD ::proto::AppStateFatalExceptionNotification* release_appstatefatalexceptionnotification();
::proto::AppStateFatalExceptionNotification* mutable_appstatefatalexceptionnotification();
void set_allocated_appstatefatalexceptionnotification(::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification);
private:
@@ -9040,11 +9173,11 @@ class ProtocolMessage final :
bool _internal_has_ephemeralexpiration() const;
public:
void clear_ephemeralexpiration();
- ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralexpiration() const;
- void set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t ephemeralexpiration() const;
+ void set_ephemeralexpiration(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_ephemeralexpiration() const;
- void _internal_set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_ephemeralexpiration() const;
+ void _internal_set_ephemeralexpiration(uint32_t value);
public:
// optional int64 ephemeralSettingTimestamp = 5;
@@ -9053,11 +9186,11 @@ class ProtocolMessage final :
bool _internal_has_ephemeralsettingtimestamp() const;
public:
void clear_ephemeralsettingtimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp() const;
- void set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t ephemeralsettingtimestamp() const;
+ void set_ephemeralsettingtimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_ephemeralsettingtimestamp() const;
- void _internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_ephemeralsettingtimestamp() const;
+ void _internal_set_ephemeralsettingtimestamp(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.ProtocolMessage)
@@ -9067,17 +9200,20 @@ class ProtocolMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::MessageKey* key_;
- ::proto::HistorySyncNotification* historysyncnotification_;
- ::proto::AppStateSyncKeyShare* appstatesynckeyshare_;
- ::proto::AppStateSyncKeyRequest* appstatesynckeyrequest_;
- ::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync_;
- ::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification_;
- int type_;
- ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralexpiration_;
- ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::MessageKey* key_;
+ ::proto::HistorySyncNotification* historysyncnotification_;
+ ::proto::AppStateSyncKeyShare* appstatesynckeyshare_;
+ ::proto::AppStateSyncKeyRequest* appstatesynckeyrequest_;
+ ::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync_;
+ ::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification_;
+ int type_;
+ uint32_t ephemeralexpiration_;
+ int64_t ephemeralsettingtimestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -9087,7 +9223,7 @@ class HistorySyncNotification final :
public:
inline HistorySyncNotification() : HistorySyncNotification(nullptr) {}
~HistorySyncNotification() override;
- explicit constexpr HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HistorySyncNotification(const HistorySyncNotification& from);
HistorySyncNotification(HistorySyncNotification&& from) noexcept
@@ -9144,7 +9280,12 @@ class HistorySyncNotification final :
}
inline void Swap(HistorySyncNotification* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -9158,34 +9299,34 @@ class HistorySyncNotification final :
// implements Message ----------------------------------------------
- inline HistorySyncNotification* New() const final {
- return new HistorySyncNotification();
- }
-
- HistorySyncNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HistorySyncNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HistorySyncNotification>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HistorySyncNotification& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HistorySyncNotification& from);
+ void MergeFrom( const HistorySyncNotification& from) {
+ HistorySyncNotification::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HistorySyncNotification* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HistorySyncNotification";
@@ -9193,9 +9334,6 @@ class HistorySyncNotification final :
protected:
explicit HistorySyncNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -9263,7 +9401,7 @@ class HistorySyncNotification final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
+ PROTOBUF_NODISCARD std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
@@ -9281,7 +9419,7 @@ class HistorySyncNotification final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
+ PROTOBUF_NODISCARD std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
@@ -9299,7 +9437,7 @@ class HistorySyncNotification final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
+ PROTOBUF_NODISCARD std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
@@ -9317,7 +9455,7 @@ class HistorySyncNotification final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
+ PROTOBUF_NODISCARD std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
@@ -9335,7 +9473,7 @@ class HistorySyncNotification final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_originalmessageid(ArgT0&& arg0, ArgT... args);
std::string* mutable_originalmessageid();
- PROTOBUF_MUST_USE_RESULT std::string* release_originalmessageid();
+ PROTOBUF_NODISCARD std::string* release_originalmessageid();
void set_allocated_originalmessageid(std::string* originalmessageid);
private:
const std::string& _internal_originalmessageid() const;
@@ -9349,11 +9487,11 @@ class HistorySyncNotification final :
bool _internal_has_filelength() const;
public:
void clear_filelength();
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const;
- void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t filelength() const;
+ void set_filelength(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const;
- void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_filelength() const;
+ void _internal_set_filelength(uint64_t value);
public:
// optional .proto.HistorySyncNotification.HistorySyncNotificationHistorySyncType syncType = 6;
@@ -9375,11 +9513,11 @@ class HistorySyncNotification final :
bool _internal_has_chunkorder() const;
public:
void clear_chunkorder();
- ::PROTOBUF_NAMESPACE_ID::uint32 chunkorder() const;
- void set_chunkorder(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t chunkorder() const;
+ void set_chunkorder(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_chunkorder() const;
- void _internal_set_chunkorder(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_chunkorder() const;
+ void _internal_set_chunkorder(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.HistorySyncNotification)
@@ -9389,16 +9527,19 @@ class HistorySyncNotification final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr originalmessageid_;
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength_;
- int synctype_;
- ::PROTOBUF_NAMESPACE_ID::uint32 chunkorder_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr originalmessageid_;
+ uint64_t filelength_;
+ int synctype_;
+ uint32_t chunkorder_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -9408,7 +9549,7 @@ class AppStateSyncKey final :
public:
inline AppStateSyncKey() : AppStateSyncKey(nullptr) {}
~AppStateSyncKey() override;
- explicit constexpr AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKey(const AppStateSyncKey& from);
AppStateSyncKey(AppStateSyncKey&& from) noexcept
@@ -9465,7 +9606,12 @@ class AppStateSyncKey final :
}
inline void Swap(AppStateSyncKey* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -9479,34 +9625,34 @@ class AppStateSyncKey final :
// implements Message ----------------------------------------------
- inline AppStateSyncKey* New() const final {
- return new AppStateSyncKey();
- }
-
- AppStateSyncKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AppStateSyncKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AppStateSyncKey>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKey& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AppStateSyncKey& from);
+ void MergeFrom( const AppStateSyncKey& from) {
+ AppStateSyncKey::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKey* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AppStateSyncKey";
@@ -9514,9 +9660,6 @@ class AppStateSyncKey final :
protected:
explicit AppStateSyncKey(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -9539,7 +9682,7 @@ class AppStateSyncKey final :
public:
void clear_keyid();
const ::proto::AppStateSyncKeyId& keyid() const;
- PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyId* release_keyid();
+ PROTOBUF_NODISCARD ::proto::AppStateSyncKeyId* release_keyid();
::proto::AppStateSyncKeyId* mutable_keyid();
void set_allocated_keyid(::proto::AppStateSyncKeyId* keyid);
private:
@@ -9557,7 +9700,7 @@ class AppStateSyncKey final :
public:
void clear_keydata();
const ::proto::AppStateSyncKeyData& keydata() const;
- PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyData* release_keydata();
+ PROTOBUF_NODISCARD ::proto::AppStateSyncKeyData* release_keydata();
::proto::AppStateSyncKeyData* mutable_keydata();
void set_allocated_keydata(::proto::AppStateSyncKeyData* keydata);
private:
@@ -9575,10 +9718,13 @@ class AppStateSyncKey final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::AppStateSyncKeyId* keyid_;
- ::proto::AppStateSyncKeyData* keydata_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::AppStateSyncKeyId* keyid_;
+ ::proto::AppStateSyncKeyData* keydata_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -9588,7 +9734,7 @@ class AppStateSyncKeyId final :
public:
inline AppStateSyncKeyId() : AppStateSyncKeyId(nullptr) {}
~AppStateSyncKeyId() override;
- explicit constexpr AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyId(const AppStateSyncKeyId& from);
AppStateSyncKeyId(AppStateSyncKeyId&& from) noexcept
@@ -9645,7 +9791,12 @@ class AppStateSyncKeyId final :
}
inline void Swap(AppStateSyncKeyId* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -9659,34 +9810,34 @@ class AppStateSyncKeyId final :
// implements Message ----------------------------------------------
- inline AppStateSyncKeyId* New() const final {
- return new AppStateSyncKeyId();
- }
-
- AppStateSyncKeyId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AppStateSyncKeyId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AppStateSyncKeyId>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyId& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AppStateSyncKeyId& from);
+ void MergeFrom( const AppStateSyncKeyId& from) {
+ AppStateSyncKeyId::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyId* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AppStateSyncKeyId";
@@ -9694,9 +9845,6 @@ class AppStateSyncKeyId final :
protected:
explicit AppStateSyncKeyId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -9721,7 +9869,7 @@ class AppStateSyncKeyId final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_keyid(ArgT0&& arg0, ArgT... args);
std::string* mutable_keyid();
- PROTOBUF_MUST_USE_RESULT std::string* release_keyid();
+ PROTOBUF_NODISCARD std::string* release_keyid();
void set_allocated_keyid(std::string* keyid);
private:
const std::string& _internal_keyid() const;
@@ -9736,9 +9884,12 @@ class AppStateSyncKeyId final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keyid_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keyid_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -9748,7 +9899,7 @@ class AppStateSyncKeyFingerprint final :
public:
inline AppStateSyncKeyFingerprint() : AppStateSyncKeyFingerprint(nullptr) {}
~AppStateSyncKeyFingerprint() override;
- explicit constexpr AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyFingerprint(const AppStateSyncKeyFingerprint& from);
AppStateSyncKeyFingerprint(AppStateSyncKeyFingerprint&& from) noexcept
@@ -9805,7 +9956,12 @@ class AppStateSyncKeyFingerprint final :
}
inline void Swap(AppStateSyncKeyFingerprint* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -9819,34 +9975,34 @@ class AppStateSyncKeyFingerprint final :
// implements Message ----------------------------------------------
- inline AppStateSyncKeyFingerprint* New() const final {
- return new AppStateSyncKeyFingerprint();
- }
-
- AppStateSyncKeyFingerprint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AppStateSyncKeyFingerprint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AppStateSyncKeyFingerprint>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyFingerprint& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AppStateSyncKeyFingerprint& from);
+ void MergeFrom( const AppStateSyncKeyFingerprint& from) {
+ AppStateSyncKeyFingerprint::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyFingerprint* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AppStateSyncKeyFingerprint";
@@ -9854,9 +10010,6 @@ class AppStateSyncKeyFingerprint final :
protected:
explicit AppStateSyncKeyFingerprint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -9880,19 +10033,19 @@ class AppStateSyncKeyFingerprint final :
public:
void clear_deviceindexes();
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_deviceindexes(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
+ uint32_t _internal_deviceindexes(int index) const;
+ const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
_internal_deviceindexes() const;
- void _internal_add_deviceindexes(::PROTOBUF_NAMESPACE_ID::uint32 value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
+ void _internal_add_deviceindexes(uint32_t value);
+ ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
_internal_mutable_deviceindexes();
public:
- ::PROTOBUF_NAMESPACE_ID::uint32 deviceindexes(int index) const;
- void set_deviceindexes(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value);
- void add_deviceindexes(::PROTOBUF_NAMESPACE_ID::uint32 value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
+ uint32_t deviceindexes(int index) const;
+ void set_deviceindexes(int index, uint32_t value);
+ void add_deviceindexes(uint32_t value);
+ const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
deviceindexes() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
+ ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
mutable_deviceindexes();
// optional uint32 rawId = 1;
@@ -9901,11 +10054,11 @@ class AppStateSyncKeyFingerprint final :
bool _internal_has_rawid() const;
public:
void clear_rawid();
- ::PROTOBUF_NAMESPACE_ID::uint32 rawid() const;
- void set_rawid(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t rawid() const;
+ void set_rawid(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_rawid() const;
- void _internal_set_rawid(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_rawid() const;
+ void _internal_set_rawid(uint32_t value);
public:
// optional uint32 currentIndex = 2;
@@ -9914,11 +10067,11 @@ class AppStateSyncKeyFingerprint final :
bool _internal_has_currentindex() const;
public:
void clear_currentindex();
- ::PROTOBUF_NAMESPACE_ID::uint32 currentindex() const;
- void set_currentindex(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t currentindex() const;
+ void set_currentindex(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_currentindex() const;
- void _internal_set_currentindex(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_currentindex() const;
+ void _internal_set_currentindex(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.AppStateSyncKeyFingerprint)
@@ -9928,12 +10081,15 @@ class AppStateSyncKeyFingerprint final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > deviceindexes_;
- mutable std::atomic<int> _deviceindexes_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::uint32 rawid_;
- ::PROTOBUF_NAMESPACE_ID::uint32 currentindex_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > deviceindexes_;
+ mutable std::atomic<int> _deviceindexes_cached_byte_size_;
+ uint32_t rawid_;
+ uint32_t currentindex_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -9943,7 +10099,7 @@ class AppStateSyncKeyData final :
public:
inline AppStateSyncKeyData() : AppStateSyncKeyData(nullptr) {}
~AppStateSyncKeyData() override;
- explicit constexpr AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyData(const AppStateSyncKeyData& from);
AppStateSyncKeyData(AppStateSyncKeyData&& from) noexcept
@@ -10000,7 +10156,12 @@ class AppStateSyncKeyData final :
}
inline void Swap(AppStateSyncKeyData* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10014,34 +10175,34 @@ class AppStateSyncKeyData final :
// implements Message ----------------------------------------------
- inline AppStateSyncKeyData* New() const final {
- return new AppStateSyncKeyData();
- }
-
- AppStateSyncKeyData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AppStateSyncKeyData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AppStateSyncKeyData>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyData& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AppStateSyncKeyData& from);
+ void MergeFrom( const AppStateSyncKeyData& from) {
+ AppStateSyncKeyData::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyData* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AppStateSyncKeyData";
@@ -10049,9 +10210,6 @@ class AppStateSyncKeyData final :
protected:
explicit AppStateSyncKeyData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -10078,7 +10236,7 @@ class AppStateSyncKeyData final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_keydata(ArgT0&& arg0, ArgT... args);
std::string* mutable_keydata();
- PROTOBUF_MUST_USE_RESULT std::string* release_keydata();
+ PROTOBUF_NODISCARD std::string* release_keydata();
void set_allocated_keydata(std::string* keydata);
private:
const std::string& _internal_keydata() const;
@@ -10093,7 +10251,7 @@ class AppStateSyncKeyData final :
public:
void clear_fingerprint();
const ::proto::AppStateSyncKeyFingerprint& fingerprint() const;
- PROTOBUF_MUST_USE_RESULT ::proto::AppStateSyncKeyFingerprint* release_fingerprint();
+ PROTOBUF_NODISCARD ::proto::AppStateSyncKeyFingerprint* release_fingerprint();
::proto::AppStateSyncKeyFingerprint* mutable_fingerprint();
void set_allocated_fingerprint(::proto::AppStateSyncKeyFingerprint* fingerprint);
private:
@@ -10110,11 +10268,11 @@ class AppStateSyncKeyData final :
bool _internal_has_timestamp() const;
public:
void clear_timestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 timestamp() const;
- void set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t timestamp() const;
+ void set_timestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_timestamp() const;
- void _internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_timestamp() const;
+ void _internal_set_timestamp(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.AppStateSyncKeyData)
@@ -10124,11 +10282,14 @@ class AppStateSyncKeyData final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keydata_;
- ::proto::AppStateSyncKeyFingerprint* fingerprint_;
- ::PROTOBUF_NAMESPACE_ID::int64 timestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keydata_;
+ ::proto::AppStateSyncKeyFingerprint* fingerprint_;
+ int64_t timestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -10138,7 +10299,7 @@ class AppStateSyncKeyShare final :
public:
inline AppStateSyncKeyShare() : AppStateSyncKeyShare(nullptr) {}
~AppStateSyncKeyShare() override;
- explicit constexpr AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyShare(const AppStateSyncKeyShare& from);
AppStateSyncKeyShare(AppStateSyncKeyShare&& from) noexcept
@@ -10195,7 +10356,12 @@ class AppStateSyncKeyShare final :
}
inline void Swap(AppStateSyncKeyShare* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10209,34 +10375,34 @@ class AppStateSyncKeyShare final :
// implements Message ----------------------------------------------
- inline AppStateSyncKeyShare* New() const final {
- return new AppStateSyncKeyShare();
- }
-
- AppStateSyncKeyShare* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AppStateSyncKeyShare* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AppStateSyncKeyShare>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyShare& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AppStateSyncKeyShare& from);
+ void MergeFrom( const AppStateSyncKeyShare& from) {
+ AppStateSyncKeyShare::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyShare* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AppStateSyncKeyShare";
@@ -10244,9 +10410,6 @@ class AppStateSyncKeyShare final :
protected:
explicit AppStateSyncKeyShare(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -10286,8 +10449,11 @@ class AppStateSyncKeyShare final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKey > keys_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKey > keys_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -10297,7 +10463,7 @@ class AppStateSyncKeyRequest final :
public:
inline AppStateSyncKeyRequest() : AppStateSyncKeyRequest(nullptr) {}
~AppStateSyncKeyRequest() override;
- explicit constexpr AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateSyncKeyRequest(const AppStateSyncKeyRequest& from);
AppStateSyncKeyRequest(AppStateSyncKeyRequest&& from) noexcept
@@ -10354,7 +10520,12 @@ class AppStateSyncKeyRequest final :
}
inline void Swap(AppStateSyncKeyRequest* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10368,34 +10539,34 @@ class AppStateSyncKeyRequest final :
// implements Message ----------------------------------------------
- inline AppStateSyncKeyRequest* New() const final {
- return new AppStateSyncKeyRequest();
- }
-
- AppStateSyncKeyRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AppStateSyncKeyRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AppStateSyncKeyRequest>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateSyncKeyRequest& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AppStateSyncKeyRequest& from);
+ void MergeFrom( const AppStateSyncKeyRequest& from) {
+ AppStateSyncKeyRequest::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateSyncKeyRequest* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AppStateSyncKeyRequest";
@@ -10403,9 +10574,6 @@ class AppStateSyncKeyRequest final :
protected:
explicit AppStateSyncKeyRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -10445,8 +10613,11 @@ class AppStateSyncKeyRequest final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKeyId > keyids_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKeyId > keyids_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -10456,7 +10627,7 @@ class AppStateFatalExceptionNotification final :
public:
inline AppStateFatalExceptionNotification() : AppStateFatalExceptionNotification(nullptr) {}
~AppStateFatalExceptionNotification() override;
- explicit constexpr AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
AppStateFatalExceptionNotification(const AppStateFatalExceptionNotification& from);
AppStateFatalExceptionNotification(AppStateFatalExceptionNotification&& from) noexcept
@@ -10513,7 +10684,12 @@ class AppStateFatalExceptionNotification final :
}
inline void Swap(AppStateFatalExceptionNotification* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10527,34 +10703,34 @@ class AppStateFatalExceptionNotification final :
// implements Message ----------------------------------------------
- inline AppStateFatalExceptionNotification* New() const final {
- return new AppStateFatalExceptionNotification();
- }
-
- AppStateFatalExceptionNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ AppStateFatalExceptionNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<AppStateFatalExceptionNotification>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const AppStateFatalExceptionNotification& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const AppStateFatalExceptionNotification& from);
+ void MergeFrom( const AppStateFatalExceptionNotification& from) {
+ AppStateFatalExceptionNotification::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(AppStateFatalExceptionNotification* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.AppStateFatalExceptionNotification";
@@ -10562,9 +10738,6 @@ class AppStateFatalExceptionNotification final :
protected:
explicit AppStateFatalExceptionNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -10610,11 +10783,11 @@ class AppStateFatalExceptionNotification final :
bool _internal_has_timestamp() const;
public:
void clear_timestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 timestamp() const;
- void set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t timestamp() const;
+ void set_timestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_timestamp() const;
- void _internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_timestamp() const;
+ void _internal_set_timestamp(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.AppStateFatalExceptionNotification)
@@ -10624,10 +10797,13 @@ class AppStateFatalExceptionNotification final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> collectionnames_;
- ::PROTOBUF_NAMESPACE_ID::int64 timestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> collectionnames_;
+ int64_t timestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -10637,7 +10813,7 @@ class InitialSecurityNotificationSettingSync final :
public:
inline InitialSecurityNotificationSettingSync() : InitialSecurityNotificationSettingSync(nullptr) {}
~InitialSecurityNotificationSettingSync() override;
- explicit constexpr InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
InitialSecurityNotificationSettingSync(const InitialSecurityNotificationSettingSync& from);
InitialSecurityNotificationSettingSync(InitialSecurityNotificationSettingSync&& from) noexcept
@@ -10694,7 +10870,12 @@ class InitialSecurityNotificationSettingSync final :
}
inline void Swap(InitialSecurityNotificationSettingSync* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10708,34 +10889,34 @@ class InitialSecurityNotificationSettingSync final :
// implements Message ----------------------------------------------
- inline InitialSecurityNotificationSettingSync* New() const final {
- return new InitialSecurityNotificationSettingSync();
- }
-
- InitialSecurityNotificationSettingSync* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ InitialSecurityNotificationSettingSync* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<InitialSecurityNotificationSettingSync>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const InitialSecurityNotificationSettingSync& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const InitialSecurityNotificationSettingSync& from);
+ void MergeFrom( const InitialSecurityNotificationSettingSync& from) {
+ InitialSecurityNotificationSettingSync::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(InitialSecurityNotificationSettingSync* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.InitialSecurityNotificationSettingSync";
@@ -10743,9 +10924,6 @@ class InitialSecurityNotificationSettingSync final :
protected:
explicit InitialSecurityNotificationSettingSync(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -10780,9 +10958,12 @@ class InitialSecurityNotificationSettingSync final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- bool securitynotificationenabled_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ bool securitynotificationenabled_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -10792,7 +10973,7 @@ class ContactsArrayMessage final :
public:
inline ContactsArrayMessage() : ContactsArrayMessage(nullptr) {}
~ContactsArrayMessage() override;
- explicit constexpr ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ContactsArrayMessage(const ContactsArrayMessage& from);
ContactsArrayMessage(ContactsArrayMessage&& from) noexcept
@@ -10849,7 +11030,12 @@ class ContactsArrayMessage final :
}
inline void Swap(ContactsArrayMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -10863,34 +11049,34 @@ class ContactsArrayMessage final :
// implements Message ----------------------------------------------
- inline ContactsArrayMessage* New() const final {
- return new ContactsArrayMessage();
- }
-
- ContactsArrayMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ContactsArrayMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ContactsArrayMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ContactsArrayMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ContactsArrayMessage& from);
+ void MergeFrom( const ContactsArrayMessage& from) {
+ ContactsArrayMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ContactsArrayMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ContactsArrayMessage";
@@ -10898,9 +11084,6 @@ class ContactsArrayMessage final :
protected:
explicit ContactsArrayMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -10945,7 +11128,7 @@ class ContactsArrayMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_displayname(ArgT0&& arg0, ArgT... args);
std::string* mutable_displayname();
- PROTOBUF_MUST_USE_RESULT std::string* release_displayname();
+ PROTOBUF_NODISCARD std::string* release_displayname();
void set_allocated_displayname(std::string* displayname);
private:
const std::string& _internal_displayname() const;
@@ -10960,7 +11143,7 @@ class ContactsArrayMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -10978,11 +11161,14 @@ class ContactsArrayMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::ContactMessage > contacts_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_;
- ::proto::ContextInfo* contextinfo_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::ContactMessage > contacts_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displayname_;
+ ::proto::ContextInfo* contextinfo_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -10992,7 +11178,7 @@ class HSMCurrency final :
public:
inline HSMCurrency() : HSMCurrency(nullptr) {}
~HSMCurrency() override;
- explicit constexpr HSMCurrency(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HSMCurrency(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMCurrency(const HSMCurrency& from);
HSMCurrency(HSMCurrency&& from) noexcept
@@ -11049,7 +11235,12 @@ class HSMCurrency final :
}
inline void Swap(HSMCurrency* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11063,34 +11254,34 @@ class HSMCurrency final :
// implements Message ----------------------------------------------
- inline HSMCurrency* New() const final {
- return new HSMCurrency();
- }
-
- HSMCurrency* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HSMCurrency* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HSMCurrency>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMCurrency& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HSMCurrency& from);
+ void MergeFrom( const HSMCurrency& from) {
+ HSMCurrency::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMCurrency* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HSMCurrency";
@@ -11098,9 +11289,6 @@ class HSMCurrency final :
protected:
explicit HSMCurrency(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -11126,7 +11314,7 @@ class HSMCurrency final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_currencycode(ArgT0&& arg0, ArgT... args);
std::string* mutable_currencycode();
- PROTOBUF_MUST_USE_RESULT std::string* release_currencycode();
+ PROTOBUF_NODISCARD std::string* release_currencycode();
void set_allocated_currencycode(std::string* currencycode);
private:
const std::string& _internal_currencycode() const;
@@ -11140,11 +11328,11 @@ class HSMCurrency final :
bool _internal_has_amount1000() const;
public:
void clear_amount1000();
- ::PROTOBUF_NAMESPACE_ID::int64 amount1000() const;
- void set_amount1000(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t amount1000() const;
+ void set_amount1000(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_amount1000() const;
- void _internal_set_amount1000(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_amount1000() const;
+ void _internal_set_amount1000(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.HSMCurrency)
@@ -11154,10 +11342,13 @@ class HSMCurrency final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_;
- ::PROTOBUF_NAMESPACE_ID::int64 amount1000_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_;
+ int64_t amount1000_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -11167,7 +11358,7 @@ class HSMDateTimeComponent final :
public:
inline HSMDateTimeComponent() : HSMDateTimeComponent(nullptr) {}
~HSMDateTimeComponent() override;
- explicit constexpr HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMDateTimeComponent(const HSMDateTimeComponent& from);
HSMDateTimeComponent(HSMDateTimeComponent&& from) noexcept
@@ -11224,7 +11415,12 @@ class HSMDateTimeComponent final :
}
inline void Swap(HSMDateTimeComponent* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11238,34 +11434,34 @@ class HSMDateTimeComponent final :
// implements Message ----------------------------------------------
- inline HSMDateTimeComponent* New() const final {
- return new HSMDateTimeComponent();
- }
-
- HSMDateTimeComponent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HSMDateTimeComponent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HSMDateTimeComponent>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMDateTimeComponent& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HSMDateTimeComponent& from);
+ void MergeFrom( const HSMDateTimeComponent& from) {
+ HSMDateTimeComponent::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMDateTimeComponent* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HSMDateTimeComponent";
@@ -11273,9 +11469,6 @@ class HSMDateTimeComponent final :
protected:
explicit HSMDateTimeComponent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -11372,11 +11565,11 @@ class HSMDateTimeComponent final :
bool _internal_has_year() const;
public:
void clear_year();
- ::PROTOBUF_NAMESPACE_ID::uint32 year() const;
- void set_year(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t year() const;
+ void set_year(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_year() const;
- void _internal_set_year(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_year() const;
+ void _internal_set_year(uint32_t value);
public:
// optional uint32 month = 3;
@@ -11385,11 +11578,11 @@ class HSMDateTimeComponent final :
bool _internal_has_month() const;
public:
void clear_month();
- ::PROTOBUF_NAMESPACE_ID::uint32 month() const;
- void set_month(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t month() const;
+ void set_month(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_month() const;
- void _internal_set_month(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_month() const;
+ void _internal_set_month(uint32_t value);
public:
// optional uint32 dayOfMonth = 4;
@@ -11398,11 +11591,11 @@ class HSMDateTimeComponent final :
bool _internal_has_dayofmonth() const;
public:
void clear_dayofmonth();
- ::PROTOBUF_NAMESPACE_ID::uint32 dayofmonth() const;
- void set_dayofmonth(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t dayofmonth() const;
+ void set_dayofmonth(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_dayofmonth() const;
- void _internal_set_dayofmonth(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_dayofmonth() const;
+ void _internal_set_dayofmonth(uint32_t value);
public:
// optional uint32 hour = 5;
@@ -11411,11 +11604,11 @@ class HSMDateTimeComponent final :
bool _internal_has_hour() const;
public:
void clear_hour();
- ::PROTOBUF_NAMESPACE_ID::uint32 hour() const;
- void set_hour(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t hour() const;
+ void set_hour(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_hour() const;
- void _internal_set_hour(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_hour() const;
+ void _internal_set_hour(uint32_t value);
public:
// optional uint32 minute = 6;
@@ -11424,11 +11617,11 @@ class HSMDateTimeComponent final :
bool _internal_has_minute() const;
public:
void clear_minute();
- ::PROTOBUF_NAMESPACE_ID::uint32 minute() const;
- void set_minute(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t minute() const;
+ void set_minute(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_minute() const;
- void _internal_set_minute(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_minute() const;
+ void _internal_set_minute(uint32_t value);
public:
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentDayOfWeekType dayOfWeek = 1;
@@ -11464,15 +11657,18 @@ class HSMDateTimeComponent final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::uint32 year_;
- ::PROTOBUF_NAMESPACE_ID::uint32 month_;
- ::PROTOBUF_NAMESPACE_ID::uint32 dayofmonth_;
- ::PROTOBUF_NAMESPACE_ID::uint32 hour_;
- ::PROTOBUF_NAMESPACE_ID::uint32 minute_;
- int dayofweek_;
- int calendar_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ uint32_t year_;
+ uint32_t month_;
+ uint32_t dayofmonth_;
+ uint32_t hour_;
+ uint32_t minute_;
+ int dayofweek_;
+ int calendar_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -11482,7 +11678,7 @@ class HSMDateTimeUnixEpoch final :
public:
inline HSMDateTimeUnixEpoch() : HSMDateTimeUnixEpoch(nullptr) {}
~HSMDateTimeUnixEpoch() override;
- explicit constexpr HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMDateTimeUnixEpoch(const HSMDateTimeUnixEpoch& from);
HSMDateTimeUnixEpoch(HSMDateTimeUnixEpoch&& from) noexcept
@@ -11539,7 +11735,12 @@ class HSMDateTimeUnixEpoch final :
}
inline void Swap(HSMDateTimeUnixEpoch* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11553,34 +11754,34 @@ class HSMDateTimeUnixEpoch final :
// implements Message ----------------------------------------------
- inline HSMDateTimeUnixEpoch* New() const final {
- return new HSMDateTimeUnixEpoch();
- }
-
- HSMDateTimeUnixEpoch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HSMDateTimeUnixEpoch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HSMDateTimeUnixEpoch>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMDateTimeUnixEpoch& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HSMDateTimeUnixEpoch& from);
+ void MergeFrom( const HSMDateTimeUnixEpoch& from) {
+ HSMDateTimeUnixEpoch::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMDateTimeUnixEpoch* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HSMDateTimeUnixEpoch";
@@ -11588,9 +11789,6 @@ class HSMDateTimeUnixEpoch final :
protected:
explicit HSMDateTimeUnixEpoch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -11611,11 +11809,11 @@ class HSMDateTimeUnixEpoch final :
bool _internal_has_timestamp() const;
public:
void clear_timestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 timestamp() const;
- void set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t timestamp() const;
+ void set_timestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_timestamp() const;
- void _internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_timestamp() const;
+ void _internal_set_timestamp(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.HSMDateTimeUnixEpoch)
@@ -11625,9 +11823,12 @@ class HSMDateTimeUnixEpoch final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::int64 timestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ int64_t timestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -11637,7 +11838,7 @@ class HSMDateTime final :
public:
inline HSMDateTime() : HSMDateTime(nullptr) {}
~HSMDateTime() override;
- explicit constexpr HSMDateTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HSMDateTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMDateTime(const HSMDateTime& from);
HSMDateTime(HSMDateTime&& from) noexcept
@@ -11700,7 +11901,12 @@ class HSMDateTime final :
}
inline void Swap(HSMDateTime* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11714,34 +11920,34 @@ class HSMDateTime final :
// implements Message ----------------------------------------------
- inline HSMDateTime* New() const final {
- return new HSMDateTime();
- }
-
- HSMDateTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HSMDateTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HSMDateTime>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMDateTime& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HSMDateTime& from);
+ void MergeFrom( const HSMDateTime& from) {
+ HSMDateTime::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMDateTime* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HSMDateTime";
@@ -11749,9 +11955,6 @@ class HSMDateTime final :
protected:
explicit HSMDateTime(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -11774,7 +11977,7 @@ class HSMDateTime final :
public:
void clear_component();
const ::proto::HSMDateTimeComponent& component() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTimeComponent* release_component();
+ PROTOBUF_NODISCARD ::proto::HSMDateTimeComponent* release_component();
::proto::HSMDateTimeComponent* mutable_component();
void set_allocated_component(::proto::HSMDateTimeComponent* component);
private:
@@ -11792,7 +11995,7 @@ class HSMDateTime final :
public:
void clear_unixepoch();
const ::proto::HSMDateTimeUnixEpoch& unixepoch() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTimeUnixEpoch* release_unixepoch();
+ PROTOBUF_NODISCARD ::proto::HSMDateTimeUnixEpoch* release_unixepoch();
::proto::HSMDateTimeUnixEpoch* mutable_unixepoch();
void set_allocated_unixepoch(::proto::HSMDateTimeUnixEpoch* unixepoch);
private:
@@ -11817,15 +12020,18 @@ class HSMDateTime final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- union DatetimeOneofUnion {
- constexpr DatetimeOneofUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::HSMDateTimeComponent* component_;
- ::proto::HSMDateTimeUnixEpoch* unixepoch_;
- } datetimeOneof_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ union DatetimeOneofUnion {
+ constexpr DatetimeOneofUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::HSMDateTimeComponent* component_;
+ ::proto::HSMDateTimeUnixEpoch* unixepoch_;
+ } datetimeOneof_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -11835,7 +12041,7 @@ class HSMLocalizableParameter final :
public:
inline HSMLocalizableParameter() : HSMLocalizableParameter(nullptr) {}
~HSMLocalizableParameter() override;
- explicit constexpr HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HSMLocalizableParameter(const HSMLocalizableParameter& from);
HSMLocalizableParameter(HSMLocalizableParameter&& from) noexcept
@@ -11898,7 +12104,12 @@ class HSMLocalizableParameter final :
}
inline void Swap(HSMLocalizableParameter* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -11912,34 +12123,34 @@ class HSMLocalizableParameter final :
// implements Message ----------------------------------------------
- inline HSMLocalizableParameter* New() const final {
- return new HSMLocalizableParameter();
- }
-
- HSMLocalizableParameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HSMLocalizableParameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HSMLocalizableParameter>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HSMLocalizableParameter& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HSMLocalizableParameter& from);
+ void MergeFrom( const HSMLocalizableParameter& from) {
+ HSMLocalizableParameter::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HSMLocalizableParameter* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HSMLocalizableParameter";
@@ -11947,9 +12158,6 @@ class HSMLocalizableParameter final :
protected:
explicit HSMLocalizableParameter(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -11976,7 +12184,7 @@ class HSMLocalizableParameter final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_default_(ArgT0&& arg0, ArgT... args);
std::string* mutable_default_();
- PROTOBUF_MUST_USE_RESULT std::string* release_default_();
+ PROTOBUF_NODISCARD std::string* release_default_();
void set_allocated_default_(std::string* default_);
private:
const std::string& _internal_default_() const;
@@ -11991,7 +12199,7 @@ class HSMLocalizableParameter final :
public:
void clear_currency();
const ::proto::HSMCurrency& currency() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HSMCurrency* release_currency();
+ PROTOBUF_NODISCARD ::proto::HSMCurrency* release_currency();
::proto::HSMCurrency* mutable_currency();
void set_allocated_currency(::proto::HSMCurrency* currency);
private:
@@ -12009,7 +12217,7 @@ class HSMLocalizableParameter final :
public:
void clear_datetime();
const ::proto::HSMDateTime& datetime() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HSMDateTime* release_datetime();
+ PROTOBUF_NODISCARD ::proto::HSMDateTime* release_datetime();
::proto::HSMDateTime* mutable_datetime();
void set_allocated_datetime(::proto::HSMDateTime* datetime);
private:
@@ -12034,17 +12242,20 @@ class HSMLocalizableParameter final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default__;
- union ParamOneofUnion {
- constexpr ParamOneofUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::HSMCurrency* currency_;
- ::proto::HSMDateTime* datetime_;
- } paramOneof_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default__;
+ union ParamOneofUnion {
+ constexpr ParamOneofUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::HSMCurrency* currency_;
+ ::proto::HSMDateTime* datetime_;
+ } paramOneof_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -12054,7 +12265,7 @@ class HighlyStructuredMessage final :
public:
inline HighlyStructuredMessage() : HighlyStructuredMessage(nullptr) {}
~HighlyStructuredMessage() override;
- explicit constexpr HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HighlyStructuredMessage(const HighlyStructuredMessage& from);
HighlyStructuredMessage(HighlyStructuredMessage&& from) noexcept
@@ -12111,7 +12322,12 @@ class HighlyStructuredMessage final :
}
inline void Swap(HighlyStructuredMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12125,34 +12341,34 @@ class HighlyStructuredMessage final :
// implements Message ----------------------------------------------
- inline HighlyStructuredMessage* New() const final {
- return new HighlyStructuredMessage();
- }
-
- HighlyStructuredMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HighlyStructuredMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HighlyStructuredMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HighlyStructuredMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HighlyStructuredMessage& from);
+ void MergeFrom( const HighlyStructuredMessage& from) {
+ HighlyStructuredMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HighlyStructuredMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HighlyStructuredMessage";
@@ -12160,9 +12376,6 @@ class HighlyStructuredMessage final :
protected:
explicit HighlyStructuredMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -12237,7 +12450,7 @@ class HighlyStructuredMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_namespace_(ArgT0&& arg0, ArgT... args);
std::string* mutable_namespace_();
- PROTOBUF_MUST_USE_RESULT std::string* release_namespace_();
+ PROTOBUF_NODISCARD std::string* release_namespace_();
void set_allocated_namespace_(std::string* namespace_);
private:
const std::string& _internal_namespace_() const;
@@ -12255,7 +12468,7 @@ class HighlyStructuredMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_elementname(ArgT0&& arg0, ArgT... args);
std::string* mutable_elementname();
- PROTOBUF_MUST_USE_RESULT std::string* release_elementname();
+ PROTOBUF_NODISCARD std::string* release_elementname();
void set_allocated_elementname(std::string* elementname);
private:
const std::string& _internal_elementname() const;
@@ -12273,7 +12486,7 @@ class HighlyStructuredMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_fallbacklg(ArgT0&& arg0, ArgT... args);
std::string* mutable_fallbacklg();
- PROTOBUF_MUST_USE_RESULT std::string* release_fallbacklg();
+ PROTOBUF_NODISCARD std::string* release_fallbacklg();
void set_allocated_fallbacklg(std::string* fallbacklg);
private:
const std::string& _internal_fallbacklg() const;
@@ -12291,7 +12504,7 @@ class HighlyStructuredMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_fallbacklc(ArgT0&& arg0, ArgT... args);
std::string* mutable_fallbacklc();
- PROTOBUF_MUST_USE_RESULT std::string* release_fallbacklc();
+ PROTOBUF_NODISCARD std::string* release_fallbacklc();
void set_allocated_fallbacklc(std::string* fallbacklc);
private:
const std::string& _internal_fallbacklc() const;
@@ -12309,7 +12522,7 @@ class HighlyStructuredMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_deterministiclg(ArgT0&& arg0, ArgT... args);
std::string* mutable_deterministiclg();
- PROTOBUF_MUST_USE_RESULT std::string* release_deterministiclg();
+ PROTOBUF_NODISCARD std::string* release_deterministiclg();
void set_allocated_deterministiclg(std::string* deterministiclg);
private:
const std::string& _internal_deterministiclg() const;
@@ -12327,7 +12540,7 @@ class HighlyStructuredMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_deterministiclc(ArgT0&& arg0, ArgT... args);
std::string* mutable_deterministiclc();
- PROTOBUF_MUST_USE_RESULT std::string* release_deterministiclc();
+ PROTOBUF_NODISCARD std::string* release_deterministiclc();
void set_allocated_deterministiclc(std::string* deterministiclc);
private:
const std::string& _internal_deterministiclc() const;
@@ -12342,7 +12555,7 @@ class HighlyStructuredMessage final :
public:
void clear_hydratedhsm();
const ::proto::TemplateMessage& hydratedhsm() const;
- PROTOBUF_MUST_USE_RESULT ::proto::TemplateMessage* release_hydratedhsm();
+ PROTOBUF_NODISCARD ::proto::TemplateMessage* release_hydratedhsm();
::proto::TemplateMessage* mutable_hydratedhsm();
void set_allocated_hydratedhsm(::proto::TemplateMessage* hydratedhsm);
private:
@@ -12360,17 +12573,20 @@ class HighlyStructuredMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> params_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HSMLocalizableParameter > localizableparams_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr namespace__;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr elementname_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fallbacklg_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fallbacklc_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deterministiclg_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deterministiclc_;
- ::proto::TemplateMessage* hydratedhsm_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> params_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HSMLocalizableParameter > localizableparams_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr namespace__;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr elementname_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fallbacklg_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fallbacklc_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deterministiclg_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deterministiclc_;
+ ::proto::TemplateMessage* hydratedhsm_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -12380,7 +12596,7 @@ class SendPaymentMessage final :
public:
inline SendPaymentMessage() : SendPaymentMessage(nullptr) {}
~SendPaymentMessage() override;
- explicit constexpr SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SendPaymentMessage(const SendPaymentMessage& from);
SendPaymentMessage(SendPaymentMessage&& from) noexcept
@@ -12437,7 +12653,12 @@ class SendPaymentMessage final :
}
inline void Swap(SendPaymentMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12451,34 +12672,34 @@ class SendPaymentMessage final :
// implements Message ----------------------------------------------
- inline SendPaymentMessage* New() const final {
- return new SendPaymentMessage();
- }
-
- SendPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ SendPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<SendPaymentMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SendPaymentMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SendPaymentMessage& from);
+ void MergeFrom( const SendPaymentMessage& from) {
+ SendPaymentMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(SendPaymentMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.SendPaymentMessage";
@@ -12486,9 +12707,6 @@ class SendPaymentMessage final :
protected:
explicit SendPaymentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -12511,7 +12729,7 @@ class SendPaymentMessage final :
public:
void clear_notemessage();
const ::proto::Message& notemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Message* release_notemessage();
+ PROTOBUF_NODISCARD ::proto::Message* release_notemessage();
::proto::Message* mutable_notemessage();
void set_allocated_notemessage(::proto::Message* notemessage);
private:
@@ -12529,7 +12747,7 @@ class SendPaymentMessage final :
public:
void clear_requestmessagekey();
const ::proto::MessageKey& requestmessagekey() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_requestmessagekey();
+ PROTOBUF_NODISCARD ::proto::MessageKey* release_requestmessagekey();
::proto::MessageKey* mutable_requestmessagekey();
void set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey);
private:
@@ -12547,10 +12765,13 @@ class SendPaymentMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::Message* notemessage_;
- ::proto::MessageKey* requestmessagekey_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::Message* notemessage_;
+ ::proto::MessageKey* requestmessagekey_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -12560,7 +12781,7 @@ class RequestPaymentMessage final :
public:
inline RequestPaymentMessage() : RequestPaymentMessage(nullptr) {}
~RequestPaymentMessage() override;
- explicit constexpr RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
RequestPaymentMessage(const RequestPaymentMessage& from);
RequestPaymentMessage(RequestPaymentMessage&& from) noexcept
@@ -12617,7 +12838,12 @@ class RequestPaymentMessage final :
}
inline void Swap(RequestPaymentMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12631,34 +12857,34 @@ class RequestPaymentMessage final :
// implements Message ----------------------------------------------
- inline RequestPaymentMessage* New() const final {
- return new RequestPaymentMessage();
- }
-
- RequestPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ RequestPaymentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<RequestPaymentMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const RequestPaymentMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const RequestPaymentMessage& from);
+ void MergeFrom( const RequestPaymentMessage& from) {
+ RequestPaymentMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(RequestPaymentMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.RequestPaymentMessage";
@@ -12666,9 +12892,6 @@ class RequestPaymentMessage final :
protected:
explicit RequestPaymentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -12698,7 +12921,7 @@ class RequestPaymentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_currencycodeiso4217(ArgT0&& arg0, ArgT... args);
std::string* mutable_currencycodeiso4217();
- PROTOBUF_MUST_USE_RESULT std::string* release_currencycodeiso4217();
+ PROTOBUF_NODISCARD std::string* release_currencycodeiso4217();
void set_allocated_currencycodeiso4217(std::string* currencycodeiso4217);
private:
const std::string& _internal_currencycodeiso4217() const;
@@ -12716,7 +12939,7 @@ class RequestPaymentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_requestfrom(ArgT0&& arg0, ArgT... args);
std::string* mutable_requestfrom();
- PROTOBUF_MUST_USE_RESULT std::string* release_requestfrom();
+ PROTOBUF_NODISCARD std::string* release_requestfrom();
void set_allocated_requestfrom(std::string* requestfrom);
private:
const std::string& _internal_requestfrom() const;
@@ -12731,7 +12954,7 @@ class RequestPaymentMessage final :
public:
void clear_notemessage();
const ::proto::Message& notemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Message* release_notemessage();
+ PROTOBUF_NODISCARD ::proto::Message* release_notemessage();
::proto::Message* mutable_notemessage();
void set_allocated_notemessage(::proto::Message* notemessage);
private:
@@ -12749,7 +12972,7 @@ class RequestPaymentMessage final :
public:
void clear_amount();
const ::proto::PaymentMoney& amount() const;
- PROTOBUF_MUST_USE_RESULT ::proto::PaymentMoney* release_amount();
+ PROTOBUF_NODISCARD ::proto::PaymentMoney* release_amount();
::proto::PaymentMoney* mutable_amount();
void set_allocated_amount(::proto::PaymentMoney* amount);
private:
@@ -12766,11 +12989,11 @@ class RequestPaymentMessage final :
bool _internal_has_amount1000() const;
public:
void clear_amount1000();
- ::PROTOBUF_NAMESPACE_ID::uint64 amount1000() const;
- void set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t amount1000() const;
+ void set_amount1000(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_amount1000() const;
- void _internal_set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_amount1000() const;
+ void _internal_set_amount1000(uint64_t value);
public:
// optional int64 expiryTimestamp = 5;
@@ -12779,11 +13002,11 @@ class RequestPaymentMessage final :
bool _internal_has_expirytimestamp() const;
public:
void clear_expirytimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 expirytimestamp() const;
- void set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t expirytimestamp() const;
+ void set_expirytimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_expirytimestamp() const;
- void _internal_set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_expirytimestamp() const;
+ void _internal_set_expirytimestamp(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.RequestPaymentMessage)
@@ -12793,14 +13016,17 @@ class RequestPaymentMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycodeiso4217_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr requestfrom_;
- ::proto::Message* notemessage_;
- ::proto::PaymentMoney* amount_;
- ::PROTOBUF_NAMESPACE_ID::uint64 amount1000_;
- ::PROTOBUF_NAMESPACE_ID::int64 expirytimestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycodeiso4217_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr requestfrom_;
+ ::proto::Message* notemessage_;
+ ::proto::PaymentMoney* amount_;
+ uint64_t amount1000_;
+ int64_t expirytimestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -12810,7 +13036,7 @@ class DeclinePaymentRequestMessage final :
public:
inline DeclinePaymentRequestMessage() : DeclinePaymentRequestMessage(nullptr) {}
~DeclinePaymentRequestMessage() override;
- explicit constexpr DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
DeclinePaymentRequestMessage(const DeclinePaymentRequestMessage& from);
DeclinePaymentRequestMessage(DeclinePaymentRequestMessage&& from) noexcept
@@ -12867,7 +13093,12 @@ class DeclinePaymentRequestMessage final :
}
inline void Swap(DeclinePaymentRequestMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -12881,34 +13112,34 @@ class DeclinePaymentRequestMessage final :
// implements Message ----------------------------------------------
- inline DeclinePaymentRequestMessage* New() const final {
- return new DeclinePaymentRequestMessage();
- }
-
- DeclinePaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ DeclinePaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<DeclinePaymentRequestMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const DeclinePaymentRequestMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const DeclinePaymentRequestMessage& from);
+ void MergeFrom( const DeclinePaymentRequestMessage& from) {
+ DeclinePaymentRequestMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DeclinePaymentRequestMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.DeclinePaymentRequestMessage";
@@ -12916,9 +13147,6 @@ class DeclinePaymentRequestMessage final :
protected:
explicit DeclinePaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -12940,7 +13168,7 @@ class DeclinePaymentRequestMessage final :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
+ PROTOBUF_NODISCARD ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -12958,9 +13186,12 @@ class DeclinePaymentRequestMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::MessageKey* key_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::MessageKey* key_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -12970,7 +13201,7 @@ class CancelPaymentRequestMessage final :
public:
inline CancelPaymentRequestMessage() : CancelPaymentRequestMessage(nullptr) {}
~CancelPaymentRequestMessage() override;
- explicit constexpr CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
CancelPaymentRequestMessage(const CancelPaymentRequestMessage& from);
CancelPaymentRequestMessage(CancelPaymentRequestMessage&& from) noexcept
@@ -13027,7 +13258,12 @@ class CancelPaymentRequestMessage final :
}
inline void Swap(CancelPaymentRequestMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -13041,34 +13277,34 @@ class CancelPaymentRequestMessage final :
// implements Message ----------------------------------------------
- inline CancelPaymentRequestMessage* New() const final {
- return new CancelPaymentRequestMessage();
- }
-
- CancelPaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ CancelPaymentRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<CancelPaymentRequestMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const CancelPaymentRequestMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CancelPaymentRequestMessage& from);
+ void MergeFrom( const CancelPaymentRequestMessage& from) {
+ CancelPaymentRequestMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(CancelPaymentRequestMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.CancelPaymentRequestMessage";
@@ -13076,9 +13312,6 @@ class CancelPaymentRequestMessage final :
protected:
explicit CancelPaymentRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -13100,7 +13333,7 @@ class CancelPaymentRequestMessage final :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
+ PROTOBUF_NODISCARD ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -13118,9 +13351,12 @@ class CancelPaymentRequestMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::MessageKey* key_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::MessageKey* key_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -13130,7 +13366,7 @@ class LiveLocationMessage final :
public:
inline LiveLocationMessage() : LiveLocationMessage(nullptr) {}
~LiveLocationMessage() override;
- explicit constexpr LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LiveLocationMessage(const LiveLocationMessage& from);
LiveLocationMessage(LiveLocationMessage&& from) noexcept
@@ -13187,7 +13423,12 @@ class LiveLocationMessage final :
}
inline void Swap(LiveLocationMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -13201,34 +13442,34 @@ class LiveLocationMessage final :
// implements Message ----------------------------------------------
- inline LiveLocationMessage* New() const final {
- return new LiveLocationMessage();
- }
-
- LiveLocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ LiveLocationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LiveLocationMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LiveLocationMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const LiveLocationMessage& from);
+ void MergeFrom( const LiveLocationMessage& from) {
+ LiveLocationMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LiveLocationMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.LiveLocationMessage";
@@ -13236,9 +13477,6 @@ class LiveLocationMessage final :
protected:
explicit LiveLocationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -13272,7 +13510,7 @@ class LiveLocationMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- PROTOBUF_MUST_USE_RESULT std::string* release_caption();
+ PROTOBUF_NODISCARD std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
@@ -13290,7 +13528,7 @@ class LiveLocationMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
@@ -13305,7 +13543,7 @@ class LiveLocationMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -13348,11 +13586,11 @@ class LiveLocationMessage final :
bool _internal_has_accuracyinmeters() const;
public:
void clear_accuracyinmeters();
- ::PROTOBUF_NAMESPACE_ID::uint32 accuracyinmeters() const;
- void set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t accuracyinmeters() const;
+ void set_accuracyinmeters(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_accuracyinmeters() const;
- void _internal_set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_accuracyinmeters() const;
+ void _internal_set_accuracyinmeters(uint32_t value);
public:
// optional float speedInMps = 4;
@@ -13374,11 +13612,11 @@ class LiveLocationMessage final :
bool _internal_has_degreesclockwisefrommagneticnorth() const;
public:
void clear_degreesclockwisefrommagneticnorth();
- ::PROTOBUF_NAMESPACE_ID::uint32 degreesclockwisefrommagneticnorth() const;
- void set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t degreesclockwisefrommagneticnorth() const;
+ void set_degreesclockwisefrommagneticnorth(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_degreesclockwisefrommagneticnorth() const;
- void _internal_set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_degreesclockwisefrommagneticnorth() const;
+ void _internal_set_degreesclockwisefrommagneticnorth(uint32_t value);
public:
// optional uint32 timeOffset = 8;
@@ -13387,11 +13625,11 @@ class LiveLocationMessage final :
bool _internal_has_timeoffset() const;
public:
void clear_timeoffset();
- ::PROTOBUF_NAMESPACE_ID::uint32 timeoffset() const;
- void set_timeoffset(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t timeoffset() const;
+ void set_timeoffset(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_timeoffset() const;
- void _internal_set_timeoffset(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_timeoffset() const;
+ void _internal_set_timeoffset(uint32_t value);
public:
// optional int64 sequenceNumber = 7;
@@ -13400,11 +13638,11 @@ class LiveLocationMessage final :
bool _internal_has_sequencenumber() const;
public:
void clear_sequencenumber();
- ::PROTOBUF_NAMESPACE_ID::int64 sequencenumber() const;
- void set_sequencenumber(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t sequencenumber() const;
+ void set_sequencenumber(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_sequencenumber() const;
- void _internal_set_sequencenumber(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_sequencenumber() const;
+ void _internal_set_sequencenumber(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.LiveLocationMessage)
@@ -13414,18 +13652,21 @@ class LiveLocationMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
- ::proto::ContextInfo* contextinfo_;
- double degreeslatitude_;
- double degreeslongitude_;
- ::PROTOBUF_NAMESPACE_ID::uint32 accuracyinmeters_;
- float speedinmps_;
- ::PROTOBUF_NAMESPACE_ID::uint32 degreesclockwisefrommagneticnorth_;
- ::PROTOBUF_NAMESPACE_ID::uint32 timeoffset_;
- ::PROTOBUF_NAMESPACE_ID::int64 sequencenumber_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
+ ::proto::ContextInfo* contextinfo_;
+ double degreeslatitude_;
+ double degreeslongitude_;
+ uint32_t accuracyinmeters_;
+ float speedinmps_;
+ uint32_t degreesclockwisefrommagneticnorth_;
+ uint32_t timeoffset_;
+ int64_t sequencenumber_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -13435,7 +13676,7 @@ class StickerMessage final :
public:
inline StickerMessage() : StickerMessage(nullptr) {}
~StickerMessage() override;
- explicit constexpr StickerMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR StickerMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
StickerMessage(const StickerMessage& from);
StickerMessage(StickerMessage&& from) noexcept
@@ -13492,7 +13733,12 @@ class StickerMessage final :
}
inline void Swap(StickerMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -13506,34 +13752,34 @@ class StickerMessage final :
// implements Message ----------------------------------------------
- inline StickerMessage* New() const final {
- return new StickerMessage();
- }
-
- StickerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ StickerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<StickerMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const StickerMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const StickerMessage& from);
+ void MergeFrom( const StickerMessage& from) {
+ StickerMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(StickerMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.StickerMessage";
@@ -13541,9 +13787,6 @@ class StickerMessage final :
protected:
explicit StickerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -13582,7 +13825,7 @@ class StickerMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- PROTOBUF_MUST_USE_RESULT std::string* release_url();
+ PROTOBUF_NODISCARD std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
@@ -13600,7 +13843,7 @@ class StickerMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_filesha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_filesha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_filesha256();
+ PROTOBUF_NODISCARD std::string* release_filesha256();
void set_allocated_filesha256(std::string* filesha256);
private:
const std::string& _internal_filesha256() const;
@@ -13618,7 +13861,7 @@ class StickerMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_fileencsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_fileencsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_fileencsha256();
+ PROTOBUF_NODISCARD std::string* release_fileencsha256();
void set_allocated_fileencsha256(std::string* fileencsha256);
private:
const std::string& _internal_fileencsha256() const;
@@ -13636,7 +13879,7 @@ class StickerMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mediakey(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediakey();
- PROTOBUF_MUST_USE_RESULT std::string* release_mediakey();
+ PROTOBUF_NODISCARD std::string* release_mediakey();
void set_allocated_mediakey(std::string* mediakey);
private:
const std::string& _internal_mediakey() const;
@@ -13654,7 +13897,7 @@ class StickerMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mimetype(ArgT0&& arg0, ArgT... args);
std::string* mutable_mimetype();
- PROTOBUF_MUST_USE_RESULT std::string* release_mimetype();
+ PROTOBUF_NODISCARD std::string* release_mimetype();
void set_allocated_mimetype(std::string* mimetype);
private:
const std::string& _internal_mimetype() const;
@@ -13672,7 +13915,7 @@ class StickerMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_directpath(ArgT0&& arg0, ArgT... args);
std::string* mutable_directpath();
- PROTOBUF_MUST_USE_RESULT std::string* release_directpath();
+ PROTOBUF_NODISCARD std::string* release_directpath();
void set_allocated_directpath(std::string* directpath);
private:
const std::string& _internal_directpath() const;
@@ -13690,7 +13933,7 @@ class StickerMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_firstframesidecar(ArgT0&& arg0, ArgT... args);
std::string* mutable_firstframesidecar();
- PROTOBUF_MUST_USE_RESULT std::string* release_firstframesidecar();
+ PROTOBUF_NODISCARD std::string* release_firstframesidecar();
void set_allocated_firstframesidecar(std::string* firstframesidecar);
private:
const std::string& _internal_firstframesidecar() const;
@@ -13708,7 +13951,7 @@ class StickerMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_pngthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_pngthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_pngthumbnail();
+ PROTOBUF_NODISCARD std::string* release_pngthumbnail();
void set_allocated_pngthumbnail(std::string* pngthumbnail);
private:
const std::string& _internal_pngthumbnail() const;
@@ -13723,7 +13966,7 @@ class StickerMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -13740,11 +13983,11 @@ class StickerMessage final :
bool _internal_has_height() const;
public:
void clear_height();
- ::PROTOBUF_NAMESPACE_ID::uint32 height() const;
- void set_height(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t height() const;
+ void set_height(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_height() const;
- void _internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_height() const;
+ void _internal_set_height(uint32_t value);
public:
// optional uint32 width = 7;
@@ -13753,11 +13996,11 @@ class StickerMessage final :
bool _internal_has_width() const;
public:
void clear_width();
- ::PROTOBUF_NAMESPACE_ID::uint32 width() const;
- void set_width(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t width() const;
+ void set_width(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_width() const;
- void _internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_width() const;
+ void _internal_set_width(uint32_t value);
public:
// optional uint64 fileLength = 9;
@@ -13766,11 +14009,11 @@ class StickerMessage final :
bool _internal_has_filelength() const;
public:
void clear_filelength();
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength() const;
- void set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t filelength() const;
+ void set_filelength(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_filelength() const;
- void _internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_filelength() const;
+ void _internal_set_filelength(uint64_t value);
public:
// optional int64 mediaKeyTimestamp = 10;
@@ -13779,11 +14022,11 @@ class StickerMessage final :
bool _internal_has_mediakeytimestamp() const;
public:
void clear_mediakeytimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp() const;
- void set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t mediakeytimestamp() const;
+ void set_mediakeytimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_mediakeytimestamp() const;
- void _internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_mediakeytimestamp() const;
+ void _internal_set_mediakeytimestamp(int64_t value);
public:
// optional uint32 firstFrameLength = 11;
@@ -13792,11 +14035,11 @@ class StickerMessage final :
bool _internal_has_firstframelength() const;
public:
void clear_firstframelength();
- ::PROTOBUF_NAMESPACE_ID::uint32 firstframelength() const;
- void set_firstframelength(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t firstframelength() const;
+ void set_firstframelength(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_firstframelength() const;
- void _internal_set_firstframelength(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_firstframelength() const;
+ void _internal_set_firstframelength(uint32_t value);
public:
// optional bool isAnimated = 13;
@@ -13819,23 +14062,26 @@ class StickerMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstframesidecar_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pngthumbnail_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::uint32 height_;
- ::PROTOBUF_NAMESPACE_ID::uint32 width_;
- ::PROTOBUF_NAMESPACE_ID::uint64 filelength_;
- ::PROTOBUF_NAMESPACE_ID::int64 mediakeytimestamp_;
- ::PROTOBUF_NAMESPACE_ID::uint32 firstframelength_;
- bool isanimated_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filesha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fileencsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediakey_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mimetype_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directpath_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstframesidecar_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pngthumbnail_;
+ ::proto::ContextInfo* contextinfo_;
+ uint32_t height_;
+ uint32_t width_;
+ uint64_t filelength_;
+ int64_t mediakeytimestamp_;
+ uint32_t firstframelength_;
+ bool isanimated_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -13845,7 +14091,7 @@ class FourRowTemplate final :
public:
inline FourRowTemplate() : FourRowTemplate(nullptr) {}
~FourRowTemplate() override;
- explicit constexpr FourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR FourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
FourRowTemplate(const FourRowTemplate& from);
FourRowTemplate(FourRowTemplate&& from) noexcept
@@ -13911,7 +14157,12 @@ class FourRowTemplate final :
}
inline void Swap(FourRowTemplate* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -13925,34 +14176,34 @@ class FourRowTemplate final :
// implements Message ----------------------------------------------
- inline FourRowTemplate* New() const final {
- return new FourRowTemplate();
- }
-
- FourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ FourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<FourRowTemplate>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const FourRowTemplate& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FourRowTemplate& from);
+ void MergeFrom( const FourRowTemplate& from) {
+ FourRowTemplate::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(FourRowTemplate* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.FourRowTemplate";
@@ -13960,9 +14211,6 @@ class FourRowTemplate final :
protected:
explicit FourRowTemplate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -14009,7 +14257,7 @@ class FourRowTemplate final :
public:
void clear_content();
const ::proto::HighlyStructuredMessage& content() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_content();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_content();
::proto::HighlyStructuredMessage* mutable_content();
void set_allocated_content(::proto::HighlyStructuredMessage* content);
private:
@@ -14027,7 +14275,7 @@ class FourRowTemplate final :
public:
void clear_footer();
const ::proto::HighlyStructuredMessage& footer() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_footer();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_footer();
::proto::HighlyStructuredMessage* mutable_footer();
void set_allocated_footer(::proto::HighlyStructuredMessage* footer);
private:
@@ -14045,7 +14293,7 @@ class FourRowTemplate final :
public:
void clear_documentmessage();
const ::proto::DocumentMessage& documentmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage();
+ PROTOBUF_NODISCARD ::proto::DocumentMessage* release_documentmessage();
::proto::DocumentMessage* mutable_documentmessage();
void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage);
private:
@@ -14063,7 +14311,7 @@ class FourRowTemplate final :
public:
void clear_highlystructuredmessage();
const ::proto::HighlyStructuredMessage& highlystructuredmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_highlystructuredmessage();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_highlystructuredmessage();
::proto::HighlyStructuredMessage* mutable_highlystructuredmessage();
void set_allocated_highlystructuredmessage(::proto::HighlyStructuredMessage* highlystructuredmessage);
private:
@@ -14081,7 +14329,7 @@ class FourRowTemplate final :
public:
void clear_imagemessage();
const ::proto::ImageMessage& imagemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage();
+ PROTOBUF_NODISCARD ::proto::ImageMessage* release_imagemessage();
::proto::ImageMessage* mutable_imagemessage();
void set_allocated_imagemessage(::proto::ImageMessage* imagemessage);
private:
@@ -14099,7 +14347,7 @@ class FourRowTemplate final :
public:
void clear_videomessage();
const ::proto::VideoMessage& videomessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage();
+ PROTOBUF_NODISCARD ::proto::VideoMessage* release_videomessage();
::proto::VideoMessage* mutable_videomessage();
void set_allocated_videomessage(::proto::VideoMessage* videomessage);
private:
@@ -14117,7 +14365,7 @@ class FourRowTemplate final :
public:
void clear_locationmessage();
const ::proto::LocationMessage& locationmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage();
+ PROTOBUF_NODISCARD ::proto::LocationMessage* release_locationmessage();
::proto::LocationMessage* mutable_locationmessage();
void set_allocated_locationmessage(::proto::LocationMessage* locationmessage);
private:
@@ -14145,22 +14393,25 @@ class FourRowTemplate final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::TemplateButton > buttons_;
- ::proto::HighlyStructuredMessage* content_;
- ::proto::HighlyStructuredMessage* footer_;
- union TitleUnion {
- constexpr TitleUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::DocumentMessage* documentmessage_;
- ::proto::HighlyStructuredMessage* highlystructuredmessage_;
- ::proto::ImageMessage* imagemessage_;
- ::proto::VideoMessage* videomessage_;
- ::proto::LocationMessage* locationmessage_;
- } title_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::TemplateButton > buttons_;
+ ::proto::HighlyStructuredMessage* content_;
+ ::proto::HighlyStructuredMessage* footer_;
+ union TitleUnion {
+ constexpr TitleUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::DocumentMessage* documentmessage_;
+ ::proto::HighlyStructuredMessage* highlystructuredmessage_;
+ ::proto::ImageMessage* imagemessage_;
+ ::proto::VideoMessage* videomessage_;
+ ::proto::LocationMessage* locationmessage_;
+ } title_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -14170,7 +14421,7 @@ class HydratedFourRowTemplate final :
public:
inline HydratedFourRowTemplate() : HydratedFourRowTemplate(nullptr) {}
~HydratedFourRowTemplate() override;
- explicit constexpr HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
HydratedFourRowTemplate(const HydratedFourRowTemplate& from);
HydratedFourRowTemplate(HydratedFourRowTemplate&& from) noexcept
@@ -14236,7 +14487,12 @@ class HydratedFourRowTemplate final :
}
inline void Swap(HydratedFourRowTemplate* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -14250,34 +14506,34 @@ class HydratedFourRowTemplate final :
// implements Message ----------------------------------------------
- inline HydratedFourRowTemplate* New() const final {
- return new HydratedFourRowTemplate();
- }
-
- HydratedFourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ HydratedFourRowTemplate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<HydratedFourRowTemplate>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const HydratedFourRowTemplate& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const HydratedFourRowTemplate& from);
+ void MergeFrom( const HydratedFourRowTemplate& from) {
+ HydratedFourRowTemplate::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(HydratedFourRowTemplate* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.HydratedFourRowTemplate";
@@ -14285,9 +14541,6 @@ class HydratedFourRowTemplate final :
protected:
explicit HydratedFourRowTemplate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -14338,7 +14591,7 @@ class HydratedFourRowTemplate final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_hydratedcontenttext(ArgT0&& arg0, ArgT... args);
std::string* mutable_hydratedcontenttext();
- PROTOBUF_MUST_USE_RESULT std::string* release_hydratedcontenttext();
+ PROTOBUF_NODISCARD std::string* release_hydratedcontenttext();
void set_allocated_hydratedcontenttext(std::string* hydratedcontenttext);
private:
const std::string& _internal_hydratedcontenttext() const;
@@ -14356,7 +14609,7 @@ class HydratedFourRowTemplate final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_hydratedfootertext(ArgT0&& arg0, ArgT... args);
std::string* mutable_hydratedfootertext();
- PROTOBUF_MUST_USE_RESULT std::string* release_hydratedfootertext();
+ PROTOBUF_NODISCARD std::string* release_hydratedfootertext();
void set_allocated_hydratedfootertext(std::string* hydratedfootertext);
private:
const std::string& _internal_hydratedfootertext() const;
@@ -14374,7 +14627,7 @@ class HydratedFourRowTemplate final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_templateid(ArgT0&& arg0, ArgT... args);
std::string* mutable_templateid();
- PROTOBUF_MUST_USE_RESULT std::string* release_templateid();
+ PROTOBUF_NODISCARD std::string* release_templateid();
void set_allocated_templateid(std::string* templateid);
private:
const std::string& _internal_templateid() const;
@@ -14389,7 +14642,7 @@ class HydratedFourRowTemplate final :
public:
void clear_documentmessage();
const ::proto::DocumentMessage& documentmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage();
+ PROTOBUF_NODISCARD ::proto::DocumentMessage* release_documentmessage();
::proto::DocumentMessage* mutable_documentmessage();
void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage);
private:
@@ -14410,7 +14663,7 @@ class HydratedFourRowTemplate final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_hydratedtitletext(ArgT0&& arg0, ArgT... args);
std::string* mutable_hydratedtitletext();
- PROTOBUF_MUST_USE_RESULT std::string* release_hydratedtitletext();
+ PROTOBUF_NODISCARD std::string* release_hydratedtitletext();
void set_allocated_hydratedtitletext(std::string* hydratedtitletext);
private:
const std::string& _internal_hydratedtitletext() const;
@@ -14425,7 +14678,7 @@ class HydratedFourRowTemplate final :
public:
void clear_imagemessage();
const ::proto::ImageMessage& imagemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage();
+ PROTOBUF_NODISCARD ::proto::ImageMessage* release_imagemessage();
::proto::ImageMessage* mutable_imagemessage();
void set_allocated_imagemessage(::proto::ImageMessage* imagemessage);
private:
@@ -14443,7 +14696,7 @@ class HydratedFourRowTemplate final :
public:
void clear_videomessage();
const ::proto::VideoMessage& videomessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage();
+ PROTOBUF_NODISCARD ::proto::VideoMessage* release_videomessage();
::proto::VideoMessage* mutable_videomessage();
void set_allocated_videomessage(::proto::VideoMessage* videomessage);
private:
@@ -14461,7 +14714,7 @@ class HydratedFourRowTemplate final :
public:
void clear_locationmessage();
const ::proto::LocationMessage& locationmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage();
+ PROTOBUF_NODISCARD ::proto::LocationMessage* release_locationmessage();
::proto::LocationMessage* mutable_locationmessage();
void set_allocated_locationmessage(::proto::LocationMessage* locationmessage);
private:
@@ -14489,23 +14742,26 @@ class HydratedFourRowTemplate final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HydratedTemplateButton > hydratedbuttons_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedcontenttext_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedfootertext_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr templateid_;
- union TitleUnion {
- constexpr TitleUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::DocumentMessage* documentmessage_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedtitletext_;
- ::proto::ImageMessage* imagemessage_;
- ::proto::VideoMessage* videomessage_;
- ::proto::LocationMessage* locationmessage_;
- } title_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HydratedTemplateButton > hydratedbuttons_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedcontenttext_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedfootertext_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr templateid_;
+ union TitleUnion {
+ constexpr TitleUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::DocumentMessage* documentmessage_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hydratedtitletext_;
+ ::proto::ImageMessage* imagemessage_;
+ ::proto::VideoMessage* videomessage_;
+ ::proto::LocationMessage* locationmessage_;
+ } title_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -14515,7 +14771,7 @@ class TemplateMessage final :
public:
inline TemplateMessage() : TemplateMessage(nullptr) {}
~TemplateMessage() override;
- explicit constexpr TemplateMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR TemplateMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
TemplateMessage(const TemplateMessage& from);
TemplateMessage(TemplateMessage&& from) noexcept
@@ -14578,7 +14834,12 @@ class TemplateMessage final :
}
inline void Swap(TemplateMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -14592,34 +14853,34 @@ class TemplateMessage final :
// implements Message ----------------------------------------------
- inline TemplateMessage* New() const final {
- return new TemplateMessage();
- }
-
- TemplateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ TemplateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<TemplateMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const TemplateMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const TemplateMessage& from);
+ void MergeFrom( const TemplateMessage& from) {
+ TemplateMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(TemplateMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.TemplateMessage";
@@ -14627,9 +14888,6 @@ class TemplateMessage final :
protected:
explicit TemplateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -14654,7 +14912,7 @@ class TemplateMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -14672,7 +14930,7 @@ class TemplateMessage final :
public:
void clear_hydratedtemplate();
const ::proto::HydratedFourRowTemplate& hydratedtemplate() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HydratedFourRowTemplate* release_hydratedtemplate();
+ PROTOBUF_NODISCARD ::proto::HydratedFourRowTemplate* release_hydratedtemplate();
::proto::HydratedFourRowTemplate* mutable_hydratedtemplate();
void set_allocated_hydratedtemplate(::proto::HydratedFourRowTemplate* hydratedtemplate);
private:
@@ -14690,7 +14948,7 @@ class TemplateMessage final :
public:
void clear_fourrowtemplate();
const ::proto::FourRowTemplate& fourrowtemplate() const;
- PROTOBUF_MUST_USE_RESULT ::proto::FourRowTemplate* release_fourrowtemplate();
+ PROTOBUF_NODISCARD ::proto::FourRowTemplate* release_fourrowtemplate();
::proto::FourRowTemplate* mutable_fourrowtemplate();
void set_allocated_fourrowtemplate(::proto::FourRowTemplate* fourrowtemplate);
private:
@@ -14708,7 +14966,7 @@ class TemplateMessage final :
public:
void clear_hydratedfourrowtemplate();
const ::proto::HydratedFourRowTemplate& hydratedfourrowtemplate() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HydratedFourRowTemplate* release_hydratedfourrowtemplate();
+ PROTOBUF_NODISCARD ::proto::HydratedFourRowTemplate* release_hydratedfourrowtemplate();
::proto::HydratedFourRowTemplate* mutable_hydratedfourrowtemplate();
void set_allocated_hydratedfourrowtemplate(::proto::HydratedFourRowTemplate* hydratedfourrowtemplate);
private:
@@ -14733,18 +14991,21 @@ class TemplateMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::ContextInfo* contextinfo_;
- ::proto::HydratedFourRowTemplate* hydratedtemplate_;
- union FormatUnion {
- constexpr FormatUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::FourRowTemplate* fourrowtemplate_;
- ::proto::HydratedFourRowTemplate* hydratedfourrowtemplate_;
- } format_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::ContextInfo* contextinfo_;
+ ::proto::HydratedFourRowTemplate* hydratedtemplate_;
+ union FormatUnion {
+ constexpr FormatUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::FourRowTemplate* fourrowtemplate_;
+ ::proto::HydratedFourRowTemplate* hydratedfourrowtemplate_;
+ } format_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -14754,7 +15015,7 @@ class TemplateButtonReplyMessage final :
public:
inline TemplateButtonReplyMessage() : TemplateButtonReplyMessage(nullptr) {}
~TemplateButtonReplyMessage() override;
- explicit constexpr TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
TemplateButtonReplyMessage(const TemplateButtonReplyMessage& from);
TemplateButtonReplyMessage(TemplateButtonReplyMessage&& from) noexcept
@@ -14811,7 +15072,12 @@ class TemplateButtonReplyMessage final :
}
inline void Swap(TemplateButtonReplyMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -14825,34 +15091,34 @@ class TemplateButtonReplyMessage final :
// implements Message ----------------------------------------------
- inline TemplateButtonReplyMessage* New() const final {
- return new TemplateButtonReplyMessage();
- }
-
- TemplateButtonReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ TemplateButtonReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<TemplateButtonReplyMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const TemplateButtonReplyMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const TemplateButtonReplyMessage& from);
+ void MergeFrom( const TemplateButtonReplyMessage& from) {
+ TemplateButtonReplyMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(TemplateButtonReplyMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.TemplateButtonReplyMessage";
@@ -14860,9 +15126,6 @@ class TemplateButtonReplyMessage final :
protected:
explicit TemplateButtonReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -14890,7 +15153,7 @@ class TemplateButtonReplyMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_selectedid(ArgT0&& arg0, ArgT... args);
std::string* mutable_selectedid();
- PROTOBUF_MUST_USE_RESULT std::string* release_selectedid();
+ PROTOBUF_NODISCARD std::string* release_selectedid();
void set_allocated_selectedid(std::string* selectedid);
private:
const std::string& _internal_selectedid() const;
@@ -14908,7 +15171,7 @@ class TemplateButtonReplyMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_selecteddisplaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_selecteddisplaytext();
- PROTOBUF_MUST_USE_RESULT std::string* release_selecteddisplaytext();
+ PROTOBUF_NODISCARD std::string* release_selecteddisplaytext();
void set_allocated_selecteddisplaytext(std::string* selecteddisplaytext);
private:
const std::string& _internal_selecteddisplaytext() const;
@@ -14923,7 +15186,7 @@ class TemplateButtonReplyMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -14940,11 +15203,11 @@ class TemplateButtonReplyMessage final :
bool _internal_has_selectedindex() const;
public:
void clear_selectedindex();
- ::PROTOBUF_NAMESPACE_ID::uint32 selectedindex() const;
- void set_selectedindex(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t selectedindex() const;
+ void set_selectedindex(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_selectedindex() const;
- void _internal_set_selectedindex(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_selectedindex() const;
+ void _internal_set_selectedindex(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.TemplateButtonReplyMessage)
@@ -14954,12 +15217,15 @@ class TemplateButtonReplyMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selecteddisplaytext_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::uint32 selectedindex_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selecteddisplaytext_;
+ ::proto::ContextInfo* contextinfo_;
+ uint32_t selectedindex_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -14969,7 +15235,7 @@ class CatalogSnapshot final :
public:
inline CatalogSnapshot() : CatalogSnapshot(nullptr) {}
~CatalogSnapshot() override;
- explicit constexpr CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
CatalogSnapshot(const CatalogSnapshot& from);
CatalogSnapshot(CatalogSnapshot&& from) noexcept
@@ -15026,7 +15292,12 @@ class CatalogSnapshot final :
}
inline void Swap(CatalogSnapshot* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -15040,34 +15311,34 @@ class CatalogSnapshot final :
// implements Message ----------------------------------------------
- inline CatalogSnapshot* New() const final {
- return new CatalogSnapshot();
- }
-
- CatalogSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ CatalogSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<CatalogSnapshot>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const CatalogSnapshot& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CatalogSnapshot& from);
+ void MergeFrom( const CatalogSnapshot& from) {
+ CatalogSnapshot::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(CatalogSnapshot* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.CatalogSnapshot";
@@ -15075,9 +15346,6 @@ class CatalogSnapshot final :
protected:
explicit CatalogSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -15104,7 +15372,7 @@ class CatalogSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -15122,7 +15390,7 @@ class CatalogSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- PROTOBUF_MUST_USE_RESULT std::string* release_description();
+ PROTOBUF_NODISCARD std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
@@ -15137,7 +15405,7 @@ class CatalogSnapshot final :
public:
void clear_catalogimage();
const ::proto::ImageMessage& catalogimage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_catalogimage();
+ PROTOBUF_NODISCARD ::proto::ImageMessage* release_catalogimage();
::proto::ImageMessage* mutable_catalogimage();
void set_allocated_catalogimage(::proto::ImageMessage* catalogimage);
private:
@@ -15155,11 +15423,14 @@ class CatalogSnapshot final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::proto::ImageMessage* catalogimage_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
+ ::proto::ImageMessage* catalogimage_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -15169,7 +15440,7 @@ class ProductSnapshot final :
public:
inline ProductSnapshot() : ProductSnapshot(nullptr) {}
~ProductSnapshot() override;
- explicit constexpr ProductSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ProductSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ProductSnapshot(const ProductSnapshot& from);
ProductSnapshot(ProductSnapshot&& from) noexcept
@@ -15226,7 +15497,12 @@ class ProductSnapshot final :
}
inline void Swap(ProductSnapshot* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -15240,34 +15516,34 @@ class ProductSnapshot final :
// implements Message ----------------------------------------------
- inline ProductSnapshot* New() const final {
- return new ProductSnapshot();
- }
-
- ProductSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ProductSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ProductSnapshot>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ProductSnapshot& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ProductSnapshot& from);
+ void MergeFrom( const ProductSnapshot& from) {
+ ProductSnapshot::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ProductSnapshot* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ProductSnapshot";
@@ -15275,9 +15551,6 @@ class ProductSnapshot final :
protected:
explicit ProductSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -15311,7 +15584,7 @@ class ProductSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_productid(ArgT0&& arg0, ArgT... args);
std::string* mutable_productid();
- PROTOBUF_MUST_USE_RESULT std::string* release_productid();
+ PROTOBUF_NODISCARD std::string* release_productid();
void set_allocated_productid(std::string* productid);
private:
const std::string& _internal_productid() const;
@@ -15329,7 +15602,7 @@ class ProductSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -15347,7 +15620,7 @@ class ProductSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- PROTOBUF_MUST_USE_RESULT std::string* release_description();
+ PROTOBUF_NODISCARD std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
@@ -15365,7 +15638,7 @@ class ProductSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_currencycode(ArgT0&& arg0, ArgT... args);
std::string* mutable_currencycode();
- PROTOBUF_MUST_USE_RESULT std::string* release_currencycode();
+ PROTOBUF_NODISCARD std::string* release_currencycode();
void set_allocated_currencycode(std::string* currencycode);
private:
const std::string& _internal_currencycode() const;
@@ -15383,7 +15656,7 @@ class ProductSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_retailerid(ArgT0&& arg0, ArgT... args);
std::string* mutable_retailerid();
- PROTOBUF_MUST_USE_RESULT std::string* release_retailerid();
+ PROTOBUF_NODISCARD std::string* release_retailerid();
void set_allocated_retailerid(std::string* retailerid);
private:
const std::string& _internal_retailerid() const;
@@ -15401,7 +15674,7 @@ class ProductSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_url(ArgT0&& arg0, ArgT... args);
std::string* mutable_url();
- PROTOBUF_MUST_USE_RESULT std::string* release_url();
+ PROTOBUF_NODISCARD std::string* release_url();
void set_allocated_url(std::string* url);
private:
const std::string& _internal_url() const;
@@ -15419,7 +15692,7 @@ class ProductSnapshot final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_firstimageid(ArgT0&& arg0, ArgT... args);
std::string* mutable_firstimageid();
- PROTOBUF_MUST_USE_RESULT std::string* release_firstimageid();
+ PROTOBUF_NODISCARD std::string* release_firstimageid();
void set_allocated_firstimageid(std::string* firstimageid);
private:
const std::string& _internal_firstimageid() const;
@@ -15434,7 +15707,7 @@ class ProductSnapshot final :
public:
void clear_productimage();
const ::proto::ImageMessage& productimage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_productimage();
+ PROTOBUF_NODISCARD ::proto::ImageMessage* release_productimage();
::proto::ImageMessage* mutable_productimage();
void set_allocated_productimage(::proto::ImageMessage* productimage);
private:
@@ -15451,11 +15724,11 @@ class ProductSnapshot final :
bool _internal_has_priceamount1000() const;
public:
void clear_priceamount1000();
- ::PROTOBUF_NAMESPACE_ID::int64 priceamount1000() const;
- void set_priceamount1000(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t priceamount1000() const;
+ void set_priceamount1000(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_priceamount1000() const;
- void _internal_set_priceamount1000(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_priceamount1000() const;
+ void _internal_set_priceamount1000(int64_t value);
public:
// optional uint32 productImageCount = 9;
@@ -15464,11 +15737,11 @@ class ProductSnapshot final :
bool _internal_has_productimagecount() const;
public:
void clear_productimagecount();
- ::PROTOBUF_NAMESPACE_ID::uint32 productimagecount() const;
- void set_productimagecount(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t productimagecount() const;
+ void set_productimagecount(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_productimagecount() const;
- void _internal_set_productimagecount(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_productimagecount() const;
+ void _internal_set_productimagecount(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.ProductSnapshot)
@@ -15478,18 +15751,21 @@ class ProductSnapshot final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr productid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr retailerid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstimageid_;
- ::proto::ImageMessage* productimage_;
- ::PROTOBUF_NAMESPACE_ID::int64 priceamount1000_;
- ::PROTOBUF_NAMESPACE_ID::uint32 productimagecount_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr productid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currencycode_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr retailerid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr firstimageid_;
+ ::proto::ImageMessage* productimage_;
+ int64_t priceamount1000_;
+ uint32_t productimagecount_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -15499,7 +15775,7 @@ class ProductMessage final :
public:
inline ProductMessage() : ProductMessage(nullptr) {}
~ProductMessage() override;
- explicit constexpr ProductMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ProductMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ProductMessage(const ProductMessage& from);
ProductMessage(ProductMessage&& from) noexcept
@@ -15556,7 +15832,12 @@ class ProductMessage final :
}
inline void Swap(ProductMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -15570,34 +15851,34 @@ class ProductMessage final :
// implements Message ----------------------------------------------
- inline ProductMessage* New() const final {
- return new ProductMessage();
- }
-
- ProductMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ProductMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ProductMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ProductMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ProductMessage& from);
+ void MergeFrom( const ProductMessage& from) {
+ ProductMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ProductMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ProductMessage";
@@ -15605,9 +15886,6 @@ class ProductMessage final :
protected:
explicit ProductMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -15635,7 +15913,7 @@ class ProductMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_businessownerjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_businessownerjid();
- PROTOBUF_MUST_USE_RESULT std::string* release_businessownerjid();
+ PROTOBUF_NODISCARD std::string* release_businessownerjid();
void set_allocated_businessownerjid(std::string* businessownerjid);
private:
const std::string& _internal_businessownerjid() const;
@@ -15650,7 +15928,7 @@ class ProductMessage final :
public:
void clear_product();
const ::proto::ProductSnapshot& product() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ProductSnapshot* release_product();
+ PROTOBUF_NODISCARD ::proto::ProductSnapshot* release_product();
::proto::ProductSnapshot* mutable_product();
void set_allocated_product(::proto::ProductSnapshot* product);
private:
@@ -15668,7 +15946,7 @@ class ProductMessage final :
public:
void clear_catalog();
const ::proto::CatalogSnapshot& catalog() const;
- PROTOBUF_MUST_USE_RESULT ::proto::CatalogSnapshot* release_catalog();
+ PROTOBUF_NODISCARD ::proto::CatalogSnapshot* release_catalog();
::proto::CatalogSnapshot* mutable_catalog();
void set_allocated_catalog(::proto::CatalogSnapshot* catalog);
private:
@@ -15686,7 +15964,7 @@ class ProductMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -15704,12 +15982,15 @@ class ProductMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr businessownerjid_;
- ::proto::ProductSnapshot* product_;
- ::proto::CatalogSnapshot* catalog_;
- ::proto::ContextInfo* contextinfo_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr businessownerjid_;
+ ::proto::ProductSnapshot* product_;
+ ::proto::CatalogSnapshot* catalog_;
+ ::proto::ContextInfo* contextinfo_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -15719,7 +16000,7 @@ class OrderMessage final :
public:
inline OrderMessage() : OrderMessage(nullptr) {}
~OrderMessage() override;
- explicit constexpr OrderMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR OrderMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
OrderMessage(const OrderMessage& from);
OrderMessage(OrderMessage&& from) noexcept
@@ -15776,7 +16057,12 @@ class OrderMessage final :
}
inline void Swap(OrderMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -15790,34 +16076,34 @@ class OrderMessage final :
// implements Message ----------------------------------------------
- inline OrderMessage* New() const final {
- return new OrderMessage();
- }
-
- OrderMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ OrderMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<OrderMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const OrderMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const OrderMessage& from);
+ void MergeFrom( const OrderMessage& from) {
+ OrderMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(OrderMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.OrderMessage";
@@ -15825,9 +16111,6 @@ class OrderMessage final :
protected:
explicit OrderMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -15919,7 +16202,7 @@ class OrderMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_orderid(ArgT0&& arg0, ArgT... args);
std::string* mutable_orderid();
- PROTOBUF_MUST_USE_RESULT std::string* release_orderid();
+ PROTOBUF_NODISCARD std::string* release_orderid();
void set_allocated_orderid(std::string* orderid);
private:
const std::string& _internal_orderid() const;
@@ -15937,7 +16220,7 @@ class OrderMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_thumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_thumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_thumbnail();
+ PROTOBUF_NODISCARD std::string* release_thumbnail();
void set_allocated_thumbnail(std::string* thumbnail);
private:
const std::string& _internal_thumbnail() const;
@@ -15955,7 +16238,7 @@ class OrderMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_message(ArgT0&& arg0, ArgT... args);
std::string* mutable_message();
- PROTOBUF_MUST_USE_RESULT std::string* release_message();
+ PROTOBUF_NODISCARD std::string* release_message();
void set_allocated_message(std::string* message);
private:
const std::string& _internal_message() const;
@@ -15973,7 +16256,7 @@ class OrderMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_ordertitle(ArgT0&& arg0, ArgT... args);
std::string* mutable_ordertitle();
- PROTOBUF_MUST_USE_RESULT std::string* release_ordertitle();
+ PROTOBUF_NODISCARD std::string* release_ordertitle();
void set_allocated_ordertitle(std::string* ordertitle);
private:
const std::string& _internal_ordertitle() const;
@@ -15991,7 +16274,7 @@ class OrderMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_sellerjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_sellerjid();
- PROTOBUF_MUST_USE_RESULT std::string* release_sellerjid();
+ PROTOBUF_NODISCARD std::string* release_sellerjid();
void set_allocated_sellerjid(std::string* sellerjid);
private:
const std::string& _internal_sellerjid() const;
@@ -16009,7 +16292,7 @@ class OrderMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_token(ArgT0&& arg0, ArgT... args);
std::string* mutable_token();
- PROTOBUF_MUST_USE_RESULT std::string* release_token();
+ PROTOBUF_NODISCARD std::string* release_token();
void set_allocated_token(std::string* token);
private:
const std::string& _internal_token() const;
@@ -16027,7 +16310,7 @@ class OrderMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_totalcurrencycode(ArgT0&& arg0, ArgT... args);
std::string* mutable_totalcurrencycode();
- PROTOBUF_MUST_USE_RESULT std::string* release_totalcurrencycode();
+ PROTOBUF_NODISCARD std::string* release_totalcurrencycode();
void set_allocated_totalcurrencycode(std::string* totalcurrencycode);
private:
const std::string& _internal_totalcurrencycode() const;
@@ -16042,7 +16325,7 @@ class OrderMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -16059,11 +16342,11 @@ class OrderMessage final :
bool _internal_has_totalamount1000() const;
public:
void clear_totalamount1000();
- ::PROTOBUF_NAMESPACE_ID::int64 totalamount1000() const;
- void set_totalamount1000(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t totalamount1000() const;
+ void set_totalamount1000(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_totalamount1000() const;
- void _internal_set_totalamount1000(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_totalamount1000() const;
+ void _internal_set_totalamount1000(int64_t value);
public:
// optional int32 itemCount = 3;
@@ -16072,11 +16355,11 @@ class OrderMessage final :
bool _internal_has_itemcount() const;
public:
void clear_itemcount();
- ::PROTOBUF_NAMESPACE_ID::int32 itemcount() const;
- void set_itemcount(::PROTOBUF_NAMESPACE_ID::int32 value);
+ int32_t itemcount() const;
+ void set_itemcount(int32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_itemcount() const;
- void _internal_set_itemcount(::PROTOBUF_NAMESPACE_ID::int32 value);
+ int32_t _internal_itemcount() const;
+ void _internal_set_itemcount(int32_t value);
public:
// optional .proto.OrderMessage.OrderMessageOrderStatus status = 4;
@@ -16112,20 +16395,23 @@ class OrderMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr orderid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnail_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ordertitle_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sellerjid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr totalcurrencycode_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::int64 totalamount1000_;
- ::PROTOBUF_NAMESPACE_ID::int32 itemcount_;
- int status_;
- int surface_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr orderid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr thumbnail_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ordertitle_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sellerjid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr totalcurrencycode_;
+ ::proto::ContextInfo* contextinfo_;
+ int64_t totalamount1000_;
+ int32_t itemcount_;
+ int status_;
+ int surface_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -16135,7 +16421,7 @@ class Row final :
public:
inline Row() : Row(nullptr) {}
~Row() override;
- explicit constexpr Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Row(const Row& from);
Row(Row&& from) noexcept
@@ -16192,7 +16478,12 @@ class Row final :
}
inline void Swap(Row* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16206,34 +16497,34 @@ class Row final :
// implements Message ----------------------------------------------
- inline Row* New() const final {
- return new Row();
- }
-
- Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Row>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Row& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Row& from);
+ void MergeFrom( const Row& from) {
+ Row::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Row* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.Row";
@@ -16241,9 +16532,6 @@ class Row final :
protected:
explicit Row(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -16270,7 +16558,7 @@ class Row final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -16288,7 +16576,7 @@ class Row final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- PROTOBUF_MUST_USE_RESULT std::string* release_description();
+ PROTOBUF_NODISCARD std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
@@ -16306,7 +16594,7 @@ class Row final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_rowid(ArgT0&& arg0, ArgT... args);
std::string* mutable_rowid();
- PROTOBUF_MUST_USE_RESULT std::string* release_rowid();
+ PROTOBUF_NODISCARD std::string* release_rowid();
void set_allocated_rowid(std::string* rowid);
private:
const std::string& _internal_rowid() const;
@@ -16321,11 +16609,14 @@ class Row final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rowid_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rowid_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -16335,7 +16626,7 @@ class Section final :
public:
inline Section() : Section(nullptr) {}
~Section() override;
- explicit constexpr Section(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR Section(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Section(const Section& from);
Section(Section&& from) noexcept
@@ -16392,7 +16683,12 @@ class Section final :
}
inline void Swap(Section* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16406,34 +16702,34 @@ class Section final :
// implements Message ----------------------------------------------
- inline Section* New() const final {
- return new Section();
- }
-
- Section* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ Section* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Section>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Section& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Section& from);
+ void MergeFrom( const Section& from) {
+ Section::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Section* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.Section";
@@ -16441,9 +16737,6 @@ class Section final :
protected:
explicit Section(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -16487,7 +16780,7 @@ class Section final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -16502,10 +16795,13 @@ class Section final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Row > rows_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Row > rows_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -16515,7 +16811,7 @@ class ListMessage final :
public:
inline ListMessage() : ListMessage(nullptr) {}
~ListMessage() override;
- explicit constexpr ListMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ListMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ListMessage(const ListMessage& from);
ListMessage(ListMessage&& from) noexcept
@@ -16572,7 +16868,12 @@ class ListMessage final :
}
inline void Swap(ListMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16586,34 +16887,34 @@ class ListMessage final :
// implements Message ----------------------------------------------
- inline ListMessage* New() const final {
- return new ListMessage();
- }
-
- ListMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ListMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ListMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ListMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ListMessage& from);
+ void MergeFrom( const ListMessage& from) {
+ ListMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ListMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ListMessage";
@@ -16621,9 +16922,6 @@ class ListMessage final :
protected:
explicit ListMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -16700,7 +16998,7 @@ class ListMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -16718,7 +17016,7 @@ class ListMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- PROTOBUF_MUST_USE_RESULT std::string* release_description();
+ PROTOBUF_NODISCARD std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
@@ -16736,7 +17034,7 @@ class ListMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_buttontext(ArgT0&& arg0, ArgT... args);
std::string* mutable_buttontext();
- PROTOBUF_MUST_USE_RESULT std::string* release_buttontext();
+ PROTOBUF_NODISCARD std::string* release_buttontext();
void set_allocated_buttontext(std::string* buttontext);
private:
const std::string& _internal_buttontext() const;
@@ -16764,13 +17062,16 @@ class ListMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Section > sections_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr buttontext_;
- int listtype_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Section > sections_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr buttontext_;
+ int listtype_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -16780,7 +17081,7 @@ class SingleSelectReply final :
public:
inline SingleSelectReply() : SingleSelectReply(nullptr) {}
~SingleSelectReply() override;
- explicit constexpr SingleSelectReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR SingleSelectReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SingleSelectReply(const SingleSelectReply& from);
SingleSelectReply(SingleSelectReply&& from) noexcept
@@ -16837,7 +17138,12 @@ class SingleSelectReply final :
}
inline void Swap(SingleSelectReply* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -16851,34 +17157,34 @@ class SingleSelectReply final :
// implements Message ----------------------------------------------
- inline SingleSelectReply* New() const final {
- return new SingleSelectReply();
- }
-
- SingleSelectReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ SingleSelectReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<SingleSelectReply>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SingleSelectReply& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SingleSelectReply& from);
+ void MergeFrom( const SingleSelectReply& from) {
+ SingleSelectReply::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(SingleSelectReply* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.SingleSelectReply";
@@ -16886,9 +17192,6 @@ class SingleSelectReply final :
protected:
explicit SingleSelectReply(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -16913,7 +17216,7 @@ class SingleSelectReply final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_selectedrowid(ArgT0&& arg0, ArgT... args);
std::string* mutable_selectedrowid();
- PROTOBUF_MUST_USE_RESULT std::string* release_selectedrowid();
+ PROTOBUF_NODISCARD std::string* release_selectedrowid();
void set_allocated_selectedrowid(std::string* selectedrowid);
private:
const std::string& _internal_selectedrowid() const;
@@ -16928,9 +17231,12 @@ class SingleSelectReply final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedrowid_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedrowid_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -16940,7 +17246,7 @@ class ListResponseMessage final :
public:
inline ListResponseMessage() : ListResponseMessage(nullptr) {}
~ListResponseMessage() override;
- explicit constexpr ListResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ListResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ListResponseMessage(const ListResponseMessage& from);
ListResponseMessage(ListResponseMessage&& from) noexcept
@@ -16997,7 +17303,12 @@ class ListResponseMessage final :
}
inline void Swap(ListResponseMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17011,34 +17322,34 @@ class ListResponseMessage final :
// implements Message ----------------------------------------------
- inline ListResponseMessage* New() const final {
- return new ListResponseMessage();
- }
-
- ListResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ListResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ListResponseMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ListResponseMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ListResponseMessage& from);
+ void MergeFrom( const ListResponseMessage& from) {
+ ListResponseMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ListResponseMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ListResponseMessage";
@@ -17046,9 +17357,6 @@ class ListResponseMessage final :
protected:
explicit ListResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -17107,7 +17415,7 @@ class ListResponseMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_title(ArgT0&& arg0, ArgT... args);
std::string* mutable_title();
- PROTOBUF_MUST_USE_RESULT std::string* release_title();
+ PROTOBUF_NODISCARD std::string* release_title();
void set_allocated_title(std::string* title);
private:
const std::string& _internal_title() const;
@@ -17125,7 +17433,7 @@ class ListResponseMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_description(ArgT0&& arg0, ArgT... args);
std::string* mutable_description();
- PROTOBUF_MUST_USE_RESULT std::string* release_description();
+ PROTOBUF_NODISCARD std::string* release_description();
void set_allocated_description(std::string* description);
private:
const std::string& _internal_description() const;
@@ -17140,7 +17448,7 @@ class ListResponseMessage final :
public:
void clear_singleselectreply();
const ::proto::SingleSelectReply& singleselectreply() const;
- PROTOBUF_MUST_USE_RESULT ::proto::SingleSelectReply* release_singleselectreply();
+ PROTOBUF_NODISCARD ::proto::SingleSelectReply* release_singleselectreply();
::proto::SingleSelectReply* mutable_singleselectreply();
void set_allocated_singleselectreply(::proto::SingleSelectReply* singleselectreply);
private:
@@ -17158,7 +17466,7 @@ class ListResponseMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -17189,13 +17497,16 @@ class ListResponseMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::proto::SingleSelectReply* singleselectreply_;
- ::proto::ContextInfo* contextinfo_;
- int listtype_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
+ ::proto::SingleSelectReply* singleselectreply_;
+ ::proto::ContextInfo* contextinfo_;
+ int listtype_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -17205,7 +17516,7 @@ class GroupInviteMessage final :
public:
inline GroupInviteMessage() : GroupInviteMessage(nullptr) {}
~GroupInviteMessage() override;
- explicit constexpr GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
GroupInviteMessage(const GroupInviteMessage& from);
GroupInviteMessage(GroupInviteMessage&& from) noexcept
@@ -17262,7 +17573,12 @@ class GroupInviteMessage final :
}
inline void Swap(GroupInviteMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17276,34 +17592,34 @@ class GroupInviteMessage final :
// implements Message ----------------------------------------------
- inline GroupInviteMessage* New() const final {
- return new GroupInviteMessage();
- }
-
- GroupInviteMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ GroupInviteMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<GroupInviteMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const GroupInviteMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const GroupInviteMessage& from);
+ void MergeFrom( const GroupInviteMessage& from) {
+ GroupInviteMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(GroupInviteMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.GroupInviteMessage";
@@ -17311,9 +17627,6 @@ class GroupInviteMessage final :
protected:
explicit GroupInviteMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -17344,7 +17657,7 @@ class GroupInviteMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_groupjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_groupjid();
- PROTOBUF_MUST_USE_RESULT std::string* release_groupjid();
+ PROTOBUF_NODISCARD std::string* release_groupjid();
void set_allocated_groupjid(std::string* groupjid);
private:
const std::string& _internal_groupjid() const;
@@ -17362,7 +17675,7 @@ class GroupInviteMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_invitecode(ArgT0&& arg0, ArgT... args);
std::string* mutable_invitecode();
- PROTOBUF_MUST_USE_RESULT std::string* release_invitecode();
+ PROTOBUF_NODISCARD std::string* release_invitecode();
void set_allocated_invitecode(std::string* invitecode);
private:
const std::string& _internal_invitecode() const;
@@ -17380,7 +17693,7 @@ class GroupInviteMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_groupname(ArgT0&& arg0, ArgT... args);
std::string* mutable_groupname();
- PROTOBUF_MUST_USE_RESULT std::string* release_groupname();
+ PROTOBUF_NODISCARD std::string* release_groupname();
void set_allocated_groupname(std::string* groupname);
private:
const std::string& _internal_groupname() const;
@@ -17398,7 +17711,7 @@ class GroupInviteMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_jpegthumbnail(ArgT0&& arg0, ArgT... args);
std::string* mutable_jpegthumbnail();
- PROTOBUF_MUST_USE_RESULT std::string* release_jpegthumbnail();
+ PROTOBUF_NODISCARD std::string* release_jpegthumbnail();
void set_allocated_jpegthumbnail(std::string* jpegthumbnail);
private:
const std::string& _internal_jpegthumbnail() const;
@@ -17416,7 +17729,7 @@ class GroupInviteMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_caption(ArgT0&& arg0, ArgT... args);
std::string* mutable_caption();
- PROTOBUF_MUST_USE_RESULT std::string* release_caption();
+ PROTOBUF_NODISCARD std::string* release_caption();
void set_allocated_caption(std::string* caption);
private:
const std::string& _internal_caption() const;
@@ -17431,7 +17744,7 @@ class GroupInviteMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -17448,11 +17761,11 @@ class GroupInviteMessage final :
bool _internal_has_inviteexpiration() const;
public:
void clear_inviteexpiration();
- ::PROTOBUF_NAMESPACE_ID::int64 inviteexpiration() const;
- void set_inviteexpiration(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t inviteexpiration() const;
+ void set_inviteexpiration(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_inviteexpiration() const;
- void _internal_set_inviteexpiration(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_inviteexpiration() const;
+ void _internal_set_inviteexpiration(int64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.GroupInviteMessage)
@@ -17462,15 +17775,18 @@ class GroupInviteMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupjid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr invitecode_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupname_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
- ::proto::ContextInfo* contextinfo_;
- ::PROTOBUF_NAMESPACE_ID::int64 inviteexpiration_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupjid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr invitecode_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr groupname_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr jpegthumbnail_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caption_;
+ ::proto::ContextInfo* contextinfo_;
+ int64_t inviteexpiration_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -17480,7 +17796,7 @@ class EphemeralSetting final :
public:
inline EphemeralSetting() : EphemeralSetting(nullptr) {}
~EphemeralSetting() override;
- explicit constexpr EphemeralSetting(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR EphemeralSetting(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
EphemeralSetting(const EphemeralSetting& from);
EphemeralSetting(EphemeralSetting&& from) noexcept
@@ -17537,7 +17853,12 @@ class EphemeralSetting final :
}
inline void Swap(EphemeralSetting* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17551,34 +17872,34 @@ class EphemeralSetting final :
// implements Message ----------------------------------------------
- inline EphemeralSetting* New() const final {
- return new EphemeralSetting();
- }
-
- EphemeralSetting* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ EphemeralSetting* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<EphemeralSetting>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const EphemeralSetting& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const EphemeralSetting& from);
+ void MergeFrom( const EphemeralSetting& from) {
+ EphemeralSetting::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(EphemeralSetting* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.EphemeralSetting";
@@ -17586,9 +17907,6 @@ class EphemeralSetting final :
protected:
explicit EphemeralSetting(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -17615,7 +17933,7 @@ class EphemeralSetting final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_chatjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_chatjid();
- PROTOBUF_MUST_USE_RESULT std::string* release_chatjid();
+ PROTOBUF_NODISCARD std::string* release_chatjid();
void set_allocated_chatjid(std::string* chatjid);
private:
const std::string& _internal_chatjid() const;
@@ -17629,11 +17947,11 @@ class EphemeralSetting final :
bool _internal_has_ephemeralsettingtimestamp() const;
public:
void clear_ephemeralsettingtimestamp();
- ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp() const;
- void set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t ephemeralsettingtimestamp() const;
+ void set_ephemeralsettingtimestamp(int64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::int64 _internal_ephemeralsettingtimestamp() const;
- void _internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value);
+ int64_t _internal_ephemeralsettingtimestamp() const;
+ void _internal_set_ephemeralsettingtimestamp(int64_t value);
public:
// optional uint32 ephemeralExpiration = 2;
@@ -17642,11 +17960,11 @@ class EphemeralSetting final :
bool _internal_has_ephemeralexpiration() const;
public:
void clear_ephemeralexpiration();
- ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralexpiration() const;
- void set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t ephemeralexpiration() const;
+ void set_ephemeralexpiration(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_ephemeralexpiration() const;
- void _internal_set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_ephemeralexpiration() const;
+ void _internal_set_ephemeralexpiration(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.EphemeralSetting)
@@ -17656,11 +17974,14 @@ class EphemeralSetting final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr chatjid_;
- ::PROTOBUF_NAMESPACE_ID::int64 ephemeralsettingtimestamp_;
- ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralexpiration_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr chatjid_;
+ int64_t ephemeralsettingtimestamp_;
+ uint32_t ephemeralexpiration_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -17670,7 +17991,7 @@ class DeviceSentMessage final :
public:
inline DeviceSentMessage() : DeviceSentMessage(nullptr) {}
~DeviceSentMessage() override;
- explicit constexpr DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
DeviceSentMessage(const DeviceSentMessage& from);
DeviceSentMessage(DeviceSentMessage&& from) noexcept
@@ -17727,7 +18048,12 @@ class DeviceSentMessage final :
}
inline void Swap(DeviceSentMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17741,34 +18067,34 @@ class DeviceSentMessage final :
// implements Message ----------------------------------------------
- inline DeviceSentMessage* New() const final {
- return new DeviceSentMessage();
- }
-
- DeviceSentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ DeviceSentMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<DeviceSentMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const DeviceSentMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const DeviceSentMessage& from);
+ void MergeFrom( const DeviceSentMessage& from) {
+ DeviceSentMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(DeviceSentMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.DeviceSentMessage";
@@ -17776,9 +18102,6 @@ class DeviceSentMessage final :
protected:
explicit DeviceSentMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -17824,7 +18147,7 @@ class DeviceSentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_destinationjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_destinationjid();
- PROTOBUF_MUST_USE_RESULT std::string* release_destinationjid();
+ PROTOBUF_NODISCARD std::string* release_destinationjid();
void set_allocated_destinationjid(std::string* destinationjid);
private:
const std::string& _internal_destinationjid() const;
@@ -17842,7 +18165,7 @@ class DeviceSentMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_phash(ArgT0&& arg0, ArgT... args);
std::string* mutable_phash();
- PROTOBUF_MUST_USE_RESULT std::string* release_phash();
+ PROTOBUF_NODISCARD std::string* release_phash();
void set_allocated_phash(std::string* phash);
private:
const std::string& _internal_phash() const;
@@ -17857,7 +18180,7 @@ class DeviceSentMessage final :
public:
void clear_message();
const ::proto::Message& message() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message();
+ PROTOBUF_NODISCARD ::proto::Message* release_message();
::proto::Message* mutable_message();
void set_allocated_message(::proto::Message* message);
private:
@@ -17875,12 +18198,15 @@ class DeviceSentMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::EphemeralSetting > broadcastephemeralsettings_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr destinationjid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phash_;
- ::proto::Message* message_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::EphemeralSetting > broadcastephemeralsettings_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr destinationjid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phash_;
+ ::proto::Message* message_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -17890,7 +18216,7 @@ class FutureProofMessage final :
public:
inline FutureProofMessage() : FutureProofMessage(nullptr) {}
~FutureProofMessage() override;
- explicit constexpr FutureProofMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR FutureProofMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
FutureProofMessage(const FutureProofMessage& from);
FutureProofMessage(FutureProofMessage&& from) noexcept
@@ -17947,7 +18273,12 @@ class FutureProofMessage final :
}
inline void Swap(FutureProofMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -17961,34 +18292,34 @@ class FutureProofMessage final :
// implements Message ----------------------------------------------
- inline FutureProofMessage* New() const final {
- return new FutureProofMessage();
- }
-
- FutureProofMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ FutureProofMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<FutureProofMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const FutureProofMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FutureProofMessage& from);
+ void MergeFrom( const FutureProofMessage& from) {
+ FutureProofMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(FutureProofMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.FutureProofMessage";
@@ -17996,9 +18327,6 @@ class FutureProofMessage final :
protected:
explicit FutureProofMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -18020,7 +18348,7 @@ class FutureProofMessage final :
public:
void clear_message();
const ::proto::Message& message() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message();
+ PROTOBUF_NODISCARD ::proto::Message* release_message();
::proto::Message* mutable_message();
void set_allocated_message(::proto::Message* message);
private:
@@ -18038,9 +18366,12 @@ class FutureProofMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::proto::Message* message_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::Message* message_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -18050,7 +18381,7 @@ class ButtonText final :
public:
inline ButtonText() : ButtonText(nullptr) {}
~ButtonText() override;
- explicit constexpr ButtonText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ButtonText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ButtonText(const ButtonText& from);
ButtonText(ButtonText&& from) noexcept
@@ -18107,7 +18438,12 @@ class ButtonText final :
}
inline void Swap(ButtonText* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -18121,34 +18457,34 @@ class ButtonText final :
// implements Message ----------------------------------------------
- inline ButtonText* New() const final {
- return new ButtonText();
- }
-
- ButtonText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ButtonText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ButtonText>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ButtonText& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ButtonText& from);
+ void MergeFrom( const ButtonText& from) {
+ ButtonText::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ButtonText* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ButtonText";
@@ -18156,9 +18492,6 @@ class ButtonText final :
protected:
explicit ButtonText(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -18183,7 +18516,7 @@ class ButtonText final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_displaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_displaytext();
- PROTOBUF_MUST_USE_RESULT std::string* release_displaytext();
+ PROTOBUF_NODISCARD std::string* release_displaytext();
void set_allocated_displaytext(std::string* displaytext);
private:
const std::string& _internal_displaytext() const;
@@ -18198,9 +18531,12 @@ class ButtonText final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr displaytext_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -18210,7 +18546,7 @@ class Button final :
public:
inline Button() : Button(nullptr) {}
~Button() override;
- explicit constexpr Button(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR Button(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Button(const Button& from);
Button(Button&& from) noexcept
@@ -18267,7 +18603,12 @@ class Button final :
}
inline void Swap(Button* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -18281,34 +18622,34 @@ class Button final :
// implements Message ----------------------------------------------
- inline Button* New() const final {
- return new Button();
- }
-
- Button* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ Button* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Button>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Button& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Button& from);
+ void MergeFrom( const Button& from) {
+ Button::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Button* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.Button";
@@ -18316,9 +18657,6 @@ class Button final :
protected:
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:
static const ClassData _class_data_;
@@ -18375,7 +18713,7 @@ class Button final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_buttonid(ArgT0&& arg0, ArgT... args);
std::string* mutable_buttonid();
- PROTOBUF_MUST_USE_RESULT std::string* release_buttonid();
+ PROTOBUF_NODISCARD std::string* release_buttonid();
void set_allocated_buttonid(std::string* buttonid);
private:
const std::string& _internal_buttonid() const;
@@ -18390,7 +18728,7 @@ class Button final :
public:
void clear_buttontext();
const ::proto::ButtonText& buttontext() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ButtonText* release_buttontext();
+ PROTOBUF_NODISCARD ::proto::ButtonText* release_buttontext();
::proto::ButtonText* mutable_buttontext();
void set_allocated_buttontext(::proto::ButtonText* buttontext);
private:
@@ -18421,11 +18759,14 @@ class Button final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr buttonid_;
- ::proto::ButtonText* buttontext_;
- int type_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr buttonid_;
+ ::proto::ButtonText* buttontext_;
+ int type_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -18435,7 +18776,7 @@ class ButtonsMessage final :
public:
inline ButtonsMessage() : ButtonsMessage(nullptr) {}
~ButtonsMessage() override;
- explicit constexpr ButtonsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ButtonsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ButtonsMessage(const ButtonsMessage& from);
ButtonsMessage(ButtonsMessage&& from) noexcept
@@ -18501,7 +18842,12 @@ class ButtonsMessage final :
}
inline void Swap(ButtonsMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -18515,34 +18861,34 @@ class ButtonsMessage final :
// implements Message ----------------------------------------------
- inline ButtonsMessage* New() const final {
- return new ButtonsMessage();
- }
-
- ButtonsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ButtonsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ButtonsMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ButtonsMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ButtonsMessage& from);
+ void MergeFrom( const ButtonsMessage& from) {
+ ButtonsMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ButtonsMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ButtonsMessage";
@@ -18550,9 +18896,6 @@ class ButtonsMessage final :
protected:
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:
static const ClassData _class_data_;
@@ -18644,7 +18987,7 @@ class ButtonsMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_contenttext(ArgT0&& arg0, ArgT... args);
std::string* mutable_contenttext();
- PROTOBUF_MUST_USE_RESULT std::string* release_contenttext();
+ PROTOBUF_NODISCARD std::string* release_contenttext();
void set_allocated_contenttext(std::string* contenttext);
private:
const std::string& _internal_contenttext() const;
@@ -18662,7 +19005,7 @@ class ButtonsMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_footertext(ArgT0&& arg0, ArgT... args);
std::string* mutable_footertext();
- PROTOBUF_MUST_USE_RESULT std::string* release_footertext();
+ PROTOBUF_NODISCARD std::string* release_footertext();
void set_allocated_footertext(std::string* footertext);
private:
const std::string& _internal_footertext() const;
@@ -18677,7 +19020,7 @@ class ButtonsMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -18711,7 +19054,7 @@ class ButtonsMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_text(ArgT0&& arg0, ArgT... args);
std::string* mutable_text();
- PROTOBUF_MUST_USE_RESULT std::string* release_text();
+ PROTOBUF_NODISCARD std::string* release_text();
void set_allocated_text(std::string* text);
private:
const std::string& _internal_text() const;
@@ -18726,7 +19069,7 @@ class ButtonsMessage final :
public:
void clear_documentmessage();
const ::proto::DocumentMessage& documentmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage();
+ PROTOBUF_NODISCARD ::proto::DocumentMessage* release_documentmessage();
::proto::DocumentMessage* mutable_documentmessage();
void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage);
private:
@@ -18744,7 +19087,7 @@ class ButtonsMessage final :
public:
void clear_imagemessage();
const ::proto::ImageMessage& imagemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage();
+ PROTOBUF_NODISCARD ::proto::ImageMessage* release_imagemessage();
::proto::ImageMessage* mutable_imagemessage();
void set_allocated_imagemessage(::proto::ImageMessage* imagemessage);
private:
@@ -18762,7 +19105,7 @@ class ButtonsMessage final :
public:
void clear_videomessage();
const ::proto::VideoMessage& videomessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage();
+ PROTOBUF_NODISCARD ::proto::VideoMessage* release_videomessage();
::proto::VideoMessage* mutable_videomessage();
void set_allocated_videomessage(::proto::VideoMessage* videomessage);
private:
@@ -18780,7 +19123,7 @@ class ButtonsMessage final :
public:
void clear_locationmessage();
const ::proto::LocationMessage& locationmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage();
+ PROTOBUF_NODISCARD ::proto::LocationMessage* release_locationmessage();
::proto::LocationMessage* mutable_locationmessage();
void set_allocated_locationmessage(::proto::LocationMessage* locationmessage);
private:
@@ -18808,24 +19151,27 @@ class ButtonsMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Button > buttons_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr contenttext_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr footertext_;
- ::proto::ContextInfo* contextinfo_;
- int headertype_;
- union HeaderUnion {
- constexpr HeaderUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
- ::proto::DocumentMessage* documentmessage_;
- ::proto::ImageMessage* imagemessage_;
- ::proto::VideoMessage* videomessage_;
- ::proto::LocationMessage* locationmessage_;
- } header_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Button > buttons_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr contenttext_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr footertext_;
+ ::proto::ContextInfo* contextinfo_;
+ int headertype_;
+ union HeaderUnion {
+ constexpr HeaderUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
+ ::proto::DocumentMessage* documentmessage_;
+ ::proto::ImageMessage* imagemessage_;
+ ::proto::VideoMessage* videomessage_;
+ ::proto::LocationMessage* locationmessage_;
+ } header_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -18835,7 +19181,7 @@ class ButtonsResponseMessage final :
public:
inline ButtonsResponseMessage() : ButtonsResponseMessage(nullptr) {}
~ButtonsResponseMessage() override;
- explicit constexpr ButtonsResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ButtonsResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ButtonsResponseMessage(const ButtonsResponseMessage& from);
ButtonsResponseMessage(ButtonsResponseMessage&& from) noexcept
@@ -18897,7 +19243,12 @@ class ButtonsResponseMessage final :
}
inline void Swap(ButtonsResponseMessage* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -18911,34 +19262,34 @@ class ButtonsResponseMessage final :
// implements Message ----------------------------------------------
- inline ButtonsResponseMessage* New() const final {
- return new ButtonsResponseMessage();
- }
-
- ButtonsResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ ButtonsResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ButtonsResponseMessage>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ButtonsResponseMessage& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ButtonsResponseMessage& from);
+ void MergeFrom( const ButtonsResponseMessage& from) {
+ ButtonsResponseMessage::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ButtonsResponseMessage* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.ButtonsResponseMessage";
@@ -18946,9 +19297,6 @@ class ButtonsResponseMessage final :
protected:
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:
static const ClassData _class_data_;
@@ -19006,7 +19354,7 @@ class ButtonsResponseMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_selectedbuttonid(ArgT0&& arg0, ArgT... args);
std::string* mutable_selectedbuttonid();
- PROTOBUF_MUST_USE_RESULT std::string* release_selectedbuttonid();
+ PROTOBUF_NODISCARD std::string* release_selectedbuttonid();
void set_allocated_selectedbuttonid(std::string* selectedbuttonid);
private:
const std::string& _internal_selectedbuttonid() const;
@@ -19021,7 +19369,7 @@ class ButtonsResponseMessage final :
public:
void clear_contextinfo();
const ::proto::ContextInfo& contextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContextInfo* release_contextinfo();
+ PROTOBUF_NODISCARD ::proto::ContextInfo* release_contextinfo();
::proto::ContextInfo* mutable_contextinfo();
void set_allocated_contextinfo(::proto::ContextInfo* contextinfo);
private:
@@ -19055,7 +19403,7 @@ class ButtonsResponseMessage final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_selecteddisplaytext(ArgT0&& arg0, ArgT... args);
std::string* mutable_selecteddisplaytext();
- PROTOBUF_MUST_USE_RESULT std::string* release_selecteddisplaytext();
+ PROTOBUF_NODISCARD std::string* release_selecteddisplaytext();
void set_allocated_selecteddisplaytext(std::string* selecteddisplaytext);
private:
const std::string& _internal_selecteddisplaytext() const;
@@ -19076,18 +19424,21 @@ class ButtonsResponseMessage final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedbuttonid_;
- ::proto::ContextInfo* contextinfo_;
- int type_;
- union ResponseUnion {
- constexpr ResponseUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selecteddisplaytext_;
- } response_;
- ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selectedbuttonid_;
+ ::proto::ContextInfo* contextinfo_;
+ int type_;
+ union ResponseUnion {
+ constexpr ResponseUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr selecteddisplaytext_;
+ } response_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -19097,7 +19448,7 @@ class Message final :
public:
inline Message() : Message(nullptr) {}
~Message() override;
- explicit constexpr Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Message(const Message& from);
Message(Message&& from) noexcept
@@ -19154,7 +19505,12 @@ class Message final :
}
inline void Swap(Message* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -19168,34 +19524,34 @@ class Message final :
// implements Message ----------------------------------------------
- inline Message* New() const final {
- return new Message();
- }
-
- Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Message>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Message& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Message& from);
+ void MergeFrom( const Message& from) {
+ Message::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Message* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.Message";
@@ -19203,9 +19559,6 @@ class Message final :
protected:
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:
static const ClassData _class_data_;
@@ -19264,7 +19617,7 @@ class Message final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_conversation(ArgT0&& arg0, ArgT... args);
std::string* mutable_conversation();
- PROTOBUF_MUST_USE_RESULT std::string* release_conversation();
+ PROTOBUF_NODISCARD std::string* release_conversation();
void set_allocated_conversation(std::string* conversation);
private:
const std::string& _internal_conversation() const;
@@ -19279,7 +19632,7 @@ class Message final :
public:
void clear_senderkeydistributionmessage();
const ::proto::SenderKeyDistributionMessage& senderkeydistributionmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::SenderKeyDistributionMessage* release_senderkeydistributionmessage();
+ PROTOBUF_NODISCARD ::proto::SenderKeyDistributionMessage* release_senderkeydistributionmessage();
::proto::SenderKeyDistributionMessage* mutable_senderkeydistributionmessage();
void set_allocated_senderkeydistributionmessage(::proto::SenderKeyDistributionMessage* senderkeydistributionmessage);
private:
@@ -19297,7 +19650,7 @@ class Message final :
public:
void clear_imagemessage();
const ::proto::ImageMessage& imagemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ImageMessage* release_imagemessage();
+ PROTOBUF_NODISCARD ::proto::ImageMessage* release_imagemessage();
::proto::ImageMessage* mutable_imagemessage();
void set_allocated_imagemessage(::proto::ImageMessage* imagemessage);
private:
@@ -19315,7 +19668,7 @@ class Message final :
public:
void clear_contactmessage();
const ::proto::ContactMessage& contactmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContactMessage* release_contactmessage();
+ PROTOBUF_NODISCARD ::proto::ContactMessage* release_contactmessage();
::proto::ContactMessage* mutable_contactmessage();
void set_allocated_contactmessage(::proto::ContactMessage* contactmessage);
private:
@@ -19333,7 +19686,7 @@ class Message final :
public:
void clear_locationmessage();
const ::proto::LocationMessage& locationmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::LocationMessage* release_locationmessage();
+ PROTOBUF_NODISCARD ::proto::LocationMessage* release_locationmessage();
::proto::LocationMessage* mutable_locationmessage();
void set_allocated_locationmessage(::proto::LocationMessage* locationmessage);
private:
@@ -19351,7 +19704,7 @@ class Message final :
public:
void clear_extendedtextmessage();
const ::proto::ExtendedTextMessage& extendedtextmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ExtendedTextMessage* release_extendedtextmessage();
+ PROTOBUF_NODISCARD ::proto::ExtendedTextMessage* release_extendedtextmessage();
::proto::ExtendedTextMessage* mutable_extendedtextmessage();
void set_allocated_extendedtextmessage(::proto::ExtendedTextMessage* extendedtextmessage);
private:
@@ -19369,7 +19722,7 @@ class Message final :
public:
void clear_documentmessage();
const ::proto::DocumentMessage& documentmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::DocumentMessage* release_documentmessage();
+ PROTOBUF_NODISCARD ::proto::DocumentMessage* release_documentmessage();
::proto::DocumentMessage* mutable_documentmessage();
void set_allocated_documentmessage(::proto::DocumentMessage* documentmessage);
private:
@@ -19387,7 +19740,7 @@ class Message final :
public:
void clear_audiomessage();
const ::proto::AudioMessage& audiomessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::AudioMessage* release_audiomessage();
+ PROTOBUF_NODISCARD ::proto::AudioMessage* release_audiomessage();
::proto::AudioMessage* mutable_audiomessage();
void set_allocated_audiomessage(::proto::AudioMessage* audiomessage);
private:
@@ -19405,7 +19758,7 @@ class Message final :
public:
void clear_videomessage();
const ::proto::VideoMessage& videomessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::VideoMessage* release_videomessage();
+ PROTOBUF_NODISCARD ::proto::VideoMessage* release_videomessage();
::proto::VideoMessage* mutable_videomessage();
void set_allocated_videomessage(::proto::VideoMessage* videomessage);
private:
@@ -19423,7 +19776,7 @@ class Message final :
public:
void clear_call();
const ::proto::Call& call() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Call* release_call();
+ PROTOBUF_NODISCARD ::proto::Call* release_call();
::proto::Call* mutable_call();
void set_allocated_call(::proto::Call* call);
private:
@@ -19441,7 +19794,7 @@ class Message final :
public:
void clear_chat();
const ::proto::Chat& chat() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Chat* release_chat();
+ PROTOBUF_NODISCARD ::proto::Chat* release_chat();
::proto::Chat* mutable_chat();
void set_allocated_chat(::proto::Chat* chat);
private:
@@ -19459,7 +19812,7 @@ class Message final :
public:
void clear_protocolmessage();
const ::proto::ProtocolMessage& protocolmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ProtocolMessage* release_protocolmessage();
+ PROTOBUF_NODISCARD ::proto::ProtocolMessage* release_protocolmessage();
::proto::ProtocolMessage* mutable_protocolmessage();
void set_allocated_protocolmessage(::proto::ProtocolMessage* protocolmessage);
private:
@@ -19477,7 +19830,7 @@ class Message final :
public:
void clear_contactsarraymessage();
const ::proto::ContactsArrayMessage& contactsarraymessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ContactsArrayMessage* release_contactsarraymessage();
+ PROTOBUF_NODISCARD ::proto::ContactsArrayMessage* release_contactsarraymessage();
::proto::ContactsArrayMessage* mutable_contactsarraymessage();
void set_allocated_contactsarraymessage(::proto::ContactsArrayMessage* contactsarraymessage);
private:
@@ -19495,7 +19848,7 @@ class Message final :
public:
void clear_highlystructuredmessage();
const ::proto::HighlyStructuredMessage& highlystructuredmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::HighlyStructuredMessage* release_highlystructuredmessage();
+ PROTOBUF_NODISCARD ::proto::HighlyStructuredMessage* release_highlystructuredmessage();
::proto::HighlyStructuredMessage* mutable_highlystructuredmessage();
void set_allocated_highlystructuredmessage(::proto::HighlyStructuredMessage* highlystructuredmessage);
private:
@@ -19513,7 +19866,7 @@ class Message final :
public:
void clear_fastratchetkeysenderkeydistributionmessage();
const ::proto::SenderKeyDistributionMessage& fastratchetkeysenderkeydistributionmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::SenderKeyDistributionMessage* release_fastratchetkeysenderkeydistributionmessage();
+ PROTOBUF_NODISCARD ::proto::SenderKeyDistributionMessage* release_fastratchetkeysenderkeydistributionmessage();
::proto::SenderKeyDistributionMessage* mutable_fastratchetkeysenderkeydistributionmessage();
void set_allocated_fastratchetkeysenderkeydistributionmessage(::proto::SenderKeyDistributionMessage* fastratchetkeysenderkeydistributionmessage);
private:
@@ -19531,7 +19884,7 @@ class Message final :
public:
void clear_sendpaymentmessage();
const ::proto::SendPaymentMessage& sendpaymentmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::SendPaymentMessage* release_sendpaymentmessage();
+ PROTOBUF_NODISCARD ::proto::SendPaymentMessage* release_sendpaymentmessage();
::proto::SendPaymentMessage* mutable_sendpaymentmessage();
void set_allocated_sendpaymentmessage(::proto::SendPaymentMessage* sendpaymentmessage);
private:
@@ -19549,7 +19902,7 @@ class Message final :
public:
void clear_livelocationmessage();
const ::proto::LiveLocationMessage& livelocationmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::LiveLocationMessage* release_livelocationmessage();
+ PROTOBUF_NODISCARD ::proto::LiveLocationMessage* release_livelocationmessage();
::proto::LiveLocationMessage* mutable_livelocationmessage();
void set_allocated_livelocationmessage(::proto::LiveLocationMessage* livelocationmessage);
private:
@@ -19567,7 +19920,7 @@ class Message final :
public:
void clear_requestpaymentmessage();
const ::proto::RequestPaymentMessage& requestpaymentmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::RequestPaymentMessage* release_requestpaymentmessage();
+ PROTOBUF_NODISCARD ::proto::RequestPaymentMessage* release_requestpaymentmessage();
::proto::RequestPaymentMessage* mutable_requestpaymentmessage();
void set_allocated_requestpaymentmessage(::proto::RequestPaymentMessage* requestpaymentmessage);
private:
@@ -19585,7 +19938,7 @@ class Message final :
public:
void clear_declinepaymentrequestmessage();
const ::proto::DeclinePaymentRequestMessage& declinepaymentrequestmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::DeclinePaymentRequestMessage* release_declinepaymentrequestmessage();
+ PROTOBUF_NODISCARD ::proto::DeclinePaymentRequestMessage* release_declinepaymentrequestmessage();
::proto::DeclinePaymentRequestMessage* mutable_declinepaymentrequestmessage();
void set_allocated_declinepaymentrequestmessage(::proto::DeclinePaymentRequestMessage* declinepaymentrequestmessage);
private:
@@ -19603,7 +19956,7 @@ class Message final :
public:
void clear_cancelpaymentrequestmessage();
const ::proto::CancelPaymentRequestMessage& cancelpaymentrequestmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::CancelPaymentRequestMessage* release_cancelpaymentrequestmessage();
+ PROTOBUF_NODISCARD ::proto::CancelPaymentRequestMessage* release_cancelpaymentrequestmessage();
::proto::CancelPaymentRequestMessage* mutable_cancelpaymentrequestmessage();
void set_allocated_cancelpaymentrequestmessage(::proto::CancelPaymentRequestMessage* cancelpaymentrequestmessage);
private:
@@ -19621,7 +19974,7 @@ class Message final :
public:
void clear_templatemessage();
const ::proto::TemplateMessage& templatemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::TemplateMessage* release_templatemessage();
+ PROTOBUF_NODISCARD ::proto::TemplateMessage* release_templatemessage();
::proto::TemplateMessage* mutable_templatemessage();
void set_allocated_templatemessage(::proto::TemplateMessage* templatemessage);
private:
@@ -19639,7 +19992,7 @@ class Message final :
public:
void clear_stickermessage();
const ::proto::StickerMessage& stickermessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::StickerMessage* release_stickermessage();
+ PROTOBUF_NODISCARD ::proto::StickerMessage* release_stickermessage();
::proto::StickerMessage* mutable_stickermessage();
void set_allocated_stickermessage(::proto::StickerMessage* stickermessage);
private:
@@ -19657,7 +20010,7 @@ class Message final :
public:
void clear_groupinvitemessage();
const ::proto::GroupInviteMessage& groupinvitemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::GroupInviteMessage* release_groupinvitemessage();
+ PROTOBUF_NODISCARD ::proto::GroupInviteMessage* release_groupinvitemessage();
::proto::GroupInviteMessage* mutable_groupinvitemessage();
void set_allocated_groupinvitemessage(::proto::GroupInviteMessage* groupinvitemessage);
private:
@@ -19675,7 +20028,7 @@ class Message final :
public:
void clear_templatebuttonreplymessage();
const ::proto::TemplateButtonReplyMessage& templatebuttonreplymessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::TemplateButtonReplyMessage* release_templatebuttonreplymessage();
+ PROTOBUF_NODISCARD ::proto::TemplateButtonReplyMessage* release_templatebuttonreplymessage();
::proto::TemplateButtonReplyMessage* mutable_templatebuttonreplymessage();
void set_allocated_templatebuttonreplymessage(::proto::TemplateButtonReplyMessage* templatebuttonreplymessage);
private:
@@ -19693,7 +20046,7 @@ class Message final :
public:
void clear_productmessage();
const ::proto::ProductMessage& productmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ProductMessage* release_productmessage();
+ PROTOBUF_NODISCARD ::proto::ProductMessage* release_productmessage();
::proto::ProductMessage* mutable_productmessage();
void set_allocated_productmessage(::proto::ProductMessage* productmessage);
private:
@@ -19711,7 +20064,7 @@ class Message final :
public:
void clear_devicesentmessage();
const ::proto::DeviceSentMessage& devicesentmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::DeviceSentMessage* release_devicesentmessage();
+ PROTOBUF_NODISCARD ::proto::DeviceSentMessage* release_devicesentmessage();
::proto::DeviceSentMessage* mutable_devicesentmessage();
void set_allocated_devicesentmessage(::proto::DeviceSentMessage* devicesentmessage);
private:
@@ -19729,7 +20082,7 @@ class Message final :
public:
void clear_messagecontextinfo();
const ::proto::MessageContextInfo& messagecontextinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageContextInfo* release_messagecontextinfo();
+ PROTOBUF_NODISCARD ::proto::MessageContextInfo* release_messagecontextinfo();
::proto::MessageContextInfo* mutable_messagecontextinfo();
void set_allocated_messagecontextinfo(::proto::MessageContextInfo* messagecontextinfo);
private:
@@ -19747,7 +20100,7 @@ class Message final :
public:
void clear_listmessage();
const ::proto::ListMessage& listmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ListMessage* release_listmessage();
+ PROTOBUF_NODISCARD ::proto::ListMessage* release_listmessage();
::proto::ListMessage* mutable_listmessage();
void set_allocated_listmessage(::proto::ListMessage* listmessage);
private:
@@ -19765,7 +20118,7 @@ class Message final :
public:
void clear_viewoncemessage();
const ::proto::FutureProofMessage& viewoncemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::FutureProofMessage* release_viewoncemessage();
+ PROTOBUF_NODISCARD ::proto::FutureProofMessage* release_viewoncemessage();
::proto::FutureProofMessage* mutable_viewoncemessage();
void set_allocated_viewoncemessage(::proto::FutureProofMessage* viewoncemessage);
private:
@@ -19783,7 +20136,7 @@ class Message final :
public:
void clear_ordermessage();
const ::proto::OrderMessage& ordermessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::OrderMessage* release_ordermessage();
+ PROTOBUF_NODISCARD ::proto::OrderMessage* release_ordermessage();
::proto::OrderMessage* mutable_ordermessage();
void set_allocated_ordermessage(::proto::OrderMessage* ordermessage);
private:
@@ -19801,7 +20154,7 @@ class Message final :
public:
void clear_listresponsemessage();
const ::proto::ListResponseMessage& listresponsemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ListResponseMessage* release_listresponsemessage();
+ PROTOBUF_NODISCARD ::proto::ListResponseMessage* release_listresponsemessage();
::proto::ListResponseMessage* mutable_listresponsemessage();
void set_allocated_listresponsemessage(::proto::ListResponseMessage* listresponsemessage);
private:
@@ -19819,7 +20172,7 @@ class Message final :
public:
void clear_ephemeralmessage();
const ::proto::FutureProofMessage& ephemeralmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::FutureProofMessage* release_ephemeralmessage();
+ PROTOBUF_NODISCARD ::proto::FutureProofMessage* release_ephemeralmessage();
::proto::FutureProofMessage* mutable_ephemeralmessage();
void set_allocated_ephemeralmessage(::proto::FutureProofMessage* ephemeralmessage);
private:
@@ -19837,7 +20190,7 @@ class Message final :
public:
void clear_invoicemessage();
const ::proto::InvoiceMessage& invoicemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::InvoiceMessage* release_invoicemessage();
+ PROTOBUF_NODISCARD ::proto::InvoiceMessage* release_invoicemessage();
::proto::InvoiceMessage* mutable_invoicemessage();
void set_allocated_invoicemessage(::proto::InvoiceMessage* invoicemessage);
private:
@@ -19855,7 +20208,7 @@ class Message final :
public:
void clear_buttonsmessage();
const ::proto::ButtonsMessage& buttonsmessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ButtonsMessage* release_buttonsmessage();
+ PROTOBUF_NODISCARD ::proto::ButtonsMessage* release_buttonsmessage();
::proto::ButtonsMessage* mutable_buttonsmessage();
void set_allocated_buttonsmessage(::proto::ButtonsMessage* buttonsmessage);
private:
@@ -19873,7 +20226,7 @@ class Message final :
public:
void clear_buttonsresponsemessage();
const ::proto::ButtonsResponseMessage& buttonsresponsemessage() const;
- PROTOBUF_MUST_USE_RESULT ::proto::ButtonsResponseMessage* release_buttonsresponsemessage();
+ PROTOBUF_NODISCARD ::proto::ButtonsResponseMessage* release_buttonsresponsemessage();
::proto::ButtonsResponseMessage* mutable_buttonsresponsemessage();
void set_allocated_buttonsresponsemessage(::proto::ButtonsResponseMessage* buttonsresponsemessage);
private:
@@ -19891,43 +20244,46 @@ class Message final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversation_;
- ::proto::SenderKeyDistributionMessage* senderkeydistributionmessage_;
- ::proto::ImageMessage* imagemessage_;
- ::proto::ContactMessage* contactmessage_;
- ::proto::LocationMessage* locationmessage_;
- ::proto::ExtendedTextMessage* extendedtextmessage_;
- ::proto::DocumentMessage* documentmessage_;
- ::proto::AudioMessage* audiomessage_;
- ::proto::VideoMessage* videomessage_;
- ::proto::Call* call_;
- ::proto::Chat* chat_;
- ::proto::ProtocolMessage* protocolmessage_;
- ::proto::ContactsArrayMessage* contactsarraymessage_;
- ::proto::HighlyStructuredMessage* highlystructuredmessage_;
- ::proto::SenderKeyDistributionMessage* fastratchetkeysenderkeydistributionmessage_;
- ::proto::SendPaymentMessage* sendpaymentmessage_;
- ::proto::LiveLocationMessage* livelocationmessage_;
- ::proto::RequestPaymentMessage* requestpaymentmessage_;
- ::proto::DeclinePaymentRequestMessage* declinepaymentrequestmessage_;
- ::proto::CancelPaymentRequestMessage* cancelpaymentrequestmessage_;
- ::proto::TemplateMessage* templatemessage_;
- ::proto::StickerMessage* stickermessage_;
- ::proto::GroupInviteMessage* groupinvitemessage_;
- ::proto::TemplateButtonReplyMessage* templatebuttonreplymessage_;
- ::proto::ProductMessage* productmessage_;
- ::proto::DeviceSentMessage* devicesentmessage_;
- ::proto::MessageContextInfo* messagecontextinfo_;
- ::proto::ListMessage* listmessage_;
- ::proto::FutureProofMessage* viewoncemessage_;
- ::proto::OrderMessage* ordermessage_;
- ::proto::ListResponseMessage* listresponsemessage_;
- ::proto::FutureProofMessage* ephemeralmessage_;
- ::proto::InvoiceMessage* invoicemessage_;
- ::proto::ButtonsMessage* buttonsmessage_;
- ::proto::ButtonsResponseMessage* buttonsresponsemessage_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conversation_;
+ ::proto::SenderKeyDistributionMessage* senderkeydistributionmessage_;
+ ::proto::ImageMessage* imagemessage_;
+ ::proto::ContactMessage* contactmessage_;
+ ::proto::LocationMessage* locationmessage_;
+ ::proto::ExtendedTextMessage* extendedtextmessage_;
+ ::proto::DocumentMessage* documentmessage_;
+ ::proto::AudioMessage* audiomessage_;
+ ::proto::VideoMessage* videomessage_;
+ ::proto::Call* call_;
+ ::proto::Chat* chat_;
+ ::proto::ProtocolMessage* protocolmessage_;
+ ::proto::ContactsArrayMessage* contactsarraymessage_;
+ ::proto::HighlyStructuredMessage* highlystructuredmessage_;
+ ::proto::SenderKeyDistributionMessage* fastratchetkeysenderkeydistributionmessage_;
+ ::proto::SendPaymentMessage* sendpaymentmessage_;
+ ::proto::LiveLocationMessage* livelocationmessage_;
+ ::proto::RequestPaymentMessage* requestpaymentmessage_;
+ ::proto::DeclinePaymentRequestMessage* declinepaymentrequestmessage_;
+ ::proto::CancelPaymentRequestMessage* cancelpaymentrequestmessage_;
+ ::proto::TemplateMessage* templatemessage_;
+ ::proto::StickerMessage* stickermessage_;
+ ::proto::GroupInviteMessage* groupinvitemessage_;
+ ::proto::TemplateButtonReplyMessage* templatebuttonreplymessage_;
+ ::proto::ProductMessage* productmessage_;
+ ::proto::DeviceSentMessage* devicesentmessage_;
+ ::proto::MessageContextInfo* messagecontextinfo_;
+ ::proto::ListMessage* listmessage_;
+ ::proto::FutureProofMessage* viewoncemessage_;
+ ::proto::OrderMessage* ordermessage_;
+ ::proto::ListResponseMessage* listresponsemessage_;
+ ::proto::FutureProofMessage* ephemeralmessage_;
+ ::proto::InvoiceMessage* invoicemessage_;
+ ::proto::ButtonsMessage* buttonsmessage_;
+ ::proto::ButtonsResponseMessage* buttonsresponsemessage_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -19937,7 +20293,7 @@ class MessageKey final :
public:
inline MessageKey() : MessageKey(nullptr) {}
~MessageKey() override;
- explicit constexpr MessageKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR MessageKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
MessageKey(const MessageKey& from);
MessageKey(MessageKey&& from) noexcept
@@ -19994,7 +20350,12 @@ class MessageKey final :
}
inline void Swap(MessageKey* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -20008,34 +20369,34 @@ class MessageKey final :
// implements Message ----------------------------------------------
- inline MessageKey* New() const final {
- return new MessageKey();
- }
-
- MessageKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ MessageKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<MessageKey>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const MessageKey& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageKey& from);
+ void MergeFrom( const MessageKey& from) {
+ MessageKey::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(MessageKey* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.MessageKey";
@@ -20043,9 +20404,6 @@ class MessageKey final :
protected:
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:
static const ClassData _class_data_;
@@ -20073,7 +20431,7 @@ class MessageKey final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_remotejid(ArgT0&& arg0, ArgT... args);
std::string* mutable_remotejid();
- PROTOBUF_MUST_USE_RESULT std::string* release_remotejid();
+ PROTOBUF_NODISCARD std::string* release_remotejid();
void set_allocated_remotejid(std::string* remotejid);
private:
const std::string& _internal_remotejid() const;
@@ -20091,7 +20449,7 @@ class MessageKey final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
- PROTOBUF_MUST_USE_RESULT std::string* release_id();
+ PROTOBUF_NODISCARD std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
@@ -20109,7 +20467,7 @@ class MessageKey final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_participant(ArgT0&& arg0, ArgT... args);
std::string* mutable_participant();
- PROTOBUF_MUST_USE_RESULT std::string* release_participant();
+ PROTOBUF_NODISCARD std::string* release_participant();
void set_allocated_participant(std::string* participant);
private:
const std::string& _internal_participant() const;
@@ -20137,12 +20495,15 @@ class MessageKey final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remotejid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_;
- bool fromme_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remotejid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_;
+ bool fromme_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -20152,7 +20513,7 @@ class WebFeatures final :
public:
inline WebFeatures() : WebFeatures(nullptr) {}
~WebFeatures() override;
- explicit constexpr WebFeatures(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR WebFeatures(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
WebFeatures(const WebFeatures& from);
WebFeatures(WebFeatures&& from) noexcept
@@ -20209,7 +20570,12 @@ class WebFeatures final :
}
inline void Swap(WebFeatures* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -20223,34 +20589,34 @@ class WebFeatures final :
// implements Message ----------------------------------------------
- inline WebFeatures* New() const final {
- return new WebFeatures();
- }
-
- WebFeatures* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ WebFeatures* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<WebFeatures>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const WebFeatures& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const WebFeatures& from);
+ void MergeFrom( const WebFeatures& from) {
+ WebFeatures::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(WebFeatures* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.WebFeatures";
@@ -20258,9 +20624,6 @@ class WebFeatures final :
protected:
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:
static const ClassData _class_data_;
@@ -20875,48 +21238,51 @@ class WebFeatures final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- int labelsdisplay_;
- int voipindividualoutgoing_;
- int groupsv3_;
- int groupsv3create_;
- int changenumberv2_;
- int querystatusv3thumbnail_;
- int livelocations_;
- int queryvname_;
- int voipindividualincoming_;
- int quickrepliesquery_;
- int payments_;
- int stickerpackquery_;
- int livelocationsfinal_;
- int labelsedit_;
- int mediaupload_;
- int mediauploadrichquickreplies_;
- int vnamev2_;
- int videoplaybackurl_;
- int statusranking_;
- int voipindividualvideo_;
- int thirdpartystickers_;
- int frequentlyforwardedsetting_;
- int groupsv4joinpermission_;
- int recentstickers_;
- int catalog_;
- int starredstickers_;
- int voipgroupcall_;
- int templatemessage_;
- int templatemessageinteractivity_;
- int ephemeralmessages_;
- int e2enotificationsync_;
- int recentstickersv2_;
- int syncdrelease1_;
- int recentstickersv3_;
- int usernotice_;
- int syncdrelease11_;
- int support_;
- int groupuiicleanup_;
- int groupdogfoodinginternalonly_;
- int settingssync_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ int labelsdisplay_;
+ int voipindividualoutgoing_;
+ int groupsv3_;
+ int groupsv3create_;
+ int changenumberv2_;
+ int querystatusv3thumbnail_;
+ int livelocations_;
+ int queryvname_;
+ int voipindividualincoming_;
+ int quickrepliesquery_;
+ int payments_;
+ int stickerpackquery_;
+ int livelocationsfinal_;
+ int labelsedit_;
+ int mediaupload_;
+ int mediauploadrichquickreplies_;
+ int vnamev2_;
+ int videoplaybackurl_;
+ int statusranking_;
+ int voipindividualvideo_;
+ int thirdpartystickers_;
+ int frequentlyforwardedsetting_;
+ int groupsv4joinpermission_;
+ int recentstickers_;
+ int catalog_;
+ int starredstickers_;
+ int voipgroupcall_;
+ int templatemessage_;
+ int templatemessageinteractivity_;
+ int ephemeralmessages_;
+ int e2enotificationsync_;
+ int recentstickersv2_;
+ int syncdrelease1_;
+ int recentstickersv3_;
+ int usernotice_;
+ int syncdrelease11_;
+ int support_;
+ int groupuiicleanup_;
+ int groupdogfoodinginternalonly_;
+ int settingssync_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -20926,7 +21292,7 @@ class NotificationMessageInfo final :
public:
inline NotificationMessageInfo() : NotificationMessageInfo(nullptr) {}
~NotificationMessageInfo() override;
- explicit constexpr NotificationMessageInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR NotificationMessageInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
NotificationMessageInfo(const NotificationMessageInfo& from);
NotificationMessageInfo(NotificationMessageInfo&& from) noexcept
@@ -20983,7 +21349,12 @@ class NotificationMessageInfo final :
}
inline void Swap(NotificationMessageInfo* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -20997,34 +21368,34 @@ class NotificationMessageInfo final :
// implements Message ----------------------------------------------
- inline NotificationMessageInfo* New() const final {
- return new NotificationMessageInfo();
- }
-
- NotificationMessageInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ NotificationMessageInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<NotificationMessageInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const NotificationMessageInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const NotificationMessageInfo& from);
+ void MergeFrom( const NotificationMessageInfo& from) {
+ NotificationMessageInfo::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(NotificationMessageInfo* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.NotificationMessageInfo";
@@ -21032,9 +21403,6 @@ class NotificationMessageInfo final :
protected:
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:
static const ClassData _class_data_;
@@ -21062,7 +21430,7 @@ class NotificationMessageInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_participant(ArgT0&& arg0, ArgT... args);
std::string* mutable_participant();
- PROTOBUF_MUST_USE_RESULT std::string* release_participant();
+ PROTOBUF_NODISCARD std::string* release_participant();
void set_allocated_participant(std::string* participant);
private:
const std::string& _internal_participant() const;
@@ -21077,7 +21445,7 @@ class NotificationMessageInfo final :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
+ PROTOBUF_NODISCARD ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -21095,7 +21463,7 @@ class NotificationMessageInfo final :
public:
void clear_message();
const ::proto::Message& message() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message();
+ PROTOBUF_NODISCARD ::proto::Message* release_message();
::proto::Message* mutable_message();
void set_allocated_message(::proto::Message* message);
private:
@@ -21112,11 +21480,11 @@ class NotificationMessageInfo final :
bool _internal_has_messagetimestamp() const;
public:
void clear_messagetimestamp();
- ::PROTOBUF_NAMESPACE_ID::uint64 messagetimestamp() const;
- void set_messagetimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t messagetimestamp() const;
+ void set_messagetimestamp(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_messagetimestamp() const;
- void _internal_set_messagetimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_messagetimestamp() const;
+ void _internal_set_messagetimestamp(uint64_t value);
public:
// @@protoc_insertion_point(class_scope:proto.NotificationMessageInfo)
@@ -21126,12 +21494,15 @@ class NotificationMessageInfo final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_;
- ::proto::MessageKey* key_;
- ::proto::Message* message_;
- ::PROTOBUF_NAMESPACE_ID::uint64 messagetimestamp_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_;
+ ::proto::MessageKey* key_;
+ ::proto::Message* message_;
+ uint64_t messagetimestamp_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -21141,7 +21512,7 @@ class WebNotificationsInfo final :
public:
inline WebNotificationsInfo() : WebNotificationsInfo(nullptr) {}
~WebNotificationsInfo() override;
- explicit constexpr WebNotificationsInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR WebNotificationsInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
WebNotificationsInfo(const WebNotificationsInfo& from);
WebNotificationsInfo(WebNotificationsInfo&& from) noexcept
@@ -21198,7 +21569,12 @@ class WebNotificationsInfo final :
}
inline void Swap(WebNotificationsInfo* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -21212,34 +21588,34 @@ class WebNotificationsInfo final :
// implements Message ----------------------------------------------
- inline WebNotificationsInfo* New() const final {
- return new WebNotificationsInfo();
- }
-
- WebNotificationsInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ WebNotificationsInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<WebNotificationsInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const WebNotificationsInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const WebNotificationsInfo& from);
+ void MergeFrom( const WebNotificationsInfo& from) {
+ WebNotificationsInfo::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(WebNotificationsInfo* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.WebNotificationsInfo";
@@ -21247,9 +21623,6 @@ class WebNotificationsInfo final :
protected:
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:
static const ClassData _class_data_;
@@ -21291,11 +21664,11 @@ class WebNotificationsInfo final :
bool _internal_has_timestamp() const;
public:
void clear_timestamp();
- ::PROTOBUF_NAMESPACE_ID::uint64 timestamp() const;
- void set_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t timestamp() const;
+ void set_timestamp(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_timestamp() const;
- void _internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_timestamp() const;
+ void _internal_set_timestamp(uint64_t value);
public:
// optional uint32 unreadChats = 3;
@@ -21304,11 +21677,11 @@ class WebNotificationsInfo final :
bool _internal_has_unreadchats() const;
public:
void clear_unreadchats();
- ::PROTOBUF_NAMESPACE_ID::uint32 unreadchats() const;
- void set_unreadchats(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t unreadchats() const;
+ void set_unreadchats(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_unreadchats() const;
- void _internal_set_unreadchats(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_unreadchats() const;
+ void _internal_set_unreadchats(uint32_t value);
public:
// optional uint32 notifyMessageCount = 4;
@@ -21317,11 +21690,11 @@ class WebNotificationsInfo final :
bool _internal_has_notifymessagecount() const;
public:
void clear_notifymessagecount();
- ::PROTOBUF_NAMESPACE_ID::uint32 notifymessagecount() const;
- void set_notifymessagecount(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t notifymessagecount() const;
+ void set_notifymessagecount(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_notifymessagecount() const;
- void _internal_set_notifymessagecount(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_notifymessagecount() const;
+ void _internal_set_notifymessagecount(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.WebNotificationsInfo)
@@ -21331,12 +21704,15 @@ class WebNotificationsInfo final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::WebMessageInfo > notifymessages_;
- ::PROTOBUF_NAMESPACE_ID::uint64 timestamp_;
- ::PROTOBUF_NAMESPACE_ID::uint32 unreadchats_;
- ::PROTOBUF_NAMESPACE_ID::uint32 notifymessagecount_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::WebMessageInfo > notifymessages_;
+ uint64_t timestamp_;
+ uint32_t unreadchats_;
+ uint32_t notifymessagecount_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -21346,7 +21722,7 @@ class PaymentInfo final :
public:
inline PaymentInfo() : PaymentInfo(nullptr) {}
~PaymentInfo() override;
- explicit constexpr PaymentInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR PaymentInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PaymentInfo(const PaymentInfo& from);
PaymentInfo(PaymentInfo&& from) noexcept
@@ -21403,7 +21779,12 @@ class PaymentInfo final :
}
inline void Swap(PaymentInfo* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -21417,34 +21798,34 @@ class PaymentInfo final :
// implements Message ----------------------------------------------
- inline PaymentInfo* New() const final {
- return new PaymentInfo();
- }
-
- PaymentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ PaymentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<PaymentInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PaymentInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const PaymentInfo& from);
+ void MergeFrom( const PaymentInfo& from) {
+ PaymentInfo::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(PaymentInfo* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.PaymentInfo";
@@ -21452,9 +21833,6 @@ class PaymentInfo final :
protected:
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:
static const ClassData _class_data_;
@@ -21653,7 +22031,7 @@ class PaymentInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_receiverjid(ArgT0&& arg0, ArgT... args);
std::string* mutable_receiverjid();
- PROTOBUF_MUST_USE_RESULT std::string* release_receiverjid();
+ PROTOBUF_NODISCARD std::string* release_receiverjid();
void set_allocated_receiverjid(std::string* receiverjid);
private:
const std::string& _internal_receiverjid() const;
@@ -21671,7 +22049,7 @@ class PaymentInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_currency(ArgT0&& arg0, ArgT... args);
std::string* mutable_currency();
- PROTOBUF_MUST_USE_RESULT std::string* release_currency();
+ PROTOBUF_NODISCARD std::string* release_currency();
void set_allocated_currency(std::string* currency);
private:
const std::string& _internal_currency() const;
@@ -21686,7 +22064,7 @@ class PaymentInfo final :
public:
void clear_requestmessagekey();
const ::proto::MessageKey& requestmessagekey() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_requestmessagekey();
+ PROTOBUF_NODISCARD ::proto::MessageKey* release_requestmessagekey();
::proto::MessageKey* mutable_requestmessagekey();
void set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey);
private:
@@ -21704,7 +22082,7 @@ class PaymentInfo final :
public:
void clear_primaryamount();
const ::proto::PaymentMoney& primaryamount() const;
- PROTOBUF_MUST_USE_RESULT ::proto::PaymentMoney* release_primaryamount();
+ PROTOBUF_NODISCARD ::proto::PaymentMoney* release_primaryamount();
::proto::PaymentMoney* mutable_primaryamount();
void set_allocated_primaryamount(::proto::PaymentMoney* primaryamount);
private:
@@ -21722,7 +22100,7 @@ class PaymentInfo final :
public:
void clear_exchangeamount();
const ::proto::PaymentMoney& exchangeamount() const;
- PROTOBUF_MUST_USE_RESULT ::proto::PaymentMoney* release_exchangeamount();
+ PROTOBUF_NODISCARD ::proto::PaymentMoney* release_exchangeamount();
::proto::PaymentMoney* mutable_exchangeamount();
void set_allocated_exchangeamount(::proto::PaymentMoney* exchangeamount);
private:
@@ -21739,11 +22117,11 @@ class PaymentInfo final :
bool _internal_has_amount1000() const;
public:
void clear_amount1000();
- ::PROTOBUF_NAMESPACE_ID::uint64 amount1000() const;
- void set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t amount1000() const;
+ void set_amount1000(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_amount1000() const;
- void _internal_set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_amount1000() const;
+ void _internal_set_amount1000(uint64_t value);
public:
// optional .proto.PaymentInfo.PaymentInfoCurrency currencyDeprecated = 1;
@@ -21778,11 +22156,11 @@ class PaymentInfo final :
bool _internal_has_transactiontimestamp() const;
public:
void clear_transactiontimestamp();
- ::PROTOBUF_NAMESPACE_ID::uint64 transactiontimestamp() const;
- void set_transactiontimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t transactiontimestamp() const;
+ void set_transactiontimestamp(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_transactiontimestamp() const;
- void _internal_set_transactiontimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_transactiontimestamp() const;
+ void _internal_set_transactiontimestamp(uint64_t value);
public:
// optional uint64 expiryTimestamp = 7;
@@ -21791,11 +22169,11 @@ class PaymentInfo final :
bool _internal_has_expirytimestamp() const;
public:
void clear_expirytimestamp();
- ::PROTOBUF_NAMESPACE_ID::uint64 expirytimestamp() const;
- void set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t expirytimestamp() const;
+ void set_expirytimestamp(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_expirytimestamp() const;
- void _internal_set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_expirytimestamp() const;
+ void _internal_set_expirytimestamp(uint64_t value);
public:
// optional bool futureproofed = 8;
@@ -21844,21 +22222,24 @@ class PaymentInfo final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr receiverjid_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currency_;
- ::proto::MessageKey* requestmessagekey_;
- ::proto::PaymentMoney* primaryamount_;
- ::proto::PaymentMoney* exchangeamount_;
- ::PROTOBUF_NAMESPACE_ID::uint64 amount1000_;
- int currencydeprecated_;
- int status_;
- ::PROTOBUF_NAMESPACE_ID::uint64 transactiontimestamp_;
- ::PROTOBUF_NAMESPACE_ID::uint64 expirytimestamp_;
- bool futureproofed_;
- bool usenovifiatformat_;
- int txnstatus_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr receiverjid_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr currency_;
+ ::proto::MessageKey* requestmessagekey_;
+ ::proto::PaymentMoney* primaryamount_;
+ ::proto::PaymentMoney* exchangeamount_;
+ uint64_t amount1000_;
+ int currencydeprecated_;
+ int status_;
+ uint64_t transactiontimestamp_;
+ uint64_t expirytimestamp_;
+ bool futureproofed_;
+ bool usenovifiatformat_;
+ int txnstatus_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// -------------------------------------------------------------------
@@ -21868,7 +22249,7 @@ class WebMessageInfo final :
public:
inline WebMessageInfo() : WebMessageInfo(nullptr) {}
~WebMessageInfo() override;
- explicit constexpr WebMessageInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR WebMessageInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
WebMessageInfo(const WebMessageInfo& from);
WebMessageInfo(WebMessageInfo&& from) noexcept
@@ -21925,7 +22306,12 @@ class WebMessageInfo final :
}
inline void Swap(WebMessageInfo* other) {
if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
@@ -21939,34 +22325,34 @@ class WebMessageInfo final :
// implements Message ----------------------------------------------
- inline WebMessageInfo* New() const final {
- return new WebMessageInfo();
- }
-
- WebMessageInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
+ WebMessageInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<WebMessageInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const WebMessageInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const WebMessageInfo& from);
+ void MergeFrom( const WebMessageInfo& from) {
+ WebMessageInfo::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(WebMessageInfo* other);
+
+ private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "proto.WebMessageInfo";
@@ -21974,9 +22360,6 @@ class WebMessageInfo final :
protected:
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:
static const ClassData _class_data_;
@@ -22411,7 +22794,7 @@ class WebMessageInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_participant(ArgT0&& arg0, ArgT... args);
std::string* mutable_participant();
- PROTOBUF_MUST_USE_RESULT std::string* release_participant();
+ PROTOBUF_NODISCARD std::string* release_participant();
void set_allocated_participant(std::string* participant);
private:
const std::string& _internal_participant() const;
@@ -22429,7 +22812,7 @@ class WebMessageInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_pushname(ArgT0&& arg0, ArgT... args);
std::string* mutable_pushname();
- PROTOBUF_MUST_USE_RESULT std::string* release_pushname();
+ PROTOBUF_NODISCARD std::string* release_pushname();
void set_allocated_pushname(std::string* pushname);
private:
const std::string& _internal_pushname() const;
@@ -22447,7 +22830,7 @@ class WebMessageInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_mediaciphertextsha256(ArgT0&& arg0, ArgT... args);
std::string* mutable_mediaciphertextsha256();
- PROTOBUF_MUST_USE_RESULT std::string* release_mediaciphertextsha256();
+ PROTOBUF_NODISCARD std::string* release_mediaciphertextsha256();
void set_allocated_mediaciphertextsha256(std::string* mediaciphertextsha256);
private:
const std::string& _internal_mediaciphertextsha256() const;
@@ -22465,7 +22848,7 @@ class WebMessageInfo final :
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_verifiedbizname(ArgT0&& arg0, ArgT... args);
std::string* mutable_verifiedbizname();
- PROTOBUF_MUST_USE_RESULT std::string* release_verifiedbizname();
+ PROTOBUF_NODISCARD std::string* release_verifiedbizname();
void set_allocated_verifiedbizname(std::string* verifiedbizname);
private:
const std::string& _internal_verifiedbizname() const;
@@ -22480,7 +22863,7 @@ class WebMessageInfo final :
public:
void clear_key();
const ::proto::MessageKey& key() const;
- PROTOBUF_MUST_USE_RESULT ::proto::MessageKey* release_key();
+ PROTOBUF_NODISCARD ::proto::MessageKey* release_key();
::proto::MessageKey* mutable_key();
void set_allocated_key(::proto::MessageKey* key);
private:
@@ -22498,7 +22881,7 @@ class WebMessageInfo final :
public:
void clear_message();
const ::proto::Message& message() const;
- PROTOBUF_MUST_USE_RESULT ::proto::Message* release_message();
+ PROTOBUF_NODISCARD ::proto::Message* release_message();
::proto::Message* mutable_message();
void set_allocated_message(::proto::Message* message);
private:
@@ -22516,7 +22899,7 @@ class WebMessageInfo final :
public:
void clear_paymentinfo();
const ::proto::PaymentInfo& paymentinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::PaymentInfo* release_paymentinfo();
+ PROTOBUF_NODISCARD ::proto::PaymentInfo* release_paymentinfo();
::proto::PaymentInfo* mutable_paymentinfo();
void set_allocated_paymentinfo(::proto::PaymentInfo* paymentinfo);
private:
@@ -22534,7 +22917,7 @@ class WebMessageInfo final :
public:
void clear_finallivelocation();
const ::proto::LiveLocationMessage& finallivelocation() const;
- PROTOBUF_MUST_USE_RESULT ::proto::LiveLocationMessage* release_finallivelocation();
+ PROTOBUF_NODISCARD ::proto::LiveLocationMessage* release_finallivelocation();
::proto::LiveLocationMessage* mutable_finallivelocation();
void set_allocated_finallivelocation(::proto::LiveLocationMessage* finallivelocation);
private:
@@ -22552,7 +22935,7 @@ class WebMessageInfo final :
public:
void clear_quotedpaymentinfo();
const ::proto::PaymentInfo& quotedpaymentinfo() const;
- PROTOBUF_MUST_USE_RESULT ::proto::PaymentInfo* release_quotedpaymentinfo();
+ PROTOBUF_NODISCARD ::proto::PaymentInfo* release_quotedpaymentinfo();
::proto::PaymentInfo* mutable_quotedpaymentinfo();
void set_allocated_quotedpaymentinfo(::proto::PaymentInfo* quotedpaymentinfo);
private:
@@ -22569,11 +22952,11 @@ class WebMessageInfo final :
bool _internal_has_messagetimestamp() const;
public:
void clear_messagetimestamp();
- ::PROTOBUF_NAMESPACE_ID::uint64 messagetimestamp() const;
- void set_messagetimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t messagetimestamp() const;
+ void set_messagetimestamp(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_messagetimestamp() const;
- void _internal_set_messagetimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_messagetimestamp() const;
+ void _internal_set_messagetimestamp(uint64_t value);
public:
// optional .proto.WebMessageInfo.WebMessageInfoStatus status = 4;
@@ -22712,11 +23095,11 @@ class WebMessageInfo final :
bool _internal_has_duration() const;
public:
void clear_duration();
- ::PROTOBUF_NAMESPACE_ID::uint32 duration() const;
- void set_duration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t duration() const;
+ void set_duration(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_duration() const;
- void _internal_set_duration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_duration() const;
+ void _internal_set_duration(uint32_t value);
public:
// optional uint32 ephemeralDuration = 33;
@@ -22725,11 +23108,11 @@ class WebMessageInfo final :
bool _internal_has_ephemeralduration() const;
public:
void clear_ephemeralduration();
- ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralduration() const;
- void set_ephemeralduration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t ephemeralduration() const;
+ void set_ephemeralduration(uint32_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint32 _internal_ephemeralduration() const;
- void _internal_set_ephemeralduration(::PROTOBUF_NAMESPACE_ID::uint32 value);
+ uint32_t _internal_ephemeralduration() const;
+ void _internal_set_ephemeralduration(uint32_t value);
public:
// optional uint64 ephemeralStartTimestamp = 32;
@@ -22738,11 +23121,11 @@ class WebMessageInfo final :
bool _internal_has_ephemeralstarttimestamp() const;
public:
void clear_ephemeralstarttimestamp();
- ::PROTOBUF_NAMESPACE_ID::uint64 ephemeralstarttimestamp() const;
- void set_ephemeralstarttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t ephemeralstarttimestamp() const;
+ void set_ephemeralstarttimestamp(uint64_t value);
private:
- ::PROTOBUF_NAMESPACE_ID::uint64 _internal_ephemeralstarttimestamp() const;
- void _internal_set_ephemeralstarttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
+ uint64_t _internal_ephemeralstarttimestamp() const;
+ void _internal_set_ephemeralstarttimestamp(uint64_t value);
public:
// optional bool ephemeralOutOfSync = 35;
@@ -22778,35 +23161,38 @@ class WebMessageInfo final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> messagestubparameters_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> labels_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pushname_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediaciphertextsha256_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr verifiedbizname_;
- ::proto::MessageKey* key_;
- ::proto::Message* message_;
- ::proto::PaymentInfo* paymentinfo_;
- ::proto::LiveLocationMessage* finallivelocation_;
- ::proto::PaymentInfo* quotedpaymentinfo_;
- ::PROTOBUF_NAMESPACE_ID::uint64 messagetimestamp_;
- int status_;
- bool ignore_;
- bool starred_;
- bool broadcast_;
- bool multicast_;
- int messagestubtype_;
- bool urltext_;
- bool urlnumber_;
- bool clearmedia_;
- bool ephemeralofftoon_;
- ::PROTOBUF_NAMESPACE_ID::uint32 duration_;
- ::PROTOBUF_NAMESPACE_ID::uint32 ephemeralduration_;
- ::PROTOBUF_NAMESPACE_ID::uint64 ephemeralstarttimestamp_;
- bool ephemeraloutofsync_;
- int bizprivacystatus_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> messagestubparameters_;
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> labels_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr participant_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pushname_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mediaciphertextsha256_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr verifiedbizname_;
+ ::proto::MessageKey* key_;
+ ::proto::Message* message_;
+ ::proto::PaymentInfo* paymentinfo_;
+ ::proto::LiveLocationMessage* finallivelocation_;
+ ::proto::PaymentInfo* quotedpaymentinfo_;
+ uint64_t messagetimestamp_;
+ int status_;
+ bool ignore_;
+ bool starred_;
+ bool broadcast_;
+ bool multicast_;
+ int messagestubtype_;
+ bool urltext_;
+ bool urlnumber_;
+ bool clearmedia_;
+ bool ephemeralofftoon_;
+ uint32_t duration_;
+ uint32_t ephemeralduration_;
+ uint64_t ephemeralstarttimestamp_;
+ bool ephemeraloutofsync_;
+ int bizprivacystatus_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_pmsg_2eproto;
};
// ===================================================================
@@ -22822,71 +23208,71 @@ class WebMessageInfo final :
// optional int64 value = 1;
inline bool PaymentMoney::_internal_has_value() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PaymentMoney::has_value() const {
return _internal_has_value();
}
inline void PaymentMoney::clear_value() {
- value_ = int64_t{0};
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.value_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 PaymentMoney::_internal_value() const {
- return value_;
+inline int64_t PaymentMoney::_internal_value() const {
+ return _impl_.value_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 PaymentMoney::value() const {
+inline int64_t PaymentMoney::value() const {
// @@protoc_insertion_point(field_get:proto.PaymentMoney.value)
return _internal_value();
}
-inline void PaymentMoney::_internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000002u;
- value_ = value;
+inline void PaymentMoney::_internal_set_value(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.value_ = value;
}
-inline void PaymentMoney::set_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void PaymentMoney::set_value(int64_t value) {
_internal_set_value(value);
// @@protoc_insertion_point(field_set:proto.PaymentMoney.value)
}
// optional uint32 offset = 2;
inline bool PaymentMoney::_internal_has_offset() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool PaymentMoney::has_offset() const {
return _internal_has_offset();
}
inline void PaymentMoney::clear_offset() {
- offset_ = 0u;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.offset_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 PaymentMoney::_internal_offset() const {
- return offset_;
+inline uint32_t PaymentMoney::_internal_offset() const {
+ return _impl_.offset_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 PaymentMoney::offset() const {
+inline uint32_t PaymentMoney::offset() const {
// @@protoc_insertion_point(field_get:proto.PaymentMoney.offset)
return _internal_offset();
}
-inline void PaymentMoney::_internal_set_offset(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000004u;
- offset_ = value;
+inline void PaymentMoney::_internal_set_offset(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.offset_ = value;
}
-inline void PaymentMoney::set_offset(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void PaymentMoney::set_offset(uint32_t value) {
_internal_set_offset(value);
// @@protoc_insertion_point(field_set:proto.PaymentMoney.offset)
}
// optional string currencyCode = 3;
inline bool PaymentMoney::_internal_has_currencycode() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PaymentMoney::has_currencycode() const {
return _internal_has_currencycode();
}
inline void PaymentMoney::clear_currencycode() {
- currencycode_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.currencycode_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PaymentMoney::currencycode() const {
// @@protoc_insertion_point(field_get:proto.PaymentMoney.currencyCode)
@@ -22895,8 +23281,8 @@ inline const std::string& PaymentMoney::currencycode() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.currencycode_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.PaymentMoney.currencyCode)
}
inline std::string* PaymentMoney::mutable_currencycode() {
@@ -22905,32 +23291,42 @@ inline std::string* PaymentMoney::mutable_currencycode() {
return _s;
}
inline const std::string& PaymentMoney::_internal_currencycode() const {
- return currencycode_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.currencycode_.Set(value, GetArenaForAllocation());
}
inline std::string* PaymentMoney::_internal_mutable_currencycode() {
- _has_bits_[0] |= 0x00000001u;
- return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.currencycode_.Mutable(GetArenaForAllocation());
}
inline std::string* PaymentMoney::release_currencycode() {
// @@protoc_insertion_point(field_release:proto.PaymentMoney.currencyCode)
if (!_internal_has_currencycode()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.currencycode_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currencycode_.IsDefault()) {
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void PaymentMoney::set_allocated_currencycode(std::string* currencycode) {
if (currencycode != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.currencycode_.SetAllocated(currencycode, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currencycode_.IsDefault()) {
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
}
- currencycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currencycode,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.PaymentMoney.currencyCode)
}
@@ -22940,15 +23336,15 @@ inline void PaymentMoney::set_allocated_currencycode(std::string* currencycode)
// optional string displayText = 1;
inline bool HydratedQuickReplyButton::_internal_has_displaytext() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HydratedQuickReplyButton::has_displaytext() const {
return _internal_has_displaytext();
}
inline void HydratedQuickReplyButton::clear_displaytext() {
- displaytext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.displaytext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& HydratedQuickReplyButton::displaytext() const {
// @@protoc_insertion_point(field_get:proto.HydratedQuickReplyButton.displayText)
@@ -22957,8 +23353,8 @@ inline const std::string& HydratedQuickReplyButton::displaytext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displaytext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedQuickReplyButton.displayText)
}
inline std::string* HydratedQuickReplyButton::mutable_displaytext() {
@@ -22967,46 +23363,56 @@ inline std::string* HydratedQuickReplyButton::mutable_displaytext() {
return _s;
}
inline const std::string& HydratedQuickReplyButton::_internal_displaytext() const {
- return displaytext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displaytext_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedQuickReplyButton::_internal_mutable_displaytext() {
- _has_bits_[0] |= 0x00000001u;
- return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.displaytext_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedQuickReplyButton::release_displaytext() {
// @@protoc_insertion_point(field_release:proto.HydratedQuickReplyButton.displayText)
if (!_internal_has_displaytext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.displaytext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displaytext_.IsDefault()) {
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedQuickReplyButton::set_allocated_displaytext(std::string* displaytext) {
if (displaytext != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- displaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displaytext,
- GetArenaForAllocation());
+ _impl_.displaytext_.SetAllocated(displaytext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displaytext_.IsDefault()) {
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedQuickReplyButton.displayText)
}
// optional string id = 2;
inline bool HydratedQuickReplyButton::_internal_has_id() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool HydratedQuickReplyButton::has_id() const {
return _internal_has_id();
}
inline void HydratedQuickReplyButton::clear_id() {
- id_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.id_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& HydratedQuickReplyButton::id() const {
// @@protoc_insertion_point(field_get:proto.HydratedQuickReplyButton.id)
@@ -23015,8 +23421,8 @@ inline const std::string& HydratedQuickReplyButton::id() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedQuickReplyButton.id)
}
inline std::string* HydratedQuickReplyButton::mutable_id() {
@@ -23025,32 +23431,42 @@ inline std::string* HydratedQuickReplyButton::mutable_id() {
return _s;
}
inline const std::string& HydratedQuickReplyButton::_internal_id() const {
- return id_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.id_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedQuickReplyButton::_internal_mutable_id() {
- _has_bits_[0] |= 0x00000002u;
- return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.id_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedQuickReplyButton::release_id() {
// @@protoc_insertion_point(field_release:proto.HydratedQuickReplyButton.id)
if (!_internal_has_id()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.id_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.id_.IsDefault()) {
+ _impl_.id_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedQuickReplyButton::set_allocated_id(std::string* id) {
if (id != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
- GetArenaForAllocation());
+ _impl_.id_.SetAllocated(id, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.id_.IsDefault()) {
+ _impl_.id_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedQuickReplyButton.id)
}
@@ -23060,15 +23476,15 @@ inline void HydratedQuickReplyButton::set_allocated_id(std::string* id) {
// optional string displayText = 1;
inline bool HydratedURLButton::_internal_has_displaytext() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HydratedURLButton::has_displaytext() const {
return _internal_has_displaytext();
}
inline void HydratedURLButton::clear_displaytext() {
- displaytext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.displaytext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& HydratedURLButton::displaytext() const {
// @@protoc_insertion_point(field_get:proto.HydratedURLButton.displayText)
@@ -23077,8 +23493,8 @@ inline const std::string& HydratedURLButton::displaytext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displaytext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedURLButton.displayText)
}
inline std::string* HydratedURLButton::mutable_displaytext() {
@@ -23087,46 +23503,56 @@ inline std::string* HydratedURLButton::mutable_displaytext() {
return _s;
}
inline const std::string& HydratedURLButton::_internal_displaytext() const {
- return displaytext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displaytext_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedURLButton::_internal_mutable_displaytext() {
- _has_bits_[0] |= 0x00000001u;
- return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.displaytext_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedURLButton::release_displaytext() {
// @@protoc_insertion_point(field_release:proto.HydratedURLButton.displayText)
if (!_internal_has_displaytext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.displaytext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displaytext_.IsDefault()) {
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedURLButton::set_allocated_displaytext(std::string* displaytext) {
if (displaytext != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- displaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displaytext,
- GetArenaForAllocation());
+ _impl_.displaytext_.SetAllocated(displaytext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displaytext_.IsDefault()) {
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedURLButton.displayText)
}
// optional string url = 2;
inline bool HydratedURLButton::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool HydratedURLButton::has_url() const {
return _internal_has_url();
}
inline void HydratedURLButton::clear_url() {
- url_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.url_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& HydratedURLButton::url() const {
// @@protoc_insertion_point(field_get:proto.HydratedURLButton.url)
@@ -23135,8 +23561,8 @@ inline const std::string& HydratedURLButton::url() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedURLButton.url)
}
inline std::string* HydratedURLButton::mutable_url() {
@@ -23145,32 +23571,42 @@ inline std::string* HydratedURLButton::mutable_url() {
return _s;
}
inline const std::string& HydratedURLButton::_internal_url() const {
- return url_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.url_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedURLButton::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000002u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.url_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedURLButton::release_url() {
// @@protoc_insertion_point(field_release:proto.HydratedURLButton.url)
if (!_internal_has_url()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.url_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedURLButton::set_allocated_url(std::string* url) {
if (url != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.url_.SetAllocated(url, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
}
- url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedURLButton.url)
}
@@ -23180,15 +23616,15 @@ inline void HydratedURLButton::set_allocated_url(std::string* url) {
// optional string displayText = 1;
inline bool HydratedCallButton::_internal_has_displaytext() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HydratedCallButton::has_displaytext() const {
return _internal_has_displaytext();
}
inline void HydratedCallButton::clear_displaytext() {
- displaytext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.displaytext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& HydratedCallButton::displaytext() const {
// @@protoc_insertion_point(field_get:proto.HydratedCallButton.displayText)
@@ -23197,8 +23633,8 @@ inline const std::string& HydratedCallButton::displaytext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displaytext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedCallButton.displayText)
}
inline std::string* HydratedCallButton::mutable_displaytext() {
@@ -23207,46 +23643,56 @@ inline std::string* HydratedCallButton::mutable_displaytext() {
return _s;
}
inline const std::string& HydratedCallButton::_internal_displaytext() const {
- return displaytext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displaytext_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedCallButton::_internal_mutable_displaytext() {
- _has_bits_[0] |= 0x00000001u;
- return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.displaytext_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedCallButton::release_displaytext() {
// @@protoc_insertion_point(field_release:proto.HydratedCallButton.displayText)
if (!_internal_has_displaytext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.displaytext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displaytext_.IsDefault()) {
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedCallButton::set_allocated_displaytext(std::string* displaytext) {
if (displaytext != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.displaytext_.SetAllocated(displaytext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displaytext_.IsDefault()) {
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
}
- displaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displaytext,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedCallButton.displayText)
}
// optional string phoneNumber = 2;
inline bool HydratedCallButton::_internal_has_phonenumber() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool HydratedCallButton::has_phonenumber() const {
return _internal_has_phonenumber();
}
inline void HydratedCallButton::clear_phonenumber() {
- phonenumber_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.phonenumber_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& HydratedCallButton::phonenumber() const {
// @@protoc_insertion_point(field_get:proto.HydratedCallButton.phoneNumber)
@@ -23255,8 +23701,8 @@ inline const std::string& HydratedCallButton::phonenumber() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.phonenumber_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedCallButton.phoneNumber)
}
inline std::string* HydratedCallButton::mutable_phonenumber() {
@@ -23265,32 +23711,42 @@ inline std::string* HydratedCallButton::mutable_phonenumber() {
return _s;
}
inline const std::string& HydratedCallButton::_internal_phonenumber() const {
- return phonenumber_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.phonenumber_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedCallButton::_internal_mutable_phonenumber() {
- _has_bits_[0] |= 0x00000002u;
- return phonenumber_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.phonenumber_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedCallButton::release_phonenumber() {
// @@protoc_insertion_point(field_release:proto.HydratedCallButton.phoneNumber)
if (!_internal_has_phonenumber()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return phonenumber_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.phonenumber_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.phonenumber_.IsDefault()) {
+ _impl_.phonenumber_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedCallButton::set_allocated_phonenumber(std::string* phonenumber) {
if (phonenumber != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.phonenumber_.SetAllocated(phonenumber, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.phonenumber_.IsDefault()) {
+ _impl_.phonenumber_.Set("", GetArenaForAllocation());
}
- phonenumber_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), phonenumber,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedCallButton.phoneNumber)
}
@@ -23300,28 +23756,28 @@ inline void HydratedCallButton::set_allocated_phonenumber(std::string* phonenumb
// optional uint32 index = 4;
inline bool HydratedTemplateButton::_internal_has_index() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HydratedTemplateButton::has_index() const {
return _internal_has_index();
}
inline void HydratedTemplateButton::clear_index() {
- index_ = 0u;
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.index_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HydratedTemplateButton::_internal_index() const {
- return index_;
+inline uint32_t HydratedTemplateButton::_internal_index() const {
+ return _impl_.index_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HydratedTemplateButton::index() const {
+inline uint32_t HydratedTemplateButton::index() const {
// @@protoc_insertion_point(field_get:proto.HydratedTemplateButton.index)
return _internal_index();
}
-inline void HydratedTemplateButton::_internal_set_index(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000001u;
- index_ = value;
+inline void HydratedTemplateButton::_internal_set_index(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.index_ = value;
}
-inline void HydratedTemplateButton::set_index(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void HydratedTemplateButton::set_index(uint32_t value) {
_internal_set_index(value);
// @@protoc_insertion_point(field_set:proto.HydratedTemplateButton.index)
}
@@ -23334,12 +23790,12 @@ inline bool HydratedTemplateButton::has_quickreplybutton() const {
return _internal_has_quickreplybutton();
}
inline void HydratedTemplateButton::set_has_quickreplybutton() {
- _oneof_case_[0] = kQuickReplyButton;
+ _impl_._oneof_case_[0] = kQuickReplyButton;
}
inline void HydratedTemplateButton::clear_quickreplybutton() {
if (_internal_has_quickreplybutton()) {
if (GetArenaForAllocation() == nullptr) {
- delete hydratedButton_.quickreplybutton_;
+ delete _impl_.hydratedButton_.quickreplybutton_;
}
clear_has_hydratedButton();
}
@@ -23348,11 +23804,11 @@ inline ::proto::HydratedQuickReplyButton* HydratedTemplateButton::release_quickr
// @@protoc_insertion_point(field_release:proto.HydratedTemplateButton.quickReplyButton)
if (_internal_has_quickreplybutton()) {
clear_has_hydratedButton();
- ::proto::HydratedQuickReplyButton* temp = hydratedButton_.quickreplybutton_;
+ ::proto::HydratedQuickReplyButton* temp = _impl_.hydratedButton_.quickreplybutton_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- hydratedButton_.quickreplybutton_ = nullptr;
+ _impl_.hydratedButton_.quickreplybutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -23360,7 +23816,7 @@ inline ::proto::HydratedQuickReplyButton* HydratedTemplateButton::release_quickr
}
inline const ::proto::HydratedQuickReplyButton& HydratedTemplateButton::_internal_quickreplybutton() const {
return _internal_has_quickreplybutton()
- ? *hydratedButton_.quickreplybutton_
+ ? *_impl_.hydratedButton_.quickreplybutton_
: reinterpret_cast< ::proto::HydratedQuickReplyButton&>(::proto::_HydratedQuickReplyButton_default_instance_);
}
inline const ::proto::HydratedQuickReplyButton& HydratedTemplateButton::quickreplybutton() const {
@@ -23371,8 +23827,8 @@ inline ::proto::HydratedQuickReplyButton* HydratedTemplateButton::unsafe_arena_r
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HydratedTemplateButton.quickReplyButton)
if (_internal_has_quickreplybutton()) {
clear_has_hydratedButton();
- ::proto::HydratedQuickReplyButton* temp = hydratedButton_.quickreplybutton_;
- hydratedButton_.quickreplybutton_ = nullptr;
+ ::proto::HydratedQuickReplyButton* temp = _impl_.hydratedButton_.quickreplybutton_;
+ _impl_.hydratedButton_.quickreplybutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -23382,7 +23838,7 @@ inline void HydratedTemplateButton::unsafe_arena_set_allocated_quickreplybutton(
clear_hydratedButton();
if (quickreplybutton) {
set_has_quickreplybutton();
- hydratedButton_.quickreplybutton_ = quickreplybutton;
+ _impl_.hydratedButton_.quickreplybutton_ = quickreplybutton;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HydratedTemplateButton.quickReplyButton)
}
@@ -23390,9 +23846,9 @@ inline ::proto::HydratedQuickReplyButton* HydratedTemplateButton::_internal_muta
if (!_internal_has_quickreplybutton()) {
clear_hydratedButton();
set_has_quickreplybutton();
- hydratedButton_.quickreplybutton_ = CreateMaybeMessage< ::proto::HydratedQuickReplyButton >(GetArenaForAllocation());
+ _impl_.hydratedButton_.quickreplybutton_ = CreateMaybeMessage< ::proto::HydratedQuickReplyButton >(GetArenaForAllocation());
}
- return hydratedButton_.quickreplybutton_;
+ return _impl_.hydratedButton_.quickreplybutton_;
}
inline ::proto::HydratedQuickReplyButton* HydratedTemplateButton::mutable_quickreplybutton() {
::proto::HydratedQuickReplyButton* _msg = _internal_mutable_quickreplybutton();
@@ -23408,12 +23864,12 @@ inline bool HydratedTemplateButton::has_urlbutton() const {
return _internal_has_urlbutton();
}
inline void HydratedTemplateButton::set_has_urlbutton() {
- _oneof_case_[0] = kUrlButton;
+ _impl_._oneof_case_[0] = kUrlButton;
}
inline void HydratedTemplateButton::clear_urlbutton() {
if (_internal_has_urlbutton()) {
if (GetArenaForAllocation() == nullptr) {
- delete hydratedButton_.urlbutton_;
+ delete _impl_.hydratedButton_.urlbutton_;
}
clear_has_hydratedButton();
}
@@ -23422,11 +23878,11 @@ inline ::proto::HydratedURLButton* HydratedTemplateButton::release_urlbutton() {
// @@protoc_insertion_point(field_release:proto.HydratedTemplateButton.urlButton)
if (_internal_has_urlbutton()) {
clear_has_hydratedButton();
- ::proto::HydratedURLButton* temp = hydratedButton_.urlbutton_;
+ ::proto::HydratedURLButton* temp = _impl_.hydratedButton_.urlbutton_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- hydratedButton_.urlbutton_ = nullptr;
+ _impl_.hydratedButton_.urlbutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -23434,7 +23890,7 @@ inline ::proto::HydratedURLButton* HydratedTemplateButton::release_urlbutton() {
}
inline const ::proto::HydratedURLButton& HydratedTemplateButton::_internal_urlbutton() const {
return _internal_has_urlbutton()
- ? *hydratedButton_.urlbutton_
+ ? *_impl_.hydratedButton_.urlbutton_
: reinterpret_cast< ::proto::HydratedURLButton&>(::proto::_HydratedURLButton_default_instance_);
}
inline const ::proto::HydratedURLButton& HydratedTemplateButton::urlbutton() const {
@@ -23445,8 +23901,8 @@ inline ::proto::HydratedURLButton* HydratedTemplateButton::unsafe_arena_release_
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HydratedTemplateButton.urlButton)
if (_internal_has_urlbutton()) {
clear_has_hydratedButton();
- ::proto::HydratedURLButton* temp = hydratedButton_.urlbutton_;
- hydratedButton_.urlbutton_ = nullptr;
+ ::proto::HydratedURLButton* temp = _impl_.hydratedButton_.urlbutton_;
+ _impl_.hydratedButton_.urlbutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -23456,7 +23912,7 @@ inline void HydratedTemplateButton::unsafe_arena_set_allocated_urlbutton(::proto
clear_hydratedButton();
if (urlbutton) {
set_has_urlbutton();
- hydratedButton_.urlbutton_ = urlbutton;
+ _impl_.hydratedButton_.urlbutton_ = urlbutton;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HydratedTemplateButton.urlButton)
}
@@ -23464,9 +23920,9 @@ inline ::proto::HydratedURLButton* HydratedTemplateButton::_internal_mutable_url
if (!_internal_has_urlbutton()) {
clear_hydratedButton();
set_has_urlbutton();
- hydratedButton_.urlbutton_ = CreateMaybeMessage< ::proto::HydratedURLButton >(GetArenaForAllocation());
+ _impl_.hydratedButton_.urlbutton_ = CreateMaybeMessage< ::proto::HydratedURLButton >(GetArenaForAllocation());
}
- return hydratedButton_.urlbutton_;
+ return _impl_.hydratedButton_.urlbutton_;
}
inline ::proto::HydratedURLButton* HydratedTemplateButton::mutable_urlbutton() {
::proto::HydratedURLButton* _msg = _internal_mutable_urlbutton();
@@ -23482,12 +23938,12 @@ inline bool HydratedTemplateButton::has_callbutton() const {
return _internal_has_callbutton();
}
inline void HydratedTemplateButton::set_has_callbutton() {
- _oneof_case_[0] = kCallButton;
+ _impl_._oneof_case_[0] = kCallButton;
}
inline void HydratedTemplateButton::clear_callbutton() {
if (_internal_has_callbutton()) {
if (GetArenaForAllocation() == nullptr) {
- delete hydratedButton_.callbutton_;
+ delete _impl_.hydratedButton_.callbutton_;
}
clear_has_hydratedButton();
}
@@ -23496,11 +23952,11 @@ inline ::proto::HydratedCallButton* HydratedTemplateButton::release_callbutton()
// @@protoc_insertion_point(field_release:proto.HydratedTemplateButton.callButton)
if (_internal_has_callbutton()) {
clear_has_hydratedButton();
- ::proto::HydratedCallButton* temp = hydratedButton_.callbutton_;
+ ::proto::HydratedCallButton* temp = _impl_.hydratedButton_.callbutton_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- hydratedButton_.callbutton_ = nullptr;
+ _impl_.hydratedButton_.callbutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -23508,7 +23964,7 @@ inline ::proto::HydratedCallButton* HydratedTemplateButton::release_callbutton()
}
inline const ::proto::HydratedCallButton& HydratedTemplateButton::_internal_callbutton() const {
return _internal_has_callbutton()
- ? *hydratedButton_.callbutton_
+ ? *_impl_.hydratedButton_.callbutton_
: reinterpret_cast< ::proto::HydratedCallButton&>(::proto::_HydratedCallButton_default_instance_);
}
inline const ::proto::HydratedCallButton& HydratedTemplateButton::callbutton() const {
@@ -23519,8 +23975,8 @@ inline ::proto::HydratedCallButton* HydratedTemplateButton::unsafe_arena_release
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HydratedTemplateButton.callButton)
if (_internal_has_callbutton()) {
clear_has_hydratedButton();
- ::proto::HydratedCallButton* temp = hydratedButton_.callbutton_;
- hydratedButton_.callbutton_ = nullptr;
+ ::proto::HydratedCallButton* temp = _impl_.hydratedButton_.callbutton_;
+ _impl_.hydratedButton_.callbutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -23530,7 +23986,7 @@ inline void HydratedTemplateButton::unsafe_arena_set_allocated_callbutton(::prot
clear_hydratedButton();
if (callbutton) {
set_has_callbutton();
- hydratedButton_.callbutton_ = callbutton;
+ _impl_.hydratedButton_.callbutton_ = callbutton;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HydratedTemplateButton.callButton)
}
@@ -23538,9 +23994,9 @@ inline ::proto::HydratedCallButton* HydratedTemplateButton::_internal_mutable_ca
if (!_internal_has_callbutton()) {
clear_hydratedButton();
set_has_callbutton();
- hydratedButton_.callbutton_ = CreateMaybeMessage< ::proto::HydratedCallButton >(GetArenaForAllocation());
+ _impl_.hydratedButton_.callbutton_ = CreateMaybeMessage< ::proto::HydratedCallButton >(GetArenaForAllocation());
}
- return hydratedButton_.callbutton_;
+ return _impl_.hydratedButton_.callbutton_;
}
inline ::proto::HydratedCallButton* HydratedTemplateButton::mutable_callbutton() {
::proto::HydratedCallButton* _msg = _internal_mutable_callbutton();
@@ -23552,10 +24008,10 @@ inline bool HydratedTemplateButton::has_hydratedButton() const {
return hydratedButton_case() != HYDRATEDBUTTON_NOT_SET;
}
inline void HydratedTemplateButton::clear_has_hydratedButton() {
- _oneof_case_[0] = HYDRATEDBUTTON_NOT_SET;
+ _impl_._oneof_case_[0] = HYDRATEDBUTTON_NOT_SET;
}
inline HydratedTemplateButton::HydratedButtonCase HydratedTemplateButton::hydratedButton_case() const {
- return HydratedTemplateButton::HydratedButtonCase(_oneof_case_[0]);
+ return HydratedTemplateButton::HydratedButtonCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -23563,19 +24019,19 @@ inline HydratedTemplateButton::HydratedButtonCase HydratedTemplateButton::hydrat
// optional .proto.HighlyStructuredMessage displayText = 1;
inline bool QuickReplyButton::_internal_has_displaytext() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || displaytext_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.displaytext_ != nullptr);
return value;
}
inline bool QuickReplyButton::has_displaytext() const {
return _internal_has_displaytext();
}
inline void QuickReplyButton::clear_displaytext() {
- if (displaytext_ != nullptr) displaytext_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.displaytext_ != nullptr) _impl_.displaytext_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::HighlyStructuredMessage& QuickReplyButton::_internal_displaytext() const {
- const ::proto::HighlyStructuredMessage* p = displaytext_;
+ const ::proto::HighlyStructuredMessage* p = _impl_.displaytext_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HighlyStructuredMessage&>(
::proto::_HighlyStructuredMessage_default_instance_);
}
@@ -23586,20 +24042,20 @@ inline const ::proto::HighlyStructuredMessage& QuickReplyButton::displaytext() c
inline void QuickReplyButton::unsafe_arena_set_allocated_displaytext(
::proto::HighlyStructuredMessage* displaytext) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(displaytext_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.displaytext_);
}
- displaytext_ = displaytext;
+ _impl_.displaytext_ = displaytext;
if (displaytext) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.QuickReplyButton.displayText)
}
inline ::proto::HighlyStructuredMessage* QuickReplyButton::release_displaytext() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HighlyStructuredMessage* temp = displaytext_;
- displaytext_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.displaytext_;
+ _impl_.displaytext_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -23613,18 +24069,18 @@ inline ::proto::HighlyStructuredMessage* QuickReplyButton::release_displaytext()
}
inline ::proto::HighlyStructuredMessage* QuickReplyButton::unsafe_arena_release_displaytext() {
// @@protoc_insertion_point(field_release:proto.QuickReplyButton.displayText)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HighlyStructuredMessage* temp = displaytext_;
- displaytext_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.displaytext_;
+ _impl_.displaytext_ = nullptr;
return temp;
}
inline ::proto::HighlyStructuredMessage* QuickReplyButton::_internal_mutable_displaytext() {
- _has_bits_[0] |= 0x00000002u;
- if (displaytext_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.displaytext_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
- displaytext_ = p;
+ _impl_.displaytext_ = p;
}
- return displaytext_;
+ return _impl_.displaytext_;
}
inline ::proto::HighlyStructuredMessage* QuickReplyButton::mutable_displaytext() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_displaytext();
@@ -23634,34 +24090,34 @@ inline ::proto::HighlyStructuredMessage* QuickReplyButton::mutable_displaytext()
inline void QuickReplyButton::set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete displaytext_;
+ delete _impl_.displaytext_;
}
if (displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(displaytext);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(displaytext);
if (message_arena != submessage_arena) {
displaytext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, displaytext, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- displaytext_ = displaytext;
+ _impl_.displaytext_ = displaytext;
// @@protoc_insertion_point(field_set_allocated:proto.QuickReplyButton.displayText)
}
// optional string id = 2;
inline bool QuickReplyButton::_internal_has_id() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool QuickReplyButton::has_id() const {
return _internal_has_id();
}
inline void QuickReplyButton::clear_id() {
- id_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.id_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& QuickReplyButton::id() const {
// @@protoc_insertion_point(field_get:proto.QuickReplyButton.id)
@@ -23670,8 +24126,8 @@ inline const std::string& QuickReplyButton::id() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.QuickReplyButton.id)
}
inline std::string* QuickReplyButton::mutable_id() {
@@ -23680,32 +24136,42 @@ inline std::string* QuickReplyButton::mutable_id() {
return _s;
}
inline const std::string& QuickReplyButton::_internal_id() const {
- return id_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.id_.Set(value, GetArenaForAllocation());
}
inline std::string* QuickReplyButton::_internal_mutable_id() {
- _has_bits_[0] |= 0x00000001u;
- return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.id_.Mutable(GetArenaForAllocation());
}
inline std::string* QuickReplyButton::release_id() {
// @@protoc_insertion_point(field_release:proto.QuickReplyButton.id)
if (!_internal_has_id()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.id_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.id_.IsDefault()) {
+ _impl_.id_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void QuickReplyButton::set_allocated_id(std::string* id) {
if (id != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.id_.SetAllocated(id, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.id_.IsDefault()) {
+ _impl_.id_.Set("", GetArenaForAllocation());
}
- id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.QuickReplyButton.id)
}
@@ -23715,19 +24181,19 @@ inline void QuickReplyButton::set_allocated_id(std::string* id) {
// optional .proto.HighlyStructuredMessage displayText = 1;
inline bool URLButton::_internal_has_displaytext() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || displaytext_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.displaytext_ != nullptr);
return value;
}
inline bool URLButton::has_displaytext() const {
return _internal_has_displaytext();
}
inline void URLButton::clear_displaytext() {
- if (displaytext_ != nullptr) displaytext_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.displaytext_ != nullptr) _impl_.displaytext_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::HighlyStructuredMessage& URLButton::_internal_displaytext() const {
- const ::proto::HighlyStructuredMessage* p = displaytext_;
+ const ::proto::HighlyStructuredMessage* p = _impl_.displaytext_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HighlyStructuredMessage&>(
::proto::_HighlyStructuredMessage_default_instance_);
}
@@ -23738,20 +24204,20 @@ inline const ::proto::HighlyStructuredMessage& URLButton::displaytext() const {
inline void URLButton::unsafe_arena_set_allocated_displaytext(
::proto::HighlyStructuredMessage* displaytext) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(displaytext_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.displaytext_);
}
- displaytext_ = displaytext;
+ _impl_.displaytext_ = displaytext;
if (displaytext) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.URLButton.displayText)
}
inline ::proto::HighlyStructuredMessage* URLButton::release_displaytext() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::HighlyStructuredMessage* temp = displaytext_;
- displaytext_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.displaytext_;
+ _impl_.displaytext_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -23765,18 +24231,18 @@ inline ::proto::HighlyStructuredMessage* URLButton::release_displaytext() {
}
inline ::proto::HighlyStructuredMessage* URLButton::unsafe_arena_release_displaytext() {
// @@protoc_insertion_point(field_release:proto.URLButton.displayText)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::HighlyStructuredMessage* temp = displaytext_;
- displaytext_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.displaytext_;
+ _impl_.displaytext_ = nullptr;
return temp;
}
inline ::proto::HighlyStructuredMessage* URLButton::_internal_mutable_displaytext() {
- _has_bits_[0] |= 0x00000001u;
- if (displaytext_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.displaytext_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
- displaytext_ = p;
+ _impl_.displaytext_ = p;
}
- return displaytext_;
+ return _impl_.displaytext_;
}
inline ::proto::HighlyStructuredMessage* URLButton::mutable_displaytext() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_displaytext();
@@ -23786,38 +24252,38 @@ inline ::proto::HighlyStructuredMessage* URLButton::mutable_displaytext() {
inline void URLButton::set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete displaytext_;
+ delete _impl_.displaytext_;
}
if (displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(displaytext);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(displaytext);
if (message_arena != submessage_arena) {
displaytext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, displaytext, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- displaytext_ = displaytext;
+ _impl_.displaytext_ = displaytext;
// @@protoc_insertion_point(field_set_allocated:proto.URLButton.displayText)
}
// optional .proto.HighlyStructuredMessage url = 2;
inline bool URLButton::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || url_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.url_ != nullptr);
return value;
}
inline bool URLButton::has_url() const {
return _internal_has_url();
}
inline void URLButton::clear_url() {
- if (url_ != nullptr) url_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.url_ != nullptr) _impl_.url_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::HighlyStructuredMessage& URLButton::_internal_url() const {
- const ::proto::HighlyStructuredMessage* p = url_;
+ const ::proto::HighlyStructuredMessage* p = _impl_.url_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HighlyStructuredMessage&>(
::proto::_HighlyStructuredMessage_default_instance_);
}
@@ -23828,20 +24294,20 @@ inline const ::proto::HighlyStructuredMessage& URLButton::url() const {
inline void URLButton::unsafe_arena_set_allocated_url(
::proto::HighlyStructuredMessage* url) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(url_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.url_);
}
- url_ = url;
+ _impl_.url_ = url;
if (url) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.URLButton.url)
}
inline ::proto::HighlyStructuredMessage* URLButton::release_url() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HighlyStructuredMessage* temp = url_;
- url_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.url_;
+ _impl_.url_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -23855,18 +24321,18 @@ inline ::proto::HighlyStructuredMessage* URLButton::release_url() {
}
inline ::proto::HighlyStructuredMessage* URLButton::unsafe_arena_release_url() {
// @@protoc_insertion_point(field_release:proto.URLButton.url)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HighlyStructuredMessage* temp = url_;
- url_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.url_;
+ _impl_.url_ = nullptr;
return temp;
}
inline ::proto::HighlyStructuredMessage* URLButton::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000002u;
- if (url_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.url_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
- url_ = p;
+ _impl_.url_ = p;
}
- return url_;
+ return _impl_.url_;
}
inline ::proto::HighlyStructuredMessage* URLButton::mutable_url() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_url();
@@ -23876,20 +24342,20 @@ inline ::proto::HighlyStructuredMessage* URLButton::mutable_url() {
inline void URLButton::set_allocated_url(::proto::HighlyStructuredMessage* url) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete url_;
+ delete _impl_.url_;
}
if (url) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(url);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(url);
if (message_arena != submessage_arena) {
url = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, url, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- url_ = url;
+ _impl_.url_ = url;
// @@protoc_insertion_point(field_set_allocated:proto.URLButton.url)
}
@@ -23899,19 +24365,19 @@ inline void URLButton::set_allocated_url(::proto::HighlyStructuredMessage* url)
// optional .proto.HighlyStructuredMessage displayText = 1;
inline bool CallButton::_internal_has_displaytext() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || displaytext_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.displaytext_ != nullptr);
return value;
}
inline bool CallButton::has_displaytext() const {
return _internal_has_displaytext();
}
inline void CallButton::clear_displaytext() {
- if (displaytext_ != nullptr) displaytext_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.displaytext_ != nullptr) _impl_.displaytext_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::HighlyStructuredMessage& CallButton::_internal_displaytext() const {
- const ::proto::HighlyStructuredMessage* p = displaytext_;
+ const ::proto::HighlyStructuredMessage* p = _impl_.displaytext_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HighlyStructuredMessage&>(
::proto::_HighlyStructuredMessage_default_instance_);
}
@@ -23922,20 +24388,20 @@ inline const ::proto::HighlyStructuredMessage& CallButton::displaytext() const {
inline void CallButton::unsafe_arena_set_allocated_displaytext(
::proto::HighlyStructuredMessage* displaytext) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(displaytext_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.displaytext_);
}
- displaytext_ = displaytext;
+ _impl_.displaytext_ = displaytext;
if (displaytext) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.CallButton.displayText)
}
inline ::proto::HighlyStructuredMessage* CallButton::release_displaytext() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::HighlyStructuredMessage* temp = displaytext_;
- displaytext_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.displaytext_;
+ _impl_.displaytext_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -23949,18 +24415,18 @@ inline ::proto::HighlyStructuredMessage* CallButton::release_displaytext() {
}
inline ::proto::HighlyStructuredMessage* CallButton::unsafe_arena_release_displaytext() {
// @@protoc_insertion_point(field_release:proto.CallButton.displayText)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::HighlyStructuredMessage* temp = displaytext_;
- displaytext_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.displaytext_;
+ _impl_.displaytext_ = nullptr;
return temp;
}
inline ::proto::HighlyStructuredMessage* CallButton::_internal_mutable_displaytext() {
- _has_bits_[0] |= 0x00000001u;
- if (displaytext_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.displaytext_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
- displaytext_ = p;
+ _impl_.displaytext_ = p;
}
- return displaytext_;
+ return _impl_.displaytext_;
}
inline ::proto::HighlyStructuredMessage* CallButton::mutable_displaytext() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_displaytext();
@@ -23970,38 +24436,38 @@ inline ::proto::HighlyStructuredMessage* CallButton::mutable_displaytext() {
inline void CallButton::set_allocated_displaytext(::proto::HighlyStructuredMessage* displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete displaytext_;
+ delete _impl_.displaytext_;
}
if (displaytext) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(displaytext);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(displaytext);
if (message_arena != submessage_arena) {
displaytext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, displaytext, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- displaytext_ = displaytext;
+ _impl_.displaytext_ = displaytext;
// @@protoc_insertion_point(field_set_allocated:proto.CallButton.displayText)
}
// optional .proto.HighlyStructuredMessage phoneNumber = 2;
inline bool CallButton::_internal_has_phonenumber() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || phonenumber_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.phonenumber_ != nullptr);
return value;
}
inline bool CallButton::has_phonenumber() const {
return _internal_has_phonenumber();
}
inline void CallButton::clear_phonenumber() {
- if (phonenumber_ != nullptr) phonenumber_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.phonenumber_ != nullptr) _impl_.phonenumber_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::HighlyStructuredMessage& CallButton::_internal_phonenumber() const {
- const ::proto::HighlyStructuredMessage* p = phonenumber_;
+ const ::proto::HighlyStructuredMessage* p = _impl_.phonenumber_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HighlyStructuredMessage&>(
::proto::_HighlyStructuredMessage_default_instance_);
}
@@ -24012,20 +24478,20 @@ inline const ::proto::HighlyStructuredMessage& CallButton::phonenumber() const {
inline void CallButton::unsafe_arena_set_allocated_phonenumber(
::proto::HighlyStructuredMessage* phonenumber) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(phonenumber_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.phonenumber_);
}
- phonenumber_ = phonenumber;
+ _impl_.phonenumber_ = phonenumber;
if (phonenumber) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.CallButton.phoneNumber)
}
inline ::proto::HighlyStructuredMessage* CallButton::release_phonenumber() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HighlyStructuredMessage* temp = phonenumber_;
- phonenumber_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.phonenumber_;
+ _impl_.phonenumber_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -24039,18 +24505,18 @@ inline ::proto::HighlyStructuredMessage* CallButton::release_phonenumber() {
}
inline ::proto::HighlyStructuredMessage* CallButton::unsafe_arena_release_phonenumber() {
// @@protoc_insertion_point(field_release:proto.CallButton.phoneNumber)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HighlyStructuredMessage* temp = phonenumber_;
- phonenumber_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.phonenumber_;
+ _impl_.phonenumber_ = nullptr;
return temp;
}
inline ::proto::HighlyStructuredMessage* CallButton::_internal_mutable_phonenumber() {
- _has_bits_[0] |= 0x00000002u;
- if (phonenumber_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.phonenumber_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
- phonenumber_ = p;
+ _impl_.phonenumber_ = p;
}
- return phonenumber_;
+ return _impl_.phonenumber_;
}
inline ::proto::HighlyStructuredMessage* CallButton::mutable_phonenumber() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_phonenumber();
@@ -24060,20 +24526,20 @@ inline ::proto::HighlyStructuredMessage* CallButton::mutable_phonenumber() {
inline void CallButton::set_allocated_phonenumber(::proto::HighlyStructuredMessage* phonenumber) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete phonenumber_;
+ delete _impl_.phonenumber_;
}
if (phonenumber) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(phonenumber);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(phonenumber);
if (message_arena != submessage_arena) {
phonenumber = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, phonenumber, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- phonenumber_ = phonenumber;
+ _impl_.phonenumber_ = phonenumber;
// @@protoc_insertion_point(field_set_allocated:proto.CallButton.phoneNumber)
}
@@ -24083,28 +24549,28 @@ inline void CallButton::set_allocated_phonenumber(::proto::HighlyStructuredMessa
// optional uint32 index = 4;
inline bool TemplateButton::_internal_has_index() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool TemplateButton::has_index() const {
return _internal_has_index();
}
inline void TemplateButton::clear_index() {
- index_ = 0u;
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.index_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 TemplateButton::_internal_index() const {
- return index_;
+inline uint32_t TemplateButton::_internal_index() const {
+ return _impl_.index_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 TemplateButton::index() const {
+inline uint32_t TemplateButton::index() const {
// @@protoc_insertion_point(field_get:proto.TemplateButton.index)
return _internal_index();
}
-inline void TemplateButton::_internal_set_index(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000001u;
- index_ = value;
+inline void TemplateButton::_internal_set_index(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.index_ = value;
}
-inline void TemplateButton::set_index(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void TemplateButton::set_index(uint32_t value) {
_internal_set_index(value);
// @@protoc_insertion_point(field_set:proto.TemplateButton.index)
}
@@ -24117,12 +24583,12 @@ inline bool TemplateButton::has_quickreplybutton() const {
return _internal_has_quickreplybutton();
}
inline void TemplateButton::set_has_quickreplybutton() {
- _oneof_case_[0] = kQuickReplyButton;
+ _impl_._oneof_case_[0] = kQuickReplyButton;
}
inline void TemplateButton::clear_quickreplybutton() {
if (_internal_has_quickreplybutton()) {
if (GetArenaForAllocation() == nullptr) {
- delete button_.quickreplybutton_;
+ delete _impl_.button_.quickreplybutton_;
}
clear_has_button();
}
@@ -24131,11 +24597,11 @@ inline ::proto::QuickReplyButton* TemplateButton::release_quickreplybutton() {
// @@protoc_insertion_point(field_release:proto.TemplateButton.quickReplyButton)
if (_internal_has_quickreplybutton()) {
clear_has_button();
- ::proto::QuickReplyButton* temp = button_.quickreplybutton_;
+ ::proto::QuickReplyButton* temp = _impl_.button_.quickreplybutton_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- button_.quickreplybutton_ = nullptr;
+ _impl_.button_.quickreplybutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -24143,7 +24609,7 @@ inline ::proto::QuickReplyButton* TemplateButton::release_quickreplybutton() {
}
inline const ::proto::QuickReplyButton& TemplateButton::_internal_quickreplybutton() const {
return _internal_has_quickreplybutton()
- ? *button_.quickreplybutton_
+ ? *_impl_.button_.quickreplybutton_
: reinterpret_cast< ::proto::QuickReplyButton&>(::proto::_QuickReplyButton_default_instance_);
}
inline const ::proto::QuickReplyButton& TemplateButton::quickreplybutton() const {
@@ -24154,8 +24620,8 @@ inline ::proto::QuickReplyButton* TemplateButton::unsafe_arena_release_quickrepl
// @@protoc_insertion_point(field_unsafe_arena_release:proto.TemplateButton.quickReplyButton)
if (_internal_has_quickreplybutton()) {
clear_has_button();
- ::proto::QuickReplyButton* temp = button_.quickreplybutton_;
- button_.quickreplybutton_ = nullptr;
+ ::proto::QuickReplyButton* temp = _impl_.button_.quickreplybutton_;
+ _impl_.button_.quickreplybutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -24165,7 +24631,7 @@ inline void TemplateButton::unsafe_arena_set_allocated_quickreplybutton(::proto:
clear_button();
if (quickreplybutton) {
set_has_quickreplybutton();
- button_.quickreplybutton_ = quickreplybutton;
+ _impl_.button_.quickreplybutton_ = quickreplybutton;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.TemplateButton.quickReplyButton)
}
@@ -24173,9 +24639,9 @@ inline ::proto::QuickReplyButton* TemplateButton::_internal_mutable_quickreplybu
if (!_internal_has_quickreplybutton()) {
clear_button();
set_has_quickreplybutton();
- button_.quickreplybutton_ = CreateMaybeMessage< ::proto::QuickReplyButton >(GetArenaForAllocation());
+ _impl_.button_.quickreplybutton_ = CreateMaybeMessage< ::proto::QuickReplyButton >(GetArenaForAllocation());
}
- return button_.quickreplybutton_;
+ return _impl_.button_.quickreplybutton_;
}
inline ::proto::QuickReplyButton* TemplateButton::mutable_quickreplybutton() {
::proto::QuickReplyButton* _msg = _internal_mutable_quickreplybutton();
@@ -24191,12 +24657,12 @@ inline bool TemplateButton::has_urlbutton() const {
return _internal_has_urlbutton();
}
inline void TemplateButton::set_has_urlbutton() {
- _oneof_case_[0] = kUrlButton;
+ _impl_._oneof_case_[0] = kUrlButton;
}
inline void TemplateButton::clear_urlbutton() {
if (_internal_has_urlbutton()) {
if (GetArenaForAllocation() == nullptr) {
- delete button_.urlbutton_;
+ delete _impl_.button_.urlbutton_;
}
clear_has_button();
}
@@ -24205,11 +24671,11 @@ inline ::proto::URLButton* TemplateButton::release_urlbutton() {
// @@protoc_insertion_point(field_release:proto.TemplateButton.urlButton)
if (_internal_has_urlbutton()) {
clear_has_button();
- ::proto::URLButton* temp = button_.urlbutton_;
+ ::proto::URLButton* temp = _impl_.button_.urlbutton_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- button_.urlbutton_ = nullptr;
+ _impl_.button_.urlbutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -24217,7 +24683,7 @@ inline ::proto::URLButton* TemplateButton::release_urlbutton() {
}
inline const ::proto::URLButton& TemplateButton::_internal_urlbutton() const {
return _internal_has_urlbutton()
- ? *button_.urlbutton_
+ ? *_impl_.button_.urlbutton_
: reinterpret_cast< ::proto::URLButton&>(::proto::_URLButton_default_instance_);
}
inline const ::proto::URLButton& TemplateButton::urlbutton() const {
@@ -24228,8 +24694,8 @@ inline ::proto::URLButton* TemplateButton::unsafe_arena_release_urlbutton() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.TemplateButton.urlButton)
if (_internal_has_urlbutton()) {
clear_has_button();
- ::proto::URLButton* temp = button_.urlbutton_;
- button_.urlbutton_ = nullptr;
+ ::proto::URLButton* temp = _impl_.button_.urlbutton_;
+ _impl_.button_.urlbutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -24239,7 +24705,7 @@ inline void TemplateButton::unsafe_arena_set_allocated_urlbutton(::proto::URLBut
clear_button();
if (urlbutton) {
set_has_urlbutton();
- button_.urlbutton_ = urlbutton;
+ _impl_.button_.urlbutton_ = urlbutton;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.TemplateButton.urlButton)
}
@@ -24247,9 +24713,9 @@ inline ::proto::URLButton* TemplateButton::_internal_mutable_urlbutton() {
if (!_internal_has_urlbutton()) {
clear_button();
set_has_urlbutton();
- button_.urlbutton_ = CreateMaybeMessage< ::proto::URLButton >(GetArenaForAllocation());
+ _impl_.button_.urlbutton_ = CreateMaybeMessage< ::proto::URLButton >(GetArenaForAllocation());
}
- return button_.urlbutton_;
+ return _impl_.button_.urlbutton_;
}
inline ::proto::URLButton* TemplateButton::mutable_urlbutton() {
::proto::URLButton* _msg = _internal_mutable_urlbutton();
@@ -24265,12 +24731,12 @@ inline bool TemplateButton::has_callbutton() const {
return _internal_has_callbutton();
}
inline void TemplateButton::set_has_callbutton() {
- _oneof_case_[0] = kCallButton;
+ _impl_._oneof_case_[0] = kCallButton;
}
inline void TemplateButton::clear_callbutton() {
if (_internal_has_callbutton()) {
if (GetArenaForAllocation() == nullptr) {
- delete button_.callbutton_;
+ delete _impl_.button_.callbutton_;
}
clear_has_button();
}
@@ -24279,11 +24745,11 @@ inline ::proto::CallButton* TemplateButton::release_callbutton() {
// @@protoc_insertion_point(field_release:proto.TemplateButton.callButton)
if (_internal_has_callbutton()) {
clear_has_button();
- ::proto::CallButton* temp = button_.callbutton_;
+ ::proto::CallButton* temp = _impl_.button_.callbutton_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- button_.callbutton_ = nullptr;
+ _impl_.button_.callbutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -24291,7 +24757,7 @@ inline ::proto::CallButton* TemplateButton::release_callbutton() {
}
inline const ::proto::CallButton& TemplateButton::_internal_callbutton() const {
return _internal_has_callbutton()
- ? *button_.callbutton_
+ ? *_impl_.button_.callbutton_
: reinterpret_cast< ::proto::CallButton&>(::proto::_CallButton_default_instance_);
}
inline const ::proto::CallButton& TemplateButton::callbutton() const {
@@ -24302,8 +24768,8 @@ inline ::proto::CallButton* TemplateButton::unsafe_arena_release_callbutton() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.TemplateButton.callButton)
if (_internal_has_callbutton()) {
clear_has_button();
- ::proto::CallButton* temp = button_.callbutton_;
- button_.callbutton_ = nullptr;
+ ::proto::CallButton* temp = _impl_.button_.callbutton_;
+ _impl_.button_.callbutton_ = nullptr;
return temp;
} else {
return nullptr;
@@ -24313,7 +24779,7 @@ inline void TemplateButton::unsafe_arena_set_allocated_callbutton(::proto::CallB
clear_button();
if (callbutton) {
set_has_callbutton();
- button_.callbutton_ = callbutton;
+ _impl_.button_.callbutton_ = callbutton;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.TemplateButton.callButton)
}
@@ -24321,9 +24787,9 @@ inline ::proto::CallButton* TemplateButton::_internal_mutable_callbutton() {
if (!_internal_has_callbutton()) {
clear_button();
set_has_callbutton();
- button_.callbutton_ = CreateMaybeMessage< ::proto::CallButton >(GetArenaForAllocation());
+ _impl_.button_.callbutton_ = CreateMaybeMessage< ::proto::CallButton >(GetArenaForAllocation());
}
- return button_.callbutton_;
+ return _impl_.button_.callbutton_;
}
inline ::proto::CallButton* TemplateButton::mutable_callbutton() {
::proto::CallButton* _msg = _internal_mutable_callbutton();
@@ -24335,10 +24801,10 @@ inline bool TemplateButton::has_button() const {
return button_case() != BUTTON_NOT_SET;
}
inline void TemplateButton::clear_has_button() {
- _oneof_case_[0] = BUTTON_NOT_SET;
+ _impl_._oneof_case_[0] = BUTTON_NOT_SET;
}
inline TemplateButton::ButtonCase TemplateButton::button_case() const {
- return TemplateButton::ButtonCase(_oneof_case_[0]);
+ return TemplateButton::ButtonCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -24346,26 +24812,26 @@ inline TemplateButton::ButtonCase TemplateButton::button_case() const {
// optional double degreesLatitude = 1;
inline bool Location::_internal_has_degreeslatitude() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool Location::has_degreeslatitude() const {
return _internal_has_degreeslatitude();
}
inline void Location::clear_degreeslatitude() {
- degreeslatitude_ = 0;
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.degreeslatitude_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline double Location::_internal_degreeslatitude() const {
- return degreeslatitude_;
+ return _impl_.degreeslatitude_;
}
inline double Location::degreeslatitude() const {
// @@protoc_insertion_point(field_get:proto.Location.degreesLatitude)
return _internal_degreeslatitude();
}
inline void Location::_internal_set_degreeslatitude(double value) {
- _has_bits_[0] |= 0x00000002u;
- degreeslatitude_ = value;
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.degreeslatitude_ = value;
}
inline void Location::set_degreeslatitude(double value) {
_internal_set_degreeslatitude(value);
@@ -24374,26 +24840,26 @@ inline void Location::set_degreeslatitude(double value) {
// optional double degreesLongitude = 2;
inline bool Location::_internal_has_degreeslongitude() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool Location::has_degreeslongitude() const {
return _internal_has_degreeslongitude();
}
inline void Location::clear_degreeslongitude() {
- degreeslongitude_ = 0;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.degreeslongitude_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline double Location::_internal_degreeslongitude() const {
- return degreeslongitude_;
+ return _impl_.degreeslongitude_;
}
inline double Location::degreeslongitude() const {
// @@protoc_insertion_point(field_get:proto.Location.degreesLongitude)
return _internal_degreeslongitude();
}
inline void Location::_internal_set_degreeslongitude(double value) {
- _has_bits_[0] |= 0x00000004u;
- degreeslongitude_ = value;
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.degreeslongitude_ = value;
}
inline void Location::set_degreeslongitude(double value) {
_internal_set_degreeslongitude(value);
@@ -24402,15 +24868,15 @@ inline void Location::set_degreeslongitude(double value) {
// optional string name = 3;
inline bool Location::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool Location::has_name() const {
return _internal_has_name();
}
inline void Location::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.name_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Location::name() const {
// @@protoc_insertion_point(field_get:proto.Location.name)
@@ -24419,8 +24885,8 @@ inline const std::string& Location::name() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Location.name)
}
inline std::string* Location::mutable_name() {
@@ -24429,32 +24895,42 @@ inline std::string* Location::mutable_name() {
return _s;
}
inline const std::string& Location::_internal_name() const {
- return name_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* Location::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.name_.Mutable(GetArenaForAllocation());
}
inline std::string* Location::release_name() {
// @@protoc_insertion_point(field_release:proto.Location.name)
if (!_internal_has_name()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.name_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.name_.IsDefault()) {
+ _impl_.name_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Location::set_allocated_name(std::string* name) {
if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
+ _impl_.name_.SetAllocated(name, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.name_.IsDefault()) {
+ _impl_.name_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Location.name)
}
@@ -24464,82 +24940,82 @@ inline void Location::set_allocated_name(std::string* name) {
// optional int32 xDeprecated = 1;
inline bool Point::_internal_has_xdeprecated() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool Point::has_xdeprecated() const {
return _internal_has_xdeprecated();
}
inline void Point::clear_xdeprecated() {
- xdeprecated_ = 0;
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.xdeprecated_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int32 Point::_internal_xdeprecated() const {
- return xdeprecated_;
+inline int32_t Point::_internal_xdeprecated() const {
+ return _impl_.xdeprecated_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int32 Point::xdeprecated() const {
+inline int32_t Point::xdeprecated() const {
// @@protoc_insertion_point(field_get:proto.Point.xDeprecated)
return _internal_xdeprecated();
}
-inline void Point::_internal_set_xdeprecated(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000001u;
- xdeprecated_ = value;
+inline void Point::_internal_set_xdeprecated(int32_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.xdeprecated_ = value;
}
-inline void Point::set_xdeprecated(::PROTOBUF_NAMESPACE_ID::int32 value) {
+inline void Point::set_xdeprecated(int32_t value) {
_internal_set_xdeprecated(value);
// @@protoc_insertion_point(field_set:proto.Point.xDeprecated)
}
// optional int32 yDeprecated = 2;
inline bool Point::_internal_has_ydeprecated() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool Point::has_ydeprecated() const {
return _internal_has_ydeprecated();
}
inline void Point::clear_ydeprecated() {
- ydeprecated_ = 0;
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.ydeprecated_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int32 Point::_internal_ydeprecated() const {
- return ydeprecated_;
+inline int32_t Point::_internal_ydeprecated() const {
+ return _impl_.ydeprecated_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int32 Point::ydeprecated() const {
+inline int32_t Point::ydeprecated() const {
// @@protoc_insertion_point(field_get:proto.Point.yDeprecated)
return _internal_ydeprecated();
}
-inline void Point::_internal_set_ydeprecated(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000002u;
- ydeprecated_ = value;
+inline void Point::_internal_set_ydeprecated(int32_t value) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.ydeprecated_ = value;
}
-inline void Point::set_ydeprecated(::PROTOBUF_NAMESPACE_ID::int32 value) {
+inline void Point::set_ydeprecated(int32_t value) {
_internal_set_ydeprecated(value);
// @@protoc_insertion_point(field_set:proto.Point.yDeprecated)
}
// optional double x = 3;
inline bool Point::_internal_has_x() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool Point::has_x() const {
return _internal_has_x();
}
inline void Point::clear_x() {
- x_ = 0;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.x_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline double Point::_internal_x() const {
- return x_;
+ return _impl_.x_;
}
inline double Point::x() const {
// @@protoc_insertion_point(field_get:proto.Point.x)
return _internal_x();
}
inline void Point::_internal_set_x(double value) {
- _has_bits_[0] |= 0x00000004u;
- x_ = value;
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.x_ = value;
}
inline void Point::set_x(double value) {
_internal_set_x(value);
@@ -24548,26 +25024,26 @@ inline void Point::set_x(double value) {
// optional double y = 4;
inline bool Point::_internal_has_y() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool Point::has_y() const {
return _internal_has_y();
}
inline void Point::clear_y() {
- y_ = 0;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.y_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline double Point::_internal_y() const {
- return y_;
+ return _impl_.y_;
}
inline double Point::y() const {
// @@protoc_insertion_point(field_get:proto.Point.y)
return _internal_y();
}
inline void Point::_internal_set_y(double value) {
- _has_bits_[0] |= 0x00000008u;
- y_ = value;
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.y_ = value;
}
inline void Point::set_y(double value) {
_internal_set_y(value);
@@ -24580,32 +25056,32 @@ inline void Point::set_y(double value) {
// repeated .proto.Point polygonVertices = 1;
inline int InteractiveAnnotation::_internal_polygonvertices_size() const {
- return polygonvertices_.size();
+ return _impl_.polygonvertices_.size();
}
inline int InteractiveAnnotation::polygonvertices_size() const {
return _internal_polygonvertices_size();
}
inline void InteractiveAnnotation::clear_polygonvertices() {
- polygonvertices_.Clear();
+ _impl_.polygonvertices_.Clear();
}
inline ::proto::Point* InteractiveAnnotation::mutable_polygonvertices(int index) {
// @@protoc_insertion_point(field_mutable:proto.InteractiveAnnotation.polygonVertices)
- return polygonvertices_.Mutable(index);
+ return _impl_.polygonvertices_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Point >*
InteractiveAnnotation::mutable_polygonvertices() {
// @@protoc_insertion_point(field_mutable_list:proto.InteractiveAnnotation.polygonVertices)
- return &polygonvertices_;
+ return &_impl_.polygonvertices_;
}
inline const ::proto::Point& InteractiveAnnotation::_internal_polygonvertices(int index) const {
- return polygonvertices_.Get(index);
+ return _impl_.polygonvertices_.Get(index);
}
inline const ::proto::Point& InteractiveAnnotation::polygonvertices(int index) const {
// @@protoc_insertion_point(field_get:proto.InteractiveAnnotation.polygonVertices)
return _internal_polygonvertices(index);
}
inline ::proto::Point* InteractiveAnnotation::_internal_add_polygonvertices() {
- return polygonvertices_.Add();
+ return _impl_.polygonvertices_.Add();
}
inline ::proto::Point* InteractiveAnnotation::add_polygonvertices() {
::proto::Point* _add = _internal_add_polygonvertices();
@@ -24615,7 +25091,7 @@ inline ::proto::Point* InteractiveAnnotation::add_polygonvertices() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Point >&
InteractiveAnnotation::polygonvertices() const {
// @@protoc_insertion_point(field_list:proto.InteractiveAnnotation.polygonVertices)
- return polygonvertices_;
+ return _impl_.polygonvertices_;
}
// .proto.Location location = 2;
@@ -24626,12 +25102,12 @@ inline bool InteractiveAnnotation::has_location() const {
return _internal_has_location();
}
inline void InteractiveAnnotation::set_has_location() {
- _oneof_case_[0] = kLocation;
+ _impl_._oneof_case_[0] = kLocation;
}
inline void InteractiveAnnotation::clear_location() {
if (_internal_has_location()) {
if (GetArenaForAllocation() == nullptr) {
- delete action_.location_;
+ delete _impl_.action_.location_;
}
clear_has_action();
}
@@ -24640,11 +25116,11 @@ inline ::proto::Location* InteractiveAnnotation::release_location() {
// @@protoc_insertion_point(field_release:proto.InteractiveAnnotation.location)
if (_internal_has_location()) {
clear_has_action();
- ::proto::Location* temp = action_.location_;
+ ::proto::Location* temp = _impl_.action_.location_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- action_.location_ = nullptr;
+ _impl_.action_.location_ = nullptr;
return temp;
} else {
return nullptr;
@@ -24652,7 +25128,7 @@ inline ::proto::Location* InteractiveAnnotation::release_location() {
}
inline const ::proto::Location& InteractiveAnnotation::_internal_location() const {
return _internal_has_location()
- ? *action_.location_
+ ? *_impl_.action_.location_
: reinterpret_cast< ::proto::Location&>(::proto::_Location_default_instance_);
}
inline const ::proto::Location& InteractiveAnnotation::location() const {
@@ -24663,8 +25139,8 @@ inline ::proto::Location* InteractiveAnnotation::unsafe_arena_release_location()
// @@protoc_insertion_point(field_unsafe_arena_release:proto.InteractiveAnnotation.location)
if (_internal_has_location()) {
clear_has_action();
- ::proto::Location* temp = action_.location_;
- action_.location_ = nullptr;
+ ::proto::Location* temp = _impl_.action_.location_;
+ _impl_.action_.location_ = nullptr;
return temp;
} else {
return nullptr;
@@ -24674,7 +25150,7 @@ inline void InteractiveAnnotation::unsafe_arena_set_allocated_location(::proto::
clear_action();
if (location) {
set_has_location();
- action_.location_ = location;
+ _impl_.action_.location_ = location;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.InteractiveAnnotation.location)
}
@@ -24682,9 +25158,9 @@ inline ::proto::Location* InteractiveAnnotation::_internal_mutable_location() {
if (!_internal_has_location()) {
clear_action();
set_has_location();
- action_.location_ = CreateMaybeMessage< ::proto::Location >(GetArenaForAllocation());
+ _impl_.action_.location_ = CreateMaybeMessage< ::proto::Location >(GetArenaForAllocation());
}
- return action_.location_;
+ return _impl_.action_.location_;
}
inline ::proto::Location* InteractiveAnnotation::mutable_location() {
::proto::Location* _msg = _internal_mutable_location();
@@ -24696,10 +25172,10 @@ inline bool InteractiveAnnotation::has_action() const {
return action_case() != ACTION_NOT_SET;
}
inline void InteractiveAnnotation::clear_has_action() {
- _oneof_case_[0] = ACTION_NOT_SET;
+ _impl_._oneof_case_[0] = ACTION_NOT_SET;
}
inline InteractiveAnnotation::ActionCase InteractiveAnnotation::action_case() const {
- return InteractiveAnnotation::ActionCase(_oneof_case_[0]);
+ return InteractiveAnnotation::ActionCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -24707,15 +25183,15 @@ inline InteractiveAnnotation::ActionCase InteractiveAnnotation::action_case() co
// optional bytes senderKeyHash = 1;
inline bool DeviceListMetadata::_internal_has_senderkeyhash() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool DeviceListMetadata::has_senderkeyhash() const {
return _internal_has_senderkeyhash();
}
inline void DeviceListMetadata::clear_senderkeyhash() {
- senderkeyhash_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.senderkeyhash_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& DeviceListMetadata::senderkeyhash() const {
// @@protoc_insertion_point(field_get:proto.DeviceListMetadata.senderKeyHash)
@@ -24724,8 +25200,8 @@ inline const std::string& DeviceListMetadata::senderkeyhash() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.senderkeyhash_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DeviceListMetadata.senderKeyHash)
}
inline std::string* DeviceListMetadata::mutable_senderkeyhash() {
@@ -24734,74 +25210,84 @@ inline std::string* DeviceListMetadata::mutable_senderkeyhash() {
return _s;
}
inline const std::string& DeviceListMetadata::_internal_senderkeyhash() const {
- return senderkeyhash_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.senderkeyhash_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceListMetadata::_internal_mutable_senderkeyhash() {
- _has_bits_[0] |= 0x00000001u;
- return senderkeyhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.senderkeyhash_.Mutable(GetArenaForAllocation());
}
inline std::string* DeviceListMetadata::release_senderkeyhash() {
// @@protoc_insertion_point(field_release:proto.DeviceListMetadata.senderKeyHash)
if (!_internal_has_senderkeyhash()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return senderkeyhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.senderkeyhash_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.senderkeyhash_.IsDefault()) {
+ _impl_.senderkeyhash_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DeviceListMetadata::set_allocated_senderkeyhash(std::string* senderkeyhash) {
if (senderkeyhash != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- senderkeyhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), senderkeyhash,
- GetArenaForAllocation());
+ _impl_.senderkeyhash_.SetAllocated(senderkeyhash, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.senderkeyhash_.IsDefault()) {
+ _impl_.senderkeyhash_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DeviceListMetadata.senderKeyHash)
}
// optional uint64 senderTimestamp = 2;
inline bool DeviceListMetadata::_internal_has_sendertimestamp() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool DeviceListMetadata::has_sendertimestamp() const {
return _internal_has_sendertimestamp();
}
inline void DeviceListMetadata::clear_sendertimestamp() {
- sendertimestamp_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.sendertimestamp_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 DeviceListMetadata::_internal_sendertimestamp() const {
- return sendertimestamp_;
+inline uint64_t DeviceListMetadata::_internal_sendertimestamp() const {
+ return _impl_.sendertimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 DeviceListMetadata::sendertimestamp() const {
+inline uint64_t DeviceListMetadata::sendertimestamp() const {
// @@protoc_insertion_point(field_get:proto.DeviceListMetadata.senderTimestamp)
return _internal_sendertimestamp();
}
-inline void DeviceListMetadata::_internal_set_sendertimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000004u;
- sendertimestamp_ = value;
+inline void DeviceListMetadata::_internal_set_sendertimestamp(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.sendertimestamp_ = value;
}
-inline void DeviceListMetadata::set_sendertimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void DeviceListMetadata::set_sendertimestamp(uint64_t value) {
_internal_set_sendertimestamp(value);
// @@protoc_insertion_point(field_set:proto.DeviceListMetadata.senderTimestamp)
}
// optional bytes recipientKeyHash = 8;
inline bool DeviceListMetadata::_internal_has_recipientkeyhash() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool DeviceListMetadata::has_recipientkeyhash() const {
return _internal_has_recipientkeyhash();
}
inline void DeviceListMetadata::clear_recipientkeyhash() {
- recipientkeyhash_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.recipientkeyhash_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& DeviceListMetadata::recipientkeyhash() const {
// @@protoc_insertion_point(field_get:proto.DeviceListMetadata.recipientKeyHash)
@@ -24810,8 +25296,8 @@ inline const std::string& DeviceListMetadata::recipientkeyhash() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.recipientkeyhash_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DeviceListMetadata.recipientKeyHash)
}
inline std::string* DeviceListMetadata::mutable_recipientkeyhash() {
@@ -24820,59 +25306,69 @@ inline std::string* DeviceListMetadata::mutable_recipientkeyhash() {
return _s;
}
inline const std::string& DeviceListMetadata::_internal_recipientkeyhash() const {
- return recipientkeyhash_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.recipientkeyhash_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceListMetadata::_internal_mutable_recipientkeyhash() {
- _has_bits_[0] |= 0x00000002u;
- return recipientkeyhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.recipientkeyhash_.Mutable(GetArenaForAllocation());
}
inline std::string* DeviceListMetadata::release_recipientkeyhash() {
// @@protoc_insertion_point(field_release:proto.DeviceListMetadata.recipientKeyHash)
if (!_internal_has_recipientkeyhash()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return recipientkeyhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.recipientkeyhash_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.recipientkeyhash_.IsDefault()) {
+ _impl_.recipientkeyhash_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DeviceListMetadata::set_allocated_recipientkeyhash(std::string* recipientkeyhash) {
if (recipientkeyhash != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- recipientkeyhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), recipientkeyhash,
- GetArenaForAllocation());
+ _impl_.recipientkeyhash_.SetAllocated(recipientkeyhash, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.recipientkeyhash_.IsDefault()) {
+ _impl_.recipientkeyhash_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DeviceListMetadata.recipientKeyHash)
}
// optional uint64 recipientTimestamp = 9;
inline bool DeviceListMetadata::_internal_has_recipienttimestamp() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool DeviceListMetadata::has_recipienttimestamp() const {
return _internal_has_recipienttimestamp();
}
inline void DeviceListMetadata::clear_recipienttimestamp() {
- recipienttimestamp_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.recipienttimestamp_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 DeviceListMetadata::_internal_recipienttimestamp() const {
- return recipienttimestamp_;
+inline uint64_t DeviceListMetadata::_internal_recipienttimestamp() const {
+ return _impl_.recipienttimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 DeviceListMetadata::recipienttimestamp() const {
+inline uint64_t DeviceListMetadata::recipienttimestamp() const {
// @@protoc_insertion_point(field_get:proto.DeviceListMetadata.recipientTimestamp)
return _internal_recipienttimestamp();
}
-inline void DeviceListMetadata::_internal_set_recipienttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000008u;
- recipienttimestamp_ = value;
+inline void DeviceListMetadata::_internal_set_recipienttimestamp(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.recipienttimestamp_ = value;
}
-inline void DeviceListMetadata::set_recipienttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void DeviceListMetadata::set_recipienttimestamp(uint64_t value) {
_internal_set_recipienttimestamp(value);
// @@protoc_insertion_point(field_set:proto.DeviceListMetadata.recipientTimestamp)
}
@@ -24883,19 +25379,19 @@ inline void DeviceListMetadata::set_recipienttimestamp(::PROTOBUF_NAMESPACE_ID::
// optional .proto.DeviceListMetadata deviceListMetadata = 1;
inline bool MessageContextInfo::_internal_has_devicelistmetadata() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || devicelistmetadata_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.devicelistmetadata_ != nullptr);
return value;
}
inline bool MessageContextInfo::has_devicelistmetadata() const {
return _internal_has_devicelistmetadata();
}
inline void MessageContextInfo::clear_devicelistmetadata() {
- if (devicelistmetadata_ != nullptr) devicelistmetadata_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.devicelistmetadata_ != nullptr) _impl_.devicelistmetadata_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::DeviceListMetadata& MessageContextInfo::_internal_devicelistmetadata() const {
- const ::proto::DeviceListMetadata* p = devicelistmetadata_;
+ const ::proto::DeviceListMetadata* p = _impl_.devicelistmetadata_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::DeviceListMetadata&>(
::proto::_DeviceListMetadata_default_instance_);
}
@@ -24906,20 +25402,20 @@ inline const ::proto::DeviceListMetadata& MessageContextInfo::devicelistmetadata
inline void MessageContextInfo::unsafe_arena_set_allocated_devicelistmetadata(
::proto::DeviceListMetadata* devicelistmetadata) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(devicelistmetadata_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.devicelistmetadata_);
}
- devicelistmetadata_ = devicelistmetadata;
+ _impl_.devicelistmetadata_ = devicelistmetadata;
if (devicelistmetadata) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.MessageContextInfo.deviceListMetadata)
}
inline ::proto::DeviceListMetadata* MessageContextInfo::release_devicelistmetadata() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::DeviceListMetadata* temp = devicelistmetadata_;
- devicelistmetadata_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::DeviceListMetadata* temp = _impl_.devicelistmetadata_;
+ _impl_.devicelistmetadata_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -24933,18 +25429,18 @@ inline ::proto::DeviceListMetadata* MessageContextInfo::release_devicelistmetada
}
inline ::proto::DeviceListMetadata* MessageContextInfo::unsafe_arena_release_devicelistmetadata() {
// @@protoc_insertion_point(field_release:proto.MessageContextInfo.deviceListMetadata)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::DeviceListMetadata* temp = devicelistmetadata_;
- devicelistmetadata_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::DeviceListMetadata* temp = _impl_.devicelistmetadata_;
+ _impl_.devicelistmetadata_ = nullptr;
return temp;
}
inline ::proto::DeviceListMetadata* MessageContextInfo::_internal_mutable_devicelistmetadata() {
- _has_bits_[0] |= 0x00000001u;
- if (devicelistmetadata_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.devicelistmetadata_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::DeviceListMetadata>(GetArenaForAllocation());
- devicelistmetadata_ = p;
+ _impl_.devicelistmetadata_ = p;
}
- return devicelistmetadata_;
+ return _impl_.devicelistmetadata_;
}
inline ::proto::DeviceListMetadata* MessageContextInfo::mutable_devicelistmetadata() {
::proto::DeviceListMetadata* _msg = _internal_mutable_devicelistmetadata();
@@ -24954,20 +25450,20 @@ inline ::proto::DeviceListMetadata* MessageContextInfo::mutable_devicelistmetada
inline void MessageContextInfo::set_allocated_devicelistmetadata(::proto::DeviceListMetadata* devicelistmetadata) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete devicelistmetadata_;
+ delete _impl_.devicelistmetadata_;
}
if (devicelistmetadata) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DeviceListMetadata>::GetOwningArena(devicelistmetadata);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(devicelistmetadata);
if (message_arena != submessage_arena) {
devicelistmetadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, devicelistmetadata, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- devicelistmetadata_ = devicelistmetadata;
+ _impl_.devicelistmetadata_ = devicelistmetadata;
// @@protoc_insertion_point(field_set_allocated:proto.MessageContextInfo.deviceListMetadata)
}
@@ -24977,15 +25473,15 @@ inline void MessageContextInfo::set_allocated_devicelistmetadata(::proto::Device
// optional string advertiserName = 1;
inline bool AdReplyInfo::_internal_has_advertisername() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool AdReplyInfo::has_advertisername() const {
return _internal_has_advertisername();
}
inline void AdReplyInfo::clear_advertisername() {
- advertisername_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.advertisername_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& AdReplyInfo::advertisername() const {
// @@protoc_insertion_point(field_get:proto.AdReplyInfo.advertiserName)
@@ -24994,8 +25490,8 @@ inline const std::string& AdReplyInfo::advertisername() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.advertisername_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AdReplyInfo.advertiserName)
}
inline std::string* AdReplyInfo::mutable_advertisername() {
@@ -25004,49 +25500,59 @@ inline std::string* AdReplyInfo::mutable_advertisername() {
return _s;
}
inline const std::string& AdReplyInfo::_internal_advertisername() const {
- return advertisername_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.advertisername_.Set(value, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::_internal_mutable_advertisername() {
- _has_bits_[0] |= 0x00000001u;
- return advertisername_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.advertisername_.Mutable(GetArenaForAllocation());
}
inline std::string* AdReplyInfo::release_advertisername() {
// @@protoc_insertion_point(field_release:proto.AdReplyInfo.advertiserName)
if (!_internal_has_advertisername()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return advertisername_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.advertisername_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.advertisername_.IsDefault()) {
+ _impl_.advertisername_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AdReplyInfo::set_allocated_advertisername(std::string* advertisername) {
if (advertisername != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- advertisername_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), advertisername,
- GetArenaForAllocation());
+ _impl_.advertisername_.SetAllocated(advertisername, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.advertisername_.IsDefault()) {
+ _impl_.advertisername_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AdReplyInfo.advertiserName)
}
// optional .proto.AdReplyInfo.AdReplyInfoMediaType mediaType = 2;
inline bool AdReplyInfo::_internal_has_mediatype() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool AdReplyInfo::has_mediatype() const {
return _internal_has_mediatype();
}
inline void AdReplyInfo::clear_mediatype() {
- mediatype_ = 0;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.mediatype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline ::proto::AdReplyInfo_AdReplyInfoMediaType AdReplyInfo::_internal_mediatype() const {
- return static_cast< ::proto::AdReplyInfo_AdReplyInfoMediaType >(mediatype_);
+ return static_cast< ::proto::AdReplyInfo_AdReplyInfoMediaType >(_impl_.mediatype_);
}
inline ::proto::AdReplyInfo_AdReplyInfoMediaType AdReplyInfo::mediatype() const {
// @@protoc_insertion_point(field_get:proto.AdReplyInfo.mediaType)
@@ -25054,8 +25560,8 @@ inline ::proto::AdReplyInfo_AdReplyInfoMediaType AdReplyInfo::mediatype() const
}
inline void AdReplyInfo::_internal_set_mediatype(::proto::AdReplyInfo_AdReplyInfoMediaType value) {
assert(::proto::AdReplyInfo_AdReplyInfoMediaType_IsValid(value));
- _has_bits_[0] |= 0x00000008u;
- mediatype_ = value;
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediatype_ = value;
}
inline void AdReplyInfo::set_mediatype(::proto::AdReplyInfo_AdReplyInfoMediaType value) {
_internal_set_mediatype(value);
@@ -25064,15 +25570,15 @@ inline void AdReplyInfo::set_mediatype(::proto::AdReplyInfo_AdReplyInfoMediaType
// optional bytes jpegThumbnail = 16;
inline bool AdReplyInfo::_internal_has_jpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool AdReplyInfo::has_jpegthumbnail() const {
return _internal_has_jpegthumbnail();
}
inline void AdReplyInfo::clear_jpegthumbnail() {
- jpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.jpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& AdReplyInfo::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.AdReplyInfo.jpegThumbnail)
@@ -25081,8 +25587,8 @@ inline const std::string& AdReplyInfo::jpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.jpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AdReplyInfo.jpegThumbnail)
}
inline std::string* AdReplyInfo::mutable_jpegthumbnail() {
@@ -25091,46 +25597,56 @@ inline std::string* AdReplyInfo::mutable_jpegthumbnail() {
return _s;
}
inline const std::string& AdReplyInfo::_internal_jpegthumbnail() const {
- return jpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.jpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::_internal_mutable_jpegthumbnail() {
- _has_bits_[0] |= 0x00000002u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.jpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* AdReplyInfo::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.AdReplyInfo.jpegThumbnail)
if (!_internal_has_jpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.jpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AdReplyInfo::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArenaForAllocation());
+ _impl_.jpegthumbnail_.SetAllocated(jpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AdReplyInfo.jpegThumbnail)
}
// optional string caption = 17;
inline bool AdReplyInfo::_internal_has_caption() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool AdReplyInfo::has_caption() const {
return _internal_has_caption();
}
inline void AdReplyInfo::clear_caption() {
- caption_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.caption_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& AdReplyInfo::caption() const {
// @@protoc_insertion_point(field_get:proto.AdReplyInfo.caption)
@@ -25139,8 +25655,8 @@ inline const std::string& AdReplyInfo::caption() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.caption_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AdReplyInfo.caption)
}
inline std::string* AdReplyInfo::mutable_caption() {
@@ -25149,32 +25665,42 @@ inline std::string* AdReplyInfo::mutable_caption() {
return _s;
}
inline const std::string& AdReplyInfo::_internal_caption() const {
- return caption_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.caption_.Set(value, GetArenaForAllocation());
}
inline std::string* AdReplyInfo::_internal_mutable_caption() {
- _has_bits_[0] |= 0x00000004u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.caption_.Mutable(GetArenaForAllocation());
}
inline std::string* AdReplyInfo::release_caption() {
// @@protoc_insertion_point(field_release:proto.AdReplyInfo.caption)
if (!_internal_has_caption()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.caption_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AdReplyInfo::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArenaForAllocation());
+ _impl_.caption_.SetAllocated(caption, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AdReplyInfo.caption)
}
@@ -25184,15 +25710,15 @@ inline void AdReplyInfo::set_allocated_caption(std::string* caption) {
// optional string title = 1;
inline bool ExternalAdReplyInfo::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_title() const {
return _internal_has_title();
}
inline void ExternalAdReplyInfo::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ExternalAdReplyInfo::title() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.title)
@@ -25201,8 +25727,8 @@ inline const std::string& ExternalAdReplyInfo::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.title)
}
inline std::string* ExternalAdReplyInfo::mutable_title() {
@@ -25211,46 +25737,56 @@ inline std::string* ExternalAdReplyInfo::mutable_title() {
return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_title() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExternalAdReplyInfo::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.title)
}
// optional string body = 2;
inline bool ExternalAdReplyInfo::_internal_has_body() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_body() const {
return _internal_has_body();
}
inline void ExternalAdReplyInfo::clear_body() {
- body_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.body_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ExternalAdReplyInfo::body() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.body)
@@ -25259,8 +25795,8 @@ inline const std::string& ExternalAdReplyInfo::body() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.body_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.body)
}
inline std::string* ExternalAdReplyInfo::mutable_body() {
@@ -25269,49 +25805,59 @@ inline std::string* ExternalAdReplyInfo::mutable_body() {
return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_body() const {
- return body_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.body_.Set(value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_body() {
- _has_bits_[0] |= 0x00000002u;
- return body_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.body_.Mutable(GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_body() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.body)
if (!_internal_has_body()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return body_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.body_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.body_.IsDefault()) {
+ _impl_.body_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExternalAdReplyInfo::set_allocated_body(std::string* body) {
if (body != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.body_.SetAllocated(body, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.body_.IsDefault()) {
+ _impl_.body_.Set("", GetArenaForAllocation());
}
- body_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.body)
}
// optional .proto.ExternalAdReplyInfo.ExternalAdReplyInfoMediaType mediaType = 3;
inline bool ExternalAdReplyInfo::_internal_has_mediatype() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_mediatype() const {
return _internal_has_mediatype();
}
inline void ExternalAdReplyInfo::clear_mediatype() {
- mediatype_ = 0;
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.mediatype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline ::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType ExternalAdReplyInfo::_internal_mediatype() const {
- return static_cast< ::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType >(mediatype_);
+ return static_cast< ::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType >(_impl_.mediatype_);
}
inline ::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType ExternalAdReplyInfo::mediatype() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.mediaType)
@@ -25319,8 +25865,8 @@ inline ::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType ExternalAdReply
}
inline void ExternalAdReplyInfo::_internal_set_mediatype(::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType value) {
assert(::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType_IsValid(value));
- _has_bits_[0] |= 0x00000100u;
- mediatype_ = value;
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.mediatype_ = value;
}
inline void ExternalAdReplyInfo::set_mediatype(::proto::ExternalAdReplyInfo_ExternalAdReplyInfoMediaType value) {
_internal_set_mediatype(value);
@@ -25329,15 +25875,15 @@ inline void ExternalAdReplyInfo::set_mediatype(::proto::ExternalAdReplyInfo_Exte
// optional string thumbnailUrl = 4;
inline bool ExternalAdReplyInfo::_internal_has_thumbnailurl() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_thumbnailurl() const {
return _internal_has_thumbnailurl();
}
inline void ExternalAdReplyInfo::clear_thumbnailurl() {
- thumbnailurl_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.thumbnailurl_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& ExternalAdReplyInfo::thumbnailurl() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.thumbnailUrl)
@@ -25346,8 +25892,8 @@ inline const std::string& ExternalAdReplyInfo::thumbnailurl() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.thumbnailurl_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.thumbnailUrl)
}
inline std::string* ExternalAdReplyInfo::mutable_thumbnailurl() {
@@ -25356,46 +25902,56 @@ inline std::string* ExternalAdReplyInfo::mutable_thumbnailurl() {
return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_thumbnailurl() const {
- return thumbnailurl_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.thumbnailurl_.Set(value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_thumbnailurl() {
- _has_bits_[0] |= 0x00000004u;
- return thumbnailurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.thumbnailurl_.Mutable(GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_thumbnailurl() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.thumbnailUrl)
if (!_internal_has_thumbnailurl()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return thumbnailurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.thumbnailurl_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailurl_.IsDefault()) {
+ _impl_.thumbnailurl_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExternalAdReplyInfo::set_allocated_thumbnailurl(std::string* thumbnailurl) {
if (thumbnailurl != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.thumbnailurl_.SetAllocated(thumbnailurl, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailurl_.IsDefault()) {
+ _impl_.thumbnailurl_.Set("", GetArenaForAllocation());
}
- thumbnailurl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailurl,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.thumbnailUrl)
}
// optional string mediaUrl = 5;
inline bool ExternalAdReplyInfo::_internal_has_mediaurl() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_mediaurl() const {
return _internal_has_mediaurl();
}
inline void ExternalAdReplyInfo::clear_mediaurl() {
- mediaurl_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.mediaurl_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& ExternalAdReplyInfo::mediaurl() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.mediaUrl)
@@ -25404,8 +25960,8 @@ inline const std::string& ExternalAdReplyInfo::mediaurl() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediaurl_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.mediaUrl)
}
inline std::string* ExternalAdReplyInfo::mutable_mediaurl() {
@@ -25414,46 +25970,56 @@ inline std::string* ExternalAdReplyInfo::mutable_mediaurl() {
return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_mediaurl() const {
- return mediaurl_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediaurl_.Set(value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_mediaurl() {
- _has_bits_[0] |= 0x00000008u;
- return mediaurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.mediaurl_.Mutable(GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_mediaurl() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.mediaUrl)
if (!_internal_has_mediaurl()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return mediaurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.mediaurl_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediaurl_.IsDefault()) {
+ _impl_.mediaurl_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExternalAdReplyInfo::set_allocated_mediaurl(std::string* mediaurl) {
if (mediaurl != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.mediaurl_.SetAllocated(mediaurl, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediaurl_.IsDefault()) {
+ _impl_.mediaurl_.Set("", GetArenaForAllocation());
}
- mediaurl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediaurl,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.mediaUrl)
}
// optional bytes thumbnail = 6;
inline bool ExternalAdReplyInfo::_internal_has_thumbnail() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_thumbnail() const {
return _internal_has_thumbnail();
}
inline void ExternalAdReplyInfo::clear_thumbnail() {
- thumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.thumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& ExternalAdReplyInfo::thumbnail() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.thumbnail)
@@ -25462,8 +26028,8 @@ inline const std::string& ExternalAdReplyInfo::thumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.thumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.thumbnail)
}
inline std::string* ExternalAdReplyInfo::mutable_thumbnail() {
@@ -25472,46 +26038,56 @@ inline std::string* ExternalAdReplyInfo::mutable_thumbnail() {
return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_thumbnail() const {
- return thumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.thumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_thumbnail() {
- _has_bits_[0] |= 0x00000010u;
- return thumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.thumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_thumbnail() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.thumbnail)
if (!_internal_has_thumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return thumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.thumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnail_.IsDefault()) {
+ _impl_.thumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExternalAdReplyInfo::set_allocated_thumbnail(std::string* thumbnail) {
if (thumbnail != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ }
+ _impl_.thumbnail_.SetAllocated(thumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnail_.IsDefault()) {
+ _impl_.thumbnail_.Set("", GetArenaForAllocation());
}
- thumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.thumbnail)
}
// optional string sourceType = 7;
inline bool ExternalAdReplyInfo::_internal_has_sourcetype() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_sourcetype() const {
return _internal_has_sourcetype();
}
inline void ExternalAdReplyInfo::clear_sourcetype() {
- sourcetype_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.sourcetype_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& ExternalAdReplyInfo::sourcetype() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.sourceType)
@@ -25520,8 +26096,8 @@ inline const std::string& ExternalAdReplyInfo::sourcetype() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.sourcetype_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.sourceType)
}
inline std::string* ExternalAdReplyInfo::mutable_sourcetype() {
@@ -25530,46 +26106,56 @@ inline std::string* ExternalAdReplyInfo::mutable_sourcetype() {
return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_sourcetype() const {
- return sourcetype_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.sourcetype_.Set(value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_sourcetype() {
- _has_bits_[0] |= 0x00000020u;
- return sourcetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.sourcetype_.Mutable(GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_sourcetype() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.sourceType)
if (!_internal_has_sourcetype()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return sourcetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.sourcetype_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.sourcetype_.IsDefault()) {
+ _impl_.sourcetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExternalAdReplyInfo::set_allocated_sourcetype(std::string* sourcetype) {
if (sourcetype != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ }
+ _impl_.sourcetype_.SetAllocated(sourcetype, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.sourcetype_.IsDefault()) {
+ _impl_.sourcetype_.Set("", GetArenaForAllocation());
}
- sourcetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sourcetype,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.sourceType)
}
// optional string sourceId = 8;
inline bool ExternalAdReplyInfo::_internal_has_sourceid() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_sourceid() const {
return _internal_has_sourceid();
}
inline void ExternalAdReplyInfo::clear_sourceid() {
- sourceid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.sourceid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& ExternalAdReplyInfo::sourceid() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.sourceId)
@@ -25578,8 +26164,8 @@ inline const std::string& ExternalAdReplyInfo::sourceid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.sourceid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.sourceId)
}
inline std::string* ExternalAdReplyInfo::mutable_sourceid() {
@@ -25588,46 +26174,56 @@ inline std::string* ExternalAdReplyInfo::mutable_sourceid() {
return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_sourceid() const {
- return sourceid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.sourceid_.Set(value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_sourceid() {
- _has_bits_[0] |= 0x00000040u;
- return sourceid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.sourceid_.Mutable(GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_sourceid() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.sourceId)
if (!_internal_has_sourceid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return sourceid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.sourceid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.sourceid_.IsDefault()) {
+ _impl_.sourceid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExternalAdReplyInfo::set_allocated_sourceid(std::string* sourceid) {
if (sourceid != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ }
+ _impl_.sourceid_.SetAllocated(sourceid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.sourceid_.IsDefault()) {
+ _impl_.sourceid_.Set("", GetArenaForAllocation());
}
- sourceid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sourceid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.sourceId)
}
// optional string sourceUrl = 9;
inline bool ExternalAdReplyInfo::_internal_has_sourceurl() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool ExternalAdReplyInfo::has_sourceurl() const {
return _internal_has_sourceurl();
}
inline void ExternalAdReplyInfo::clear_sourceurl() {
- sourceurl_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.sourceurl_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const std::string& ExternalAdReplyInfo::sourceurl() const {
// @@protoc_insertion_point(field_get:proto.ExternalAdReplyInfo.sourceUrl)
@@ -25636,8 +26232,8 @@ inline const std::string& ExternalAdReplyInfo::sourceurl() const {
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());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.sourceurl_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExternalAdReplyInfo.sourceUrl)
}
inline std::string* ExternalAdReplyInfo::mutable_sourceurl() {
@@ -25646,32 +26242,42 @@ inline std::string* ExternalAdReplyInfo::mutable_sourceurl() {
return _s;
}
inline const std::string& ExternalAdReplyInfo::_internal_sourceurl() const {
- return sourceurl_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.sourceurl_.Set(value, GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::_internal_mutable_sourceurl() {
- _has_bits_[0] |= 0x00000080u;
- return sourceurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ return _impl_.sourceurl_.Mutable(GetArenaForAllocation());
}
inline std::string* ExternalAdReplyInfo::release_sourceurl() {
// @@protoc_insertion_point(field_release:proto.ExternalAdReplyInfo.sourceUrl)
if (!_internal_has_sourceurl()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000080u;
- return sourceurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ auto* p = _impl_.sourceurl_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.sourceurl_.IsDefault()) {
+ _impl_.sourceurl_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExternalAdReplyInfo::set_allocated_sourceurl(std::string* sourceurl) {
if (sourceurl != nullptr) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ }
+ _impl_.sourceurl_.SetAllocated(sourceurl, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.sourceurl_.IsDefault()) {
+ _impl_.sourceurl_.Set("", GetArenaForAllocation());
}
- sourceurl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sourceurl,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExternalAdReplyInfo.sourceUrl)
}
@@ -25681,15 +26287,15 @@ inline void ExternalAdReplyInfo::set_allocated_sourceurl(std::string* sourceurl)
// optional string stanzaId = 1;
inline bool ContextInfo::_internal_has_stanzaid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ContextInfo::has_stanzaid() const {
return _internal_has_stanzaid();
}
inline void ContextInfo::clear_stanzaid() {
- stanzaid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.stanzaid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ContextInfo::stanzaid() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.stanzaId)
@@ -25698,8 +26304,8 @@ inline const std::string& ContextInfo::stanzaid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.stanzaid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.stanzaId)
}
inline std::string* ContextInfo::mutable_stanzaid() {
@@ -25708,46 +26314,56 @@ inline std::string* ContextInfo::mutable_stanzaid() {
return _s;
}
inline const std::string& ContextInfo::_internal_stanzaid() const {
- return stanzaid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.stanzaid_.Set(value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_stanzaid() {
- _has_bits_[0] |= 0x00000001u;
- return stanzaid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.stanzaid_.Mutable(GetArenaForAllocation());
}
inline std::string* ContextInfo::release_stanzaid() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.stanzaId)
if (!_internal_has_stanzaid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return stanzaid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.stanzaid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.stanzaid_.IsDefault()) {
+ _impl_.stanzaid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContextInfo::set_allocated_stanzaid(std::string* stanzaid) {
if (stanzaid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.stanzaid_.SetAllocated(stanzaid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.stanzaid_.IsDefault()) {
+ _impl_.stanzaid_.Set("", GetArenaForAllocation());
}
- stanzaid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), stanzaid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.stanzaId)
}
// optional string participant = 2;
inline bool ContextInfo::_internal_has_participant() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ContextInfo::has_participant() const {
return _internal_has_participant();
}
inline void ContextInfo::clear_participant() {
- participant_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.participant_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ContextInfo::participant() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.participant)
@@ -25756,8 +26372,8 @@ inline const std::string& ContextInfo::participant() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.participant_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.participant)
}
inline std::string* ContextInfo::mutable_participant() {
@@ -25766,50 +26382,60 @@ inline std::string* ContextInfo::mutable_participant() {
return _s;
}
inline const std::string& ContextInfo::_internal_participant() const {
- return participant_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.participant_.Set(value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_participant() {
- _has_bits_[0] |= 0x00000002u;
- return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.participant_.Mutable(GetArenaForAllocation());
}
inline std::string* ContextInfo::release_participant() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.participant)
if (!_internal_has_participant()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.participant_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.participant_.IsDefault()) {
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContextInfo::set_allocated_participant(std::string* participant) {
if (participant != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- participant_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), participant,
- GetArenaForAllocation());
+ _impl_.participant_.SetAllocated(participant, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.participant_.IsDefault()) {
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.participant)
}
// optional .proto.Message quotedMessage = 3;
inline bool ContextInfo::_internal_has_quotedmessage() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- PROTOBUF_ASSUME(!value || quotedmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.quotedmessage_ != nullptr);
return value;
}
inline bool ContextInfo::has_quotedmessage() const {
return _internal_has_quotedmessage();
}
inline void ContextInfo::clear_quotedmessage() {
- if (quotedmessage_ != nullptr) quotedmessage_->Clear();
- _has_bits_[0] &= ~0x00000040u;
+ if (_impl_.quotedmessage_ != nullptr) _impl_.quotedmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const ::proto::Message& ContextInfo::_internal_quotedmessage() const {
- const ::proto::Message* p = quotedmessage_;
+ const ::proto::Message* p = _impl_.quotedmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Message&>(
::proto::_Message_default_instance_);
}
@@ -25820,20 +26446,20 @@ inline const ::proto::Message& ContextInfo::quotedmessage() const {
inline void ContextInfo::unsafe_arena_set_allocated_quotedmessage(
::proto::Message* quotedmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quotedmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quotedmessage_);
}
- quotedmessage_ = quotedmessage;
+ _impl_.quotedmessage_ = quotedmessage;
if (quotedmessage) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ContextInfo.quotedMessage)
}
inline ::proto::Message* ContextInfo::release_quotedmessage() {
- _has_bits_[0] &= ~0x00000040u;
- ::proto::Message* temp = quotedmessage_;
- quotedmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::Message* temp = _impl_.quotedmessage_;
+ _impl_.quotedmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -25847,18 +26473,18 @@ inline ::proto::Message* ContextInfo::release_quotedmessage() {
}
inline ::proto::Message* ContextInfo::unsafe_arena_release_quotedmessage() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.quotedMessage)
- _has_bits_[0] &= ~0x00000040u;
- ::proto::Message* temp = quotedmessage_;
- quotedmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::Message* temp = _impl_.quotedmessage_;
+ _impl_.quotedmessage_ = nullptr;
return temp;
}
inline ::proto::Message* ContextInfo::_internal_mutable_quotedmessage() {
- _has_bits_[0] |= 0x00000040u;
- if (quotedmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000040u;
+ if (_impl_.quotedmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
- quotedmessage_ = p;
+ _impl_.quotedmessage_ = p;
}
- return quotedmessage_;
+ return _impl_.quotedmessage_;
}
inline ::proto::Message* ContextInfo::mutable_quotedmessage() {
::proto::Message* _msg = _internal_mutable_quotedmessage();
@@ -25868,34 +26494,34 @@ inline ::proto::Message* ContextInfo::mutable_quotedmessage() {
inline void ContextInfo::set_allocated_quotedmessage(::proto::Message* quotedmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete quotedmessage_;
+ delete _impl_.quotedmessage_;
}
if (quotedmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(quotedmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(quotedmessage);
if (message_arena != submessage_arena) {
quotedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, quotedmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- quotedmessage_ = quotedmessage;
+ _impl_.quotedmessage_ = quotedmessage;
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.quotedMessage)
}
// optional string remoteJid = 4;
inline bool ContextInfo::_internal_has_remotejid() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool ContextInfo::has_remotejid() const {
return _internal_has_remotejid();
}
inline void ContextInfo::clear_remotejid() {
- remotejid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.remotejid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& ContextInfo::remotejid() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.remoteJid)
@@ -25904,8 +26530,8 @@ inline const std::string& ContextInfo::remotejid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.remotejid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.remoteJid)
}
inline std::string* ContextInfo::mutable_remotejid() {
@@ -25914,44 +26540,54 @@ inline std::string* ContextInfo::mutable_remotejid() {
return _s;
}
inline const std::string& ContextInfo::_internal_remotejid() const {
- return remotejid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.remotejid_.Set(value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_remotejid() {
- _has_bits_[0] |= 0x00000004u;
- return remotejid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.remotejid_.Mutable(GetArenaForAllocation());
}
inline std::string* ContextInfo::release_remotejid() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.remoteJid)
if (!_internal_has_remotejid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return remotejid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.remotejid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.remotejid_.IsDefault()) {
+ _impl_.remotejid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContextInfo::set_allocated_remotejid(std::string* remotejid) {
if (remotejid != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- remotejid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), remotejid,
- GetArenaForAllocation());
+ _impl_.remotejid_.SetAllocated(remotejid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.remotejid_.IsDefault()) {
+ _impl_.remotejid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.remoteJid)
}
// repeated string mentionedJid = 15;
inline int ContextInfo::_internal_mentionedjid_size() const {
- return mentionedjid_.size();
+ return _impl_.mentionedjid_.size();
}
inline int ContextInfo::mentionedjid_size() const {
return _internal_mentionedjid_size();
}
inline void ContextInfo::clear_mentionedjid() {
- mentionedjid_.Clear();
+ _impl_.mentionedjid_.Clear();
}
inline std::string* ContextInfo::add_mentionedjid() {
std::string* _s = _internal_add_mentionedjid();
@@ -25959,7 +26595,7 @@ inline std::string* ContextInfo::add_mentionedjid() {
return _s;
}
inline const std::string& ContextInfo::_internal_mentionedjid(int index) const {
- return mentionedjid_.Get(index);
+ return _impl_.mentionedjid_.Get(index);
}
inline const std::string& ContextInfo::mentionedjid(int index) const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.mentionedJid)
@@ -25967,68 +26603,68 @@ inline const std::string& ContextInfo::mentionedjid(int index) const {
}
inline std::string* ContextInfo::mutable_mentionedjid(int index) {
// @@protoc_insertion_point(field_mutable:proto.ContextInfo.mentionedJid)
- return mentionedjid_.Mutable(index);
+ return _impl_.mentionedjid_.Mutable(index);
}
inline void ContextInfo::set_mentionedjid(int index, const std::string& value) {
- mentionedjid_.Mutable(index)->assign(value);
+ _impl_.mentionedjid_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set:proto.ContextInfo.mentionedJid)
}
inline void ContextInfo::set_mentionedjid(int index, std::string&& value) {
- mentionedjid_.Mutable(index)->assign(std::move(value));
+ _impl_.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);
- mentionedjid_.Mutable(index)->assign(value);
+ _impl_.mentionedjid_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:proto.ContextInfo.mentionedJid)
}
inline void ContextInfo::set_mentionedjid(int index, const char* value, size_t size) {
- mentionedjid_.Mutable(index)->assign(
+ _impl_.mentionedjid_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:proto.ContextInfo.mentionedJid)
}
inline std::string* ContextInfo::_internal_add_mentionedjid() {
- return mentionedjid_.Add();
+ return _impl_.mentionedjid_.Add();
}
inline void ContextInfo::add_mentionedjid(const std::string& value) {
- mentionedjid_.Add()->assign(value);
+ _impl_.mentionedjid_.Add()->assign(value);
// @@protoc_insertion_point(field_add:proto.ContextInfo.mentionedJid)
}
inline void ContextInfo::add_mentionedjid(std::string&& value) {
- mentionedjid_.Add(std::move(value));
+ _impl_.mentionedjid_.Add(std::move(value));
// @@protoc_insertion_point(field_add:proto.ContextInfo.mentionedJid)
}
inline void ContextInfo::add_mentionedjid(const char* value) {
GOOGLE_DCHECK(value != nullptr);
- mentionedjid_.Add()->assign(value);
+ _impl_.mentionedjid_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:proto.ContextInfo.mentionedJid)
}
inline void ContextInfo::add_mentionedjid(const char* value, size_t size) {
- mentionedjid_.Add()->assign(reinterpret_cast<const char*>(value), size);
+ _impl_.mentionedjid_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:proto.ContextInfo.mentionedJid)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
ContextInfo::mentionedjid() const {
// @@protoc_insertion_point(field_list:proto.ContextInfo.mentionedJid)
- return mentionedjid_;
+ return _impl_.mentionedjid_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
ContextInfo::mutable_mentionedjid() {
// @@protoc_insertion_point(field_mutable_list:proto.ContextInfo.mentionedJid)
- return &mentionedjid_;
+ return &_impl_.mentionedjid_;
}
// optional string conversionSource = 18;
inline bool ContextInfo::_internal_has_conversionsource() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool ContextInfo::has_conversionsource() const {
return _internal_has_conversionsource();
}
inline void ContextInfo::clear_conversionsource() {
- conversionsource_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.conversionsource_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& ContextInfo::conversionsource() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.conversionSource)
@@ -26037,8 +26673,8 @@ inline const std::string& ContextInfo::conversionsource() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.conversionsource_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.conversionSource)
}
inline std::string* ContextInfo::mutable_conversionsource() {
@@ -26047,46 +26683,56 @@ inline std::string* ContextInfo::mutable_conversionsource() {
return _s;
}
inline const std::string& ContextInfo::_internal_conversionsource() const {
- return conversionsource_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.conversionsource_.Set(value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_conversionsource() {
- _has_bits_[0] |= 0x00000008u;
- return conversionsource_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.conversionsource_.Mutable(GetArenaForAllocation());
}
inline std::string* ContextInfo::release_conversionsource() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.conversionSource)
if (!_internal_has_conversionsource()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return conversionsource_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.conversionsource_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.conversionsource_.IsDefault()) {
+ _impl_.conversionsource_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContextInfo::set_allocated_conversionsource(std::string* conversionsource) {
if (conversionsource != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- conversionsource_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), conversionsource,
- GetArenaForAllocation());
+ _impl_.conversionsource_.SetAllocated(conversionsource, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.conversionsource_.IsDefault()) {
+ _impl_.conversionsource_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.conversionSource)
}
// optional bytes conversionData = 19;
inline bool ContextInfo::_internal_has_conversiondata() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool ContextInfo::has_conversiondata() const {
return _internal_has_conversiondata();
}
inline void ContextInfo::clear_conversiondata() {
- conversiondata_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.conversiondata_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& ContextInfo::conversiondata() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.conversionData)
@@ -26095,8 +26741,8 @@ inline const std::string& ContextInfo::conversiondata() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.conversiondata_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.conversionData)
}
inline std::string* ContextInfo::mutable_conversiondata() {
@@ -26105,113 +26751,123 @@ inline std::string* ContextInfo::mutable_conversiondata() {
return _s;
}
inline const std::string& ContextInfo::_internal_conversiondata() const {
- return conversiondata_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.conversiondata_.Set(value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_conversiondata() {
- _has_bits_[0] |= 0x00000010u;
- return conversiondata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.conversiondata_.Mutable(GetArenaForAllocation());
}
inline std::string* ContextInfo::release_conversiondata() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.conversionData)
if (!_internal_has_conversiondata()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return conversiondata_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.conversiondata_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.conversiondata_.IsDefault()) {
+ _impl_.conversiondata_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContextInfo::set_allocated_conversiondata(std::string* conversiondata) {
if (conversiondata != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- conversiondata_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), conversiondata,
- GetArenaForAllocation());
+ _impl_.conversiondata_.SetAllocated(conversiondata, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.conversiondata_.IsDefault()) {
+ _impl_.conversiondata_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.conversionData)
}
// optional uint32 conversionDelaySeconds = 20;
inline bool ContextInfo::_internal_has_conversiondelayseconds() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool ContextInfo::has_conversiondelayseconds() const {
return _internal_has_conversiondelayseconds();
}
inline void ContextInfo::clear_conversiondelayseconds() {
- conversiondelayseconds_ = 0u;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.conversiondelayseconds_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ContextInfo::_internal_conversiondelayseconds() const {
- return conversiondelayseconds_;
+inline uint32_t ContextInfo::_internal_conversiondelayseconds() const {
+ return _impl_.conversiondelayseconds_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ContextInfo::conversiondelayseconds() const {
+inline uint32_t ContextInfo::conversiondelayseconds() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.conversionDelaySeconds)
return _internal_conversiondelayseconds();
}
-inline void ContextInfo::_internal_set_conversiondelayseconds(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000400u;
- conversiondelayseconds_ = value;
+inline void ContextInfo::_internal_set_conversiondelayseconds(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.conversiondelayseconds_ = value;
}
-inline void ContextInfo::set_conversiondelayseconds(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ContextInfo::set_conversiondelayseconds(uint32_t value) {
_internal_set_conversiondelayseconds(value);
// @@protoc_insertion_point(field_set:proto.ContextInfo.conversionDelaySeconds)
}
// optional uint32 forwardingScore = 21;
inline bool ContextInfo::_internal_has_forwardingscore() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool ContextInfo::has_forwardingscore() const {
return _internal_has_forwardingscore();
}
inline void ContextInfo::clear_forwardingscore() {
- forwardingscore_ = 0u;
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.forwardingscore_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ContextInfo::_internal_forwardingscore() const {
- return forwardingscore_;
+inline uint32_t ContextInfo::_internal_forwardingscore() const {
+ return _impl_.forwardingscore_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ContextInfo::forwardingscore() const {
+inline uint32_t ContextInfo::forwardingscore() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.forwardingScore)
return _internal_forwardingscore();
}
-inline void ContextInfo::_internal_set_forwardingscore(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000800u;
- forwardingscore_ = value;
+inline void ContextInfo::_internal_set_forwardingscore(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.forwardingscore_ = value;
}
-inline void ContextInfo::set_forwardingscore(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ContextInfo::set_forwardingscore(uint32_t value) {
_internal_set_forwardingscore(value);
// @@protoc_insertion_point(field_set:proto.ContextInfo.forwardingScore)
}
// optional bool isForwarded = 22;
inline bool ContextInfo::_internal_has_isforwarded() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
return value;
}
inline bool ContextInfo::has_isforwarded() const {
return _internal_has_isforwarded();
}
inline void ContextInfo::clear_isforwarded() {
- isforwarded_ = false;
- _has_bits_[0] &= ~0x00001000u;
+ _impl_.isforwarded_ = false;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
inline bool ContextInfo::_internal_isforwarded() const {
- return isforwarded_;
+ return _impl_.isforwarded_;
}
inline bool ContextInfo::isforwarded() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.isForwarded)
return _internal_isforwarded();
}
inline void ContextInfo::_internal_set_isforwarded(bool value) {
- _has_bits_[0] |= 0x00001000u;
- isforwarded_ = value;
+ _impl_._has_bits_[0] |= 0x00001000u;
+ _impl_.isforwarded_ = value;
}
inline void ContextInfo::set_isforwarded(bool value) {
_internal_set_isforwarded(value);
@@ -26220,19 +26876,19 @@ inline void ContextInfo::set_isforwarded(bool value) {
// optional .proto.AdReplyInfo quotedAd = 23;
inline bool ContextInfo::_internal_has_quotedad() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- PROTOBUF_ASSUME(!value || quotedad_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.quotedad_ != nullptr);
return value;
}
inline bool ContextInfo::has_quotedad() const {
return _internal_has_quotedad();
}
inline void ContextInfo::clear_quotedad() {
- if (quotedad_ != nullptr) quotedad_->Clear();
- _has_bits_[0] &= ~0x00000080u;
+ if (_impl_.quotedad_ != nullptr) _impl_.quotedad_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const ::proto::AdReplyInfo& ContextInfo::_internal_quotedad() const {
- const ::proto::AdReplyInfo* p = quotedad_;
+ const ::proto::AdReplyInfo* p = _impl_.quotedad_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::AdReplyInfo&>(
::proto::_AdReplyInfo_default_instance_);
}
@@ -26243,20 +26899,20 @@ inline const ::proto::AdReplyInfo& ContextInfo::quotedad() const {
inline void ContextInfo::unsafe_arena_set_allocated_quotedad(
::proto::AdReplyInfo* quotedad) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quotedad_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quotedad_);
}
- quotedad_ = quotedad;
+ _impl_.quotedad_ = quotedad;
if (quotedad) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ContextInfo.quotedAd)
}
inline ::proto::AdReplyInfo* ContextInfo::release_quotedad() {
- _has_bits_[0] &= ~0x00000080u;
- ::proto::AdReplyInfo* temp = quotedad_;
- quotedad_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::AdReplyInfo* temp = _impl_.quotedad_;
+ _impl_.quotedad_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -26270,18 +26926,18 @@ inline ::proto::AdReplyInfo* ContextInfo::release_quotedad() {
}
inline ::proto::AdReplyInfo* ContextInfo::unsafe_arena_release_quotedad() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.quotedAd)
- _has_bits_[0] &= ~0x00000080u;
- ::proto::AdReplyInfo* temp = quotedad_;
- quotedad_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::AdReplyInfo* temp = _impl_.quotedad_;
+ _impl_.quotedad_ = nullptr;
return temp;
}
inline ::proto::AdReplyInfo* ContextInfo::_internal_mutable_quotedad() {
- _has_bits_[0] |= 0x00000080u;
- if (quotedad_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ if (_impl_.quotedad_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::AdReplyInfo>(GetArenaForAllocation());
- quotedad_ = p;
+ _impl_.quotedad_ = p;
}
- return quotedad_;
+ return _impl_.quotedad_;
}
inline ::proto::AdReplyInfo* ContextInfo::mutable_quotedad() {
::proto::AdReplyInfo* _msg = _internal_mutable_quotedad();
@@ -26291,38 +26947,38 @@ inline ::proto::AdReplyInfo* ContextInfo::mutable_quotedad() {
inline void ContextInfo::set_allocated_quotedad(::proto::AdReplyInfo* quotedad) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete quotedad_;
+ delete _impl_.quotedad_;
}
if (quotedad) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AdReplyInfo>::GetOwningArena(quotedad);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(quotedad);
if (message_arena != submessage_arena) {
quotedad = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, quotedad, submessage_arena);
}
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
- quotedad_ = quotedad;
+ _impl_.quotedad_ = quotedad;
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.quotedAd)
}
// optional .proto.MessageKey placeholderKey = 24;
inline bool ContextInfo::_internal_has_placeholderkey() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
- PROTOBUF_ASSUME(!value || placeholderkey_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.placeholderkey_ != nullptr);
return value;
}
inline bool ContextInfo::has_placeholderkey() const {
return _internal_has_placeholderkey();
}
inline void ContextInfo::clear_placeholderkey() {
- if (placeholderkey_ != nullptr) placeholderkey_->Clear();
- _has_bits_[0] &= ~0x00000100u;
+ if (_impl_.placeholderkey_ != nullptr) _impl_.placeholderkey_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline const ::proto::MessageKey& ContextInfo::_internal_placeholderkey() const {
- const ::proto::MessageKey* p = placeholderkey_;
+ const ::proto::MessageKey* p = _impl_.placeholderkey_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageKey&>(
::proto::_MessageKey_default_instance_);
}
@@ -26333,20 +26989,20 @@ inline const ::proto::MessageKey& ContextInfo::placeholderkey() const {
inline void ContextInfo::unsafe_arena_set_allocated_placeholderkey(
::proto::MessageKey* placeholderkey) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(placeholderkey_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.placeholderkey_);
}
- placeholderkey_ = placeholderkey;
+ _impl_.placeholderkey_ = placeholderkey;
if (placeholderkey) {
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ContextInfo.placeholderKey)
}
inline ::proto::MessageKey* ContextInfo::release_placeholderkey() {
- _has_bits_[0] &= ~0x00000100u;
- ::proto::MessageKey* temp = placeholderkey_;
- placeholderkey_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ ::proto::MessageKey* temp = _impl_.placeholderkey_;
+ _impl_.placeholderkey_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -26360,18 +27016,18 @@ inline ::proto::MessageKey* ContextInfo::release_placeholderkey() {
}
inline ::proto::MessageKey* ContextInfo::unsafe_arena_release_placeholderkey() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.placeholderKey)
- _has_bits_[0] &= ~0x00000100u;
- ::proto::MessageKey* temp = placeholderkey_;
- placeholderkey_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ ::proto::MessageKey* temp = _impl_.placeholderkey_;
+ _impl_.placeholderkey_ = nullptr;
return temp;
}
inline ::proto::MessageKey* ContextInfo::_internal_mutable_placeholderkey() {
- _has_bits_[0] |= 0x00000100u;
- if (placeholderkey_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ if (_impl_.placeholderkey_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
- placeholderkey_ = p;
+ _impl_.placeholderkey_ = p;
}
- return placeholderkey_;
+ return _impl_.placeholderkey_;
}
inline ::proto::MessageKey* ContextInfo::mutable_placeholderkey() {
::proto::MessageKey* _msg = _internal_mutable_placeholderkey();
@@ -26381,90 +27037,90 @@ inline ::proto::MessageKey* ContextInfo::mutable_placeholderkey() {
inline void ContextInfo::set_allocated_placeholderkey(::proto::MessageKey* placeholderkey) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete placeholderkey_;
+ delete _impl_.placeholderkey_;
}
if (placeholderkey) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(placeholderkey);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(placeholderkey);
if (message_arena != submessage_arena) {
placeholderkey = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, placeholderkey, submessage_arena);
}
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
- placeholderkey_ = placeholderkey;
+ _impl_.placeholderkey_ = placeholderkey;
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.placeholderKey)
}
// optional uint32 expiration = 25;
inline bool ContextInfo::_internal_has_expiration() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool ContextInfo::has_expiration() const {
return _internal_has_expiration();
}
inline void ContextInfo::clear_expiration() {
- expiration_ = 0u;
- _has_bits_[0] &= ~0x00002000u;
+ _impl_.expiration_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ContextInfo::_internal_expiration() const {
- return expiration_;
+inline uint32_t ContextInfo::_internal_expiration() const {
+ return _impl_.expiration_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ContextInfo::expiration() const {
+inline uint32_t ContextInfo::expiration() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.expiration)
return _internal_expiration();
}
-inline void ContextInfo::_internal_set_expiration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00002000u;
- expiration_ = value;
+inline void ContextInfo::_internal_set_expiration(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00002000u;
+ _impl_.expiration_ = value;
}
-inline void ContextInfo::set_expiration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ContextInfo::set_expiration(uint32_t value) {
_internal_set_expiration(value);
// @@protoc_insertion_point(field_set:proto.ContextInfo.expiration)
}
// optional int64 ephemeralSettingTimestamp = 26;
inline bool ContextInfo::_internal_has_ephemeralsettingtimestamp() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool ContextInfo::has_ephemeralsettingtimestamp() const {
return _internal_has_ephemeralsettingtimestamp();
}
inline void ContextInfo::clear_ephemeralsettingtimestamp() {
- ephemeralsettingtimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00004000u;
+ _impl_.ephemeralsettingtimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 ContextInfo::_internal_ephemeralsettingtimestamp() const {
- return ephemeralsettingtimestamp_;
+inline int64_t ContextInfo::_internal_ephemeralsettingtimestamp() const {
+ return _impl_.ephemeralsettingtimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 ContextInfo::ephemeralsettingtimestamp() const {
+inline int64_t ContextInfo::ephemeralsettingtimestamp() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.ephemeralSettingTimestamp)
return _internal_ephemeralsettingtimestamp();
}
-inline void ContextInfo::_internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00004000u;
- ephemeralsettingtimestamp_ = value;
+inline void ContextInfo::_internal_set_ephemeralsettingtimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00004000u;
+ _impl_.ephemeralsettingtimestamp_ = value;
}
-inline void ContextInfo::set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void ContextInfo::set_ephemeralsettingtimestamp(int64_t value) {
_internal_set_ephemeralsettingtimestamp(value);
// @@protoc_insertion_point(field_set:proto.ContextInfo.ephemeralSettingTimestamp)
}
// optional bytes ephemeralSharedSecret = 27;
inline bool ContextInfo::_internal_has_ephemeralsharedsecret() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool ContextInfo::has_ephemeralsharedsecret() const {
return _internal_has_ephemeralsharedsecret();
}
inline void ContextInfo::clear_ephemeralsharedsecret() {
- ephemeralsharedsecret_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.ephemeralsharedsecret_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& ContextInfo::ephemeralsharedsecret() const {
// @@protoc_insertion_point(field_get:proto.ContextInfo.ephemeralSharedSecret)
@@ -26473,8 +27129,8 @@ inline const std::string& ContextInfo::ephemeralsharedsecret() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.ephemeralsharedsecret_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContextInfo.ephemeralSharedSecret)
}
inline std::string* ContextInfo::mutable_ephemeralsharedsecret() {
@@ -26483,50 +27139,60 @@ inline std::string* ContextInfo::mutable_ephemeralsharedsecret() {
return _s;
}
inline const std::string& ContextInfo::_internal_ephemeralsharedsecret() const {
- return ephemeralsharedsecret_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.ephemeralsharedsecret_.Set(value, GetArenaForAllocation());
}
inline std::string* ContextInfo::_internal_mutable_ephemeralsharedsecret() {
- _has_bits_[0] |= 0x00000020u;
- return ephemeralsharedsecret_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.ephemeralsharedsecret_.Mutable(GetArenaForAllocation());
}
inline std::string* ContextInfo::release_ephemeralsharedsecret() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.ephemeralSharedSecret)
if (!_internal_has_ephemeralsharedsecret()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return ephemeralsharedsecret_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.ephemeralsharedsecret_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.ephemeralsharedsecret_.IsDefault()) {
+ _impl_.ephemeralsharedsecret_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContextInfo::set_allocated_ephemeralsharedsecret(std::string* ephemeralsharedsecret) {
if (ephemeralsharedsecret != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- ephemeralsharedsecret_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ephemeralsharedsecret,
- GetArenaForAllocation());
+ _impl_.ephemeralsharedsecret_.SetAllocated(ephemeralsharedsecret, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.ephemeralsharedsecret_.IsDefault()) {
+ _impl_.ephemeralsharedsecret_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.ephemeralSharedSecret)
}
// optional .proto.ExternalAdReplyInfo externalAdReply = 28;
inline bool ContextInfo::_internal_has_externaladreply() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
- PROTOBUF_ASSUME(!value || externaladreply_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.externaladreply_ != nullptr);
return value;
}
inline bool ContextInfo::has_externaladreply() const {
return _internal_has_externaladreply();
}
inline void ContextInfo::clear_externaladreply() {
- if (externaladreply_ != nullptr) externaladreply_->Clear();
- _has_bits_[0] &= ~0x00000200u;
+ if (_impl_.externaladreply_ != nullptr) _impl_.externaladreply_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
inline const ::proto::ExternalAdReplyInfo& ContextInfo::_internal_externaladreply() const {
- const ::proto::ExternalAdReplyInfo* p = externaladreply_;
+ const ::proto::ExternalAdReplyInfo* p = _impl_.externaladreply_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ExternalAdReplyInfo&>(
::proto::_ExternalAdReplyInfo_default_instance_);
}
@@ -26537,20 +27203,20 @@ inline const ::proto::ExternalAdReplyInfo& ContextInfo::externaladreply() const
inline void ContextInfo::unsafe_arena_set_allocated_externaladreply(
::proto::ExternalAdReplyInfo* externaladreply) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(externaladreply_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.externaladreply_);
}
- externaladreply_ = externaladreply;
+ _impl_.externaladreply_ = externaladreply;
if (externaladreply) {
- _has_bits_[0] |= 0x00000200u;
+ _impl_._has_bits_[0] |= 0x00000200u;
} else {
- _has_bits_[0] &= ~0x00000200u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ContextInfo.externalAdReply)
}
inline ::proto::ExternalAdReplyInfo* ContextInfo::release_externaladreply() {
- _has_bits_[0] &= ~0x00000200u;
- ::proto::ExternalAdReplyInfo* temp = externaladreply_;
- externaladreply_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ ::proto::ExternalAdReplyInfo* temp = _impl_.externaladreply_;
+ _impl_.externaladreply_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -26564,18 +27230,18 @@ inline ::proto::ExternalAdReplyInfo* ContextInfo::release_externaladreply() {
}
inline ::proto::ExternalAdReplyInfo* ContextInfo::unsafe_arena_release_externaladreply() {
// @@protoc_insertion_point(field_release:proto.ContextInfo.externalAdReply)
- _has_bits_[0] &= ~0x00000200u;
- ::proto::ExternalAdReplyInfo* temp = externaladreply_;
- externaladreply_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ ::proto::ExternalAdReplyInfo* temp = _impl_.externaladreply_;
+ _impl_.externaladreply_ = nullptr;
return temp;
}
inline ::proto::ExternalAdReplyInfo* ContextInfo::_internal_mutable_externaladreply() {
- _has_bits_[0] |= 0x00000200u;
- if (externaladreply_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ if (_impl_.externaladreply_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ExternalAdReplyInfo>(GetArenaForAllocation());
- externaladreply_ = p;
+ _impl_.externaladreply_ = p;
}
- return externaladreply_;
+ return _impl_.externaladreply_;
}
inline ::proto::ExternalAdReplyInfo* ContextInfo::mutable_externaladreply() {
::proto::ExternalAdReplyInfo* _msg = _internal_mutable_externaladreply();
@@ -26585,20 +27251,20 @@ inline ::proto::ExternalAdReplyInfo* ContextInfo::mutable_externaladreply() {
inline void ContextInfo::set_allocated_externaladreply(::proto::ExternalAdReplyInfo* externaladreply) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete externaladreply_;
+ delete _impl_.externaladreply_;
}
if (externaladreply) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ExternalAdReplyInfo>::GetOwningArena(externaladreply);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(externaladreply);
if (message_arena != submessage_arena) {
externaladreply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, externaladreply, submessage_arena);
}
- _has_bits_[0] |= 0x00000200u;
+ _impl_._has_bits_[0] |= 0x00000200u;
} else {
- _has_bits_[0] &= ~0x00000200u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
- externaladreply_ = externaladreply;
+ _impl_.externaladreply_ = externaladreply;
// @@protoc_insertion_point(field_set_allocated:proto.ContextInfo.externalAdReply)
}
@@ -26608,15 +27274,15 @@ inline void ContextInfo::set_allocated_externaladreply(::proto::ExternalAdReplyI
// optional string groupId = 1;
inline bool SenderKeyDistributionMessage::_internal_has_groupid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool SenderKeyDistributionMessage::has_groupid() const {
return _internal_has_groupid();
}
inline void SenderKeyDistributionMessage::clear_groupid() {
- groupid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.groupid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& SenderKeyDistributionMessage::groupid() const {
// @@protoc_insertion_point(field_get:proto.SenderKeyDistributionMessage.groupId)
@@ -26625,8 +27291,8 @@ inline const std::string& SenderKeyDistributionMessage::groupid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.groupid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.SenderKeyDistributionMessage.groupId)
}
inline std::string* SenderKeyDistributionMessage::mutable_groupid() {
@@ -26635,46 +27301,56 @@ inline std::string* SenderKeyDistributionMessage::mutable_groupid() {
return _s;
}
inline const std::string& SenderKeyDistributionMessage::_internal_groupid() const {
- return groupid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.groupid_.Set(value, GetArenaForAllocation());
}
inline std::string* SenderKeyDistributionMessage::_internal_mutable_groupid() {
- _has_bits_[0] |= 0x00000001u;
- return groupid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.groupid_.Mutable(GetArenaForAllocation());
}
inline std::string* SenderKeyDistributionMessage::release_groupid() {
// @@protoc_insertion_point(field_release:proto.SenderKeyDistributionMessage.groupId)
if (!_internal_has_groupid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return groupid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.groupid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.groupid_.IsDefault()) {
+ _impl_.groupid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void SenderKeyDistributionMessage::set_allocated_groupid(std::string* groupid) {
if (groupid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- groupid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), groupid,
- GetArenaForAllocation());
+ _impl_.groupid_.SetAllocated(groupid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.groupid_.IsDefault()) {
+ _impl_.groupid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.SenderKeyDistributionMessage.groupId)
}
// optional bytes axolotlSenderKeyDistributionMessage = 2;
inline bool SenderKeyDistributionMessage::_internal_has_axolotlsenderkeydistributionmessage() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool SenderKeyDistributionMessage::has_axolotlsenderkeydistributionmessage() const {
return _internal_has_axolotlsenderkeydistributionmessage();
}
inline void SenderKeyDistributionMessage::clear_axolotlsenderkeydistributionmessage() {
- axolotlsenderkeydistributionmessage_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.axolotlsenderkeydistributionmessage_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& SenderKeyDistributionMessage::axolotlsenderkeydistributionmessage() const {
// @@protoc_insertion_point(field_get:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
@@ -26683,8 +27359,8 @@ inline const std::string& SenderKeyDistributionMessage::axolotlsenderkeydistribu
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.axolotlsenderkeydistributionmessage_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
}
inline std::string* SenderKeyDistributionMessage::mutable_axolotlsenderkeydistributionmessage() {
@@ -26693,32 +27369,42 @@ inline std::string* SenderKeyDistributionMessage::mutable_axolotlsenderkeydistri
return _s;
}
inline const std::string& SenderKeyDistributionMessage::_internal_axolotlsenderkeydistributionmessage() const {
- return axolotlsenderkeydistributionmessage_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.axolotlsenderkeydistributionmessage_.Set(value, GetArenaForAllocation());
}
inline std::string* SenderKeyDistributionMessage::_internal_mutable_axolotlsenderkeydistributionmessage() {
- _has_bits_[0] |= 0x00000002u;
- return axolotlsenderkeydistributionmessage_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.axolotlsenderkeydistributionmessage_.Mutable(GetArenaForAllocation());
}
inline std::string* SenderKeyDistributionMessage::release_axolotlsenderkeydistributionmessage() {
// @@protoc_insertion_point(field_release:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
if (!_internal_has_axolotlsenderkeydistributionmessage()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return axolotlsenderkeydistributionmessage_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.axolotlsenderkeydistributionmessage_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.axolotlsenderkeydistributionmessage_.IsDefault()) {
+ _impl_.axolotlsenderkeydistributionmessage_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void SenderKeyDistributionMessage::set_allocated_axolotlsenderkeydistributionmessage(std::string* axolotlsenderkeydistributionmessage) {
if (axolotlsenderkeydistributionmessage != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- axolotlsenderkeydistributionmessage_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), axolotlsenderkeydistributionmessage,
- GetArenaForAllocation());
+ _impl_.axolotlsenderkeydistributionmessage_.SetAllocated(axolotlsenderkeydistributionmessage, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.axolotlsenderkeydistributionmessage_.IsDefault()) {
+ _impl_.axolotlsenderkeydistributionmessage_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.SenderKeyDistributionMessage.axolotlSenderKeyDistributionMessage)
}
@@ -26728,15 +27414,15 @@ inline void SenderKeyDistributionMessage::set_allocated_axolotlsenderkeydistribu
// optional string url = 1;
inline bool ImageMessage::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ImageMessage::has_url() const {
return _internal_has_url();
}
inline void ImageMessage::clear_url() {
- url_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.url_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ImageMessage::url() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.url)
@@ -26745,8 +27431,8 @@ inline const std::string& ImageMessage::url() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.url)
}
inline std::string* ImageMessage::mutable_url() {
@@ -26755,46 +27441,56 @@ inline std::string* ImageMessage::mutable_url() {
return _s;
}
inline const std::string& ImageMessage::_internal_url() const {
- return url_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.url_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.url)
if (!_internal_has_url()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.url_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.url_.SetAllocated(url, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
}
- url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.url)
}
// optional string mimetype = 2;
inline bool ImageMessage::_internal_has_mimetype() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ImageMessage::has_mimetype() const {
return _internal_has_mimetype();
}
inline void ImageMessage::clear_mimetype() {
- mimetype_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.mimetype_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ImageMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.mimetype)
@@ -26803,8 +27499,8 @@ inline const std::string& ImageMessage::mimetype() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mimetype_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.mimetype)
}
inline std::string* ImageMessage::mutable_mimetype() {
@@ -26813,46 +27509,56 @@ inline std::string* ImageMessage::mutable_mimetype() {
return _s;
}
inline const std::string& ImageMessage::_internal_mimetype() const {
- return mimetype_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mimetype_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_mimetype() {
- _has_bits_[0] |= 0x00000002u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.mimetype_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.mimetype)
if (!_internal_has_mimetype()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.mimetype_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.mimetype_.SetAllocated(mimetype, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
}
- mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.mimetype)
}
// optional string caption = 3;
inline bool ImageMessage::_internal_has_caption() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool ImageMessage::has_caption() const {
return _internal_has_caption();
}
inline void ImageMessage::clear_caption() {
- caption_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.caption_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& ImageMessage::caption() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.caption)
@@ -26861,8 +27567,8 @@ inline const std::string& ImageMessage::caption() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.caption_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.caption)
}
inline std::string* ImageMessage::mutable_caption() {
@@ -26871,46 +27577,56 @@ inline std::string* ImageMessage::mutable_caption() {
return _s;
}
inline const std::string& ImageMessage::_internal_caption() const {
- return caption_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.caption_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_caption() {
- _has_bits_[0] |= 0x00000004u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.caption_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_caption() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.caption)
if (!_internal_has_caption()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.caption_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.caption_.SetAllocated(caption, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
}
- caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.caption)
}
// optional bytes fileSha256 = 4;
inline bool ImageMessage::_internal_has_filesha256() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool ImageMessage::has_filesha256() const {
return _internal_has_filesha256();
}
inline void ImageMessage::clear_filesha256() {
- filesha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.filesha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& ImageMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.fileSha256)
@@ -26919,8 +27635,8 @@ inline const std::string& ImageMessage::filesha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.filesha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.fileSha256)
}
inline std::string* ImageMessage::mutable_filesha256() {
@@ -26929,130 +27645,140 @@ inline std::string* ImageMessage::mutable_filesha256() {
return _s;
}
inline const std::string& ImageMessage::_internal_filesha256() const {
- return filesha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.filesha256_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_filesha256() {
- _has_bits_[0] |= 0x00000008u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.filesha256_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.fileSha256)
if (!_internal_has_filesha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.filesha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.filesha256_.SetAllocated(filesha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
}
- filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.fileSha256)
}
// optional uint64 fileLength = 5;
inline bool ImageMessage::_internal_has_filelength() const {
- bool value = (_has_bits_[0] & 0x00010000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
return value;
}
inline bool ImageMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void ImageMessage::clear_filelength() {
- filelength_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00010000u;
+ _impl_.filelength_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00010000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 ImageMessage::_internal_filelength() const {
- return filelength_;
+inline uint64_t ImageMessage::_internal_filelength() const {
+ return _impl_.filelength_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 ImageMessage::filelength() const {
+inline uint64_t ImageMessage::filelength() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.fileLength)
return _internal_filelength();
}
-inline void ImageMessage::_internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00010000u;
- filelength_ = value;
+inline void ImageMessage::_internal_set_filelength(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00010000u;
+ _impl_.filelength_ = value;
}
-inline void ImageMessage::set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void ImageMessage::set_filelength(uint64_t value) {
_internal_set_filelength(value);
// @@protoc_insertion_point(field_set:proto.ImageMessage.fileLength)
}
// optional uint32 height = 6;
inline bool ImageMessage::_internal_has_height() const {
- bool value = (_has_bits_[0] & 0x00020000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
return value;
}
inline bool ImageMessage::has_height() const {
return _internal_has_height();
}
inline void ImageMessage::clear_height() {
- height_ = 0u;
- _has_bits_[0] &= ~0x00020000u;
+ _impl_.height_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00020000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::_internal_height() const {
- return height_;
+inline uint32_t ImageMessage::_internal_height() const {
+ return _impl_.height_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::height() const {
+inline uint32_t ImageMessage::height() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.height)
return _internal_height();
}
-inline void ImageMessage::_internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00020000u;
- height_ = value;
+inline void ImageMessage::_internal_set_height(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00020000u;
+ _impl_.height_ = value;
}
-inline void ImageMessage::set_height(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ImageMessage::set_height(uint32_t value) {
_internal_set_height(value);
// @@protoc_insertion_point(field_set:proto.ImageMessage.height)
}
// optional uint32 width = 7;
inline bool ImageMessage::_internal_has_width() const {
- bool value = (_has_bits_[0] & 0x00040000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
return value;
}
inline bool ImageMessage::has_width() const {
return _internal_has_width();
}
inline void ImageMessage::clear_width() {
- width_ = 0u;
- _has_bits_[0] &= ~0x00040000u;
+ _impl_.width_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00040000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::_internal_width() const {
- return width_;
+inline uint32_t ImageMessage::_internal_width() const {
+ return _impl_.width_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::width() const {
+inline uint32_t ImageMessage::width() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.width)
return _internal_width();
}
-inline void ImageMessage::_internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00040000u;
- width_ = value;
+inline void ImageMessage::_internal_set_width(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00040000u;
+ _impl_.width_ = value;
}
-inline void ImageMessage::set_width(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ImageMessage::set_width(uint32_t value) {
_internal_set_width(value);
// @@protoc_insertion_point(field_set:proto.ImageMessage.width)
}
// optional bytes mediaKey = 8;
inline bool ImageMessage::_internal_has_mediakey() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool ImageMessage::has_mediakey() const {
return _internal_has_mediakey();
}
inline void ImageMessage::clear_mediakey() {
- mediakey_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.mediakey_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& ImageMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.mediaKey)
@@ -27061,8 +27787,8 @@ inline const std::string& ImageMessage::mediakey() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.mediakey_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.mediaKey)
}
inline std::string* ImageMessage::mutable_mediakey() {
@@ -27071,46 +27797,56 @@ inline std::string* ImageMessage::mutable_mediakey() {
return _s;
}
inline const std::string& ImageMessage::_internal_mediakey() const {
- return mediakey_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.mediakey_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_mediakey() {
- _has_bits_[0] |= 0x00000010u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.mediakey_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.mediaKey)
if (!_internal_has_mediakey()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.mediakey_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArenaForAllocation());
+ _impl_.mediakey_.SetAllocated(mediakey, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.mediaKey)
}
// optional bytes fileEncSha256 = 9;
inline bool ImageMessage::_internal_has_fileencsha256() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool ImageMessage::has_fileencsha256() const {
return _internal_has_fileencsha256();
}
inline void ImageMessage::clear_fileencsha256() {
- fileencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.fileencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& ImageMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.fileEncSha256)
@@ -27119,8 +27855,8 @@ inline const std::string& ImageMessage::fileencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.fileencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.fileEncSha256)
}
inline std::string* ImageMessage::mutable_fileencsha256() {
@@ -27129,63 +27865,73 @@ inline std::string* ImageMessage::mutable_fileencsha256() {
return _s;
}
inline const std::string& ImageMessage::_internal_fileencsha256() const {
- return fileencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.fileencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_fileencsha256() {
- _has_bits_[0] |= 0x00000020u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.fileencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.fileEncSha256)
if (!_internal_has_fileencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.fileencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArenaForAllocation());
+ _impl_.fileencsha256_.SetAllocated(fileencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.fileEncSha256)
}
// repeated .proto.InteractiveAnnotation interactiveAnnotations = 10;
inline int ImageMessage::_internal_interactiveannotations_size() const {
- return interactiveannotations_.size();
+ return _impl_.interactiveannotations_.size();
}
inline int ImageMessage::interactiveannotations_size() const {
return _internal_interactiveannotations_size();
}
inline void ImageMessage::clear_interactiveannotations() {
- interactiveannotations_.Clear();
+ _impl_.interactiveannotations_.Clear();
}
inline ::proto::InteractiveAnnotation* ImageMessage::mutable_interactiveannotations(int index) {
// @@protoc_insertion_point(field_mutable:proto.ImageMessage.interactiveAnnotations)
- return interactiveannotations_.Mutable(index);
+ return _impl_.interactiveannotations_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation >*
ImageMessage::mutable_interactiveannotations() {
// @@protoc_insertion_point(field_mutable_list:proto.ImageMessage.interactiveAnnotations)
- return &interactiveannotations_;
+ return &_impl_.interactiveannotations_;
}
inline const ::proto::InteractiveAnnotation& ImageMessage::_internal_interactiveannotations(int index) const {
- return interactiveannotations_.Get(index);
+ return _impl_.interactiveannotations_.Get(index);
}
inline const ::proto::InteractiveAnnotation& ImageMessage::interactiveannotations(int index) const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.interactiveAnnotations)
return _internal_interactiveannotations(index);
}
inline ::proto::InteractiveAnnotation* ImageMessage::_internal_add_interactiveannotations() {
- return interactiveannotations_.Add();
+ return _impl_.interactiveannotations_.Add();
}
inline ::proto::InteractiveAnnotation* ImageMessage::add_interactiveannotations() {
::proto::InteractiveAnnotation* _add = _internal_add_interactiveannotations();
@@ -27195,20 +27941,20 @@ inline ::proto::InteractiveAnnotation* ImageMessage::add_interactiveannotations(
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation >&
ImageMessage::interactiveannotations() const {
// @@protoc_insertion_point(field_list:proto.ImageMessage.interactiveAnnotations)
- return interactiveannotations_;
+ return _impl_.interactiveannotations_;
}
// optional string directPath = 11;
inline bool ImageMessage::_internal_has_directpath() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool ImageMessage::has_directpath() const {
return _internal_has_directpath();
}
inline void ImageMessage::clear_directpath() {
- directpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.directpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& ImageMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.directPath)
@@ -27217,8 +27963,8 @@ inline const std::string& ImageMessage::directpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.directpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.directPath)
}
inline std::string* ImageMessage::mutable_directpath() {
@@ -27227,74 +27973,84 @@ inline std::string* ImageMessage::mutable_directpath() {
return _s;
}
inline const std::string& ImageMessage::_internal_directpath() const {
- return directpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.directpath_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_directpath() {
- _has_bits_[0] |= 0x00000040u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.directpath_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.directPath)
if (!_internal_has_directpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.directpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArenaForAllocation());
+ _impl_.directpath_.SetAllocated(directpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.directPath)
}
// optional int64 mediaKeyTimestamp = 12;
inline bool ImageMessage::_internal_has_mediakeytimestamp() const {
- bool value = (_has_bits_[0] & 0x00080000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
return value;
}
inline bool ImageMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void ImageMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00080000u;
+ _impl_.mediakeytimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00080000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 ImageMessage::_internal_mediakeytimestamp() const {
- return mediakeytimestamp_;
+inline int64_t ImageMessage::_internal_mediakeytimestamp() const {
+ return _impl_.mediakeytimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 ImageMessage::mediakeytimestamp() const {
+inline int64_t ImageMessage::mediakeytimestamp() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.mediaKeyTimestamp)
return _internal_mediakeytimestamp();
}
-inline void ImageMessage::_internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00080000u;
- mediakeytimestamp_ = value;
+inline void ImageMessage::_internal_set_mediakeytimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00080000u;
+ _impl_.mediakeytimestamp_ = value;
}
-inline void ImageMessage::set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void ImageMessage::set_mediakeytimestamp(int64_t value) {
_internal_set_mediakeytimestamp(value);
// @@protoc_insertion_point(field_set:proto.ImageMessage.mediaKeyTimestamp)
}
// optional bytes jpegThumbnail = 16;
inline bool ImageMessage::_internal_has_jpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool ImageMessage::has_jpegthumbnail() const {
return _internal_has_jpegthumbnail();
}
inline void ImageMessage::clear_jpegthumbnail() {
- jpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.jpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const std::string& ImageMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.jpegThumbnail)
@@ -27303,8 +28059,8 @@ inline const std::string& ImageMessage::jpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.jpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.jpegThumbnail)
}
inline std::string* ImageMessage::mutable_jpegthumbnail() {
@@ -27313,50 +28069,60 @@ inline std::string* ImageMessage::mutable_jpegthumbnail() {
return _s;
}
inline const std::string& ImageMessage::_internal_jpegthumbnail() const {
- return jpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.jpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_jpegthumbnail() {
- _has_bits_[0] |= 0x00000080u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ return _impl_.jpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.jpegThumbnail)
if (!_internal_has_jpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000080u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ auto* p = _impl_.jpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ }
+ _impl_.jpegthumbnail_.SetAllocated(jpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
}
- jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.jpegThumbnail)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool ImageMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00008000u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool ImageMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void ImageMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00008000u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
inline const ::proto::ContextInfo& ImageMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -27367,20 +28133,20 @@ inline const ::proto::ContextInfo& ImageMessage::contextinfo() const {
inline void ImageMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00008000u;
+ _impl_._has_bits_[0] |= 0x00008000u;
} else {
- _has_bits_[0] &= ~0x00008000u;
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ImageMessage.contextInfo)
}
inline ::proto::ContextInfo* ImageMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00008000u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00008000u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -27394,18 +28160,18 @@ inline ::proto::ContextInfo* ImageMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* ImageMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.contextInfo)
- _has_bits_[0] &= ~0x00008000u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00008000u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* ImageMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00008000u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00008000u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* ImageMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -27415,34 +28181,34 @@ inline ::proto::ContextInfo* ImageMessage::mutable_contextinfo() {
inline void ImageMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00008000u;
+ _impl_._has_bits_[0] |= 0x00008000u;
} else {
- _has_bits_[0] &= ~0x00008000u;
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.contextInfo)
}
// optional bytes firstScanSidecar = 18;
inline bool ImageMessage::_internal_has_firstscansidecar() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool ImageMessage::has_firstscansidecar() const {
return _internal_has_firstscansidecar();
}
inline void ImageMessage::clear_firstscansidecar() {
- firstscansidecar_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.firstscansidecar_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline const std::string& ImageMessage::firstscansidecar() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.firstScanSidecar)
@@ -27451,8 +28217,8 @@ inline const std::string& ImageMessage::firstscansidecar() const {
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());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.firstscansidecar_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.firstScanSidecar)
}
inline std::string* ImageMessage::mutable_firstscansidecar() {
@@ -27461,102 +28227,112 @@ inline std::string* ImageMessage::mutable_firstscansidecar() {
return _s;
}
inline const std::string& ImageMessage::_internal_firstscansidecar() const {
- return firstscansidecar_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.firstscansidecar_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_firstscansidecar() {
- _has_bits_[0] |= 0x00000100u;
- return firstscansidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ return _impl_.firstscansidecar_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_firstscansidecar() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.firstScanSidecar)
if (!_internal_has_firstscansidecar()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000100u;
- return firstscansidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ auto* p = _impl_.firstscansidecar_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.firstscansidecar_.IsDefault()) {
+ _impl_.firstscansidecar_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_firstscansidecar(std::string* firstscansidecar) {
if (firstscansidecar != nullptr) {
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ }
+ _impl_.firstscansidecar_.SetAllocated(firstscansidecar, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.firstscansidecar_.IsDefault()) {
+ _impl_.firstscansidecar_.Set("", GetArenaForAllocation());
}
- firstscansidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), firstscansidecar,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.firstScanSidecar)
}
// optional uint32 firstScanLength = 19;
inline bool ImageMessage::_internal_has_firstscanlength() const {
- bool value = (_has_bits_[0] & 0x00100000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
return value;
}
inline bool ImageMessage::has_firstscanlength() const {
return _internal_has_firstscanlength();
}
inline void ImageMessage::clear_firstscanlength() {
- firstscanlength_ = 0u;
- _has_bits_[0] &= ~0x00100000u;
+ _impl_.firstscanlength_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00100000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::_internal_firstscanlength() const {
- return firstscanlength_;
+inline uint32_t ImageMessage::_internal_firstscanlength() const {
+ return _impl_.firstscanlength_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::firstscanlength() const {
+inline uint32_t ImageMessage::firstscanlength() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.firstScanLength)
return _internal_firstscanlength();
}
-inline void ImageMessage::_internal_set_firstscanlength(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00100000u;
- firstscanlength_ = value;
+inline void ImageMessage::_internal_set_firstscanlength(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00100000u;
+ _impl_.firstscanlength_ = value;
}
-inline void ImageMessage::set_firstscanlength(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ImageMessage::set_firstscanlength(uint32_t value) {
_internal_set_firstscanlength(value);
// @@protoc_insertion_point(field_set:proto.ImageMessage.firstScanLength)
}
// optional uint32 experimentGroupId = 20;
inline bool ImageMessage::_internal_has_experimentgroupid() const {
- bool value = (_has_bits_[0] & 0x00200000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
return value;
}
inline bool ImageMessage::has_experimentgroupid() const {
return _internal_has_experimentgroupid();
}
inline void ImageMessage::clear_experimentgroupid() {
- experimentgroupid_ = 0u;
- _has_bits_[0] &= ~0x00200000u;
+ _impl_.experimentgroupid_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00200000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::_internal_experimentgroupid() const {
- return experimentgroupid_;
+inline uint32_t ImageMessage::_internal_experimentgroupid() const {
+ return _impl_.experimentgroupid_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::experimentgroupid() const {
+inline uint32_t ImageMessage::experimentgroupid() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.experimentGroupId)
return _internal_experimentgroupid();
}
-inline void ImageMessage::_internal_set_experimentgroupid(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00200000u;
- experimentgroupid_ = value;
+inline void ImageMessage::_internal_set_experimentgroupid(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00200000u;
+ _impl_.experimentgroupid_ = value;
}
-inline void ImageMessage::set_experimentgroupid(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ImageMessage::set_experimentgroupid(uint32_t value) {
_internal_set_experimentgroupid(value);
// @@protoc_insertion_point(field_set:proto.ImageMessage.experimentGroupId)
}
// optional bytes scansSidecar = 21;
inline bool ImageMessage::_internal_has_scanssidecar() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool ImageMessage::has_scanssidecar() const {
return _internal_has_scanssidecar();
}
inline void ImageMessage::clear_scanssidecar() {
- scanssidecar_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.scanssidecar_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
inline const std::string& ImageMessage::scanssidecar() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.scansSidecar)
@@ -27565,8 +28341,8 @@ inline const std::string& ImageMessage::scanssidecar() const {
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());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.scanssidecar_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.scansSidecar)
}
inline std::string* ImageMessage::mutable_scanssidecar() {
@@ -27575,77 +28351,87 @@ inline std::string* ImageMessage::mutable_scanssidecar() {
return _s;
}
inline const std::string& ImageMessage::_internal_scanssidecar() const {
- return scanssidecar_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.scanssidecar_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_scanssidecar() {
- _has_bits_[0] |= 0x00000200u;
- return scanssidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ return _impl_.scanssidecar_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_scanssidecar() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.scansSidecar)
if (!_internal_has_scanssidecar()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000200u;
- return scanssidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ auto* p = _impl_.scanssidecar_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.scanssidecar_.IsDefault()) {
+ _impl_.scanssidecar_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_scanssidecar(std::string* scanssidecar) {
if (scanssidecar != nullptr) {
- _has_bits_[0] |= 0x00000200u;
+ _impl_._has_bits_[0] |= 0x00000200u;
} else {
- _has_bits_[0] &= ~0x00000200u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ }
+ _impl_.scanssidecar_.SetAllocated(scanssidecar, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.scanssidecar_.IsDefault()) {
+ _impl_.scanssidecar_.Set("", GetArenaForAllocation());
}
- scanssidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), scanssidecar,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.scansSidecar)
}
// repeated uint32 scanLengths = 22;
inline int ImageMessage::_internal_scanlengths_size() const {
- return scanlengths_.size();
+ return _impl_.scanlengths_.size();
}
inline int ImageMessage::scanlengths_size() const {
return _internal_scanlengths_size();
}
inline void ImageMessage::clear_scanlengths() {
- scanlengths_.Clear();
+ _impl_.scanlengths_.Clear();
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::_internal_scanlengths(int index) const {
- return scanlengths_.Get(index);
+inline uint32_t ImageMessage::_internal_scanlengths(int index) const {
+ return _impl_.scanlengths_.Get(index);
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ImageMessage::scanlengths(int index) const {
+inline uint32_t ImageMessage::scanlengths(int index) const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.scanLengths)
return _internal_scanlengths(index);
}
-inline void ImageMessage::set_scanlengths(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) {
- scanlengths_.Set(index, value);
+inline void ImageMessage::set_scanlengths(int index, uint32_t value) {
+ _impl_.scanlengths_.Set(index, value);
// @@protoc_insertion_point(field_set:proto.ImageMessage.scanLengths)
}
-inline void ImageMessage::_internal_add_scanlengths(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- scanlengths_.Add(value);
+inline void ImageMessage::_internal_add_scanlengths(uint32_t value) {
+ _impl_.scanlengths_.Add(value);
}
-inline void ImageMessage::add_scanlengths(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ImageMessage::add_scanlengths(uint32_t value) {
_internal_add_scanlengths(value);
// @@protoc_insertion_point(field_add:proto.ImageMessage.scanLengths)
}
-inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
+inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
ImageMessage::_internal_scanlengths() const {
- return scanlengths_;
+ return _impl_.scanlengths_;
}
-inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
+inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
ImageMessage::scanlengths() const {
// @@protoc_insertion_point(field_list:proto.ImageMessage.scanLengths)
return _internal_scanlengths();
}
-inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
+inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
ImageMessage::_internal_mutable_scanlengths() {
- return &scanlengths_;
+ return &_impl_.scanlengths_;
}
-inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
+inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
ImageMessage::mutable_scanlengths() {
// @@protoc_insertion_point(field_mutable_list:proto.ImageMessage.scanLengths)
return _internal_mutable_scanlengths();
@@ -27653,15 +28439,15 @@ ImageMessage::mutable_scanlengths() {
// optional bytes midQualityFileSha256 = 23;
inline bool ImageMessage::_internal_has_midqualityfilesha256() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool ImageMessage::has_midqualityfilesha256() const {
return _internal_has_midqualityfilesha256();
}
inline void ImageMessage::clear_midqualityfilesha256() {
- midqualityfilesha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.midqualityfilesha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline const std::string& ImageMessage::midqualityfilesha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.midQualityFileSha256)
@@ -27670,8 +28456,8 @@ inline const std::string& ImageMessage::midqualityfilesha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.midqualityfilesha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.midQualityFileSha256)
}
inline std::string* ImageMessage::mutable_midqualityfilesha256() {
@@ -27680,46 +28466,56 @@ inline std::string* ImageMessage::mutable_midqualityfilesha256() {
return _s;
}
inline const std::string& ImageMessage::_internal_midqualityfilesha256() const {
- return midqualityfilesha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.midqualityfilesha256_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_midqualityfilesha256() {
- _has_bits_[0] |= 0x00000400u;
- return midqualityfilesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ return _impl_.midqualityfilesha256_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_midqualityfilesha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.midQualityFileSha256)
if (!_internal_has_midqualityfilesha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000400u;
- return midqualityfilesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000400u;
+ auto* p = _impl_.midqualityfilesha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.midqualityfilesha256_.IsDefault()) {
+ _impl_.midqualityfilesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_midqualityfilesha256(std::string* midqualityfilesha256) {
if (midqualityfilesha256 != nullptr) {
- _has_bits_[0] |= 0x00000400u;
+ _impl_._has_bits_[0] |= 0x00000400u;
} else {
- _has_bits_[0] &= ~0x00000400u;
+ _impl_._has_bits_[0] &= ~0x00000400u;
+ }
+ _impl_.midqualityfilesha256_.SetAllocated(midqualityfilesha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.midqualityfilesha256_.IsDefault()) {
+ _impl_.midqualityfilesha256_.Set("", GetArenaForAllocation());
}
- midqualityfilesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), midqualityfilesha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.midQualityFileSha256)
}
// optional bytes midQualityFileEncSha256 = 24;
inline bool ImageMessage::_internal_has_midqualityfileencsha256() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool ImageMessage::has_midqualityfileencsha256() const {
return _internal_has_midqualityfileencsha256();
}
inline void ImageMessage::clear_midqualityfileencsha256() {
- midqualityfileencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.midqualityfileencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline const std::string& ImageMessage::midqualityfileencsha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.midQualityFileEncSha256)
@@ -27728,8 +28524,8 @@ inline const std::string& ImageMessage::midqualityfileencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.midqualityfileencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.midQualityFileEncSha256)
}
inline std::string* ImageMessage::mutable_midqualityfileencsha256() {
@@ -27738,57 +28534,67 @@ inline std::string* ImageMessage::mutable_midqualityfileencsha256() {
return _s;
}
inline const std::string& ImageMessage::_internal_midqualityfileencsha256() const {
- return midqualityfileencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.midqualityfileencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_midqualityfileencsha256() {
- _has_bits_[0] |= 0x00000800u;
- return midqualityfileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ return _impl_.midqualityfileencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_midqualityfileencsha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.midQualityFileEncSha256)
if (!_internal_has_midqualityfileencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000800u;
- return midqualityfileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000800u;
+ auto* p = _impl_.midqualityfileencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.midqualityfileencsha256_.IsDefault()) {
+ _impl_.midqualityfileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_midqualityfileencsha256(std::string* midqualityfileencsha256) {
if (midqualityfileencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000800u;
+ _impl_._has_bits_[0] |= 0x00000800u;
} else {
- _has_bits_[0] &= ~0x00000800u;
+ _impl_._has_bits_[0] &= ~0x00000800u;
+ }
+ _impl_.midqualityfileencsha256_.SetAllocated(midqualityfileencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.midqualityfileencsha256_.IsDefault()) {
+ _impl_.midqualityfileencsha256_.Set("", GetArenaForAllocation());
}
- midqualityfileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), midqualityfileencsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.midQualityFileEncSha256)
}
// optional bool viewOnce = 25;
inline bool ImageMessage::_internal_has_viewonce() const {
- bool value = (_has_bits_[0] & 0x00400000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
return value;
}
inline bool ImageMessage::has_viewonce() const {
return _internal_has_viewonce();
}
inline void ImageMessage::clear_viewonce() {
- viewonce_ = false;
- _has_bits_[0] &= ~0x00400000u;
+ _impl_.viewonce_ = false;
+ _impl_._has_bits_[0] &= ~0x00400000u;
}
inline bool ImageMessage::_internal_viewonce() const {
- return viewonce_;
+ return _impl_.viewonce_;
}
inline bool ImageMessage::viewonce() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.viewOnce)
return _internal_viewonce();
}
inline void ImageMessage::_internal_set_viewonce(bool value) {
- _has_bits_[0] |= 0x00400000u;
- viewonce_ = value;
+ _impl_._has_bits_[0] |= 0x00400000u;
+ _impl_.viewonce_ = value;
}
inline void ImageMessage::set_viewonce(bool value) {
_internal_set_viewonce(value);
@@ -27797,15 +28603,15 @@ inline void ImageMessage::set_viewonce(bool value) {
// optional string thumbnailDirectPath = 26;
inline bool ImageMessage::_internal_has_thumbnaildirectpath() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
return value;
}
inline bool ImageMessage::has_thumbnaildirectpath() const {
return _internal_has_thumbnaildirectpath();
}
inline void ImageMessage::clear_thumbnaildirectpath() {
- thumbnaildirectpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00001000u;
+ _impl_.thumbnaildirectpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
inline const std::string& ImageMessage::thumbnaildirectpath() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.thumbnailDirectPath)
@@ -27814,8 +28620,8 @@ inline const std::string& ImageMessage::thumbnaildirectpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00001000u;
+ _impl_.thumbnaildirectpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.thumbnailDirectPath)
}
inline std::string* ImageMessage::mutable_thumbnaildirectpath() {
@@ -27824,46 +28630,56 @@ inline std::string* ImageMessage::mutable_thumbnaildirectpath() {
return _s;
}
inline const std::string& ImageMessage::_internal_thumbnaildirectpath() const {
- return thumbnaildirectpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00001000u;
+ _impl_.thumbnaildirectpath_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_thumbnaildirectpath() {
- _has_bits_[0] |= 0x00001000u;
- return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00001000u;
+ return _impl_.thumbnaildirectpath_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_thumbnaildirectpath() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.thumbnailDirectPath)
if (!_internal_has_thumbnaildirectpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00001000u;
- return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00001000u;
+ auto* p = _impl_.thumbnaildirectpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnaildirectpath_.IsDefault()) {
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath) {
if (thumbnaildirectpath != nullptr) {
- _has_bits_[0] |= 0x00001000u;
+ _impl_._has_bits_[0] |= 0x00001000u;
} else {
- _has_bits_[0] &= ~0x00001000u;
+ _impl_._has_bits_[0] &= ~0x00001000u;
+ }
+ _impl_.thumbnaildirectpath_.SetAllocated(thumbnaildirectpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnaildirectpath_.IsDefault()) {
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
}
- thumbnaildirectpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnaildirectpath,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.thumbnailDirectPath)
}
// optional bytes thumbnailSha256 = 27;
inline bool ImageMessage::_internal_has_thumbnailsha256() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool ImageMessage::has_thumbnailsha256() const {
return _internal_has_thumbnailsha256();
}
inline void ImageMessage::clear_thumbnailsha256() {
- thumbnailsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00002000u;
+ _impl_.thumbnailsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
inline const std::string& ImageMessage::thumbnailsha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.thumbnailSha256)
@@ -27872,8 +28688,8 @@ inline const std::string& ImageMessage::thumbnailsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00002000u;
+ _impl_.thumbnailsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.thumbnailSha256)
}
inline std::string* ImageMessage::mutable_thumbnailsha256() {
@@ -27882,46 +28698,56 @@ inline std::string* ImageMessage::mutable_thumbnailsha256() {
return _s;
}
inline const std::string& ImageMessage::_internal_thumbnailsha256() const {
- return thumbnailsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00002000u;
+ _impl_.thumbnailsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_thumbnailsha256() {
- _has_bits_[0] |= 0x00002000u;
- return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00002000u;
+ return _impl_.thumbnailsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_thumbnailsha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.thumbnailSha256)
if (!_internal_has_thumbnailsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00002000u;
- return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00002000u;
+ auto* p = _impl_.thumbnailsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailsha256_.IsDefault()) {
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_thumbnailsha256(std::string* thumbnailsha256) {
if (thumbnailsha256 != nullptr) {
- _has_bits_[0] |= 0x00002000u;
+ _impl_._has_bits_[0] |= 0x00002000u;
} else {
- _has_bits_[0] &= ~0x00002000u;
+ _impl_._has_bits_[0] &= ~0x00002000u;
+ }
+ _impl_.thumbnailsha256_.SetAllocated(thumbnailsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailsha256_.IsDefault()) {
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
}
- thumbnailsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.thumbnailSha256)
}
// optional bytes thumbnailEncSha256 = 28;
inline bool ImageMessage::_internal_has_thumbnailencsha256() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool ImageMessage::has_thumbnailencsha256() const {
return _internal_has_thumbnailencsha256();
}
inline void ImageMessage::clear_thumbnailencsha256() {
- thumbnailencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00004000u;
+ _impl_.thumbnailencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
inline const std::string& ImageMessage::thumbnailencsha256() const {
// @@protoc_insertion_point(field_get:proto.ImageMessage.thumbnailEncSha256)
@@ -27930,8 +28756,8 @@ inline const std::string& ImageMessage::thumbnailencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00004000u;
+ _impl_.thumbnailencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ImageMessage.thumbnailEncSha256)
}
inline std::string* ImageMessage::mutable_thumbnailencsha256() {
@@ -27940,32 +28766,42 @@ inline std::string* ImageMessage::mutable_thumbnailencsha256() {
return _s;
}
inline const std::string& ImageMessage::_internal_thumbnailencsha256() const {
- return thumbnailencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00004000u;
+ _impl_.thumbnailencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* ImageMessage::_internal_mutable_thumbnailencsha256() {
- _has_bits_[0] |= 0x00004000u;
- return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00004000u;
+ return _impl_.thumbnailencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* ImageMessage::release_thumbnailencsha256() {
// @@protoc_insertion_point(field_release:proto.ImageMessage.thumbnailEncSha256)
if (!_internal_has_thumbnailencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00004000u;
- return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00004000u;
+ auto* p = _impl_.thumbnailencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailencsha256_.IsDefault()) {
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ImageMessage::set_allocated_thumbnailencsha256(std::string* thumbnailencsha256) {
if (thumbnailencsha256 != nullptr) {
- _has_bits_[0] |= 0x00004000u;
+ _impl_._has_bits_[0] |= 0x00004000u;
} else {
- _has_bits_[0] &= ~0x00004000u;
+ _impl_._has_bits_[0] &= ~0x00004000u;
+ }
+ _impl_.thumbnailencsha256_.SetAllocated(thumbnailencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailencsha256_.IsDefault()) {
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
}
- thumbnailencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailencsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ImageMessage.thumbnailEncSha256)
}
@@ -27975,15 +28811,15 @@ inline void ImageMessage::set_allocated_thumbnailencsha256(std::string* thumbnai
// optional string note = 1;
inline bool InvoiceMessage::_internal_has_note() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool InvoiceMessage::has_note() const {
return _internal_has_note();
}
inline void InvoiceMessage::clear_note() {
- note_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.note_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& InvoiceMessage::note() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.note)
@@ -27992,8 +28828,8 @@ inline const std::string& InvoiceMessage::note() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.note_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.note)
}
inline std::string* InvoiceMessage::mutable_note() {
@@ -28002,46 +28838,56 @@ inline std::string* InvoiceMessage::mutable_note() {
return _s;
}
inline const std::string& InvoiceMessage::_internal_note() const {
- return note_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.note_.Set(value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_note() {
- _has_bits_[0] |= 0x00000001u;
- return note_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.note_.Mutable(GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_note() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.note)
if (!_internal_has_note()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return note_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.note_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.note_.IsDefault()) {
+ _impl_.note_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void InvoiceMessage::set_allocated_note(std::string* note) {
if (note != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- note_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), note,
- GetArenaForAllocation());
+ _impl_.note_.SetAllocated(note, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.note_.IsDefault()) {
+ _impl_.note_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.note)
}
// optional string token = 2;
inline bool InvoiceMessage::_internal_has_token() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool InvoiceMessage::has_token() const {
return _internal_has_token();
}
inline void InvoiceMessage::clear_token() {
- token_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.token_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& InvoiceMessage::token() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.token)
@@ -28050,8 +28896,8 @@ inline const std::string& InvoiceMessage::token() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.token_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.token)
}
inline std::string* InvoiceMessage::mutable_token() {
@@ -28060,49 +28906,59 @@ inline std::string* InvoiceMessage::mutable_token() {
return _s;
}
inline const std::string& InvoiceMessage::_internal_token() const {
- return token_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.token_.Set(value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_token() {
- _has_bits_[0] |= 0x00000002u;
- return token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.token_.Mutable(GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_token() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.token)
if (!_internal_has_token()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return token_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.token_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.token_.IsDefault()) {
+ _impl_.token_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void InvoiceMessage::set_allocated_token(std::string* token) {
if (token != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token,
- GetArenaForAllocation());
+ _impl_.token_.SetAllocated(token, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.token_.IsDefault()) {
+ _impl_.token_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.token)
}
// optional .proto.InvoiceMessage.InvoiceMessageAttachmentType attachmentType = 3;
inline bool InvoiceMessage::_internal_has_attachmenttype() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool InvoiceMessage::has_attachmenttype() const {
return _internal_has_attachmenttype();
}
inline void InvoiceMessage::clear_attachmenttype() {
- attachmenttype_ = 0;
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.attachmenttype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
inline ::proto::InvoiceMessage_InvoiceMessageAttachmentType InvoiceMessage::_internal_attachmenttype() const {
- return static_cast< ::proto::InvoiceMessage_InvoiceMessageAttachmentType >(attachmenttype_);
+ return static_cast< ::proto::InvoiceMessage_InvoiceMessageAttachmentType >(_impl_.attachmenttype_);
}
inline ::proto::InvoiceMessage_InvoiceMessageAttachmentType InvoiceMessage::attachmenttype() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentType)
@@ -28110,8 +28966,8 @@ inline ::proto::InvoiceMessage_InvoiceMessageAttachmentType InvoiceMessage::atta
}
inline void InvoiceMessage::_internal_set_attachmenttype(::proto::InvoiceMessage_InvoiceMessageAttachmentType value) {
assert(::proto::InvoiceMessage_InvoiceMessageAttachmentType_IsValid(value));
- _has_bits_[0] |= 0x00000200u;
- attachmenttype_ = value;
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.attachmenttype_ = value;
}
inline void InvoiceMessage::set_attachmenttype(::proto::InvoiceMessage_InvoiceMessageAttachmentType value) {
_internal_set_attachmenttype(value);
@@ -28120,15 +28976,15 @@ inline void InvoiceMessage::set_attachmenttype(::proto::InvoiceMessage_InvoiceMe
// optional string attachmentMimetype = 4;
inline bool InvoiceMessage::_internal_has_attachmentmimetype() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool InvoiceMessage::has_attachmentmimetype() const {
return _internal_has_attachmentmimetype();
}
inline void InvoiceMessage::clear_attachmentmimetype() {
- attachmentmimetype_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.attachmentmimetype_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& InvoiceMessage::attachmentmimetype() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentMimetype)
@@ -28137,8 +28993,8 @@ inline const std::string& InvoiceMessage::attachmentmimetype() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.attachmentmimetype_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentMimetype)
}
inline std::string* InvoiceMessage::mutable_attachmentmimetype() {
@@ -28147,46 +29003,56 @@ inline std::string* InvoiceMessage::mutable_attachmentmimetype() {
return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentmimetype() const {
- return attachmentmimetype_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.attachmentmimetype_.Set(value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentmimetype() {
- _has_bits_[0] |= 0x00000004u;
- return attachmentmimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.attachmentmimetype_.Mutable(GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentmimetype() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentMimetype)
if (!_internal_has_attachmentmimetype()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return attachmentmimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.attachmentmimetype_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentmimetype_.IsDefault()) {
+ _impl_.attachmentmimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void InvoiceMessage::set_allocated_attachmentmimetype(std::string* attachmentmimetype) {
if (attachmentmimetype != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- attachmentmimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentmimetype,
- GetArenaForAllocation());
+ _impl_.attachmentmimetype_.SetAllocated(attachmentmimetype, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentmimetype_.IsDefault()) {
+ _impl_.attachmentmimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentMimetype)
}
// optional bytes attachmentMediaKey = 5;
inline bool InvoiceMessage::_internal_has_attachmentmediakey() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool InvoiceMessage::has_attachmentmediakey() const {
return _internal_has_attachmentmediakey();
}
inline void InvoiceMessage::clear_attachmentmediakey() {
- attachmentmediakey_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.attachmentmediakey_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& InvoiceMessage::attachmentmediakey() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentMediaKey)
@@ -28195,8 +29061,8 @@ inline const std::string& InvoiceMessage::attachmentmediakey() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.attachmentmediakey_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentMediaKey)
}
inline std::string* InvoiceMessage::mutable_attachmentmediakey() {
@@ -28205,74 +29071,84 @@ inline std::string* InvoiceMessage::mutable_attachmentmediakey() {
return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentmediakey() const {
- return attachmentmediakey_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.attachmentmediakey_.Set(value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentmediakey() {
- _has_bits_[0] |= 0x00000008u;
- return attachmentmediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.attachmentmediakey_.Mutable(GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentmediakey() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentMediaKey)
if (!_internal_has_attachmentmediakey()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return attachmentmediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.attachmentmediakey_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentmediakey_.IsDefault()) {
+ _impl_.attachmentmediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void InvoiceMessage::set_allocated_attachmentmediakey(std::string* attachmentmediakey) {
if (attachmentmediakey != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- attachmentmediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentmediakey,
- GetArenaForAllocation());
+ _impl_.attachmentmediakey_.SetAllocated(attachmentmediakey, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentmediakey_.IsDefault()) {
+ _impl_.attachmentmediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentMediaKey)
}
// optional int64 attachmentMediaKeyTimestamp = 6;
inline bool InvoiceMessage::_internal_has_attachmentmediakeytimestamp() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool InvoiceMessage::has_attachmentmediakeytimestamp() const {
return _internal_has_attachmentmediakeytimestamp();
}
inline void InvoiceMessage::clear_attachmentmediakeytimestamp() {
- attachmentmediakeytimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.attachmentmediakeytimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 InvoiceMessage::_internal_attachmentmediakeytimestamp() const {
- return attachmentmediakeytimestamp_;
+inline int64_t InvoiceMessage::_internal_attachmentmediakeytimestamp() const {
+ return _impl_.attachmentmediakeytimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 InvoiceMessage::attachmentmediakeytimestamp() const {
+inline int64_t InvoiceMessage::attachmentmediakeytimestamp() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentMediaKeyTimestamp)
return _internal_attachmentmediakeytimestamp();
}
-inline void InvoiceMessage::_internal_set_attachmentmediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000100u;
- attachmentmediakeytimestamp_ = value;
+inline void InvoiceMessage::_internal_set_attachmentmediakeytimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.attachmentmediakeytimestamp_ = value;
}
-inline void InvoiceMessage::set_attachmentmediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void InvoiceMessage::set_attachmentmediakeytimestamp(int64_t value) {
_internal_set_attachmentmediakeytimestamp(value);
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentMediaKeyTimestamp)
}
// optional bytes attachmentFileSha256 = 7;
inline bool InvoiceMessage::_internal_has_attachmentfilesha256() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool InvoiceMessage::has_attachmentfilesha256() const {
return _internal_has_attachmentfilesha256();
}
inline void InvoiceMessage::clear_attachmentfilesha256() {
- attachmentfilesha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.attachmentfilesha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& InvoiceMessage::attachmentfilesha256() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentFileSha256)
@@ -28281,8 +29157,8 @@ inline const std::string& InvoiceMessage::attachmentfilesha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.attachmentfilesha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentFileSha256)
}
inline std::string* InvoiceMessage::mutable_attachmentfilesha256() {
@@ -28291,46 +29167,56 @@ inline std::string* InvoiceMessage::mutable_attachmentfilesha256() {
return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentfilesha256() const {
- return attachmentfilesha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.attachmentfilesha256_.Set(value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentfilesha256() {
- _has_bits_[0] |= 0x00000010u;
- return attachmentfilesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.attachmentfilesha256_.Mutable(GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentfilesha256() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentFileSha256)
if (!_internal_has_attachmentfilesha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return attachmentfilesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.attachmentfilesha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentfilesha256_.IsDefault()) {
+ _impl_.attachmentfilesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void InvoiceMessage::set_allocated_attachmentfilesha256(std::string* attachmentfilesha256) {
if (attachmentfilesha256 != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- attachmentfilesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentfilesha256,
- GetArenaForAllocation());
+ _impl_.attachmentfilesha256_.SetAllocated(attachmentfilesha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentfilesha256_.IsDefault()) {
+ _impl_.attachmentfilesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentFileSha256)
}
// optional bytes attachmentFileEncSha256 = 8;
inline bool InvoiceMessage::_internal_has_attachmentfileencsha256() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool InvoiceMessage::has_attachmentfileencsha256() const {
return _internal_has_attachmentfileencsha256();
}
inline void InvoiceMessage::clear_attachmentfileencsha256() {
- attachmentfileencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.attachmentfileencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& InvoiceMessage::attachmentfileencsha256() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentFileEncSha256)
@@ -28339,8 +29225,8 @@ inline const std::string& InvoiceMessage::attachmentfileencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.attachmentfileencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentFileEncSha256)
}
inline std::string* InvoiceMessage::mutable_attachmentfileencsha256() {
@@ -28349,46 +29235,56 @@ inline std::string* InvoiceMessage::mutable_attachmentfileencsha256() {
return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentfileencsha256() const {
- return attachmentfileencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.attachmentfileencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentfileencsha256() {
- _has_bits_[0] |= 0x00000020u;
- return attachmentfileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.attachmentfileencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentfileencsha256() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentFileEncSha256)
if (!_internal_has_attachmentfileencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return attachmentfileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.attachmentfileencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentfileencsha256_.IsDefault()) {
+ _impl_.attachmentfileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void InvoiceMessage::set_allocated_attachmentfileencsha256(std::string* attachmentfileencsha256) {
if (attachmentfileencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- attachmentfileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentfileencsha256,
- GetArenaForAllocation());
+ _impl_.attachmentfileencsha256_.SetAllocated(attachmentfileencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentfileencsha256_.IsDefault()) {
+ _impl_.attachmentfileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentFileEncSha256)
}
// optional string attachmentDirectPath = 9;
inline bool InvoiceMessage::_internal_has_attachmentdirectpath() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool InvoiceMessage::has_attachmentdirectpath() const {
return _internal_has_attachmentdirectpath();
}
inline void InvoiceMessage::clear_attachmentdirectpath() {
- attachmentdirectpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.attachmentdirectpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& InvoiceMessage::attachmentdirectpath() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentDirectPath)
@@ -28397,8 +29293,8 @@ inline const std::string& InvoiceMessage::attachmentdirectpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.attachmentdirectpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentDirectPath)
}
inline std::string* InvoiceMessage::mutable_attachmentdirectpath() {
@@ -28407,46 +29303,56 @@ inline std::string* InvoiceMessage::mutable_attachmentdirectpath() {
return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentdirectpath() const {
- return attachmentdirectpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.attachmentdirectpath_.Set(value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentdirectpath() {
- _has_bits_[0] |= 0x00000040u;
- return attachmentdirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.attachmentdirectpath_.Mutable(GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentdirectpath() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentDirectPath)
if (!_internal_has_attachmentdirectpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return attachmentdirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.attachmentdirectpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentdirectpath_.IsDefault()) {
+ _impl_.attachmentdirectpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void InvoiceMessage::set_allocated_attachmentdirectpath(std::string* attachmentdirectpath) {
if (attachmentdirectpath != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- attachmentdirectpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentdirectpath,
- GetArenaForAllocation());
+ _impl_.attachmentdirectpath_.SetAllocated(attachmentdirectpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentdirectpath_.IsDefault()) {
+ _impl_.attachmentdirectpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentDirectPath)
}
// optional bytes attachmentJpegThumbnail = 10;
inline bool InvoiceMessage::_internal_has_attachmentjpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool InvoiceMessage::has_attachmentjpegthumbnail() const {
return _internal_has_attachmentjpegthumbnail();
}
inline void InvoiceMessage::clear_attachmentjpegthumbnail() {
- attachmentjpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.attachmentjpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const std::string& InvoiceMessage::attachmentjpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.InvoiceMessage.attachmentJpegThumbnail)
@@ -28455,8 +29361,8 @@ inline const std::string& InvoiceMessage::attachmentjpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.attachmentjpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.InvoiceMessage.attachmentJpegThumbnail)
}
inline std::string* InvoiceMessage::mutable_attachmentjpegthumbnail() {
@@ -28465,32 +29371,42 @@ inline std::string* InvoiceMessage::mutable_attachmentjpegthumbnail() {
return _s;
}
inline const std::string& InvoiceMessage::_internal_attachmentjpegthumbnail() const {
- return attachmentjpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.attachmentjpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* InvoiceMessage::_internal_mutable_attachmentjpegthumbnail() {
- _has_bits_[0] |= 0x00000080u;
- return attachmentjpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ return _impl_.attachmentjpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* InvoiceMessage::release_attachmentjpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.InvoiceMessage.attachmentJpegThumbnail)
if (!_internal_has_attachmentjpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000080u;
- return attachmentjpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ auto* p = _impl_.attachmentjpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentjpegthumbnail_.IsDefault()) {
+ _impl_.attachmentjpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void InvoiceMessage::set_allocated_attachmentjpegthumbnail(std::string* attachmentjpegthumbnail) {
if (attachmentjpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ }
+ _impl_.attachmentjpegthumbnail_.SetAllocated(attachmentjpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.attachmentjpegthumbnail_.IsDefault()) {
+ _impl_.attachmentjpegthumbnail_.Set("", GetArenaForAllocation());
}
- attachmentjpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), attachmentjpegthumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.InvoiceMessage.attachmentJpegThumbnail)
}
@@ -28500,15 +29416,15 @@ inline void InvoiceMessage::set_allocated_attachmentjpegthumbnail(std::string* a
// optional string displayName = 1;
inline bool ContactMessage::_internal_has_displayname() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ContactMessage::has_displayname() const {
return _internal_has_displayname();
}
inline void ContactMessage::clear_displayname() {
- displayname_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.displayname_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ContactMessage::displayname() const {
// @@protoc_insertion_point(field_get:proto.ContactMessage.displayName)
@@ -28517,8 +29433,8 @@ inline const std::string& ContactMessage::displayname() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displayname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContactMessage.displayName)
}
inline std::string* ContactMessage::mutable_displayname() {
@@ -28527,46 +29443,56 @@ inline std::string* ContactMessage::mutable_displayname() {
return _s;
}
inline const std::string& ContactMessage::_internal_displayname() const {
- return displayname_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displayname_.Set(value, GetArenaForAllocation());
}
inline std::string* ContactMessage::_internal_mutable_displayname() {
- _has_bits_[0] |= 0x00000001u;
- return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.displayname_.Mutable(GetArenaForAllocation());
}
inline std::string* ContactMessage::release_displayname() {
// @@protoc_insertion_point(field_release:proto.ContactMessage.displayName)
if (!_internal_has_displayname()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.displayname_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displayname_.IsDefault()) {
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContactMessage::set_allocated_displayname(std::string* displayname) {
if (displayname != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.displayname_.SetAllocated(displayname, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displayname_.IsDefault()) {
+ _impl_.displayname_.Set("", GetArenaForAllocation());
}
- displayname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displayname,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContactMessage.displayName)
}
// optional string vcard = 16;
inline bool ContactMessage::_internal_has_vcard() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ContactMessage::has_vcard() const {
return _internal_has_vcard();
}
inline void ContactMessage::clear_vcard() {
- vcard_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.vcard_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ContactMessage::vcard() const {
// @@protoc_insertion_point(field_get:proto.ContactMessage.vcard)
@@ -28575,8 +29501,8 @@ inline const std::string& ContactMessage::vcard() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.vcard_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContactMessage.vcard)
}
inline std::string* ContactMessage::mutable_vcard() {
@@ -28585,50 +29511,60 @@ inline std::string* ContactMessage::mutable_vcard() {
return _s;
}
inline const std::string& ContactMessage::_internal_vcard() const {
- return vcard_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.vcard_.Set(value, GetArenaForAllocation());
}
inline std::string* ContactMessage::_internal_mutable_vcard() {
- _has_bits_[0] |= 0x00000002u;
- return vcard_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.vcard_.Mutable(GetArenaForAllocation());
}
inline std::string* ContactMessage::release_vcard() {
// @@protoc_insertion_point(field_release:proto.ContactMessage.vcard)
if (!_internal_has_vcard()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return vcard_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.vcard_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.vcard_.IsDefault()) {
+ _impl_.vcard_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContactMessage::set_allocated_vcard(std::string* vcard) {
if (vcard != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.vcard_.SetAllocated(vcard, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.vcard_.IsDefault()) {
+ _impl_.vcard_.Set("", GetArenaForAllocation());
}
- vcard_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), vcard,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContactMessage.vcard)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool ContactMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool ContactMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void ContactMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::ContextInfo& ContactMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -28639,20 +29575,20 @@ inline const ::proto::ContextInfo& ContactMessage::contextinfo() const {
inline void ContactMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ContactMessage.contextInfo)
}
inline ::proto::ContextInfo* ContactMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -28666,18 +29602,18 @@ inline ::proto::ContextInfo* ContactMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* ContactMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.ContactMessage.contextInfo)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* ContactMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000004u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* ContactMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -28687,20 +29623,20 @@ inline ::proto::ContextInfo* ContactMessage::mutable_contextinfo() {
inline void ContactMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.ContactMessage.contextInfo)
}
@@ -28710,26 +29646,26 @@ inline void ContactMessage::set_allocated_contextinfo(::proto::ContextInfo* cont
// optional double degreesLatitude = 1;
inline bool LocationMessage::_internal_has_degreeslatitude() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool LocationMessage::has_degreeslatitude() const {
return _internal_has_degreeslatitude();
}
inline void LocationMessage::clear_degreeslatitude() {
- degreeslatitude_ = 0;
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.degreeslatitude_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline double LocationMessage::_internal_degreeslatitude() const {
- return degreeslatitude_;
+ return _impl_.degreeslatitude_;
}
inline double LocationMessage::degreeslatitude() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.degreesLatitude)
return _internal_degreeslatitude();
}
inline void LocationMessage::_internal_set_degreeslatitude(double value) {
- _has_bits_[0] |= 0x00000040u;
- degreeslatitude_ = value;
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.degreeslatitude_ = value;
}
inline void LocationMessage::set_degreeslatitude(double value) {
_internal_set_degreeslatitude(value);
@@ -28738,26 +29674,26 @@ inline void LocationMessage::set_degreeslatitude(double value) {
// optional double degreesLongitude = 2;
inline bool LocationMessage::_internal_has_degreeslongitude() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool LocationMessage::has_degreeslongitude() const {
return _internal_has_degreeslongitude();
}
inline void LocationMessage::clear_degreeslongitude() {
- degreeslongitude_ = 0;
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.degreeslongitude_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline double LocationMessage::_internal_degreeslongitude() const {
- return degreeslongitude_;
+ return _impl_.degreeslongitude_;
}
inline double LocationMessage::degreeslongitude() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.degreesLongitude)
return _internal_degreeslongitude();
}
inline void LocationMessage::_internal_set_degreeslongitude(double value) {
- _has_bits_[0] |= 0x00000080u;
- degreeslongitude_ = value;
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.degreeslongitude_ = value;
}
inline void LocationMessage::set_degreeslongitude(double value) {
_internal_set_degreeslongitude(value);
@@ -28766,15 +29702,15 @@ inline void LocationMessage::set_degreeslongitude(double value) {
// optional string name = 3;
inline bool LocationMessage::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool LocationMessage::has_name() const {
return _internal_has_name();
}
inline void LocationMessage::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.name_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& LocationMessage::name() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.name)
@@ -28783,8 +29719,8 @@ inline const std::string& LocationMessage::name() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.name)
}
inline std::string* LocationMessage::mutable_name() {
@@ -28793,46 +29729,56 @@ inline std::string* LocationMessage::mutable_name() {
return _s;
}
inline const std::string& LocationMessage::_internal_name() const {
- return name_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.name_.Mutable(GetArenaForAllocation());
}
inline std::string* LocationMessage::release_name() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.name)
if (!_internal_has_name()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.name_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.name_.IsDefault()) {
+ _impl_.name_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void LocationMessage::set_allocated_name(std::string* name) {
if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.name_.SetAllocated(name, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.name_.IsDefault()) {
+ _impl_.name_.Set("", GetArenaForAllocation());
}
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.name)
}
// optional string address = 4;
inline bool LocationMessage::_internal_has_address() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool LocationMessage::has_address() const {
return _internal_has_address();
}
inline void LocationMessage::clear_address() {
- address_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.address_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& LocationMessage::address() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.address)
@@ -28841,8 +29787,8 @@ inline const std::string& LocationMessage::address() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.address_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.address)
}
inline std::string* LocationMessage::mutable_address() {
@@ -28851,46 +29797,56 @@ inline std::string* LocationMessage::mutable_address() {
return _s;
}
inline const std::string& LocationMessage::_internal_address() const {
- return address_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.address_.Set(value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_address() {
- _has_bits_[0] |= 0x00000002u;
- return address_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.address_.Mutable(GetArenaForAllocation());
}
inline std::string* LocationMessage::release_address() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.address)
if (!_internal_has_address()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return address_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.address_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.address_.IsDefault()) {
+ _impl_.address_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void LocationMessage::set_allocated_address(std::string* address) {
if (address != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.address_.SetAllocated(address, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.address_.IsDefault()) {
+ _impl_.address_.Set("", GetArenaForAllocation());
}
- address_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), address,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.address)
}
// optional string url = 5;
inline bool LocationMessage::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool LocationMessage::has_url() const {
return _internal_has_url();
}
inline void LocationMessage::clear_url() {
- url_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.url_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& LocationMessage::url() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.url)
@@ -28899,8 +29855,8 @@ inline const std::string& LocationMessage::url() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.url)
}
inline std::string* LocationMessage::mutable_url() {
@@ -28909,57 +29865,67 @@ inline std::string* LocationMessage::mutable_url() {
return _s;
}
inline const std::string& LocationMessage::_internal_url() const {
- return url_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.url_.Set(value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000004u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.url_.Mutable(GetArenaForAllocation());
}
inline std::string* LocationMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.url)
if (!_internal_has_url()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.url_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void LocationMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.url_.SetAllocated(url, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
}
- url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.url)
}
// optional bool isLive = 6;
inline bool LocationMessage::_internal_has_islive() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool LocationMessage::has_islive() const {
return _internal_has_islive();
}
inline void LocationMessage::clear_islive() {
- islive_ = false;
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.islive_ = false;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline bool LocationMessage::_internal_islive() const {
- return islive_;
+ return _impl_.islive_;
}
inline bool LocationMessage::islive() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.isLive)
return _internal_islive();
}
inline void LocationMessage::_internal_set_islive(bool value) {
- _has_bits_[0] |= 0x00000100u;
- islive_ = value;
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.islive_ = value;
}
inline void LocationMessage::set_islive(bool value) {
_internal_set_islive(value);
@@ -28968,54 +29934,54 @@ inline void LocationMessage::set_islive(bool value) {
// optional uint32 accuracyInMeters = 7;
inline bool LocationMessage::_internal_has_accuracyinmeters() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool LocationMessage::has_accuracyinmeters() const {
return _internal_has_accuracyinmeters();
}
inline void LocationMessage::clear_accuracyinmeters() {
- accuracyinmeters_ = 0u;
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.accuracyinmeters_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LocationMessage::_internal_accuracyinmeters() const {
- return accuracyinmeters_;
+inline uint32_t LocationMessage::_internal_accuracyinmeters() const {
+ return _impl_.accuracyinmeters_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LocationMessage::accuracyinmeters() const {
+inline uint32_t LocationMessage::accuracyinmeters() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.accuracyInMeters)
return _internal_accuracyinmeters();
}
-inline void LocationMessage::_internal_set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000200u;
- accuracyinmeters_ = value;
+inline void LocationMessage::_internal_set_accuracyinmeters(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.accuracyinmeters_ = value;
}
-inline void LocationMessage::set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void LocationMessage::set_accuracyinmeters(uint32_t value) {
_internal_set_accuracyinmeters(value);
// @@protoc_insertion_point(field_set:proto.LocationMessage.accuracyInMeters)
}
// optional float speedInMps = 8;
inline bool LocationMessage::_internal_has_speedinmps() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool LocationMessage::has_speedinmps() const {
return _internal_has_speedinmps();
}
inline void LocationMessage::clear_speedinmps() {
- speedinmps_ = 0;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.speedinmps_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline float LocationMessage::_internal_speedinmps() const {
- return speedinmps_;
+ return _impl_.speedinmps_;
}
inline float LocationMessage::speedinmps() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.speedInMps)
return _internal_speedinmps();
}
inline void LocationMessage::_internal_set_speedinmps(float value) {
- _has_bits_[0] |= 0x00000400u;
- speedinmps_ = value;
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.speedinmps_ = value;
}
inline void LocationMessage::set_speedinmps(float value) {
_internal_set_speedinmps(value);
@@ -29024,43 +29990,43 @@ inline void LocationMessage::set_speedinmps(float value) {
// optional uint32 degreesClockwiseFromMagneticNorth = 9;
inline bool LocationMessage::_internal_has_degreesclockwisefrommagneticnorth() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool LocationMessage::has_degreesclockwisefrommagneticnorth() const {
return _internal_has_degreesclockwisefrommagneticnorth();
}
inline void LocationMessage::clear_degreesclockwisefrommagneticnorth() {
- degreesclockwisefrommagneticnorth_ = 0u;
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.degreesclockwisefrommagneticnorth_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LocationMessage::_internal_degreesclockwisefrommagneticnorth() const {
- return degreesclockwisefrommagneticnorth_;
+inline uint32_t LocationMessage::_internal_degreesclockwisefrommagneticnorth() const {
+ return _impl_.degreesclockwisefrommagneticnorth_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LocationMessage::degreesclockwisefrommagneticnorth() const {
+inline uint32_t LocationMessage::degreesclockwisefrommagneticnorth() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.degreesClockwiseFromMagneticNorth)
return _internal_degreesclockwisefrommagneticnorth();
}
-inline void LocationMessage::_internal_set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000800u;
- degreesclockwisefrommagneticnorth_ = value;
+inline void LocationMessage::_internal_set_degreesclockwisefrommagneticnorth(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.degreesclockwisefrommagneticnorth_ = value;
}
-inline void LocationMessage::set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void LocationMessage::set_degreesclockwisefrommagneticnorth(uint32_t value) {
_internal_set_degreesclockwisefrommagneticnorth(value);
// @@protoc_insertion_point(field_set:proto.LocationMessage.degreesClockwiseFromMagneticNorth)
}
// optional string comment = 11;
inline bool LocationMessage::_internal_has_comment() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool LocationMessage::has_comment() const {
return _internal_has_comment();
}
inline void LocationMessage::clear_comment() {
- comment_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.comment_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& LocationMessage::comment() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.comment)
@@ -29069,8 +30035,8 @@ inline const std::string& LocationMessage::comment() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.comment)
}
inline std::string* LocationMessage::mutable_comment() {
@@ -29079,46 +30045,56 @@ inline std::string* LocationMessage::mutable_comment() {
return _s;
}
inline const std::string& LocationMessage::_internal_comment() const {
- return comment_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.comment_.Set(value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_comment() {
- _has_bits_[0] |= 0x00000008u;
- return comment_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.comment_.Mutable(GetArenaForAllocation());
}
inline std::string* LocationMessage::release_comment() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.comment)
if (!_internal_has_comment()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return comment_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.comment_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.comment_.IsDefault()) {
+ _impl_.comment_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void LocationMessage::set_allocated_comment(std::string* comment) {
if (comment != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.comment_.IsDefault()) {
+ _impl_.comment_.Set("", GetArenaForAllocation());
}
- comment_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), comment,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.comment)
}
// optional bytes jpegThumbnail = 16;
inline bool LocationMessage::_internal_has_jpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool LocationMessage::has_jpegthumbnail() const {
return _internal_has_jpegthumbnail();
}
inline void LocationMessage::clear_jpegthumbnail() {
- jpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.jpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& LocationMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.LocationMessage.jpegThumbnail)
@@ -29127,8 +30103,8 @@ inline const std::string& LocationMessage::jpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.jpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LocationMessage.jpegThumbnail)
}
inline std::string* LocationMessage::mutable_jpegthumbnail() {
@@ -29137,50 +30113,60 @@ inline std::string* LocationMessage::mutable_jpegthumbnail() {
return _s;
}
inline const std::string& LocationMessage::_internal_jpegthumbnail() const {
- return jpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.jpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* LocationMessage::_internal_mutable_jpegthumbnail() {
- _has_bits_[0] |= 0x00000010u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.jpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* LocationMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.jpegThumbnail)
if (!_internal_has_jpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.jpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void LocationMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ }
+ _impl_.jpegthumbnail_.SetAllocated(jpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
}
- jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.jpegThumbnail)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool LocationMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool LocationMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void LocationMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000020u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const ::proto::ContextInfo& LocationMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -29191,20 +30177,20 @@ inline const ::proto::ContextInfo& LocationMessage::contextinfo() const {
inline void LocationMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.LocationMessage.contextInfo)
}
inline ::proto::ContextInfo* LocationMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000020u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -29218,18 +30204,18 @@ inline ::proto::ContextInfo* LocationMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* LocationMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.LocationMessage.contextInfo)
- _has_bits_[0] &= ~0x00000020u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* LocationMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000020u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* LocationMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -29239,20 +30225,20 @@ inline ::proto::ContextInfo* LocationMessage::mutable_contextinfo() {
inline void LocationMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.LocationMessage.contextInfo)
}
@@ -29262,15 +30248,15 @@ inline void LocationMessage::set_allocated_contextinfo(::proto::ContextInfo* con
// optional string text = 1;
inline bool ExtendedTextMessage::_internal_has_text() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_text() const {
return _internal_has_text();
}
inline void ExtendedTextMessage::clear_text() {
- text_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.text_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ExtendedTextMessage::text() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.text)
@@ -29279,8 +30265,8 @@ inline const std::string& ExtendedTextMessage::text() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.text_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.text)
}
inline std::string* ExtendedTextMessage::mutable_text() {
@@ -29289,46 +30275,56 @@ inline std::string* ExtendedTextMessage::mutable_text() {
return _s;
}
inline const std::string& ExtendedTextMessage::_internal_text() const {
- return text_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.text_.Set(value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_text() {
- _has_bits_[0] |= 0x00000001u;
- return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.text_.Mutable(GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_text() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.text)
if (!_internal_has_text()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return text_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.text_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.text_.IsDefault()) {
+ _impl_.text_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExtendedTextMessage::set_allocated_text(std::string* text) {
if (text != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
- GetArenaForAllocation());
+ _impl_.text_.SetAllocated(text, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.text_.IsDefault()) {
+ _impl_.text_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.text)
}
// optional string matchedText = 2;
inline bool ExtendedTextMessage::_internal_has_matchedtext() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_matchedtext() const {
return _internal_has_matchedtext();
}
inline void ExtendedTextMessage::clear_matchedtext() {
- matchedtext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.matchedtext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ExtendedTextMessage::matchedtext() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.matchedText)
@@ -29337,8 +30333,8 @@ inline const std::string& ExtendedTextMessage::matchedtext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.matchedtext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.matchedText)
}
inline std::string* ExtendedTextMessage::mutable_matchedtext() {
@@ -29347,46 +30343,56 @@ inline std::string* ExtendedTextMessage::mutable_matchedtext() {
return _s;
}
inline const std::string& ExtendedTextMessage::_internal_matchedtext() const {
- return matchedtext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.matchedtext_.Set(value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_matchedtext() {
- _has_bits_[0] |= 0x00000002u;
- return matchedtext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.matchedtext_.Mutable(GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_matchedtext() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.matchedText)
if (!_internal_has_matchedtext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return matchedtext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.matchedtext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.matchedtext_.IsDefault()) {
+ _impl_.matchedtext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExtendedTextMessage::set_allocated_matchedtext(std::string* matchedtext) {
if (matchedtext != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- matchedtext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), matchedtext,
- GetArenaForAllocation());
+ _impl_.matchedtext_.SetAllocated(matchedtext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.matchedtext_.IsDefault()) {
+ _impl_.matchedtext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.matchedText)
}
// optional string canonicalUrl = 4;
inline bool ExtendedTextMessage::_internal_has_canonicalurl() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_canonicalurl() const {
return _internal_has_canonicalurl();
}
inline void ExtendedTextMessage::clear_canonicalurl() {
- canonicalurl_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.canonicalurl_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& ExtendedTextMessage::canonicalurl() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.canonicalUrl)
@@ -29395,8 +30401,8 @@ inline const std::string& ExtendedTextMessage::canonicalurl() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.canonicalurl_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.canonicalUrl)
}
inline std::string* ExtendedTextMessage::mutable_canonicalurl() {
@@ -29405,46 +30411,56 @@ inline std::string* ExtendedTextMessage::mutable_canonicalurl() {
return _s;
}
inline const std::string& ExtendedTextMessage::_internal_canonicalurl() const {
- return canonicalurl_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.canonicalurl_.Set(value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_canonicalurl() {
- _has_bits_[0] |= 0x00000004u;
- return canonicalurl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.canonicalurl_.Mutable(GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_canonicalurl() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.canonicalUrl)
if (!_internal_has_canonicalurl()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return canonicalurl_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.canonicalurl_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.canonicalurl_.IsDefault()) {
+ _impl_.canonicalurl_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExtendedTextMessage::set_allocated_canonicalurl(std::string* canonicalurl) {
if (canonicalurl != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- canonicalurl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), canonicalurl,
- GetArenaForAllocation());
+ _impl_.canonicalurl_.SetAllocated(canonicalurl, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.canonicalurl_.IsDefault()) {
+ _impl_.canonicalurl_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.canonicalUrl)
}
// optional string description = 5;
inline bool ExtendedTextMessage::_internal_has_description() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_description() const {
return _internal_has_description();
}
inline void ExtendedTextMessage::clear_description() {
- description_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.description_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& ExtendedTextMessage::description() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.description)
@@ -29453,8 +30469,8 @@ inline const std::string& ExtendedTextMessage::description() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.description)
}
inline std::string* ExtendedTextMessage::mutable_description() {
@@ -29463,46 +30479,56 @@ inline std::string* ExtendedTextMessage::mutable_description() {
return _s;
}
inline const std::string& ExtendedTextMessage::_internal_description() const {
- return description_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.description_.Set(value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_description() {
- _has_bits_[0] |= 0x00000008u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.description_.Mutable(GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_description() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.description)
if (!_internal_has_description()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.description_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExtendedTextMessage::set_allocated_description(std::string* description) {
if (description != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.description_.SetAllocated(description, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
}
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.description)
}
// optional string title = 6;
inline bool ExtendedTextMessage::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_title() const {
return _internal_has_title();
}
inline void ExtendedTextMessage::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& ExtendedTextMessage::title() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.title)
@@ -29511,8 +30537,8 @@ inline const std::string& ExtendedTextMessage::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.title)
}
inline std::string* ExtendedTextMessage::mutable_title() {
@@ -29521,105 +30547,115 @@ inline std::string* ExtendedTextMessage::mutable_title() {
return _s;
}
inline const std::string& ExtendedTextMessage::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000010u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_title() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExtendedTextMessage::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ }
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.title)
}
// optional fixed32 textArgb = 7;
inline bool ExtendedTextMessage::_internal_has_textargb() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_textargb() const {
return _internal_has_textargb();
}
inline void ExtendedTextMessage::clear_textargb() {
- textargb_ = 0u;
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.textargb_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ExtendedTextMessage::_internal_textargb() const {
- return textargb_;
+inline uint32_t ExtendedTextMessage::_internal_textargb() const {
+ return _impl_.textargb_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ExtendedTextMessage::textargb() const {
+inline uint32_t ExtendedTextMessage::textargb() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.textArgb)
return _internal_textargb();
}
-inline void ExtendedTextMessage::_internal_set_textargb(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000080u;
- textargb_ = value;
+inline void ExtendedTextMessage::_internal_set_textargb(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.textargb_ = value;
}
-inline void ExtendedTextMessage::set_textargb(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ExtendedTextMessage::set_textargb(uint32_t value) {
_internal_set_textargb(value);
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.textArgb)
}
// optional fixed32 backgroundArgb = 8;
inline bool ExtendedTextMessage::_internal_has_backgroundargb() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_backgroundargb() const {
return _internal_has_backgroundargb();
}
inline void ExtendedTextMessage::clear_backgroundargb() {
- backgroundargb_ = 0u;
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.backgroundargb_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ExtendedTextMessage::_internal_backgroundargb() const {
- return backgroundargb_;
+inline uint32_t ExtendedTextMessage::_internal_backgroundargb() const {
+ return _impl_.backgroundargb_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ExtendedTextMessage::backgroundargb() const {
+inline uint32_t ExtendedTextMessage::backgroundargb() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.backgroundArgb)
return _internal_backgroundargb();
}
-inline void ExtendedTextMessage::_internal_set_backgroundargb(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000100u;
- backgroundargb_ = value;
+inline void ExtendedTextMessage::_internal_set_backgroundargb(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.backgroundargb_ = value;
}
-inline void ExtendedTextMessage::set_backgroundargb(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ExtendedTextMessage::set_backgroundargb(uint32_t value) {
_internal_set_backgroundargb(value);
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.backgroundArgb)
}
// optional .proto.ExtendedTextMessage.ExtendedTextMessageFontType font = 9;
inline bool ExtendedTextMessage::_internal_has_font() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_font() const {
return _internal_has_font();
}
inline void ExtendedTextMessage::clear_font() {
- font_ = 0;
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.font_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
inline ::proto::ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMessage::_internal_font() const {
- return static_cast< ::proto::ExtendedTextMessage_ExtendedTextMessageFontType >(font_);
+ return static_cast< ::proto::ExtendedTextMessage_ExtendedTextMessageFontType >(_impl_.font_);
}
inline ::proto::ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMessage::font() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.font)
@@ -29627,8 +30663,8 @@ inline ::proto::ExtendedTextMessage_ExtendedTextMessageFontType ExtendedTextMess
}
inline void ExtendedTextMessage::_internal_set_font(::proto::ExtendedTextMessage_ExtendedTextMessageFontType value) {
assert(::proto::ExtendedTextMessage_ExtendedTextMessageFontType_IsValid(value));
- _has_bits_[0] |= 0x00000200u;
- font_ = value;
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.font_ = value;
}
inline void ExtendedTextMessage::set_font(::proto::ExtendedTextMessage_ExtendedTextMessageFontType value) {
_internal_set_font(value);
@@ -29637,18 +30673,18 @@ inline void ExtendedTextMessage::set_font(::proto::ExtendedTextMessage_ExtendedT
// optional .proto.ExtendedTextMessage.ExtendedTextMessagePreviewType previewType = 10;
inline bool ExtendedTextMessage::_internal_has_previewtype() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_previewtype() const {
return _internal_has_previewtype();
}
inline void ExtendedTextMessage::clear_previewtype() {
- previewtype_ = 0;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.previewtype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline ::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType ExtendedTextMessage::_internal_previewtype() const {
- return static_cast< ::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType >(previewtype_);
+ return static_cast< ::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType >(_impl_.previewtype_);
}
inline ::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType ExtendedTextMessage::previewtype() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.previewType)
@@ -29656,8 +30692,8 @@ inline ::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType ExtendedTextM
}
inline void ExtendedTextMessage::_internal_set_previewtype(::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType value) {
assert(::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType_IsValid(value));
- _has_bits_[0] |= 0x00000400u;
- previewtype_ = value;
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.previewtype_ = value;
}
inline void ExtendedTextMessage::set_previewtype(::proto::ExtendedTextMessage_ExtendedTextMessagePreviewType value) {
_internal_set_previewtype(value);
@@ -29666,15 +30702,15 @@ inline void ExtendedTextMessage::set_previewtype(::proto::ExtendedTextMessage_Ex
// optional bytes jpegThumbnail = 16;
inline bool ExtendedTextMessage::_internal_has_jpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_jpegthumbnail() const {
return _internal_has_jpegthumbnail();
}
inline void ExtendedTextMessage::clear_jpegthumbnail() {
- jpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.jpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& ExtendedTextMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.jpegThumbnail)
@@ -29683,8 +30719,8 @@ inline const std::string& ExtendedTextMessage::jpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.jpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ExtendedTextMessage.jpegThumbnail)
}
inline std::string* ExtendedTextMessage::mutable_jpegthumbnail() {
@@ -29693,50 +30729,60 @@ inline std::string* ExtendedTextMessage::mutable_jpegthumbnail() {
return _s;
}
inline const std::string& ExtendedTextMessage::_internal_jpegthumbnail() const {
- return jpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.jpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::_internal_mutable_jpegthumbnail() {
- _has_bits_[0] |= 0x00000020u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.jpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* ExtendedTextMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.jpegThumbnail)
if (!_internal_has_jpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.jpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ExtendedTextMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ }
+ _impl_.jpegthumbnail_.SetAllocated(jpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
}
- jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.jpegThumbnail)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool ExtendedTextMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool ExtendedTextMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void ExtendedTextMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000040u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const ::proto::ContextInfo& ExtendedTextMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -29747,20 +30793,20 @@ inline const ::proto::ContextInfo& ExtendedTextMessage::contextinfo() const {
inline void ExtendedTextMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ExtendedTextMessage.contextInfo)
}
inline ::proto::ContextInfo* ExtendedTextMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000040u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -29774,18 +30820,18 @@ inline ::proto::ContextInfo* ExtendedTextMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* ExtendedTextMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.ExtendedTextMessage.contextInfo)
- _has_bits_[0] &= ~0x00000040u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* ExtendedTextMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000040u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000040u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* ExtendedTextMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -29795,45 +30841,45 @@ inline ::proto::ContextInfo* ExtendedTextMessage::mutable_contextinfo() {
inline void ExtendedTextMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.ExtendedTextMessage.contextInfo)
}
// optional bool doNotPlayInline = 18;
inline bool ExtendedTextMessage::_internal_has_donotplayinline() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool ExtendedTextMessage::has_donotplayinline() const {
return _internal_has_donotplayinline();
}
inline void ExtendedTextMessage::clear_donotplayinline() {
- donotplayinline_ = false;
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.donotplayinline_ = false;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline bool ExtendedTextMessage::_internal_donotplayinline() const {
- return donotplayinline_;
+ return _impl_.donotplayinline_;
}
inline bool ExtendedTextMessage::donotplayinline() const {
// @@protoc_insertion_point(field_get:proto.ExtendedTextMessage.doNotPlayInline)
return _internal_donotplayinline();
}
inline void ExtendedTextMessage::_internal_set_donotplayinline(bool value) {
- _has_bits_[0] |= 0x00000800u;
- donotplayinline_ = value;
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.donotplayinline_ = value;
}
inline void ExtendedTextMessage::set_donotplayinline(bool value) {
_internal_set_donotplayinline(value);
@@ -29846,15 +30892,15 @@ inline void ExtendedTextMessage::set_donotplayinline(bool value) {
// optional string url = 1;
inline bool DocumentMessage::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool DocumentMessage::has_url() const {
return _internal_has_url();
}
inline void DocumentMessage::clear_url() {
- url_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.url_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& DocumentMessage::url() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.url)
@@ -29863,8 +30909,8 @@ inline const std::string& DocumentMessage::url() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.url)
}
inline std::string* DocumentMessage::mutable_url() {
@@ -29873,46 +30919,56 @@ inline std::string* DocumentMessage::mutable_url() {
return _s;
}
inline const std::string& DocumentMessage::_internal_url() const {
- return url_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.url_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.url)
if (!_internal_has_url()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.url_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.url_.SetAllocated(url, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
}
- url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.url)
}
// optional string mimetype = 2;
inline bool DocumentMessage::_internal_has_mimetype() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool DocumentMessage::has_mimetype() const {
return _internal_has_mimetype();
}
inline void DocumentMessage::clear_mimetype() {
- mimetype_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.mimetype_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& DocumentMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.mimetype)
@@ -29921,8 +30977,8 @@ inline const std::string& DocumentMessage::mimetype() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mimetype_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.mimetype)
}
inline std::string* DocumentMessage::mutable_mimetype() {
@@ -29931,46 +30987,56 @@ inline std::string* DocumentMessage::mutable_mimetype() {
return _s;
}
inline const std::string& DocumentMessage::_internal_mimetype() const {
- return mimetype_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mimetype_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_mimetype() {
- _has_bits_[0] |= 0x00000002u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.mimetype_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.mimetype)
if (!_internal_has_mimetype()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.mimetype_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArenaForAllocation());
+ _impl_.mimetype_.SetAllocated(mimetype, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.mimetype)
}
// optional string title = 3;
inline bool DocumentMessage::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool DocumentMessage::has_title() const {
return _internal_has_title();
}
inline void DocumentMessage::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& DocumentMessage::title() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.title)
@@ -29979,8 +31045,8 @@ inline const std::string& DocumentMessage::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.title)
}
inline std::string* DocumentMessage::mutable_title() {
@@ -29989,46 +31055,56 @@ inline std::string* DocumentMessage::mutable_title() {
return _s;
}
inline const std::string& DocumentMessage::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000004u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_title() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.title)
}
// optional bytes fileSha256 = 4;
inline bool DocumentMessage::_internal_has_filesha256() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool DocumentMessage::has_filesha256() const {
return _internal_has_filesha256();
}
inline void DocumentMessage::clear_filesha256() {
- filesha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.filesha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& DocumentMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.fileSha256)
@@ -30037,8 +31113,8 @@ inline const std::string& DocumentMessage::filesha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.filesha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.fileSha256)
}
inline std::string* DocumentMessage::mutable_filesha256() {
@@ -30047,102 +31123,112 @@ inline std::string* DocumentMessage::mutable_filesha256() {
return _s;
}
inline const std::string& DocumentMessage::_internal_filesha256() const {
- return filesha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.filesha256_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_filesha256() {
- _has_bits_[0] |= 0x00000008u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.filesha256_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.fileSha256)
if (!_internal_has_filesha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.filesha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArenaForAllocation());
+ _impl_.filesha256_.SetAllocated(filesha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.fileSha256)
}
// optional uint64 fileLength = 5;
inline bool DocumentMessage::_internal_has_filelength() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool DocumentMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void DocumentMessage::clear_filelength() {
- filelength_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00002000u;
+ _impl_.filelength_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 DocumentMessage::_internal_filelength() const {
- return filelength_;
+inline uint64_t DocumentMessage::_internal_filelength() const {
+ return _impl_.filelength_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 DocumentMessage::filelength() const {
+inline uint64_t DocumentMessage::filelength() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.fileLength)
return _internal_filelength();
}
-inline void DocumentMessage::_internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00002000u;
- filelength_ = value;
+inline void DocumentMessage::_internal_set_filelength(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00002000u;
+ _impl_.filelength_ = value;
}
-inline void DocumentMessage::set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void DocumentMessage::set_filelength(uint64_t value) {
_internal_set_filelength(value);
// @@protoc_insertion_point(field_set:proto.DocumentMessage.fileLength)
}
// optional uint32 pageCount = 6;
inline bool DocumentMessage::_internal_has_pagecount() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool DocumentMessage::has_pagecount() const {
return _internal_has_pagecount();
}
inline void DocumentMessage::clear_pagecount() {
- pagecount_ = 0u;
- _has_bits_[0] &= ~0x00004000u;
+ _impl_.pagecount_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 DocumentMessage::_internal_pagecount() const {
- return pagecount_;
+inline uint32_t DocumentMessage::_internal_pagecount() const {
+ return _impl_.pagecount_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 DocumentMessage::pagecount() const {
+inline uint32_t DocumentMessage::pagecount() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.pageCount)
return _internal_pagecount();
}
-inline void DocumentMessage::_internal_set_pagecount(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00004000u;
- pagecount_ = value;
+inline void DocumentMessage::_internal_set_pagecount(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00004000u;
+ _impl_.pagecount_ = value;
}
-inline void DocumentMessage::set_pagecount(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void DocumentMessage::set_pagecount(uint32_t value) {
_internal_set_pagecount(value);
// @@protoc_insertion_point(field_set:proto.DocumentMessage.pageCount)
}
// optional bytes mediaKey = 7;
inline bool DocumentMessage::_internal_has_mediakey() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool DocumentMessage::has_mediakey() const {
return _internal_has_mediakey();
}
inline void DocumentMessage::clear_mediakey() {
- mediakey_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.mediakey_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& DocumentMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.mediaKey)
@@ -30151,8 +31237,8 @@ inline const std::string& DocumentMessage::mediakey() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.mediakey_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.mediaKey)
}
inline std::string* DocumentMessage::mutable_mediakey() {
@@ -30161,46 +31247,56 @@ inline std::string* DocumentMessage::mutable_mediakey() {
return _s;
}
inline const std::string& DocumentMessage::_internal_mediakey() const {
- return mediakey_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.mediakey_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_mediakey() {
- _has_bits_[0] |= 0x00000010u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.mediakey_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.mediaKey)
if (!_internal_has_mediakey()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.mediakey_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArenaForAllocation());
+ _impl_.mediakey_.SetAllocated(mediakey, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.mediaKey)
}
// optional string fileName = 8;
inline bool DocumentMessage::_internal_has_filename() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool DocumentMessage::has_filename() const {
return _internal_has_filename();
}
inline void DocumentMessage::clear_filename() {
- filename_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.filename_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& DocumentMessage::filename() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.fileName)
@@ -30209,8 +31305,8 @@ inline const std::string& DocumentMessage::filename() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.filename_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.fileName)
}
inline std::string* DocumentMessage::mutable_filename() {
@@ -30219,46 +31315,56 @@ inline std::string* DocumentMessage::mutable_filename() {
return _s;
}
inline const std::string& DocumentMessage::_internal_filename() const {
- return filename_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.filename_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_filename() {
- _has_bits_[0] |= 0x00000020u;
- return filename_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.filename_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_filename() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.fileName)
if (!_internal_has_filename()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return filename_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.filename_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filename_.IsDefault()) {
+ _impl_.filename_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_filename(std::string* filename) {
if (filename != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- filename_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filename,
- GetArenaForAllocation());
+ _impl_.filename_.SetAllocated(filename, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filename_.IsDefault()) {
+ _impl_.filename_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.fileName)
}
// optional bytes fileEncSha256 = 9;
inline bool DocumentMessage::_internal_has_fileencsha256() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool DocumentMessage::has_fileencsha256() const {
return _internal_has_fileencsha256();
}
inline void DocumentMessage::clear_fileencsha256() {
- fileencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.fileencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& DocumentMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.fileEncSha256)
@@ -30267,8 +31373,8 @@ inline const std::string& DocumentMessage::fileencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.fileencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.fileEncSha256)
}
inline std::string* DocumentMessage::mutable_fileencsha256() {
@@ -30277,46 +31383,56 @@ inline std::string* DocumentMessage::mutable_fileencsha256() {
return _s;
}
inline const std::string& DocumentMessage::_internal_fileencsha256() const {
- return fileencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.fileencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_fileencsha256() {
- _has_bits_[0] |= 0x00000040u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.fileencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.fileEncSha256)
if (!_internal_has_fileencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.fileencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArenaForAllocation());
+ _impl_.fileencsha256_.SetAllocated(fileencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.fileEncSha256)
}
// optional string directPath = 10;
inline bool DocumentMessage::_internal_has_directpath() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool DocumentMessage::has_directpath() const {
return _internal_has_directpath();
}
inline void DocumentMessage::clear_directpath() {
- directpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.directpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const std::string& DocumentMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.directPath)
@@ -30325,8 +31441,8 @@ inline const std::string& DocumentMessage::directpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.directpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.directPath)
}
inline std::string* DocumentMessage::mutable_directpath() {
@@ -30335,85 +31451,95 @@ inline std::string* DocumentMessage::mutable_directpath() {
return _s;
}
inline const std::string& DocumentMessage::_internal_directpath() const {
- return directpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.directpath_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_directpath() {
- _has_bits_[0] |= 0x00000080u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ return _impl_.directpath_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.directPath)
if (!_internal_has_directpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000080u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ auto* p = _impl_.directpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
- directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArenaForAllocation());
+ _impl_.directpath_.SetAllocated(directpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.directPath)
}
// optional int64 mediaKeyTimestamp = 11;
inline bool DocumentMessage::_internal_has_mediakeytimestamp() const {
- bool value = (_has_bits_[0] & 0x00010000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
return value;
}
inline bool DocumentMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void DocumentMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00010000u;
+ _impl_.mediakeytimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00010000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 DocumentMessage::_internal_mediakeytimestamp() const {
- return mediakeytimestamp_;
+inline int64_t DocumentMessage::_internal_mediakeytimestamp() const {
+ return _impl_.mediakeytimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 DocumentMessage::mediakeytimestamp() const {
+inline int64_t DocumentMessage::mediakeytimestamp() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.mediaKeyTimestamp)
return _internal_mediakeytimestamp();
}
-inline void DocumentMessage::_internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00010000u;
- mediakeytimestamp_ = value;
+inline void DocumentMessage::_internal_set_mediakeytimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00010000u;
+ _impl_.mediakeytimestamp_ = value;
}
-inline void DocumentMessage::set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void DocumentMessage::set_mediakeytimestamp(int64_t value) {
_internal_set_mediakeytimestamp(value);
// @@protoc_insertion_point(field_set:proto.DocumentMessage.mediaKeyTimestamp)
}
// optional bool contactVcard = 12;
inline bool DocumentMessage::_internal_has_contactvcard() const {
- bool value = (_has_bits_[0] & 0x00008000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
return value;
}
inline bool DocumentMessage::has_contactvcard() const {
return _internal_has_contactvcard();
}
inline void DocumentMessage::clear_contactvcard() {
- contactvcard_ = false;
- _has_bits_[0] &= ~0x00008000u;
+ _impl_.contactvcard_ = false;
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
inline bool DocumentMessage::_internal_contactvcard() const {
- return contactvcard_;
+ return _impl_.contactvcard_;
}
inline bool DocumentMessage::contactvcard() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.contactVcard)
return _internal_contactvcard();
}
inline void DocumentMessage::_internal_set_contactvcard(bool value) {
- _has_bits_[0] |= 0x00008000u;
- contactvcard_ = value;
+ _impl_._has_bits_[0] |= 0x00008000u;
+ _impl_.contactvcard_ = value;
}
inline void DocumentMessage::set_contactvcard(bool value) {
_internal_set_contactvcard(value);
@@ -30422,15 +31548,15 @@ inline void DocumentMessage::set_contactvcard(bool value) {
// optional string thumbnailDirectPath = 13;
inline bool DocumentMessage::_internal_has_thumbnaildirectpath() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool DocumentMessage::has_thumbnaildirectpath() const {
return _internal_has_thumbnaildirectpath();
}
inline void DocumentMessage::clear_thumbnaildirectpath() {
- thumbnaildirectpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.thumbnaildirectpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline const std::string& DocumentMessage::thumbnaildirectpath() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.thumbnailDirectPath)
@@ -30439,8 +31565,8 @@ inline const std::string& DocumentMessage::thumbnaildirectpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.thumbnaildirectpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.thumbnailDirectPath)
}
inline std::string* DocumentMessage::mutable_thumbnaildirectpath() {
@@ -30449,46 +31575,56 @@ inline std::string* DocumentMessage::mutable_thumbnaildirectpath() {
return _s;
}
inline const std::string& DocumentMessage::_internal_thumbnaildirectpath() const {
- return thumbnaildirectpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.thumbnaildirectpath_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_thumbnaildirectpath() {
- _has_bits_[0] |= 0x00000100u;
- return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ return _impl_.thumbnaildirectpath_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_thumbnaildirectpath() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.thumbnailDirectPath)
if (!_internal_has_thumbnaildirectpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000100u;
- return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ auto* p = _impl_.thumbnaildirectpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnaildirectpath_.IsDefault()) {
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath) {
if (thumbnaildirectpath != nullptr) {
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ }
+ _impl_.thumbnaildirectpath_.SetAllocated(thumbnaildirectpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnaildirectpath_.IsDefault()) {
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
}
- thumbnaildirectpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnaildirectpath,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.thumbnailDirectPath)
}
// optional bytes thumbnailSha256 = 14;
inline bool DocumentMessage::_internal_has_thumbnailsha256() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool DocumentMessage::has_thumbnailsha256() const {
return _internal_has_thumbnailsha256();
}
inline void DocumentMessage::clear_thumbnailsha256() {
- thumbnailsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.thumbnailsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
inline const std::string& DocumentMessage::thumbnailsha256() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.thumbnailSha256)
@@ -30497,8 +31633,8 @@ inline const std::string& DocumentMessage::thumbnailsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.thumbnailsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.thumbnailSha256)
}
inline std::string* DocumentMessage::mutable_thumbnailsha256() {
@@ -30507,46 +31643,56 @@ inline std::string* DocumentMessage::mutable_thumbnailsha256() {
return _s;
}
inline const std::string& DocumentMessage::_internal_thumbnailsha256() const {
- return thumbnailsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.thumbnailsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_thumbnailsha256() {
- _has_bits_[0] |= 0x00000200u;
- return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ return _impl_.thumbnailsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_thumbnailsha256() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.thumbnailSha256)
if (!_internal_has_thumbnailsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000200u;
- return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ auto* p = _impl_.thumbnailsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailsha256_.IsDefault()) {
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_thumbnailsha256(std::string* thumbnailsha256) {
if (thumbnailsha256 != nullptr) {
- _has_bits_[0] |= 0x00000200u;
+ _impl_._has_bits_[0] |= 0x00000200u;
} else {
- _has_bits_[0] &= ~0x00000200u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ }
+ _impl_.thumbnailsha256_.SetAllocated(thumbnailsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailsha256_.IsDefault()) {
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
}
- thumbnailsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.thumbnailSha256)
}
// optional bytes thumbnailEncSha256 = 15;
inline bool DocumentMessage::_internal_has_thumbnailencsha256() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool DocumentMessage::has_thumbnailencsha256() const {
return _internal_has_thumbnailencsha256();
}
inline void DocumentMessage::clear_thumbnailencsha256() {
- thumbnailencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.thumbnailencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline const std::string& DocumentMessage::thumbnailencsha256() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.thumbnailEncSha256)
@@ -30555,8 +31701,8 @@ inline const std::string& DocumentMessage::thumbnailencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.thumbnailencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.thumbnailEncSha256)
}
inline std::string* DocumentMessage::mutable_thumbnailencsha256() {
@@ -30565,46 +31711,56 @@ inline std::string* DocumentMessage::mutable_thumbnailencsha256() {
return _s;
}
inline const std::string& DocumentMessage::_internal_thumbnailencsha256() const {
- return thumbnailencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.thumbnailencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_thumbnailencsha256() {
- _has_bits_[0] |= 0x00000400u;
- return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ return _impl_.thumbnailencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_thumbnailencsha256() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.thumbnailEncSha256)
if (!_internal_has_thumbnailencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000400u;
- return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000400u;
+ auto* p = _impl_.thumbnailencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailencsha256_.IsDefault()) {
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_thumbnailencsha256(std::string* thumbnailencsha256) {
if (thumbnailencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000400u;
+ _impl_._has_bits_[0] |= 0x00000400u;
} else {
- _has_bits_[0] &= ~0x00000400u;
+ _impl_._has_bits_[0] &= ~0x00000400u;
+ }
+ _impl_.thumbnailencsha256_.SetAllocated(thumbnailencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailencsha256_.IsDefault()) {
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
}
- thumbnailencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailencsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.thumbnailEncSha256)
}
// optional bytes jpegThumbnail = 16;
inline bool DocumentMessage::_internal_has_jpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool DocumentMessage::has_jpegthumbnail() const {
return _internal_has_jpegthumbnail();
}
inline void DocumentMessage::clear_jpegthumbnail() {
- jpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.jpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline const std::string& DocumentMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.jpegThumbnail)
@@ -30613,8 +31769,8 @@ inline const std::string& DocumentMessage::jpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.jpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DocumentMessage.jpegThumbnail)
}
inline std::string* DocumentMessage::mutable_jpegthumbnail() {
@@ -30623,50 +31779,60 @@ inline std::string* DocumentMessage::mutable_jpegthumbnail() {
return _s;
}
inline const std::string& DocumentMessage::_internal_jpegthumbnail() const {
- return jpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.jpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* DocumentMessage::_internal_mutable_jpegthumbnail() {
- _has_bits_[0] |= 0x00000800u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ return _impl_.jpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* DocumentMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.jpegThumbnail)
if (!_internal_has_jpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000800u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000800u;
+ auto* p = _impl_.jpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DocumentMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000800u;
+ _impl_._has_bits_[0] |= 0x00000800u;
} else {
- _has_bits_[0] &= ~0x00000800u;
+ _impl_._has_bits_[0] &= ~0x00000800u;
+ }
+ _impl_.jpegthumbnail_.SetAllocated(jpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
}
- jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.jpegThumbnail)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool DocumentMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool DocumentMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void DocumentMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00001000u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
inline const ::proto::ContextInfo& DocumentMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -30677,20 +31843,20 @@ inline const ::proto::ContextInfo& DocumentMessage::contextinfo() const {
inline void DocumentMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00001000u;
+ _impl_._has_bits_[0] |= 0x00001000u;
} else {
- _has_bits_[0] &= ~0x00001000u;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.DocumentMessage.contextInfo)
}
inline ::proto::ContextInfo* DocumentMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00001000u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00001000u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -30704,18 +31870,18 @@ inline ::proto::ContextInfo* DocumentMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* DocumentMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.DocumentMessage.contextInfo)
- _has_bits_[0] &= ~0x00001000u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00001000u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* DocumentMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00001000u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00001000u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* DocumentMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -30725,75 +31891,75 @@ inline ::proto::ContextInfo* DocumentMessage::mutable_contextinfo() {
inline void DocumentMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00001000u;
+ _impl_._has_bits_[0] |= 0x00001000u;
} else {
- _has_bits_[0] &= ~0x00001000u;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.DocumentMessage.contextInfo)
}
// optional uint32 thumbnailHeight = 18;
inline bool DocumentMessage::_internal_has_thumbnailheight() const {
- bool value = (_has_bits_[0] & 0x00020000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
return value;
}
inline bool DocumentMessage::has_thumbnailheight() const {
return _internal_has_thumbnailheight();
}
inline void DocumentMessage::clear_thumbnailheight() {
- thumbnailheight_ = 0u;
- _has_bits_[0] &= ~0x00020000u;
+ _impl_.thumbnailheight_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00020000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 DocumentMessage::_internal_thumbnailheight() const {
- return thumbnailheight_;
+inline uint32_t DocumentMessage::_internal_thumbnailheight() const {
+ return _impl_.thumbnailheight_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 DocumentMessage::thumbnailheight() const {
+inline uint32_t DocumentMessage::thumbnailheight() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.thumbnailHeight)
return _internal_thumbnailheight();
}
-inline void DocumentMessage::_internal_set_thumbnailheight(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00020000u;
- thumbnailheight_ = value;
+inline void DocumentMessage::_internal_set_thumbnailheight(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00020000u;
+ _impl_.thumbnailheight_ = value;
}
-inline void DocumentMessage::set_thumbnailheight(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void DocumentMessage::set_thumbnailheight(uint32_t value) {
_internal_set_thumbnailheight(value);
// @@protoc_insertion_point(field_set:proto.DocumentMessage.thumbnailHeight)
}
// optional uint32 thumbnailWidth = 19;
inline bool DocumentMessage::_internal_has_thumbnailwidth() const {
- bool value = (_has_bits_[0] & 0x00040000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
return value;
}
inline bool DocumentMessage::has_thumbnailwidth() const {
return _internal_has_thumbnailwidth();
}
inline void DocumentMessage::clear_thumbnailwidth() {
- thumbnailwidth_ = 0u;
- _has_bits_[0] &= ~0x00040000u;
+ _impl_.thumbnailwidth_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00040000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 DocumentMessage::_internal_thumbnailwidth() const {
- return thumbnailwidth_;
+inline uint32_t DocumentMessage::_internal_thumbnailwidth() const {
+ return _impl_.thumbnailwidth_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 DocumentMessage::thumbnailwidth() const {
+inline uint32_t DocumentMessage::thumbnailwidth() const {
// @@protoc_insertion_point(field_get:proto.DocumentMessage.thumbnailWidth)
return _internal_thumbnailwidth();
}
-inline void DocumentMessage::_internal_set_thumbnailwidth(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00040000u;
- thumbnailwidth_ = value;
+inline void DocumentMessage::_internal_set_thumbnailwidth(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00040000u;
+ _impl_.thumbnailwidth_ = value;
}
-inline void DocumentMessage::set_thumbnailwidth(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void DocumentMessage::set_thumbnailwidth(uint32_t value) {
_internal_set_thumbnailwidth(value);
// @@protoc_insertion_point(field_set:proto.DocumentMessage.thumbnailWidth)
}
@@ -30804,15 +31970,15 @@ inline void DocumentMessage::set_thumbnailwidth(::PROTOBUF_NAMESPACE_ID::uint32
// optional string url = 1;
inline bool AudioMessage::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool AudioMessage::has_url() const {
return _internal_has_url();
}
inline void AudioMessage::clear_url() {
- url_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.url_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& AudioMessage::url() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.url)
@@ -30821,8 +31987,8 @@ inline const std::string& AudioMessage::url() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.url)
}
inline std::string* AudioMessage::mutable_url() {
@@ -30831,46 +31997,56 @@ inline std::string* AudioMessage::mutable_url() {
return _s;
}
inline const std::string& AudioMessage::_internal_url() const {
- return url_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.url_.Mutable(GetArenaForAllocation());
}
inline std::string* AudioMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.url)
if (!_internal_has_url()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.url_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AudioMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.url_.SetAllocated(url, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
}
- url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.url)
}
// optional string mimetype = 2;
inline bool AudioMessage::_internal_has_mimetype() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool AudioMessage::has_mimetype() const {
return _internal_has_mimetype();
}
inline void AudioMessage::clear_mimetype() {
- mimetype_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.mimetype_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& AudioMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.mimetype)
@@ -30879,8 +32055,8 @@ inline const std::string& AudioMessage::mimetype() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mimetype_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.mimetype)
}
inline std::string* AudioMessage::mutable_mimetype() {
@@ -30889,46 +32065,56 @@ inline std::string* AudioMessage::mutable_mimetype() {
return _s;
}
inline const std::string& AudioMessage::_internal_mimetype() const {
- return mimetype_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mimetype_.Set(value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_mimetype() {
- _has_bits_[0] |= 0x00000002u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.mimetype_.Mutable(GetArenaForAllocation());
}
inline std::string* AudioMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.mimetype)
if (!_internal_has_mimetype()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.mimetype_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AudioMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.mimetype_.SetAllocated(mimetype, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
}
- mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.mimetype)
}
// optional bytes fileSha256 = 3;
inline bool AudioMessage::_internal_has_filesha256() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool AudioMessage::has_filesha256() const {
return _internal_has_filesha256();
}
inline void AudioMessage::clear_filesha256() {
- filesha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.filesha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& AudioMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.fileSha256)
@@ -30937,8 +32123,8 @@ inline const std::string& AudioMessage::filesha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.filesha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.fileSha256)
}
inline std::string* AudioMessage::mutable_filesha256() {
@@ -30947,113 +32133,123 @@ inline std::string* AudioMessage::mutable_filesha256() {
return _s;
}
inline const std::string& AudioMessage::_internal_filesha256() const {
- return filesha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.filesha256_.Set(value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_filesha256() {
- _has_bits_[0] |= 0x00000004u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.filesha256_.Mutable(GetArenaForAllocation());
}
inline std::string* AudioMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.fileSha256)
if (!_internal_has_filesha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.filesha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AudioMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.filesha256_.SetAllocated(filesha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
}
- filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.fileSha256)
}
// optional uint64 fileLength = 4;
inline bool AudioMessage::_internal_has_filelength() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool AudioMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void AudioMessage::clear_filelength() {
- filelength_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.filelength_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 AudioMessage::_internal_filelength() const {
- return filelength_;
+inline uint64_t AudioMessage::_internal_filelength() const {
+ return _impl_.filelength_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 AudioMessage::filelength() const {
+inline uint64_t AudioMessage::filelength() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.fileLength)
return _internal_filelength();
}
-inline void AudioMessage::_internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000100u;
- filelength_ = value;
+inline void AudioMessage::_internal_set_filelength(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.filelength_ = value;
}
-inline void AudioMessage::set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void AudioMessage::set_filelength(uint64_t value) {
_internal_set_filelength(value);
// @@protoc_insertion_point(field_set:proto.AudioMessage.fileLength)
}
// optional uint32 seconds = 5;
inline bool AudioMessage::_internal_has_seconds() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool AudioMessage::has_seconds() const {
return _internal_has_seconds();
}
inline void AudioMessage::clear_seconds() {
- seconds_ = 0u;
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.seconds_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 AudioMessage::_internal_seconds() const {
- return seconds_;
+inline uint32_t AudioMessage::_internal_seconds() const {
+ return _impl_.seconds_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 AudioMessage::seconds() const {
+inline uint32_t AudioMessage::seconds() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.seconds)
return _internal_seconds();
}
-inline void AudioMessage::_internal_set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000200u;
- seconds_ = value;
+inline void AudioMessage::_internal_set_seconds(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.seconds_ = value;
}
-inline void AudioMessage::set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void AudioMessage::set_seconds(uint32_t value) {
_internal_set_seconds(value);
// @@protoc_insertion_point(field_set:proto.AudioMessage.seconds)
}
// optional bool ptt = 6;
inline bool AudioMessage::_internal_has_ptt() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool AudioMessage::has_ptt() const {
return _internal_has_ptt();
}
inline void AudioMessage::clear_ptt() {
- ptt_ = false;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.ptt_ = false;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline bool AudioMessage::_internal_ptt() const {
- return ptt_;
+ return _impl_.ptt_;
}
inline bool AudioMessage::ptt() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.ptt)
return _internal_ptt();
}
inline void AudioMessage::_internal_set_ptt(bool value) {
- _has_bits_[0] |= 0x00000400u;
- ptt_ = value;
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.ptt_ = value;
}
inline void AudioMessage::set_ptt(bool value) {
_internal_set_ptt(value);
@@ -31062,15 +32258,15 @@ inline void AudioMessage::set_ptt(bool value) {
// optional bytes mediaKey = 7;
inline bool AudioMessage::_internal_has_mediakey() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool AudioMessage::has_mediakey() const {
return _internal_has_mediakey();
}
inline void AudioMessage::clear_mediakey() {
- mediakey_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.mediakey_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& AudioMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.mediaKey)
@@ -31079,8 +32275,8 @@ inline const std::string& AudioMessage::mediakey() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediakey_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.mediaKey)
}
inline std::string* AudioMessage::mutable_mediakey() {
@@ -31089,46 +32285,56 @@ inline std::string* AudioMessage::mutable_mediakey() {
return _s;
}
inline const std::string& AudioMessage::_internal_mediakey() const {
- return mediakey_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediakey_.Set(value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_mediakey() {
- _has_bits_[0] |= 0x00000008u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.mediakey_.Mutable(GetArenaForAllocation());
}
inline std::string* AudioMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.mediaKey)
if (!_internal_has_mediakey()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.mediakey_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AudioMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.mediakey_.SetAllocated(mediakey, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
}
- mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.mediaKey)
}
// optional bytes fileEncSha256 = 8;
inline bool AudioMessage::_internal_has_fileencsha256() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool AudioMessage::has_fileencsha256() const {
return _internal_has_fileencsha256();
}
inline void AudioMessage::clear_fileencsha256() {
- fileencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.fileencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& AudioMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.fileEncSha256)
@@ -31137,8 +32343,8 @@ inline const std::string& AudioMessage::fileencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.fileencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.fileEncSha256)
}
inline std::string* AudioMessage::mutable_fileencsha256() {
@@ -31147,46 +32353,56 @@ inline std::string* AudioMessage::mutable_fileencsha256() {
return _s;
}
inline const std::string& AudioMessage::_internal_fileencsha256() const {
- return fileencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.fileencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_fileencsha256() {
- _has_bits_[0] |= 0x00000010u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.fileencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* AudioMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.fileEncSha256)
if (!_internal_has_fileencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.fileencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AudioMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArenaForAllocation());
+ _impl_.fileencsha256_.SetAllocated(fileencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.fileEncSha256)
}
// optional string directPath = 9;
inline bool AudioMessage::_internal_has_directpath() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool AudioMessage::has_directpath() const {
return _internal_has_directpath();
}
inline void AudioMessage::clear_directpath() {
- directpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.directpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& AudioMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.directPath)
@@ -31195,8 +32411,8 @@ inline const std::string& AudioMessage::directpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.directpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.directPath)
}
inline std::string* AudioMessage::mutable_directpath() {
@@ -31205,78 +32421,88 @@ inline std::string* AudioMessage::mutable_directpath() {
return _s;
}
inline const std::string& AudioMessage::_internal_directpath() const {
- return directpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.directpath_.Set(value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_directpath() {
- _has_bits_[0] |= 0x00000020u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.directpath_.Mutable(GetArenaForAllocation());
}
inline std::string* AudioMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.directPath)
if (!_internal_has_directpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.directpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AudioMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArenaForAllocation());
+ _impl_.directpath_.SetAllocated(directpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.directPath)
}
// optional int64 mediaKeyTimestamp = 10;
inline bool AudioMessage::_internal_has_mediakeytimestamp() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool AudioMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void AudioMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.mediakeytimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 AudioMessage::_internal_mediakeytimestamp() const {
- return mediakeytimestamp_;
+inline int64_t AudioMessage::_internal_mediakeytimestamp() const {
+ return _impl_.mediakeytimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 AudioMessage::mediakeytimestamp() const {
+inline int64_t AudioMessage::mediakeytimestamp() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.mediaKeyTimestamp)
return _internal_mediakeytimestamp();
}
-inline void AudioMessage::_internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000800u;
- mediakeytimestamp_ = value;
+inline void AudioMessage::_internal_set_mediakeytimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.mediakeytimestamp_ = value;
}
-inline void AudioMessage::set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void AudioMessage::set_mediakeytimestamp(int64_t value) {
_internal_set_mediakeytimestamp(value);
// @@protoc_insertion_point(field_set:proto.AudioMessage.mediaKeyTimestamp)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool AudioMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool AudioMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void AudioMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000080u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const ::proto::ContextInfo& AudioMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -31287,20 +32513,20 @@ inline const ::proto::ContextInfo& AudioMessage::contextinfo() const {
inline void AudioMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.AudioMessage.contextInfo)
}
inline ::proto::ContextInfo* AudioMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000080u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -31314,18 +32540,18 @@ inline ::proto::ContextInfo* AudioMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* AudioMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.contextInfo)
- _has_bits_[0] &= ~0x00000080u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* AudioMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000080u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* AudioMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -31335,34 +32561,34 @@ inline ::proto::ContextInfo* AudioMessage::mutable_contextinfo() {
inline void AudioMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.contextInfo)
}
// optional bytes streamingSidecar = 18;
inline bool AudioMessage::_internal_has_streamingsidecar() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool AudioMessage::has_streamingsidecar() const {
return _internal_has_streamingsidecar();
}
inline void AudioMessage::clear_streamingsidecar() {
- streamingsidecar_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.streamingsidecar_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& AudioMessage::streamingsidecar() const {
// @@protoc_insertion_point(field_get:proto.AudioMessage.streamingSidecar)
@@ -31371,8 +32597,8 @@ inline const std::string& AudioMessage::streamingsidecar() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.streamingsidecar_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AudioMessage.streamingSidecar)
}
inline std::string* AudioMessage::mutable_streamingsidecar() {
@@ -31381,32 +32607,42 @@ inline std::string* AudioMessage::mutable_streamingsidecar() {
return _s;
}
inline const std::string& AudioMessage::_internal_streamingsidecar() const {
- return streamingsidecar_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.streamingsidecar_.Set(value, GetArenaForAllocation());
}
inline std::string* AudioMessage::_internal_mutable_streamingsidecar() {
- _has_bits_[0] |= 0x00000040u;
- return streamingsidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.streamingsidecar_.Mutable(GetArenaForAllocation());
}
inline std::string* AudioMessage::release_streamingsidecar() {
// @@protoc_insertion_point(field_release:proto.AudioMessage.streamingSidecar)
if (!_internal_has_streamingsidecar()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return streamingsidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.streamingsidecar_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.streamingsidecar_.IsDefault()) {
+ _impl_.streamingsidecar_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AudioMessage::set_allocated_streamingsidecar(std::string* streamingsidecar) {
if (streamingsidecar != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- streamingsidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), streamingsidecar,
- GetArenaForAllocation());
+ _impl_.streamingsidecar_.SetAllocated(streamingsidecar, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.streamingsidecar_.IsDefault()) {
+ _impl_.streamingsidecar_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AudioMessage.streamingSidecar)
}
@@ -31416,15 +32652,15 @@ inline void AudioMessage::set_allocated_streamingsidecar(std::string* streamings
// optional string url = 1;
inline bool VideoMessage::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool VideoMessage::has_url() const {
return _internal_has_url();
}
inline void VideoMessage::clear_url() {
- url_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.url_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& VideoMessage::url() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.url)
@@ -31433,8 +32669,8 @@ inline const std::string& VideoMessage::url() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.url)
}
inline std::string* VideoMessage::mutable_url() {
@@ -31443,46 +32679,56 @@ inline std::string* VideoMessage::mutable_url() {
return _s;
}
inline const std::string& VideoMessage::_internal_url() const {
- return url_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.url_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.url)
if (!_internal_has_url()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.url_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArenaForAllocation());
+ _impl_.url_.SetAllocated(url, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.url)
}
// optional string mimetype = 2;
inline bool VideoMessage::_internal_has_mimetype() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool VideoMessage::has_mimetype() const {
return _internal_has_mimetype();
}
inline void VideoMessage::clear_mimetype() {
- mimetype_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.mimetype_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& VideoMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.mimetype)
@@ -31491,8 +32737,8 @@ inline const std::string& VideoMessage::mimetype() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mimetype_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.mimetype)
}
inline std::string* VideoMessage::mutable_mimetype() {
@@ -31501,46 +32747,56 @@ inline std::string* VideoMessage::mutable_mimetype() {
return _s;
}
inline const std::string& VideoMessage::_internal_mimetype() const {
- return mimetype_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mimetype_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_mimetype() {
- _has_bits_[0] |= 0x00000002u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.mimetype_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.mimetype)
if (!_internal_has_mimetype()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.mimetype_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArenaForAllocation());
+ _impl_.mimetype_.SetAllocated(mimetype, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.mimetype)
}
// optional bytes fileSha256 = 3;
inline bool VideoMessage::_internal_has_filesha256() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool VideoMessage::has_filesha256() const {
return _internal_has_filesha256();
}
inline void VideoMessage::clear_filesha256() {
- filesha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.filesha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& VideoMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.fileSha256)
@@ -31549,8 +32805,8 @@ inline const std::string& VideoMessage::filesha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.filesha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.fileSha256)
}
inline std::string* VideoMessage::mutable_filesha256() {
@@ -31559,102 +32815,112 @@ inline std::string* VideoMessage::mutable_filesha256() {
return _s;
}
inline const std::string& VideoMessage::_internal_filesha256() const {
- return filesha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.filesha256_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_filesha256() {
- _has_bits_[0] |= 0x00000004u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.filesha256_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.fileSha256)
if (!_internal_has_filesha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.filesha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArenaForAllocation());
+ _impl_.filesha256_.SetAllocated(filesha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.fileSha256)
}
// optional uint64 fileLength = 4;
inline bool VideoMessage::_internal_has_filelength() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool VideoMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void VideoMessage::clear_filelength() {
- filelength_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00002000u;
+ _impl_.filelength_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 VideoMessage::_internal_filelength() const {
- return filelength_;
+inline uint64_t VideoMessage::_internal_filelength() const {
+ return _impl_.filelength_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 VideoMessage::filelength() const {
+inline uint64_t VideoMessage::filelength() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.fileLength)
return _internal_filelength();
}
-inline void VideoMessage::_internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00002000u;
- filelength_ = value;
+inline void VideoMessage::_internal_set_filelength(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00002000u;
+ _impl_.filelength_ = value;
}
-inline void VideoMessage::set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void VideoMessage::set_filelength(uint64_t value) {
_internal_set_filelength(value);
// @@protoc_insertion_point(field_set:proto.VideoMessage.fileLength)
}
// optional uint32 seconds = 5;
inline bool VideoMessage::_internal_has_seconds() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool VideoMessage::has_seconds() const {
return _internal_has_seconds();
}
inline void VideoMessage::clear_seconds() {
- seconds_ = 0u;
- _has_bits_[0] &= ~0x00004000u;
+ _impl_.seconds_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 VideoMessage::_internal_seconds() const {
- return seconds_;
+inline uint32_t VideoMessage::_internal_seconds() const {
+ return _impl_.seconds_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 VideoMessage::seconds() const {
+inline uint32_t VideoMessage::seconds() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.seconds)
return _internal_seconds();
}
-inline void VideoMessage::_internal_set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00004000u;
- seconds_ = value;
+inline void VideoMessage::_internal_set_seconds(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00004000u;
+ _impl_.seconds_ = value;
}
-inline void VideoMessage::set_seconds(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void VideoMessage::set_seconds(uint32_t value) {
_internal_set_seconds(value);
// @@protoc_insertion_point(field_set:proto.VideoMessage.seconds)
}
// optional bytes mediaKey = 6;
inline bool VideoMessage::_internal_has_mediakey() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool VideoMessage::has_mediakey() const {
return _internal_has_mediakey();
}
inline void VideoMessage::clear_mediakey() {
- mediakey_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.mediakey_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& VideoMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.mediaKey)
@@ -31663,8 +32929,8 @@ inline const std::string& VideoMessage::mediakey() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediakey_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.mediaKey)
}
inline std::string* VideoMessage::mutable_mediakey() {
@@ -31673,46 +32939,56 @@ inline std::string* VideoMessage::mutable_mediakey() {
return _s;
}
inline const std::string& VideoMessage::_internal_mediakey() const {
- return mediakey_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediakey_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_mediakey() {
- _has_bits_[0] |= 0x00000008u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.mediakey_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.mediaKey)
if (!_internal_has_mediakey()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.mediakey_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArenaForAllocation());
+ _impl_.mediakey_.SetAllocated(mediakey, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.mediaKey)
}
// optional string caption = 7;
inline bool VideoMessage::_internal_has_caption() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool VideoMessage::has_caption() const {
return _internal_has_caption();
}
inline void VideoMessage::clear_caption() {
- caption_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.caption_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& VideoMessage::caption() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.caption)
@@ -31721,8 +32997,8 @@ inline const std::string& VideoMessage::caption() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.caption_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.caption)
}
inline std::string* VideoMessage::mutable_caption() {
@@ -31731,57 +33007,67 @@ inline std::string* VideoMessage::mutable_caption() {
return _s;
}
inline const std::string& VideoMessage::_internal_caption() const {
- return caption_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.caption_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_caption() {
- _has_bits_[0] |= 0x00000010u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.caption_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_caption() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.caption)
if (!_internal_has_caption()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.caption_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ }
+ _impl_.caption_.SetAllocated(caption, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
}
- caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.caption)
}
// optional bool gifPlayback = 8;
inline bool VideoMessage::_internal_has_gifplayback() const {
- bool value = (_has_bits_[0] & 0x00020000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
return value;
}
inline bool VideoMessage::has_gifplayback() const {
return _internal_has_gifplayback();
}
inline void VideoMessage::clear_gifplayback() {
- gifplayback_ = false;
- _has_bits_[0] &= ~0x00020000u;
+ _impl_.gifplayback_ = false;
+ _impl_._has_bits_[0] &= ~0x00020000u;
}
inline bool VideoMessage::_internal_gifplayback() const {
- return gifplayback_;
+ return _impl_.gifplayback_;
}
inline bool VideoMessage::gifplayback() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.gifPlayback)
return _internal_gifplayback();
}
inline void VideoMessage::_internal_set_gifplayback(bool value) {
- _has_bits_[0] |= 0x00020000u;
- gifplayback_ = value;
+ _impl_._has_bits_[0] |= 0x00020000u;
+ _impl_.gifplayback_ = value;
}
inline void VideoMessage::set_gifplayback(bool value) {
_internal_set_gifplayback(value);
@@ -31790,71 +33076,71 @@ inline void VideoMessage::set_gifplayback(bool value) {
// optional uint32 height = 9;
inline bool VideoMessage::_internal_has_height() const {
- bool value = (_has_bits_[0] & 0x00008000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
return value;
}
inline bool VideoMessage::has_height() const {
return _internal_has_height();
}
inline void VideoMessage::clear_height() {
- height_ = 0u;
- _has_bits_[0] &= ~0x00008000u;
+ _impl_.height_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 VideoMessage::_internal_height() const {
- return height_;
+inline uint32_t VideoMessage::_internal_height() const {
+ return _impl_.height_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 VideoMessage::height() const {
+inline uint32_t VideoMessage::height() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.height)
return _internal_height();
}
-inline void VideoMessage::_internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00008000u;
- height_ = value;
+inline void VideoMessage::_internal_set_height(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00008000u;
+ _impl_.height_ = value;
}
-inline void VideoMessage::set_height(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void VideoMessage::set_height(uint32_t value) {
_internal_set_height(value);
// @@protoc_insertion_point(field_set:proto.VideoMessage.height)
}
// optional uint32 width = 10;
inline bool VideoMessage::_internal_has_width() const {
- bool value = (_has_bits_[0] & 0x00010000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
return value;
}
inline bool VideoMessage::has_width() const {
return _internal_has_width();
}
inline void VideoMessage::clear_width() {
- width_ = 0u;
- _has_bits_[0] &= ~0x00010000u;
+ _impl_.width_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00010000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 VideoMessage::_internal_width() const {
- return width_;
+inline uint32_t VideoMessage::_internal_width() const {
+ return _impl_.width_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 VideoMessage::width() const {
+inline uint32_t VideoMessage::width() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.width)
return _internal_width();
}
-inline void VideoMessage::_internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00010000u;
- width_ = value;
+inline void VideoMessage::_internal_set_width(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00010000u;
+ _impl_.width_ = value;
}
-inline void VideoMessage::set_width(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void VideoMessage::set_width(uint32_t value) {
_internal_set_width(value);
// @@protoc_insertion_point(field_set:proto.VideoMessage.width)
}
// optional bytes fileEncSha256 = 11;
inline bool VideoMessage::_internal_has_fileencsha256() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool VideoMessage::has_fileencsha256() const {
return _internal_has_fileencsha256();
}
inline void VideoMessage::clear_fileencsha256() {
- fileencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.fileencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& VideoMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.fileEncSha256)
@@ -31863,8 +33149,8 @@ inline const std::string& VideoMessage::fileencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.fileencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.fileEncSha256)
}
inline std::string* VideoMessage::mutable_fileencsha256() {
@@ -31873,63 +33159,73 @@ inline std::string* VideoMessage::mutable_fileencsha256() {
return _s;
}
inline const std::string& VideoMessage::_internal_fileencsha256() const {
- return fileencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.fileencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_fileencsha256() {
- _has_bits_[0] |= 0x00000020u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.fileencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.fileEncSha256)
if (!_internal_has_fileencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.fileencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ }
+ _impl_.fileencsha256_.SetAllocated(fileencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
}
- fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.fileEncSha256)
}
// repeated .proto.InteractiveAnnotation interactiveAnnotations = 12;
inline int VideoMessage::_internal_interactiveannotations_size() const {
- return interactiveannotations_.size();
+ return _impl_.interactiveannotations_.size();
}
inline int VideoMessage::interactiveannotations_size() const {
return _internal_interactiveannotations_size();
}
inline void VideoMessage::clear_interactiveannotations() {
- interactiveannotations_.Clear();
+ _impl_.interactiveannotations_.Clear();
}
inline ::proto::InteractiveAnnotation* VideoMessage::mutable_interactiveannotations(int index) {
// @@protoc_insertion_point(field_mutable:proto.VideoMessage.interactiveAnnotations)
- return interactiveannotations_.Mutable(index);
+ return _impl_.interactiveannotations_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation >*
VideoMessage::mutable_interactiveannotations() {
// @@protoc_insertion_point(field_mutable_list:proto.VideoMessage.interactiveAnnotations)
- return &interactiveannotations_;
+ return &_impl_.interactiveannotations_;
}
inline const ::proto::InteractiveAnnotation& VideoMessage::_internal_interactiveannotations(int index) const {
- return interactiveannotations_.Get(index);
+ return _impl_.interactiveannotations_.Get(index);
}
inline const ::proto::InteractiveAnnotation& VideoMessage::interactiveannotations(int index) const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.interactiveAnnotations)
return _internal_interactiveannotations(index);
}
inline ::proto::InteractiveAnnotation* VideoMessage::_internal_add_interactiveannotations() {
- return interactiveannotations_.Add();
+ return _impl_.interactiveannotations_.Add();
}
inline ::proto::InteractiveAnnotation* VideoMessage::add_interactiveannotations() {
::proto::InteractiveAnnotation* _add = _internal_add_interactiveannotations();
@@ -31939,20 +33235,20 @@ inline ::proto::InteractiveAnnotation* VideoMessage::add_interactiveannotations(
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::InteractiveAnnotation >&
VideoMessage::interactiveannotations() const {
// @@protoc_insertion_point(field_list:proto.VideoMessage.interactiveAnnotations)
- return interactiveannotations_;
+ return _impl_.interactiveannotations_;
}
// optional string directPath = 13;
inline bool VideoMessage::_internal_has_directpath() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool VideoMessage::has_directpath() const {
return _internal_has_directpath();
}
inline void VideoMessage::clear_directpath() {
- directpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.directpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& VideoMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.directPath)
@@ -31961,8 +33257,8 @@ inline const std::string& VideoMessage::directpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.directpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.directPath)
}
inline std::string* VideoMessage::mutable_directpath() {
@@ -31971,74 +33267,84 @@ inline std::string* VideoMessage::mutable_directpath() {
return _s;
}
inline const std::string& VideoMessage::_internal_directpath() const {
- return directpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.directpath_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_directpath() {
- _has_bits_[0] |= 0x00000040u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.directpath_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.directPath)
if (!_internal_has_directpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.directpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ }
+ _impl_.directpath_.SetAllocated(directpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
}
- directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.directPath)
}
// optional int64 mediaKeyTimestamp = 14;
inline bool VideoMessage::_internal_has_mediakeytimestamp() const {
- bool value = (_has_bits_[0] & 0x00080000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
return value;
}
inline bool VideoMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void VideoMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00080000u;
+ _impl_.mediakeytimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00080000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 VideoMessage::_internal_mediakeytimestamp() const {
- return mediakeytimestamp_;
+inline int64_t VideoMessage::_internal_mediakeytimestamp() const {
+ return _impl_.mediakeytimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 VideoMessage::mediakeytimestamp() const {
+inline int64_t VideoMessage::mediakeytimestamp() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.mediaKeyTimestamp)
return _internal_mediakeytimestamp();
}
-inline void VideoMessage::_internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00080000u;
- mediakeytimestamp_ = value;
+inline void VideoMessage::_internal_set_mediakeytimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00080000u;
+ _impl_.mediakeytimestamp_ = value;
}
-inline void VideoMessage::set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void VideoMessage::set_mediakeytimestamp(int64_t value) {
_internal_set_mediakeytimestamp(value);
// @@protoc_insertion_point(field_set:proto.VideoMessage.mediaKeyTimestamp)
}
// optional bytes jpegThumbnail = 16;
inline bool VideoMessage::_internal_has_jpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool VideoMessage::has_jpegthumbnail() const {
return _internal_has_jpegthumbnail();
}
inline void VideoMessage::clear_jpegthumbnail() {
- jpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.jpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const std::string& VideoMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.jpegThumbnail)
@@ -32047,8 +33353,8 @@ inline const std::string& VideoMessage::jpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.jpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.jpegThumbnail)
}
inline std::string* VideoMessage::mutable_jpegthumbnail() {
@@ -32057,50 +33363,60 @@ inline std::string* VideoMessage::mutable_jpegthumbnail() {
return _s;
}
inline const std::string& VideoMessage::_internal_jpegthumbnail() const {
- return jpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.jpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_jpegthumbnail() {
- _has_bits_[0] |= 0x00000080u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ return _impl_.jpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.jpegThumbnail)
if (!_internal_has_jpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000080u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ auto* p = _impl_.jpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ }
+ _impl_.jpegthumbnail_.SetAllocated(jpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
}
- jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.jpegThumbnail)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool VideoMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool VideoMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void VideoMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00001000u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
inline const ::proto::ContextInfo& VideoMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -32111,20 +33427,20 @@ inline const ::proto::ContextInfo& VideoMessage::contextinfo() const {
inline void VideoMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00001000u;
+ _impl_._has_bits_[0] |= 0x00001000u;
} else {
- _has_bits_[0] &= ~0x00001000u;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.VideoMessage.contextInfo)
}
inline ::proto::ContextInfo* VideoMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00001000u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00001000u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -32138,18 +33454,18 @@ inline ::proto::ContextInfo* VideoMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* VideoMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.contextInfo)
- _has_bits_[0] &= ~0x00001000u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00001000u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* VideoMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00001000u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00001000u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* VideoMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -32159,34 +33475,34 @@ inline ::proto::ContextInfo* VideoMessage::mutable_contextinfo() {
inline void VideoMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00001000u;
+ _impl_._has_bits_[0] |= 0x00001000u;
} else {
- _has_bits_[0] &= ~0x00001000u;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.contextInfo)
}
// optional bytes streamingSidecar = 18;
inline bool VideoMessage::_internal_has_streamingsidecar() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool VideoMessage::has_streamingsidecar() const {
return _internal_has_streamingsidecar();
}
inline void VideoMessage::clear_streamingsidecar() {
- streamingsidecar_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.streamingsidecar_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline const std::string& VideoMessage::streamingsidecar() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.streamingSidecar)
@@ -32195,8 +33511,8 @@ inline const std::string& VideoMessage::streamingsidecar() const {
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());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.streamingsidecar_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.streamingSidecar)
}
inline std::string* VideoMessage::mutable_streamingsidecar() {
@@ -32205,49 +33521,59 @@ inline std::string* VideoMessage::mutable_streamingsidecar() {
return _s;
}
inline const std::string& VideoMessage::_internal_streamingsidecar() const {
- return streamingsidecar_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.streamingsidecar_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_streamingsidecar() {
- _has_bits_[0] |= 0x00000100u;
- return streamingsidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000100u;
+ return _impl_.streamingsidecar_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_streamingsidecar() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.streamingSidecar)
if (!_internal_has_streamingsidecar()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000100u;
- return streamingsidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ auto* p = _impl_.streamingsidecar_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.streamingsidecar_.IsDefault()) {
+ _impl_.streamingsidecar_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_streamingsidecar(std::string* streamingsidecar) {
if (streamingsidecar != nullptr) {
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
- streamingsidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), streamingsidecar,
- GetArenaForAllocation());
+ _impl_.streamingsidecar_.SetAllocated(streamingsidecar, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.streamingsidecar_.IsDefault()) {
+ _impl_.streamingsidecar_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.streamingSidecar)
}
// optional .proto.VideoMessage.VideoMessageAttribution gifAttribution = 19;
inline bool VideoMessage::_internal_has_gifattribution() const {
- bool value = (_has_bits_[0] & 0x00100000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
return value;
}
inline bool VideoMessage::has_gifattribution() const {
return _internal_has_gifattribution();
}
inline void VideoMessage::clear_gifattribution() {
- gifattribution_ = 0;
- _has_bits_[0] &= ~0x00100000u;
+ _impl_.gifattribution_ = 0;
+ _impl_._has_bits_[0] &= ~0x00100000u;
}
inline ::proto::VideoMessage_VideoMessageAttribution VideoMessage::_internal_gifattribution() const {
- return static_cast< ::proto::VideoMessage_VideoMessageAttribution >(gifattribution_);
+ return static_cast< ::proto::VideoMessage_VideoMessageAttribution >(_impl_.gifattribution_);
}
inline ::proto::VideoMessage_VideoMessageAttribution VideoMessage::gifattribution() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.gifAttribution)
@@ -32255,8 +33581,8 @@ inline ::proto::VideoMessage_VideoMessageAttribution VideoMessage::gifattributio
}
inline void VideoMessage::_internal_set_gifattribution(::proto::VideoMessage_VideoMessageAttribution value) {
assert(::proto::VideoMessage_VideoMessageAttribution_IsValid(value));
- _has_bits_[0] |= 0x00100000u;
- gifattribution_ = value;
+ _impl_._has_bits_[0] |= 0x00100000u;
+ _impl_.gifattribution_ = value;
}
inline void VideoMessage::set_gifattribution(::proto::VideoMessage_VideoMessageAttribution value) {
_internal_set_gifattribution(value);
@@ -32265,26 +33591,26 @@ inline void VideoMessage::set_gifattribution(::proto::VideoMessage_VideoMessageA
// optional bool viewOnce = 20;
inline bool VideoMessage::_internal_has_viewonce() const {
- bool value = (_has_bits_[0] & 0x00040000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
return value;
}
inline bool VideoMessage::has_viewonce() const {
return _internal_has_viewonce();
}
inline void VideoMessage::clear_viewonce() {
- viewonce_ = false;
- _has_bits_[0] &= ~0x00040000u;
+ _impl_.viewonce_ = false;
+ _impl_._has_bits_[0] &= ~0x00040000u;
}
inline bool VideoMessage::_internal_viewonce() const {
- return viewonce_;
+ return _impl_.viewonce_;
}
inline bool VideoMessage::viewonce() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.viewOnce)
return _internal_viewonce();
}
inline void VideoMessage::_internal_set_viewonce(bool value) {
- _has_bits_[0] |= 0x00040000u;
- viewonce_ = value;
+ _impl_._has_bits_[0] |= 0x00040000u;
+ _impl_.viewonce_ = value;
}
inline void VideoMessage::set_viewonce(bool value) {
_internal_set_viewonce(value);
@@ -32293,15 +33619,15 @@ inline void VideoMessage::set_viewonce(bool value) {
// optional string thumbnailDirectPath = 21;
inline bool VideoMessage::_internal_has_thumbnaildirectpath() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool VideoMessage::has_thumbnaildirectpath() const {
return _internal_has_thumbnaildirectpath();
}
inline void VideoMessage::clear_thumbnaildirectpath() {
- thumbnaildirectpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.thumbnaildirectpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
inline const std::string& VideoMessage::thumbnaildirectpath() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.thumbnailDirectPath)
@@ -32310,8 +33636,8 @@ inline const std::string& VideoMessage::thumbnaildirectpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.thumbnaildirectpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.thumbnailDirectPath)
}
inline std::string* VideoMessage::mutable_thumbnaildirectpath() {
@@ -32320,46 +33646,56 @@ inline std::string* VideoMessage::mutable_thumbnaildirectpath() {
return _s;
}
inline const std::string& VideoMessage::_internal_thumbnaildirectpath() const {
- return thumbnaildirectpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.thumbnaildirectpath_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_thumbnaildirectpath() {
- _has_bits_[0] |= 0x00000200u;
- return thumbnaildirectpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000200u;
+ return _impl_.thumbnaildirectpath_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_thumbnaildirectpath() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.thumbnailDirectPath)
if (!_internal_has_thumbnaildirectpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000200u;
- return thumbnaildirectpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ auto* p = _impl_.thumbnaildirectpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnaildirectpath_.IsDefault()) {
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_thumbnaildirectpath(std::string* thumbnaildirectpath) {
if (thumbnaildirectpath != nullptr) {
- _has_bits_[0] |= 0x00000200u;
+ _impl_._has_bits_[0] |= 0x00000200u;
} else {
- _has_bits_[0] &= ~0x00000200u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
- thumbnaildirectpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnaildirectpath,
- GetArenaForAllocation());
+ _impl_.thumbnaildirectpath_.SetAllocated(thumbnaildirectpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnaildirectpath_.IsDefault()) {
+ _impl_.thumbnaildirectpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.thumbnailDirectPath)
}
// optional bytes thumbnailSha256 = 22;
inline bool VideoMessage::_internal_has_thumbnailsha256() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool VideoMessage::has_thumbnailsha256() const {
return _internal_has_thumbnailsha256();
}
inline void VideoMessage::clear_thumbnailsha256() {
- thumbnailsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.thumbnailsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline const std::string& VideoMessage::thumbnailsha256() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.thumbnailSha256)
@@ -32368,8 +33704,8 @@ inline const std::string& VideoMessage::thumbnailsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.thumbnailsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.thumbnailSha256)
}
inline std::string* VideoMessage::mutable_thumbnailsha256() {
@@ -32378,46 +33714,56 @@ inline std::string* VideoMessage::mutable_thumbnailsha256() {
return _s;
}
inline const std::string& VideoMessage::_internal_thumbnailsha256() const {
- return thumbnailsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.thumbnailsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_thumbnailsha256() {
- _has_bits_[0] |= 0x00000400u;
- return thumbnailsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000400u;
+ return _impl_.thumbnailsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_thumbnailsha256() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.thumbnailSha256)
if (!_internal_has_thumbnailsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000400u;
- return thumbnailsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000400u;
+ auto* p = _impl_.thumbnailsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailsha256_.IsDefault()) {
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_thumbnailsha256(std::string* thumbnailsha256) {
if (thumbnailsha256 != nullptr) {
- _has_bits_[0] |= 0x00000400u;
+ _impl_._has_bits_[0] |= 0x00000400u;
} else {
- _has_bits_[0] &= ~0x00000400u;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
- thumbnailsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailsha256,
- GetArenaForAllocation());
+ _impl_.thumbnailsha256_.SetAllocated(thumbnailsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailsha256_.IsDefault()) {
+ _impl_.thumbnailsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.thumbnailSha256)
}
// optional bytes thumbnailEncSha256 = 23;
inline bool VideoMessage::_internal_has_thumbnailencsha256() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool VideoMessage::has_thumbnailencsha256() const {
return _internal_has_thumbnailencsha256();
}
inline void VideoMessage::clear_thumbnailencsha256() {
- thumbnailencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.thumbnailencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline const std::string& VideoMessage::thumbnailencsha256() const {
// @@protoc_insertion_point(field_get:proto.VideoMessage.thumbnailEncSha256)
@@ -32426,8 +33772,8 @@ inline const std::string& VideoMessage::thumbnailencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.thumbnailencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.VideoMessage.thumbnailEncSha256)
}
inline std::string* VideoMessage::mutable_thumbnailencsha256() {
@@ -32436,32 +33782,42 @@ inline std::string* VideoMessage::mutable_thumbnailencsha256() {
return _s;
}
inline const std::string& VideoMessage::_internal_thumbnailencsha256() const {
- return thumbnailencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.thumbnailencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* VideoMessage::_internal_mutable_thumbnailencsha256() {
- _has_bits_[0] |= 0x00000800u;
- return thumbnailencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000800u;
+ return _impl_.thumbnailencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* VideoMessage::release_thumbnailencsha256() {
// @@protoc_insertion_point(field_release:proto.VideoMessage.thumbnailEncSha256)
if (!_internal_has_thumbnailencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000800u;
- return thumbnailencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000800u;
+ auto* p = _impl_.thumbnailencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailencsha256_.IsDefault()) {
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void VideoMessage::set_allocated_thumbnailencsha256(std::string* thumbnailencsha256) {
if (thumbnailencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000800u;
+ _impl_._has_bits_[0] |= 0x00000800u;
} else {
- _has_bits_[0] &= ~0x00000800u;
+ _impl_._has_bits_[0] &= ~0x00000800u;
+ }
+ _impl_.thumbnailencsha256_.SetAllocated(thumbnailencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnailencsha256_.IsDefault()) {
+ _impl_.thumbnailencsha256_.Set("", GetArenaForAllocation());
}
- thumbnailencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnailencsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.VideoMessage.thumbnailEncSha256)
}
@@ -32471,15 +33827,15 @@ inline void VideoMessage::set_allocated_thumbnailencsha256(std::string* thumbnai
// optional bytes callKey = 1;
inline bool Call::_internal_has_callkey() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool Call::has_callkey() const {
return _internal_has_callkey();
}
inline void Call::clear_callkey() {
- callkey_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.callkey_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Call::callkey() const {
// @@protoc_insertion_point(field_get:proto.Call.callKey)
@@ -32488,8 +33844,8 @@ inline const std::string& Call::callkey() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.callkey_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Call.callKey)
}
inline std::string* Call::mutable_callkey() {
@@ -32498,32 +33854,42 @@ inline std::string* Call::mutable_callkey() {
return _s;
}
inline const std::string& Call::_internal_callkey() const {
- return callkey_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.callkey_.Set(value, GetArenaForAllocation());
}
inline std::string* Call::_internal_mutable_callkey() {
- _has_bits_[0] |= 0x00000001u;
- return callkey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.callkey_.Mutable(GetArenaForAllocation());
}
inline std::string* Call::release_callkey() {
// @@protoc_insertion_point(field_release:proto.Call.callKey)
if (!_internal_has_callkey()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return callkey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.callkey_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.callkey_.IsDefault()) {
+ _impl_.callkey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Call::set_allocated_callkey(std::string* callkey) {
if (callkey != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.callkey_.SetAllocated(callkey, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.callkey_.IsDefault()) {
+ _impl_.callkey_.Set("", GetArenaForAllocation());
}
- callkey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), callkey,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Call.callKey)
}
@@ -32533,15 +33899,15 @@ inline void Call::set_allocated_callkey(std::string* callkey) {
// optional string displayName = 1;
inline bool Chat::_internal_has_displayname() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool Chat::has_displayname() const {
return _internal_has_displayname();
}
inline void Chat::clear_displayname() {
- displayname_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.displayname_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Chat::displayname() const {
// @@protoc_insertion_point(field_get:proto.Chat.displayName)
@@ -32550,8 +33916,8 @@ inline const std::string& Chat::displayname() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displayname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Chat.displayName)
}
inline std::string* Chat::mutable_displayname() {
@@ -32560,46 +33926,56 @@ inline std::string* Chat::mutable_displayname() {
return _s;
}
inline const std::string& Chat::_internal_displayname() const {
- return displayname_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displayname_.Set(value, GetArenaForAllocation());
}
inline std::string* Chat::_internal_mutable_displayname() {
- _has_bits_[0] |= 0x00000001u;
- return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.displayname_.Mutable(GetArenaForAllocation());
}
inline std::string* Chat::release_displayname() {
// @@protoc_insertion_point(field_release:proto.Chat.displayName)
if (!_internal_has_displayname()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.displayname_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displayname_.IsDefault()) {
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Chat::set_allocated_displayname(std::string* displayname) {
if (displayname != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.displayname_.SetAllocated(displayname, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displayname_.IsDefault()) {
+ _impl_.displayname_.Set("", GetArenaForAllocation());
}
- displayname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displayname,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Chat.displayName)
}
// optional string id = 2;
inline bool Chat::_internal_has_id() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool Chat::has_id() const {
return _internal_has_id();
}
inline void Chat::clear_id() {
- id_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.id_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& Chat::id() const {
// @@protoc_insertion_point(field_get:proto.Chat.id)
@@ -32608,8 +33984,8 @@ inline const std::string& Chat::id() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Chat.id)
}
inline std::string* Chat::mutable_id() {
@@ -32618,32 +33994,42 @@ inline std::string* Chat::mutable_id() {
return _s;
}
inline const std::string& Chat::_internal_id() const {
- return id_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.id_.Set(value, GetArenaForAllocation());
}
inline std::string* Chat::_internal_mutable_id() {
- _has_bits_[0] |= 0x00000002u;
- return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.id_.Mutable(GetArenaForAllocation());
}
inline std::string* Chat::release_id() {
// @@protoc_insertion_point(field_release:proto.Chat.id)
if (!_internal_has_id()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.id_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.id_.IsDefault()) {
+ _impl_.id_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Chat::set_allocated_id(std::string* id) {
if (id != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.id_.SetAllocated(id, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.id_.IsDefault()) {
+ _impl_.id_.Set("", GetArenaForAllocation());
}
- id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Chat.id)
}
@@ -32653,19 +34039,19 @@ inline void Chat::set_allocated_id(std::string* id) {
// optional .proto.MessageKey key = 1;
inline bool ProtocolMessage::_internal_has_key() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || key_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.key_ != nullptr);
return value;
}
inline bool ProtocolMessage::has_key() const {
return _internal_has_key();
}
inline void ProtocolMessage::clear_key() {
- if (key_ != nullptr) key_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.key_ != nullptr) _impl_.key_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::MessageKey& ProtocolMessage::_internal_key() const {
- const ::proto::MessageKey* p = key_;
+ const ::proto::MessageKey* p = _impl_.key_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageKey&>(
::proto::_MessageKey_default_instance_);
}
@@ -32676,20 +34062,20 @@ inline const ::proto::MessageKey& ProtocolMessage::key() const {
inline void ProtocolMessage::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.key_);
}
- key_ = key;
+ _impl_.key_ = key;
if (key) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProtocolMessage.key)
}
inline ::proto::MessageKey* ProtocolMessage::release_key() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -32703,18 +34089,18 @@ inline ::proto::MessageKey* ProtocolMessage::release_key() {
}
inline ::proto::MessageKey* ProtocolMessage::unsafe_arena_release_key() {
// @@protoc_insertion_point(field_release:proto.ProtocolMessage.key)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
return temp;
}
inline ::proto::MessageKey* ProtocolMessage::_internal_mutable_key() {
- _has_bits_[0] |= 0x00000001u;
- if (key_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.key_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
- key_ = p;
+ _impl_.key_ = p;
}
- return key_;
+ return _impl_.key_;
}
inline ::proto::MessageKey* ProtocolMessage::mutable_key() {
::proto::MessageKey* _msg = _internal_mutable_key();
@@ -32724,37 +34110,37 @@ inline ::proto::MessageKey* ProtocolMessage::mutable_key() {
inline void ProtocolMessage::set_allocated_key(::proto::MessageKey* key) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete key_;
+ delete _impl_.key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- key_ = key;
+ _impl_.key_ = key;
// @@protoc_insertion_point(field_set_allocated:proto.ProtocolMessage.key)
}
// optional .proto.ProtocolMessage.ProtocolMessageType type = 2;
inline bool ProtocolMessage::_internal_has_type() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool ProtocolMessage::has_type() const {
return _internal_has_type();
}
inline void ProtocolMessage::clear_type() {
- type_ = 0;
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.type_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline ::proto::ProtocolMessage_ProtocolMessageType ProtocolMessage::_internal_type() const {
- return static_cast< ::proto::ProtocolMessage_ProtocolMessageType >(type_);
+ return static_cast< ::proto::ProtocolMessage_ProtocolMessageType >(_impl_.type_);
}
inline ::proto::ProtocolMessage_ProtocolMessageType ProtocolMessage::type() const {
// @@protoc_insertion_point(field_get:proto.ProtocolMessage.type)
@@ -32762,8 +34148,8 @@ inline ::proto::ProtocolMessage_ProtocolMessageType ProtocolMessage::type() cons
}
inline void ProtocolMessage::_internal_set_type(::proto::ProtocolMessage_ProtocolMessageType value) {
assert(::proto::ProtocolMessage_ProtocolMessageType_IsValid(value));
- _has_bits_[0] |= 0x00000040u;
- type_ = value;
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.type_ = value;
}
inline void ProtocolMessage::set_type(::proto::ProtocolMessage_ProtocolMessageType value) {
_internal_set_type(value);
@@ -32772,75 +34158,75 @@ inline void ProtocolMessage::set_type(::proto::ProtocolMessage_ProtocolMessageTy
// optional uint32 ephemeralExpiration = 4;
inline bool ProtocolMessage::_internal_has_ephemeralexpiration() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool ProtocolMessage::has_ephemeralexpiration() const {
return _internal_has_ephemeralexpiration();
}
inline void ProtocolMessage::clear_ephemeralexpiration() {
- ephemeralexpiration_ = 0u;
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.ephemeralexpiration_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ProtocolMessage::_internal_ephemeralexpiration() const {
- return ephemeralexpiration_;
+inline uint32_t ProtocolMessage::_internal_ephemeralexpiration() const {
+ return _impl_.ephemeralexpiration_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ProtocolMessage::ephemeralexpiration() const {
+inline uint32_t ProtocolMessage::ephemeralexpiration() const {
// @@protoc_insertion_point(field_get:proto.ProtocolMessage.ephemeralExpiration)
return _internal_ephemeralexpiration();
}
-inline void ProtocolMessage::_internal_set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000080u;
- ephemeralexpiration_ = value;
+inline void ProtocolMessage::_internal_set_ephemeralexpiration(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.ephemeralexpiration_ = value;
}
-inline void ProtocolMessage::set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ProtocolMessage::set_ephemeralexpiration(uint32_t value) {
_internal_set_ephemeralexpiration(value);
// @@protoc_insertion_point(field_set:proto.ProtocolMessage.ephemeralExpiration)
}
// optional int64 ephemeralSettingTimestamp = 5;
inline bool ProtocolMessage::_internal_has_ephemeralsettingtimestamp() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool ProtocolMessage::has_ephemeralsettingtimestamp() const {
return _internal_has_ephemeralsettingtimestamp();
}
inline void ProtocolMessage::clear_ephemeralsettingtimestamp() {
- ephemeralsettingtimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.ephemeralsettingtimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 ProtocolMessage::_internal_ephemeralsettingtimestamp() const {
- return ephemeralsettingtimestamp_;
+inline int64_t ProtocolMessage::_internal_ephemeralsettingtimestamp() const {
+ return _impl_.ephemeralsettingtimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 ProtocolMessage::ephemeralsettingtimestamp() const {
+inline int64_t ProtocolMessage::ephemeralsettingtimestamp() const {
// @@protoc_insertion_point(field_get:proto.ProtocolMessage.ephemeralSettingTimestamp)
return _internal_ephemeralsettingtimestamp();
}
-inline void ProtocolMessage::_internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000100u;
- ephemeralsettingtimestamp_ = value;
+inline void ProtocolMessage::_internal_set_ephemeralsettingtimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.ephemeralsettingtimestamp_ = value;
}
-inline void ProtocolMessage::set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void ProtocolMessage::set_ephemeralsettingtimestamp(int64_t value) {
_internal_set_ephemeralsettingtimestamp(value);
// @@protoc_insertion_point(field_set:proto.ProtocolMessage.ephemeralSettingTimestamp)
}
// optional .proto.HistorySyncNotification historySyncNotification = 6;
inline bool ProtocolMessage::_internal_has_historysyncnotification() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || historysyncnotification_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.historysyncnotification_ != nullptr);
return value;
}
inline bool ProtocolMessage::has_historysyncnotification() const {
return _internal_has_historysyncnotification();
}
inline void ProtocolMessage::clear_historysyncnotification() {
- if (historysyncnotification_ != nullptr) historysyncnotification_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.historysyncnotification_ != nullptr) _impl_.historysyncnotification_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::HistorySyncNotification& ProtocolMessage::_internal_historysyncnotification() const {
- const ::proto::HistorySyncNotification* p = historysyncnotification_;
+ const ::proto::HistorySyncNotification* p = _impl_.historysyncnotification_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HistorySyncNotification&>(
::proto::_HistorySyncNotification_default_instance_);
}
@@ -32851,20 +34237,20 @@ inline const ::proto::HistorySyncNotification& ProtocolMessage::historysyncnotif
inline void ProtocolMessage::unsafe_arena_set_allocated_historysyncnotification(
::proto::HistorySyncNotification* historysyncnotification) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(historysyncnotification_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.historysyncnotification_);
}
- historysyncnotification_ = historysyncnotification;
+ _impl_.historysyncnotification_ = historysyncnotification;
if (historysyncnotification) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProtocolMessage.historySyncNotification)
}
inline ::proto::HistorySyncNotification* ProtocolMessage::release_historysyncnotification() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HistorySyncNotification* temp = historysyncnotification_;
- historysyncnotification_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HistorySyncNotification* temp = _impl_.historysyncnotification_;
+ _impl_.historysyncnotification_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -32878,18 +34264,18 @@ inline ::proto::HistorySyncNotification* ProtocolMessage::release_historysyncnot
}
inline ::proto::HistorySyncNotification* ProtocolMessage::unsafe_arena_release_historysyncnotification() {
// @@protoc_insertion_point(field_release:proto.ProtocolMessage.historySyncNotification)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HistorySyncNotification* temp = historysyncnotification_;
- historysyncnotification_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HistorySyncNotification* temp = _impl_.historysyncnotification_;
+ _impl_.historysyncnotification_ = nullptr;
return temp;
}
inline ::proto::HistorySyncNotification* ProtocolMessage::_internal_mutable_historysyncnotification() {
- _has_bits_[0] |= 0x00000002u;
- if (historysyncnotification_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.historysyncnotification_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HistorySyncNotification>(GetArenaForAllocation());
- historysyncnotification_ = p;
+ _impl_.historysyncnotification_ = p;
}
- return historysyncnotification_;
+ return _impl_.historysyncnotification_;
}
inline ::proto::HistorySyncNotification* ProtocolMessage::mutable_historysyncnotification() {
::proto::HistorySyncNotification* _msg = _internal_mutable_historysyncnotification();
@@ -32899,38 +34285,38 @@ inline ::proto::HistorySyncNotification* ProtocolMessage::mutable_historysyncnot
inline void ProtocolMessage::set_allocated_historysyncnotification(::proto::HistorySyncNotification* historysyncnotification) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete historysyncnotification_;
+ delete _impl_.historysyncnotification_;
}
if (historysyncnotification) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HistorySyncNotification>::GetOwningArena(historysyncnotification);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(historysyncnotification);
if (message_arena != submessage_arena) {
historysyncnotification = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, historysyncnotification, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- historysyncnotification_ = historysyncnotification;
+ _impl_.historysyncnotification_ = historysyncnotification;
// @@protoc_insertion_point(field_set_allocated:proto.ProtocolMessage.historySyncNotification)
}
// optional .proto.AppStateSyncKeyShare appStateSyncKeyShare = 7;
inline bool ProtocolMessage::_internal_has_appstatesynckeyshare() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || appstatesynckeyshare_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.appstatesynckeyshare_ != nullptr);
return value;
}
inline bool ProtocolMessage::has_appstatesynckeyshare() const {
return _internal_has_appstatesynckeyshare();
}
inline void ProtocolMessage::clear_appstatesynckeyshare() {
- if (appstatesynckeyshare_ != nullptr) appstatesynckeyshare_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.appstatesynckeyshare_ != nullptr) _impl_.appstatesynckeyshare_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::AppStateSyncKeyShare& ProtocolMessage::_internal_appstatesynckeyshare() const {
- const ::proto::AppStateSyncKeyShare* p = appstatesynckeyshare_;
+ const ::proto::AppStateSyncKeyShare* p = _impl_.appstatesynckeyshare_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::AppStateSyncKeyShare&>(
::proto::_AppStateSyncKeyShare_default_instance_);
}
@@ -32941,20 +34327,20 @@ inline const ::proto::AppStateSyncKeyShare& ProtocolMessage::appstatesynckeyshar
inline void ProtocolMessage::unsafe_arena_set_allocated_appstatesynckeyshare(
::proto::AppStateSyncKeyShare* appstatesynckeyshare) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(appstatesynckeyshare_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.appstatesynckeyshare_);
}
- appstatesynckeyshare_ = appstatesynckeyshare;
+ _impl_.appstatesynckeyshare_ = appstatesynckeyshare;
if (appstatesynckeyshare) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProtocolMessage.appStateSyncKeyShare)
}
inline ::proto::AppStateSyncKeyShare* ProtocolMessage::release_appstatesynckeyshare() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::AppStateSyncKeyShare* temp = appstatesynckeyshare_;
- appstatesynckeyshare_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::AppStateSyncKeyShare* temp = _impl_.appstatesynckeyshare_;
+ _impl_.appstatesynckeyshare_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -32968,18 +34354,18 @@ inline ::proto::AppStateSyncKeyShare* ProtocolMessage::release_appstatesynckeysh
}
inline ::proto::AppStateSyncKeyShare* ProtocolMessage::unsafe_arena_release_appstatesynckeyshare() {
// @@protoc_insertion_point(field_release:proto.ProtocolMessage.appStateSyncKeyShare)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::AppStateSyncKeyShare* temp = appstatesynckeyshare_;
- appstatesynckeyshare_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::AppStateSyncKeyShare* temp = _impl_.appstatesynckeyshare_;
+ _impl_.appstatesynckeyshare_ = nullptr;
return temp;
}
inline ::proto::AppStateSyncKeyShare* ProtocolMessage::_internal_mutable_appstatesynckeyshare() {
- _has_bits_[0] |= 0x00000004u;
- if (appstatesynckeyshare_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.appstatesynckeyshare_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyShare>(GetArenaForAllocation());
- appstatesynckeyshare_ = p;
+ _impl_.appstatesynckeyshare_ = p;
}
- return appstatesynckeyshare_;
+ return _impl_.appstatesynckeyshare_;
}
inline ::proto::AppStateSyncKeyShare* ProtocolMessage::mutable_appstatesynckeyshare() {
::proto::AppStateSyncKeyShare* _msg = _internal_mutable_appstatesynckeyshare();
@@ -32989,38 +34375,38 @@ inline ::proto::AppStateSyncKeyShare* ProtocolMessage::mutable_appstatesynckeysh
inline void ProtocolMessage::set_allocated_appstatesynckeyshare(::proto::AppStateSyncKeyShare* appstatesynckeyshare) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete appstatesynckeyshare_;
+ delete _impl_.appstatesynckeyshare_;
}
if (appstatesynckeyshare) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyShare>::GetOwningArena(appstatesynckeyshare);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(appstatesynckeyshare);
if (message_arena != submessage_arena) {
appstatesynckeyshare = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, appstatesynckeyshare, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- appstatesynckeyshare_ = appstatesynckeyshare;
+ _impl_.appstatesynckeyshare_ = appstatesynckeyshare;
// @@protoc_insertion_point(field_set_allocated:proto.ProtocolMessage.appStateSyncKeyShare)
}
// optional .proto.AppStateSyncKeyRequest appStateSyncKeyRequest = 8;
inline bool ProtocolMessage::_internal_has_appstatesynckeyrequest() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || appstatesynckeyrequest_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.appstatesynckeyrequest_ != nullptr);
return value;
}
inline bool ProtocolMessage::has_appstatesynckeyrequest() const {
return _internal_has_appstatesynckeyrequest();
}
inline void ProtocolMessage::clear_appstatesynckeyrequest() {
- if (appstatesynckeyrequest_ != nullptr) appstatesynckeyrequest_->Clear();
- _has_bits_[0] &= ~0x00000008u;
+ if (_impl_.appstatesynckeyrequest_ != nullptr) _impl_.appstatesynckeyrequest_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const ::proto::AppStateSyncKeyRequest& ProtocolMessage::_internal_appstatesynckeyrequest() const {
- const ::proto::AppStateSyncKeyRequest* p = appstatesynckeyrequest_;
+ const ::proto::AppStateSyncKeyRequest* p = _impl_.appstatesynckeyrequest_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::AppStateSyncKeyRequest&>(
::proto::_AppStateSyncKeyRequest_default_instance_);
}
@@ -33031,20 +34417,20 @@ inline const ::proto::AppStateSyncKeyRequest& ProtocolMessage::appstatesynckeyre
inline void ProtocolMessage::unsafe_arena_set_allocated_appstatesynckeyrequest(
::proto::AppStateSyncKeyRequest* appstatesynckeyrequest) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(appstatesynckeyrequest_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.appstatesynckeyrequest_);
}
- appstatesynckeyrequest_ = appstatesynckeyrequest;
+ _impl_.appstatesynckeyrequest_ = appstatesynckeyrequest;
if (appstatesynckeyrequest) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProtocolMessage.appStateSyncKeyRequest)
}
inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::release_appstatesynckeyrequest() {
- _has_bits_[0] &= ~0x00000008u;
- ::proto::AppStateSyncKeyRequest* temp = appstatesynckeyrequest_;
- appstatesynckeyrequest_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::AppStateSyncKeyRequest* temp = _impl_.appstatesynckeyrequest_;
+ _impl_.appstatesynckeyrequest_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -33058,18 +34444,18 @@ inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::release_appstatesynckey
}
inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::unsafe_arena_release_appstatesynckeyrequest() {
// @@protoc_insertion_point(field_release:proto.ProtocolMessage.appStateSyncKeyRequest)
- _has_bits_[0] &= ~0x00000008u;
- ::proto::AppStateSyncKeyRequest* temp = appstatesynckeyrequest_;
- appstatesynckeyrequest_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::AppStateSyncKeyRequest* temp = _impl_.appstatesynckeyrequest_;
+ _impl_.appstatesynckeyrequest_ = nullptr;
return temp;
}
inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::_internal_mutable_appstatesynckeyrequest() {
- _has_bits_[0] |= 0x00000008u;
- if (appstatesynckeyrequest_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ if (_impl_.appstatesynckeyrequest_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyRequest>(GetArenaForAllocation());
- appstatesynckeyrequest_ = p;
+ _impl_.appstatesynckeyrequest_ = p;
}
- return appstatesynckeyrequest_;
+ return _impl_.appstatesynckeyrequest_;
}
inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::mutable_appstatesynckeyrequest() {
::proto::AppStateSyncKeyRequest* _msg = _internal_mutable_appstatesynckeyrequest();
@@ -33079,38 +34465,38 @@ inline ::proto::AppStateSyncKeyRequest* ProtocolMessage::mutable_appstatesynckey
inline void ProtocolMessage::set_allocated_appstatesynckeyrequest(::proto::AppStateSyncKeyRequest* appstatesynckeyrequest) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete appstatesynckeyrequest_;
+ delete _impl_.appstatesynckeyrequest_;
}
if (appstatesynckeyrequest) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyRequest>::GetOwningArena(appstatesynckeyrequest);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(appstatesynckeyrequest);
if (message_arena != submessage_arena) {
appstatesynckeyrequest = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, appstatesynckeyrequest, submessage_arena);
}
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- appstatesynckeyrequest_ = appstatesynckeyrequest;
+ _impl_.appstatesynckeyrequest_ = appstatesynckeyrequest;
// @@protoc_insertion_point(field_set_allocated:proto.ProtocolMessage.appStateSyncKeyRequest)
}
// optional .proto.InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9;
inline bool ProtocolMessage::_internal_has_initialsecuritynotificationsettingsync() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- PROTOBUF_ASSUME(!value || initialsecuritynotificationsettingsync_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.initialsecuritynotificationsettingsync_ != nullptr);
return value;
}
inline bool ProtocolMessage::has_initialsecuritynotificationsettingsync() const {
return _internal_has_initialsecuritynotificationsettingsync();
}
inline void ProtocolMessage::clear_initialsecuritynotificationsettingsync() {
- if (initialsecuritynotificationsettingsync_ != nullptr) initialsecuritynotificationsettingsync_->Clear();
- _has_bits_[0] &= ~0x00000010u;
+ if (_impl_.initialsecuritynotificationsettingsync_ != nullptr) _impl_.initialsecuritynotificationsettingsync_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const ::proto::InitialSecurityNotificationSettingSync& ProtocolMessage::_internal_initialsecuritynotificationsettingsync() const {
- const ::proto::InitialSecurityNotificationSettingSync* p = initialsecuritynotificationsettingsync_;
+ const ::proto::InitialSecurityNotificationSettingSync* p = _impl_.initialsecuritynotificationsettingsync_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::InitialSecurityNotificationSettingSync&>(
::proto::_InitialSecurityNotificationSettingSync_default_instance_);
}
@@ -33121,20 +34507,20 @@ inline const ::proto::InitialSecurityNotificationSettingSync& ProtocolMessage::i
inline void ProtocolMessage::unsafe_arena_set_allocated_initialsecuritynotificationsettingsync(
::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(initialsecuritynotificationsettingsync_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.initialsecuritynotificationsettingsync_);
}
- initialsecuritynotificationsettingsync_ = initialsecuritynotificationsettingsync;
+ _impl_.initialsecuritynotificationsettingsync_ = initialsecuritynotificationsettingsync;
if (initialsecuritynotificationsettingsync) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProtocolMessage.initialSecurityNotificationSettingSync)
}
inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::release_initialsecuritynotificationsettingsync() {
- _has_bits_[0] &= ~0x00000010u;
- ::proto::InitialSecurityNotificationSettingSync* temp = initialsecuritynotificationsettingsync_;
- initialsecuritynotificationsettingsync_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ ::proto::InitialSecurityNotificationSettingSync* temp = _impl_.initialsecuritynotificationsettingsync_;
+ _impl_.initialsecuritynotificationsettingsync_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -33148,18 +34534,18 @@ inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::release
}
inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::unsafe_arena_release_initialsecuritynotificationsettingsync() {
// @@protoc_insertion_point(field_release:proto.ProtocolMessage.initialSecurityNotificationSettingSync)
- _has_bits_[0] &= ~0x00000010u;
- ::proto::InitialSecurityNotificationSettingSync* temp = initialsecuritynotificationsettingsync_;
- initialsecuritynotificationsettingsync_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ ::proto::InitialSecurityNotificationSettingSync* temp = _impl_.initialsecuritynotificationsettingsync_;
+ _impl_.initialsecuritynotificationsettingsync_ = nullptr;
return temp;
}
inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::_internal_mutable_initialsecuritynotificationsettingsync() {
- _has_bits_[0] |= 0x00000010u;
- if (initialsecuritynotificationsettingsync_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000010u;
+ if (_impl_.initialsecuritynotificationsettingsync_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::InitialSecurityNotificationSettingSync>(GetArenaForAllocation());
- initialsecuritynotificationsettingsync_ = p;
+ _impl_.initialsecuritynotificationsettingsync_ = p;
}
- return initialsecuritynotificationsettingsync_;
+ return _impl_.initialsecuritynotificationsettingsync_;
}
inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::mutable_initialsecuritynotificationsettingsync() {
::proto::InitialSecurityNotificationSettingSync* _msg = _internal_mutable_initialsecuritynotificationsettingsync();
@@ -33169,38 +34555,38 @@ inline ::proto::InitialSecurityNotificationSettingSync* ProtocolMessage::mutable
inline void ProtocolMessage::set_allocated_initialsecuritynotificationsettingsync(::proto::InitialSecurityNotificationSettingSync* initialsecuritynotificationsettingsync) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete initialsecuritynotificationsettingsync_;
+ delete _impl_.initialsecuritynotificationsettingsync_;
}
if (initialsecuritynotificationsettingsync) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::InitialSecurityNotificationSettingSync>::GetOwningArena(initialsecuritynotificationsettingsync);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(initialsecuritynotificationsettingsync);
if (message_arena != submessage_arena) {
initialsecuritynotificationsettingsync = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, initialsecuritynotificationsettingsync, submessage_arena);
}
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- initialsecuritynotificationsettingsync_ = initialsecuritynotificationsettingsync;
+ _impl_.initialsecuritynotificationsettingsync_ = initialsecuritynotificationsettingsync;
// @@protoc_insertion_point(field_set_allocated:proto.ProtocolMessage.initialSecurityNotificationSettingSync)
}
// optional .proto.AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10;
inline bool ProtocolMessage::_internal_has_appstatefatalexceptionnotification() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- PROTOBUF_ASSUME(!value || appstatefatalexceptionnotification_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.appstatefatalexceptionnotification_ != nullptr);
return value;
}
inline bool ProtocolMessage::has_appstatefatalexceptionnotification() const {
return _internal_has_appstatefatalexceptionnotification();
}
inline void ProtocolMessage::clear_appstatefatalexceptionnotification() {
- if (appstatefatalexceptionnotification_ != nullptr) appstatefatalexceptionnotification_->Clear();
- _has_bits_[0] &= ~0x00000020u;
+ if (_impl_.appstatefatalexceptionnotification_ != nullptr) _impl_.appstatefatalexceptionnotification_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const ::proto::AppStateFatalExceptionNotification& ProtocolMessage::_internal_appstatefatalexceptionnotification() const {
- const ::proto::AppStateFatalExceptionNotification* p = appstatefatalexceptionnotification_;
+ const ::proto::AppStateFatalExceptionNotification* p = _impl_.appstatefatalexceptionnotification_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::AppStateFatalExceptionNotification&>(
::proto::_AppStateFatalExceptionNotification_default_instance_);
}
@@ -33211,20 +34597,20 @@ inline const ::proto::AppStateFatalExceptionNotification& ProtocolMessage::appst
inline void ProtocolMessage::unsafe_arena_set_allocated_appstatefatalexceptionnotification(
::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(appstatefatalexceptionnotification_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.appstatefatalexceptionnotification_);
}
- appstatefatalexceptionnotification_ = appstatefatalexceptionnotification;
+ _impl_.appstatefatalexceptionnotification_ = appstatefatalexceptionnotification;
if (appstatefatalexceptionnotification) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProtocolMessage.appStateFatalExceptionNotification)
}
inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::release_appstatefatalexceptionnotification() {
- _has_bits_[0] &= ~0x00000020u;
- ::proto::AppStateFatalExceptionNotification* temp = appstatefatalexceptionnotification_;
- appstatefatalexceptionnotification_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::AppStateFatalExceptionNotification* temp = _impl_.appstatefatalexceptionnotification_;
+ _impl_.appstatefatalexceptionnotification_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -33238,18 +34624,18 @@ inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::release_app
}
inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::unsafe_arena_release_appstatefatalexceptionnotification() {
// @@protoc_insertion_point(field_release:proto.ProtocolMessage.appStateFatalExceptionNotification)
- _has_bits_[0] &= ~0x00000020u;
- ::proto::AppStateFatalExceptionNotification* temp = appstatefatalexceptionnotification_;
- appstatefatalexceptionnotification_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::AppStateFatalExceptionNotification* temp = _impl_.appstatefatalexceptionnotification_;
+ _impl_.appstatefatalexceptionnotification_ = nullptr;
return temp;
}
inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::_internal_mutable_appstatefatalexceptionnotification() {
- _has_bits_[0] |= 0x00000020u;
- if (appstatefatalexceptionnotification_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ if (_impl_.appstatefatalexceptionnotification_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::AppStateFatalExceptionNotification>(GetArenaForAllocation());
- appstatefatalexceptionnotification_ = p;
+ _impl_.appstatefatalexceptionnotification_ = p;
}
- return appstatefatalexceptionnotification_;
+ return _impl_.appstatefatalexceptionnotification_;
}
inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::mutable_appstatefatalexceptionnotification() {
::proto::AppStateFatalExceptionNotification* _msg = _internal_mutable_appstatefatalexceptionnotification();
@@ -33259,20 +34645,20 @@ inline ::proto::AppStateFatalExceptionNotification* ProtocolMessage::mutable_app
inline void ProtocolMessage::set_allocated_appstatefatalexceptionnotification(::proto::AppStateFatalExceptionNotification* appstatefatalexceptionnotification) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete appstatefatalexceptionnotification_;
+ delete _impl_.appstatefatalexceptionnotification_;
}
if (appstatefatalexceptionnotification) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateFatalExceptionNotification>::GetOwningArena(appstatefatalexceptionnotification);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(appstatefatalexceptionnotification);
if (message_arena != submessage_arena) {
appstatefatalexceptionnotification = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, appstatefatalexceptionnotification, submessage_arena);
}
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- appstatefatalexceptionnotification_ = appstatefatalexceptionnotification;
+ _impl_.appstatefatalexceptionnotification_ = appstatefatalexceptionnotification;
// @@protoc_insertion_point(field_set_allocated:proto.ProtocolMessage.appStateFatalExceptionNotification)
}
@@ -33282,15 +34668,15 @@ inline void ProtocolMessage::set_allocated_appstatefatalexceptionnotification(::
// optional bytes fileSha256 = 1;
inline bool HistorySyncNotification::_internal_has_filesha256() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HistorySyncNotification::has_filesha256() const {
return _internal_has_filesha256();
}
inline void HistorySyncNotification::clear_filesha256() {
- filesha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.filesha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& HistorySyncNotification::filesha256() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.fileSha256)
@@ -33299,8 +34685,8 @@ inline const std::string& HistorySyncNotification::filesha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.filesha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.fileSha256)
}
inline std::string* HistorySyncNotification::mutable_filesha256() {
@@ -33309,74 +34695,84 @@ inline std::string* HistorySyncNotification::mutable_filesha256() {
return _s;
}
inline const std::string& HistorySyncNotification::_internal_filesha256() const {
- return filesha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.filesha256_.Set(value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_filesha256() {
- _has_bits_[0] |= 0x00000001u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.filesha256_.Mutable(GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.fileSha256)
if (!_internal_has_filesha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.filesha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HistorySyncNotification::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.filesha256_.SetAllocated(filesha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
}
- filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.fileSha256)
}
// optional uint64 fileLength = 2;
inline bool HistorySyncNotification::_internal_has_filelength() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool HistorySyncNotification::has_filelength() const {
return _internal_has_filelength();
}
inline void HistorySyncNotification::clear_filelength() {
- filelength_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.filelength_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 HistorySyncNotification::_internal_filelength() const {
- return filelength_;
+inline uint64_t HistorySyncNotification::_internal_filelength() const {
+ return _impl_.filelength_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 HistorySyncNotification::filelength() const {
+inline uint64_t HistorySyncNotification::filelength() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.fileLength)
return _internal_filelength();
}
-inline void HistorySyncNotification::_internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000020u;
- filelength_ = value;
+inline void HistorySyncNotification::_internal_set_filelength(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.filelength_ = value;
}
-inline void HistorySyncNotification::set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void HistorySyncNotification::set_filelength(uint64_t value) {
_internal_set_filelength(value);
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.fileLength)
}
// optional bytes mediaKey = 3;
inline bool HistorySyncNotification::_internal_has_mediakey() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool HistorySyncNotification::has_mediakey() const {
return _internal_has_mediakey();
}
inline void HistorySyncNotification::clear_mediakey() {
- mediakey_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.mediakey_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& HistorySyncNotification::mediakey() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.mediaKey)
@@ -33385,8 +34781,8 @@ inline const std::string& HistorySyncNotification::mediakey() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mediakey_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.mediaKey)
}
inline std::string* HistorySyncNotification::mutable_mediakey() {
@@ -33395,46 +34791,56 @@ inline std::string* HistorySyncNotification::mutable_mediakey() {
return _s;
}
inline const std::string& HistorySyncNotification::_internal_mediakey() const {
- return mediakey_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.mediakey_.Set(value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_mediakey() {
- _has_bits_[0] |= 0x00000002u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.mediakey_.Mutable(GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.mediaKey)
if (!_internal_has_mediakey()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.mediakey_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HistorySyncNotification::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.mediakey_.SetAllocated(mediakey, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
}
- mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.mediaKey)
}
// optional bytes fileEncSha256 = 4;
inline bool HistorySyncNotification::_internal_has_fileencsha256() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool HistorySyncNotification::has_fileencsha256() const {
return _internal_has_fileencsha256();
}
inline void HistorySyncNotification::clear_fileencsha256() {
- fileencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.fileencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& HistorySyncNotification::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.fileEncSha256)
@@ -33443,8 +34849,8 @@ inline const std::string& HistorySyncNotification::fileencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.fileencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.fileEncSha256)
}
inline std::string* HistorySyncNotification::mutable_fileencsha256() {
@@ -33453,46 +34859,56 @@ inline std::string* HistorySyncNotification::mutable_fileencsha256() {
return _s;
}
inline const std::string& HistorySyncNotification::_internal_fileencsha256() const {
- return fileencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.fileencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_fileencsha256() {
- _has_bits_[0] |= 0x00000004u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.fileencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.fileEncSha256)
if (!_internal_has_fileencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.fileencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HistorySyncNotification::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.fileencsha256_.SetAllocated(fileencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
}
- fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.fileEncSha256)
}
// optional string directPath = 5;
inline bool HistorySyncNotification::_internal_has_directpath() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool HistorySyncNotification::has_directpath() const {
return _internal_has_directpath();
}
inline void HistorySyncNotification::clear_directpath() {
- directpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.directpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& HistorySyncNotification::directpath() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.directPath)
@@ -33501,8 +34917,8 @@ inline const std::string& HistorySyncNotification::directpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.directpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.directPath)
}
inline std::string* HistorySyncNotification::mutable_directpath() {
@@ -33511,49 +34927,59 @@ inline std::string* HistorySyncNotification::mutable_directpath() {
return _s;
}
inline const std::string& HistorySyncNotification::_internal_directpath() const {
- return directpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.directpath_.Set(value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_directpath() {
- _has_bits_[0] |= 0x00000008u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.directpath_.Mutable(GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_directpath() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.directPath)
if (!_internal_has_directpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.directpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HistorySyncNotification::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.directpath_.SetAllocated(directpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
}
- directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.directPath)
}
// optional .proto.HistorySyncNotification.HistorySyncNotificationHistorySyncType syncType = 6;
inline bool HistorySyncNotification::_internal_has_synctype() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool HistorySyncNotification::has_synctype() const {
return _internal_has_synctype();
}
inline void HistorySyncNotification::clear_synctype() {
- synctype_ = 0;
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.synctype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline ::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType HistorySyncNotification::_internal_synctype() const {
- return static_cast< ::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType >(synctype_);
+ return static_cast< ::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType >(_impl_.synctype_);
}
inline ::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType HistorySyncNotification::synctype() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.syncType)
@@ -33561,8 +34987,8 @@ inline ::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType H
}
inline void HistorySyncNotification::_internal_set_synctype(::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType value) {
assert(::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType_IsValid(value));
- _has_bits_[0] |= 0x00000040u;
- synctype_ = value;
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.synctype_ = value;
}
inline void HistorySyncNotification::set_synctype(::proto::HistorySyncNotification_HistorySyncNotificationHistorySyncType value) {
_internal_set_synctype(value);
@@ -33571,43 +34997,43 @@ inline void HistorySyncNotification::set_synctype(::proto::HistorySyncNotificati
// optional uint32 chunkOrder = 7;
inline bool HistorySyncNotification::_internal_has_chunkorder() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool HistorySyncNotification::has_chunkorder() const {
return _internal_has_chunkorder();
}
inline void HistorySyncNotification::clear_chunkorder() {
- chunkorder_ = 0u;
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.chunkorder_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HistorySyncNotification::_internal_chunkorder() const {
- return chunkorder_;
+inline uint32_t HistorySyncNotification::_internal_chunkorder() const {
+ return _impl_.chunkorder_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HistorySyncNotification::chunkorder() const {
+inline uint32_t HistorySyncNotification::chunkorder() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.chunkOrder)
return _internal_chunkorder();
}
-inline void HistorySyncNotification::_internal_set_chunkorder(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000080u;
- chunkorder_ = value;
+inline void HistorySyncNotification::_internal_set_chunkorder(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.chunkorder_ = value;
}
-inline void HistorySyncNotification::set_chunkorder(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void HistorySyncNotification::set_chunkorder(uint32_t value) {
_internal_set_chunkorder(value);
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.chunkOrder)
}
// optional string originalMessageId = 8;
inline bool HistorySyncNotification::_internal_has_originalmessageid() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool HistorySyncNotification::has_originalmessageid() const {
return _internal_has_originalmessageid();
}
inline void HistorySyncNotification::clear_originalmessageid() {
- originalmessageid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.originalmessageid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& HistorySyncNotification::originalmessageid() const {
// @@protoc_insertion_point(field_get:proto.HistorySyncNotification.originalMessageId)
@@ -33616,8 +35042,8 @@ inline const std::string& HistorySyncNotification::originalmessageid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.originalmessageid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HistorySyncNotification.originalMessageId)
}
inline std::string* HistorySyncNotification::mutable_originalmessageid() {
@@ -33626,32 +35052,42 @@ inline std::string* HistorySyncNotification::mutable_originalmessageid() {
return _s;
}
inline const std::string& HistorySyncNotification::_internal_originalmessageid() const {
- return originalmessageid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.originalmessageid_.Set(value, GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::_internal_mutable_originalmessageid() {
- _has_bits_[0] |= 0x00000010u;
- return originalmessageid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.originalmessageid_.Mutable(GetArenaForAllocation());
}
inline std::string* HistorySyncNotification::release_originalmessageid() {
// @@protoc_insertion_point(field_release:proto.HistorySyncNotification.originalMessageId)
if (!_internal_has_originalmessageid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return originalmessageid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.originalmessageid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.originalmessageid_.IsDefault()) {
+ _impl_.originalmessageid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HistorySyncNotification::set_allocated_originalmessageid(std::string* originalmessageid) {
if (originalmessageid != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- originalmessageid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), originalmessageid,
- GetArenaForAllocation());
+ _impl_.originalmessageid_.SetAllocated(originalmessageid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.originalmessageid_.IsDefault()) {
+ _impl_.originalmessageid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HistorySyncNotification.originalMessageId)
}
@@ -33661,19 +35097,19 @@ inline void HistorySyncNotification::set_allocated_originalmessageid(std::string
// optional .proto.AppStateSyncKeyId keyId = 1;
inline bool AppStateSyncKey::_internal_has_keyid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || keyid_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.keyid_ != nullptr);
return value;
}
inline bool AppStateSyncKey::has_keyid() const {
return _internal_has_keyid();
}
inline void AppStateSyncKey::clear_keyid() {
- if (keyid_ != nullptr) keyid_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.keyid_ != nullptr) _impl_.keyid_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::AppStateSyncKeyId& AppStateSyncKey::_internal_keyid() const {
- const ::proto::AppStateSyncKeyId* p = keyid_;
+ const ::proto::AppStateSyncKeyId* p = _impl_.keyid_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::AppStateSyncKeyId&>(
::proto::_AppStateSyncKeyId_default_instance_);
}
@@ -33684,20 +35120,20 @@ inline const ::proto::AppStateSyncKeyId& AppStateSyncKey::keyid() const {
inline void AppStateSyncKey::unsafe_arena_set_allocated_keyid(
::proto::AppStateSyncKeyId* keyid) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(keyid_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.keyid_);
}
- keyid_ = keyid;
+ _impl_.keyid_ = keyid;
if (keyid) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.AppStateSyncKey.keyId)
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKey::release_keyid() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::AppStateSyncKeyId* temp = keyid_;
- keyid_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::AppStateSyncKeyId* temp = _impl_.keyid_;
+ _impl_.keyid_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -33711,18 +35147,18 @@ inline ::proto::AppStateSyncKeyId* AppStateSyncKey::release_keyid() {
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKey::unsafe_arena_release_keyid() {
// @@protoc_insertion_point(field_release:proto.AppStateSyncKey.keyId)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::AppStateSyncKeyId* temp = keyid_;
- keyid_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::AppStateSyncKeyId* temp = _impl_.keyid_;
+ _impl_.keyid_ = nullptr;
return temp;
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKey::_internal_mutable_keyid() {
- _has_bits_[0] |= 0x00000001u;
- if (keyid_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.keyid_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyId>(GetArenaForAllocation());
- keyid_ = p;
+ _impl_.keyid_ = p;
}
- return keyid_;
+ return _impl_.keyid_;
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKey::mutable_keyid() {
::proto::AppStateSyncKeyId* _msg = _internal_mutable_keyid();
@@ -33732,38 +35168,38 @@ inline ::proto::AppStateSyncKeyId* AppStateSyncKey::mutable_keyid() {
inline void AppStateSyncKey::set_allocated_keyid(::proto::AppStateSyncKeyId* keyid) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete keyid_;
+ delete _impl_.keyid_;
}
if (keyid) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyId>::GetOwningArena(keyid);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(keyid);
if (message_arena != submessage_arena) {
keyid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, keyid, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- keyid_ = keyid;
+ _impl_.keyid_ = keyid;
// @@protoc_insertion_point(field_set_allocated:proto.AppStateSyncKey.keyId)
}
// optional .proto.AppStateSyncKeyData keyData = 2;
inline bool AppStateSyncKey::_internal_has_keydata() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || keydata_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.keydata_ != nullptr);
return value;
}
inline bool AppStateSyncKey::has_keydata() const {
return _internal_has_keydata();
}
inline void AppStateSyncKey::clear_keydata() {
- if (keydata_ != nullptr) keydata_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.keydata_ != nullptr) _impl_.keydata_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::AppStateSyncKeyData& AppStateSyncKey::_internal_keydata() const {
- const ::proto::AppStateSyncKeyData* p = keydata_;
+ const ::proto::AppStateSyncKeyData* p = _impl_.keydata_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::AppStateSyncKeyData&>(
::proto::_AppStateSyncKeyData_default_instance_);
}
@@ -33774,20 +35210,20 @@ inline const ::proto::AppStateSyncKeyData& AppStateSyncKey::keydata() const {
inline void AppStateSyncKey::unsafe_arena_set_allocated_keydata(
::proto::AppStateSyncKeyData* keydata) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(keydata_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.keydata_);
}
- keydata_ = keydata;
+ _impl_.keydata_ = keydata;
if (keydata) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.AppStateSyncKey.keyData)
}
inline ::proto::AppStateSyncKeyData* AppStateSyncKey::release_keydata() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::AppStateSyncKeyData* temp = keydata_;
- keydata_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::AppStateSyncKeyData* temp = _impl_.keydata_;
+ _impl_.keydata_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -33801,18 +35237,18 @@ inline ::proto::AppStateSyncKeyData* AppStateSyncKey::release_keydata() {
}
inline ::proto::AppStateSyncKeyData* AppStateSyncKey::unsafe_arena_release_keydata() {
// @@protoc_insertion_point(field_release:proto.AppStateSyncKey.keyData)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::AppStateSyncKeyData* temp = keydata_;
- keydata_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::AppStateSyncKeyData* temp = _impl_.keydata_;
+ _impl_.keydata_ = nullptr;
return temp;
}
inline ::proto::AppStateSyncKeyData* AppStateSyncKey::_internal_mutable_keydata() {
- _has_bits_[0] |= 0x00000002u;
- if (keydata_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.keydata_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyData>(GetArenaForAllocation());
- keydata_ = p;
+ _impl_.keydata_ = p;
}
- return keydata_;
+ return _impl_.keydata_;
}
inline ::proto::AppStateSyncKeyData* AppStateSyncKey::mutable_keydata() {
::proto::AppStateSyncKeyData* _msg = _internal_mutable_keydata();
@@ -33822,20 +35258,20 @@ inline ::proto::AppStateSyncKeyData* AppStateSyncKey::mutable_keydata() {
inline void AppStateSyncKey::set_allocated_keydata(::proto::AppStateSyncKeyData* keydata) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete keydata_;
+ delete _impl_.keydata_;
}
if (keydata) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyData>::GetOwningArena(keydata);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(keydata);
if (message_arena != submessage_arena) {
keydata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, keydata, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- keydata_ = keydata;
+ _impl_.keydata_ = keydata;
// @@protoc_insertion_point(field_set_allocated:proto.AppStateSyncKey.keyData)
}
@@ -33845,15 +35281,15 @@ inline void AppStateSyncKey::set_allocated_keydata(::proto::AppStateSyncKeyData*
// optional bytes keyId = 1;
inline bool AppStateSyncKeyId::_internal_has_keyid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool AppStateSyncKeyId::has_keyid() const {
return _internal_has_keyid();
}
inline void AppStateSyncKeyId::clear_keyid() {
- keyid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.keyid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& AppStateSyncKeyId::keyid() const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyId.keyId)
@@ -33862,8 +35298,8 @@ inline const std::string& AppStateSyncKeyId::keyid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.keyid_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AppStateSyncKeyId.keyId)
}
inline std::string* AppStateSyncKeyId::mutable_keyid() {
@@ -33872,32 +35308,42 @@ inline std::string* AppStateSyncKeyId::mutable_keyid() {
return _s;
}
inline const std::string& AppStateSyncKeyId::_internal_keyid() const {
- return keyid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.keyid_.Set(value, GetArenaForAllocation());
}
inline std::string* AppStateSyncKeyId::_internal_mutable_keyid() {
- _has_bits_[0] |= 0x00000001u;
- return keyid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.keyid_.Mutable(GetArenaForAllocation());
}
inline std::string* AppStateSyncKeyId::release_keyid() {
// @@protoc_insertion_point(field_release:proto.AppStateSyncKeyId.keyId)
if (!_internal_has_keyid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return keyid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.keyid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.keyid_.IsDefault()) {
+ _impl_.keyid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AppStateSyncKeyId::set_allocated_keyid(std::string* keyid) {
if (keyid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- keyid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), keyid,
- GetArenaForAllocation());
+ _impl_.keyid_.SetAllocated(keyid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.keyid_.IsDefault()) {
+ _impl_.keyid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AppStateSyncKeyId.keyId)
}
@@ -33907,102 +35353,102 @@ inline void AppStateSyncKeyId::set_allocated_keyid(std::string* keyid) {
// optional uint32 rawId = 1;
inline bool AppStateSyncKeyFingerprint::_internal_has_rawid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool AppStateSyncKeyFingerprint::has_rawid() const {
return _internal_has_rawid();
}
inline void AppStateSyncKeyFingerprint::clear_rawid() {
- rawid_ = 0u;
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.rawid_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 AppStateSyncKeyFingerprint::_internal_rawid() const {
- return rawid_;
+inline uint32_t AppStateSyncKeyFingerprint::_internal_rawid() const {
+ return _impl_.rawid_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 AppStateSyncKeyFingerprint::rawid() const {
+inline uint32_t AppStateSyncKeyFingerprint::rawid() const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyFingerprint.rawId)
return _internal_rawid();
}
-inline void AppStateSyncKeyFingerprint::_internal_set_rawid(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000001u;
- rawid_ = value;
+inline void AppStateSyncKeyFingerprint::_internal_set_rawid(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.rawid_ = value;
}
-inline void AppStateSyncKeyFingerprint::set_rawid(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void AppStateSyncKeyFingerprint::set_rawid(uint32_t value) {
_internal_set_rawid(value);
// @@protoc_insertion_point(field_set:proto.AppStateSyncKeyFingerprint.rawId)
}
// optional uint32 currentIndex = 2;
inline bool AppStateSyncKeyFingerprint::_internal_has_currentindex() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool AppStateSyncKeyFingerprint::has_currentindex() const {
return _internal_has_currentindex();
}
inline void AppStateSyncKeyFingerprint::clear_currentindex() {
- currentindex_ = 0u;
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.currentindex_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 AppStateSyncKeyFingerprint::_internal_currentindex() const {
- return currentindex_;
+inline uint32_t AppStateSyncKeyFingerprint::_internal_currentindex() const {
+ return _impl_.currentindex_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 AppStateSyncKeyFingerprint::currentindex() const {
+inline uint32_t AppStateSyncKeyFingerprint::currentindex() const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyFingerprint.currentIndex)
return _internal_currentindex();
}
-inline void AppStateSyncKeyFingerprint::_internal_set_currentindex(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000002u;
- currentindex_ = value;
+inline void AppStateSyncKeyFingerprint::_internal_set_currentindex(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.currentindex_ = value;
}
-inline void AppStateSyncKeyFingerprint::set_currentindex(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void AppStateSyncKeyFingerprint::set_currentindex(uint32_t value) {
_internal_set_currentindex(value);
// @@protoc_insertion_point(field_set:proto.AppStateSyncKeyFingerprint.currentIndex)
}
// repeated uint32 deviceIndexes = 3 [packed = true];
inline int AppStateSyncKeyFingerprint::_internal_deviceindexes_size() const {
- return deviceindexes_.size();
+ return _impl_.deviceindexes_.size();
}
inline int AppStateSyncKeyFingerprint::deviceindexes_size() const {
return _internal_deviceindexes_size();
}
inline void AppStateSyncKeyFingerprint::clear_deviceindexes() {
- deviceindexes_.Clear();
+ _impl_.deviceindexes_.Clear();
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 AppStateSyncKeyFingerprint::_internal_deviceindexes(int index) const {
- return deviceindexes_.Get(index);
+inline uint32_t AppStateSyncKeyFingerprint::_internal_deviceindexes(int index) const {
+ return _impl_.deviceindexes_.Get(index);
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 AppStateSyncKeyFingerprint::deviceindexes(int index) const {
+inline uint32_t AppStateSyncKeyFingerprint::deviceindexes(int index) const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyFingerprint.deviceIndexes)
return _internal_deviceindexes(index);
}
-inline void AppStateSyncKeyFingerprint::set_deviceindexes(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) {
- deviceindexes_.Set(index, value);
+inline void AppStateSyncKeyFingerprint::set_deviceindexes(int index, uint32_t value) {
+ _impl_.deviceindexes_.Set(index, value);
// @@protoc_insertion_point(field_set:proto.AppStateSyncKeyFingerprint.deviceIndexes)
}
-inline void AppStateSyncKeyFingerprint::_internal_add_deviceindexes(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- deviceindexes_.Add(value);
+inline void AppStateSyncKeyFingerprint::_internal_add_deviceindexes(uint32_t value) {
+ _impl_.deviceindexes_.Add(value);
}
-inline void AppStateSyncKeyFingerprint::add_deviceindexes(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void AppStateSyncKeyFingerprint::add_deviceindexes(uint32_t value) {
_internal_add_deviceindexes(value);
// @@protoc_insertion_point(field_add:proto.AppStateSyncKeyFingerprint.deviceIndexes)
}
-inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
+inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
AppStateSyncKeyFingerprint::_internal_deviceindexes() const {
- return deviceindexes_;
+ return _impl_.deviceindexes_;
}
-inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
+inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
AppStateSyncKeyFingerprint::deviceindexes() const {
// @@protoc_insertion_point(field_list:proto.AppStateSyncKeyFingerprint.deviceIndexes)
return _internal_deviceindexes();
}
-inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
+inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
AppStateSyncKeyFingerprint::_internal_mutable_deviceindexes() {
- return &deviceindexes_;
+ return &_impl_.deviceindexes_;
}
-inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
+inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
AppStateSyncKeyFingerprint::mutable_deviceindexes() {
// @@protoc_insertion_point(field_mutable_list:proto.AppStateSyncKeyFingerprint.deviceIndexes)
return _internal_mutable_deviceindexes();
@@ -34014,15 +35460,15 @@ AppStateSyncKeyFingerprint::mutable_deviceindexes() {
// optional bytes keyData = 1;
inline bool AppStateSyncKeyData::_internal_has_keydata() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool AppStateSyncKeyData::has_keydata() const {
return _internal_has_keydata();
}
inline void AppStateSyncKeyData::clear_keydata() {
- keydata_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.keydata_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& AppStateSyncKeyData::keydata() const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyData.keyData)
@@ -34031,8 +35477,8 @@ inline const std::string& AppStateSyncKeyData::keydata() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.keydata_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.AppStateSyncKeyData.keyData)
}
inline std::string* AppStateSyncKeyData::mutable_keydata() {
@@ -34041,50 +35487,60 @@ inline std::string* AppStateSyncKeyData::mutable_keydata() {
return _s;
}
inline const std::string& AppStateSyncKeyData::_internal_keydata() const {
- return keydata_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.keydata_.Set(value, GetArenaForAllocation());
}
inline std::string* AppStateSyncKeyData::_internal_mutable_keydata() {
- _has_bits_[0] |= 0x00000001u;
- return keydata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.keydata_.Mutable(GetArenaForAllocation());
}
inline std::string* AppStateSyncKeyData::release_keydata() {
// @@protoc_insertion_point(field_release:proto.AppStateSyncKeyData.keyData)
if (!_internal_has_keydata()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return keydata_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.keydata_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.keydata_.IsDefault()) {
+ _impl_.keydata_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void AppStateSyncKeyData::set_allocated_keydata(std::string* keydata) {
if (keydata != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- keydata_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), keydata,
- GetArenaForAllocation());
+ _impl_.keydata_.SetAllocated(keydata, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.keydata_.IsDefault()) {
+ _impl_.keydata_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.AppStateSyncKeyData.keyData)
}
// optional .proto.AppStateSyncKeyFingerprint fingerprint = 2;
inline bool AppStateSyncKeyData::_internal_has_fingerprint() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || fingerprint_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.fingerprint_ != nullptr);
return value;
}
inline bool AppStateSyncKeyData::has_fingerprint() const {
return _internal_has_fingerprint();
}
inline void AppStateSyncKeyData::clear_fingerprint() {
- if (fingerprint_ != nullptr) fingerprint_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.fingerprint_ != nullptr) _impl_.fingerprint_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::AppStateSyncKeyFingerprint& AppStateSyncKeyData::_internal_fingerprint() const {
- const ::proto::AppStateSyncKeyFingerprint* p = fingerprint_;
+ const ::proto::AppStateSyncKeyFingerprint* p = _impl_.fingerprint_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::AppStateSyncKeyFingerprint&>(
::proto::_AppStateSyncKeyFingerprint_default_instance_);
}
@@ -34095,20 +35551,20 @@ inline const ::proto::AppStateSyncKeyFingerprint& AppStateSyncKeyData::fingerpri
inline void AppStateSyncKeyData::unsafe_arena_set_allocated_fingerprint(
::proto::AppStateSyncKeyFingerprint* fingerprint) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fingerprint_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fingerprint_);
}
- fingerprint_ = fingerprint;
+ _impl_.fingerprint_ = fingerprint;
if (fingerprint) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.AppStateSyncKeyData.fingerprint)
}
inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::release_fingerprint() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::AppStateSyncKeyFingerprint* temp = fingerprint_;
- fingerprint_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::AppStateSyncKeyFingerprint* temp = _impl_.fingerprint_;
+ _impl_.fingerprint_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -34122,18 +35578,18 @@ inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::release_fingerp
}
inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::unsafe_arena_release_fingerprint() {
// @@protoc_insertion_point(field_release:proto.AppStateSyncKeyData.fingerprint)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::AppStateSyncKeyFingerprint* temp = fingerprint_;
- fingerprint_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::AppStateSyncKeyFingerprint* temp = _impl_.fingerprint_;
+ _impl_.fingerprint_ = nullptr;
return temp;
}
inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::_internal_mutable_fingerprint() {
- _has_bits_[0] |= 0x00000002u;
- if (fingerprint_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.fingerprint_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::AppStateSyncKeyFingerprint>(GetArenaForAllocation());
- fingerprint_ = p;
+ _impl_.fingerprint_ = p;
}
- return fingerprint_;
+ return _impl_.fingerprint_;
}
inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::mutable_fingerprint() {
::proto::AppStateSyncKeyFingerprint* _msg = _internal_mutable_fingerprint();
@@ -34143,47 +35599,47 @@ inline ::proto::AppStateSyncKeyFingerprint* AppStateSyncKeyData::mutable_fingerp
inline void AppStateSyncKeyData::set_allocated_fingerprint(::proto::AppStateSyncKeyFingerprint* fingerprint) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete fingerprint_;
+ delete _impl_.fingerprint_;
}
if (fingerprint) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AppStateSyncKeyFingerprint>::GetOwningArena(fingerprint);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fingerprint);
if (message_arena != submessage_arena) {
fingerprint = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, fingerprint, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- fingerprint_ = fingerprint;
+ _impl_.fingerprint_ = fingerprint;
// @@protoc_insertion_point(field_set_allocated:proto.AppStateSyncKeyData.fingerprint)
}
// optional int64 timestamp = 3;
inline bool AppStateSyncKeyData::_internal_has_timestamp() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool AppStateSyncKeyData::has_timestamp() const {
return _internal_has_timestamp();
}
inline void AppStateSyncKeyData::clear_timestamp() {
- timestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.timestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 AppStateSyncKeyData::_internal_timestamp() const {
- return timestamp_;
+inline int64_t AppStateSyncKeyData::_internal_timestamp() const {
+ return _impl_.timestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 AppStateSyncKeyData::timestamp() const {
+inline int64_t AppStateSyncKeyData::timestamp() const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyData.timestamp)
return _internal_timestamp();
}
-inline void AppStateSyncKeyData::_internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000004u;
- timestamp_ = value;
+inline void AppStateSyncKeyData::_internal_set_timestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.timestamp_ = value;
}
-inline void AppStateSyncKeyData::set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void AppStateSyncKeyData::set_timestamp(int64_t value) {
_internal_set_timestamp(value);
// @@protoc_insertion_point(field_set:proto.AppStateSyncKeyData.timestamp)
}
@@ -34194,32 +35650,32 @@ inline void AppStateSyncKeyData::set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 va
// repeated .proto.AppStateSyncKey keys = 1;
inline int AppStateSyncKeyShare::_internal_keys_size() const {
- return keys_.size();
+ return _impl_.keys_.size();
}
inline int AppStateSyncKeyShare::keys_size() const {
return _internal_keys_size();
}
inline void AppStateSyncKeyShare::clear_keys() {
- keys_.Clear();
+ _impl_.keys_.Clear();
}
inline ::proto::AppStateSyncKey* AppStateSyncKeyShare::mutable_keys(int index) {
// @@protoc_insertion_point(field_mutable:proto.AppStateSyncKeyShare.keys)
- return keys_.Mutable(index);
+ return _impl_.keys_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKey >*
AppStateSyncKeyShare::mutable_keys() {
// @@protoc_insertion_point(field_mutable_list:proto.AppStateSyncKeyShare.keys)
- return &keys_;
+ return &_impl_.keys_;
}
inline const ::proto::AppStateSyncKey& AppStateSyncKeyShare::_internal_keys(int index) const {
- return keys_.Get(index);
+ return _impl_.keys_.Get(index);
}
inline const ::proto::AppStateSyncKey& AppStateSyncKeyShare::keys(int index) const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyShare.keys)
return _internal_keys(index);
}
inline ::proto::AppStateSyncKey* AppStateSyncKeyShare::_internal_add_keys() {
- return keys_.Add();
+ return _impl_.keys_.Add();
}
inline ::proto::AppStateSyncKey* AppStateSyncKeyShare::add_keys() {
::proto::AppStateSyncKey* _add = _internal_add_keys();
@@ -34229,7 +35685,7 @@ inline ::proto::AppStateSyncKey* AppStateSyncKeyShare::add_keys() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKey >&
AppStateSyncKeyShare::keys() const {
// @@protoc_insertion_point(field_list:proto.AppStateSyncKeyShare.keys)
- return keys_;
+ return _impl_.keys_;
}
// -------------------------------------------------------------------
@@ -34238,32 +35694,32 @@ AppStateSyncKeyShare::keys() const {
// repeated .proto.AppStateSyncKeyId keyIds = 1;
inline int AppStateSyncKeyRequest::_internal_keyids_size() const {
- return keyids_.size();
+ return _impl_.keyids_.size();
}
inline int AppStateSyncKeyRequest::keyids_size() const {
return _internal_keyids_size();
}
inline void AppStateSyncKeyRequest::clear_keyids() {
- keyids_.Clear();
+ _impl_.keyids_.Clear();
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKeyRequest::mutable_keyids(int index) {
// @@protoc_insertion_point(field_mutable:proto.AppStateSyncKeyRequest.keyIds)
- return keyids_.Mutable(index);
+ return _impl_.keyids_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKeyId >*
AppStateSyncKeyRequest::mutable_keyids() {
// @@protoc_insertion_point(field_mutable_list:proto.AppStateSyncKeyRequest.keyIds)
- return &keyids_;
+ return &_impl_.keyids_;
}
inline const ::proto::AppStateSyncKeyId& AppStateSyncKeyRequest::_internal_keyids(int index) const {
- return keyids_.Get(index);
+ return _impl_.keyids_.Get(index);
}
inline const ::proto::AppStateSyncKeyId& AppStateSyncKeyRequest::keyids(int index) const {
// @@protoc_insertion_point(field_get:proto.AppStateSyncKeyRequest.keyIds)
return _internal_keyids(index);
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKeyRequest::_internal_add_keyids() {
- return keyids_.Add();
+ return _impl_.keyids_.Add();
}
inline ::proto::AppStateSyncKeyId* AppStateSyncKeyRequest::add_keyids() {
::proto::AppStateSyncKeyId* _add = _internal_add_keyids();
@@ -34273,7 +35729,7 @@ inline ::proto::AppStateSyncKeyId* AppStateSyncKeyRequest::add_keyids() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::AppStateSyncKeyId >&
AppStateSyncKeyRequest::keyids() const {
// @@protoc_insertion_point(field_list:proto.AppStateSyncKeyRequest.keyIds)
- return keyids_;
+ return _impl_.keyids_;
}
// -------------------------------------------------------------------
@@ -34282,13 +35738,13 @@ AppStateSyncKeyRequest::keyids() const {
// repeated string collectionNames = 1;
inline int AppStateFatalExceptionNotification::_internal_collectionnames_size() const {
- return collectionnames_.size();
+ return _impl_.collectionnames_.size();
}
inline int AppStateFatalExceptionNotification::collectionnames_size() const {
return _internal_collectionnames_size();
}
inline void AppStateFatalExceptionNotification::clear_collectionnames() {
- collectionnames_.Clear();
+ _impl_.collectionnames_.Clear();
}
inline std::string* AppStateFatalExceptionNotification::add_collectionnames() {
std::string* _s = _internal_add_collectionnames();
@@ -34296,7 +35752,7 @@ inline std::string* AppStateFatalExceptionNotification::add_collectionnames() {
return _s;
}
inline const std::string& AppStateFatalExceptionNotification::_internal_collectionnames(int index) const {
- return collectionnames_.Get(index);
+ return _impl_.collectionnames_.Get(index);
}
inline const std::string& AppStateFatalExceptionNotification::collectionnames(int index) const {
// @@protoc_insertion_point(field_get:proto.AppStateFatalExceptionNotification.collectionNames)
@@ -34304,81 +35760,81 @@ inline const std::string& AppStateFatalExceptionNotification::collectionnames(in
}
inline std::string* AppStateFatalExceptionNotification::mutable_collectionnames(int index) {
// @@protoc_insertion_point(field_mutable:proto.AppStateFatalExceptionNotification.collectionNames)
- return collectionnames_.Mutable(index);
+ return _impl_.collectionnames_.Mutable(index);
}
inline void AppStateFatalExceptionNotification::set_collectionnames(int index, const std::string& value) {
- collectionnames_.Mutable(index)->assign(value);
+ _impl_.collectionnames_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline void AppStateFatalExceptionNotification::set_collectionnames(int index, std::string&& value) {
- collectionnames_.Mutable(index)->assign(std::move(value));
+ _impl_.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);
- collectionnames_.Mutable(index)->assign(value);
+ _impl_.collectionnames_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline void AppStateFatalExceptionNotification::set_collectionnames(int index, const char* value, size_t size) {
- collectionnames_.Mutable(index)->assign(
+ _impl_.collectionnames_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline std::string* AppStateFatalExceptionNotification::_internal_add_collectionnames() {
- return collectionnames_.Add();
+ return _impl_.collectionnames_.Add();
}
inline void AppStateFatalExceptionNotification::add_collectionnames(const std::string& value) {
- collectionnames_.Add()->assign(value);
+ _impl_.collectionnames_.Add()->assign(value);
// @@protoc_insertion_point(field_add:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline void AppStateFatalExceptionNotification::add_collectionnames(std::string&& value) {
- collectionnames_.Add(std::move(value));
+ _impl_.collectionnames_.Add(std::move(value));
// @@protoc_insertion_point(field_add:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline void AppStateFatalExceptionNotification::add_collectionnames(const char* value) {
GOOGLE_DCHECK(value != nullptr);
- collectionnames_.Add()->assign(value);
+ _impl_.collectionnames_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline void AppStateFatalExceptionNotification::add_collectionnames(const char* value, size_t size) {
- collectionnames_.Add()->assign(reinterpret_cast<const char*>(value), size);
+ _impl_.collectionnames_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:proto.AppStateFatalExceptionNotification.collectionNames)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
AppStateFatalExceptionNotification::collectionnames() const {
// @@protoc_insertion_point(field_list:proto.AppStateFatalExceptionNotification.collectionNames)
- return collectionnames_;
+ return _impl_.collectionnames_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
AppStateFatalExceptionNotification::mutable_collectionnames() {
// @@protoc_insertion_point(field_mutable_list:proto.AppStateFatalExceptionNotification.collectionNames)
- return &collectionnames_;
+ return &_impl_.collectionnames_;
}
// optional int64 timestamp = 2;
inline bool AppStateFatalExceptionNotification::_internal_has_timestamp() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool AppStateFatalExceptionNotification::has_timestamp() const {
return _internal_has_timestamp();
}
inline void AppStateFatalExceptionNotification::clear_timestamp() {
- timestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.timestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 AppStateFatalExceptionNotification::_internal_timestamp() const {
- return timestamp_;
+inline int64_t AppStateFatalExceptionNotification::_internal_timestamp() const {
+ return _impl_.timestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 AppStateFatalExceptionNotification::timestamp() const {
+inline int64_t AppStateFatalExceptionNotification::timestamp() const {
// @@protoc_insertion_point(field_get:proto.AppStateFatalExceptionNotification.timestamp)
return _internal_timestamp();
}
-inline void AppStateFatalExceptionNotification::_internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000001u;
- timestamp_ = value;
+inline void AppStateFatalExceptionNotification::_internal_set_timestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.timestamp_ = value;
}
-inline void AppStateFatalExceptionNotification::set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void AppStateFatalExceptionNotification::set_timestamp(int64_t value) {
_internal_set_timestamp(value);
// @@protoc_insertion_point(field_set:proto.AppStateFatalExceptionNotification.timestamp)
}
@@ -34389,26 +35845,26 @@ inline void AppStateFatalExceptionNotification::set_timestamp(::PROTOBUF_NAMESPA
// optional bool securityNotificationEnabled = 1;
inline bool InitialSecurityNotificationSettingSync::_internal_has_securitynotificationenabled() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool InitialSecurityNotificationSettingSync::has_securitynotificationenabled() const {
return _internal_has_securitynotificationenabled();
}
inline void InitialSecurityNotificationSettingSync::clear_securitynotificationenabled() {
- securitynotificationenabled_ = false;
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.securitynotificationenabled_ = false;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline bool InitialSecurityNotificationSettingSync::_internal_securitynotificationenabled() const {
- return securitynotificationenabled_;
+ return _impl_.securitynotificationenabled_;
}
inline bool InitialSecurityNotificationSettingSync::securitynotificationenabled() const {
// @@protoc_insertion_point(field_get:proto.InitialSecurityNotificationSettingSync.securityNotificationEnabled)
return _internal_securitynotificationenabled();
}
inline void InitialSecurityNotificationSettingSync::_internal_set_securitynotificationenabled(bool value) {
- _has_bits_[0] |= 0x00000001u;
- securitynotificationenabled_ = value;
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.securitynotificationenabled_ = value;
}
inline void InitialSecurityNotificationSettingSync::set_securitynotificationenabled(bool value) {
_internal_set_securitynotificationenabled(value);
@@ -34421,15 +35877,15 @@ inline void InitialSecurityNotificationSettingSync::set_securitynotificationenab
// optional string displayName = 1;
inline bool ContactsArrayMessage::_internal_has_displayname() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ContactsArrayMessage::has_displayname() const {
return _internal_has_displayname();
}
inline void ContactsArrayMessage::clear_displayname() {
- displayname_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.displayname_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ContactsArrayMessage::displayname() const {
// @@protoc_insertion_point(field_get:proto.ContactsArrayMessage.displayName)
@@ -34438,8 +35894,8 @@ inline const std::string& ContactsArrayMessage::displayname() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displayname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ContactsArrayMessage.displayName)
}
inline std::string* ContactsArrayMessage::mutable_displayname() {
@@ -34448,63 +35904,73 @@ inline std::string* ContactsArrayMessage::mutable_displayname() {
return _s;
}
inline const std::string& ContactsArrayMessage::_internal_displayname() const {
- return displayname_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displayname_.Set(value, GetArenaForAllocation());
}
inline std::string* ContactsArrayMessage::_internal_mutable_displayname() {
- _has_bits_[0] |= 0x00000001u;
- return displayname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.displayname_.Mutable(GetArenaForAllocation());
}
inline std::string* ContactsArrayMessage::release_displayname() {
// @@protoc_insertion_point(field_release:proto.ContactsArrayMessage.displayName)
if (!_internal_has_displayname()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return displayname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.displayname_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displayname_.IsDefault()) {
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ContactsArrayMessage::set_allocated_displayname(std::string* displayname) {
if (displayname != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- displayname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displayname,
- GetArenaForAllocation());
+ _impl_.displayname_.SetAllocated(displayname, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displayname_.IsDefault()) {
+ _impl_.displayname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ContactsArrayMessage.displayName)
}
// repeated .proto.ContactMessage contacts = 2;
inline int ContactsArrayMessage::_internal_contacts_size() const {
- return contacts_.size();
+ return _impl_.contacts_.size();
}
inline int ContactsArrayMessage::contacts_size() const {
return _internal_contacts_size();
}
inline void ContactsArrayMessage::clear_contacts() {
- contacts_.Clear();
+ _impl_.contacts_.Clear();
}
inline ::proto::ContactMessage* ContactsArrayMessage::mutable_contacts(int index) {
// @@protoc_insertion_point(field_mutable:proto.ContactsArrayMessage.contacts)
- return contacts_.Mutable(index);
+ return _impl_.contacts_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::ContactMessage >*
ContactsArrayMessage::mutable_contacts() {
// @@protoc_insertion_point(field_mutable_list:proto.ContactsArrayMessage.contacts)
- return &contacts_;
+ return &_impl_.contacts_;
}
inline const ::proto::ContactMessage& ContactsArrayMessage::_internal_contacts(int index) const {
- return contacts_.Get(index);
+ return _impl_.contacts_.Get(index);
}
inline const ::proto::ContactMessage& ContactsArrayMessage::contacts(int index) const {
// @@protoc_insertion_point(field_get:proto.ContactsArrayMessage.contacts)
return _internal_contacts(index);
}
inline ::proto::ContactMessage* ContactsArrayMessage::_internal_add_contacts() {
- return contacts_.Add();
+ return _impl_.contacts_.Add();
}
inline ::proto::ContactMessage* ContactsArrayMessage::add_contacts() {
::proto::ContactMessage* _add = _internal_add_contacts();
@@ -34514,24 +35980,24 @@ inline ::proto::ContactMessage* ContactsArrayMessage::add_contacts() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::ContactMessage >&
ContactsArrayMessage::contacts() const {
// @@protoc_insertion_point(field_list:proto.ContactsArrayMessage.contacts)
- return contacts_;
+ return _impl_.contacts_;
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool ContactsArrayMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool ContactsArrayMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void ContactsArrayMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::ContextInfo& ContactsArrayMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -34542,20 +36008,20 @@ inline const ::proto::ContextInfo& ContactsArrayMessage::contextinfo() const {
inline void ContactsArrayMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ContactsArrayMessage.contextInfo)
}
inline ::proto::ContextInfo* ContactsArrayMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -34569,18 +36035,18 @@ inline ::proto::ContextInfo* ContactsArrayMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* ContactsArrayMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.ContactsArrayMessage.contextInfo)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* ContactsArrayMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000002u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* ContactsArrayMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -34590,20 +36056,20 @@ inline ::proto::ContextInfo* ContactsArrayMessage::mutable_contextinfo() {
inline void ContactsArrayMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.ContactsArrayMessage.contextInfo)
}
@@ -34613,15 +36079,15 @@ inline void ContactsArrayMessage::set_allocated_contextinfo(::proto::ContextInfo
// optional string currencyCode = 1;
inline bool HSMCurrency::_internal_has_currencycode() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HSMCurrency::has_currencycode() const {
return _internal_has_currencycode();
}
inline void HSMCurrency::clear_currencycode() {
- currencycode_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.currencycode_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& HSMCurrency::currencycode() const {
// @@protoc_insertion_point(field_get:proto.HSMCurrency.currencyCode)
@@ -34630,8 +36096,8 @@ inline const std::string& HSMCurrency::currencycode() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.currencycode_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HSMCurrency.currencyCode)
}
inline std::string* HSMCurrency::mutable_currencycode() {
@@ -34640,59 +36106,69 @@ inline std::string* HSMCurrency::mutable_currencycode() {
return _s;
}
inline const std::string& HSMCurrency::_internal_currencycode() const {
- return currencycode_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.currencycode_.Set(value, GetArenaForAllocation());
}
inline std::string* HSMCurrency::_internal_mutable_currencycode() {
- _has_bits_[0] |= 0x00000001u;
- return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.currencycode_.Mutable(GetArenaForAllocation());
}
inline std::string* HSMCurrency::release_currencycode() {
// @@protoc_insertion_point(field_release:proto.HSMCurrency.currencyCode)
if (!_internal_has_currencycode()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.currencycode_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currencycode_.IsDefault()) {
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HSMCurrency::set_allocated_currencycode(std::string* currencycode) {
if (currencycode != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- currencycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currencycode,
- GetArenaForAllocation());
+ _impl_.currencycode_.SetAllocated(currencycode, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currencycode_.IsDefault()) {
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HSMCurrency.currencyCode)
}
// optional int64 amount1000 = 2;
inline bool HSMCurrency::_internal_has_amount1000() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool HSMCurrency::has_amount1000() const {
return _internal_has_amount1000();
}
inline void HSMCurrency::clear_amount1000() {
- amount1000_ = int64_t{0};
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.amount1000_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 HSMCurrency::_internal_amount1000() const {
- return amount1000_;
+inline int64_t HSMCurrency::_internal_amount1000() const {
+ return _impl_.amount1000_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 HSMCurrency::amount1000() const {
+inline int64_t HSMCurrency::amount1000() const {
// @@protoc_insertion_point(field_get:proto.HSMCurrency.amount1000)
return _internal_amount1000();
}
-inline void HSMCurrency::_internal_set_amount1000(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000002u;
- amount1000_ = value;
+inline void HSMCurrency::_internal_set_amount1000(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.amount1000_ = value;
}
-inline void HSMCurrency::set_amount1000(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void HSMCurrency::set_amount1000(int64_t value) {
_internal_set_amount1000(value);
// @@protoc_insertion_point(field_set:proto.HSMCurrency.amount1000)
}
@@ -34703,18 +36179,18 @@ inline void HSMCurrency::set_amount1000(::PROTOBUF_NAMESPACE_ID::int64 value) {
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentDayOfWeekType dayOfWeek = 1;
inline bool HSMDateTimeComponent::_internal_has_dayofweek() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool HSMDateTimeComponent::has_dayofweek() const {
return _internal_has_dayofweek();
}
inline void HSMDateTimeComponent::clear_dayofweek() {
- dayofweek_ = 1;
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.dayofweek_ = 1;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline ::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTimeComponent::_internal_dayofweek() const {
- return static_cast< ::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType >(dayofweek_);
+ return static_cast< ::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType >(_impl_.dayofweek_);
}
inline ::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTimeComponent::dayofweek() const {
// @@protoc_insertion_point(field_get:proto.HSMDateTimeComponent.dayOfWeek)
@@ -34722,8 +36198,8 @@ inline ::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType HSMDateTi
}
inline void HSMDateTimeComponent::_internal_set_dayofweek(::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType value) {
assert(::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType_IsValid(value));
- _has_bits_[0] |= 0x00000020u;
- dayofweek_ = value;
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.dayofweek_ = value;
}
inline void HSMDateTimeComponent::set_dayofweek(::proto::HSMDateTimeComponent_HSMDateTimeComponentDayOfWeekType value) {
_internal_set_dayofweek(value);
@@ -34732,158 +36208,158 @@ inline void HSMDateTimeComponent::set_dayofweek(::proto::HSMDateTimeComponent_HS
// optional uint32 year = 2;
inline bool HSMDateTimeComponent::_internal_has_year() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HSMDateTimeComponent::has_year() const {
return _internal_has_year();
}
inline void HSMDateTimeComponent::clear_year() {
- year_ = 0u;
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.year_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::_internal_year() const {
- return year_;
+inline uint32_t HSMDateTimeComponent::_internal_year() const {
+ return _impl_.year_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::year() const {
+inline uint32_t HSMDateTimeComponent::year() const {
// @@protoc_insertion_point(field_get:proto.HSMDateTimeComponent.year)
return _internal_year();
}
-inline void HSMDateTimeComponent::_internal_set_year(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000001u;
- year_ = value;
+inline void HSMDateTimeComponent::_internal_set_year(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.year_ = value;
}
-inline void HSMDateTimeComponent::set_year(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void HSMDateTimeComponent::set_year(uint32_t value) {
_internal_set_year(value);
// @@protoc_insertion_point(field_set:proto.HSMDateTimeComponent.year)
}
// optional uint32 month = 3;
inline bool HSMDateTimeComponent::_internal_has_month() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool HSMDateTimeComponent::has_month() const {
return _internal_has_month();
}
inline void HSMDateTimeComponent::clear_month() {
- month_ = 0u;
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.month_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::_internal_month() const {
- return month_;
+inline uint32_t HSMDateTimeComponent::_internal_month() const {
+ return _impl_.month_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::month() const {
+inline uint32_t HSMDateTimeComponent::month() const {
// @@protoc_insertion_point(field_get:proto.HSMDateTimeComponent.month)
return _internal_month();
}
-inline void HSMDateTimeComponent::_internal_set_month(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000002u;
- month_ = value;
+inline void HSMDateTimeComponent::_internal_set_month(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.month_ = value;
}
-inline void HSMDateTimeComponent::set_month(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void HSMDateTimeComponent::set_month(uint32_t value) {
_internal_set_month(value);
// @@protoc_insertion_point(field_set:proto.HSMDateTimeComponent.month)
}
// optional uint32 dayOfMonth = 4;
inline bool HSMDateTimeComponent::_internal_has_dayofmonth() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool HSMDateTimeComponent::has_dayofmonth() const {
return _internal_has_dayofmonth();
}
inline void HSMDateTimeComponent::clear_dayofmonth() {
- dayofmonth_ = 0u;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.dayofmonth_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::_internal_dayofmonth() const {
- return dayofmonth_;
+inline uint32_t HSMDateTimeComponent::_internal_dayofmonth() const {
+ return _impl_.dayofmonth_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::dayofmonth() const {
+inline uint32_t HSMDateTimeComponent::dayofmonth() const {
// @@protoc_insertion_point(field_get:proto.HSMDateTimeComponent.dayOfMonth)
return _internal_dayofmonth();
}
-inline void HSMDateTimeComponent::_internal_set_dayofmonth(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000004u;
- dayofmonth_ = value;
+inline void HSMDateTimeComponent::_internal_set_dayofmonth(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.dayofmonth_ = value;
}
-inline void HSMDateTimeComponent::set_dayofmonth(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void HSMDateTimeComponent::set_dayofmonth(uint32_t value) {
_internal_set_dayofmonth(value);
// @@protoc_insertion_point(field_set:proto.HSMDateTimeComponent.dayOfMonth)
}
// optional uint32 hour = 5;
inline bool HSMDateTimeComponent::_internal_has_hour() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool HSMDateTimeComponent::has_hour() const {
return _internal_has_hour();
}
inline void HSMDateTimeComponent::clear_hour() {
- hour_ = 0u;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.hour_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::_internal_hour() const {
- return hour_;
+inline uint32_t HSMDateTimeComponent::_internal_hour() const {
+ return _impl_.hour_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::hour() const {
+inline uint32_t HSMDateTimeComponent::hour() const {
// @@protoc_insertion_point(field_get:proto.HSMDateTimeComponent.hour)
return _internal_hour();
}
-inline void HSMDateTimeComponent::_internal_set_hour(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000008u;
- hour_ = value;
+inline void HSMDateTimeComponent::_internal_set_hour(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.hour_ = value;
}
-inline void HSMDateTimeComponent::set_hour(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void HSMDateTimeComponent::set_hour(uint32_t value) {
_internal_set_hour(value);
// @@protoc_insertion_point(field_set:proto.HSMDateTimeComponent.hour)
}
// optional uint32 minute = 6;
inline bool HSMDateTimeComponent::_internal_has_minute() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool HSMDateTimeComponent::has_minute() const {
return _internal_has_minute();
}
inline void HSMDateTimeComponent::clear_minute() {
- minute_ = 0u;
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.minute_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::_internal_minute() const {
- return minute_;
+inline uint32_t HSMDateTimeComponent::_internal_minute() const {
+ return _impl_.minute_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 HSMDateTimeComponent::minute() const {
+inline uint32_t HSMDateTimeComponent::minute() const {
// @@protoc_insertion_point(field_get:proto.HSMDateTimeComponent.minute)
return _internal_minute();
}
-inline void HSMDateTimeComponent::_internal_set_minute(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000010u;
- minute_ = value;
+inline void HSMDateTimeComponent::_internal_set_minute(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.minute_ = value;
}
-inline void HSMDateTimeComponent::set_minute(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void HSMDateTimeComponent::set_minute(uint32_t value) {
_internal_set_minute(value);
// @@protoc_insertion_point(field_set:proto.HSMDateTimeComponent.minute)
}
// optional .proto.HSMDateTimeComponent.HSMDateTimeComponentCalendarType calendar = 7;
inline bool HSMDateTimeComponent::_internal_has_calendar() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool HSMDateTimeComponent::has_calendar() const {
return _internal_has_calendar();
}
inline void HSMDateTimeComponent::clear_calendar() {
- calendar_ = 1;
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.calendar_ = 1;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline ::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType HSMDateTimeComponent::_internal_calendar() const {
- return static_cast< ::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType >(calendar_);
+ return static_cast< ::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType >(_impl_.calendar_);
}
inline ::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType HSMDateTimeComponent::calendar() const {
// @@protoc_insertion_point(field_get:proto.HSMDateTimeComponent.calendar)
@@ -34891,8 +36367,8 @@ inline ::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType HSMDateTim
}
inline void HSMDateTimeComponent::_internal_set_calendar(::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType value) {
assert(::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType_IsValid(value));
- _has_bits_[0] |= 0x00000040u;
- calendar_ = value;
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.calendar_ = value;
}
inline void HSMDateTimeComponent::set_calendar(::proto::HSMDateTimeComponent_HSMDateTimeComponentCalendarType value) {
_internal_set_calendar(value);
@@ -34905,28 +36381,28 @@ inline void HSMDateTimeComponent::set_calendar(::proto::HSMDateTimeComponent_HSM
// optional int64 timestamp = 1;
inline bool HSMDateTimeUnixEpoch::_internal_has_timestamp() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HSMDateTimeUnixEpoch::has_timestamp() const {
return _internal_has_timestamp();
}
inline void HSMDateTimeUnixEpoch::clear_timestamp() {
- timestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.timestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 HSMDateTimeUnixEpoch::_internal_timestamp() const {
- return timestamp_;
+inline int64_t HSMDateTimeUnixEpoch::_internal_timestamp() const {
+ return _impl_.timestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 HSMDateTimeUnixEpoch::timestamp() const {
+inline int64_t HSMDateTimeUnixEpoch::timestamp() const {
// @@protoc_insertion_point(field_get:proto.HSMDateTimeUnixEpoch.timestamp)
return _internal_timestamp();
}
-inline void HSMDateTimeUnixEpoch::_internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000001u;
- timestamp_ = value;
+inline void HSMDateTimeUnixEpoch::_internal_set_timestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.timestamp_ = value;
}
-inline void HSMDateTimeUnixEpoch::set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void HSMDateTimeUnixEpoch::set_timestamp(int64_t value) {
_internal_set_timestamp(value);
// @@protoc_insertion_point(field_set:proto.HSMDateTimeUnixEpoch.timestamp)
}
@@ -34943,12 +36419,12 @@ inline bool HSMDateTime::has_component() const {
return _internal_has_component();
}
inline void HSMDateTime::set_has_component() {
- _oneof_case_[0] = kComponent;
+ _impl_._oneof_case_[0] = kComponent;
}
inline void HSMDateTime::clear_component() {
if (_internal_has_component()) {
if (GetArenaForAllocation() == nullptr) {
- delete datetimeOneof_.component_;
+ delete _impl_.datetimeOneof_.component_;
}
clear_has_datetimeOneof();
}
@@ -34957,11 +36433,11 @@ inline ::proto::HSMDateTimeComponent* HSMDateTime::release_component() {
// @@protoc_insertion_point(field_release:proto.HSMDateTime.component)
if (_internal_has_component()) {
clear_has_datetimeOneof();
- ::proto::HSMDateTimeComponent* temp = datetimeOneof_.component_;
+ ::proto::HSMDateTimeComponent* temp = _impl_.datetimeOneof_.component_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- datetimeOneof_.component_ = nullptr;
+ _impl_.datetimeOneof_.component_ = nullptr;
return temp;
} else {
return nullptr;
@@ -34969,7 +36445,7 @@ inline ::proto::HSMDateTimeComponent* HSMDateTime::release_component() {
}
inline const ::proto::HSMDateTimeComponent& HSMDateTime::_internal_component() const {
return _internal_has_component()
- ? *datetimeOneof_.component_
+ ? *_impl_.datetimeOneof_.component_
: reinterpret_cast< ::proto::HSMDateTimeComponent&>(::proto::_HSMDateTimeComponent_default_instance_);
}
inline const ::proto::HSMDateTimeComponent& HSMDateTime::component() const {
@@ -34980,8 +36456,8 @@ inline ::proto::HSMDateTimeComponent* HSMDateTime::unsafe_arena_release_componen
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HSMDateTime.component)
if (_internal_has_component()) {
clear_has_datetimeOneof();
- ::proto::HSMDateTimeComponent* temp = datetimeOneof_.component_;
- datetimeOneof_.component_ = nullptr;
+ ::proto::HSMDateTimeComponent* temp = _impl_.datetimeOneof_.component_;
+ _impl_.datetimeOneof_.component_ = nullptr;
return temp;
} else {
return nullptr;
@@ -34991,7 +36467,7 @@ inline void HSMDateTime::unsafe_arena_set_allocated_component(::proto::HSMDateTi
clear_datetimeOneof();
if (component) {
set_has_component();
- datetimeOneof_.component_ = component;
+ _impl_.datetimeOneof_.component_ = component;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HSMDateTime.component)
}
@@ -34999,9 +36475,9 @@ inline ::proto::HSMDateTimeComponent* HSMDateTime::_internal_mutable_component()
if (!_internal_has_component()) {
clear_datetimeOneof();
set_has_component();
- datetimeOneof_.component_ = CreateMaybeMessage< ::proto::HSMDateTimeComponent >(GetArenaForAllocation());
+ _impl_.datetimeOneof_.component_ = CreateMaybeMessage< ::proto::HSMDateTimeComponent >(GetArenaForAllocation());
}
- return datetimeOneof_.component_;
+ return _impl_.datetimeOneof_.component_;
}
inline ::proto::HSMDateTimeComponent* HSMDateTime::mutable_component() {
::proto::HSMDateTimeComponent* _msg = _internal_mutable_component();
@@ -35017,12 +36493,12 @@ inline bool HSMDateTime::has_unixepoch() const {
return _internal_has_unixepoch();
}
inline void HSMDateTime::set_has_unixepoch() {
- _oneof_case_[0] = kUnixEpoch;
+ _impl_._oneof_case_[0] = kUnixEpoch;
}
inline void HSMDateTime::clear_unixepoch() {
if (_internal_has_unixepoch()) {
if (GetArenaForAllocation() == nullptr) {
- delete datetimeOneof_.unixepoch_;
+ delete _impl_.datetimeOneof_.unixepoch_;
}
clear_has_datetimeOneof();
}
@@ -35031,11 +36507,11 @@ inline ::proto::HSMDateTimeUnixEpoch* HSMDateTime::release_unixepoch() {
// @@protoc_insertion_point(field_release:proto.HSMDateTime.unixEpoch)
if (_internal_has_unixepoch()) {
clear_has_datetimeOneof();
- ::proto::HSMDateTimeUnixEpoch* temp = datetimeOneof_.unixepoch_;
+ ::proto::HSMDateTimeUnixEpoch* temp = _impl_.datetimeOneof_.unixepoch_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- datetimeOneof_.unixepoch_ = nullptr;
+ _impl_.datetimeOneof_.unixepoch_ = nullptr;
return temp;
} else {
return nullptr;
@@ -35043,7 +36519,7 @@ inline ::proto::HSMDateTimeUnixEpoch* HSMDateTime::release_unixepoch() {
}
inline const ::proto::HSMDateTimeUnixEpoch& HSMDateTime::_internal_unixepoch() const {
return _internal_has_unixepoch()
- ? *datetimeOneof_.unixepoch_
+ ? *_impl_.datetimeOneof_.unixepoch_
: reinterpret_cast< ::proto::HSMDateTimeUnixEpoch&>(::proto::_HSMDateTimeUnixEpoch_default_instance_);
}
inline const ::proto::HSMDateTimeUnixEpoch& HSMDateTime::unixepoch() const {
@@ -35054,8 +36530,8 @@ inline ::proto::HSMDateTimeUnixEpoch* HSMDateTime::unsafe_arena_release_unixepoc
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HSMDateTime.unixEpoch)
if (_internal_has_unixepoch()) {
clear_has_datetimeOneof();
- ::proto::HSMDateTimeUnixEpoch* temp = datetimeOneof_.unixepoch_;
- datetimeOneof_.unixepoch_ = nullptr;
+ ::proto::HSMDateTimeUnixEpoch* temp = _impl_.datetimeOneof_.unixepoch_;
+ _impl_.datetimeOneof_.unixepoch_ = nullptr;
return temp;
} else {
return nullptr;
@@ -35065,7 +36541,7 @@ inline void HSMDateTime::unsafe_arena_set_allocated_unixepoch(::proto::HSMDateTi
clear_datetimeOneof();
if (unixepoch) {
set_has_unixepoch();
- datetimeOneof_.unixepoch_ = unixepoch;
+ _impl_.datetimeOneof_.unixepoch_ = unixepoch;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HSMDateTime.unixEpoch)
}
@@ -35073,9 +36549,9 @@ inline ::proto::HSMDateTimeUnixEpoch* HSMDateTime::_internal_mutable_unixepoch()
if (!_internal_has_unixepoch()) {
clear_datetimeOneof();
set_has_unixepoch();
- datetimeOneof_.unixepoch_ = CreateMaybeMessage< ::proto::HSMDateTimeUnixEpoch >(GetArenaForAllocation());
+ _impl_.datetimeOneof_.unixepoch_ = CreateMaybeMessage< ::proto::HSMDateTimeUnixEpoch >(GetArenaForAllocation());
}
- return datetimeOneof_.unixepoch_;
+ return _impl_.datetimeOneof_.unixepoch_;
}
inline ::proto::HSMDateTimeUnixEpoch* HSMDateTime::mutable_unixepoch() {
::proto::HSMDateTimeUnixEpoch* _msg = _internal_mutable_unixepoch();
@@ -35087,10 +36563,10 @@ inline bool HSMDateTime::has_datetimeOneof() const {
return datetimeOneof_case() != DATETIMEONEOF_NOT_SET;
}
inline void HSMDateTime::clear_has_datetimeOneof() {
- _oneof_case_[0] = DATETIMEONEOF_NOT_SET;
+ _impl_._oneof_case_[0] = DATETIMEONEOF_NOT_SET;
}
inline HSMDateTime::DatetimeOneofCase HSMDateTime::datetimeOneof_case() const {
- return HSMDateTime::DatetimeOneofCase(_oneof_case_[0]);
+ return HSMDateTime::DatetimeOneofCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -35098,15 +36574,15 @@ inline HSMDateTime::DatetimeOneofCase HSMDateTime::datetimeOneof_case() const {
// optional string default = 1;
inline bool HSMLocalizableParameter::_internal_has_default_() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HSMLocalizableParameter::has_default_() const {
return _internal_has_default_();
}
inline void HSMLocalizableParameter::clear_default_() {
- default__.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.default__.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& HSMLocalizableParameter::default_() const {
// @@protoc_insertion_point(field_get:proto.HSMLocalizableParameter.default)
@@ -35115,8 +36591,8 @@ inline const std::string& HSMLocalizableParameter::default_() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.default__.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HSMLocalizableParameter.default)
}
inline std::string* HSMLocalizableParameter::mutable_default_() {
@@ -35125,32 +36601,42 @@ inline std::string* HSMLocalizableParameter::mutable_default_() {
return _s;
}
inline const std::string& HSMLocalizableParameter::_internal_default_() const {
- return default__.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.default__.Set(value, GetArenaForAllocation());
}
inline std::string* HSMLocalizableParameter::_internal_mutable_default_() {
- _has_bits_[0] |= 0x00000001u;
- return default__.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.default__.Mutable(GetArenaForAllocation());
}
inline std::string* HSMLocalizableParameter::release_default_() {
// @@protoc_insertion_point(field_release:proto.HSMLocalizableParameter.default)
if (!_internal_has_default_()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return default__.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.default__.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.default__.IsDefault()) {
+ _impl_.default__.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HSMLocalizableParameter::set_allocated_default_(std::string* default_) {
if (default_ != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- default__.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), default_,
- GetArenaForAllocation());
+ _impl_.default__.SetAllocated(default_, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.default__.IsDefault()) {
+ _impl_.default__.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HSMLocalizableParameter.default)
}
@@ -35162,12 +36648,12 @@ inline bool HSMLocalizableParameter::has_currency() const {
return _internal_has_currency();
}
inline void HSMLocalizableParameter::set_has_currency() {
- _oneof_case_[0] = kCurrency;
+ _impl_._oneof_case_[0] = kCurrency;
}
inline void HSMLocalizableParameter::clear_currency() {
if (_internal_has_currency()) {
if (GetArenaForAllocation() == nullptr) {
- delete paramOneof_.currency_;
+ delete _impl_.paramOneof_.currency_;
}
clear_has_paramOneof();
}
@@ -35176,11 +36662,11 @@ inline ::proto::HSMCurrency* HSMLocalizableParameter::release_currency() {
// @@protoc_insertion_point(field_release:proto.HSMLocalizableParameter.currency)
if (_internal_has_currency()) {
clear_has_paramOneof();
- ::proto::HSMCurrency* temp = paramOneof_.currency_;
+ ::proto::HSMCurrency* temp = _impl_.paramOneof_.currency_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- paramOneof_.currency_ = nullptr;
+ _impl_.paramOneof_.currency_ = nullptr;
return temp;
} else {
return nullptr;
@@ -35188,7 +36674,7 @@ inline ::proto::HSMCurrency* HSMLocalizableParameter::release_currency() {
}
inline const ::proto::HSMCurrency& HSMLocalizableParameter::_internal_currency() const {
return _internal_has_currency()
- ? *paramOneof_.currency_
+ ? *_impl_.paramOneof_.currency_
: reinterpret_cast< ::proto::HSMCurrency&>(::proto::_HSMCurrency_default_instance_);
}
inline const ::proto::HSMCurrency& HSMLocalizableParameter::currency() const {
@@ -35199,8 +36685,8 @@ inline ::proto::HSMCurrency* HSMLocalizableParameter::unsafe_arena_release_curre
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HSMLocalizableParameter.currency)
if (_internal_has_currency()) {
clear_has_paramOneof();
- ::proto::HSMCurrency* temp = paramOneof_.currency_;
- paramOneof_.currency_ = nullptr;
+ ::proto::HSMCurrency* temp = _impl_.paramOneof_.currency_;
+ _impl_.paramOneof_.currency_ = nullptr;
return temp;
} else {
return nullptr;
@@ -35210,7 +36696,7 @@ inline void HSMLocalizableParameter::unsafe_arena_set_allocated_currency(::proto
clear_paramOneof();
if (currency) {
set_has_currency();
- paramOneof_.currency_ = currency;
+ _impl_.paramOneof_.currency_ = currency;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HSMLocalizableParameter.currency)
}
@@ -35218,9 +36704,9 @@ inline ::proto::HSMCurrency* HSMLocalizableParameter::_internal_mutable_currency
if (!_internal_has_currency()) {
clear_paramOneof();
set_has_currency();
- paramOneof_.currency_ = CreateMaybeMessage< ::proto::HSMCurrency >(GetArenaForAllocation());
+ _impl_.paramOneof_.currency_ = CreateMaybeMessage< ::proto::HSMCurrency >(GetArenaForAllocation());
}
- return paramOneof_.currency_;
+ return _impl_.paramOneof_.currency_;
}
inline ::proto::HSMCurrency* HSMLocalizableParameter::mutable_currency() {
::proto::HSMCurrency* _msg = _internal_mutable_currency();
@@ -35236,12 +36722,12 @@ inline bool HSMLocalizableParameter::has_datetime() const {
return _internal_has_datetime();
}
inline void HSMLocalizableParameter::set_has_datetime() {
- _oneof_case_[0] = kDateTime;
+ _impl_._oneof_case_[0] = kDateTime;
}
inline void HSMLocalizableParameter::clear_datetime() {
if (_internal_has_datetime()) {
if (GetArenaForAllocation() == nullptr) {
- delete paramOneof_.datetime_;
+ delete _impl_.paramOneof_.datetime_;
}
clear_has_paramOneof();
}
@@ -35250,11 +36736,11 @@ inline ::proto::HSMDateTime* HSMLocalizableParameter::release_datetime() {
// @@protoc_insertion_point(field_release:proto.HSMLocalizableParameter.dateTime)
if (_internal_has_datetime()) {
clear_has_paramOneof();
- ::proto::HSMDateTime* temp = paramOneof_.datetime_;
+ ::proto::HSMDateTime* temp = _impl_.paramOneof_.datetime_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- paramOneof_.datetime_ = nullptr;
+ _impl_.paramOneof_.datetime_ = nullptr;
return temp;
} else {
return nullptr;
@@ -35262,7 +36748,7 @@ inline ::proto::HSMDateTime* HSMLocalizableParameter::release_datetime() {
}
inline const ::proto::HSMDateTime& HSMLocalizableParameter::_internal_datetime() const {
return _internal_has_datetime()
- ? *paramOneof_.datetime_
+ ? *_impl_.paramOneof_.datetime_
: reinterpret_cast< ::proto::HSMDateTime&>(::proto::_HSMDateTime_default_instance_);
}
inline const ::proto::HSMDateTime& HSMLocalizableParameter::datetime() const {
@@ -35273,8 +36759,8 @@ inline ::proto::HSMDateTime* HSMLocalizableParameter::unsafe_arena_release_datet
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HSMLocalizableParameter.dateTime)
if (_internal_has_datetime()) {
clear_has_paramOneof();
- ::proto::HSMDateTime* temp = paramOneof_.datetime_;
- paramOneof_.datetime_ = nullptr;
+ ::proto::HSMDateTime* temp = _impl_.paramOneof_.datetime_;
+ _impl_.paramOneof_.datetime_ = nullptr;
return temp;
} else {
return nullptr;
@@ -35284,7 +36770,7 @@ inline void HSMLocalizableParameter::unsafe_arena_set_allocated_datetime(::proto
clear_paramOneof();
if (datetime) {
set_has_datetime();
- paramOneof_.datetime_ = datetime;
+ _impl_.paramOneof_.datetime_ = datetime;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HSMLocalizableParameter.dateTime)
}
@@ -35292,9 +36778,9 @@ inline ::proto::HSMDateTime* HSMLocalizableParameter::_internal_mutable_datetime
if (!_internal_has_datetime()) {
clear_paramOneof();
set_has_datetime();
- paramOneof_.datetime_ = CreateMaybeMessage< ::proto::HSMDateTime >(GetArenaForAllocation());
+ _impl_.paramOneof_.datetime_ = CreateMaybeMessage< ::proto::HSMDateTime >(GetArenaForAllocation());
}
- return paramOneof_.datetime_;
+ return _impl_.paramOneof_.datetime_;
}
inline ::proto::HSMDateTime* HSMLocalizableParameter::mutable_datetime() {
::proto::HSMDateTime* _msg = _internal_mutable_datetime();
@@ -35306,10 +36792,10 @@ inline bool HSMLocalizableParameter::has_paramOneof() const {
return paramOneof_case() != PARAMONEOF_NOT_SET;
}
inline void HSMLocalizableParameter::clear_has_paramOneof() {
- _oneof_case_[0] = PARAMONEOF_NOT_SET;
+ _impl_._oneof_case_[0] = PARAMONEOF_NOT_SET;
}
inline HSMLocalizableParameter::ParamOneofCase HSMLocalizableParameter::paramOneof_case() const {
- return HSMLocalizableParameter::ParamOneofCase(_oneof_case_[0]);
+ return HSMLocalizableParameter::ParamOneofCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -35317,15 +36803,15 @@ inline HSMLocalizableParameter::ParamOneofCase HSMLocalizableParameter::paramOne
// optional string namespace = 1;
inline bool HighlyStructuredMessage::_internal_has_namespace_() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HighlyStructuredMessage::has_namespace_() const {
return _internal_has_namespace_();
}
inline void HighlyStructuredMessage::clear_namespace_() {
- namespace__.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.namespace__.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& HighlyStructuredMessage::namespace_() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.namespace)
@@ -35334,8 +36820,8 @@ inline const std::string& HighlyStructuredMessage::namespace_() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.namespace__.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.namespace)
}
inline std::string* HighlyStructuredMessage::mutable_namespace_() {
@@ -35344,46 +36830,56 @@ inline std::string* HighlyStructuredMessage::mutable_namespace_() {
return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_namespace_() const {
- return namespace__.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.namespace__.Set(value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_namespace_() {
- _has_bits_[0] |= 0x00000001u;
- return namespace__.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.namespace__.Mutable(GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_namespace_() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.namespace)
if (!_internal_has_namespace_()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return namespace__.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.namespace__.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.namespace__.IsDefault()) {
+ _impl_.namespace__.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HighlyStructuredMessage::set_allocated_namespace_(std::string* namespace_) {
if (namespace_ != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- namespace__.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), namespace_,
- GetArenaForAllocation());
+ _impl_.namespace__.SetAllocated(namespace_, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.namespace__.IsDefault()) {
+ _impl_.namespace__.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.namespace)
}
// optional string elementName = 2;
inline bool HighlyStructuredMessage::_internal_has_elementname() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool HighlyStructuredMessage::has_elementname() const {
return _internal_has_elementname();
}
inline void HighlyStructuredMessage::clear_elementname() {
- elementname_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.elementname_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& HighlyStructuredMessage::elementname() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.elementName)
@@ -35392,8 +36888,8 @@ inline const std::string& HighlyStructuredMessage::elementname() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.elementname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.elementName)
}
inline std::string* HighlyStructuredMessage::mutable_elementname() {
@@ -35402,44 +36898,54 @@ inline std::string* HighlyStructuredMessage::mutable_elementname() {
return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_elementname() const {
- return elementname_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.elementname_.Set(value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_elementname() {
- _has_bits_[0] |= 0x00000002u;
- return elementname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.elementname_.Mutable(GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_elementname() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.elementName)
if (!_internal_has_elementname()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return elementname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.elementname_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.elementname_.IsDefault()) {
+ _impl_.elementname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HighlyStructuredMessage::set_allocated_elementname(std::string* elementname) {
if (elementname != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.elementname_.SetAllocated(elementname, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.elementname_.IsDefault()) {
+ _impl_.elementname_.Set("", GetArenaForAllocation());
}
- elementname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), elementname,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.elementName)
}
// repeated string params = 3;
inline int HighlyStructuredMessage::_internal_params_size() const {
- return params_.size();
+ return _impl_.params_.size();
}
inline int HighlyStructuredMessage::params_size() const {
return _internal_params_size();
}
inline void HighlyStructuredMessage::clear_params() {
- params_.Clear();
+ _impl_.params_.Clear();
}
inline std::string* HighlyStructuredMessage::add_params() {
std::string* _s = _internal_add_params();
@@ -35447,7 +36953,7 @@ inline std::string* HighlyStructuredMessage::add_params() {
return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_params(int index) const {
- return params_.Get(index);
+ return _impl_.params_.Get(index);
}
inline const std::string& HighlyStructuredMessage::params(int index) const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.params)
@@ -35455,68 +36961,68 @@ inline const std::string& HighlyStructuredMessage::params(int index) const {
}
inline std::string* HighlyStructuredMessage::mutable_params(int index) {
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.params)
- return params_.Mutable(index);
+ return _impl_.params_.Mutable(index);
}
inline void HighlyStructuredMessage::set_params(int index, const std::string& value) {
- params_.Mutable(index)->assign(value);
+ _impl_.params_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.params)
}
inline void HighlyStructuredMessage::set_params(int index, std::string&& value) {
- params_.Mutable(index)->assign(std::move(value));
+ _impl_.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);
- params_.Mutable(index)->assign(value);
+ _impl_.params_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:proto.HighlyStructuredMessage.params)
}
inline void HighlyStructuredMessage::set_params(int index, const char* value, size_t size) {
- params_.Mutable(index)->assign(
+ _impl_.params_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:proto.HighlyStructuredMessage.params)
}
inline std::string* HighlyStructuredMessage::_internal_add_params() {
- return params_.Add();
+ return _impl_.params_.Add();
}
inline void HighlyStructuredMessage::add_params(const std::string& value) {
- params_.Add()->assign(value);
+ _impl_.params_.Add()->assign(value);
// @@protoc_insertion_point(field_add:proto.HighlyStructuredMessage.params)
}
inline void HighlyStructuredMessage::add_params(std::string&& value) {
- params_.Add(std::move(value));
+ _impl_.params_.Add(std::move(value));
// @@protoc_insertion_point(field_add:proto.HighlyStructuredMessage.params)
}
inline void HighlyStructuredMessage::add_params(const char* value) {
GOOGLE_DCHECK(value != nullptr);
- params_.Add()->assign(value);
+ _impl_.params_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:proto.HighlyStructuredMessage.params)
}
inline void HighlyStructuredMessage::add_params(const char* value, size_t size) {
- params_.Add()->assign(reinterpret_cast<const char*>(value), size);
+ _impl_.params_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:proto.HighlyStructuredMessage.params)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
HighlyStructuredMessage::params() const {
// @@protoc_insertion_point(field_list:proto.HighlyStructuredMessage.params)
- return params_;
+ return _impl_.params_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
HighlyStructuredMessage::mutable_params() {
// @@protoc_insertion_point(field_mutable_list:proto.HighlyStructuredMessage.params)
- return &params_;
+ return &_impl_.params_;
}
// optional string fallbackLg = 4;
inline bool HighlyStructuredMessage::_internal_has_fallbacklg() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool HighlyStructuredMessage::has_fallbacklg() const {
return _internal_has_fallbacklg();
}
inline void HighlyStructuredMessage::clear_fallbacklg() {
- fallbacklg_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.fallbacklg_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& HighlyStructuredMessage::fallbacklg() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.fallbackLg)
@@ -35525,8 +37031,8 @@ inline const std::string& HighlyStructuredMessage::fallbacklg() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.fallbacklg_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.fallbackLg)
}
inline std::string* HighlyStructuredMessage::mutable_fallbacklg() {
@@ -35535,46 +37041,56 @@ inline std::string* HighlyStructuredMessage::mutable_fallbacklg() {
return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_fallbacklg() const {
- return fallbacklg_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.fallbacklg_.Set(value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_fallbacklg() {
- _has_bits_[0] |= 0x00000004u;
- return fallbacklg_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.fallbacklg_.Mutable(GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_fallbacklg() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.fallbackLg)
if (!_internal_has_fallbacklg()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return fallbacklg_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.fallbacklg_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fallbacklg_.IsDefault()) {
+ _impl_.fallbacklg_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HighlyStructuredMessage::set_allocated_fallbacklg(std::string* fallbacklg) {
if (fallbacklg != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.fallbacklg_.SetAllocated(fallbacklg, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fallbacklg_.IsDefault()) {
+ _impl_.fallbacklg_.Set("", GetArenaForAllocation());
}
- fallbacklg_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fallbacklg,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.fallbackLg)
}
// optional string fallbackLc = 5;
inline bool HighlyStructuredMessage::_internal_has_fallbacklc() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool HighlyStructuredMessage::has_fallbacklc() const {
return _internal_has_fallbacklc();
}
inline void HighlyStructuredMessage::clear_fallbacklc() {
- fallbacklc_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.fallbacklc_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& HighlyStructuredMessage::fallbacklc() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.fallbackLc)
@@ -35583,8 +37099,8 @@ inline const std::string& HighlyStructuredMessage::fallbacklc() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.fallbacklc_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.fallbackLc)
}
inline std::string* HighlyStructuredMessage::mutable_fallbacklc() {
@@ -35593,63 +37109,73 @@ inline std::string* HighlyStructuredMessage::mutable_fallbacklc() {
return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_fallbacklc() const {
- return fallbacklc_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.fallbacklc_.Set(value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_fallbacklc() {
- _has_bits_[0] |= 0x00000008u;
- return fallbacklc_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.fallbacklc_.Mutable(GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_fallbacklc() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.fallbackLc)
if (!_internal_has_fallbacklc()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return fallbacklc_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.fallbacklc_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fallbacklc_.IsDefault()) {
+ _impl_.fallbacklc_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HighlyStructuredMessage::set_allocated_fallbacklc(std::string* fallbacklc) {
if (fallbacklc != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.fallbacklc_.SetAllocated(fallbacklc, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fallbacklc_.IsDefault()) {
+ _impl_.fallbacklc_.Set("", GetArenaForAllocation());
}
- fallbacklc_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fallbacklc,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.fallbackLc)
}
// repeated .proto.HSMLocalizableParameter localizableParams = 6;
inline int HighlyStructuredMessage::_internal_localizableparams_size() const {
- return localizableparams_.size();
+ return _impl_.localizableparams_.size();
}
inline int HighlyStructuredMessage::localizableparams_size() const {
return _internal_localizableparams_size();
}
inline void HighlyStructuredMessage::clear_localizableparams() {
- localizableparams_.Clear();
+ _impl_.localizableparams_.Clear();
}
inline ::proto::HSMLocalizableParameter* HighlyStructuredMessage::mutable_localizableparams(int index) {
// @@protoc_insertion_point(field_mutable:proto.HighlyStructuredMessage.localizableParams)
- return localizableparams_.Mutable(index);
+ return _impl_.localizableparams_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HSMLocalizableParameter >*
HighlyStructuredMessage::mutable_localizableparams() {
// @@protoc_insertion_point(field_mutable_list:proto.HighlyStructuredMessage.localizableParams)
- return &localizableparams_;
+ return &_impl_.localizableparams_;
}
inline const ::proto::HSMLocalizableParameter& HighlyStructuredMessage::_internal_localizableparams(int index) const {
- return localizableparams_.Get(index);
+ return _impl_.localizableparams_.Get(index);
}
inline const ::proto::HSMLocalizableParameter& HighlyStructuredMessage::localizableparams(int index) const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.localizableParams)
return _internal_localizableparams(index);
}
inline ::proto::HSMLocalizableParameter* HighlyStructuredMessage::_internal_add_localizableparams() {
- return localizableparams_.Add();
+ return _impl_.localizableparams_.Add();
}
inline ::proto::HSMLocalizableParameter* HighlyStructuredMessage::add_localizableparams() {
::proto::HSMLocalizableParameter* _add = _internal_add_localizableparams();
@@ -35659,20 +37185,20 @@ inline ::proto::HSMLocalizableParameter* HighlyStructuredMessage::add_localizabl
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HSMLocalizableParameter >&
HighlyStructuredMessage::localizableparams() const {
// @@protoc_insertion_point(field_list:proto.HighlyStructuredMessage.localizableParams)
- return localizableparams_;
+ return _impl_.localizableparams_;
}
// optional string deterministicLg = 7;
inline bool HighlyStructuredMessage::_internal_has_deterministiclg() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool HighlyStructuredMessage::has_deterministiclg() const {
return _internal_has_deterministiclg();
}
inline void HighlyStructuredMessage::clear_deterministiclg() {
- deterministiclg_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.deterministiclg_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& HighlyStructuredMessage::deterministiclg() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.deterministicLg)
@@ -35681,8 +37207,8 @@ inline const std::string& HighlyStructuredMessage::deterministiclg() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.deterministiclg_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.deterministicLg)
}
inline std::string* HighlyStructuredMessage::mutable_deterministiclg() {
@@ -35691,46 +37217,56 @@ inline std::string* HighlyStructuredMessage::mutable_deterministiclg() {
return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_deterministiclg() const {
- return deterministiclg_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.deterministiclg_.Set(value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_deterministiclg() {
- _has_bits_[0] |= 0x00000010u;
- return deterministiclg_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.deterministiclg_.Mutable(GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_deterministiclg() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.deterministicLg)
if (!_internal_has_deterministiclg()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return deterministiclg_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.deterministiclg_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.deterministiclg_.IsDefault()) {
+ _impl_.deterministiclg_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HighlyStructuredMessage::set_allocated_deterministiclg(std::string* deterministiclg) {
if (deterministiclg != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ }
+ _impl_.deterministiclg_.SetAllocated(deterministiclg, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.deterministiclg_.IsDefault()) {
+ _impl_.deterministiclg_.Set("", GetArenaForAllocation());
}
- deterministiclg_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), deterministiclg,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.deterministicLg)
}
// optional string deterministicLc = 8;
inline bool HighlyStructuredMessage::_internal_has_deterministiclc() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool HighlyStructuredMessage::has_deterministiclc() const {
return _internal_has_deterministiclc();
}
inline void HighlyStructuredMessage::clear_deterministiclc() {
- deterministiclc_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.deterministiclc_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& HighlyStructuredMessage::deterministiclc() const {
// @@protoc_insertion_point(field_get:proto.HighlyStructuredMessage.deterministicLc)
@@ -35739,8 +37275,8 @@ inline const std::string& HighlyStructuredMessage::deterministiclc() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.deterministiclc_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HighlyStructuredMessage.deterministicLc)
}
inline std::string* HighlyStructuredMessage::mutable_deterministiclc() {
@@ -35749,50 +37285,60 @@ inline std::string* HighlyStructuredMessage::mutable_deterministiclc() {
return _s;
}
inline const std::string& HighlyStructuredMessage::_internal_deterministiclc() const {
- return deterministiclc_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.deterministiclc_.Set(value, GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::_internal_mutable_deterministiclc() {
- _has_bits_[0] |= 0x00000020u;
- return deterministiclc_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.deterministiclc_.Mutable(GetArenaForAllocation());
}
inline std::string* HighlyStructuredMessage::release_deterministiclc() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.deterministicLc)
if (!_internal_has_deterministiclc()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return deterministiclc_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.deterministiclc_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.deterministiclc_.IsDefault()) {
+ _impl_.deterministiclc_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HighlyStructuredMessage::set_allocated_deterministiclc(std::string* deterministiclc) {
if (deterministiclc != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ }
+ _impl_.deterministiclc_.SetAllocated(deterministiclc, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.deterministiclc_.IsDefault()) {
+ _impl_.deterministiclc_.Set("", GetArenaForAllocation());
}
- deterministiclc_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), deterministiclc,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.deterministicLc)
}
// optional .proto.TemplateMessage hydratedHsm = 9;
inline bool HighlyStructuredMessage::_internal_has_hydratedhsm() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- PROTOBUF_ASSUME(!value || hydratedhsm_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.hydratedhsm_ != nullptr);
return value;
}
inline bool HighlyStructuredMessage::has_hydratedhsm() const {
return _internal_has_hydratedhsm();
}
inline void HighlyStructuredMessage::clear_hydratedhsm() {
- if (hydratedhsm_ != nullptr) hydratedhsm_->Clear();
- _has_bits_[0] &= ~0x00000040u;
+ if (_impl_.hydratedhsm_ != nullptr) _impl_.hydratedhsm_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const ::proto::TemplateMessage& HighlyStructuredMessage::_internal_hydratedhsm() const {
- const ::proto::TemplateMessage* p = hydratedhsm_;
+ const ::proto::TemplateMessage* p = _impl_.hydratedhsm_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::TemplateMessage&>(
::proto::_TemplateMessage_default_instance_);
}
@@ -35803,20 +37349,20 @@ inline const ::proto::TemplateMessage& HighlyStructuredMessage::hydratedhsm() co
inline void HighlyStructuredMessage::unsafe_arena_set_allocated_hydratedhsm(
::proto::TemplateMessage* hydratedhsm) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hydratedhsm_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hydratedhsm_);
}
- hydratedhsm_ = hydratedhsm;
+ _impl_.hydratedhsm_ = hydratedhsm;
if (hydratedhsm) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HighlyStructuredMessage.hydratedHsm)
}
inline ::proto::TemplateMessage* HighlyStructuredMessage::release_hydratedhsm() {
- _has_bits_[0] &= ~0x00000040u;
- ::proto::TemplateMessage* temp = hydratedhsm_;
- hydratedhsm_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::TemplateMessage* temp = _impl_.hydratedhsm_;
+ _impl_.hydratedhsm_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -35830,18 +37376,18 @@ inline ::proto::TemplateMessage* HighlyStructuredMessage::release_hydratedhsm()
}
inline ::proto::TemplateMessage* HighlyStructuredMessage::unsafe_arena_release_hydratedhsm() {
// @@protoc_insertion_point(field_release:proto.HighlyStructuredMessage.hydratedHsm)
- _has_bits_[0] &= ~0x00000040u;
- ::proto::TemplateMessage* temp = hydratedhsm_;
- hydratedhsm_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::TemplateMessage* temp = _impl_.hydratedhsm_;
+ _impl_.hydratedhsm_ = nullptr;
return temp;
}
inline ::proto::TemplateMessage* HighlyStructuredMessage::_internal_mutable_hydratedhsm() {
- _has_bits_[0] |= 0x00000040u;
- if (hydratedhsm_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000040u;
+ if (_impl_.hydratedhsm_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::TemplateMessage>(GetArenaForAllocation());
- hydratedhsm_ = p;
+ _impl_.hydratedhsm_ = p;
}
- return hydratedhsm_;
+ return _impl_.hydratedhsm_;
}
inline ::proto::TemplateMessage* HighlyStructuredMessage::mutable_hydratedhsm() {
::proto::TemplateMessage* _msg = _internal_mutable_hydratedhsm();
@@ -35851,20 +37397,20 @@ inline ::proto::TemplateMessage* HighlyStructuredMessage::mutable_hydratedhsm()
inline void HighlyStructuredMessage::set_allocated_hydratedhsm(::proto::TemplateMessage* hydratedhsm) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete hydratedhsm_;
+ delete _impl_.hydratedhsm_;
}
if (hydratedhsm) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::TemplateMessage>::GetOwningArena(hydratedhsm);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(hydratedhsm);
if (message_arena != submessage_arena) {
hydratedhsm = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, hydratedhsm, submessage_arena);
}
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- hydratedhsm_ = hydratedhsm;
+ _impl_.hydratedhsm_ = hydratedhsm;
// @@protoc_insertion_point(field_set_allocated:proto.HighlyStructuredMessage.hydratedHsm)
}
@@ -35874,19 +37420,19 @@ inline void HighlyStructuredMessage::set_allocated_hydratedhsm(::proto::Template
// optional .proto.Message noteMessage = 2;
inline bool SendPaymentMessage::_internal_has_notemessage() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || notemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.notemessage_ != nullptr);
return value;
}
inline bool SendPaymentMessage::has_notemessage() const {
return _internal_has_notemessage();
}
inline void SendPaymentMessage::clear_notemessage() {
- if (notemessage_ != nullptr) notemessage_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.notemessage_ != nullptr) _impl_.notemessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::Message& SendPaymentMessage::_internal_notemessage() const {
- const ::proto::Message* p = notemessage_;
+ const ::proto::Message* p = _impl_.notemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Message&>(
::proto::_Message_default_instance_);
}
@@ -35897,20 +37443,20 @@ inline const ::proto::Message& SendPaymentMessage::notemessage() const {
inline void SendPaymentMessage::unsafe_arena_set_allocated_notemessage(
::proto::Message* notemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(notemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.notemessage_);
}
- notemessage_ = notemessage;
+ _impl_.notemessage_ = notemessage;
if (notemessage) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.SendPaymentMessage.noteMessage)
}
inline ::proto::Message* SendPaymentMessage::release_notemessage() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::Message* temp = notemessage_;
- notemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::Message* temp = _impl_.notemessage_;
+ _impl_.notemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -35924,18 +37470,18 @@ inline ::proto::Message* SendPaymentMessage::release_notemessage() {
}
inline ::proto::Message* SendPaymentMessage::unsafe_arena_release_notemessage() {
// @@protoc_insertion_point(field_release:proto.SendPaymentMessage.noteMessage)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::Message* temp = notemessage_;
- notemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::Message* temp = _impl_.notemessage_;
+ _impl_.notemessage_ = nullptr;
return temp;
}
inline ::proto::Message* SendPaymentMessage::_internal_mutable_notemessage() {
- _has_bits_[0] |= 0x00000001u;
- if (notemessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.notemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
- notemessage_ = p;
+ _impl_.notemessage_ = p;
}
- return notemessage_;
+ return _impl_.notemessage_;
}
inline ::proto::Message* SendPaymentMessage::mutable_notemessage() {
::proto::Message* _msg = _internal_mutable_notemessage();
@@ -35945,38 +37491,38 @@ inline ::proto::Message* SendPaymentMessage::mutable_notemessage() {
inline void SendPaymentMessage::set_allocated_notemessage(::proto::Message* notemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete notemessage_;
+ delete _impl_.notemessage_;
}
if (notemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(notemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(notemessage);
if (message_arena != submessage_arena) {
notemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, notemessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- notemessage_ = notemessage;
+ _impl_.notemessage_ = notemessage;
// @@protoc_insertion_point(field_set_allocated:proto.SendPaymentMessage.noteMessage)
}
// optional .proto.MessageKey requestMessageKey = 3;
inline bool SendPaymentMessage::_internal_has_requestmessagekey() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || requestmessagekey_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.requestmessagekey_ != nullptr);
return value;
}
inline bool SendPaymentMessage::has_requestmessagekey() const {
return _internal_has_requestmessagekey();
}
inline void SendPaymentMessage::clear_requestmessagekey() {
- if (requestmessagekey_ != nullptr) requestmessagekey_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.requestmessagekey_ != nullptr) _impl_.requestmessagekey_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::MessageKey& SendPaymentMessage::_internal_requestmessagekey() const {
- const ::proto::MessageKey* p = requestmessagekey_;
+ const ::proto::MessageKey* p = _impl_.requestmessagekey_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageKey&>(
::proto::_MessageKey_default_instance_);
}
@@ -35987,20 +37533,20 @@ inline const ::proto::MessageKey& SendPaymentMessage::requestmessagekey() const
inline void SendPaymentMessage::unsafe_arena_set_allocated_requestmessagekey(
::proto::MessageKey* requestmessagekey) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(requestmessagekey_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.requestmessagekey_);
}
- requestmessagekey_ = requestmessagekey;
+ _impl_.requestmessagekey_ = requestmessagekey;
if (requestmessagekey) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.SendPaymentMessage.requestMessageKey)
}
inline ::proto::MessageKey* SendPaymentMessage::release_requestmessagekey() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::MessageKey* temp = requestmessagekey_;
- requestmessagekey_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::MessageKey* temp = _impl_.requestmessagekey_;
+ _impl_.requestmessagekey_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -36014,18 +37560,18 @@ inline ::proto::MessageKey* SendPaymentMessage::release_requestmessagekey() {
}
inline ::proto::MessageKey* SendPaymentMessage::unsafe_arena_release_requestmessagekey() {
// @@protoc_insertion_point(field_release:proto.SendPaymentMessage.requestMessageKey)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::MessageKey* temp = requestmessagekey_;
- requestmessagekey_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::MessageKey* temp = _impl_.requestmessagekey_;
+ _impl_.requestmessagekey_ = nullptr;
return temp;
}
inline ::proto::MessageKey* SendPaymentMessage::_internal_mutable_requestmessagekey() {
- _has_bits_[0] |= 0x00000002u;
- if (requestmessagekey_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.requestmessagekey_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
- requestmessagekey_ = p;
+ _impl_.requestmessagekey_ = p;
}
- return requestmessagekey_;
+ return _impl_.requestmessagekey_;
}
inline ::proto::MessageKey* SendPaymentMessage::mutable_requestmessagekey() {
::proto::MessageKey* _msg = _internal_mutable_requestmessagekey();
@@ -36035,20 +37581,20 @@ inline ::proto::MessageKey* SendPaymentMessage::mutable_requestmessagekey() {
inline void SendPaymentMessage::set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete requestmessagekey_;
+ delete _impl_.requestmessagekey_;
}
if (requestmessagekey) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(requestmessagekey);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(requestmessagekey);
if (message_arena != submessage_arena) {
requestmessagekey = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, requestmessagekey, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- requestmessagekey_ = requestmessagekey;
+ _impl_.requestmessagekey_ = requestmessagekey;
// @@protoc_insertion_point(field_set_allocated:proto.SendPaymentMessage.requestMessageKey)
}
@@ -36058,19 +37604,19 @@ inline void SendPaymentMessage::set_allocated_requestmessagekey(::proto::Message
// optional .proto.Message noteMessage = 4;
inline bool RequestPaymentMessage::_internal_has_notemessage() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || notemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.notemessage_ != nullptr);
return value;
}
inline bool RequestPaymentMessage::has_notemessage() const {
return _internal_has_notemessage();
}
inline void RequestPaymentMessage::clear_notemessage() {
- if (notemessage_ != nullptr) notemessage_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.notemessage_ != nullptr) _impl_.notemessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::Message& RequestPaymentMessage::_internal_notemessage() const {
- const ::proto::Message* p = notemessage_;
+ const ::proto::Message* p = _impl_.notemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Message&>(
::proto::_Message_default_instance_);
}
@@ -36081,20 +37627,20 @@ inline const ::proto::Message& RequestPaymentMessage::notemessage() const {
inline void RequestPaymentMessage::unsafe_arena_set_allocated_notemessage(
::proto::Message* notemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(notemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.notemessage_);
}
- notemessage_ = notemessage;
+ _impl_.notemessage_ = notemessage;
if (notemessage) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.RequestPaymentMessage.noteMessage)
}
inline ::proto::Message* RequestPaymentMessage::release_notemessage() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::Message* temp = notemessage_;
- notemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::Message* temp = _impl_.notemessage_;
+ _impl_.notemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -36108,18 +37654,18 @@ inline ::proto::Message* RequestPaymentMessage::release_notemessage() {
}
inline ::proto::Message* RequestPaymentMessage::unsafe_arena_release_notemessage() {
// @@protoc_insertion_point(field_release:proto.RequestPaymentMessage.noteMessage)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::Message* temp = notemessage_;
- notemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::Message* temp = _impl_.notemessage_;
+ _impl_.notemessage_ = nullptr;
return temp;
}
inline ::proto::Message* RequestPaymentMessage::_internal_mutable_notemessage() {
- _has_bits_[0] |= 0x00000004u;
- if (notemessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.notemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
- notemessage_ = p;
+ _impl_.notemessage_ = p;
}
- return notemessage_;
+ return _impl_.notemessage_;
}
inline ::proto::Message* RequestPaymentMessage::mutable_notemessage() {
::proto::Message* _msg = _internal_mutable_notemessage();
@@ -36129,34 +37675,34 @@ inline ::proto::Message* RequestPaymentMessage::mutable_notemessage() {
inline void RequestPaymentMessage::set_allocated_notemessage(::proto::Message* notemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete notemessage_;
+ delete _impl_.notemessage_;
}
if (notemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(notemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(notemessage);
if (message_arena != submessage_arena) {
notemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, notemessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- notemessage_ = notemessage;
+ _impl_.notemessage_ = notemessage;
// @@protoc_insertion_point(field_set_allocated:proto.RequestPaymentMessage.noteMessage)
}
// optional string currencyCodeIso4217 = 1;
inline bool RequestPaymentMessage::_internal_has_currencycodeiso4217() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool RequestPaymentMessage::has_currencycodeiso4217() const {
return _internal_has_currencycodeiso4217();
}
inline void RequestPaymentMessage::clear_currencycodeiso4217() {
- currencycodeiso4217_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.currencycodeiso4217_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& RequestPaymentMessage::currencycodeiso4217() const {
// @@protoc_insertion_point(field_get:proto.RequestPaymentMessage.currencyCodeIso4217)
@@ -36165,8 +37711,8 @@ inline const std::string& RequestPaymentMessage::currencycodeiso4217() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.currencycodeiso4217_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.RequestPaymentMessage.currencyCodeIso4217)
}
inline std::string* RequestPaymentMessage::mutable_currencycodeiso4217() {
@@ -36175,74 +37721,84 @@ inline std::string* RequestPaymentMessage::mutable_currencycodeiso4217() {
return _s;
}
inline const std::string& RequestPaymentMessage::_internal_currencycodeiso4217() const {
- return currencycodeiso4217_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.currencycodeiso4217_.Set(value, GetArenaForAllocation());
}
inline std::string* RequestPaymentMessage::_internal_mutable_currencycodeiso4217() {
- _has_bits_[0] |= 0x00000001u;
- return currencycodeiso4217_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.currencycodeiso4217_.Mutable(GetArenaForAllocation());
}
inline std::string* RequestPaymentMessage::release_currencycodeiso4217() {
// @@protoc_insertion_point(field_release:proto.RequestPaymentMessage.currencyCodeIso4217)
if (!_internal_has_currencycodeiso4217()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return currencycodeiso4217_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.currencycodeiso4217_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currencycodeiso4217_.IsDefault()) {
+ _impl_.currencycodeiso4217_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void RequestPaymentMessage::set_allocated_currencycodeiso4217(std::string* currencycodeiso4217) {
if (currencycodeiso4217 != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.currencycodeiso4217_.SetAllocated(currencycodeiso4217, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currencycodeiso4217_.IsDefault()) {
+ _impl_.currencycodeiso4217_.Set("", GetArenaForAllocation());
}
- currencycodeiso4217_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currencycodeiso4217,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.RequestPaymentMessage.currencyCodeIso4217)
}
// optional uint64 amount1000 = 2;
inline bool RequestPaymentMessage::_internal_has_amount1000() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool RequestPaymentMessage::has_amount1000() const {
return _internal_has_amount1000();
}
inline void RequestPaymentMessage::clear_amount1000() {
- amount1000_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.amount1000_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 RequestPaymentMessage::_internal_amount1000() const {
- return amount1000_;
+inline uint64_t RequestPaymentMessage::_internal_amount1000() const {
+ return _impl_.amount1000_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 RequestPaymentMessage::amount1000() const {
+inline uint64_t RequestPaymentMessage::amount1000() const {
// @@protoc_insertion_point(field_get:proto.RequestPaymentMessage.amount1000)
return _internal_amount1000();
}
-inline void RequestPaymentMessage::_internal_set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000010u;
- amount1000_ = value;
+inline void RequestPaymentMessage::_internal_set_amount1000(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.amount1000_ = value;
}
-inline void RequestPaymentMessage::set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void RequestPaymentMessage::set_amount1000(uint64_t value) {
_internal_set_amount1000(value);
// @@protoc_insertion_point(field_set:proto.RequestPaymentMessage.amount1000)
}
// optional string requestFrom = 3;
inline bool RequestPaymentMessage::_internal_has_requestfrom() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool RequestPaymentMessage::has_requestfrom() const {
return _internal_has_requestfrom();
}
inline void RequestPaymentMessage::clear_requestfrom() {
- requestfrom_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.requestfrom_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& RequestPaymentMessage::requestfrom() const {
// @@protoc_insertion_point(field_get:proto.RequestPaymentMessage.requestFrom)
@@ -36251,8 +37807,8 @@ inline const std::string& RequestPaymentMessage::requestfrom() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.requestfrom_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.RequestPaymentMessage.requestFrom)
}
inline std::string* RequestPaymentMessage::mutable_requestfrom() {
@@ -36261,78 +37817,88 @@ inline std::string* RequestPaymentMessage::mutable_requestfrom() {
return _s;
}
inline const std::string& RequestPaymentMessage::_internal_requestfrom() const {
- return requestfrom_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.requestfrom_.Set(value, GetArenaForAllocation());
}
inline std::string* RequestPaymentMessage::_internal_mutable_requestfrom() {
- _has_bits_[0] |= 0x00000002u;
- return requestfrom_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.requestfrom_.Mutable(GetArenaForAllocation());
}
inline std::string* RequestPaymentMessage::release_requestfrom() {
// @@protoc_insertion_point(field_release:proto.RequestPaymentMessage.requestFrom)
if (!_internal_has_requestfrom()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return requestfrom_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.requestfrom_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.requestfrom_.IsDefault()) {
+ _impl_.requestfrom_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void RequestPaymentMessage::set_allocated_requestfrom(std::string* requestfrom) {
if (requestfrom != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.requestfrom_.SetAllocated(requestfrom, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.requestfrom_.IsDefault()) {
+ _impl_.requestfrom_.Set("", GetArenaForAllocation());
}
- requestfrom_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), requestfrom,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.RequestPaymentMessage.requestFrom)
}
// optional int64 expiryTimestamp = 5;
inline bool RequestPaymentMessage::_internal_has_expirytimestamp() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool RequestPaymentMessage::has_expirytimestamp() const {
return _internal_has_expirytimestamp();
}
inline void RequestPaymentMessage::clear_expirytimestamp() {
- expirytimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.expirytimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 RequestPaymentMessage::_internal_expirytimestamp() const {
- return expirytimestamp_;
+inline int64_t RequestPaymentMessage::_internal_expirytimestamp() const {
+ return _impl_.expirytimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 RequestPaymentMessage::expirytimestamp() const {
+inline int64_t RequestPaymentMessage::expirytimestamp() const {
// @@protoc_insertion_point(field_get:proto.RequestPaymentMessage.expiryTimestamp)
return _internal_expirytimestamp();
}
-inline void RequestPaymentMessage::_internal_set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000020u;
- expirytimestamp_ = value;
+inline void RequestPaymentMessage::_internal_set_expirytimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.expirytimestamp_ = value;
}
-inline void RequestPaymentMessage::set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void RequestPaymentMessage::set_expirytimestamp(int64_t value) {
_internal_set_expirytimestamp(value);
// @@protoc_insertion_point(field_set:proto.RequestPaymentMessage.expiryTimestamp)
}
// optional .proto.PaymentMoney amount = 6;
inline bool RequestPaymentMessage::_internal_has_amount() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || amount_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.amount_ != nullptr);
return value;
}
inline bool RequestPaymentMessage::has_amount() const {
return _internal_has_amount();
}
inline void RequestPaymentMessage::clear_amount() {
- if (amount_ != nullptr) amount_->Clear();
- _has_bits_[0] &= ~0x00000008u;
+ if (_impl_.amount_ != nullptr) _impl_.amount_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const ::proto::PaymentMoney& RequestPaymentMessage::_internal_amount() const {
- const ::proto::PaymentMoney* p = amount_;
+ const ::proto::PaymentMoney* p = _impl_.amount_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::PaymentMoney&>(
::proto::_PaymentMoney_default_instance_);
}
@@ -36343,20 +37909,20 @@ inline const ::proto::PaymentMoney& RequestPaymentMessage::amount() const {
inline void RequestPaymentMessage::unsafe_arena_set_allocated_amount(
::proto::PaymentMoney* amount) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(amount_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.amount_);
}
- amount_ = amount;
+ _impl_.amount_ = amount;
if (amount) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.RequestPaymentMessage.amount)
}
inline ::proto::PaymentMoney* RequestPaymentMessage::release_amount() {
- _has_bits_[0] &= ~0x00000008u;
- ::proto::PaymentMoney* temp = amount_;
- amount_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::PaymentMoney* temp = _impl_.amount_;
+ _impl_.amount_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -36370,18 +37936,18 @@ inline ::proto::PaymentMoney* RequestPaymentMessage::release_amount() {
}
inline ::proto::PaymentMoney* RequestPaymentMessage::unsafe_arena_release_amount() {
// @@protoc_insertion_point(field_release:proto.RequestPaymentMessage.amount)
- _has_bits_[0] &= ~0x00000008u;
- ::proto::PaymentMoney* temp = amount_;
- amount_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::PaymentMoney* temp = _impl_.amount_;
+ _impl_.amount_ = nullptr;
return temp;
}
inline ::proto::PaymentMoney* RequestPaymentMessage::_internal_mutable_amount() {
- _has_bits_[0] |= 0x00000008u;
- if (amount_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ if (_impl_.amount_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArenaForAllocation());
- amount_ = p;
+ _impl_.amount_ = p;
}
- return amount_;
+ return _impl_.amount_;
}
inline ::proto::PaymentMoney* RequestPaymentMessage::mutable_amount() {
::proto::PaymentMoney* _msg = _internal_mutable_amount();
@@ -36391,20 +37957,20 @@ inline ::proto::PaymentMoney* RequestPaymentMessage::mutable_amount() {
inline void RequestPaymentMessage::set_allocated_amount(::proto::PaymentMoney* amount) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete amount_;
+ delete _impl_.amount_;
}
if (amount) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentMoney>::GetOwningArena(amount);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(amount);
if (message_arena != submessage_arena) {
amount = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, amount, submessage_arena);
}
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- amount_ = amount;
+ _impl_.amount_ = amount;
// @@protoc_insertion_point(field_set_allocated:proto.RequestPaymentMessage.amount)
}
@@ -36414,19 +37980,19 @@ inline void RequestPaymentMessage::set_allocated_amount(::proto::PaymentMoney* a
// optional .proto.MessageKey key = 1;
inline bool DeclinePaymentRequestMessage::_internal_has_key() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || key_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.key_ != nullptr);
return value;
}
inline bool DeclinePaymentRequestMessage::has_key() const {
return _internal_has_key();
}
inline void DeclinePaymentRequestMessage::clear_key() {
- if (key_ != nullptr) key_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.key_ != nullptr) _impl_.key_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::MessageKey& DeclinePaymentRequestMessage::_internal_key() const {
- const ::proto::MessageKey* p = key_;
+ const ::proto::MessageKey* p = _impl_.key_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageKey&>(
::proto::_MessageKey_default_instance_);
}
@@ -36437,20 +38003,20 @@ inline const ::proto::MessageKey& DeclinePaymentRequestMessage::key() const {
inline void DeclinePaymentRequestMessage::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.key_);
}
- key_ = key;
+ _impl_.key_ = key;
if (key) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.DeclinePaymentRequestMessage.key)
}
inline ::proto::MessageKey* DeclinePaymentRequestMessage::release_key() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -36464,18 +38030,18 @@ inline ::proto::MessageKey* DeclinePaymentRequestMessage::release_key() {
}
inline ::proto::MessageKey* DeclinePaymentRequestMessage::unsafe_arena_release_key() {
// @@protoc_insertion_point(field_release:proto.DeclinePaymentRequestMessage.key)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
return temp;
}
inline ::proto::MessageKey* DeclinePaymentRequestMessage::_internal_mutable_key() {
- _has_bits_[0] |= 0x00000001u;
- if (key_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.key_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
- key_ = p;
+ _impl_.key_ = p;
}
- return key_;
+ return _impl_.key_;
}
inline ::proto::MessageKey* DeclinePaymentRequestMessage::mutable_key() {
::proto::MessageKey* _msg = _internal_mutable_key();
@@ -36485,20 +38051,20 @@ inline ::proto::MessageKey* DeclinePaymentRequestMessage::mutable_key() {
inline void DeclinePaymentRequestMessage::set_allocated_key(::proto::MessageKey* key) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete key_;
+ delete _impl_.key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- key_ = key;
+ _impl_.key_ = key;
// @@protoc_insertion_point(field_set_allocated:proto.DeclinePaymentRequestMessage.key)
}
@@ -36508,19 +38074,19 @@ inline void DeclinePaymentRequestMessage::set_allocated_key(::proto::MessageKey*
// optional .proto.MessageKey key = 1;
inline bool CancelPaymentRequestMessage::_internal_has_key() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || key_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.key_ != nullptr);
return value;
}
inline bool CancelPaymentRequestMessage::has_key() const {
return _internal_has_key();
}
inline void CancelPaymentRequestMessage::clear_key() {
- if (key_ != nullptr) key_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.key_ != nullptr) _impl_.key_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::MessageKey& CancelPaymentRequestMessage::_internal_key() const {
- const ::proto::MessageKey* p = key_;
+ const ::proto::MessageKey* p = _impl_.key_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageKey&>(
::proto::_MessageKey_default_instance_);
}
@@ -36531,20 +38097,20 @@ inline const ::proto::MessageKey& CancelPaymentRequestMessage::key() const {
inline void CancelPaymentRequestMessage::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.key_);
}
- key_ = key;
+ _impl_.key_ = key;
if (key) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.CancelPaymentRequestMessage.key)
}
inline ::proto::MessageKey* CancelPaymentRequestMessage::release_key() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -36558,18 +38124,18 @@ inline ::proto::MessageKey* CancelPaymentRequestMessage::release_key() {
}
inline ::proto::MessageKey* CancelPaymentRequestMessage::unsafe_arena_release_key() {
// @@protoc_insertion_point(field_release:proto.CancelPaymentRequestMessage.key)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
return temp;
}
inline ::proto::MessageKey* CancelPaymentRequestMessage::_internal_mutable_key() {
- _has_bits_[0] |= 0x00000001u;
- if (key_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.key_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
- key_ = p;
+ _impl_.key_ = p;
}
- return key_;
+ return _impl_.key_;
}
inline ::proto::MessageKey* CancelPaymentRequestMessage::mutable_key() {
::proto::MessageKey* _msg = _internal_mutable_key();
@@ -36579,20 +38145,20 @@ inline ::proto::MessageKey* CancelPaymentRequestMessage::mutable_key() {
inline void CancelPaymentRequestMessage::set_allocated_key(::proto::MessageKey* key) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete key_;
+ delete _impl_.key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- key_ = key;
+ _impl_.key_ = key;
// @@protoc_insertion_point(field_set_allocated:proto.CancelPaymentRequestMessage.key)
}
@@ -36602,26 +38168,26 @@ inline void CancelPaymentRequestMessage::set_allocated_key(::proto::MessageKey*
// optional double degreesLatitude = 1;
inline bool LiveLocationMessage::_internal_has_degreeslatitude() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool LiveLocationMessage::has_degreeslatitude() const {
return _internal_has_degreeslatitude();
}
inline void LiveLocationMessage::clear_degreeslatitude() {
- degreeslatitude_ = 0;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.degreeslatitude_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline double LiveLocationMessage::_internal_degreeslatitude() const {
- return degreeslatitude_;
+ return _impl_.degreeslatitude_;
}
inline double LiveLocationMessage::degreeslatitude() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.degreesLatitude)
return _internal_degreeslatitude();
}
inline void LiveLocationMessage::_internal_set_degreeslatitude(double value) {
- _has_bits_[0] |= 0x00000008u;
- degreeslatitude_ = value;
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.degreeslatitude_ = value;
}
inline void LiveLocationMessage::set_degreeslatitude(double value) {
_internal_set_degreeslatitude(value);
@@ -36630,26 +38196,26 @@ inline void LiveLocationMessage::set_degreeslatitude(double value) {
// optional double degreesLongitude = 2;
inline bool LiveLocationMessage::_internal_has_degreeslongitude() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool LiveLocationMessage::has_degreeslongitude() const {
return _internal_has_degreeslongitude();
}
inline void LiveLocationMessage::clear_degreeslongitude() {
- degreeslongitude_ = 0;
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.degreeslongitude_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline double LiveLocationMessage::_internal_degreeslongitude() const {
- return degreeslongitude_;
+ return _impl_.degreeslongitude_;
}
inline double LiveLocationMessage::degreeslongitude() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.degreesLongitude)
return _internal_degreeslongitude();
}
inline void LiveLocationMessage::_internal_set_degreeslongitude(double value) {
- _has_bits_[0] |= 0x00000010u;
- degreeslongitude_ = value;
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.degreeslongitude_ = value;
}
inline void LiveLocationMessage::set_degreeslongitude(double value) {
_internal_set_degreeslongitude(value);
@@ -36658,54 +38224,54 @@ inline void LiveLocationMessage::set_degreeslongitude(double value) {
// optional uint32 accuracyInMeters = 3;
inline bool LiveLocationMessage::_internal_has_accuracyinmeters() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool LiveLocationMessage::has_accuracyinmeters() const {
return _internal_has_accuracyinmeters();
}
inline void LiveLocationMessage::clear_accuracyinmeters() {
- accuracyinmeters_ = 0u;
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.accuracyinmeters_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LiveLocationMessage::_internal_accuracyinmeters() const {
- return accuracyinmeters_;
+inline uint32_t LiveLocationMessage::_internal_accuracyinmeters() const {
+ return _impl_.accuracyinmeters_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LiveLocationMessage::accuracyinmeters() const {
+inline uint32_t LiveLocationMessage::accuracyinmeters() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.accuracyInMeters)
return _internal_accuracyinmeters();
}
-inline void LiveLocationMessage::_internal_set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000020u;
- accuracyinmeters_ = value;
+inline void LiveLocationMessage::_internal_set_accuracyinmeters(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.accuracyinmeters_ = value;
}
-inline void LiveLocationMessage::set_accuracyinmeters(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void LiveLocationMessage::set_accuracyinmeters(uint32_t value) {
_internal_set_accuracyinmeters(value);
// @@protoc_insertion_point(field_set:proto.LiveLocationMessage.accuracyInMeters)
}
// optional float speedInMps = 4;
inline bool LiveLocationMessage::_internal_has_speedinmps() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool LiveLocationMessage::has_speedinmps() const {
return _internal_has_speedinmps();
}
inline void LiveLocationMessage::clear_speedinmps() {
- speedinmps_ = 0;
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.speedinmps_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline float LiveLocationMessage::_internal_speedinmps() const {
- return speedinmps_;
+ return _impl_.speedinmps_;
}
inline float LiveLocationMessage::speedinmps() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.speedInMps)
return _internal_speedinmps();
}
inline void LiveLocationMessage::_internal_set_speedinmps(float value) {
- _has_bits_[0] |= 0x00000040u;
- speedinmps_ = value;
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.speedinmps_ = value;
}
inline void LiveLocationMessage::set_speedinmps(float value) {
_internal_set_speedinmps(value);
@@ -36714,43 +38280,43 @@ inline void LiveLocationMessage::set_speedinmps(float value) {
// optional uint32 degreesClockwiseFromMagneticNorth = 5;
inline bool LiveLocationMessage::_internal_has_degreesclockwisefrommagneticnorth() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool LiveLocationMessage::has_degreesclockwisefrommagneticnorth() const {
return _internal_has_degreesclockwisefrommagneticnorth();
}
inline void LiveLocationMessage::clear_degreesclockwisefrommagneticnorth() {
- degreesclockwisefrommagneticnorth_ = 0u;
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.degreesclockwisefrommagneticnorth_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LiveLocationMessage::_internal_degreesclockwisefrommagneticnorth() const {
- return degreesclockwisefrommagneticnorth_;
+inline uint32_t LiveLocationMessage::_internal_degreesclockwisefrommagneticnorth() const {
+ return _impl_.degreesclockwisefrommagneticnorth_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LiveLocationMessage::degreesclockwisefrommagneticnorth() const {
+inline uint32_t LiveLocationMessage::degreesclockwisefrommagneticnorth() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.degreesClockwiseFromMagneticNorth)
return _internal_degreesclockwisefrommagneticnorth();
}
-inline void LiveLocationMessage::_internal_set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000080u;
- degreesclockwisefrommagneticnorth_ = value;
+inline void LiveLocationMessage::_internal_set_degreesclockwisefrommagneticnorth(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.degreesclockwisefrommagneticnorth_ = value;
}
-inline void LiveLocationMessage::set_degreesclockwisefrommagneticnorth(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void LiveLocationMessage::set_degreesclockwisefrommagneticnorth(uint32_t value) {
_internal_set_degreesclockwisefrommagneticnorth(value);
// @@protoc_insertion_point(field_set:proto.LiveLocationMessage.degreesClockwiseFromMagneticNorth)
}
// optional string caption = 6;
inline bool LiveLocationMessage::_internal_has_caption() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool LiveLocationMessage::has_caption() const {
return _internal_has_caption();
}
inline void LiveLocationMessage::clear_caption() {
- caption_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.caption_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& LiveLocationMessage::caption() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.caption)
@@ -36759,8 +38325,8 @@ inline const std::string& LiveLocationMessage::caption() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.caption_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LiveLocationMessage.caption)
}
inline std::string* LiveLocationMessage::mutable_caption() {
@@ -36769,102 +38335,112 @@ inline std::string* LiveLocationMessage::mutable_caption() {
return _s;
}
inline const std::string& LiveLocationMessage::_internal_caption() const {
- return caption_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.caption_.Set(value, GetArenaForAllocation());
}
inline std::string* LiveLocationMessage::_internal_mutable_caption() {
- _has_bits_[0] |= 0x00000001u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.caption_.Mutable(GetArenaForAllocation());
}
inline std::string* LiveLocationMessage::release_caption() {
// @@protoc_insertion_point(field_release:proto.LiveLocationMessage.caption)
if (!_internal_has_caption()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.caption_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void LiveLocationMessage::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.caption_.SetAllocated(caption, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
}
- caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.LiveLocationMessage.caption)
}
// optional int64 sequenceNumber = 7;
inline bool LiveLocationMessage::_internal_has_sequencenumber() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool LiveLocationMessage::has_sequencenumber() const {
return _internal_has_sequencenumber();
}
inline void LiveLocationMessage::clear_sequencenumber() {
- sequencenumber_ = int64_t{0};
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.sequencenumber_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 LiveLocationMessage::_internal_sequencenumber() const {
- return sequencenumber_;
+inline int64_t LiveLocationMessage::_internal_sequencenumber() const {
+ return _impl_.sequencenumber_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 LiveLocationMessage::sequencenumber() const {
+inline int64_t LiveLocationMessage::sequencenumber() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.sequenceNumber)
return _internal_sequencenumber();
}
-inline void LiveLocationMessage::_internal_set_sequencenumber(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000200u;
- sequencenumber_ = value;
+inline void LiveLocationMessage::_internal_set_sequencenumber(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.sequencenumber_ = value;
}
-inline void LiveLocationMessage::set_sequencenumber(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void LiveLocationMessage::set_sequencenumber(int64_t value) {
_internal_set_sequencenumber(value);
// @@protoc_insertion_point(field_set:proto.LiveLocationMessage.sequenceNumber)
}
// optional uint32 timeOffset = 8;
inline bool LiveLocationMessage::_internal_has_timeoffset() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool LiveLocationMessage::has_timeoffset() const {
return _internal_has_timeoffset();
}
inline void LiveLocationMessage::clear_timeoffset() {
- timeoffset_ = 0u;
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.timeoffset_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LiveLocationMessage::_internal_timeoffset() const {
- return timeoffset_;
+inline uint32_t LiveLocationMessage::_internal_timeoffset() const {
+ return _impl_.timeoffset_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 LiveLocationMessage::timeoffset() const {
+inline uint32_t LiveLocationMessage::timeoffset() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.timeOffset)
return _internal_timeoffset();
}
-inline void LiveLocationMessage::_internal_set_timeoffset(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000100u;
- timeoffset_ = value;
+inline void LiveLocationMessage::_internal_set_timeoffset(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.timeoffset_ = value;
}
-inline void LiveLocationMessage::set_timeoffset(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void LiveLocationMessage::set_timeoffset(uint32_t value) {
_internal_set_timeoffset(value);
// @@protoc_insertion_point(field_set:proto.LiveLocationMessage.timeOffset)
}
// optional bytes jpegThumbnail = 16;
inline bool LiveLocationMessage::_internal_has_jpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool LiveLocationMessage::has_jpegthumbnail() const {
return _internal_has_jpegthumbnail();
}
inline void LiveLocationMessage::clear_jpegthumbnail() {
- jpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.jpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& LiveLocationMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.LiveLocationMessage.jpegThumbnail)
@@ -36873,8 +38449,8 @@ inline const std::string& LiveLocationMessage::jpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.jpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.LiveLocationMessage.jpegThumbnail)
}
inline std::string* LiveLocationMessage::mutable_jpegthumbnail() {
@@ -36883,50 +38459,60 @@ inline std::string* LiveLocationMessage::mutable_jpegthumbnail() {
return _s;
}
inline const std::string& LiveLocationMessage::_internal_jpegthumbnail() const {
- return jpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.jpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* LiveLocationMessage::_internal_mutable_jpegthumbnail() {
- _has_bits_[0] |= 0x00000002u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.jpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* LiveLocationMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.LiveLocationMessage.jpegThumbnail)
if (!_internal_has_jpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.jpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void LiveLocationMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArenaForAllocation());
+ _impl_.jpegthumbnail_.SetAllocated(jpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.LiveLocationMessage.jpegThumbnail)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool LiveLocationMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool LiveLocationMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void LiveLocationMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::ContextInfo& LiveLocationMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -36937,20 +38523,20 @@ inline const ::proto::ContextInfo& LiveLocationMessage::contextinfo() const {
inline void LiveLocationMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.LiveLocationMessage.contextInfo)
}
inline ::proto::ContextInfo* LiveLocationMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -36964,18 +38550,18 @@ inline ::proto::ContextInfo* LiveLocationMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* LiveLocationMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.LiveLocationMessage.contextInfo)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* LiveLocationMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000004u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* LiveLocationMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -36985,20 +38571,20 @@ inline ::proto::ContextInfo* LiveLocationMessage::mutable_contextinfo() {
inline void LiveLocationMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.LiveLocationMessage.contextInfo)
}
@@ -37008,15 +38594,15 @@ inline void LiveLocationMessage::set_allocated_contextinfo(::proto::ContextInfo*
// optional string url = 1;
inline bool StickerMessage::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool StickerMessage::has_url() const {
return _internal_has_url();
}
inline void StickerMessage::clear_url() {
- url_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.url_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& StickerMessage::url() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.url)
@@ -37025,8 +38611,8 @@ inline const std::string& StickerMessage::url() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.url)
}
inline std::string* StickerMessage::mutable_url() {
@@ -37035,46 +38621,56 @@ inline std::string* StickerMessage::mutable_url() {
return _s;
}
inline const std::string& StickerMessage::_internal_url() const {
- return url_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.url_.Set(value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000001u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.url_.Mutable(GetArenaForAllocation());
}
inline std::string* StickerMessage::release_url() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.url)
if (!_internal_has_url()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.url_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void StickerMessage::set_allocated_url(std::string* url) {
if (url != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArenaForAllocation());
+ _impl_.url_.SetAllocated(url, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.url)
}
// optional bytes fileSha256 = 2;
inline bool StickerMessage::_internal_has_filesha256() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool StickerMessage::has_filesha256() const {
return _internal_has_filesha256();
}
inline void StickerMessage::clear_filesha256() {
- filesha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.filesha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& StickerMessage::filesha256() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.fileSha256)
@@ -37083,8 +38679,8 @@ inline const std::string& StickerMessage::filesha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.filesha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.fileSha256)
}
inline std::string* StickerMessage::mutable_filesha256() {
@@ -37093,46 +38689,56 @@ inline std::string* StickerMessage::mutable_filesha256() {
return _s;
}
inline const std::string& StickerMessage::_internal_filesha256() const {
- return filesha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.filesha256_.Set(value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_filesha256() {
- _has_bits_[0] |= 0x00000002u;
- return filesha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.filesha256_.Mutable(GetArenaForAllocation());
}
inline std::string* StickerMessage::release_filesha256() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.fileSha256)
if (!_internal_has_filesha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return filesha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.filesha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void StickerMessage::set_allocated_filesha256(std::string* filesha256) {
if (filesha256 != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- filesha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), filesha256,
- GetArenaForAllocation());
+ _impl_.filesha256_.SetAllocated(filesha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.filesha256_.IsDefault()) {
+ _impl_.filesha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.fileSha256)
}
// optional bytes fileEncSha256 = 3;
inline bool StickerMessage::_internal_has_fileencsha256() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool StickerMessage::has_fileencsha256() const {
return _internal_has_fileencsha256();
}
inline void StickerMessage::clear_fileencsha256() {
- fileencsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.fileencsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& StickerMessage::fileencsha256() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.fileEncSha256)
@@ -37141,8 +38747,8 @@ inline const std::string& StickerMessage::fileencsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.fileencsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.fileEncSha256)
}
inline std::string* StickerMessage::mutable_fileencsha256() {
@@ -37151,46 +38757,56 @@ inline std::string* StickerMessage::mutable_fileencsha256() {
return _s;
}
inline const std::string& StickerMessage::_internal_fileencsha256() const {
- return fileencsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.fileencsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_fileencsha256() {
- _has_bits_[0] |= 0x00000004u;
- return fileencsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.fileencsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* StickerMessage::release_fileencsha256() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.fileEncSha256)
if (!_internal_has_fileencsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return fileencsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.fileencsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void StickerMessage::set_allocated_fileencsha256(std::string* fileencsha256) {
if (fileencsha256 != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.fileencsha256_.SetAllocated(fileencsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.fileencsha256_.IsDefault()) {
+ _impl_.fileencsha256_.Set("", GetArenaForAllocation());
}
- fileencsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fileencsha256,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.fileEncSha256)
}
// optional bytes mediaKey = 4;
inline bool StickerMessage::_internal_has_mediakey() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool StickerMessage::has_mediakey() const {
return _internal_has_mediakey();
}
inline void StickerMessage::clear_mediakey() {
- mediakey_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.mediakey_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& StickerMessage::mediakey() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.mediaKey)
@@ -37199,8 +38815,8 @@ inline const std::string& StickerMessage::mediakey() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediakey_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.mediaKey)
}
inline std::string* StickerMessage::mutable_mediakey() {
@@ -37209,46 +38825,56 @@ inline std::string* StickerMessage::mutable_mediakey() {
return _s;
}
inline const std::string& StickerMessage::_internal_mediakey() const {
- return mediakey_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.mediakey_.Set(value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_mediakey() {
- _has_bits_[0] |= 0x00000008u;
- return mediakey_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.mediakey_.Mutable(GetArenaForAllocation());
}
inline std::string* StickerMessage::release_mediakey() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.mediaKey)
if (!_internal_has_mediakey()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return mediakey_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.mediakey_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void StickerMessage::set_allocated_mediakey(std::string* mediakey) {
if (mediakey != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.mediakey_.SetAllocated(mediakey, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediakey_.IsDefault()) {
+ _impl_.mediakey_.Set("", GetArenaForAllocation());
}
- mediakey_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediakey,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.mediaKey)
}
// optional string mimetype = 5;
inline bool StickerMessage::_internal_has_mimetype() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool StickerMessage::has_mimetype() const {
return _internal_has_mimetype();
}
inline void StickerMessage::clear_mimetype() {
- mimetype_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.mimetype_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& StickerMessage::mimetype() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.mimetype)
@@ -37257,8 +38883,8 @@ inline const std::string& StickerMessage::mimetype() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.mimetype_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.mimetype)
}
inline std::string* StickerMessage::mutable_mimetype() {
@@ -37267,102 +38893,112 @@ inline std::string* StickerMessage::mutable_mimetype() {
return _s;
}
inline const std::string& StickerMessage::_internal_mimetype() const {
- return mimetype_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.mimetype_.Set(value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_mimetype() {
- _has_bits_[0] |= 0x00000010u;
- return mimetype_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.mimetype_.Mutable(GetArenaForAllocation());
}
inline std::string* StickerMessage::release_mimetype() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.mimetype)
if (!_internal_has_mimetype()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return mimetype_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.mimetype_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void StickerMessage::set_allocated_mimetype(std::string* mimetype) {
if (mimetype != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ }
+ _impl_.mimetype_.SetAllocated(mimetype, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mimetype_.IsDefault()) {
+ _impl_.mimetype_.Set("", GetArenaForAllocation());
}
- mimetype_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mimetype,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.mimetype)
}
// optional uint32 height = 6;
inline bool StickerMessage::_internal_has_height() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool StickerMessage::has_height() const {
return _internal_has_height();
}
inline void StickerMessage::clear_height() {
- height_ = 0u;
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.height_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 StickerMessage::_internal_height() const {
- return height_;
+inline uint32_t StickerMessage::_internal_height() const {
+ return _impl_.height_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 StickerMessage::height() const {
+inline uint32_t StickerMessage::height() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.height)
return _internal_height();
}
-inline void StickerMessage::_internal_set_height(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000200u;
- height_ = value;
+inline void StickerMessage::_internal_set_height(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.height_ = value;
}
-inline void StickerMessage::set_height(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void StickerMessage::set_height(uint32_t value) {
_internal_set_height(value);
// @@protoc_insertion_point(field_set:proto.StickerMessage.height)
}
// optional uint32 width = 7;
inline bool StickerMessage::_internal_has_width() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool StickerMessage::has_width() const {
return _internal_has_width();
}
inline void StickerMessage::clear_width() {
- width_ = 0u;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.width_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 StickerMessage::_internal_width() const {
- return width_;
+inline uint32_t StickerMessage::_internal_width() const {
+ return _impl_.width_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 StickerMessage::width() const {
+inline uint32_t StickerMessage::width() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.width)
return _internal_width();
}
-inline void StickerMessage::_internal_set_width(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000400u;
- width_ = value;
+inline void StickerMessage::_internal_set_width(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.width_ = value;
}
-inline void StickerMessage::set_width(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void StickerMessage::set_width(uint32_t value) {
_internal_set_width(value);
// @@protoc_insertion_point(field_set:proto.StickerMessage.width)
}
// optional string directPath = 8;
inline bool StickerMessage::_internal_has_directpath() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool StickerMessage::has_directpath() const {
return _internal_has_directpath();
}
inline void StickerMessage::clear_directpath() {
- directpath_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.directpath_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& StickerMessage::directpath() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.directPath)
@@ -37371,8 +39007,8 @@ inline const std::string& StickerMessage::directpath() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.directpath_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.directPath)
}
inline std::string* StickerMessage::mutable_directpath() {
@@ -37381,130 +39017,140 @@ inline std::string* StickerMessage::mutable_directpath() {
return _s;
}
inline const std::string& StickerMessage::_internal_directpath() const {
- return directpath_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.directpath_.Set(value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_directpath() {
- _has_bits_[0] |= 0x00000020u;
- return directpath_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.directpath_.Mutable(GetArenaForAllocation());
}
inline std::string* StickerMessage::release_directpath() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.directPath)
if (!_internal_has_directpath()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return directpath_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.directpath_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void StickerMessage::set_allocated_directpath(std::string* directpath) {
if (directpath != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ }
+ _impl_.directpath_.SetAllocated(directpath, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.directpath_.IsDefault()) {
+ _impl_.directpath_.Set("", GetArenaForAllocation());
}
- directpath_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directpath,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.directPath)
}
// optional uint64 fileLength = 9;
inline bool StickerMessage::_internal_has_filelength() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool StickerMessage::has_filelength() const {
return _internal_has_filelength();
}
inline void StickerMessage::clear_filelength() {
- filelength_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.filelength_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 StickerMessage::_internal_filelength() const {
- return filelength_;
+inline uint64_t StickerMessage::_internal_filelength() const {
+ return _impl_.filelength_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 StickerMessage::filelength() const {
+inline uint64_t StickerMessage::filelength() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.fileLength)
return _internal_filelength();
}
-inline void StickerMessage::_internal_set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000800u;
- filelength_ = value;
+inline void StickerMessage::_internal_set_filelength(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.filelength_ = value;
}
-inline void StickerMessage::set_filelength(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void StickerMessage::set_filelength(uint64_t value) {
_internal_set_filelength(value);
// @@protoc_insertion_point(field_set:proto.StickerMessage.fileLength)
}
// optional int64 mediaKeyTimestamp = 10;
inline bool StickerMessage::_internal_has_mediakeytimestamp() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
return value;
}
inline bool StickerMessage::has_mediakeytimestamp() const {
return _internal_has_mediakeytimestamp();
}
inline void StickerMessage::clear_mediakeytimestamp() {
- mediakeytimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00001000u;
+ _impl_.mediakeytimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 StickerMessage::_internal_mediakeytimestamp() const {
- return mediakeytimestamp_;
+inline int64_t StickerMessage::_internal_mediakeytimestamp() const {
+ return _impl_.mediakeytimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 StickerMessage::mediakeytimestamp() const {
+inline int64_t StickerMessage::mediakeytimestamp() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.mediaKeyTimestamp)
return _internal_mediakeytimestamp();
}
-inline void StickerMessage::_internal_set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00001000u;
- mediakeytimestamp_ = value;
+inline void StickerMessage::_internal_set_mediakeytimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00001000u;
+ _impl_.mediakeytimestamp_ = value;
}
-inline void StickerMessage::set_mediakeytimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void StickerMessage::set_mediakeytimestamp(int64_t value) {
_internal_set_mediakeytimestamp(value);
// @@protoc_insertion_point(field_set:proto.StickerMessage.mediaKeyTimestamp)
}
// optional uint32 firstFrameLength = 11;
inline bool StickerMessage::_internal_has_firstframelength() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool StickerMessage::has_firstframelength() const {
return _internal_has_firstframelength();
}
inline void StickerMessage::clear_firstframelength() {
- firstframelength_ = 0u;
- _has_bits_[0] &= ~0x00002000u;
+ _impl_.firstframelength_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 StickerMessage::_internal_firstframelength() const {
- return firstframelength_;
+inline uint32_t StickerMessage::_internal_firstframelength() const {
+ return _impl_.firstframelength_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 StickerMessage::firstframelength() const {
+inline uint32_t StickerMessage::firstframelength() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.firstFrameLength)
return _internal_firstframelength();
}
-inline void StickerMessage::_internal_set_firstframelength(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00002000u;
- firstframelength_ = value;
+inline void StickerMessage::_internal_set_firstframelength(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00002000u;
+ _impl_.firstframelength_ = value;
}
-inline void StickerMessage::set_firstframelength(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void StickerMessage::set_firstframelength(uint32_t value) {
_internal_set_firstframelength(value);
// @@protoc_insertion_point(field_set:proto.StickerMessage.firstFrameLength)
}
// optional bytes firstFrameSidecar = 12;
inline bool StickerMessage::_internal_has_firstframesidecar() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool StickerMessage::has_firstframesidecar() const {
return _internal_has_firstframesidecar();
}
inline void StickerMessage::clear_firstframesidecar() {
- firstframesidecar_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.firstframesidecar_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& StickerMessage::firstframesidecar() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.firstFrameSidecar)
@@ -37513,8 +39159,8 @@ inline const std::string& StickerMessage::firstframesidecar() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.firstframesidecar_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.firstFrameSidecar)
}
inline std::string* StickerMessage::mutable_firstframesidecar() {
@@ -37523,57 +39169,67 @@ inline std::string* StickerMessage::mutable_firstframesidecar() {
return _s;
}
inline const std::string& StickerMessage::_internal_firstframesidecar() const {
- return firstframesidecar_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.firstframesidecar_.Set(value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_firstframesidecar() {
- _has_bits_[0] |= 0x00000040u;
- return firstframesidecar_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.firstframesidecar_.Mutable(GetArenaForAllocation());
}
inline std::string* StickerMessage::release_firstframesidecar() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.firstFrameSidecar)
if (!_internal_has_firstframesidecar()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return firstframesidecar_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.firstframesidecar_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.firstframesidecar_.IsDefault()) {
+ _impl_.firstframesidecar_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void StickerMessage::set_allocated_firstframesidecar(std::string* firstframesidecar) {
if (firstframesidecar != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- firstframesidecar_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), firstframesidecar,
- GetArenaForAllocation());
+ _impl_.firstframesidecar_.SetAllocated(firstframesidecar, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.firstframesidecar_.IsDefault()) {
+ _impl_.firstframesidecar_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.firstFrameSidecar)
}
// optional bool isAnimated = 13;
inline bool StickerMessage::_internal_has_isanimated() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool StickerMessage::has_isanimated() const {
return _internal_has_isanimated();
}
inline void StickerMessage::clear_isanimated() {
- isanimated_ = false;
- _has_bits_[0] &= ~0x00004000u;
+ _impl_.isanimated_ = false;
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
inline bool StickerMessage::_internal_isanimated() const {
- return isanimated_;
+ return _impl_.isanimated_;
}
inline bool StickerMessage::isanimated() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.isAnimated)
return _internal_isanimated();
}
inline void StickerMessage::_internal_set_isanimated(bool value) {
- _has_bits_[0] |= 0x00004000u;
- isanimated_ = value;
+ _impl_._has_bits_[0] |= 0x00004000u;
+ _impl_.isanimated_ = value;
}
inline void StickerMessage::set_isanimated(bool value) {
_internal_set_isanimated(value);
@@ -37582,15 +39238,15 @@ inline void StickerMessage::set_isanimated(bool value) {
// optional bytes pngThumbnail = 16;
inline bool StickerMessage::_internal_has_pngthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool StickerMessage::has_pngthumbnail() const {
return _internal_has_pngthumbnail();
}
inline void StickerMessage::clear_pngthumbnail() {
- pngthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.pngthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const std::string& StickerMessage::pngthumbnail() const {
// @@protoc_insertion_point(field_get:proto.StickerMessage.pngThumbnail)
@@ -37599,8 +39255,8 @@ inline const std::string& StickerMessage::pngthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.pngthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.StickerMessage.pngThumbnail)
}
inline std::string* StickerMessage::mutable_pngthumbnail() {
@@ -37609,50 +39265,60 @@ inline std::string* StickerMessage::mutable_pngthumbnail() {
return _s;
}
inline const std::string& StickerMessage::_internal_pngthumbnail() const {
- return pngthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.pngthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* StickerMessage::_internal_mutable_pngthumbnail() {
- _has_bits_[0] |= 0x00000080u;
- return pngthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000080u;
+ return _impl_.pngthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* StickerMessage::release_pngthumbnail() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.pngThumbnail)
if (!_internal_has_pngthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000080u;
- return pngthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ auto* p = _impl_.pngthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.pngthumbnail_.IsDefault()) {
+ _impl_.pngthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void StickerMessage::set_allocated_pngthumbnail(std::string* pngthumbnail) {
if (pngthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
- pngthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), pngthumbnail,
- GetArenaForAllocation());
+ _impl_.pngthumbnail_.SetAllocated(pngthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.pngthumbnail_.IsDefault()) {
+ _impl_.pngthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.pngThumbnail)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool StickerMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool StickerMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void StickerMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000100u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline const ::proto::ContextInfo& StickerMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -37663,20 +39329,20 @@ inline const ::proto::ContextInfo& StickerMessage::contextinfo() const {
inline void StickerMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.StickerMessage.contextInfo)
}
inline ::proto::ContextInfo* StickerMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000100u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -37690,18 +39356,18 @@ inline ::proto::ContextInfo* StickerMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* StickerMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.StickerMessage.contextInfo)
- _has_bits_[0] &= ~0x00000100u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* StickerMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000100u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* StickerMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -37711,20 +39377,20 @@ inline ::proto::ContextInfo* StickerMessage::mutable_contextinfo() {
inline void StickerMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.StickerMessage.contextInfo)
}
@@ -37734,19 +39400,19 @@ inline void StickerMessage::set_allocated_contextinfo(::proto::ContextInfo* cont
// optional .proto.HighlyStructuredMessage content = 6;
inline bool FourRowTemplate::_internal_has_content() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || content_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.content_ != nullptr);
return value;
}
inline bool FourRowTemplate::has_content() const {
return _internal_has_content();
}
inline void FourRowTemplate::clear_content() {
- if (content_ != nullptr) content_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.content_ != nullptr) _impl_.content_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::HighlyStructuredMessage& FourRowTemplate::_internal_content() const {
- const ::proto::HighlyStructuredMessage* p = content_;
+ const ::proto::HighlyStructuredMessage* p = _impl_.content_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HighlyStructuredMessage&>(
::proto::_HighlyStructuredMessage_default_instance_);
}
@@ -37757,20 +39423,20 @@ inline const ::proto::HighlyStructuredMessage& FourRowTemplate::content() const
inline void FourRowTemplate::unsafe_arena_set_allocated_content(
::proto::HighlyStructuredMessage* content) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(content_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.content_);
}
- content_ = content;
+ _impl_.content_ = content;
if (content) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.FourRowTemplate.content)
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_content() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::HighlyStructuredMessage* temp = content_;
- content_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.content_;
+ _impl_.content_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -37784,18 +39450,18 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_content() {
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::unsafe_arena_release_content() {
// @@protoc_insertion_point(field_release:proto.FourRowTemplate.content)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::HighlyStructuredMessage* temp = content_;
- content_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.content_;
+ _impl_.content_ = nullptr;
return temp;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::_internal_mutable_content() {
- _has_bits_[0] |= 0x00000001u;
- if (content_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.content_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
- content_ = p;
+ _impl_.content_ = p;
}
- return content_;
+ return _impl_.content_;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::mutable_content() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_content();
@@ -37805,38 +39471,38 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::mutable_content() {
inline void FourRowTemplate::set_allocated_content(::proto::HighlyStructuredMessage* content) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete content_;
+ delete _impl_.content_;
}
if (content) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(content);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(content);
if (message_arena != submessage_arena) {
content = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, content, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- content_ = content;
+ _impl_.content_ = content;
// @@protoc_insertion_point(field_set_allocated:proto.FourRowTemplate.content)
}
// optional .proto.HighlyStructuredMessage footer = 7;
inline bool FourRowTemplate::_internal_has_footer() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || footer_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.footer_ != nullptr);
return value;
}
inline bool FourRowTemplate::has_footer() const {
return _internal_has_footer();
}
inline void FourRowTemplate::clear_footer() {
- if (footer_ != nullptr) footer_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.footer_ != nullptr) _impl_.footer_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::HighlyStructuredMessage& FourRowTemplate::_internal_footer() const {
- const ::proto::HighlyStructuredMessage* p = footer_;
+ const ::proto::HighlyStructuredMessage* p = _impl_.footer_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HighlyStructuredMessage&>(
::proto::_HighlyStructuredMessage_default_instance_);
}
@@ -37847,20 +39513,20 @@ inline const ::proto::HighlyStructuredMessage& FourRowTemplate::footer() const {
inline void FourRowTemplate::unsafe_arena_set_allocated_footer(
::proto::HighlyStructuredMessage* footer) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(footer_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.footer_);
}
- footer_ = footer;
+ _impl_.footer_ = footer;
if (footer) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.FourRowTemplate.footer)
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_footer() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HighlyStructuredMessage* temp = footer_;
- footer_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.footer_;
+ _impl_.footer_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -37874,18 +39540,18 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_footer() {
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::unsafe_arena_release_footer() {
// @@protoc_insertion_point(field_release:proto.FourRowTemplate.footer)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HighlyStructuredMessage* temp = footer_;
- footer_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.footer_;
+ _impl_.footer_ = nullptr;
return temp;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::_internal_mutable_footer() {
- _has_bits_[0] |= 0x00000002u;
- if (footer_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.footer_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
- footer_ = p;
+ _impl_.footer_ = p;
}
- return footer_;
+ return _impl_.footer_;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::mutable_footer() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_footer();
@@ -37895,51 +39561,51 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::mutable_footer() {
inline void FourRowTemplate::set_allocated_footer(::proto::HighlyStructuredMessage* footer) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete footer_;
+ delete _impl_.footer_;
}
if (footer) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(footer);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(footer);
if (message_arena != submessage_arena) {
footer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, footer, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- footer_ = footer;
+ _impl_.footer_ = footer;
// @@protoc_insertion_point(field_set_allocated:proto.FourRowTemplate.footer)
}
// repeated .proto.TemplateButton buttons = 8;
inline int FourRowTemplate::_internal_buttons_size() const {
- return buttons_.size();
+ return _impl_.buttons_.size();
}
inline int FourRowTemplate::buttons_size() const {
return _internal_buttons_size();
}
inline void FourRowTemplate::clear_buttons() {
- buttons_.Clear();
+ _impl_.buttons_.Clear();
}
inline ::proto::TemplateButton* FourRowTemplate::mutable_buttons(int index) {
// @@protoc_insertion_point(field_mutable:proto.FourRowTemplate.buttons)
- return buttons_.Mutable(index);
+ return _impl_.buttons_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::TemplateButton >*
FourRowTemplate::mutable_buttons() {
// @@protoc_insertion_point(field_mutable_list:proto.FourRowTemplate.buttons)
- return &buttons_;
+ return &_impl_.buttons_;
}
inline const ::proto::TemplateButton& FourRowTemplate::_internal_buttons(int index) const {
- return buttons_.Get(index);
+ return _impl_.buttons_.Get(index);
}
inline const ::proto::TemplateButton& FourRowTemplate::buttons(int index) const {
// @@protoc_insertion_point(field_get:proto.FourRowTemplate.buttons)
return _internal_buttons(index);
}
inline ::proto::TemplateButton* FourRowTemplate::_internal_add_buttons() {
- return buttons_.Add();
+ return _impl_.buttons_.Add();
}
inline ::proto::TemplateButton* FourRowTemplate::add_buttons() {
::proto::TemplateButton* _add = _internal_add_buttons();
@@ -37949,7 +39615,7 @@ inline ::proto::TemplateButton* FourRowTemplate::add_buttons() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::TemplateButton >&
FourRowTemplate::buttons() const {
// @@protoc_insertion_point(field_list:proto.FourRowTemplate.buttons)
- return buttons_;
+ return _impl_.buttons_;
}
// .proto.DocumentMessage documentMessage = 1;
@@ -37960,12 +39626,12 @@ inline bool FourRowTemplate::has_documentmessage() const {
return _internal_has_documentmessage();
}
inline void FourRowTemplate::set_has_documentmessage() {
- _oneof_case_[0] = kDocumentMessage;
+ _impl_._oneof_case_[0] = kDocumentMessage;
}
inline void FourRowTemplate::clear_documentmessage() {
if (_internal_has_documentmessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.documentmessage_;
+ delete _impl_.title_.documentmessage_;
}
clear_has_title();
}
@@ -37974,11 +39640,11 @@ inline ::proto::DocumentMessage* FourRowTemplate::release_documentmessage() {
// @@protoc_insertion_point(field_release:proto.FourRowTemplate.documentMessage)
if (_internal_has_documentmessage()) {
clear_has_title();
- ::proto::DocumentMessage* temp = title_.documentmessage_;
+ ::proto::DocumentMessage* temp = _impl_.title_.documentmessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.documentmessage_ = nullptr;
+ _impl_.title_.documentmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -37986,7 +39652,7 @@ inline ::proto::DocumentMessage* FourRowTemplate::release_documentmessage() {
}
inline const ::proto::DocumentMessage& FourRowTemplate::_internal_documentmessage() const {
return _internal_has_documentmessage()
- ? *title_.documentmessage_
+ ? *_impl_.title_.documentmessage_
: reinterpret_cast< ::proto::DocumentMessage&>(::proto::_DocumentMessage_default_instance_);
}
inline const ::proto::DocumentMessage& FourRowTemplate::documentmessage() const {
@@ -37997,8 +39663,8 @@ inline ::proto::DocumentMessage* FourRowTemplate::unsafe_arena_release_documentm
// @@protoc_insertion_point(field_unsafe_arena_release:proto.FourRowTemplate.documentMessage)
if (_internal_has_documentmessage()) {
clear_has_title();
- ::proto::DocumentMessage* temp = title_.documentmessage_;
- title_.documentmessage_ = nullptr;
+ ::proto::DocumentMessage* temp = _impl_.title_.documentmessage_;
+ _impl_.title_.documentmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38008,7 +39674,7 @@ inline void FourRowTemplate::unsafe_arena_set_allocated_documentmessage(::proto:
clear_title();
if (documentmessage) {
set_has_documentmessage();
- title_.documentmessage_ = documentmessage;
+ _impl_.title_.documentmessage_ = documentmessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.FourRowTemplate.documentMessage)
}
@@ -38016,9 +39682,9 @@ inline ::proto::DocumentMessage* FourRowTemplate::_internal_mutable_documentmess
if (!_internal_has_documentmessage()) {
clear_title();
set_has_documentmessage();
- title_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
+ _impl_.title_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
}
- return title_.documentmessage_;
+ return _impl_.title_.documentmessage_;
}
inline ::proto::DocumentMessage* FourRowTemplate::mutable_documentmessage() {
::proto::DocumentMessage* _msg = _internal_mutable_documentmessage();
@@ -38034,12 +39700,12 @@ inline bool FourRowTemplate::has_highlystructuredmessage() const {
return _internal_has_highlystructuredmessage();
}
inline void FourRowTemplate::set_has_highlystructuredmessage() {
- _oneof_case_[0] = kHighlyStructuredMessage;
+ _impl_._oneof_case_[0] = kHighlyStructuredMessage;
}
inline void FourRowTemplate::clear_highlystructuredmessage() {
if (_internal_has_highlystructuredmessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.highlystructuredmessage_;
+ delete _impl_.title_.highlystructuredmessage_;
}
clear_has_title();
}
@@ -38048,11 +39714,11 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_highlystructur
// @@protoc_insertion_point(field_release:proto.FourRowTemplate.highlyStructuredMessage)
if (_internal_has_highlystructuredmessage()) {
clear_has_title();
- ::proto::HighlyStructuredMessage* temp = title_.highlystructuredmessage_;
+ ::proto::HighlyStructuredMessage* temp = _impl_.title_.highlystructuredmessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.highlystructuredmessage_ = nullptr;
+ _impl_.title_.highlystructuredmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38060,7 +39726,7 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::release_highlystructur
}
inline const ::proto::HighlyStructuredMessage& FourRowTemplate::_internal_highlystructuredmessage() const {
return _internal_has_highlystructuredmessage()
- ? *title_.highlystructuredmessage_
+ ? *_impl_.title_.highlystructuredmessage_
: reinterpret_cast< ::proto::HighlyStructuredMessage&>(::proto::_HighlyStructuredMessage_default_instance_);
}
inline const ::proto::HighlyStructuredMessage& FourRowTemplate::highlystructuredmessage() const {
@@ -38071,8 +39737,8 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::unsafe_arena_release_h
// @@protoc_insertion_point(field_unsafe_arena_release:proto.FourRowTemplate.highlyStructuredMessage)
if (_internal_has_highlystructuredmessage()) {
clear_has_title();
- ::proto::HighlyStructuredMessage* temp = title_.highlystructuredmessage_;
- title_.highlystructuredmessage_ = nullptr;
+ ::proto::HighlyStructuredMessage* temp = _impl_.title_.highlystructuredmessage_;
+ _impl_.title_.highlystructuredmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38082,7 +39748,7 @@ inline void FourRowTemplate::unsafe_arena_set_allocated_highlystructuredmessage(
clear_title();
if (highlystructuredmessage) {
set_has_highlystructuredmessage();
- title_.highlystructuredmessage_ = highlystructuredmessage;
+ _impl_.title_.highlystructuredmessage_ = highlystructuredmessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.FourRowTemplate.highlyStructuredMessage)
}
@@ -38090,9 +39756,9 @@ inline ::proto::HighlyStructuredMessage* FourRowTemplate::_internal_mutable_high
if (!_internal_has_highlystructuredmessage()) {
clear_title();
set_has_highlystructuredmessage();
- title_.highlystructuredmessage_ = CreateMaybeMessage< ::proto::HighlyStructuredMessage >(GetArenaForAllocation());
+ _impl_.title_.highlystructuredmessage_ = CreateMaybeMessage< ::proto::HighlyStructuredMessage >(GetArenaForAllocation());
}
- return title_.highlystructuredmessage_;
+ return _impl_.title_.highlystructuredmessage_;
}
inline ::proto::HighlyStructuredMessage* FourRowTemplate::mutable_highlystructuredmessage() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_highlystructuredmessage();
@@ -38108,12 +39774,12 @@ inline bool FourRowTemplate::has_imagemessage() const {
return _internal_has_imagemessage();
}
inline void FourRowTemplate::set_has_imagemessage() {
- _oneof_case_[0] = kImageMessage;
+ _impl_._oneof_case_[0] = kImageMessage;
}
inline void FourRowTemplate::clear_imagemessage() {
if (_internal_has_imagemessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.imagemessage_;
+ delete _impl_.title_.imagemessage_;
}
clear_has_title();
}
@@ -38122,11 +39788,11 @@ inline ::proto::ImageMessage* FourRowTemplate::release_imagemessage() {
// @@protoc_insertion_point(field_release:proto.FourRowTemplate.imageMessage)
if (_internal_has_imagemessage()) {
clear_has_title();
- ::proto::ImageMessage* temp = title_.imagemessage_;
+ ::proto::ImageMessage* temp = _impl_.title_.imagemessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.imagemessage_ = nullptr;
+ _impl_.title_.imagemessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38134,7 +39800,7 @@ inline ::proto::ImageMessage* FourRowTemplate::release_imagemessage() {
}
inline const ::proto::ImageMessage& FourRowTemplate::_internal_imagemessage() const {
return _internal_has_imagemessage()
- ? *title_.imagemessage_
+ ? *_impl_.title_.imagemessage_
: reinterpret_cast< ::proto::ImageMessage&>(::proto::_ImageMessage_default_instance_);
}
inline const ::proto::ImageMessage& FourRowTemplate::imagemessage() const {
@@ -38145,8 +39811,8 @@ inline ::proto::ImageMessage* FourRowTemplate::unsafe_arena_release_imagemessage
// @@protoc_insertion_point(field_unsafe_arena_release:proto.FourRowTemplate.imageMessage)
if (_internal_has_imagemessage()) {
clear_has_title();
- ::proto::ImageMessage* temp = title_.imagemessage_;
- title_.imagemessage_ = nullptr;
+ ::proto::ImageMessage* temp = _impl_.title_.imagemessage_;
+ _impl_.title_.imagemessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38156,7 +39822,7 @@ inline void FourRowTemplate::unsafe_arena_set_allocated_imagemessage(::proto::Im
clear_title();
if (imagemessage) {
set_has_imagemessage();
- title_.imagemessage_ = imagemessage;
+ _impl_.title_.imagemessage_ = imagemessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.FourRowTemplate.imageMessage)
}
@@ -38164,9 +39830,9 @@ inline ::proto::ImageMessage* FourRowTemplate::_internal_mutable_imagemessage()
if (!_internal_has_imagemessage()) {
clear_title();
set_has_imagemessage();
- title_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
+ _impl_.title_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
}
- return title_.imagemessage_;
+ return _impl_.title_.imagemessage_;
}
inline ::proto::ImageMessage* FourRowTemplate::mutable_imagemessage() {
::proto::ImageMessage* _msg = _internal_mutable_imagemessage();
@@ -38182,12 +39848,12 @@ inline bool FourRowTemplate::has_videomessage() const {
return _internal_has_videomessage();
}
inline void FourRowTemplate::set_has_videomessage() {
- _oneof_case_[0] = kVideoMessage;
+ _impl_._oneof_case_[0] = kVideoMessage;
}
inline void FourRowTemplate::clear_videomessage() {
if (_internal_has_videomessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.videomessage_;
+ delete _impl_.title_.videomessage_;
}
clear_has_title();
}
@@ -38196,11 +39862,11 @@ inline ::proto::VideoMessage* FourRowTemplate::release_videomessage() {
// @@protoc_insertion_point(field_release:proto.FourRowTemplate.videoMessage)
if (_internal_has_videomessage()) {
clear_has_title();
- ::proto::VideoMessage* temp = title_.videomessage_;
+ ::proto::VideoMessage* temp = _impl_.title_.videomessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.videomessage_ = nullptr;
+ _impl_.title_.videomessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38208,7 +39874,7 @@ inline ::proto::VideoMessage* FourRowTemplate::release_videomessage() {
}
inline const ::proto::VideoMessage& FourRowTemplate::_internal_videomessage() const {
return _internal_has_videomessage()
- ? *title_.videomessage_
+ ? *_impl_.title_.videomessage_
: reinterpret_cast< ::proto::VideoMessage&>(::proto::_VideoMessage_default_instance_);
}
inline const ::proto::VideoMessage& FourRowTemplate::videomessage() const {
@@ -38219,8 +39885,8 @@ inline ::proto::VideoMessage* FourRowTemplate::unsafe_arena_release_videomessage
// @@protoc_insertion_point(field_unsafe_arena_release:proto.FourRowTemplate.videoMessage)
if (_internal_has_videomessage()) {
clear_has_title();
- ::proto::VideoMessage* temp = title_.videomessage_;
- title_.videomessage_ = nullptr;
+ ::proto::VideoMessage* temp = _impl_.title_.videomessage_;
+ _impl_.title_.videomessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38230,7 +39896,7 @@ inline void FourRowTemplate::unsafe_arena_set_allocated_videomessage(::proto::Vi
clear_title();
if (videomessage) {
set_has_videomessage();
- title_.videomessage_ = videomessage;
+ _impl_.title_.videomessage_ = videomessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.FourRowTemplate.videoMessage)
}
@@ -38238,9 +39904,9 @@ inline ::proto::VideoMessage* FourRowTemplate::_internal_mutable_videomessage()
if (!_internal_has_videomessage()) {
clear_title();
set_has_videomessage();
- title_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
+ _impl_.title_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
}
- return title_.videomessage_;
+ return _impl_.title_.videomessage_;
}
inline ::proto::VideoMessage* FourRowTemplate::mutable_videomessage() {
::proto::VideoMessage* _msg = _internal_mutable_videomessage();
@@ -38256,12 +39922,12 @@ inline bool FourRowTemplate::has_locationmessage() const {
return _internal_has_locationmessage();
}
inline void FourRowTemplate::set_has_locationmessage() {
- _oneof_case_[0] = kLocationMessage;
+ _impl_._oneof_case_[0] = kLocationMessage;
}
inline void FourRowTemplate::clear_locationmessage() {
if (_internal_has_locationmessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.locationmessage_;
+ delete _impl_.title_.locationmessage_;
}
clear_has_title();
}
@@ -38270,11 +39936,11 @@ inline ::proto::LocationMessage* FourRowTemplate::release_locationmessage() {
// @@protoc_insertion_point(field_release:proto.FourRowTemplate.locationMessage)
if (_internal_has_locationmessage()) {
clear_has_title();
- ::proto::LocationMessage* temp = title_.locationmessage_;
+ ::proto::LocationMessage* temp = _impl_.title_.locationmessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.locationmessage_ = nullptr;
+ _impl_.title_.locationmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38282,7 +39948,7 @@ inline ::proto::LocationMessage* FourRowTemplate::release_locationmessage() {
}
inline const ::proto::LocationMessage& FourRowTemplate::_internal_locationmessage() const {
return _internal_has_locationmessage()
- ? *title_.locationmessage_
+ ? *_impl_.title_.locationmessage_
: reinterpret_cast< ::proto::LocationMessage&>(::proto::_LocationMessage_default_instance_);
}
inline const ::proto::LocationMessage& FourRowTemplate::locationmessage() const {
@@ -38293,8 +39959,8 @@ inline ::proto::LocationMessage* FourRowTemplate::unsafe_arena_release_locationm
// @@protoc_insertion_point(field_unsafe_arena_release:proto.FourRowTemplate.locationMessage)
if (_internal_has_locationmessage()) {
clear_has_title();
- ::proto::LocationMessage* temp = title_.locationmessage_;
- title_.locationmessage_ = nullptr;
+ ::proto::LocationMessage* temp = _impl_.title_.locationmessage_;
+ _impl_.title_.locationmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38304,7 +39970,7 @@ inline void FourRowTemplate::unsafe_arena_set_allocated_locationmessage(::proto:
clear_title();
if (locationmessage) {
set_has_locationmessage();
- title_.locationmessage_ = locationmessage;
+ _impl_.title_.locationmessage_ = locationmessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.FourRowTemplate.locationMessage)
}
@@ -38312,9 +39978,9 @@ inline ::proto::LocationMessage* FourRowTemplate::_internal_mutable_locationmess
if (!_internal_has_locationmessage()) {
clear_title();
set_has_locationmessage();
- title_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
+ _impl_.title_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
}
- return title_.locationmessage_;
+ return _impl_.title_.locationmessage_;
}
inline ::proto::LocationMessage* FourRowTemplate::mutable_locationmessage() {
::proto::LocationMessage* _msg = _internal_mutable_locationmessage();
@@ -38326,10 +39992,10 @@ inline bool FourRowTemplate::has_title() const {
return title_case() != TITLE_NOT_SET;
}
inline void FourRowTemplate::clear_has_title() {
- _oneof_case_[0] = TITLE_NOT_SET;
+ _impl_._oneof_case_[0] = TITLE_NOT_SET;
}
inline FourRowTemplate::TitleCase FourRowTemplate::title_case() const {
- return FourRowTemplate::TitleCase(_oneof_case_[0]);
+ return FourRowTemplate::TitleCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -38337,15 +40003,15 @@ inline FourRowTemplate::TitleCase FourRowTemplate::title_case() const {
// optional string hydratedContentText = 6;
inline bool HydratedFourRowTemplate::_internal_has_hydratedcontenttext() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool HydratedFourRowTemplate::has_hydratedcontenttext() const {
return _internal_has_hydratedcontenttext();
}
inline void HydratedFourRowTemplate::clear_hydratedcontenttext() {
- hydratedcontenttext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.hydratedcontenttext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& HydratedFourRowTemplate::hydratedcontenttext() const {
// @@protoc_insertion_point(field_get:proto.HydratedFourRowTemplate.hydratedContentText)
@@ -38354,8 +40020,8 @@ inline const std::string& HydratedFourRowTemplate::hydratedcontenttext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.hydratedcontenttext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.hydratedContentText)
}
inline std::string* HydratedFourRowTemplate::mutable_hydratedcontenttext() {
@@ -38364,46 +40030,56 @@ inline std::string* HydratedFourRowTemplate::mutable_hydratedcontenttext() {
return _s;
}
inline const std::string& HydratedFourRowTemplate::_internal_hydratedcontenttext() const {
- return hydratedcontenttext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.hydratedcontenttext_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::_internal_mutable_hydratedcontenttext() {
- _has_bits_[0] |= 0x00000001u;
- return hydratedcontenttext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.hydratedcontenttext_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::release_hydratedcontenttext() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.hydratedContentText)
if (!_internal_has_hydratedcontenttext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return hydratedcontenttext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.hydratedcontenttext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.hydratedcontenttext_.IsDefault()) {
+ _impl_.hydratedcontenttext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedFourRowTemplate::set_allocated_hydratedcontenttext(std::string* hydratedcontenttext) {
if (hydratedcontenttext != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- hydratedcontenttext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), hydratedcontenttext,
- GetArenaForAllocation());
+ _impl_.hydratedcontenttext_.SetAllocated(hydratedcontenttext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.hydratedcontenttext_.IsDefault()) {
+ _impl_.hydratedcontenttext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.hydratedContentText)
}
// optional string hydratedFooterText = 7;
inline bool HydratedFourRowTemplate::_internal_has_hydratedfootertext() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool HydratedFourRowTemplate::has_hydratedfootertext() const {
return _internal_has_hydratedfootertext();
}
inline void HydratedFourRowTemplate::clear_hydratedfootertext() {
- hydratedfootertext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.hydratedfootertext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& HydratedFourRowTemplate::hydratedfootertext() const {
// @@protoc_insertion_point(field_get:proto.HydratedFourRowTemplate.hydratedFooterText)
@@ -38412,8 +40088,8 @@ inline const std::string& HydratedFourRowTemplate::hydratedfootertext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.hydratedfootertext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.hydratedFooterText)
}
inline std::string* HydratedFourRowTemplate::mutable_hydratedfootertext() {
@@ -38422,63 +40098,73 @@ inline std::string* HydratedFourRowTemplate::mutable_hydratedfootertext() {
return _s;
}
inline const std::string& HydratedFourRowTemplate::_internal_hydratedfootertext() const {
- return hydratedfootertext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.hydratedfootertext_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::_internal_mutable_hydratedfootertext() {
- _has_bits_[0] |= 0x00000002u;
- return hydratedfootertext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.hydratedfootertext_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::release_hydratedfootertext() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.hydratedFooterText)
if (!_internal_has_hydratedfootertext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return hydratedfootertext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.hydratedfootertext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.hydratedfootertext_.IsDefault()) {
+ _impl_.hydratedfootertext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedFourRowTemplate::set_allocated_hydratedfootertext(std::string* hydratedfootertext) {
if (hydratedfootertext != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- hydratedfootertext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), hydratedfootertext,
- GetArenaForAllocation());
+ _impl_.hydratedfootertext_.SetAllocated(hydratedfootertext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.hydratedfootertext_.IsDefault()) {
+ _impl_.hydratedfootertext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.hydratedFooterText)
}
// repeated .proto.HydratedTemplateButton hydratedButtons = 8;
inline int HydratedFourRowTemplate::_internal_hydratedbuttons_size() const {
- return hydratedbuttons_.size();
+ return _impl_.hydratedbuttons_.size();
}
inline int HydratedFourRowTemplate::hydratedbuttons_size() const {
return _internal_hydratedbuttons_size();
}
inline void HydratedFourRowTemplate::clear_hydratedbuttons() {
- hydratedbuttons_.Clear();
+ _impl_.hydratedbuttons_.Clear();
}
inline ::proto::HydratedTemplateButton* HydratedFourRowTemplate::mutable_hydratedbuttons(int index) {
// @@protoc_insertion_point(field_mutable:proto.HydratedFourRowTemplate.hydratedButtons)
- return hydratedbuttons_.Mutable(index);
+ return _impl_.hydratedbuttons_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HydratedTemplateButton >*
HydratedFourRowTemplate::mutable_hydratedbuttons() {
// @@protoc_insertion_point(field_mutable_list:proto.HydratedFourRowTemplate.hydratedButtons)
- return &hydratedbuttons_;
+ return &_impl_.hydratedbuttons_;
}
inline const ::proto::HydratedTemplateButton& HydratedFourRowTemplate::_internal_hydratedbuttons(int index) const {
- return hydratedbuttons_.Get(index);
+ return _impl_.hydratedbuttons_.Get(index);
}
inline const ::proto::HydratedTemplateButton& HydratedFourRowTemplate::hydratedbuttons(int index) const {
// @@protoc_insertion_point(field_get:proto.HydratedFourRowTemplate.hydratedButtons)
return _internal_hydratedbuttons(index);
}
inline ::proto::HydratedTemplateButton* HydratedFourRowTemplate::_internal_add_hydratedbuttons() {
- return hydratedbuttons_.Add();
+ return _impl_.hydratedbuttons_.Add();
}
inline ::proto::HydratedTemplateButton* HydratedFourRowTemplate::add_hydratedbuttons() {
::proto::HydratedTemplateButton* _add = _internal_add_hydratedbuttons();
@@ -38488,20 +40174,20 @@ inline ::proto::HydratedTemplateButton* HydratedFourRowTemplate::add_hydratedbut
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::HydratedTemplateButton >&
HydratedFourRowTemplate::hydratedbuttons() const {
// @@protoc_insertion_point(field_list:proto.HydratedFourRowTemplate.hydratedButtons)
- return hydratedbuttons_;
+ return _impl_.hydratedbuttons_;
}
// optional string templateId = 9;
inline bool HydratedFourRowTemplate::_internal_has_templateid() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool HydratedFourRowTemplate::has_templateid() const {
return _internal_has_templateid();
}
inline void HydratedFourRowTemplate::clear_templateid() {
- templateid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.templateid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& HydratedFourRowTemplate::templateid() const {
// @@protoc_insertion_point(field_get:proto.HydratedFourRowTemplate.templateId)
@@ -38510,8 +40196,8 @@ inline const std::string& HydratedFourRowTemplate::templateid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.templateid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.templateId)
}
inline std::string* HydratedFourRowTemplate::mutable_templateid() {
@@ -38520,32 +40206,42 @@ inline std::string* HydratedFourRowTemplate::mutable_templateid() {
return _s;
}
inline const std::string& HydratedFourRowTemplate::_internal_templateid() const {
- return templateid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.templateid_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::_internal_mutable_templateid() {
- _has_bits_[0] |= 0x00000004u;
- return templateid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.templateid_.Mutable(GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::release_templateid() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.templateId)
if (!_internal_has_templateid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return templateid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.templateid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.templateid_.IsDefault()) {
+ _impl_.templateid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void HydratedFourRowTemplate::set_allocated_templateid(std::string* templateid) {
if (templateid != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- templateid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), templateid,
- GetArenaForAllocation());
+ _impl_.templateid_.SetAllocated(templateid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.templateid_.IsDefault()) {
+ _impl_.templateid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.templateId)
}
@@ -38557,12 +40253,12 @@ inline bool HydratedFourRowTemplate::has_documentmessage() const {
return _internal_has_documentmessage();
}
inline void HydratedFourRowTemplate::set_has_documentmessage() {
- _oneof_case_[0] = kDocumentMessage;
+ _impl_._oneof_case_[0] = kDocumentMessage;
}
inline void HydratedFourRowTemplate::clear_documentmessage() {
if (_internal_has_documentmessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.documentmessage_;
+ delete _impl_.title_.documentmessage_;
}
clear_has_title();
}
@@ -38571,11 +40267,11 @@ inline ::proto::DocumentMessage* HydratedFourRowTemplate::release_documentmessag
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.documentMessage)
if (_internal_has_documentmessage()) {
clear_has_title();
- ::proto::DocumentMessage* temp = title_.documentmessage_;
+ ::proto::DocumentMessage* temp = _impl_.title_.documentmessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.documentmessage_ = nullptr;
+ _impl_.title_.documentmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38583,7 +40279,7 @@ inline ::proto::DocumentMessage* HydratedFourRowTemplate::release_documentmessag
}
inline const ::proto::DocumentMessage& HydratedFourRowTemplate::_internal_documentmessage() const {
return _internal_has_documentmessage()
- ? *title_.documentmessage_
+ ? *_impl_.title_.documentmessage_
: reinterpret_cast< ::proto::DocumentMessage&>(::proto::_DocumentMessage_default_instance_);
}
inline const ::proto::DocumentMessage& HydratedFourRowTemplate::documentmessage() const {
@@ -38594,8 +40290,8 @@ inline ::proto::DocumentMessage* HydratedFourRowTemplate::unsafe_arena_release_d
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HydratedFourRowTemplate.documentMessage)
if (_internal_has_documentmessage()) {
clear_has_title();
- ::proto::DocumentMessage* temp = title_.documentmessage_;
- title_.documentmessage_ = nullptr;
+ ::proto::DocumentMessage* temp = _impl_.title_.documentmessage_;
+ _impl_.title_.documentmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38605,7 +40301,7 @@ inline void HydratedFourRowTemplate::unsafe_arena_set_allocated_documentmessage(
clear_title();
if (documentmessage) {
set_has_documentmessage();
- title_.documentmessage_ = documentmessage;
+ _impl_.title_.documentmessage_ = documentmessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HydratedFourRowTemplate.documentMessage)
}
@@ -38613,9 +40309,9 @@ inline ::proto::DocumentMessage* HydratedFourRowTemplate::_internal_mutable_docu
if (!_internal_has_documentmessage()) {
clear_title();
set_has_documentmessage();
- title_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
+ _impl_.title_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
}
- return title_.documentmessage_;
+ return _impl_.title_.documentmessage_;
}
inline ::proto::DocumentMessage* HydratedFourRowTemplate::mutable_documentmessage() {
::proto::DocumentMessage* _msg = _internal_mutable_documentmessage();
@@ -38631,11 +40327,11 @@ inline bool HydratedFourRowTemplate::has_hydratedtitletext() const {
return _internal_has_hydratedtitletext();
}
inline void HydratedFourRowTemplate::set_has_hydratedtitletext() {
- _oneof_case_[0] = kHydratedTitleText;
+ _impl_._oneof_case_[0] = kHydratedTitleText;
}
inline void HydratedFourRowTemplate::clear_hydratedtitletext() {
if (_internal_has_hydratedtitletext()) {
- title_.hydratedtitletext_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_.title_.hydratedtitletext_.Destroy();
clear_has_title();
}
}
@@ -38648,9 +40344,9 @@ inline void HydratedFourRowTemplate::set_hydratedtitletext(ArgT0&& arg0, ArgT...
if (!_internal_has_hydratedtitletext()) {
clear_title();
set_has_hydratedtitletext();
- title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.hydratedtitletext_.InitDefault();
}
- title_.hydratedtitletext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
+ _impl_.title_.hydratedtitletext_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.HydratedFourRowTemplate.hydratedTitleText)
}
inline std::string* HydratedFourRowTemplate::mutable_hydratedtitletext() {
@@ -38660,7 +40356,7 @@ inline std::string* HydratedFourRowTemplate::mutable_hydratedtitletext() {
}
inline const std::string& HydratedFourRowTemplate::_internal_hydratedtitletext() const {
if (_internal_has_hydratedtitletext()) {
- return title_.hydratedtitletext_.Get();
+ return _impl_.title_.hydratedtitletext_.Get();
}
return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
}
@@ -38668,24 +40364,23 @@ inline void HydratedFourRowTemplate::_internal_set_hydratedtitletext(const std::
if (!_internal_has_hydratedtitletext()) {
clear_title();
set_has_hydratedtitletext();
- title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.hydratedtitletext_.InitDefault();
}
- title_.hydratedtitletext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
+ _impl_.title_.hydratedtitletext_.Set(value, GetArenaForAllocation());
}
inline std::string* HydratedFourRowTemplate::_internal_mutable_hydratedtitletext() {
if (!_internal_has_hydratedtitletext()) {
clear_title();
set_has_hydratedtitletext();
- title_.hydratedtitletext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.title_.hydratedtitletext_.InitDefault();
}
- return title_.hydratedtitletext_.Mutable(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ return _impl_.title_.hydratedtitletext_.Mutable( 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(), GetArenaForAllocation());
+ return _impl_.title_.hydratedtitletext_.Release();
} else {
return nullptr;
}
@@ -38696,11 +40391,7 @@ inline void HydratedFourRowTemplate::set_allocated_hydratedtitletext(std::string
}
if (hydratedtitletext != nullptr) {
set_has_hydratedtitletext();
- title_.hydratedtitletext_.UnsafeSetDefault(hydratedtitletext);
- ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaForAllocation();
- if (arena != nullptr) {
- arena->Own(hydratedtitletext);
- }
+ _impl_.title_.hydratedtitletext_.InitAllocated(hydratedtitletext, GetArenaForAllocation());
}
// @@protoc_insertion_point(field_set_allocated:proto.HydratedFourRowTemplate.hydratedTitleText)
}
@@ -38713,12 +40404,12 @@ inline bool HydratedFourRowTemplate::has_imagemessage() const {
return _internal_has_imagemessage();
}
inline void HydratedFourRowTemplate::set_has_imagemessage() {
- _oneof_case_[0] = kImageMessage;
+ _impl_._oneof_case_[0] = kImageMessage;
}
inline void HydratedFourRowTemplate::clear_imagemessage() {
if (_internal_has_imagemessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.imagemessage_;
+ delete _impl_.title_.imagemessage_;
}
clear_has_title();
}
@@ -38727,11 +40418,11 @@ inline ::proto::ImageMessage* HydratedFourRowTemplate::release_imagemessage() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.imageMessage)
if (_internal_has_imagemessage()) {
clear_has_title();
- ::proto::ImageMessage* temp = title_.imagemessage_;
+ ::proto::ImageMessage* temp = _impl_.title_.imagemessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.imagemessage_ = nullptr;
+ _impl_.title_.imagemessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38739,7 +40430,7 @@ inline ::proto::ImageMessage* HydratedFourRowTemplate::release_imagemessage() {
}
inline const ::proto::ImageMessage& HydratedFourRowTemplate::_internal_imagemessage() const {
return _internal_has_imagemessage()
- ? *title_.imagemessage_
+ ? *_impl_.title_.imagemessage_
: reinterpret_cast< ::proto::ImageMessage&>(::proto::_ImageMessage_default_instance_);
}
inline const ::proto::ImageMessage& HydratedFourRowTemplate::imagemessage() const {
@@ -38750,8 +40441,8 @@ inline ::proto::ImageMessage* HydratedFourRowTemplate::unsafe_arena_release_imag
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HydratedFourRowTemplate.imageMessage)
if (_internal_has_imagemessage()) {
clear_has_title();
- ::proto::ImageMessage* temp = title_.imagemessage_;
- title_.imagemessage_ = nullptr;
+ ::proto::ImageMessage* temp = _impl_.title_.imagemessage_;
+ _impl_.title_.imagemessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38761,7 +40452,7 @@ inline void HydratedFourRowTemplate::unsafe_arena_set_allocated_imagemessage(::p
clear_title();
if (imagemessage) {
set_has_imagemessage();
- title_.imagemessage_ = imagemessage;
+ _impl_.title_.imagemessage_ = imagemessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HydratedFourRowTemplate.imageMessage)
}
@@ -38769,9 +40460,9 @@ inline ::proto::ImageMessage* HydratedFourRowTemplate::_internal_mutable_imageme
if (!_internal_has_imagemessage()) {
clear_title();
set_has_imagemessage();
- title_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
+ _impl_.title_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
}
- return title_.imagemessage_;
+ return _impl_.title_.imagemessage_;
}
inline ::proto::ImageMessage* HydratedFourRowTemplate::mutable_imagemessage() {
::proto::ImageMessage* _msg = _internal_mutable_imagemessage();
@@ -38787,12 +40478,12 @@ inline bool HydratedFourRowTemplate::has_videomessage() const {
return _internal_has_videomessage();
}
inline void HydratedFourRowTemplate::set_has_videomessage() {
- _oneof_case_[0] = kVideoMessage;
+ _impl_._oneof_case_[0] = kVideoMessage;
}
inline void HydratedFourRowTemplate::clear_videomessage() {
if (_internal_has_videomessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.videomessage_;
+ delete _impl_.title_.videomessage_;
}
clear_has_title();
}
@@ -38801,11 +40492,11 @@ inline ::proto::VideoMessage* HydratedFourRowTemplate::release_videomessage() {
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.videoMessage)
if (_internal_has_videomessage()) {
clear_has_title();
- ::proto::VideoMessage* temp = title_.videomessage_;
+ ::proto::VideoMessage* temp = _impl_.title_.videomessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.videomessage_ = nullptr;
+ _impl_.title_.videomessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38813,7 +40504,7 @@ inline ::proto::VideoMessage* HydratedFourRowTemplate::release_videomessage() {
}
inline const ::proto::VideoMessage& HydratedFourRowTemplate::_internal_videomessage() const {
return _internal_has_videomessage()
- ? *title_.videomessage_
+ ? *_impl_.title_.videomessage_
: reinterpret_cast< ::proto::VideoMessage&>(::proto::_VideoMessage_default_instance_);
}
inline const ::proto::VideoMessage& HydratedFourRowTemplate::videomessage() const {
@@ -38824,8 +40515,8 @@ inline ::proto::VideoMessage* HydratedFourRowTemplate::unsafe_arena_release_vide
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HydratedFourRowTemplate.videoMessage)
if (_internal_has_videomessage()) {
clear_has_title();
- ::proto::VideoMessage* temp = title_.videomessage_;
- title_.videomessage_ = nullptr;
+ ::proto::VideoMessage* temp = _impl_.title_.videomessage_;
+ _impl_.title_.videomessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38835,7 +40526,7 @@ inline void HydratedFourRowTemplate::unsafe_arena_set_allocated_videomessage(::p
clear_title();
if (videomessage) {
set_has_videomessage();
- title_.videomessage_ = videomessage;
+ _impl_.title_.videomessage_ = videomessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HydratedFourRowTemplate.videoMessage)
}
@@ -38843,9 +40534,9 @@ inline ::proto::VideoMessage* HydratedFourRowTemplate::_internal_mutable_videome
if (!_internal_has_videomessage()) {
clear_title();
set_has_videomessage();
- title_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
+ _impl_.title_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
}
- return title_.videomessage_;
+ return _impl_.title_.videomessage_;
}
inline ::proto::VideoMessage* HydratedFourRowTemplate::mutable_videomessage() {
::proto::VideoMessage* _msg = _internal_mutable_videomessage();
@@ -38861,12 +40552,12 @@ inline bool HydratedFourRowTemplate::has_locationmessage() const {
return _internal_has_locationmessage();
}
inline void HydratedFourRowTemplate::set_has_locationmessage() {
- _oneof_case_[0] = kLocationMessage;
+ _impl_._oneof_case_[0] = kLocationMessage;
}
inline void HydratedFourRowTemplate::clear_locationmessage() {
if (_internal_has_locationmessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete title_.locationmessage_;
+ delete _impl_.title_.locationmessage_;
}
clear_has_title();
}
@@ -38875,11 +40566,11 @@ inline ::proto::LocationMessage* HydratedFourRowTemplate::release_locationmessag
// @@protoc_insertion_point(field_release:proto.HydratedFourRowTemplate.locationMessage)
if (_internal_has_locationmessage()) {
clear_has_title();
- ::proto::LocationMessage* temp = title_.locationmessage_;
+ ::proto::LocationMessage* temp = _impl_.title_.locationmessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- title_.locationmessage_ = nullptr;
+ _impl_.title_.locationmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38887,7 +40578,7 @@ inline ::proto::LocationMessage* HydratedFourRowTemplate::release_locationmessag
}
inline const ::proto::LocationMessage& HydratedFourRowTemplate::_internal_locationmessage() const {
return _internal_has_locationmessage()
- ? *title_.locationmessage_
+ ? *_impl_.title_.locationmessage_
: reinterpret_cast< ::proto::LocationMessage&>(::proto::_LocationMessage_default_instance_);
}
inline const ::proto::LocationMessage& HydratedFourRowTemplate::locationmessage() const {
@@ -38898,8 +40589,8 @@ inline ::proto::LocationMessage* HydratedFourRowTemplate::unsafe_arena_release_l
// @@protoc_insertion_point(field_unsafe_arena_release:proto.HydratedFourRowTemplate.locationMessage)
if (_internal_has_locationmessage()) {
clear_has_title();
- ::proto::LocationMessage* temp = title_.locationmessage_;
- title_.locationmessage_ = nullptr;
+ ::proto::LocationMessage* temp = _impl_.title_.locationmessage_;
+ _impl_.title_.locationmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -38909,7 +40600,7 @@ inline void HydratedFourRowTemplate::unsafe_arena_set_allocated_locationmessage(
clear_title();
if (locationmessage) {
set_has_locationmessage();
- title_.locationmessage_ = locationmessage;
+ _impl_.title_.locationmessage_ = locationmessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.HydratedFourRowTemplate.locationMessage)
}
@@ -38917,9 +40608,9 @@ inline ::proto::LocationMessage* HydratedFourRowTemplate::_internal_mutable_loca
if (!_internal_has_locationmessage()) {
clear_title();
set_has_locationmessage();
- title_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
+ _impl_.title_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
}
- return title_.locationmessage_;
+ return _impl_.title_.locationmessage_;
}
inline ::proto::LocationMessage* HydratedFourRowTemplate::mutable_locationmessage() {
::proto::LocationMessage* _msg = _internal_mutable_locationmessage();
@@ -38931,10 +40622,10 @@ inline bool HydratedFourRowTemplate::has_title() const {
return title_case() != TITLE_NOT_SET;
}
inline void HydratedFourRowTemplate::clear_has_title() {
- _oneof_case_[0] = TITLE_NOT_SET;
+ _impl_._oneof_case_[0] = TITLE_NOT_SET;
}
inline HydratedFourRowTemplate::TitleCase HydratedFourRowTemplate::title_case() const {
- return HydratedFourRowTemplate::TitleCase(_oneof_case_[0]);
+ return HydratedFourRowTemplate::TitleCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -38942,19 +40633,19 @@ inline HydratedFourRowTemplate::TitleCase HydratedFourRowTemplate::title_case()
// optional .proto.ContextInfo contextInfo = 3;
inline bool TemplateMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool TemplateMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void TemplateMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::ContextInfo& TemplateMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -38965,20 +40656,20 @@ inline const ::proto::ContextInfo& TemplateMessage::contextinfo() const {
inline void TemplateMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.TemplateMessage.contextInfo)
}
inline ::proto::ContextInfo* TemplateMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -38992,18 +40683,18 @@ inline ::proto::ContextInfo* TemplateMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* TemplateMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.TemplateMessage.contextInfo)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* TemplateMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000001u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* TemplateMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -39013,38 +40704,38 @@ inline ::proto::ContextInfo* TemplateMessage::mutable_contextinfo() {
inline void TemplateMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.TemplateMessage.contextInfo)
}
// optional .proto.HydratedFourRowTemplate hydratedTemplate = 4;
inline bool TemplateMessage::_internal_has_hydratedtemplate() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || hydratedtemplate_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.hydratedtemplate_ != nullptr);
return value;
}
inline bool TemplateMessage::has_hydratedtemplate() const {
return _internal_has_hydratedtemplate();
}
inline void TemplateMessage::clear_hydratedtemplate() {
- if (hydratedtemplate_ != nullptr) hydratedtemplate_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.hydratedtemplate_ != nullptr) _impl_.hydratedtemplate_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::HydratedFourRowTemplate& TemplateMessage::_internal_hydratedtemplate() const {
- const ::proto::HydratedFourRowTemplate* p = hydratedtemplate_;
+ const ::proto::HydratedFourRowTemplate* p = _impl_.hydratedtemplate_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HydratedFourRowTemplate&>(
::proto::_HydratedFourRowTemplate_default_instance_);
}
@@ -39055,20 +40746,20 @@ inline const ::proto::HydratedFourRowTemplate& TemplateMessage::hydratedtemplate
inline void TemplateMessage::unsafe_arena_set_allocated_hydratedtemplate(
::proto::HydratedFourRowTemplate* hydratedtemplate) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hydratedtemplate_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hydratedtemplate_);
}
- hydratedtemplate_ = hydratedtemplate;
+ _impl_.hydratedtemplate_ = hydratedtemplate;
if (hydratedtemplate) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.TemplateMessage.hydratedTemplate)
}
inline ::proto::HydratedFourRowTemplate* TemplateMessage::release_hydratedtemplate() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HydratedFourRowTemplate* temp = hydratedtemplate_;
- hydratedtemplate_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HydratedFourRowTemplate* temp = _impl_.hydratedtemplate_;
+ _impl_.hydratedtemplate_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -39082,18 +40773,18 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::release_hydratedtempla
}
inline ::proto::HydratedFourRowTemplate* TemplateMessage::unsafe_arena_release_hydratedtemplate() {
// @@protoc_insertion_point(field_release:proto.TemplateMessage.hydratedTemplate)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::HydratedFourRowTemplate* temp = hydratedtemplate_;
- hydratedtemplate_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::HydratedFourRowTemplate* temp = _impl_.hydratedtemplate_;
+ _impl_.hydratedtemplate_ = nullptr;
return temp;
}
inline ::proto::HydratedFourRowTemplate* TemplateMessage::_internal_mutable_hydratedtemplate() {
- _has_bits_[0] |= 0x00000002u;
- if (hydratedtemplate_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.hydratedtemplate_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HydratedFourRowTemplate>(GetArenaForAllocation());
- hydratedtemplate_ = p;
+ _impl_.hydratedtemplate_ = p;
}
- return hydratedtemplate_;
+ return _impl_.hydratedtemplate_;
}
inline ::proto::HydratedFourRowTemplate* TemplateMessage::mutable_hydratedtemplate() {
::proto::HydratedFourRowTemplate* _msg = _internal_mutable_hydratedtemplate();
@@ -39103,20 +40794,20 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::mutable_hydratedtempla
inline void TemplateMessage::set_allocated_hydratedtemplate(::proto::HydratedFourRowTemplate* hydratedtemplate) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete hydratedtemplate_;
+ delete _impl_.hydratedtemplate_;
}
if (hydratedtemplate) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HydratedFourRowTemplate>::GetOwningArena(hydratedtemplate);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(hydratedtemplate);
if (message_arena != submessage_arena) {
hydratedtemplate = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, hydratedtemplate, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- hydratedtemplate_ = hydratedtemplate;
+ _impl_.hydratedtemplate_ = hydratedtemplate;
// @@protoc_insertion_point(field_set_allocated:proto.TemplateMessage.hydratedTemplate)
}
@@ -39128,12 +40819,12 @@ inline bool TemplateMessage::has_fourrowtemplate() const {
return _internal_has_fourrowtemplate();
}
inline void TemplateMessage::set_has_fourrowtemplate() {
- _oneof_case_[0] = kFourRowTemplate;
+ _impl_._oneof_case_[0] = kFourRowTemplate;
}
inline void TemplateMessage::clear_fourrowtemplate() {
if (_internal_has_fourrowtemplate()) {
if (GetArenaForAllocation() == nullptr) {
- delete format_.fourrowtemplate_;
+ delete _impl_.format_.fourrowtemplate_;
}
clear_has_format();
}
@@ -39142,11 +40833,11 @@ inline ::proto::FourRowTemplate* TemplateMessage::release_fourrowtemplate() {
// @@protoc_insertion_point(field_release:proto.TemplateMessage.fourRowTemplate)
if (_internal_has_fourrowtemplate()) {
clear_has_format();
- ::proto::FourRowTemplate* temp = format_.fourrowtemplate_;
+ ::proto::FourRowTemplate* temp = _impl_.format_.fourrowtemplate_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- format_.fourrowtemplate_ = nullptr;
+ _impl_.format_.fourrowtemplate_ = nullptr;
return temp;
} else {
return nullptr;
@@ -39154,7 +40845,7 @@ inline ::proto::FourRowTemplate* TemplateMessage::release_fourrowtemplate() {
}
inline const ::proto::FourRowTemplate& TemplateMessage::_internal_fourrowtemplate() const {
return _internal_has_fourrowtemplate()
- ? *format_.fourrowtemplate_
+ ? *_impl_.format_.fourrowtemplate_
: reinterpret_cast< ::proto::FourRowTemplate&>(::proto::_FourRowTemplate_default_instance_);
}
inline const ::proto::FourRowTemplate& TemplateMessage::fourrowtemplate() const {
@@ -39165,8 +40856,8 @@ inline ::proto::FourRowTemplate* TemplateMessage::unsafe_arena_release_fourrowte
// @@protoc_insertion_point(field_unsafe_arena_release:proto.TemplateMessage.fourRowTemplate)
if (_internal_has_fourrowtemplate()) {
clear_has_format();
- ::proto::FourRowTemplate* temp = format_.fourrowtemplate_;
- format_.fourrowtemplate_ = nullptr;
+ ::proto::FourRowTemplate* temp = _impl_.format_.fourrowtemplate_;
+ _impl_.format_.fourrowtemplate_ = nullptr;
return temp;
} else {
return nullptr;
@@ -39176,7 +40867,7 @@ inline void TemplateMessage::unsafe_arena_set_allocated_fourrowtemplate(::proto:
clear_format();
if (fourrowtemplate) {
set_has_fourrowtemplate();
- format_.fourrowtemplate_ = fourrowtemplate;
+ _impl_.format_.fourrowtemplate_ = fourrowtemplate;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.TemplateMessage.fourRowTemplate)
}
@@ -39184,9 +40875,9 @@ inline ::proto::FourRowTemplate* TemplateMessage::_internal_mutable_fourrowtempl
if (!_internal_has_fourrowtemplate()) {
clear_format();
set_has_fourrowtemplate();
- format_.fourrowtemplate_ = CreateMaybeMessage< ::proto::FourRowTemplate >(GetArenaForAllocation());
+ _impl_.format_.fourrowtemplate_ = CreateMaybeMessage< ::proto::FourRowTemplate >(GetArenaForAllocation());
}
- return format_.fourrowtemplate_;
+ return _impl_.format_.fourrowtemplate_;
}
inline ::proto::FourRowTemplate* TemplateMessage::mutable_fourrowtemplate() {
::proto::FourRowTemplate* _msg = _internal_mutable_fourrowtemplate();
@@ -39202,12 +40893,12 @@ inline bool TemplateMessage::has_hydratedfourrowtemplate() const {
return _internal_has_hydratedfourrowtemplate();
}
inline void TemplateMessage::set_has_hydratedfourrowtemplate() {
- _oneof_case_[0] = kHydratedFourRowTemplate;
+ _impl_._oneof_case_[0] = kHydratedFourRowTemplate;
}
inline void TemplateMessage::clear_hydratedfourrowtemplate() {
if (_internal_has_hydratedfourrowtemplate()) {
if (GetArenaForAllocation() == nullptr) {
- delete format_.hydratedfourrowtemplate_;
+ delete _impl_.format_.hydratedfourrowtemplate_;
}
clear_has_format();
}
@@ -39216,11 +40907,11 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::release_hydratedfourro
// @@protoc_insertion_point(field_release:proto.TemplateMessage.hydratedFourRowTemplate)
if (_internal_has_hydratedfourrowtemplate()) {
clear_has_format();
- ::proto::HydratedFourRowTemplate* temp = format_.hydratedfourrowtemplate_;
+ ::proto::HydratedFourRowTemplate* temp = _impl_.format_.hydratedfourrowtemplate_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- format_.hydratedfourrowtemplate_ = nullptr;
+ _impl_.format_.hydratedfourrowtemplate_ = nullptr;
return temp;
} else {
return nullptr;
@@ -39228,7 +40919,7 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::release_hydratedfourro
}
inline const ::proto::HydratedFourRowTemplate& TemplateMessage::_internal_hydratedfourrowtemplate() const {
return _internal_has_hydratedfourrowtemplate()
- ? *format_.hydratedfourrowtemplate_
+ ? *_impl_.format_.hydratedfourrowtemplate_
: reinterpret_cast< ::proto::HydratedFourRowTemplate&>(::proto::_HydratedFourRowTemplate_default_instance_);
}
inline const ::proto::HydratedFourRowTemplate& TemplateMessage::hydratedfourrowtemplate() const {
@@ -39239,8 +40930,8 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::unsafe_arena_release_h
// @@protoc_insertion_point(field_unsafe_arena_release:proto.TemplateMessage.hydratedFourRowTemplate)
if (_internal_has_hydratedfourrowtemplate()) {
clear_has_format();
- ::proto::HydratedFourRowTemplate* temp = format_.hydratedfourrowtemplate_;
- format_.hydratedfourrowtemplate_ = nullptr;
+ ::proto::HydratedFourRowTemplate* temp = _impl_.format_.hydratedfourrowtemplate_;
+ _impl_.format_.hydratedfourrowtemplate_ = nullptr;
return temp;
} else {
return nullptr;
@@ -39250,7 +40941,7 @@ inline void TemplateMessage::unsafe_arena_set_allocated_hydratedfourrowtemplate(
clear_format();
if (hydratedfourrowtemplate) {
set_has_hydratedfourrowtemplate();
- format_.hydratedfourrowtemplate_ = hydratedfourrowtemplate;
+ _impl_.format_.hydratedfourrowtemplate_ = hydratedfourrowtemplate;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.TemplateMessage.hydratedFourRowTemplate)
}
@@ -39258,9 +40949,9 @@ inline ::proto::HydratedFourRowTemplate* TemplateMessage::_internal_mutable_hydr
if (!_internal_has_hydratedfourrowtemplate()) {
clear_format();
set_has_hydratedfourrowtemplate();
- format_.hydratedfourrowtemplate_ = CreateMaybeMessage< ::proto::HydratedFourRowTemplate >(GetArenaForAllocation());
+ _impl_.format_.hydratedfourrowtemplate_ = CreateMaybeMessage< ::proto::HydratedFourRowTemplate >(GetArenaForAllocation());
}
- return format_.hydratedfourrowtemplate_;
+ return _impl_.format_.hydratedfourrowtemplate_;
}
inline ::proto::HydratedFourRowTemplate* TemplateMessage::mutable_hydratedfourrowtemplate() {
::proto::HydratedFourRowTemplate* _msg = _internal_mutable_hydratedfourrowtemplate();
@@ -39272,10 +40963,10 @@ inline bool TemplateMessage::has_format() const {
return format_case() != FORMAT_NOT_SET;
}
inline void TemplateMessage::clear_has_format() {
- _oneof_case_[0] = FORMAT_NOT_SET;
+ _impl_._oneof_case_[0] = FORMAT_NOT_SET;
}
inline TemplateMessage::FormatCase TemplateMessage::format_case() const {
- return TemplateMessage::FormatCase(_oneof_case_[0]);
+ return TemplateMessage::FormatCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -39283,15 +40974,15 @@ inline TemplateMessage::FormatCase TemplateMessage::format_case() const {
// optional string selectedId = 1;
inline bool TemplateButtonReplyMessage::_internal_has_selectedid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool TemplateButtonReplyMessage::has_selectedid() const {
return _internal_has_selectedid();
}
inline void TemplateButtonReplyMessage::clear_selectedid() {
- selectedid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.selectedid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& TemplateButtonReplyMessage::selectedid() const {
// @@protoc_insertion_point(field_get:proto.TemplateButtonReplyMessage.selectedId)
@@ -39300,8 +40991,8 @@ inline const std::string& TemplateButtonReplyMessage::selectedid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.selectedid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.TemplateButtonReplyMessage.selectedId)
}
inline std::string* TemplateButtonReplyMessage::mutable_selectedid() {
@@ -39310,46 +41001,56 @@ inline std::string* TemplateButtonReplyMessage::mutable_selectedid() {
return _s;
}
inline const std::string& TemplateButtonReplyMessage::_internal_selectedid() const {
- return selectedid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.selectedid_.Set(value, GetArenaForAllocation());
}
inline std::string* TemplateButtonReplyMessage::_internal_mutable_selectedid() {
- _has_bits_[0] |= 0x00000001u;
- return selectedid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.selectedid_.Mutable(GetArenaForAllocation());
}
inline std::string* TemplateButtonReplyMessage::release_selectedid() {
// @@protoc_insertion_point(field_release:proto.TemplateButtonReplyMessage.selectedId)
if (!_internal_has_selectedid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return selectedid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.selectedid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.selectedid_.IsDefault()) {
+ _impl_.selectedid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void TemplateButtonReplyMessage::set_allocated_selectedid(std::string* selectedid) {
if (selectedid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.selectedid_.SetAllocated(selectedid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.selectedid_.IsDefault()) {
+ _impl_.selectedid_.Set("", GetArenaForAllocation());
}
- selectedid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selectedid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.TemplateButtonReplyMessage.selectedId)
}
// optional string selectedDisplayText = 2;
inline bool TemplateButtonReplyMessage::_internal_has_selecteddisplaytext() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool TemplateButtonReplyMessage::has_selecteddisplaytext() const {
return _internal_has_selecteddisplaytext();
}
inline void TemplateButtonReplyMessage::clear_selecteddisplaytext() {
- selecteddisplaytext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.selecteddisplaytext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& TemplateButtonReplyMessage::selecteddisplaytext() const {
// @@protoc_insertion_point(field_get:proto.TemplateButtonReplyMessage.selectedDisplayText)
@@ -39358,8 +41059,8 @@ inline const std::string& TemplateButtonReplyMessage::selecteddisplaytext() cons
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.selecteddisplaytext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.TemplateButtonReplyMessage.selectedDisplayText)
}
inline std::string* TemplateButtonReplyMessage::mutable_selecteddisplaytext() {
@@ -39368,50 +41069,60 @@ inline std::string* TemplateButtonReplyMessage::mutable_selecteddisplaytext() {
return _s;
}
inline const std::string& TemplateButtonReplyMessage::_internal_selecteddisplaytext() const {
- return selecteddisplaytext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.selecteddisplaytext_.Set(value, GetArenaForAllocation());
}
inline std::string* TemplateButtonReplyMessage::_internal_mutable_selecteddisplaytext() {
- _has_bits_[0] |= 0x00000002u;
- return selecteddisplaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.selecteddisplaytext_.Mutable(GetArenaForAllocation());
}
inline std::string* TemplateButtonReplyMessage::release_selecteddisplaytext() {
// @@protoc_insertion_point(field_release:proto.TemplateButtonReplyMessage.selectedDisplayText)
if (!_internal_has_selecteddisplaytext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return selecteddisplaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.selecteddisplaytext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.selecteddisplaytext_.IsDefault()) {
+ _impl_.selecteddisplaytext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void TemplateButtonReplyMessage::set_allocated_selecteddisplaytext(std::string* selecteddisplaytext) {
if (selecteddisplaytext != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.selecteddisplaytext_.SetAllocated(selecteddisplaytext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.selecteddisplaytext_.IsDefault()) {
+ _impl_.selecteddisplaytext_.Set("", GetArenaForAllocation());
}
- selecteddisplaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selecteddisplaytext,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.TemplateButtonReplyMessage.selectedDisplayText)
}
// optional .proto.ContextInfo contextInfo = 3;
inline bool TemplateButtonReplyMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool TemplateButtonReplyMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void TemplateButtonReplyMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::ContextInfo& TemplateButtonReplyMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -39422,20 +41133,20 @@ inline const ::proto::ContextInfo& TemplateButtonReplyMessage::contextinfo() con
inline void TemplateButtonReplyMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.TemplateButtonReplyMessage.contextInfo)
}
inline ::proto::ContextInfo* TemplateButtonReplyMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -39449,18 +41160,18 @@ inline ::proto::ContextInfo* TemplateButtonReplyMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* TemplateButtonReplyMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.TemplateButtonReplyMessage.contextInfo)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* TemplateButtonReplyMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000004u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* TemplateButtonReplyMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -39470,47 +41181,47 @@ inline ::proto::ContextInfo* TemplateButtonReplyMessage::mutable_contextinfo() {
inline void TemplateButtonReplyMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.TemplateButtonReplyMessage.contextInfo)
}
// optional uint32 selectedIndex = 4;
inline bool TemplateButtonReplyMessage::_internal_has_selectedindex() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool TemplateButtonReplyMessage::has_selectedindex() const {
return _internal_has_selectedindex();
}
inline void TemplateButtonReplyMessage::clear_selectedindex() {
- selectedindex_ = 0u;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.selectedindex_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 TemplateButtonReplyMessage::_internal_selectedindex() const {
- return selectedindex_;
+inline uint32_t TemplateButtonReplyMessage::_internal_selectedindex() const {
+ return _impl_.selectedindex_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 TemplateButtonReplyMessage::selectedindex() const {
+inline uint32_t TemplateButtonReplyMessage::selectedindex() const {
// @@protoc_insertion_point(field_get:proto.TemplateButtonReplyMessage.selectedIndex)
return _internal_selectedindex();
}
-inline void TemplateButtonReplyMessage::_internal_set_selectedindex(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000008u;
- selectedindex_ = value;
+inline void TemplateButtonReplyMessage::_internal_set_selectedindex(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.selectedindex_ = value;
}
-inline void TemplateButtonReplyMessage::set_selectedindex(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void TemplateButtonReplyMessage::set_selectedindex(uint32_t value) {
_internal_set_selectedindex(value);
// @@protoc_insertion_point(field_set:proto.TemplateButtonReplyMessage.selectedIndex)
}
@@ -39521,19 +41232,19 @@ inline void TemplateButtonReplyMessage::set_selectedindex(::PROTOBUF_NAMESPACE_I
// optional .proto.ImageMessage catalogImage = 1;
inline bool CatalogSnapshot::_internal_has_catalogimage() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || catalogimage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.catalogimage_ != nullptr);
return value;
}
inline bool CatalogSnapshot::has_catalogimage() const {
return _internal_has_catalogimage();
}
inline void CatalogSnapshot::clear_catalogimage() {
- if (catalogimage_ != nullptr) catalogimage_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.catalogimage_ != nullptr) _impl_.catalogimage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::ImageMessage& CatalogSnapshot::_internal_catalogimage() const {
- const ::proto::ImageMessage* p = catalogimage_;
+ const ::proto::ImageMessage* p = _impl_.catalogimage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ImageMessage&>(
::proto::_ImageMessage_default_instance_);
}
@@ -39544,20 +41255,20 @@ inline const ::proto::ImageMessage& CatalogSnapshot::catalogimage() const {
inline void CatalogSnapshot::unsafe_arena_set_allocated_catalogimage(
::proto::ImageMessage* catalogimage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(catalogimage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.catalogimage_);
}
- catalogimage_ = catalogimage;
+ _impl_.catalogimage_ = catalogimage;
if (catalogimage) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.CatalogSnapshot.catalogImage)
}
inline ::proto::ImageMessage* CatalogSnapshot::release_catalogimage() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ImageMessage* temp = catalogimage_;
- catalogimage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ImageMessage* temp = _impl_.catalogimage_;
+ _impl_.catalogimage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -39571,18 +41282,18 @@ inline ::proto::ImageMessage* CatalogSnapshot::release_catalogimage() {
}
inline ::proto::ImageMessage* CatalogSnapshot::unsafe_arena_release_catalogimage() {
// @@protoc_insertion_point(field_release:proto.CatalogSnapshot.catalogImage)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ImageMessage* temp = catalogimage_;
- catalogimage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ImageMessage* temp = _impl_.catalogimage_;
+ _impl_.catalogimage_ = nullptr;
return temp;
}
inline ::proto::ImageMessage* CatalogSnapshot::_internal_mutable_catalogimage() {
- _has_bits_[0] |= 0x00000004u;
- if (catalogimage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.catalogimage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArenaForAllocation());
- catalogimage_ = p;
+ _impl_.catalogimage_ = p;
}
- return catalogimage_;
+ return _impl_.catalogimage_;
}
inline ::proto::ImageMessage* CatalogSnapshot::mutable_catalogimage() {
::proto::ImageMessage* _msg = _internal_mutable_catalogimage();
@@ -39592,34 +41303,34 @@ inline ::proto::ImageMessage* CatalogSnapshot::mutable_catalogimage() {
inline void CatalogSnapshot::set_allocated_catalogimage(::proto::ImageMessage* catalogimage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete catalogimage_;
+ delete _impl_.catalogimage_;
}
if (catalogimage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(catalogimage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(catalogimage);
if (message_arena != submessage_arena) {
catalogimage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, catalogimage, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- catalogimage_ = catalogimage;
+ _impl_.catalogimage_ = catalogimage;
// @@protoc_insertion_point(field_set_allocated:proto.CatalogSnapshot.catalogImage)
}
// optional string title = 2;
inline bool CatalogSnapshot::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool CatalogSnapshot::has_title() const {
return _internal_has_title();
}
inline void CatalogSnapshot::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& CatalogSnapshot::title() const {
// @@protoc_insertion_point(field_get:proto.CatalogSnapshot.title)
@@ -39628,8 +41339,8 @@ inline const std::string& CatalogSnapshot::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.CatalogSnapshot.title)
}
inline std::string* CatalogSnapshot::mutable_title() {
@@ -39638,46 +41349,56 @@ inline std::string* CatalogSnapshot::mutable_title() {
return _s;
}
inline const std::string& CatalogSnapshot::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* CatalogSnapshot::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* CatalogSnapshot::release_title() {
// @@protoc_insertion_point(field_release:proto.CatalogSnapshot.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void CatalogSnapshot::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.CatalogSnapshot.title)
}
// optional string description = 3;
inline bool CatalogSnapshot::_internal_has_description() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool CatalogSnapshot::has_description() const {
return _internal_has_description();
}
inline void CatalogSnapshot::clear_description() {
- description_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.description_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& CatalogSnapshot::description() const {
// @@protoc_insertion_point(field_get:proto.CatalogSnapshot.description)
@@ -39686,8 +41407,8 @@ inline const std::string& CatalogSnapshot::description() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.CatalogSnapshot.description)
}
inline std::string* CatalogSnapshot::mutable_description() {
@@ -39696,32 +41417,42 @@ inline std::string* CatalogSnapshot::mutable_description() {
return _s;
}
inline const std::string& CatalogSnapshot::_internal_description() const {
- return description_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.description_.Set(value, GetArenaForAllocation());
}
inline std::string* CatalogSnapshot::_internal_mutable_description() {
- _has_bits_[0] |= 0x00000002u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.description_.Mutable(GetArenaForAllocation());
}
inline std::string* CatalogSnapshot::release_description() {
// @@protoc_insertion_point(field_release:proto.CatalogSnapshot.description)
if (!_internal_has_description()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.description_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void CatalogSnapshot::set_allocated_description(std::string* description) {
if (description != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
+ _impl_.description_.SetAllocated(description, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.CatalogSnapshot.description)
}
@@ -39731,19 +41462,19 @@ inline void CatalogSnapshot::set_allocated_description(std::string* description)
// optional .proto.ImageMessage productImage = 1;
inline bool ProductSnapshot::_internal_has_productimage() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- PROTOBUF_ASSUME(!value || productimage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.productimage_ != nullptr);
return value;
}
inline bool ProductSnapshot::has_productimage() const {
return _internal_has_productimage();
}
inline void ProductSnapshot::clear_productimage() {
- if (productimage_ != nullptr) productimage_->Clear();
- _has_bits_[0] &= ~0x00000080u;
+ if (_impl_.productimage_ != nullptr) _impl_.productimage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const ::proto::ImageMessage& ProductSnapshot::_internal_productimage() const {
- const ::proto::ImageMessage* p = productimage_;
+ const ::proto::ImageMessage* p = _impl_.productimage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ImageMessage&>(
::proto::_ImageMessage_default_instance_);
}
@@ -39754,20 +41485,20 @@ inline const ::proto::ImageMessage& ProductSnapshot::productimage() const {
inline void ProductSnapshot::unsafe_arena_set_allocated_productimage(
::proto::ImageMessage* productimage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(productimage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.productimage_);
}
- productimage_ = productimage;
+ _impl_.productimage_ = productimage;
if (productimage) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProductSnapshot.productImage)
}
inline ::proto::ImageMessage* ProductSnapshot::release_productimage() {
- _has_bits_[0] &= ~0x00000080u;
- ::proto::ImageMessage* temp = productimage_;
- productimage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::ImageMessage* temp = _impl_.productimage_;
+ _impl_.productimage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -39781,18 +41512,18 @@ inline ::proto::ImageMessage* ProductSnapshot::release_productimage() {
}
inline ::proto::ImageMessage* ProductSnapshot::unsafe_arena_release_productimage() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.productImage)
- _has_bits_[0] &= ~0x00000080u;
- ::proto::ImageMessage* temp = productimage_;
- productimage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::ImageMessage* temp = _impl_.productimage_;
+ _impl_.productimage_ = nullptr;
return temp;
}
inline ::proto::ImageMessage* ProductSnapshot::_internal_mutable_productimage() {
- _has_bits_[0] |= 0x00000080u;
- if (productimage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ if (_impl_.productimage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArenaForAllocation());
- productimage_ = p;
+ _impl_.productimage_ = p;
}
- return productimage_;
+ return _impl_.productimage_;
}
inline ::proto::ImageMessage* ProductSnapshot::mutable_productimage() {
::proto::ImageMessage* _msg = _internal_mutable_productimage();
@@ -39802,34 +41533,34 @@ inline ::proto::ImageMessage* ProductSnapshot::mutable_productimage() {
inline void ProductSnapshot::set_allocated_productimage(::proto::ImageMessage* productimage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete productimage_;
+ delete _impl_.productimage_;
}
if (productimage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(productimage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(productimage);
if (message_arena != submessage_arena) {
productimage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, productimage, submessage_arena);
}
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
- productimage_ = productimage;
+ _impl_.productimage_ = productimage;
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.productImage)
}
// optional string productId = 2;
inline bool ProductSnapshot::_internal_has_productid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ProductSnapshot::has_productid() const {
return _internal_has_productid();
}
inline void ProductSnapshot::clear_productid() {
- productid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.productid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ProductSnapshot::productid() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.productId)
@@ -39838,8 +41569,8 @@ inline const std::string& ProductSnapshot::productid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.productid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.productId)
}
inline std::string* ProductSnapshot::mutable_productid() {
@@ -39848,46 +41579,56 @@ inline std::string* ProductSnapshot::mutable_productid() {
return _s;
}
inline const std::string& ProductSnapshot::_internal_productid() const {
- return productid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.productid_.Set(value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_productid() {
- _has_bits_[0] |= 0x00000001u;
- return productid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.productid_.Mutable(GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_productid() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.productId)
if (!_internal_has_productid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return productid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.productid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.productid_.IsDefault()) {
+ _impl_.productid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ProductSnapshot::set_allocated_productid(std::string* productid) {
if (productid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- productid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), productid,
- GetArenaForAllocation());
+ _impl_.productid_.SetAllocated(productid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.productid_.IsDefault()) {
+ _impl_.productid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.productId)
}
// optional string title = 3;
inline bool ProductSnapshot::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ProductSnapshot::has_title() const {
return _internal_has_title();
}
inline void ProductSnapshot::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ProductSnapshot::title() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.title)
@@ -39896,8 +41637,8 @@ inline const std::string& ProductSnapshot::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.title)
}
inline std::string* ProductSnapshot::mutable_title() {
@@ -39906,46 +41647,56 @@ inline std::string* ProductSnapshot::mutable_title() {
return _s;
}
inline const std::string& ProductSnapshot::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000002u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_title() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ProductSnapshot::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.title)
}
// optional string description = 4;
inline bool ProductSnapshot::_internal_has_description() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool ProductSnapshot::has_description() const {
return _internal_has_description();
}
inline void ProductSnapshot::clear_description() {
- description_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.description_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& ProductSnapshot::description() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.description)
@@ -39954,8 +41705,8 @@ inline const std::string& ProductSnapshot::description() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.description)
}
inline std::string* ProductSnapshot::mutable_description() {
@@ -39964,46 +41715,56 @@ inline std::string* ProductSnapshot::mutable_description() {
return _s;
}
inline const std::string& ProductSnapshot::_internal_description() const {
- return description_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.description_.Set(value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_description() {
- _has_bits_[0] |= 0x00000004u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.description_.Mutable(GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_description() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.description)
if (!_internal_has_description()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.description_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ProductSnapshot::set_allocated_description(std::string* description) {
if (description != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
+ _impl_.description_.SetAllocated(description, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.description)
}
// optional string currencyCode = 5;
inline bool ProductSnapshot::_internal_has_currencycode() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool ProductSnapshot::has_currencycode() const {
return _internal_has_currencycode();
}
inline void ProductSnapshot::clear_currencycode() {
- currencycode_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.currencycode_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& ProductSnapshot::currencycode() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.currencyCode)
@@ -40012,8 +41773,8 @@ inline const std::string& ProductSnapshot::currencycode() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.currencycode_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.currencyCode)
}
inline std::string* ProductSnapshot::mutable_currencycode() {
@@ -40022,74 +41783,84 @@ inline std::string* ProductSnapshot::mutable_currencycode() {
return _s;
}
inline const std::string& ProductSnapshot::_internal_currencycode() const {
- return currencycode_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.currencycode_.Set(value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_currencycode() {
- _has_bits_[0] |= 0x00000008u;
- return currencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.currencycode_.Mutable(GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_currencycode() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.currencyCode)
if (!_internal_has_currencycode()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return currencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.currencycode_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currencycode_.IsDefault()) {
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ProductSnapshot::set_allocated_currencycode(std::string* currencycode) {
if (currencycode != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- currencycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currencycode,
- GetArenaForAllocation());
+ _impl_.currencycode_.SetAllocated(currencycode, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currencycode_.IsDefault()) {
+ _impl_.currencycode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.currencyCode)
}
// optional int64 priceAmount1000 = 6;
inline bool ProductSnapshot::_internal_has_priceamount1000() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool ProductSnapshot::has_priceamount1000() const {
return _internal_has_priceamount1000();
}
inline void ProductSnapshot::clear_priceamount1000() {
- priceamount1000_ = int64_t{0};
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.priceamount1000_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 ProductSnapshot::_internal_priceamount1000() const {
- return priceamount1000_;
+inline int64_t ProductSnapshot::_internal_priceamount1000() const {
+ return _impl_.priceamount1000_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 ProductSnapshot::priceamount1000() const {
+inline int64_t ProductSnapshot::priceamount1000() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.priceAmount1000)
return _internal_priceamount1000();
}
-inline void ProductSnapshot::_internal_set_priceamount1000(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000100u;
- priceamount1000_ = value;
+inline void ProductSnapshot::_internal_set_priceamount1000(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.priceamount1000_ = value;
}
-inline void ProductSnapshot::set_priceamount1000(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void ProductSnapshot::set_priceamount1000(int64_t value) {
_internal_set_priceamount1000(value);
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.priceAmount1000)
}
// optional string retailerId = 7;
inline bool ProductSnapshot::_internal_has_retailerid() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool ProductSnapshot::has_retailerid() const {
return _internal_has_retailerid();
}
inline void ProductSnapshot::clear_retailerid() {
- retailerid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.retailerid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& ProductSnapshot::retailerid() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.retailerId)
@@ -40098,8 +41869,8 @@ inline const std::string& ProductSnapshot::retailerid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.retailerid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.retailerId)
}
inline std::string* ProductSnapshot::mutable_retailerid() {
@@ -40108,46 +41879,56 @@ inline std::string* ProductSnapshot::mutable_retailerid() {
return _s;
}
inline const std::string& ProductSnapshot::_internal_retailerid() const {
- return retailerid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.retailerid_.Set(value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_retailerid() {
- _has_bits_[0] |= 0x00000010u;
- return retailerid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.retailerid_.Mutable(GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_retailerid() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.retailerId)
if (!_internal_has_retailerid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return retailerid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.retailerid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.retailerid_.IsDefault()) {
+ _impl_.retailerid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ProductSnapshot::set_allocated_retailerid(std::string* retailerid) {
if (retailerid != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- retailerid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), retailerid,
- GetArenaForAllocation());
+ _impl_.retailerid_.SetAllocated(retailerid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.retailerid_.IsDefault()) {
+ _impl_.retailerid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.retailerId)
}
// optional string url = 8;
inline bool ProductSnapshot::_internal_has_url() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool ProductSnapshot::has_url() const {
return _internal_has_url();
}
inline void ProductSnapshot::clear_url() {
- url_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.url_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& ProductSnapshot::url() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.url)
@@ -40156,8 +41937,8 @@ inline const std::string& ProductSnapshot::url() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.url)
}
inline std::string* ProductSnapshot::mutable_url() {
@@ -40166,74 +41947,84 @@ inline std::string* ProductSnapshot::mutable_url() {
return _s;
}
inline const std::string& ProductSnapshot::_internal_url() const {
- return url_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.url_.Set(value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_url() {
- _has_bits_[0] |= 0x00000020u;
- return url_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.url_.Mutable(GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_url() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.url)
if (!_internal_has_url()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return url_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.url_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ProductSnapshot::set_allocated_url(std::string* url) {
if (url != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ }
+ _impl_.url_.SetAllocated(url, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.url_.IsDefault()) {
+ _impl_.url_.Set("", GetArenaForAllocation());
}
- url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.url)
}
// optional uint32 productImageCount = 9;
inline bool ProductSnapshot::_internal_has_productimagecount() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool ProductSnapshot::has_productimagecount() const {
return _internal_has_productimagecount();
}
inline void ProductSnapshot::clear_productimagecount() {
- productimagecount_ = 0u;
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.productimagecount_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ProductSnapshot::_internal_productimagecount() const {
- return productimagecount_;
+inline uint32_t ProductSnapshot::_internal_productimagecount() const {
+ return _impl_.productimagecount_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 ProductSnapshot::productimagecount() const {
+inline uint32_t ProductSnapshot::productimagecount() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.productImageCount)
return _internal_productimagecount();
}
-inline void ProductSnapshot::_internal_set_productimagecount(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000200u;
- productimagecount_ = value;
+inline void ProductSnapshot::_internal_set_productimagecount(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.productimagecount_ = value;
}
-inline void ProductSnapshot::set_productimagecount(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void ProductSnapshot::set_productimagecount(uint32_t value) {
_internal_set_productimagecount(value);
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.productImageCount)
}
// optional string firstImageId = 11;
inline bool ProductSnapshot::_internal_has_firstimageid() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool ProductSnapshot::has_firstimageid() const {
return _internal_has_firstimageid();
}
inline void ProductSnapshot::clear_firstimageid() {
- firstimageid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.firstimageid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& ProductSnapshot::firstimageid() const {
// @@protoc_insertion_point(field_get:proto.ProductSnapshot.firstImageId)
@@ -40242,8 +42033,8 @@ inline const std::string& ProductSnapshot::firstimageid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.firstimageid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductSnapshot.firstImageId)
}
inline std::string* ProductSnapshot::mutable_firstimageid() {
@@ -40252,32 +42043,42 @@ inline std::string* ProductSnapshot::mutable_firstimageid() {
return _s;
}
inline const std::string& ProductSnapshot::_internal_firstimageid() const {
- return firstimageid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.firstimageid_.Set(value, GetArenaForAllocation());
}
inline std::string* ProductSnapshot::_internal_mutable_firstimageid() {
- _has_bits_[0] |= 0x00000040u;
- return firstimageid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.firstimageid_.Mutable(GetArenaForAllocation());
}
inline std::string* ProductSnapshot::release_firstimageid() {
// @@protoc_insertion_point(field_release:proto.ProductSnapshot.firstImageId)
if (!_internal_has_firstimageid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return firstimageid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.firstimageid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.firstimageid_.IsDefault()) {
+ _impl_.firstimageid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ProductSnapshot::set_allocated_firstimageid(std::string* firstimageid) {
if (firstimageid != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ }
+ _impl_.firstimageid_.SetAllocated(firstimageid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.firstimageid_.IsDefault()) {
+ _impl_.firstimageid_.Set("", GetArenaForAllocation());
}
- firstimageid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), firstimageid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ProductSnapshot.firstImageId)
}
@@ -40287,19 +42088,19 @@ inline void ProductSnapshot::set_allocated_firstimageid(std::string* firstimagei
// optional .proto.ProductSnapshot product = 1;
inline bool ProductMessage::_internal_has_product() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || product_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.product_ != nullptr);
return value;
}
inline bool ProductMessage::has_product() const {
return _internal_has_product();
}
inline void ProductMessage::clear_product() {
- if (product_ != nullptr) product_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.product_ != nullptr) _impl_.product_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::ProductSnapshot& ProductMessage::_internal_product() const {
- const ::proto::ProductSnapshot* p = product_;
+ const ::proto::ProductSnapshot* p = _impl_.product_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ProductSnapshot&>(
::proto::_ProductSnapshot_default_instance_);
}
@@ -40310,20 +42111,20 @@ inline const ::proto::ProductSnapshot& ProductMessage::product() const {
inline void ProductMessage::unsafe_arena_set_allocated_product(
::proto::ProductSnapshot* product) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(product_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.product_);
}
- product_ = product;
+ _impl_.product_ = product;
if (product) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProductMessage.product)
}
inline ::proto::ProductSnapshot* ProductMessage::release_product() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::ProductSnapshot* temp = product_;
- product_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::ProductSnapshot* temp = _impl_.product_;
+ _impl_.product_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -40337,18 +42138,18 @@ inline ::proto::ProductSnapshot* ProductMessage::release_product() {
}
inline ::proto::ProductSnapshot* ProductMessage::unsafe_arena_release_product() {
// @@protoc_insertion_point(field_release:proto.ProductMessage.product)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::ProductSnapshot* temp = product_;
- product_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::ProductSnapshot* temp = _impl_.product_;
+ _impl_.product_ = nullptr;
return temp;
}
inline ::proto::ProductSnapshot* ProductMessage::_internal_mutable_product() {
- _has_bits_[0] |= 0x00000002u;
- if (product_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.product_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ProductSnapshot>(GetArenaForAllocation());
- product_ = p;
+ _impl_.product_ = p;
}
- return product_;
+ return _impl_.product_;
}
inline ::proto::ProductSnapshot* ProductMessage::mutable_product() {
::proto::ProductSnapshot* _msg = _internal_mutable_product();
@@ -40358,34 +42159,34 @@ inline ::proto::ProductSnapshot* ProductMessage::mutable_product() {
inline void ProductMessage::set_allocated_product(::proto::ProductSnapshot* product) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete product_;
+ delete _impl_.product_;
}
if (product) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ProductSnapshot>::GetOwningArena(product);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(product);
if (message_arena != submessage_arena) {
product = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, product, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- product_ = product;
+ _impl_.product_ = product;
// @@protoc_insertion_point(field_set_allocated:proto.ProductMessage.product)
}
// optional string businessOwnerJid = 2;
inline bool ProductMessage::_internal_has_businessownerjid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ProductMessage::has_businessownerjid() const {
return _internal_has_businessownerjid();
}
inline void ProductMessage::clear_businessownerjid() {
- businessownerjid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.businessownerjid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ProductMessage::businessownerjid() const {
// @@protoc_insertion_point(field_get:proto.ProductMessage.businessOwnerJid)
@@ -40394,8 +42195,8 @@ inline const std::string& ProductMessage::businessownerjid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.businessownerjid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ProductMessage.businessOwnerJid)
}
inline std::string* ProductMessage::mutable_businessownerjid() {
@@ -40404,50 +42205,60 @@ inline std::string* ProductMessage::mutable_businessownerjid() {
return _s;
}
inline const std::string& ProductMessage::_internal_businessownerjid() const {
- return businessownerjid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.businessownerjid_.Set(value, GetArenaForAllocation());
}
inline std::string* ProductMessage::_internal_mutable_businessownerjid() {
- _has_bits_[0] |= 0x00000001u;
- return businessownerjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.businessownerjid_.Mutable(GetArenaForAllocation());
}
inline std::string* ProductMessage::release_businessownerjid() {
// @@protoc_insertion_point(field_release:proto.ProductMessage.businessOwnerJid)
if (!_internal_has_businessownerjid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return businessownerjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.businessownerjid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.businessownerjid_.IsDefault()) {
+ _impl_.businessownerjid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ProductMessage::set_allocated_businessownerjid(std::string* businessownerjid) {
if (businessownerjid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.businessownerjid_.SetAllocated(businessownerjid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.businessownerjid_.IsDefault()) {
+ _impl_.businessownerjid_.Set("", GetArenaForAllocation());
}
- businessownerjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), businessownerjid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ProductMessage.businessOwnerJid)
}
// optional .proto.CatalogSnapshot catalog = 4;
inline bool ProductMessage::_internal_has_catalog() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || catalog_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.catalog_ != nullptr);
return value;
}
inline bool ProductMessage::has_catalog() const {
return _internal_has_catalog();
}
inline void ProductMessage::clear_catalog() {
- if (catalog_ != nullptr) catalog_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.catalog_ != nullptr) _impl_.catalog_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::CatalogSnapshot& ProductMessage::_internal_catalog() const {
- const ::proto::CatalogSnapshot* p = catalog_;
+ const ::proto::CatalogSnapshot* p = _impl_.catalog_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::CatalogSnapshot&>(
::proto::_CatalogSnapshot_default_instance_);
}
@@ -40458,20 +42269,20 @@ inline const ::proto::CatalogSnapshot& ProductMessage::catalog() const {
inline void ProductMessage::unsafe_arena_set_allocated_catalog(
::proto::CatalogSnapshot* catalog) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(catalog_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.catalog_);
}
- catalog_ = catalog;
+ _impl_.catalog_ = catalog;
if (catalog) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProductMessage.catalog)
}
inline ::proto::CatalogSnapshot* ProductMessage::release_catalog() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::CatalogSnapshot* temp = catalog_;
- catalog_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::CatalogSnapshot* temp = _impl_.catalog_;
+ _impl_.catalog_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -40485,18 +42296,18 @@ inline ::proto::CatalogSnapshot* ProductMessage::release_catalog() {
}
inline ::proto::CatalogSnapshot* ProductMessage::unsafe_arena_release_catalog() {
// @@protoc_insertion_point(field_release:proto.ProductMessage.catalog)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::CatalogSnapshot* temp = catalog_;
- catalog_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::CatalogSnapshot* temp = _impl_.catalog_;
+ _impl_.catalog_ = nullptr;
return temp;
}
inline ::proto::CatalogSnapshot* ProductMessage::_internal_mutable_catalog() {
- _has_bits_[0] |= 0x00000004u;
- if (catalog_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.catalog_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::CatalogSnapshot>(GetArenaForAllocation());
- catalog_ = p;
+ _impl_.catalog_ = p;
}
- return catalog_;
+ return _impl_.catalog_;
}
inline ::proto::CatalogSnapshot* ProductMessage::mutable_catalog() {
::proto::CatalogSnapshot* _msg = _internal_mutable_catalog();
@@ -40506,38 +42317,38 @@ inline ::proto::CatalogSnapshot* ProductMessage::mutable_catalog() {
inline void ProductMessage::set_allocated_catalog(::proto::CatalogSnapshot* catalog) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete catalog_;
+ delete _impl_.catalog_;
}
if (catalog) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::CatalogSnapshot>::GetOwningArena(catalog);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(catalog);
if (message_arena != submessage_arena) {
catalog = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, catalog, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- catalog_ = catalog;
+ _impl_.catalog_ = catalog;
// @@protoc_insertion_point(field_set_allocated:proto.ProductMessage.catalog)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool ProductMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool ProductMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void ProductMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000008u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const ::proto::ContextInfo& ProductMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -40548,20 +42359,20 @@ inline const ::proto::ContextInfo& ProductMessage::contextinfo() const {
inline void ProductMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ProductMessage.contextInfo)
}
inline ::proto::ContextInfo* ProductMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000008u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -40575,18 +42386,18 @@ inline ::proto::ContextInfo* ProductMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* ProductMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.ProductMessage.contextInfo)
- _has_bits_[0] &= ~0x00000008u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* ProductMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000008u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* ProductMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -40596,20 +42407,20 @@ inline ::proto::ContextInfo* ProductMessage::mutable_contextinfo() {
inline void ProductMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.ProductMessage.contextInfo)
}
@@ -40619,15 +42430,15 @@ inline void ProductMessage::set_allocated_contextinfo(::proto::ContextInfo* cont
// optional string orderId = 1;
inline bool OrderMessage::_internal_has_orderid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool OrderMessage::has_orderid() const {
return _internal_has_orderid();
}
inline void OrderMessage::clear_orderid() {
- orderid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.orderid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& OrderMessage::orderid() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.orderId)
@@ -40636,8 +42447,8 @@ inline const std::string& OrderMessage::orderid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.orderid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.orderId)
}
inline std::string* OrderMessage::mutable_orderid() {
@@ -40646,46 +42457,56 @@ inline std::string* OrderMessage::mutable_orderid() {
return _s;
}
inline const std::string& OrderMessage::_internal_orderid() const {
- return orderid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.orderid_.Set(value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_orderid() {
- _has_bits_[0] |= 0x00000001u;
- return orderid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.orderid_.Mutable(GetArenaForAllocation());
}
inline std::string* OrderMessage::release_orderid() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.orderId)
if (!_internal_has_orderid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return orderid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.orderid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.orderid_.IsDefault()) {
+ _impl_.orderid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void OrderMessage::set_allocated_orderid(std::string* orderid) {
if (orderid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.orderid_.SetAllocated(orderid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.orderid_.IsDefault()) {
+ _impl_.orderid_.Set("", GetArenaForAllocation());
}
- orderid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), orderid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.orderId)
}
// optional bytes thumbnail = 2;
inline bool OrderMessage::_internal_has_thumbnail() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool OrderMessage::has_thumbnail() const {
return _internal_has_thumbnail();
}
inline void OrderMessage::clear_thumbnail() {
- thumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.thumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& OrderMessage::thumbnail() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.thumbnail)
@@ -40694,8 +42515,8 @@ inline const std::string& OrderMessage::thumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.thumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.thumbnail)
}
inline std::string* OrderMessage::mutable_thumbnail() {
@@ -40704,77 +42525,87 @@ inline std::string* OrderMessage::mutable_thumbnail() {
return _s;
}
inline const std::string& OrderMessage::_internal_thumbnail() const {
- return thumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.thumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_thumbnail() {
- _has_bits_[0] |= 0x00000002u;
- return thumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.thumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* OrderMessage::release_thumbnail() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.thumbnail)
if (!_internal_has_thumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return thumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.thumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnail_.IsDefault()) {
+ _impl_.thumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void OrderMessage::set_allocated_thumbnail(std::string* thumbnail) {
if (thumbnail != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.thumbnail_.SetAllocated(thumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.thumbnail_.IsDefault()) {
+ _impl_.thumbnail_.Set("", GetArenaForAllocation());
}
- thumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), thumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.thumbnail)
}
// optional int32 itemCount = 3;
inline bool OrderMessage::_internal_has_itemcount() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool OrderMessage::has_itemcount() const {
return _internal_has_itemcount();
}
inline void OrderMessage::clear_itemcount() {
- itemcount_ = 0;
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.itemcount_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int32 OrderMessage::_internal_itemcount() const {
- return itemcount_;
+inline int32_t OrderMessage::_internal_itemcount() const {
+ return _impl_.itemcount_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int32 OrderMessage::itemcount() const {
+inline int32_t OrderMessage::itemcount() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.itemCount)
return _internal_itemcount();
}
-inline void OrderMessage::_internal_set_itemcount(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000200u;
- itemcount_ = value;
+inline void OrderMessage::_internal_set_itemcount(int32_t value) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.itemcount_ = value;
}
-inline void OrderMessage::set_itemcount(::PROTOBUF_NAMESPACE_ID::int32 value) {
+inline void OrderMessage::set_itemcount(int32_t value) {
_internal_set_itemcount(value);
// @@protoc_insertion_point(field_set:proto.OrderMessage.itemCount)
}
// optional .proto.OrderMessage.OrderMessageOrderStatus status = 4;
inline bool OrderMessage::_internal_has_status() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool OrderMessage::has_status() const {
return _internal_has_status();
}
inline void OrderMessage::clear_status() {
- status_ = 1;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.status_ = 1;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline ::proto::OrderMessage_OrderMessageOrderStatus OrderMessage::_internal_status() const {
- return static_cast< ::proto::OrderMessage_OrderMessageOrderStatus >(status_);
+ return static_cast< ::proto::OrderMessage_OrderMessageOrderStatus >(_impl_.status_);
}
inline ::proto::OrderMessage_OrderMessageOrderStatus OrderMessage::status() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.status)
@@ -40782,8 +42613,8 @@ inline ::proto::OrderMessage_OrderMessageOrderStatus OrderMessage::status() cons
}
inline void OrderMessage::_internal_set_status(::proto::OrderMessage_OrderMessageOrderStatus value) {
assert(::proto::OrderMessage_OrderMessageOrderStatus_IsValid(value));
- _has_bits_[0] |= 0x00000400u;
- status_ = value;
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.status_ = value;
}
inline void OrderMessage::set_status(::proto::OrderMessage_OrderMessageOrderStatus value) {
_internal_set_status(value);
@@ -40792,18 +42623,18 @@ inline void OrderMessage::set_status(::proto::OrderMessage_OrderMessageOrderStat
// optional .proto.OrderMessage.OrderMessageOrderSurface surface = 5;
inline bool OrderMessage::_internal_has_surface() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool OrderMessage::has_surface() const {
return _internal_has_surface();
}
inline void OrderMessage::clear_surface() {
- surface_ = 1;
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.surface_ = 1;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline ::proto::OrderMessage_OrderMessageOrderSurface OrderMessage::_internal_surface() const {
- return static_cast< ::proto::OrderMessage_OrderMessageOrderSurface >(surface_);
+ return static_cast< ::proto::OrderMessage_OrderMessageOrderSurface >(_impl_.surface_);
}
inline ::proto::OrderMessage_OrderMessageOrderSurface OrderMessage::surface() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.surface)
@@ -40811,8 +42642,8 @@ inline ::proto::OrderMessage_OrderMessageOrderSurface OrderMessage::surface() co
}
inline void OrderMessage::_internal_set_surface(::proto::OrderMessage_OrderMessageOrderSurface value) {
assert(::proto::OrderMessage_OrderMessageOrderSurface_IsValid(value));
- _has_bits_[0] |= 0x00000800u;
- surface_ = value;
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.surface_ = value;
}
inline void OrderMessage::set_surface(::proto::OrderMessage_OrderMessageOrderSurface value) {
_internal_set_surface(value);
@@ -40821,15 +42652,15 @@ inline void OrderMessage::set_surface(::proto::OrderMessage_OrderMessageOrderSur
// optional string message = 6;
inline bool OrderMessage::_internal_has_message() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool OrderMessage::has_message() const {
return _internal_has_message();
}
inline void OrderMessage::clear_message() {
- message_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.message_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& OrderMessage::message() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.message)
@@ -40838,8 +42669,8 @@ inline const std::string& OrderMessage::message() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.message)
}
inline std::string* OrderMessage::mutable_message() {
@@ -40848,46 +42679,56 @@ inline std::string* OrderMessage::mutable_message() {
return _s;
}
inline const std::string& OrderMessage::_internal_message() const {
- return message_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.message_.Set(value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_message() {
- _has_bits_[0] |= 0x00000004u;
- return message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.message_.Mutable(GetArenaForAllocation());
}
inline std::string* OrderMessage::release_message() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.message)
if (!_internal_has_message()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return message_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.message_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.message_.IsDefault()) {
+ _impl_.message_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void OrderMessage::set_allocated_message(std::string* message) {
if (message != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.message_.SetAllocated(message, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.message_.IsDefault()) {
+ _impl_.message_.Set("", GetArenaForAllocation());
}
- message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), message,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.message)
}
// optional string orderTitle = 7;
inline bool OrderMessage::_internal_has_ordertitle() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool OrderMessage::has_ordertitle() const {
return _internal_has_ordertitle();
}
inline void OrderMessage::clear_ordertitle() {
- ordertitle_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.ordertitle_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& OrderMessage::ordertitle() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.orderTitle)
@@ -40896,8 +42737,8 @@ inline const std::string& OrderMessage::ordertitle() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.ordertitle_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.orderTitle)
}
inline std::string* OrderMessage::mutable_ordertitle() {
@@ -40906,46 +42747,56 @@ inline std::string* OrderMessage::mutable_ordertitle() {
return _s;
}
inline const std::string& OrderMessage::_internal_ordertitle() const {
- return ordertitle_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.ordertitle_.Set(value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_ordertitle() {
- _has_bits_[0] |= 0x00000008u;
- return ordertitle_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.ordertitle_.Mutable(GetArenaForAllocation());
}
inline std::string* OrderMessage::release_ordertitle() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.orderTitle)
if (!_internal_has_ordertitle()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return ordertitle_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.ordertitle_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.ordertitle_.IsDefault()) {
+ _impl_.ordertitle_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void OrderMessage::set_allocated_ordertitle(std::string* ordertitle) {
if (ordertitle != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.ordertitle_.SetAllocated(ordertitle, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.ordertitle_.IsDefault()) {
+ _impl_.ordertitle_.Set("", GetArenaForAllocation());
}
- ordertitle_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ordertitle,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.orderTitle)
}
// optional string sellerJid = 8;
inline bool OrderMessage::_internal_has_sellerjid() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool OrderMessage::has_sellerjid() const {
return _internal_has_sellerjid();
}
inline void OrderMessage::clear_sellerjid() {
- sellerjid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.sellerjid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& OrderMessage::sellerjid() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.sellerJid)
@@ -40954,8 +42805,8 @@ inline const std::string& OrderMessage::sellerjid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.sellerjid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.sellerJid)
}
inline std::string* OrderMessage::mutable_sellerjid() {
@@ -40964,46 +42815,56 @@ inline std::string* OrderMessage::mutable_sellerjid() {
return _s;
}
inline const std::string& OrderMessage::_internal_sellerjid() const {
- return sellerjid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.sellerjid_.Set(value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_sellerjid() {
- _has_bits_[0] |= 0x00000010u;
- return sellerjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.sellerjid_.Mutable(GetArenaForAllocation());
}
inline std::string* OrderMessage::release_sellerjid() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.sellerJid)
if (!_internal_has_sellerjid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return sellerjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.sellerjid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.sellerjid_.IsDefault()) {
+ _impl_.sellerjid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void OrderMessage::set_allocated_sellerjid(std::string* sellerjid) {
if (sellerjid != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ }
+ _impl_.sellerjid_.SetAllocated(sellerjid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.sellerjid_.IsDefault()) {
+ _impl_.sellerjid_.Set("", GetArenaForAllocation());
}
- sellerjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sellerjid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.sellerJid)
}
// optional string token = 9;
inline bool OrderMessage::_internal_has_token() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool OrderMessage::has_token() const {
return _internal_has_token();
}
inline void OrderMessage::clear_token() {
- token_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.token_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const std::string& OrderMessage::token() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.token)
@@ -41012,8 +42873,8 @@ inline const std::string& OrderMessage::token() const {
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());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.token_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.token)
}
inline std::string* OrderMessage::mutable_token() {
@@ -41022,74 +42883,84 @@ inline std::string* OrderMessage::mutable_token() {
return _s;
}
inline const std::string& OrderMessage::_internal_token() const {
- return token_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.token_.Set(value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_token() {
- _has_bits_[0] |= 0x00000020u;
- return token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000020u;
+ return _impl_.token_.Mutable(GetArenaForAllocation());
}
inline std::string* OrderMessage::release_token() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.token)
if (!_internal_has_token()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000020u;
- return token_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ auto* p = _impl_.token_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.token_.IsDefault()) {
+ _impl_.token_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void OrderMessage::set_allocated_token(std::string* token) {
if (token != nullptr) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token,
- GetArenaForAllocation());
+ _impl_.token_.SetAllocated(token, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.token_.IsDefault()) {
+ _impl_.token_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.token)
}
// optional int64 totalAmount1000 = 10;
inline bool OrderMessage::_internal_has_totalamount1000() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool OrderMessage::has_totalamount1000() const {
return _internal_has_totalamount1000();
}
inline void OrderMessage::clear_totalamount1000() {
- totalamount1000_ = int64_t{0};
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.totalamount1000_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 OrderMessage::_internal_totalamount1000() const {
- return totalamount1000_;
+inline int64_t OrderMessage::_internal_totalamount1000() const {
+ return _impl_.totalamount1000_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 OrderMessage::totalamount1000() const {
+inline int64_t OrderMessage::totalamount1000() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.totalAmount1000)
return _internal_totalamount1000();
}
-inline void OrderMessage::_internal_set_totalamount1000(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000100u;
- totalamount1000_ = value;
+inline void OrderMessage::_internal_set_totalamount1000(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.totalamount1000_ = value;
}
-inline void OrderMessage::set_totalamount1000(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void OrderMessage::set_totalamount1000(int64_t value) {
_internal_set_totalamount1000(value);
// @@protoc_insertion_point(field_set:proto.OrderMessage.totalAmount1000)
}
// optional string totalCurrencyCode = 11;
inline bool OrderMessage::_internal_has_totalcurrencycode() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool OrderMessage::has_totalcurrencycode() const {
return _internal_has_totalcurrencycode();
}
inline void OrderMessage::clear_totalcurrencycode() {
- totalcurrencycode_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.totalcurrencycode_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const std::string& OrderMessage::totalcurrencycode() const {
// @@protoc_insertion_point(field_get:proto.OrderMessage.totalCurrencyCode)
@@ -41098,8 +42969,8 @@ inline const std::string& OrderMessage::totalcurrencycode() const {
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());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.totalcurrencycode_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.OrderMessage.totalCurrencyCode)
}
inline std::string* OrderMessage::mutable_totalcurrencycode() {
@@ -41108,50 +42979,60 @@ inline std::string* OrderMessage::mutable_totalcurrencycode() {
return _s;
}
inline const std::string& OrderMessage::_internal_totalcurrencycode() const {
- return totalcurrencycode_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.totalcurrencycode_.Set(value, GetArenaForAllocation());
}
inline std::string* OrderMessage::_internal_mutable_totalcurrencycode() {
- _has_bits_[0] |= 0x00000040u;
- return totalcurrencycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000040u;
+ return _impl_.totalcurrencycode_.Mutable(GetArenaForAllocation());
}
inline std::string* OrderMessage::release_totalcurrencycode() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.totalCurrencyCode)
if (!_internal_has_totalcurrencycode()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000040u;
- return totalcurrencycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ auto* p = _impl_.totalcurrencycode_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.totalcurrencycode_.IsDefault()) {
+ _impl_.totalcurrencycode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void OrderMessage::set_allocated_totalcurrencycode(std::string* totalcurrencycode) {
if (totalcurrencycode != nullptr) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- totalcurrencycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), totalcurrencycode,
- GetArenaForAllocation());
+ _impl_.totalcurrencycode_.SetAllocated(totalcurrencycode, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.totalcurrencycode_.IsDefault()) {
+ _impl_.totalcurrencycode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.totalCurrencyCode)
}
// optional .proto.ContextInfo contextInfo = 17;
inline bool OrderMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool OrderMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void OrderMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000080u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const ::proto::ContextInfo& OrderMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -41162,20 +43043,20 @@ inline const ::proto::ContextInfo& OrderMessage::contextinfo() const {
inline void OrderMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.OrderMessage.contextInfo)
}
inline ::proto::ContextInfo* OrderMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000080u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -41189,18 +43070,18 @@ inline ::proto::ContextInfo* OrderMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* OrderMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.OrderMessage.contextInfo)
- _has_bits_[0] &= ~0x00000080u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* OrderMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000080u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* OrderMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -41210,20 +43091,20 @@ inline ::proto::ContextInfo* OrderMessage::mutable_contextinfo() {
inline void OrderMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.OrderMessage.contextInfo)
}
@@ -41233,15 +43114,15 @@ inline void OrderMessage::set_allocated_contextinfo(::proto::ContextInfo* contex
// optional string title = 1;
inline bool Row::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool Row::has_title() const {
return _internal_has_title();
}
inline void Row::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Row::title() const {
// @@protoc_insertion_point(field_get:proto.Row.title)
@@ -41250,8 +43131,8 @@ inline const std::string& Row::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Row.title)
}
inline std::string* Row::mutable_title() {
@@ -41260,46 +43141,56 @@ inline std::string* Row::mutable_title() {
return _s;
}
inline const std::string& Row::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* Row::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* Row::release_title() {
// @@protoc_insertion_point(field_release:proto.Row.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Row::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Row.title)
}
// optional string description = 2;
inline bool Row::_internal_has_description() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool Row::has_description() const {
return _internal_has_description();
}
inline void Row::clear_description() {
- description_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.description_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& Row::description() const {
// @@protoc_insertion_point(field_get:proto.Row.description)
@@ -41308,8 +43199,8 @@ inline const std::string& Row::description() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Row.description)
}
inline std::string* Row::mutable_description() {
@@ -41318,46 +43209,56 @@ inline std::string* Row::mutable_description() {
return _s;
}
inline const std::string& Row::_internal_description() const {
- return description_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.description_.Set(value, GetArenaForAllocation());
}
inline std::string* Row::_internal_mutable_description() {
- _has_bits_[0] |= 0x00000002u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.description_.Mutable(GetArenaForAllocation());
}
inline std::string* Row::release_description() {
// @@protoc_insertion_point(field_release:proto.Row.description)
if (!_internal_has_description()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.description_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Row::set_allocated_description(std::string* description) {
if (description != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.description_.SetAllocated(description, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
}
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Row.description)
}
// optional string rowId = 3;
inline bool Row::_internal_has_rowid() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool Row::has_rowid() const {
return _internal_has_rowid();
}
inline void Row::clear_rowid() {
- rowid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.rowid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& Row::rowid() const {
// @@protoc_insertion_point(field_get:proto.Row.rowId)
@@ -41366,8 +43267,8 @@ inline const std::string& Row::rowid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.rowid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Row.rowId)
}
inline std::string* Row::mutable_rowid() {
@@ -41376,32 +43277,42 @@ inline std::string* Row::mutable_rowid() {
return _s;
}
inline const std::string& Row::_internal_rowid() const {
- return rowid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.rowid_.Set(value, GetArenaForAllocation());
}
inline std::string* Row::_internal_mutable_rowid() {
- _has_bits_[0] |= 0x00000004u;
- return rowid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.rowid_.Mutable(GetArenaForAllocation());
}
inline std::string* Row::release_rowid() {
// @@protoc_insertion_point(field_release:proto.Row.rowId)
if (!_internal_has_rowid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return rowid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.rowid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.rowid_.IsDefault()) {
+ _impl_.rowid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Row::set_allocated_rowid(std::string* rowid) {
if (rowid != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.rowid_.SetAllocated(rowid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.rowid_.IsDefault()) {
+ _impl_.rowid_.Set("", GetArenaForAllocation());
}
- rowid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), rowid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Row.rowId)
}
@@ -41411,15 +43322,15 @@ inline void Row::set_allocated_rowid(std::string* rowid) {
// optional string title = 1;
inline bool Section::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool Section::has_title() const {
return _internal_has_title();
}
inline void Section::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Section::title() const {
// @@protoc_insertion_point(field_get:proto.Section.title)
@@ -41428,8 +43339,8 @@ inline const std::string& Section::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Section.title)
}
inline std::string* Section::mutable_title() {
@@ -41438,63 +43349,73 @@ inline std::string* Section::mutable_title() {
return _s;
}
inline const std::string& Section::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* Section::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* Section::release_title() {
// @@protoc_insertion_point(field_release:proto.Section.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Section::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Section.title)
}
// repeated .proto.Row rows = 2;
inline int Section::_internal_rows_size() const {
- return rows_.size();
+ return _impl_.rows_.size();
}
inline int Section::rows_size() const {
return _internal_rows_size();
}
inline void Section::clear_rows() {
- rows_.Clear();
+ _impl_.rows_.Clear();
}
inline ::proto::Row* Section::mutable_rows(int index) {
// @@protoc_insertion_point(field_mutable:proto.Section.rows)
- return rows_.Mutable(index);
+ return _impl_.rows_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Row >*
Section::mutable_rows() {
// @@protoc_insertion_point(field_mutable_list:proto.Section.rows)
- return &rows_;
+ return &_impl_.rows_;
}
inline const ::proto::Row& Section::_internal_rows(int index) const {
- return rows_.Get(index);
+ return _impl_.rows_.Get(index);
}
inline const ::proto::Row& Section::rows(int index) const {
// @@protoc_insertion_point(field_get:proto.Section.rows)
return _internal_rows(index);
}
inline ::proto::Row* Section::_internal_add_rows() {
- return rows_.Add();
+ return _impl_.rows_.Add();
}
inline ::proto::Row* Section::add_rows() {
::proto::Row* _add = _internal_add_rows();
@@ -41504,7 +43425,7 @@ inline ::proto::Row* Section::add_rows() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Row >&
Section::rows() const {
// @@protoc_insertion_point(field_list:proto.Section.rows)
- return rows_;
+ return _impl_.rows_;
}
// -------------------------------------------------------------------
@@ -41513,15 +43434,15 @@ Section::rows() const {
// optional string title = 1;
inline bool ListMessage::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ListMessage::has_title() const {
return _internal_has_title();
}
inline void ListMessage::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ListMessage::title() const {
// @@protoc_insertion_point(field_get:proto.ListMessage.title)
@@ -41530,8 +43451,8 @@ inline const std::string& ListMessage::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListMessage.title)
}
inline std::string* ListMessage::mutable_title() {
@@ -41540,46 +43461,56 @@ inline std::string* ListMessage::mutable_title() {
return _s;
}
inline const std::string& ListMessage::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* ListMessage::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* ListMessage::release_title() {
// @@protoc_insertion_point(field_release:proto.ListMessage.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ListMessage::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ListMessage.title)
}
// optional string description = 2;
inline bool ListMessage::_internal_has_description() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ListMessage::has_description() const {
return _internal_has_description();
}
inline void ListMessage::clear_description() {
- description_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.description_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ListMessage::description() const {
// @@protoc_insertion_point(field_get:proto.ListMessage.description)
@@ -41588,8 +43519,8 @@ inline const std::string& ListMessage::description() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListMessage.description)
}
inline std::string* ListMessage::mutable_description() {
@@ -41598,46 +43529,56 @@ inline std::string* ListMessage::mutable_description() {
return _s;
}
inline const std::string& ListMessage::_internal_description() const {
- return description_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.description_.Set(value, GetArenaForAllocation());
}
inline std::string* ListMessage::_internal_mutable_description() {
- _has_bits_[0] |= 0x00000002u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.description_.Mutable(GetArenaForAllocation());
}
inline std::string* ListMessage::release_description() {
// @@protoc_insertion_point(field_release:proto.ListMessage.description)
if (!_internal_has_description()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.description_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ListMessage::set_allocated_description(std::string* description) {
if (description != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
+ _impl_.description_.SetAllocated(description, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ListMessage.description)
}
// optional string buttonText = 3;
inline bool ListMessage::_internal_has_buttontext() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool ListMessage::has_buttontext() const {
return _internal_has_buttontext();
}
inline void ListMessage::clear_buttontext() {
- buttontext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.buttontext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& ListMessage::buttontext() const {
// @@protoc_insertion_point(field_get:proto.ListMessage.buttonText)
@@ -41646,8 +43587,8 @@ inline const std::string& ListMessage::buttontext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.buttontext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListMessage.buttonText)
}
inline std::string* ListMessage::mutable_buttontext() {
@@ -41656,49 +43597,59 @@ inline std::string* ListMessage::mutable_buttontext() {
return _s;
}
inline const std::string& ListMessage::_internal_buttontext() const {
- return buttontext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.buttontext_.Set(value, GetArenaForAllocation());
}
inline std::string* ListMessage::_internal_mutable_buttontext() {
- _has_bits_[0] |= 0x00000004u;
- return buttontext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.buttontext_.Mutable(GetArenaForAllocation());
}
inline std::string* ListMessage::release_buttontext() {
// @@protoc_insertion_point(field_release:proto.ListMessage.buttonText)
if (!_internal_has_buttontext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return buttontext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.buttontext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.buttontext_.IsDefault()) {
+ _impl_.buttontext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ListMessage::set_allocated_buttontext(std::string* buttontext) {
if (buttontext != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- buttontext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), buttontext,
- GetArenaForAllocation());
+ _impl_.buttontext_.SetAllocated(buttontext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.buttontext_.IsDefault()) {
+ _impl_.buttontext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ListMessage.buttonText)
}
// optional .proto.ListMessage.ListMessageListType listType = 4;
inline bool ListMessage::_internal_has_listtype() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool ListMessage::has_listtype() const {
return _internal_has_listtype();
}
inline void ListMessage::clear_listtype() {
- listtype_ = 0;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.listtype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline ::proto::ListMessage_ListMessageListType ListMessage::_internal_listtype() const {
- return static_cast< ::proto::ListMessage_ListMessageListType >(listtype_);
+ return static_cast< ::proto::ListMessage_ListMessageListType >(_impl_.listtype_);
}
inline ::proto::ListMessage_ListMessageListType ListMessage::listtype() const {
// @@protoc_insertion_point(field_get:proto.ListMessage.listType)
@@ -41706,8 +43657,8 @@ inline ::proto::ListMessage_ListMessageListType ListMessage::listtype() const {
}
inline void ListMessage::_internal_set_listtype(::proto::ListMessage_ListMessageListType value) {
assert(::proto::ListMessage_ListMessageListType_IsValid(value));
- _has_bits_[0] |= 0x00000008u;
- listtype_ = value;
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.listtype_ = value;
}
inline void ListMessage::set_listtype(::proto::ListMessage_ListMessageListType value) {
_internal_set_listtype(value);
@@ -41716,32 +43667,32 @@ inline void ListMessage::set_listtype(::proto::ListMessage_ListMessageListType v
// repeated .proto.Section sections = 5;
inline int ListMessage::_internal_sections_size() const {
- return sections_.size();
+ return _impl_.sections_.size();
}
inline int ListMessage::sections_size() const {
return _internal_sections_size();
}
inline void ListMessage::clear_sections() {
- sections_.Clear();
+ _impl_.sections_.Clear();
}
inline ::proto::Section* ListMessage::mutable_sections(int index) {
// @@protoc_insertion_point(field_mutable:proto.ListMessage.sections)
- return sections_.Mutable(index);
+ return _impl_.sections_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Section >*
ListMessage::mutable_sections() {
// @@protoc_insertion_point(field_mutable_list:proto.ListMessage.sections)
- return &sections_;
+ return &_impl_.sections_;
}
inline const ::proto::Section& ListMessage::_internal_sections(int index) const {
- return sections_.Get(index);
+ return _impl_.sections_.Get(index);
}
inline const ::proto::Section& ListMessage::sections(int index) const {
// @@protoc_insertion_point(field_get:proto.ListMessage.sections)
return _internal_sections(index);
}
inline ::proto::Section* ListMessage::_internal_add_sections() {
- return sections_.Add();
+ return _impl_.sections_.Add();
}
inline ::proto::Section* ListMessage::add_sections() {
::proto::Section* _add = _internal_add_sections();
@@ -41751,7 +43702,7 @@ inline ::proto::Section* ListMessage::add_sections() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Section >&
ListMessage::sections() const {
// @@protoc_insertion_point(field_list:proto.ListMessage.sections)
- return sections_;
+ return _impl_.sections_;
}
// -------------------------------------------------------------------
@@ -41760,15 +43711,15 @@ ListMessage::sections() const {
// optional string selectedRowId = 1;
inline bool SingleSelectReply::_internal_has_selectedrowid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool SingleSelectReply::has_selectedrowid() const {
return _internal_has_selectedrowid();
}
inline void SingleSelectReply::clear_selectedrowid() {
- selectedrowid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.selectedrowid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& SingleSelectReply::selectedrowid() const {
// @@protoc_insertion_point(field_get:proto.SingleSelectReply.selectedRowId)
@@ -41777,8 +43728,8 @@ inline const std::string& SingleSelectReply::selectedrowid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.selectedrowid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.SingleSelectReply.selectedRowId)
}
inline std::string* SingleSelectReply::mutable_selectedrowid() {
@@ -41787,32 +43738,42 @@ inline std::string* SingleSelectReply::mutable_selectedrowid() {
return _s;
}
inline const std::string& SingleSelectReply::_internal_selectedrowid() const {
- return selectedrowid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.selectedrowid_.Set(value, GetArenaForAllocation());
}
inline std::string* SingleSelectReply::_internal_mutable_selectedrowid() {
- _has_bits_[0] |= 0x00000001u;
- return selectedrowid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.selectedrowid_.Mutable(GetArenaForAllocation());
}
inline std::string* SingleSelectReply::release_selectedrowid() {
// @@protoc_insertion_point(field_release:proto.SingleSelectReply.selectedRowId)
if (!_internal_has_selectedrowid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return selectedrowid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.selectedrowid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.selectedrowid_.IsDefault()) {
+ _impl_.selectedrowid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void SingleSelectReply::set_allocated_selectedrowid(std::string* selectedrowid) {
if (selectedrowid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- selectedrowid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selectedrowid,
- GetArenaForAllocation());
+ _impl_.selectedrowid_.SetAllocated(selectedrowid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.selectedrowid_.IsDefault()) {
+ _impl_.selectedrowid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.SingleSelectReply.selectedRowId)
}
@@ -41822,15 +43783,15 @@ inline void SingleSelectReply::set_allocated_selectedrowid(std::string* selected
// optional string title = 1;
inline bool ListResponseMessage::_internal_has_title() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ListResponseMessage::has_title() const {
return _internal_has_title();
}
inline void ListResponseMessage::clear_title() {
- title_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.title_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ListResponseMessage::title() const {
// @@protoc_insertion_point(field_get:proto.ListResponseMessage.title)
@@ -41839,8 +43800,8 @@ inline const std::string& ListResponseMessage::title() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListResponseMessage.title)
}
inline std::string* ListResponseMessage::mutable_title() {
@@ -41849,49 +43810,59 @@ inline std::string* ListResponseMessage::mutable_title() {
return _s;
}
inline const std::string& ListResponseMessage::_internal_title() const {
- return title_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.title_.Set(value, GetArenaForAllocation());
}
inline std::string* ListResponseMessage::_internal_mutable_title() {
- _has_bits_[0] |= 0x00000001u;
- return title_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.title_.Mutable(GetArenaForAllocation());
}
inline std::string* ListResponseMessage::release_title() {
// @@protoc_insertion_point(field_release:proto.ListResponseMessage.title)
if (!_internal_has_title()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return title_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.title_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ListResponseMessage::set_allocated_title(std::string* title) {
if (title != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- title_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), title,
- GetArenaForAllocation());
+ _impl_.title_.SetAllocated(title, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.title_.IsDefault()) {
+ _impl_.title_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ListResponseMessage.title)
}
// optional .proto.ListResponseMessage.ListResponseMessageListType listType = 2;
inline bool ListResponseMessage::_internal_has_listtype() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool ListResponseMessage::has_listtype() const {
return _internal_has_listtype();
}
inline void ListResponseMessage::clear_listtype() {
- listtype_ = 0;
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.listtype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline ::proto::ListResponseMessage_ListResponseMessageListType ListResponseMessage::_internal_listtype() const {
- return static_cast< ::proto::ListResponseMessage_ListResponseMessageListType >(listtype_);
+ return static_cast< ::proto::ListResponseMessage_ListResponseMessageListType >(_impl_.listtype_);
}
inline ::proto::ListResponseMessage_ListResponseMessageListType ListResponseMessage::listtype() const {
// @@protoc_insertion_point(field_get:proto.ListResponseMessage.listType)
@@ -41899,8 +43870,8 @@ inline ::proto::ListResponseMessage_ListResponseMessageListType ListResponseMess
}
inline void ListResponseMessage::_internal_set_listtype(::proto::ListResponseMessage_ListResponseMessageListType value) {
assert(::proto::ListResponseMessage_ListResponseMessageListType_IsValid(value));
- _has_bits_[0] |= 0x00000010u;
- listtype_ = value;
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.listtype_ = value;
}
inline void ListResponseMessage::set_listtype(::proto::ListResponseMessage_ListResponseMessageListType value) {
_internal_set_listtype(value);
@@ -41909,19 +43880,19 @@ inline void ListResponseMessage::set_listtype(::proto::ListResponseMessage_ListR
// optional .proto.SingleSelectReply singleSelectReply = 3;
inline bool ListResponseMessage::_internal_has_singleselectreply() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || singleselectreply_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.singleselectreply_ != nullptr);
return value;
}
inline bool ListResponseMessage::has_singleselectreply() const {
return _internal_has_singleselectreply();
}
inline void ListResponseMessage::clear_singleselectreply() {
- if (singleselectreply_ != nullptr) singleselectreply_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.singleselectreply_ != nullptr) _impl_.singleselectreply_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::SingleSelectReply& ListResponseMessage::_internal_singleselectreply() const {
- const ::proto::SingleSelectReply* p = singleselectreply_;
+ const ::proto::SingleSelectReply* p = _impl_.singleselectreply_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::SingleSelectReply&>(
::proto::_SingleSelectReply_default_instance_);
}
@@ -41932,20 +43903,20 @@ inline const ::proto::SingleSelectReply& ListResponseMessage::singleselectreply(
inline void ListResponseMessage::unsafe_arena_set_allocated_singleselectreply(
::proto::SingleSelectReply* singleselectreply) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(singleselectreply_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.singleselectreply_);
}
- singleselectreply_ = singleselectreply;
+ _impl_.singleselectreply_ = singleselectreply;
if (singleselectreply) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ListResponseMessage.singleSelectReply)
}
inline ::proto::SingleSelectReply* ListResponseMessage::release_singleselectreply() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::SingleSelectReply* temp = singleselectreply_;
- singleselectreply_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::SingleSelectReply* temp = _impl_.singleselectreply_;
+ _impl_.singleselectreply_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -41959,18 +43930,18 @@ inline ::proto::SingleSelectReply* ListResponseMessage::release_singleselectrepl
}
inline ::proto::SingleSelectReply* ListResponseMessage::unsafe_arena_release_singleselectreply() {
// @@protoc_insertion_point(field_release:proto.ListResponseMessage.singleSelectReply)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::SingleSelectReply* temp = singleselectreply_;
- singleselectreply_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::SingleSelectReply* temp = _impl_.singleselectreply_;
+ _impl_.singleselectreply_ = nullptr;
return temp;
}
inline ::proto::SingleSelectReply* ListResponseMessage::_internal_mutable_singleselectreply() {
- _has_bits_[0] |= 0x00000004u;
- if (singleselectreply_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.singleselectreply_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::SingleSelectReply>(GetArenaForAllocation());
- singleselectreply_ = p;
+ _impl_.singleselectreply_ = p;
}
- return singleselectreply_;
+ return _impl_.singleselectreply_;
}
inline ::proto::SingleSelectReply* ListResponseMessage::mutable_singleselectreply() {
::proto::SingleSelectReply* _msg = _internal_mutable_singleselectreply();
@@ -41980,38 +43951,38 @@ inline ::proto::SingleSelectReply* ListResponseMessage::mutable_singleselectrepl
inline void ListResponseMessage::set_allocated_singleselectreply(::proto::SingleSelectReply* singleselectreply) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete singleselectreply_;
+ delete _impl_.singleselectreply_;
}
if (singleselectreply) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::SingleSelectReply>::GetOwningArena(singleselectreply);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(singleselectreply);
if (message_arena != submessage_arena) {
singleselectreply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, singleselectreply, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- singleselectreply_ = singleselectreply;
+ _impl_.singleselectreply_ = singleselectreply;
// @@protoc_insertion_point(field_set_allocated:proto.ListResponseMessage.singleSelectReply)
}
// optional .proto.ContextInfo contextInfo = 4;
inline bool ListResponseMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool ListResponseMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void ListResponseMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000008u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const ::proto::ContextInfo& ListResponseMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -42022,20 +43993,20 @@ inline const ::proto::ContextInfo& ListResponseMessage::contextinfo() const {
inline void ListResponseMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ListResponseMessage.contextInfo)
}
inline ::proto::ContextInfo* ListResponseMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000008u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -42049,18 +44020,18 @@ inline ::proto::ContextInfo* ListResponseMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* ListResponseMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.ListResponseMessage.contextInfo)
- _has_bits_[0] &= ~0x00000008u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* ListResponseMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000008u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* ListResponseMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -42070,34 +44041,34 @@ inline ::proto::ContextInfo* ListResponseMessage::mutable_contextinfo() {
inline void ListResponseMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.ListResponseMessage.contextInfo)
}
// optional string description = 5;
inline bool ListResponseMessage::_internal_has_description() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ListResponseMessage::has_description() const {
return _internal_has_description();
}
inline void ListResponseMessage::clear_description() {
- description_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.description_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ListResponseMessage::description() const {
// @@protoc_insertion_point(field_get:proto.ListResponseMessage.description)
@@ -42106,8 +44077,8 @@ inline const std::string& ListResponseMessage::description() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ListResponseMessage.description)
}
inline std::string* ListResponseMessage::mutable_description() {
@@ -42116,32 +44087,42 @@ inline std::string* ListResponseMessage::mutable_description() {
return _s;
}
inline const std::string& ListResponseMessage::_internal_description() const {
- return description_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.description_.Set(value, GetArenaForAllocation());
}
inline std::string* ListResponseMessage::_internal_mutable_description() {
- _has_bits_[0] |= 0x00000002u;
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.description_.Mutable(GetArenaForAllocation());
}
inline std::string* ListResponseMessage::release_description() {
// @@protoc_insertion_point(field_release:proto.ListResponseMessage.description)
if (!_internal_has_description()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.description_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ListResponseMessage::set_allocated_description(std::string* description) {
if (description != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
+ _impl_.description_.SetAllocated(description, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.description_.IsDefault()) {
+ _impl_.description_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ListResponseMessage.description)
}
@@ -42151,15 +44132,15 @@ inline void ListResponseMessage::set_allocated_description(std::string* descript
// optional string groupJid = 1;
inline bool GroupInviteMessage::_internal_has_groupjid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool GroupInviteMessage::has_groupjid() const {
return _internal_has_groupjid();
}
inline void GroupInviteMessage::clear_groupjid() {
- groupjid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.groupjid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& GroupInviteMessage::groupjid() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.groupJid)
@@ -42168,8 +44149,8 @@ inline const std::string& GroupInviteMessage::groupjid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.groupjid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.groupJid)
}
inline std::string* GroupInviteMessage::mutable_groupjid() {
@@ -42178,46 +44159,56 @@ inline std::string* GroupInviteMessage::mutable_groupjid() {
return _s;
}
inline const std::string& GroupInviteMessage::_internal_groupjid() const {
- return groupjid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.groupjid_.Set(value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_groupjid() {
- _has_bits_[0] |= 0x00000001u;
- return groupjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.groupjid_.Mutable(GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_groupjid() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.groupJid)
if (!_internal_has_groupjid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return groupjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.groupjid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.groupjid_.IsDefault()) {
+ _impl_.groupjid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void GroupInviteMessage::set_allocated_groupjid(std::string* groupjid) {
if (groupjid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- groupjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), groupjid,
- GetArenaForAllocation());
+ _impl_.groupjid_.SetAllocated(groupjid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.groupjid_.IsDefault()) {
+ _impl_.groupjid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.groupJid)
}
// optional string inviteCode = 2;
inline bool GroupInviteMessage::_internal_has_invitecode() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool GroupInviteMessage::has_invitecode() const {
return _internal_has_invitecode();
}
inline void GroupInviteMessage::clear_invitecode() {
- invitecode_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.invitecode_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& GroupInviteMessage::invitecode() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.inviteCode)
@@ -42226,8 +44217,8 @@ inline const std::string& GroupInviteMessage::invitecode() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.invitecode_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.inviteCode)
}
inline std::string* GroupInviteMessage::mutable_invitecode() {
@@ -42236,74 +44227,84 @@ inline std::string* GroupInviteMessage::mutable_invitecode() {
return _s;
}
inline const std::string& GroupInviteMessage::_internal_invitecode() const {
- return invitecode_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.invitecode_.Set(value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_invitecode() {
- _has_bits_[0] |= 0x00000002u;
- return invitecode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.invitecode_.Mutable(GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_invitecode() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.inviteCode)
if (!_internal_has_invitecode()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return invitecode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.invitecode_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.invitecode_.IsDefault()) {
+ _impl_.invitecode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void GroupInviteMessage::set_allocated_invitecode(std::string* invitecode) {
if (invitecode != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- invitecode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), invitecode,
- GetArenaForAllocation());
+ _impl_.invitecode_.SetAllocated(invitecode, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.invitecode_.IsDefault()) {
+ _impl_.invitecode_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.inviteCode)
}
// optional int64 inviteExpiration = 3;
inline bool GroupInviteMessage::_internal_has_inviteexpiration() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool GroupInviteMessage::has_inviteexpiration() const {
return _internal_has_inviteexpiration();
}
inline void GroupInviteMessage::clear_inviteexpiration() {
- inviteexpiration_ = int64_t{0};
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.inviteexpiration_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 GroupInviteMessage::_internal_inviteexpiration() const {
- return inviteexpiration_;
+inline int64_t GroupInviteMessage::_internal_inviteexpiration() const {
+ return _impl_.inviteexpiration_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 GroupInviteMessage::inviteexpiration() const {
+inline int64_t GroupInviteMessage::inviteexpiration() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.inviteExpiration)
return _internal_inviteexpiration();
}
-inline void GroupInviteMessage::_internal_set_inviteexpiration(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000040u;
- inviteexpiration_ = value;
+inline void GroupInviteMessage::_internal_set_inviteexpiration(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.inviteexpiration_ = value;
}
-inline void GroupInviteMessage::set_inviteexpiration(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void GroupInviteMessage::set_inviteexpiration(int64_t value) {
_internal_set_inviteexpiration(value);
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.inviteExpiration)
}
// optional string groupName = 4;
inline bool GroupInviteMessage::_internal_has_groupname() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool GroupInviteMessage::has_groupname() const {
return _internal_has_groupname();
}
inline void GroupInviteMessage::clear_groupname() {
- groupname_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.groupname_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& GroupInviteMessage::groupname() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.groupName)
@@ -42312,8 +44313,8 @@ inline const std::string& GroupInviteMessage::groupname() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.groupname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.groupName)
}
inline std::string* GroupInviteMessage::mutable_groupname() {
@@ -42322,46 +44323,56 @@ inline std::string* GroupInviteMessage::mutable_groupname() {
return _s;
}
inline const std::string& GroupInviteMessage::_internal_groupname() const {
- return groupname_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.groupname_.Set(value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_groupname() {
- _has_bits_[0] |= 0x00000004u;
- return groupname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.groupname_.Mutable(GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_groupname() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.groupName)
if (!_internal_has_groupname()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return groupname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.groupname_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.groupname_.IsDefault()) {
+ _impl_.groupname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void GroupInviteMessage::set_allocated_groupname(std::string* groupname) {
if (groupname != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.groupname_.SetAllocated(groupname, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.groupname_.IsDefault()) {
+ _impl_.groupname_.Set("", GetArenaForAllocation());
}
- groupname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), groupname,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.groupName)
}
// optional bytes jpegThumbnail = 5;
inline bool GroupInviteMessage::_internal_has_jpegthumbnail() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool GroupInviteMessage::has_jpegthumbnail() const {
return _internal_has_jpegthumbnail();
}
inline void GroupInviteMessage::clear_jpegthumbnail() {
- jpegthumbnail_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.jpegthumbnail_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& GroupInviteMessage::jpegthumbnail() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.jpegThumbnail)
@@ -42370,8 +44381,8 @@ inline const std::string& GroupInviteMessage::jpegthumbnail() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.jpegthumbnail_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.jpegThumbnail)
}
inline std::string* GroupInviteMessage::mutable_jpegthumbnail() {
@@ -42380,46 +44391,56 @@ inline std::string* GroupInviteMessage::mutable_jpegthumbnail() {
return _s;
}
inline const std::string& GroupInviteMessage::_internal_jpegthumbnail() const {
- return jpegthumbnail_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.jpegthumbnail_.Set(value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_jpegthumbnail() {
- _has_bits_[0] |= 0x00000008u;
- return jpegthumbnail_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.jpegthumbnail_.Mutable(GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_jpegthumbnail() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.jpegThumbnail)
if (!_internal_has_jpegthumbnail()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return jpegthumbnail_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.jpegthumbnail_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void GroupInviteMessage::set_allocated_jpegthumbnail(std::string* jpegthumbnail) {
if (jpegthumbnail != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.jpegthumbnail_.SetAllocated(jpegthumbnail, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.jpegthumbnail_.IsDefault()) {
+ _impl_.jpegthumbnail_.Set("", GetArenaForAllocation());
}
- jpegthumbnail_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), jpegthumbnail,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.jpegThumbnail)
}
// optional string caption = 6;
inline bool GroupInviteMessage::_internal_has_caption() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool GroupInviteMessage::has_caption() const {
return _internal_has_caption();
}
inline void GroupInviteMessage::clear_caption() {
- caption_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.caption_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const std::string& GroupInviteMessage::caption() const {
// @@protoc_insertion_point(field_get:proto.GroupInviteMessage.caption)
@@ -42428,8 +44449,8 @@ inline const std::string& GroupInviteMessage::caption() const {
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());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.caption_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.GroupInviteMessage.caption)
}
inline std::string* GroupInviteMessage::mutable_caption() {
@@ -42438,50 +44459,60 @@ inline std::string* GroupInviteMessage::mutable_caption() {
return _s;
}
inline const std::string& GroupInviteMessage::_internal_caption() const {
- return caption_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.caption_.Set(value, GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::_internal_mutable_caption() {
- _has_bits_[0] |= 0x00000010u;
- return caption_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000010u;
+ return _impl_.caption_.Mutable(GetArenaForAllocation());
}
inline std::string* GroupInviteMessage::release_caption() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.caption)
if (!_internal_has_caption()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000010u;
- return caption_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ auto* p = _impl_.caption_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void GroupInviteMessage::set_allocated_caption(std::string* caption) {
if (caption != nullptr) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ }
+ _impl_.caption_.SetAllocated(caption, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.caption_.IsDefault()) {
+ _impl_.caption_.Set("", GetArenaForAllocation());
}
- caption_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), caption,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.caption)
}
// optional .proto.ContextInfo contextInfo = 7;
inline bool GroupInviteMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool GroupInviteMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void GroupInviteMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000020u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const ::proto::ContextInfo& GroupInviteMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -42492,20 +44523,20 @@ inline const ::proto::ContextInfo& GroupInviteMessage::contextinfo() const {
inline void GroupInviteMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.GroupInviteMessage.contextInfo)
}
inline ::proto::ContextInfo* GroupInviteMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000020u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -42519,18 +44550,18 @@ inline ::proto::ContextInfo* GroupInviteMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* GroupInviteMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.GroupInviteMessage.contextInfo)
- _has_bits_[0] &= ~0x00000020u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* GroupInviteMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000020u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* GroupInviteMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -42540,20 +44571,20 @@ inline ::proto::ContextInfo* GroupInviteMessage::mutable_contextinfo() {
inline void GroupInviteMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.GroupInviteMessage.contextInfo)
}
@@ -42563,15 +44594,15 @@ inline void GroupInviteMessage::set_allocated_contextinfo(::proto::ContextInfo*
// optional string chatJid = 1;
inline bool EphemeralSetting::_internal_has_chatjid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool EphemeralSetting::has_chatjid() const {
return _internal_has_chatjid();
}
inline void EphemeralSetting::clear_chatjid() {
- chatjid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.chatjid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& EphemeralSetting::chatjid() const {
// @@protoc_insertion_point(field_get:proto.EphemeralSetting.chatJid)
@@ -42580,8 +44611,8 @@ inline const std::string& EphemeralSetting::chatjid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.chatjid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.EphemeralSetting.chatJid)
}
inline std::string* EphemeralSetting::mutable_chatjid() {
@@ -42590,87 +44621,97 @@ inline std::string* EphemeralSetting::mutable_chatjid() {
return _s;
}
inline const std::string& EphemeralSetting::_internal_chatjid() const {
- return chatjid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.chatjid_.Set(value, GetArenaForAllocation());
}
inline std::string* EphemeralSetting::_internal_mutable_chatjid() {
- _has_bits_[0] |= 0x00000001u;
- return chatjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.chatjid_.Mutable(GetArenaForAllocation());
}
inline std::string* EphemeralSetting::release_chatjid() {
// @@protoc_insertion_point(field_release:proto.EphemeralSetting.chatJid)
if (!_internal_has_chatjid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return chatjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.chatjid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.chatjid_.IsDefault()) {
+ _impl_.chatjid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void EphemeralSetting::set_allocated_chatjid(std::string* chatjid) {
if (chatjid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.chatjid_.SetAllocated(chatjid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.chatjid_.IsDefault()) {
+ _impl_.chatjid_.Set("", GetArenaForAllocation());
}
- chatjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), chatjid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.EphemeralSetting.chatJid)
}
// optional uint32 ephemeralExpiration = 2;
inline bool EphemeralSetting::_internal_has_ephemeralexpiration() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool EphemeralSetting::has_ephemeralexpiration() const {
return _internal_has_ephemeralexpiration();
}
inline void EphemeralSetting::clear_ephemeralexpiration() {
- ephemeralexpiration_ = 0u;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.ephemeralexpiration_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 EphemeralSetting::_internal_ephemeralexpiration() const {
- return ephemeralexpiration_;
+inline uint32_t EphemeralSetting::_internal_ephemeralexpiration() const {
+ return _impl_.ephemeralexpiration_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 EphemeralSetting::ephemeralexpiration() const {
+inline uint32_t EphemeralSetting::ephemeralexpiration() const {
// @@protoc_insertion_point(field_get:proto.EphemeralSetting.ephemeralExpiration)
return _internal_ephemeralexpiration();
}
-inline void EphemeralSetting::_internal_set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000004u;
- ephemeralexpiration_ = value;
+inline void EphemeralSetting::_internal_set_ephemeralexpiration(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.ephemeralexpiration_ = value;
}
-inline void EphemeralSetting::set_ephemeralexpiration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void EphemeralSetting::set_ephemeralexpiration(uint32_t value) {
_internal_set_ephemeralexpiration(value);
// @@protoc_insertion_point(field_set:proto.EphemeralSetting.ephemeralExpiration)
}
// optional int64 ephemeralSettingTimestamp = 3;
inline bool EphemeralSetting::_internal_has_ephemeralsettingtimestamp() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool EphemeralSetting::has_ephemeralsettingtimestamp() const {
return _internal_has_ephemeralsettingtimestamp();
}
inline void EphemeralSetting::clear_ephemeralsettingtimestamp() {
- ephemeralsettingtimestamp_ = int64_t{0};
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.ephemeralsettingtimestamp_ = int64_t{0};
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 EphemeralSetting::_internal_ephemeralsettingtimestamp() const {
- return ephemeralsettingtimestamp_;
+inline int64_t EphemeralSetting::_internal_ephemeralsettingtimestamp() const {
+ return _impl_.ephemeralsettingtimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::int64 EphemeralSetting::ephemeralsettingtimestamp() const {
+inline int64_t EphemeralSetting::ephemeralsettingtimestamp() const {
// @@protoc_insertion_point(field_get:proto.EphemeralSetting.ephemeralSettingTimestamp)
return _internal_ephemeralsettingtimestamp();
}
-inline void EphemeralSetting::_internal_set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
- _has_bits_[0] |= 0x00000002u;
- ephemeralsettingtimestamp_ = value;
+inline void EphemeralSetting::_internal_set_ephemeralsettingtimestamp(int64_t value) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.ephemeralsettingtimestamp_ = value;
}
-inline void EphemeralSetting::set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE_ID::int64 value) {
+inline void EphemeralSetting::set_ephemeralsettingtimestamp(int64_t value) {
_internal_set_ephemeralsettingtimestamp(value);
// @@protoc_insertion_point(field_set:proto.EphemeralSetting.ephemeralSettingTimestamp)
}
@@ -42681,15 +44722,15 @@ inline void EphemeralSetting::set_ephemeralsettingtimestamp(::PROTOBUF_NAMESPACE
// optional string destinationJid = 1;
inline bool DeviceSentMessage::_internal_has_destinationjid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool DeviceSentMessage::has_destinationjid() const {
return _internal_has_destinationjid();
}
inline void DeviceSentMessage::clear_destinationjid() {
- destinationjid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.destinationjid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& DeviceSentMessage::destinationjid() const {
// @@protoc_insertion_point(field_get:proto.DeviceSentMessage.destinationJid)
@@ -42698,8 +44739,8 @@ inline const std::string& DeviceSentMessage::destinationjid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.destinationjid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DeviceSentMessage.destinationJid)
}
inline std::string* DeviceSentMessage::mutable_destinationjid() {
@@ -42708,50 +44749,60 @@ inline std::string* DeviceSentMessage::mutable_destinationjid() {
return _s;
}
inline const std::string& DeviceSentMessage::_internal_destinationjid() const {
- return destinationjid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.destinationjid_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceSentMessage::_internal_mutable_destinationjid() {
- _has_bits_[0] |= 0x00000001u;
- return destinationjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.destinationjid_.Mutable(GetArenaForAllocation());
}
inline std::string* DeviceSentMessage::release_destinationjid() {
// @@protoc_insertion_point(field_release:proto.DeviceSentMessage.destinationJid)
if (!_internal_has_destinationjid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return destinationjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.destinationjid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.destinationjid_.IsDefault()) {
+ _impl_.destinationjid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DeviceSentMessage::set_allocated_destinationjid(std::string* destinationjid) {
if (destinationjid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.destinationjid_.SetAllocated(destinationjid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.destinationjid_.IsDefault()) {
+ _impl_.destinationjid_.Set("", GetArenaForAllocation());
}
- destinationjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), destinationjid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DeviceSentMessage.destinationJid)
}
// optional .proto.Message message = 2;
inline bool DeviceSentMessage::_internal_has_message() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || message_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.message_ != nullptr);
return value;
}
inline bool DeviceSentMessage::has_message() const {
return _internal_has_message();
}
inline void DeviceSentMessage::clear_message() {
- if (message_ != nullptr) message_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.message_ != nullptr) _impl_.message_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::Message& DeviceSentMessage::_internal_message() const {
- const ::proto::Message* p = message_;
+ const ::proto::Message* p = _impl_.message_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Message&>(
::proto::_Message_default_instance_);
}
@@ -42762,20 +44813,20 @@ inline const ::proto::Message& DeviceSentMessage::message() const {
inline void DeviceSentMessage::unsafe_arena_set_allocated_message(
::proto::Message* message) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(message_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.message_);
}
- message_ = message;
+ _impl_.message_ = message;
if (message) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.DeviceSentMessage.message)
}
inline ::proto::Message* DeviceSentMessage::release_message() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::Message* temp = message_;
- message_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::Message* temp = _impl_.message_;
+ _impl_.message_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -42789,18 +44840,18 @@ inline ::proto::Message* DeviceSentMessage::release_message() {
}
inline ::proto::Message* DeviceSentMessage::unsafe_arena_release_message() {
// @@protoc_insertion_point(field_release:proto.DeviceSentMessage.message)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::Message* temp = message_;
- message_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::Message* temp = _impl_.message_;
+ _impl_.message_ = nullptr;
return temp;
}
inline ::proto::Message* DeviceSentMessage::_internal_mutable_message() {
- _has_bits_[0] |= 0x00000004u;
- if (message_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.message_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
- message_ = p;
+ _impl_.message_ = p;
}
- return message_;
+ return _impl_.message_;
}
inline ::proto::Message* DeviceSentMessage::mutable_message() {
::proto::Message* _msg = _internal_mutable_message();
@@ -42810,34 +44861,34 @@ inline ::proto::Message* DeviceSentMessage::mutable_message() {
inline void DeviceSentMessage::set_allocated_message(::proto::Message* message) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete message_;
+ delete _impl_.message_;
}
if (message) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(message);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(message);
if (message_arena != submessage_arena) {
message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, message, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- message_ = message;
+ _impl_.message_ = message;
// @@protoc_insertion_point(field_set_allocated:proto.DeviceSentMessage.message)
}
// optional string phash = 3;
inline bool DeviceSentMessage::_internal_has_phash() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool DeviceSentMessage::has_phash() const {
return _internal_has_phash();
}
inline void DeviceSentMessage::clear_phash() {
- phash_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.phash_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& DeviceSentMessage::phash() const {
// @@protoc_insertion_point(field_get:proto.DeviceSentMessage.phash)
@@ -42846,8 +44897,8 @@ inline const std::string& DeviceSentMessage::phash() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.phash_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.DeviceSentMessage.phash)
}
inline std::string* DeviceSentMessage::mutable_phash() {
@@ -42856,63 +44907,73 @@ inline std::string* DeviceSentMessage::mutable_phash() {
return _s;
}
inline const std::string& DeviceSentMessage::_internal_phash() const {
- return phash_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.phash_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceSentMessage::_internal_mutable_phash() {
- _has_bits_[0] |= 0x00000002u;
- return phash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.phash_.Mutable(GetArenaForAllocation());
}
inline std::string* DeviceSentMessage::release_phash() {
// @@protoc_insertion_point(field_release:proto.DeviceSentMessage.phash)
if (!_internal_has_phash()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return phash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.phash_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.phash_.IsDefault()) {
+ _impl_.phash_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void DeviceSentMessage::set_allocated_phash(std::string* phash) {
if (phash != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.phash_.SetAllocated(phash, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.phash_.IsDefault()) {
+ _impl_.phash_.Set("", GetArenaForAllocation());
}
- phash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), phash,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.DeviceSentMessage.phash)
}
// repeated .proto.EphemeralSetting broadcastEphemeralSettings = 4;
inline int DeviceSentMessage::_internal_broadcastephemeralsettings_size() const {
- return broadcastephemeralsettings_.size();
+ return _impl_.broadcastephemeralsettings_.size();
}
inline int DeviceSentMessage::broadcastephemeralsettings_size() const {
return _internal_broadcastephemeralsettings_size();
}
inline void DeviceSentMessage::clear_broadcastephemeralsettings() {
- broadcastephemeralsettings_.Clear();
+ _impl_.broadcastephemeralsettings_.Clear();
}
inline ::proto::EphemeralSetting* DeviceSentMessage::mutable_broadcastephemeralsettings(int index) {
// @@protoc_insertion_point(field_mutable:proto.DeviceSentMessage.broadcastEphemeralSettings)
- return broadcastephemeralsettings_.Mutable(index);
+ return _impl_.broadcastephemeralsettings_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::EphemeralSetting >*
DeviceSentMessage::mutable_broadcastephemeralsettings() {
// @@protoc_insertion_point(field_mutable_list:proto.DeviceSentMessage.broadcastEphemeralSettings)
- return &broadcastephemeralsettings_;
+ return &_impl_.broadcastephemeralsettings_;
}
inline const ::proto::EphemeralSetting& DeviceSentMessage::_internal_broadcastephemeralsettings(int index) const {
- return broadcastephemeralsettings_.Get(index);
+ return _impl_.broadcastephemeralsettings_.Get(index);
}
inline const ::proto::EphemeralSetting& DeviceSentMessage::broadcastephemeralsettings(int index) const {
// @@protoc_insertion_point(field_get:proto.DeviceSentMessage.broadcastEphemeralSettings)
return _internal_broadcastephemeralsettings(index);
}
inline ::proto::EphemeralSetting* DeviceSentMessage::_internal_add_broadcastephemeralsettings() {
- return broadcastephemeralsettings_.Add();
+ return _impl_.broadcastephemeralsettings_.Add();
}
inline ::proto::EphemeralSetting* DeviceSentMessage::add_broadcastephemeralsettings() {
::proto::EphemeralSetting* _add = _internal_add_broadcastephemeralsettings();
@@ -42922,7 +44983,7 @@ inline ::proto::EphemeralSetting* DeviceSentMessage::add_broadcastephemeralsetti
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::EphemeralSetting >&
DeviceSentMessage::broadcastephemeralsettings() const {
// @@protoc_insertion_point(field_list:proto.DeviceSentMessage.broadcastEphemeralSettings)
- return broadcastephemeralsettings_;
+ return _impl_.broadcastephemeralsettings_;
}
// -------------------------------------------------------------------
@@ -42931,19 +44992,19 @@ DeviceSentMessage::broadcastephemeralsettings() const {
// optional .proto.Message message = 1;
inline bool FutureProofMessage::_internal_has_message() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || message_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.message_ != nullptr);
return value;
}
inline bool FutureProofMessage::has_message() const {
return _internal_has_message();
}
inline void FutureProofMessage::clear_message() {
- if (message_ != nullptr) message_->Clear();
- _has_bits_[0] &= ~0x00000001u;
+ if (_impl_.message_ != nullptr) _impl_.message_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::proto::Message& FutureProofMessage::_internal_message() const {
- const ::proto::Message* p = message_;
+ const ::proto::Message* p = _impl_.message_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Message&>(
::proto::_Message_default_instance_);
}
@@ -42954,20 +45015,20 @@ inline const ::proto::Message& FutureProofMessage::message() const {
inline void FutureProofMessage::unsafe_arena_set_allocated_message(
::proto::Message* message) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(message_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.message_);
}
- message_ = message;
+ _impl_.message_ = message;
if (message) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.FutureProofMessage.message)
}
inline ::proto::Message* FutureProofMessage::release_message() {
- _has_bits_[0] &= ~0x00000001u;
- ::proto::Message* temp = message_;
- message_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::Message* temp = _impl_.message_;
+ _impl_.message_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -42981,18 +45042,18 @@ inline ::proto::Message* FutureProofMessage::release_message() {
}
inline ::proto::Message* FutureProofMessage::unsafe_arena_release_message() {
// @@protoc_insertion_point(field_release:proto.FutureProofMessage.message)
- _has_bits_[0] &= ~0x00000001u;
- ::proto::Message* temp = message_;
- message_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ ::proto::Message* temp = _impl_.message_;
+ _impl_.message_ = nullptr;
return temp;
}
inline ::proto::Message* FutureProofMessage::_internal_mutable_message() {
- _has_bits_[0] |= 0x00000001u;
- if (message_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ if (_impl_.message_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
- message_ = p;
+ _impl_.message_ = p;
}
- return message_;
+ return _impl_.message_;
}
inline ::proto::Message* FutureProofMessage::mutable_message() {
::proto::Message* _msg = _internal_mutable_message();
@@ -43002,20 +45063,20 @@ inline ::proto::Message* FutureProofMessage::mutable_message() {
inline void FutureProofMessage::set_allocated_message(::proto::Message* message) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete message_;
+ delete _impl_.message_;
}
if (message) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(message);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(message);
if (message_arena != submessage_arena) {
message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, message, submessage_arena);
}
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- message_ = message;
+ _impl_.message_ = message;
// @@protoc_insertion_point(field_set_allocated:proto.FutureProofMessage.message)
}
@@ -43025,15 +45086,15 @@ inline void FutureProofMessage::set_allocated_message(::proto::Message* message)
// optional string displayText = 1;
inline bool ButtonText::_internal_has_displaytext() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ButtonText::has_displaytext() const {
return _internal_has_displaytext();
}
inline void ButtonText::clear_displaytext() {
- displaytext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.displaytext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ButtonText::displaytext() const {
// @@protoc_insertion_point(field_get:proto.ButtonText.displayText)
@@ -43042,8 +45103,8 @@ inline const std::string& ButtonText::displaytext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displaytext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonText.displayText)
}
inline std::string* ButtonText::mutable_displaytext() {
@@ -43052,32 +45113,42 @@ inline std::string* ButtonText::mutable_displaytext() {
return _s;
}
inline const std::string& ButtonText::_internal_displaytext() const {
- return displaytext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.displaytext_.Set(value, GetArenaForAllocation());
}
inline std::string* ButtonText::_internal_mutable_displaytext() {
- _has_bits_[0] |= 0x00000001u;
- return displaytext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.displaytext_.Mutable(GetArenaForAllocation());
}
inline std::string* ButtonText::release_displaytext() {
// @@protoc_insertion_point(field_release:proto.ButtonText.displayText)
if (!_internal_has_displaytext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return displaytext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.displaytext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displaytext_.IsDefault()) {
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ButtonText::set_allocated_displaytext(std::string* displaytext) {
if (displaytext != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.displaytext_.SetAllocated(displaytext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.displaytext_.IsDefault()) {
+ _impl_.displaytext_.Set("", GetArenaForAllocation());
}
- displaytext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), displaytext,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ButtonText.displayText)
}
@@ -43087,15 +45158,15 @@ inline void ButtonText::set_allocated_displaytext(std::string* displaytext) {
// optional string buttonId = 1;
inline bool Button::_internal_has_buttonid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool Button::has_buttonid() const {
return _internal_has_buttonid();
}
inline void Button::clear_buttonid() {
- buttonid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.buttonid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Button::buttonid() const {
// @@protoc_insertion_point(field_get:proto.Button.buttonId)
@@ -43104,8 +45175,8 @@ inline const std::string& Button::buttonid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.buttonid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Button.buttonId)
}
inline std::string* Button::mutable_buttonid() {
@@ -43114,50 +45185,60 @@ inline std::string* Button::mutable_buttonid() {
return _s;
}
inline const std::string& Button::_internal_buttonid() const {
- return buttonid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.buttonid_.Set(value, GetArenaForAllocation());
}
inline std::string* Button::_internal_mutable_buttonid() {
- _has_bits_[0] |= 0x00000001u;
- return buttonid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.buttonid_.Mutable(GetArenaForAllocation());
}
inline std::string* Button::release_buttonid() {
// @@protoc_insertion_point(field_release:proto.Button.buttonId)
if (!_internal_has_buttonid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return buttonid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.buttonid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.buttonid_.IsDefault()) {
+ _impl_.buttonid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Button::set_allocated_buttonid(std::string* buttonid) {
if (buttonid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.buttonid_.SetAllocated(buttonid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.buttonid_.IsDefault()) {
+ _impl_.buttonid_.Set("", GetArenaForAllocation());
}
- buttonid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), buttonid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Button.buttonId)
}
// optional .proto.ButtonText buttonText = 2;
inline bool Button::_internal_has_buttontext() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || buttontext_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.buttontext_ != nullptr);
return value;
}
inline bool Button::has_buttontext() const {
return _internal_has_buttontext();
}
inline void Button::clear_buttontext() {
- if (buttontext_ != nullptr) buttontext_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.buttontext_ != nullptr) _impl_.buttontext_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::ButtonText& Button::_internal_buttontext() const {
- const ::proto::ButtonText* p = buttontext_;
+ const ::proto::ButtonText* p = _impl_.buttontext_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ButtonText&>(
::proto::_ButtonText_default_instance_);
}
@@ -43168,20 +45249,20 @@ inline const ::proto::ButtonText& Button::buttontext() const {
inline void Button::unsafe_arena_set_allocated_buttontext(
::proto::ButtonText* buttontext) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(buttontext_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.buttontext_);
}
- buttontext_ = buttontext;
+ _impl_.buttontext_ = buttontext;
if (buttontext) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Button.buttonText)
}
inline ::proto::ButtonText* Button::release_buttontext() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::ButtonText* temp = buttontext_;
- buttontext_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::ButtonText* temp = _impl_.buttontext_;
+ _impl_.buttontext_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -43195,18 +45276,18 @@ inline ::proto::ButtonText* Button::release_buttontext() {
}
inline ::proto::ButtonText* Button::unsafe_arena_release_buttontext() {
// @@protoc_insertion_point(field_release:proto.Button.buttonText)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::ButtonText* temp = buttontext_;
- buttontext_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::ButtonText* temp = _impl_.buttontext_;
+ _impl_.buttontext_ = nullptr;
return temp;
}
inline ::proto::ButtonText* Button::_internal_mutable_buttontext() {
- _has_bits_[0] |= 0x00000002u;
- if (buttontext_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.buttontext_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ButtonText>(GetArenaForAllocation());
- buttontext_ = p;
+ _impl_.buttontext_ = p;
}
- return buttontext_;
+ return _impl_.buttontext_;
}
inline ::proto::ButtonText* Button::mutable_buttontext() {
::proto::ButtonText* _msg = _internal_mutable_buttontext();
@@ -43216,37 +45297,37 @@ inline ::proto::ButtonText* Button::mutable_buttontext() {
inline void Button::set_allocated_buttontext(::proto::ButtonText* buttontext) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete buttontext_;
+ delete _impl_.buttontext_;
}
if (buttontext) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ButtonText>::GetOwningArena(buttontext);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(buttontext);
if (message_arena != submessage_arena) {
buttontext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, buttontext, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- buttontext_ = buttontext;
+ _impl_.buttontext_ = buttontext;
// @@protoc_insertion_point(field_set_allocated:proto.Button.buttonText)
}
// optional .proto.Button.ButtonType type = 3;
inline bool Button::_internal_has_type() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool Button::has_type() const {
return _internal_has_type();
}
inline void Button::clear_type() {
- type_ = 0;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.type_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline ::proto::Button_ButtonType Button::_internal_type() const {
- return static_cast< ::proto::Button_ButtonType >(type_);
+ return static_cast< ::proto::Button_ButtonType >(_impl_.type_);
}
inline ::proto::Button_ButtonType Button::type() const {
// @@protoc_insertion_point(field_get:proto.Button.type)
@@ -43254,8 +45335,8 @@ inline ::proto::Button_ButtonType Button::type() const {
}
inline void Button::_internal_set_type(::proto::Button_ButtonType value) {
assert(::proto::Button_ButtonType_IsValid(value));
- _has_bits_[0] |= 0x00000004u;
- type_ = value;
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.type_ = value;
}
inline void Button::set_type(::proto::Button_ButtonType value) {
_internal_set_type(value);
@@ -43268,15 +45349,15 @@ inline void Button::set_type(::proto::Button_ButtonType value) {
// optional string contentText = 6;
inline bool ButtonsMessage::_internal_has_contenttext() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ButtonsMessage::has_contenttext() const {
return _internal_has_contenttext();
}
inline void ButtonsMessage::clear_contenttext() {
- contenttext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.contenttext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ButtonsMessage::contenttext() const {
// @@protoc_insertion_point(field_get:proto.ButtonsMessage.contentText)
@@ -43285,8 +45366,8 @@ inline const std::string& ButtonsMessage::contenttext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.contenttext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsMessage.contentText)
}
inline std::string* ButtonsMessage::mutable_contenttext() {
@@ -43295,46 +45376,56 @@ inline std::string* ButtonsMessage::mutable_contenttext() {
return _s;
}
inline const std::string& ButtonsMessage::_internal_contenttext() const {
- return contenttext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.contenttext_.Set(value, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::_internal_mutable_contenttext() {
- _has_bits_[0] |= 0x00000001u;
- return contenttext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.contenttext_.Mutable(GetArenaForAllocation());
}
inline std::string* ButtonsMessage::release_contenttext() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.contentText)
if (!_internal_has_contenttext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return contenttext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.contenttext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.contenttext_.IsDefault()) {
+ _impl_.contenttext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ButtonsMessage::set_allocated_contenttext(std::string* contenttext) {
if (contenttext != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- contenttext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), contenttext,
- GetArenaForAllocation());
+ _impl_.contenttext_.SetAllocated(contenttext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.contenttext_.IsDefault()) {
+ _impl_.contenttext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.contentText)
}
// optional string footerText = 7;
inline bool ButtonsMessage::_internal_has_footertext() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ButtonsMessage::has_footertext() const {
return _internal_has_footertext();
}
inline void ButtonsMessage::clear_footertext() {
- footertext_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.footertext_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ButtonsMessage::footertext() const {
// @@protoc_insertion_point(field_get:proto.ButtonsMessage.footerText)
@@ -43343,8 +45434,8 @@ inline const std::string& ButtonsMessage::footertext() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.footertext_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsMessage.footerText)
}
inline std::string* ButtonsMessage::mutable_footertext() {
@@ -43353,50 +45444,60 @@ inline std::string* ButtonsMessage::mutable_footertext() {
return _s;
}
inline const std::string& ButtonsMessage::_internal_footertext() const {
- return footertext_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.footertext_.Set(value, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::_internal_mutable_footertext() {
- _has_bits_[0] |= 0x00000002u;
- return footertext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.footertext_.Mutable(GetArenaForAllocation());
}
inline std::string* ButtonsMessage::release_footertext() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.footerText)
if (!_internal_has_footertext()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return footertext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.footertext_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.footertext_.IsDefault()) {
+ _impl_.footertext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ButtonsMessage::set_allocated_footertext(std::string* footertext) {
if (footertext != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- footertext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), footertext,
- GetArenaForAllocation());
+ _impl_.footertext_.SetAllocated(footertext, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.footertext_.IsDefault()) {
+ _impl_.footertext_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.footerText)
}
// optional .proto.ContextInfo contextInfo = 8;
inline bool ButtonsMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool ButtonsMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void ButtonsMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::ContextInfo& ButtonsMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -43407,20 +45508,20 @@ inline const ::proto::ContextInfo& ButtonsMessage::contextinfo() const {
inline void ButtonsMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ButtonsMessage.contextInfo)
}
inline ::proto::ContextInfo* ButtonsMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -43434,18 +45535,18 @@ inline ::proto::ContextInfo* ButtonsMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* ButtonsMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.contextInfo)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* ButtonsMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000004u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* ButtonsMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -43455,51 +45556,51 @@ inline ::proto::ContextInfo* ButtonsMessage::mutable_contextinfo() {
inline void ButtonsMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.contextInfo)
}
// repeated .proto.Button buttons = 9;
inline int ButtonsMessage::_internal_buttons_size() const {
- return buttons_.size();
+ return _impl_.buttons_.size();
}
inline int ButtonsMessage::buttons_size() const {
return _internal_buttons_size();
}
inline void ButtonsMessage::clear_buttons() {
- buttons_.Clear();
+ _impl_.buttons_.Clear();
}
inline ::proto::Button* ButtonsMessage::mutable_buttons(int index) {
// @@protoc_insertion_point(field_mutable:proto.ButtonsMessage.buttons)
- return buttons_.Mutable(index);
+ return _impl_.buttons_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Button >*
ButtonsMessage::mutable_buttons() {
// @@protoc_insertion_point(field_mutable_list:proto.ButtonsMessage.buttons)
- return &buttons_;
+ return &_impl_.buttons_;
}
inline const ::proto::Button& ButtonsMessage::_internal_buttons(int index) const {
- return buttons_.Get(index);
+ return _impl_.buttons_.Get(index);
}
inline const ::proto::Button& ButtonsMessage::buttons(int index) const {
// @@protoc_insertion_point(field_get:proto.ButtonsMessage.buttons)
return _internal_buttons(index);
}
inline ::proto::Button* ButtonsMessage::_internal_add_buttons() {
- return buttons_.Add();
+ return _impl_.buttons_.Add();
}
inline ::proto::Button* ButtonsMessage::add_buttons() {
::proto::Button* _add = _internal_add_buttons();
@@ -43509,23 +45610,23 @@ inline ::proto::Button* ButtonsMessage::add_buttons() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::Button >&
ButtonsMessage::buttons() const {
// @@protoc_insertion_point(field_list:proto.ButtonsMessage.buttons)
- return buttons_;
+ return _impl_.buttons_;
}
// optional .proto.ButtonsMessage.ButtonsMessageHeaderType headerType = 10;
inline bool ButtonsMessage::_internal_has_headertype() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool ButtonsMessage::has_headertype() const {
return _internal_has_headertype();
}
inline void ButtonsMessage::clear_headertype() {
- headertype_ = 0;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.headertype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline ::proto::ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::_internal_headertype() const {
- return static_cast< ::proto::ButtonsMessage_ButtonsMessageHeaderType >(headertype_);
+ return static_cast< ::proto::ButtonsMessage_ButtonsMessageHeaderType >(_impl_.headertype_);
}
inline ::proto::ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::headertype() const {
// @@protoc_insertion_point(field_get:proto.ButtonsMessage.headerType)
@@ -43533,8 +45634,8 @@ inline ::proto::ButtonsMessage_ButtonsMessageHeaderType ButtonsMessage::headerty
}
inline void ButtonsMessage::_internal_set_headertype(::proto::ButtonsMessage_ButtonsMessageHeaderType value) {
assert(::proto::ButtonsMessage_ButtonsMessageHeaderType_IsValid(value));
- _has_bits_[0] |= 0x00000008u;
- headertype_ = value;
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.headertype_ = value;
}
inline void ButtonsMessage::set_headertype(::proto::ButtonsMessage_ButtonsMessageHeaderType value) {
_internal_set_headertype(value);
@@ -43549,11 +45650,11 @@ inline bool ButtonsMessage::has_text() const {
return _internal_has_text();
}
inline void ButtonsMessage::set_has_text() {
- _oneof_case_[0] = kText;
+ _impl_._oneof_case_[0] = kText;
}
inline void ButtonsMessage::clear_text() {
if (_internal_has_text()) {
- header_.text_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_.header_.text_.Destroy();
clear_has_header();
}
}
@@ -43566,9 +45667,9 @@ 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());
+ _impl_.header_.text_.InitDefault();
}
- header_.text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
+ _impl_.header_.text_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsMessage.text)
}
inline std::string* ButtonsMessage::mutable_text() {
@@ -43578,7 +45679,7 @@ inline std::string* ButtonsMessage::mutable_text() {
}
inline const std::string& ButtonsMessage::_internal_text() const {
if (_internal_has_text()) {
- return header_.text_.Get();
+ return _impl_.header_.text_.Get();
}
return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
}
@@ -43586,24 +45687,23 @@ inline void ButtonsMessage::_internal_set_text(const std::string& value) {
if (!_internal_has_text()) {
clear_header();
set_has_text();
- header_.text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.header_.text_.InitDefault();
}
- header_.text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
+ _impl_.header_.text_.Set(value, GetArenaForAllocation());
}
inline std::string* ButtonsMessage::_internal_mutable_text() {
if (!_internal_has_text()) {
clear_header();
set_has_text();
- header_.text_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.header_.text_.InitDefault();
}
- return header_.text_.Mutable(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ return _impl_.header_.text_.Mutable( 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(), GetArenaForAllocation());
+ return _impl_.header_.text_.Release();
} else {
return nullptr;
}
@@ -43614,11 +45714,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 = GetArenaForAllocation();
- if (arena != nullptr) {
- arena->Own(text);
- }
+ _impl_.header_.text_.InitAllocated(text, GetArenaForAllocation());
}
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsMessage.text)
}
@@ -43631,12 +45727,12 @@ inline bool ButtonsMessage::has_documentmessage() const {
return _internal_has_documentmessage();
}
inline void ButtonsMessage::set_has_documentmessage() {
- _oneof_case_[0] = kDocumentMessage;
+ _impl_._oneof_case_[0] = kDocumentMessage;
}
inline void ButtonsMessage::clear_documentmessage() {
if (_internal_has_documentmessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete header_.documentmessage_;
+ delete _impl_.header_.documentmessage_;
}
clear_has_header();
}
@@ -43645,11 +45741,11 @@ inline ::proto::DocumentMessage* ButtonsMessage::release_documentmessage() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.documentMessage)
if (_internal_has_documentmessage()) {
clear_has_header();
- ::proto::DocumentMessage* temp = header_.documentmessage_;
+ ::proto::DocumentMessage* temp = _impl_.header_.documentmessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- header_.documentmessage_ = nullptr;
+ _impl_.header_.documentmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -43657,7 +45753,7 @@ inline ::proto::DocumentMessage* ButtonsMessage::release_documentmessage() {
}
inline const ::proto::DocumentMessage& ButtonsMessage::_internal_documentmessage() const {
return _internal_has_documentmessage()
- ? *header_.documentmessage_
+ ? *_impl_.header_.documentmessage_
: reinterpret_cast< ::proto::DocumentMessage&>(::proto::_DocumentMessage_default_instance_);
}
inline const ::proto::DocumentMessage& ButtonsMessage::documentmessage() const {
@@ -43668,8 +45764,8 @@ inline ::proto::DocumentMessage* ButtonsMessage::unsafe_arena_release_documentme
// @@protoc_insertion_point(field_unsafe_arena_release:proto.ButtonsMessage.documentMessage)
if (_internal_has_documentmessage()) {
clear_has_header();
- ::proto::DocumentMessage* temp = header_.documentmessage_;
- header_.documentmessage_ = nullptr;
+ ::proto::DocumentMessage* temp = _impl_.header_.documentmessage_;
+ _impl_.header_.documentmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -43679,7 +45775,7 @@ inline void ButtonsMessage::unsafe_arena_set_allocated_documentmessage(::proto::
clear_header();
if (documentmessage) {
set_has_documentmessage();
- header_.documentmessage_ = documentmessage;
+ _impl_.header_.documentmessage_ = documentmessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ButtonsMessage.documentMessage)
}
@@ -43687,9 +45783,9 @@ inline ::proto::DocumentMessage* ButtonsMessage::_internal_mutable_documentmessa
if (!_internal_has_documentmessage()) {
clear_header();
set_has_documentmessage();
- header_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
+ _impl_.header_.documentmessage_ = CreateMaybeMessage< ::proto::DocumentMessage >(GetArenaForAllocation());
}
- return header_.documentmessage_;
+ return _impl_.header_.documentmessage_;
}
inline ::proto::DocumentMessage* ButtonsMessage::mutable_documentmessage() {
::proto::DocumentMessage* _msg = _internal_mutable_documentmessage();
@@ -43705,12 +45801,12 @@ inline bool ButtonsMessage::has_imagemessage() const {
return _internal_has_imagemessage();
}
inline void ButtonsMessage::set_has_imagemessage() {
- _oneof_case_[0] = kImageMessage;
+ _impl_._oneof_case_[0] = kImageMessage;
}
inline void ButtonsMessage::clear_imagemessage() {
if (_internal_has_imagemessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete header_.imagemessage_;
+ delete _impl_.header_.imagemessage_;
}
clear_has_header();
}
@@ -43719,11 +45815,11 @@ inline ::proto::ImageMessage* ButtonsMessage::release_imagemessage() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.imageMessage)
if (_internal_has_imagemessage()) {
clear_has_header();
- ::proto::ImageMessage* temp = header_.imagemessage_;
+ ::proto::ImageMessage* temp = _impl_.header_.imagemessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- header_.imagemessage_ = nullptr;
+ _impl_.header_.imagemessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -43731,7 +45827,7 @@ inline ::proto::ImageMessage* ButtonsMessage::release_imagemessage() {
}
inline const ::proto::ImageMessage& ButtonsMessage::_internal_imagemessage() const {
return _internal_has_imagemessage()
- ? *header_.imagemessage_
+ ? *_impl_.header_.imagemessage_
: reinterpret_cast< ::proto::ImageMessage&>(::proto::_ImageMessage_default_instance_);
}
inline const ::proto::ImageMessage& ButtonsMessage::imagemessage() const {
@@ -43742,8 +45838,8 @@ inline ::proto::ImageMessage* ButtonsMessage::unsafe_arena_release_imagemessage(
// @@protoc_insertion_point(field_unsafe_arena_release:proto.ButtonsMessage.imageMessage)
if (_internal_has_imagemessage()) {
clear_has_header();
- ::proto::ImageMessage* temp = header_.imagemessage_;
- header_.imagemessage_ = nullptr;
+ ::proto::ImageMessage* temp = _impl_.header_.imagemessage_;
+ _impl_.header_.imagemessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -43753,7 +45849,7 @@ inline void ButtonsMessage::unsafe_arena_set_allocated_imagemessage(::proto::Ima
clear_header();
if (imagemessage) {
set_has_imagemessage();
- header_.imagemessage_ = imagemessage;
+ _impl_.header_.imagemessage_ = imagemessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ButtonsMessage.imageMessage)
}
@@ -43761,9 +45857,9 @@ inline ::proto::ImageMessage* ButtonsMessage::_internal_mutable_imagemessage() {
if (!_internal_has_imagemessage()) {
clear_header();
set_has_imagemessage();
- header_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
+ _impl_.header_.imagemessage_ = CreateMaybeMessage< ::proto::ImageMessage >(GetArenaForAllocation());
}
- return header_.imagemessage_;
+ return _impl_.header_.imagemessage_;
}
inline ::proto::ImageMessage* ButtonsMessage::mutable_imagemessage() {
::proto::ImageMessage* _msg = _internal_mutable_imagemessage();
@@ -43779,12 +45875,12 @@ inline bool ButtonsMessage::has_videomessage() const {
return _internal_has_videomessage();
}
inline void ButtonsMessage::set_has_videomessage() {
- _oneof_case_[0] = kVideoMessage;
+ _impl_._oneof_case_[0] = kVideoMessage;
}
inline void ButtonsMessage::clear_videomessage() {
if (_internal_has_videomessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete header_.videomessage_;
+ delete _impl_.header_.videomessage_;
}
clear_has_header();
}
@@ -43793,11 +45889,11 @@ inline ::proto::VideoMessage* ButtonsMessage::release_videomessage() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.videoMessage)
if (_internal_has_videomessage()) {
clear_has_header();
- ::proto::VideoMessage* temp = header_.videomessage_;
+ ::proto::VideoMessage* temp = _impl_.header_.videomessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- header_.videomessage_ = nullptr;
+ _impl_.header_.videomessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -43805,7 +45901,7 @@ inline ::proto::VideoMessage* ButtonsMessage::release_videomessage() {
}
inline const ::proto::VideoMessage& ButtonsMessage::_internal_videomessage() const {
return _internal_has_videomessage()
- ? *header_.videomessage_
+ ? *_impl_.header_.videomessage_
: reinterpret_cast< ::proto::VideoMessage&>(::proto::_VideoMessage_default_instance_);
}
inline const ::proto::VideoMessage& ButtonsMessage::videomessage() const {
@@ -43816,8 +45912,8 @@ inline ::proto::VideoMessage* ButtonsMessage::unsafe_arena_release_videomessage(
// @@protoc_insertion_point(field_unsafe_arena_release:proto.ButtonsMessage.videoMessage)
if (_internal_has_videomessage()) {
clear_has_header();
- ::proto::VideoMessage* temp = header_.videomessage_;
- header_.videomessage_ = nullptr;
+ ::proto::VideoMessage* temp = _impl_.header_.videomessage_;
+ _impl_.header_.videomessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -43827,7 +45923,7 @@ inline void ButtonsMessage::unsafe_arena_set_allocated_videomessage(::proto::Vid
clear_header();
if (videomessage) {
set_has_videomessage();
- header_.videomessage_ = videomessage;
+ _impl_.header_.videomessage_ = videomessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ButtonsMessage.videoMessage)
}
@@ -43835,9 +45931,9 @@ inline ::proto::VideoMessage* ButtonsMessage::_internal_mutable_videomessage() {
if (!_internal_has_videomessage()) {
clear_header();
set_has_videomessage();
- header_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
+ _impl_.header_.videomessage_ = CreateMaybeMessage< ::proto::VideoMessage >(GetArenaForAllocation());
}
- return header_.videomessage_;
+ return _impl_.header_.videomessage_;
}
inline ::proto::VideoMessage* ButtonsMessage::mutable_videomessage() {
::proto::VideoMessage* _msg = _internal_mutable_videomessage();
@@ -43853,12 +45949,12 @@ inline bool ButtonsMessage::has_locationmessage() const {
return _internal_has_locationmessage();
}
inline void ButtonsMessage::set_has_locationmessage() {
- _oneof_case_[0] = kLocationMessage;
+ _impl_._oneof_case_[0] = kLocationMessage;
}
inline void ButtonsMessage::clear_locationmessage() {
if (_internal_has_locationmessage()) {
if (GetArenaForAllocation() == nullptr) {
- delete header_.locationmessage_;
+ delete _impl_.header_.locationmessage_;
}
clear_has_header();
}
@@ -43867,11 +45963,11 @@ inline ::proto::LocationMessage* ButtonsMessage::release_locationmessage() {
// @@protoc_insertion_point(field_release:proto.ButtonsMessage.locationMessage)
if (_internal_has_locationmessage()) {
clear_has_header();
- ::proto::LocationMessage* temp = header_.locationmessage_;
+ ::proto::LocationMessage* temp = _impl_.header_.locationmessage_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- header_.locationmessage_ = nullptr;
+ _impl_.header_.locationmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -43879,7 +45975,7 @@ inline ::proto::LocationMessage* ButtonsMessage::release_locationmessage() {
}
inline const ::proto::LocationMessage& ButtonsMessage::_internal_locationmessage() const {
return _internal_has_locationmessage()
- ? *header_.locationmessage_
+ ? *_impl_.header_.locationmessage_
: reinterpret_cast< ::proto::LocationMessage&>(::proto::_LocationMessage_default_instance_);
}
inline const ::proto::LocationMessage& ButtonsMessage::locationmessage() const {
@@ -43890,8 +45986,8 @@ inline ::proto::LocationMessage* ButtonsMessage::unsafe_arena_release_locationme
// @@protoc_insertion_point(field_unsafe_arena_release:proto.ButtonsMessage.locationMessage)
if (_internal_has_locationmessage()) {
clear_has_header();
- ::proto::LocationMessage* temp = header_.locationmessage_;
- header_.locationmessage_ = nullptr;
+ ::proto::LocationMessage* temp = _impl_.header_.locationmessage_;
+ _impl_.header_.locationmessage_ = nullptr;
return temp;
} else {
return nullptr;
@@ -43901,7 +45997,7 @@ inline void ButtonsMessage::unsafe_arena_set_allocated_locationmessage(::proto::
clear_header();
if (locationmessage) {
set_has_locationmessage();
- header_.locationmessage_ = locationmessage;
+ _impl_.header_.locationmessage_ = locationmessage;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ButtonsMessage.locationMessage)
}
@@ -43909,9 +46005,9 @@ inline ::proto::LocationMessage* ButtonsMessage::_internal_mutable_locationmessa
if (!_internal_has_locationmessage()) {
clear_header();
set_has_locationmessage();
- header_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
+ _impl_.header_.locationmessage_ = CreateMaybeMessage< ::proto::LocationMessage >(GetArenaForAllocation());
}
- return header_.locationmessage_;
+ return _impl_.header_.locationmessage_;
}
inline ::proto::LocationMessage* ButtonsMessage::mutable_locationmessage() {
::proto::LocationMessage* _msg = _internal_mutable_locationmessage();
@@ -43923,10 +46019,10 @@ inline bool ButtonsMessage::has_header() const {
return header_case() != HEADER_NOT_SET;
}
inline void ButtonsMessage::clear_has_header() {
- _oneof_case_[0] = HEADER_NOT_SET;
+ _impl_._oneof_case_[0] = HEADER_NOT_SET;
}
inline ButtonsMessage::HeaderCase ButtonsMessage::header_case() const {
- return ButtonsMessage::HeaderCase(_oneof_case_[0]);
+ return ButtonsMessage::HeaderCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -43934,15 +46030,15 @@ inline ButtonsMessage::HeaderCase ButtonsMessage::header_case() const {
// optional string selectedButtonId = 1;
inline bool ButtonsResponseMessage::_internal_has_selectedbuttonid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ButtonsResponseMessage::has_selectedbuttonid() const {
return _internal_has_selectedbuttonid();
}
inline void ButtonsResponseMessage::clear_selectedbuttonid() {
- selectedbuttonid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.selectedbuttonid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ButtonsResponseMessage::selectedbuttonid() const {
// @@protoc_insertion_point(field_get:proto.ButtonsResponseMessage.selectedButtonId)
@@ -43951,8 +46047,8 @@ inline const std::string& ButtonsResponseMessage::selectedbuttonid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.selectedbuttonid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsResponseMessage.selectedButtonId)
}
inline std::string* ButtonsResponseMessage::mutable_selectedbuttonid() {
@@ -43961,50 +46057,60 @@ inline std::string* ButtonsResponseMessage::mutable_selectedbuttonid() {
return _s;
}
inline const std::string& ButtonsResponseMessage::_internal_selectedbuttonid() const {
- return selectedbuttonid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.selectedbuttonid_.Set(value, GetArenaForAllocation());
}
inline std::string* ButtonsResponseMessage::_internal_mutable_selectedbuttonid() {
- _has_bits_[0] |= 0x00000001u;
- return selectedbuttonid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.selectedbuttonid_.Mutable(GetArenaForAllocation());
}
inline std::string* ButtonsResponseMessage::release_selectedbuttonid() {
// @@protoc_insertion_point(field_release:proto.ButtonsResponseMessage.selectedButtonId)
if (!_internal_has_selectedbuttonid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return selectedbuttonid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.selectedbuttonid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.selectedbuttonid_.IsDefault()) {
+ _impl_.selectedbuttonid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void ButtonsResponseMessage::set_allocated_selectedbuttonid(std::string* selectedbuttonid) {
if (selectedbuttonid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.selectedbuttonid_.SetAllocated(selectedbuttonid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.selectedbuttonid_.IsDefault()) {
+ _impl_.selectedbuttonid_.Set("", GetArenaForAllocation());
}
- selectedbuttonid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), selectedbuttonid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsResponseMessage.selectedButtonId)
}
// optional .proto.ContextInfo contextInfo = 3;
inline bool ButtonsResponseMessage::_internal_has_contextinfo() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || contextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contextinfo_ != nullptr);
return value;
}
inline bool ButtonsResponseMessage::has_contextinfo() const {
return _internal_has_contextinfo();
}
inline void ButtonsResponseMessage::clear_contextinfo() {
- if (contextinfo_ != nullptr) contextinfo_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.contextinfo_ != nullptr) _impl_.contextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::ContextInfo& ButtonsResponseMessage::_internal_contextinfo() const {
- const ::proto::ContextInfo* p = contextinfo_;
+ const ::proto::ContextInfo* p = _impl_.contextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContextInfo&>(
::proto::_ContextInfo_default_instance_);
}
@@ -44015,20 +46121,20 @@ inline const ::proto::ContextInfo& ButtonsResponseMessage::contextinfo() const {
inline void ButtonsResponseMessage::unsafe_arena_set_allocated_contextinfo(
::proto::ContextInfo* contextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contextinfo_);
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
if (contextinfo) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.ButtonsResponseMessage.contextInfo)
}
inline ::proto::ContextInfo* ButtonsResponseMessage::release_contextinfo() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44042,18 +46148,18 @@ inline ::proto::ContextInfo* ButtonsResponseMessage::release_contextinfo() {
}
inline ::proto::ContextInfo* ButtonsResponseMessage::unsafe_arena_release_contextinfo() {
// @@protoc_insertion_point(field_release:proto.ButtonsResponseMessage.contextInfo)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::ContextInfo* temp = contextinfo_;
- contextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::ContextInfo* temp = _impl_.contextinfo_;
+ _impl_.contextinfo_ = nullptr;
return temp;
}
inline ::proto::ContextInfo* ButtonsResponseMessage::_internal_mutable_contextinfo() {
- _has_bits_[0] |= 0x00000002u;
- if (contextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.contextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContextInfo>(GetArenaForAllocation());
- contextinfo_ = p;
+ _impl_.contextinfo_ = p;
}
- return contextinfo_;
+ return _impl_.contextinfo_;
}
inline ::proto::ContextInfo* ButtonsResponseMessage::mutable_contextinfo() {
::proto::ContextInfo* _msg = _internal_mutable_contextinfo();
@@ -44063,37 +46169,37 @@ inline ::proto::ContextInfo* ButtonsResponseMessage::mutable_contextinfo() {
inline void ButtonsResponseMessage::set_allocated_contextinfo(::proto::ContextInfo* contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contextinfo_;
+ delete _impl_.contextinfo_;
}
if (contextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContextInfo>::GetOwningArena(contextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contextinfo);
if (message_arena != submessage_arena) {
contextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- contextinfo_ = contextinfo;
+ _impl_.contextinfo_ = contextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsResponseMessage.contextInfo)
}
// optional .proto.ButtonsResponseMessage.ButtonsResponseMessageType type = 4;
inline bool ButtonsResponseMessage::_internal_has_type() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool ButtonsResponseMessage::has_type() const {
return _internal_has_type();
}
inline void ButtonsResponseMessage::clear_type() {
- type_ = 0;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.type_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline ::proto::ButtonsResponseMessage_ButtonsResponseMessageType ButtonsResponseMessage::_internal_type() const {
- return static_cast< ::proto::ButtonsResponseMessage_ButtonsResponseMessageType >(type_);
+ return static_cast< ::proto::ButtonsResponseMessage_ButtonsResponseMessageType >(_impl_.type_);
}
inline ::proto::ButtonsResponseMessage_ButtonsResponseMessageType ButtonsResponseMessage::type() const {
// @@protoc_insertion_point(field_get:proto.ButtonsResponseMessage.type)
@@ -44101,8 +46207,8 @@ inline ::proto::ButtonsResponseMessage_ButtonsResponseMessageType ButtonsRespons
}
inline void ButtonsResponseMessage::_internal_set_type(::proto::ButtonsResponseMessage_ButtonsResponseMessageType value) {
assert(::proto::ButtonsResponseMessage_ButtonsResponseMessageType_IsValid(value));
- _has_bits_[0] |= 0x00000004u;
- type_ = value;
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.type_ = value;
}
inline void ButtonsResponseMessage::set_type(::proto::ButtonsResponseMessage_ButtonsResponseMessageType value) {
_internal_set_type(value);
@@ -44117,11 +46223,11 @@ inline bool ButtonsResponseMessage::has_selecteddisplaytext() const {
return _internal_has_selecteddisplaytext();
}
inline void ButtonsResponseMessage::set_has_selecteddisplaytext() {
- _oneof_case_[0] = kSelectedDisplayText;
+ _impl_._oneof_case_[0] = kSelectedDisplayText;
}
inline void ButtonsResponseMessage::clear_selecteddisplaytext() {
if (_internal_has_selecteddisplaytext()) {
- response_.selecteddisplaytext_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_.response_.selecteddisplaytext_.Destroy();
clear_has_response();
}
}
@@ -44134,9 +46240,9 @@ inline void ButtonsResponseMessage::set_selecteddisplaytext(ArgT0&& arg0, ArgT..
if (!_internal_has_selecteddisplaytext()) {
clear_response();
set_has_selecteddisplaytext();
- response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.response_.selecteddisplaytext_.InitDefault();
}
- response_.selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
+ _impl_.response_.selecteddisplaytext_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.ButtonsResponseMessage.selectedDisplayText)
}
inline std::string* ButtonsResponseMessage::mutable_selecteddisplaytext() {
@@ -44146,7 +46252,7 @@ inline std::string* ButtonsResponseMessage::mutable_selecteddisplaytext() {
}
inline const std::string& ButtonsResponseMessage::_internal_selecteddisplaytext() const {
if (_internal_has_selecteddisplaytext()) {
- return response_.selecteddisplaytext_.Get();
+ return _impl_.response_.selecteddisplaytext_.Get();
}
return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
}
@@ -44154,24 +46260,23 @@ inline void ButtonsResponseMessage::_internal_set_selecteddisplaytext(const std:
if (!_internal_has_selecteddisplaytext()) {
clear_response();
set_has_selecteddisplaytext();
- response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.response_.selecteddisplaytext_.InitDefault();
}
- response_.selecteddisplaytext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
+ _impl_.response_.selecteddisplaytext_.Set(value, GetArenaForAllocation());
}
inline std::string* ButtonsResponseMessage::_internal_mutable_selecteddisplaytext() {
if (!_internal_has_selecteddisplaytext()) {
clear_response();
set_has_selecteddisplaytext();
- response_.selecteddisplaytext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
+ _impl_.response_.selecteddisplaytext_.InitDefault();
}
- return response_.selecteddisplaytext_.Mutable(
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ return _impl_.response_.selecteddisplaytext_.Mutable( 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(), GetArenaForAllocation());
+ return _impl_.response_.selecteddisplaytext_.Release();
} else {
return nullptr;
}
@@ -44182,11 +46287,7 @@ inline void ButtonsResponseMessage::set_allocated_selecteddisplaytext(std::strin
}
if (selecteddisplaytext != nullptr) {
set_has_selecteddisplaytext();
- response_.selecteddisplaytext_.UnsafeSetDefault(selecteddisplaytext);
- ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaForAllocation();
- if (arena != nullptr) {
- arena->Own(selecteddisplaytext);
- }
+ _impl_.response_.selecteddisplaytext_.InitAllocated(selecteddisplaytext, GetArenaForAllocation());
}
// @@protoc_insertion_point(field_set_allocated:proto.ButtonsResponseMessage.selectedDisplayText)
}
@@ -44195,10 +46296,10 @@ inline bool ButtonsResponseMessage::has_response() const {
return response_case() != RESPONSE_NOT_SET;
}
inline void ButtonsResponseMessage::clear_has_response() {
- _oneof_case_[0] = RESPONSE_NOT_SET;
+ _impl_._oneof_case_[0] = RESPONSE_NOT_SET;
}
inline ButtonsResponseMessage::ResponseCase ButtonsResponseMessage::response_case() const {
- return ButtonsResponseMessage::ResponseCase(_oneof_case_[0]);
+ return ButtonsResponseMessage::ResponseCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------
@@ -44206,15 +46307,15 @@ inline ButtonsResponseMessage::ResponseCase ButtonsResponseMessage::response_cas
// optional string conversation = 1;
inline bool Message::_internal_has_conversation() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool Message::has_conversation() const {
return _internal_has_conversation();
}
inline void Message::clear_conversation() {
- conversation_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.conversation_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& Message::conversation() const {
// @@protoc_insertion_point(field_get:proto.Message.conversation)
@@ -44223,8 +46324,8 @@ inline const std::string& Message::conversation() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.conversation_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.Message.conversation)
}
inline std::string* Message::mutable_conversation() {
@@ -44233,50 +46334,60 @@ inline std::string* Message::mutable_conversation() {
return _s;
}
inline const std::string& Message::_internal_conversation() const {
- return conversation_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.conversation_.Set(value, GetArenaForAllocation());
}
inline std::string* Message::_internal_mutable_conversation() {
- _has_bits_[0] |= 0x00000001u;
- return conversation_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.conversation_.Mutable(GetArenaForAllocation());
}
inline std::string* Message::release_conversation() {
// @@protoc_insertion_point(field_release:proto.Message.conversation)
if (!_internal_has_conversation()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return conversation_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.conversation_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.conversation_.IsDefault()) {
+ _impl_.conversation_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void Message::set_allocated_conversation(std::string* conversation) {
if (conversation != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- conversation_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), conversation,
- GetArenaForAllocation());
+ _impl_.conversation_.SetAllocated(conversation, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.conversation_.IsDefault()) {
+ _impl_.conversation_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.Message.conversation)
}
// optional .proto.SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
inline bool Message::_internal_has_senderkeydistributionmessage() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || senderkeydistributionmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.senderkeydistributionmessage_ != nullptr);
return value;
}
inline bool Message::has_senderkeydistributionmessage() const {
return _internal_has_senderkeydistributionmessage();
}
inline void Message::clear_senderkeydistributionmessage() {
- if (senderkeydistributionmessage_ != nullptr) senderkeydistributionmessage_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.senderkeydistributionmessage_ != nullptr) _impl_.senderkeydistributionmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::SenderKeyDistributionMessage& Message::_internal_senderkeydistributionmessage() const {
- const ::proto::SenderKeyDistributionMessage* p = senderkeydistributionmessage_;
+ const ::proto::SenderKeyDistributionMessage* p = _impl_.senderkeydistributionmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::SenderKeyDistributionMessage&>(
::proto::_SenderKeyDistributionMessage_default_instance_);
}
@@ -44287,20 +46398,20 @@ inline const ::proto::SenderKeyDistributionMessage& Message::senderkeydistributi
inline void Message::unsafe_arena_set_allocated_senderkeydistributionmessage(
::proto::SenderKeyDistributionMessage* senderkeydistributionmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(senderkeydistributionmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.senderkeydistributionmessage_);
}
- senderkeydistributionmessage_ = senderkeydistributionmessage;
+ _impl_.senderkeydistributionmessage_ = senderkeydistributionmessage;
if (senderkeydistributionmessage) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.senderKeyDistributionMessage)
}
inline ::proto::SenderKeyDistributionMessage* Message::release_senderkeydistributionmessage() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::SenderKeyDistributionMessage* temp = senderkeydistributionmessage_;
- senderkeydistributionmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::SenderKeyDistributionMessage* temp = _impl_.senderkeydistributionmessage_;
+ _impl_.senderkeydistributionmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44314,18 +46425,18 @@ inline ::proto::SenderKeyDistributionMessage* Message::release_senderkeydistribu
}
inline ::proto::SenderKeyDistributionMessage* Message::unsafe_arena_release_senderkeydistributionmessage() {
// @@protoc_insertion_point(field_release:proto.Message.senderKeyDistributionMessage)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::SenderKeyDistributionMessage* temp = senderkeydistributionmessage_;
- senderkeydistributionmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::SenderKeyDistributionMessage* temp = _impl_.senderkeydistributionmessage_;
+ _impl_.senderkeydistributionmessage_ = nullptr;
return temp;
}
inline ::proto::SenderKeyDistributionMessage* Message::_internal_mutable_senderkeydistributionmessage() {
- _has_bits_[0] |= 0x00000002u;
- if (senderkeydistributionmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.senderkeydistributionmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::SenderKeyDistributionMessage>(GetArenaForAllocation());
- senderkeydistributionmessage_ = p;
+ _impl_.senderkeydistributionmessage_ = p;
}
- return senderkeydistributionmessage_;
+ return _impl_.senderkeydistributionmessage_;
}
inline ::proto::SenderKeyDistributionMessage* Message::mutable_senderkeydistributionmessage() {
::proto::SenderKeyDistributionMessage* _msg = _internal_mutable_senderkeydistributionmessage();
@@ -44335,38 +46446,38 @@ inline ::proto::SenderKeyDistributionMessage* Message::mutable_senderkeydistribu
inline void Message::set_allocated_senderkeydistributionmessage(::proto::SenderKeyDistributionMessage* senderkeydistributionmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete senderkeydistributionmessage_;
+ delete _impl_.senderkeydistributionmessage_;
}
if (senderkeydistributionmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::SenderKeyDistributionMessage>::GetOwningArena(senderkeydistributionmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(senderkeydistributionmessage);
if (message_arena != submessage_arena) {
senderkeydistributionmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, senderkeydistributionmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- senderkeydistributionmessage_ = senderkeydistributionmessage;
+ _impl_.senderkeydistributionmessage_ = senderkeydistributionmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.senderKeyDistributionMessage)
}
// optional .proto.ImageMessage imageMessage = 3;
inline bool Message::_internal_has_imagemessage() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || imagemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.imagemessage_ != nullptr);
return value;
}
inline bool Message::has_imagemessage() const {
return _internal_has_imagemessage();
}
inline void Message::clear_imagemessage() {
- if (imagemessage_ != nullptr) imagemessage_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.imagemessage_ != nullptr) _impl_.imagemessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::ImageMessage& Message::_internal_imagemessage() const {
- const ::proto::ImageMessage* p = imagemessage_;
+ const ::proto::ImageMessage* p = _impl_.imagemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ImageMessage&>(
::proto::_ImageMessage_default_instance_);
}
@@ -44377,20 +46488,20 @@ inline const ::proto::ImageMessage& Message::imagemessage() const {
inline void Message::unsafe_arena_set_allocated_imagemessage(
::proto::ImageMessage* imagemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(imagemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.imagemessage_);
}
- imagemessage_ = imagemessage;
+ _impl_.imagemessage_ = imagemessage;
if (imagemessage) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.imageMessage)
}
inline ::proto::ImageMessage* Message::release_imagemessage() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ImageMessage* temp = imagemessage_;
- imagemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ImageMessage* temp = _impl_.imagemessage_;
+ _impl_.imagemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44404,18 +46515,18 @@ inline ::proto::ImageMessage* Message::release_imagemessage() {
}
inline ::proto::ImageMessage* Message::unsafe_arena_release_imagemessage() {
// @@protoc_insertion_point(field_release:proto.Message.imageMessage)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::ImageMessage* temp = imagemessage_;
- imagemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::ImageMessage* temp = _impl_.imagemessage_;
+ _impl_.imagemessage_ = nullptr;
return temp;
}
inline ::proto::ImageMessage* Message::_internal_mutable_imagemessage() {
- _has_bits_[0] |= 0x00000004u;
- if (imagemessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.imagemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ImageMessage>(GetArenaForAllocation());
- imagemessage_ = p;
+ _impl_.imagemessage_ = p;
}
- return imagemessage_;
+ return _impl_.imagemessage_;
}
inline ::proto::ImageMessage* Message::mutable_imagemessage() {
::proto::ImageMessage* _msg = _internal_mutable_imagemessage();
@@ -44425,38 +46536,38 @@ inline ::proto::ImageMessage* Message::mutable_imagemessage() {
inline void Message::set_allocated_imagemessage(::proto::ImageMessage* imagemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete imagemessage_;
+ delete _impl_.imagemessage_;
}
if (imagemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ImageMessage>::GetOwningArena(imagemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(imagemessage);
if (message_arena != submessage_arena) {
imagemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, imagemessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- imagemessage_ = imagemessage;
+ _impl_.imagemessage_ = imagemessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.imageMessage)
}
// optional .proto.ContactMessage contactMessage = 4;
inline bool Message::_internal_has_contactmessage() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || contactmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contactmessage_ != nullptr);
return value;
}
inline bool Message::has_contactmessage() const {
return _internal_has_contactmessage();
}
inline void Message::clear_contactmessage() {
- if (contactmessage_ != nullptr) contactmessage_->Clear();
- _has_bits_[0] &= ~0x00000008u;
+ if (_impl_.contactmessage_ != nullptr) _impl_.contactmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const ::proto::ContactMessage& Message::_internal_contactmessage() const {
- const ::proto::ContactMessage* p = contactmessage_;
+ const ::proto::ContactMessage* p = _impl_.contactmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContactMessage&>(
::proto::_ContactMessage_default_instance_);
}
@@ -44467,20 +46578,20 @@ inline const ::proto::ContactMessage& Message::contactmessage() const {
inline void Message::unsafe_arena_set_allocated_contactmessage(
::proto::ContactMessage* contactmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contactmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contactmessage_);
}
- contactmessage_ = contactmessage;
+ _impl_.contactmessage_ = contactmessage;
if (contactmessage) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.contactMessage)
}
inline ::proto::ContactMessage* Message::release_contactmessage() {
- _has_bits_[0] &= ~0x00000008u;
- ::proto::ContactMessage* temp = contactmessage_;
- contactmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::ContactMessage* temp = _impl_.contactmessage_;
+ _impl_.contactmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44494,18 +46605,18 @@ inline ::proto::ContactMessage* Message::release_contactmessage() {
}
inline ::proto::ContactMessage* Message::unsafe_arena_release_contactmessage() {
// @@protoc_insertion_point(field_release:proto.Message.contactMessage)
- _has_bits_[0] &= ~0x00000008u;
- ::proto::ContactMessage* temp = contactmessage_;
- contactmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::ContactMessage* temp = _impl_.contactmessage_;
+ _impl_.contactmessage_ = nullptr;
return temp;
}
inline ::proto::ContactMessage* Message::_internal_mutable_contactmessage() {
- _has_bits_[0] |= 0x00000008u;
- if (contactmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ if (_impl_.contactmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContactMessage>(GetArenaForAllocation());
- contactmessage_ = p;
+ _impl_.contactmessage_ = p;
}
- return contactmessage_;
+ return _impl_.contactmessage_;
}
inline ::proto::ContactMessage* Message::mutable_contactmessage() {
::proto::ContactMessage* _msg = _internal_mutable_contactmessage();
@@ -44515,38 +46626,38 @@ inline ::proto::ContactMessage* Message::mutable_contactmessage() {
inline void Message::set_allocated_contactmessage(::proto::ContactMessage* contactmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contactmessage_;
+ delete _impl_.contactmessage_;
}
if (contactmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContactMessage>::GetOwningArena(contactmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contactmessage);
if (message_arena != submessage_arena) {
contactmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contactmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- contactmessage_ = contactmessage;
+ _impl_.contactmessage_ = contactmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.contactMessage)
}
// optional .proto.LocationMessage locationMessage = 5;
inline bool Message::_internal_has_locationmessage() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- PROTOBUF_ASSUME(!value || locationmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.locationmessage_ != nullptr);
return value;
}
inline bool Message::has_locationmessage() const {
return _internal_has_locationmessage();
}
inline void Message::clear_locationmessage() {
- if (locationmessage_ != nullptr) locationmessage_->Clear();
- _has_bits_[0] &= ~0x00000010u;
+ if (_impl_.locationmessage_ != nullptr) _impl_.locationmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const ::proto::LocationMessage& Message::_internal_locationmessage() const {
- const ::proto::LocationMessage* p = locationmessage_;
+ const ::proto::LocationMessage* p = _impl_.locationmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::LocationMessage&>(
::proto::_LocationMessage_default_instance_);
}
@@ -44557,20 +46668,20 @@ inline const ::proto::LocationMessage& Message::locationmessage() const {
inline void Message::unsafe_arena_set_allocated_locationmessage(
::proto::LocationMessage* locationmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(locationmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.locationmessage_);
}
- locationmessage_ = locationmessage;
+ _impl_.locationmessage_ = locationmessage;
if (locationmessage) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.locationMessage)
}
inline ::proto::LocationMessage* Message::release_locationmessage() {
- _has_bits_[0] &= ~0x00000010u;
- ::proto::LocationMessage* temp = locationmessage_;
- locationmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ ::proto::LocationMessage* temp = _impl_.locationmessage_;
+ _impl_.locationmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44584,18 +46695,18 @@ inline ::proto::LocationMessage* Message::release_locationmessage() {
}
inline ::proto::LocationMessage* Message::unsafe_arena_release_locationmessage() {
// @@protoc_insertion_point(field_release:proto.Message.locationMessage)
- _has_bits_[0] &= ~0x00000010u;
- ::proto::LocationMessage* temp = locationmessage_;
- locationmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ ::proto::LocationMessage* temp = _impl_.locationmessage_;
+ _impl_.locationmessage_ = nullptr;
return temp;
}
inline ::proto::LocationMessage* Message::_internal_mutable_locationmessage() {
- _has_bits_[0] |= 0x00000010u;
- if (locationmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000010u;
+ if (_impl_.locationmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::LocationMessage>(GetArenaForAllocation());
- locationmessage_ = p;
+ _impl_.locationmessage_ = p;
}
- return locationmessage_;
+ return _impl_.locationmessage_;
}
inline ::proto::LocationMessage* Message::mutable_locationmessage() {
::proto::LocationMessage* _msg = _internal_mutable_locationmessage();
@@ -44605,38 +46716,38 @@ inline ::proto::LocationMessage* Message::mutable_locationmessage() {
inline void Message::set_allocated_locationmessage(::proto::LocationMessage* locationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete locationmessage_;
+ delete _impl_.locationmessage_;
}
if (locationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LocationMessage>::GetOwningArena(locationmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(locationmessage);
if (message_arena != submessage_arena) {
locationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, locationmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- locationmessage_ = locationmessage;
+ _impl_.locationmessage_ = locationmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.locationMessage)
}
// optional .proto.ExtendedTextMessage extendedTextMessage = 6;
inline bool Message::_internal_has_extendedtextmessage() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- PROTOBUF_ASSUME(!value || extendedtextmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.extendedtextmessage_ != nullptr);
return value;
}
inline bool Message::has_extendedtextmessage() const {
return _internal_has_extendedtextmessage();
}
inline void Message::clear_extendedtextmessage() {
- if (extendedtextmessage_ != nullptr) extendedtextmessage_->Clear();
- _has_bits_[0] &= ~0x00000020u;
+ if (_impl_.extendedtextmessage_ != nullptr) _impl_.extendedtextmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const ::proto::ExtendedTextMessage& Message::_internal_extendedtextmessage() const {
- const ::proto::ExtendedTextMessage* p = extendedtextmessage_;
+ const ::proto::ExtendedTextMessage* p = _impl_.extendedtextmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ExtendedTextMessage&>(
::proto::_ExtendedTextMessage_default_instance_);
}
@@ -44647,20 +46758,20 @@ inline const ::proto::ExtendedTextMessage& Message::extendedtextmessage() const
inline void Message::unsafe_arena_set_allocated_extendedtextmessage(
::proto::ExtendedTextMessage* extendedtextmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(extendedtextmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.extendedtextmessage_);
}
- extendedtextmessage_ = extendedtextmessage;
+ _impl_.extendedtextmessage_ = extendedtextmessage;
if (extendedtextmessage) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.extendedTextMessage)
}
inline ::proto::ExtendedTextMessage* Message::release_extendedtextmessage() {
- _has_bits_[0] &= ~0x00000020u;
- ::proto::ExtendedTextMessage* temp = extendedtextmessage_;
- extendedtextmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::ExtendedTextMessage* temp = _impl_.extendedtextmessage_;
+ _impl_.extendedtextmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44674,18 +46785,18 @@ inline ::proto::ExtendedTextMessage* Message::release_extendedtextmessage() {
}
inline ::proto::ExtendedTextMessage* Message::unsafe_arena_release_extendedtextmessage() {
// @@protoc_insertion_point(field_release:proto.Message.extendedTextMessage)
- _has_bits_[0] &= ~0x00000020u;
- ::proto::ExtendedTextMessage* temp = extendedtextmessage_;
- extendedtextmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::ExtendedTextMessage* temp = _impl_.extendedtextmessage_;
+ _impl_.extendedtextmessage_ = nullptr;
return temp;
}
inline ::proto::ExtendedTextMessage* Message::_internal_mutable_extendedtextmessage() {
- _has_bits_[0] |= 0x00000020u;
- if (extendedtextmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ if (_impl_.extendedtextmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ExtendedTextMessage>(GetArenaForAllocation());
- extendedtextmessage_ = p;
+ _impl_.extendedtextmessage_ = p;
}
- return extendedtextmessage_;
+ return _impl_.extendedtextmessage_;
}
inline ::proto::ExtendedTextMessage* Message::mutable_extendedtextmessage() {
::proto::ExtendedTextMessage* _msg = _internal_mutable_extendedtextmessage();
@@ -44695,38 +46806,38 @@ inline ::proto::ExtendedTextMessage* Message::mutable_extendedtextmessage() {
inline void Message::set_allocated_extendedtextmessage(::proto::ExtendedTextMessage* extendedtextmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete extendedtextmessage_;
+ delete _impl_.extendedtextmessage_;
}
if (extendedtextmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ExtendedTextMessage>::GetOwningArena(extendedtextmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(extendedtextmessage);
if (message_arena != submessage_arena) {
extendedtextmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, extendedtextmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- extendedtextmessage_ = extendedtextmessage;
+ _impl_.extendedtextmessage_ = extendedtextmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.extendedTextMessage)
}
// optional .proto.DocumentMessage documentMessage = 7;
inline bool Message::_internal_has_documentmessage() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- PROTOBUF_ASSUME(!value || documentmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.documentmessage_ != nullptr);
return value;
}
inline bool Message::has_documentmessage() const {
return _internal_has_documentmessage();
}
inline void Message::clear_documentmessage() {
- if (documentmessage_ != nullptr) documentmessage_->Clear();
- _has_bits_[0] &= ~0x00000040u;
+ if (_impl_.documentmessage_ != nullptr) _impl_.documentmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const ::proto::DocumentMessage& Message::_internal_documentmessage() const {
- const ::proto::DocumentMessage* p = documentmessage_;
+ const ::proto::DocumentMessage* p = _impl_.documentmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::DocumentMessage&>(
::proto::_DocumentMessage_default_instance_);
}
@@ -44737,20 +46848,20 @@ inline const ::proto::DocumentMessage& Message::documentmessage() const {
inline void Message::unsafe_arena_set_allocated_documentmessage(
::proto::DocumentMessage* documentmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(documentmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.documentmessage_);
}
- documentmessage_ = documentmessage;
+ _impl_.documentmessage_ = documentmessage;
if (documentmessage) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.documentMessage)
}
inline ::proto::DocumentMessage* Message::release_documentmessage() {
- _has_bits_[0] &= ~0x00000040u;
- ::proto::DocumentMessage* temp = documentmessage_;
- documentmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::DocumentMessage* temp = _impl_.documentmessage_;
+ _impl_.documentmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44764,18 +46875,18 @@ inline ::proto::DocumentMessage* Message::release_documentmessage() {
}
inline ::proto::DocumentMessage* Message::unsafe_arena_release_documentmessage() {
// @@protoc_insertion_point(field_release:proto.Message.documentMessage)
- _has_bits_[0] &= ~0x00000040u;
- ::proto::DocumentMessage* temp = documentmessage_;
- documentmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::DocumentMessage* temp = _impl_.documentmessage_;
+ _impl_.documentmessage_ = nullptr;
return temp;
}
inline ::proto::DocumentMessage* Message::_internal_mutable_documentmessage() {
- _has_bits_[0] |= 0x00000040u;
- if (documentmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000040u;
+ if (_impl_.documentmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::DocumentMessage>(GetArenaForAllocation());
- documentmessage_ = p;
+ _impl_.documentmessage_ = p;
}
- return documentmessage_;
+ return _impl_.documentmessage_;
}
inline ::proto::DocumentMessage* Message::mutable_documentmessage() {
::proto::DocumentMessage* _msg = _internal_mutable_documentmessage();
@@ -44785,38 +46896,38 @@ inline ::proto::DocumentMessage* Message::mutable_documentmessage() {
inline void Message::set_allocated_documentmessage(::proto::DocumentMessage* documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete documentmessage_;
+ delete _impl_.documentmessage_;
}
if (documentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DocumentMessage>::GetOwningArena(documentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(documentmessage);
if (message_arena != submessage_arena) {
documentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, documentmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- documentmessage_ = documentmessage;
+ _impl_.documentmessage_ = documentmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.documentMessage)
}
// optional .proto.AudioMessage audioMessage = 8;
inline bool Message::_internal_has_audiomessage() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- PROTOBUF_ASSUME(!value || audiomessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.audiomessage_ != nullptr);
return value;
}
inline bool Message::has_audiomessage() const {
return _internal_has_audiomessage();
}
inline void Message::clear_audiomessage() {
- if (audiomessage_ != nullptr) audiomessage_->Clear();
- _has_bits_[0] &= ~0x00000080u;
+ if (_impl_.audiomessage_ != nullptr) _impl_.audiomessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const ::proto::AudioMessage& Message::_internal_audiomessage() const {
- const ::proto::AudioMessage* p = audiomessage_;
+ const ::proto::AudioMessage* p = _impl_.audiomessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::AudioMessage&>(
::proto::_AudioMessage_default_instance_);
}
@@ -44827,20 +46938,20 @@ inline const ::proto::AudioMessage& Message::audiomessage() const {
inline void Message::unsafe_arena_set_allocated_audiomessage(
::proto::AudioMessage* audiomessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(audiomessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audiomessage_);
}
- audiomessage_ = audiomessage;
+ _impl_.audiomessage_ = audiomessage;
if (audiomessage) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.audioMessage)
}
inline ::proto::AudioMessage* Message::release_audiomessage() {
- _has_bits_[0] &= ~0x00000080u;
- ::proto::AudioMessage* temp = audiomessage_;
- audiomessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::AudioMessage* temp = _impl_.audiomessage_;
+ _impl_.audiomessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44854,18 +46965,18 @@ inline ::proto::AudioMessage* Message::release_audiomessage() {
}
inline ::proto::AudioMessage* Message::unsafe_arena_release_audiomessage() {
// @@protoc_insertion_point(field_release:proto.Message.audioMessage)
- _has_bits_[0] &= ~0x00000080u;
- ::proto::AudioMessage* temp = audiomessage_;
- audiomessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::AudioMessage* temp = _impl_.audiomessage_;
+ _impl_.audiomessage_ = nullptr;
return temp;
}
inline ::proto::AudioMessage* Message::_internal_mutable_audiomessage() {
- _has_bits_[0] |= 0x00000080u;
- if (audiomessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ if (_impl_.audiomessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::AudioMessage>(GetArenaForAllocation());
- audiomessage_ = p;
+ _impl_.audiomessage_ = p;
}
- return audiomessage_;
+ return _impl_.audiomessage_;
}
inline ::proto::AudioMessage* Message::mutable_audiomessage() {
::proto::AudioMessage* _msg = _internal_mutable_audiomessage();
@@ -44875,38 +46986,38 @@ inline ::proto::AudioMessage* Message::mutable_audiomessage() {
inline void Message::set_allocated_audiomessage(::proto::AudioMessage* audiomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete audiomessage_;
+ delete _impl_.audiomessage_;
}
if (audiomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::AudioMessage>::GetOwningArena(audiomessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(audiomessage);
if (message_arena != submessage_arena) {
audiomessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, audiomessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
- audiomessage_ = audiomessage;
+ _impl_.audiomessage_ = audiomessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.audioMessage)
}
// optional .proto.VideoMessage videoMessage = 9;
inline bool Message::_internal_has_videomessage() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
- PROTOBUF_ASSUME(!value || videomessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.videomessage_ != nullptr);
return value;
}
inline bool Message::has_videomessage() const {
return _internal_has_videomessage();
}
inline void Message::clear_videomessage() {
- if (videomessage_ != nullptr) videomessage_->Clear();
- _has_bits_[0] &= ~0x00000100u;
+ if (_impl_.videomessage_ != nullptr) _impl_.videomessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline const ::proto::VideoMessage& Message::_internal_videomessage() const {
- const ::proto::VideoMessage* p = videomessage_;
+ const ::proto::VideoMessage* p = _impl_.videomessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::VideoMessage&>(
::proto::_VideoMessage_default_instance_);
}
@@ -44917,20 +47028,20 @@ inline const ::proto::VideoMessage& Message::videomessage() const {
inline void Message::unsafe_arena_set_allocated_videomessage(
::proto::VideoMessage* videomessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(videomessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.videomessage_);
}
- videomessage_ = videomessage;
+ _impl_.videomessage_ = videomessage;
if (videomessage) {
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.videoMessage)
}
inline ::proto::VideoMessage* Message::release_videomessage() {
- _has_bits_[0] &= ~0x00000100u;
- ::proto::VideoMessage* temp = videomessage_;
- videomessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ ::proto::VideoMessage* temp = _impl_.videomessage_;
+ _impl_.videomessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -44944,18 +47055,18 @@ inline ::proto::VideoMessage* Message::release_videomessage() {
}
inline ::proto::VideoMessage* Message::unsafe_arena_release_videomessage() {
// @@protoc_insertion_point(field_release:proto.Message.videoMessage)
- _has_bits_[0] &= ~0x00000100u;
- ::proto::VideoMessage* temp = videomessage_;
- videomessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ ::proto::VideoMessage* temp = _impl_.videomessage_;
+ _impl_.videomessage_ = nullptr;
return temp;
}
inline ::proto::VideoMessage* Message::_internal_mutable_videomessage() {
- _has_bits_[0] |= 0x00000100u;
- if (videomessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ if (_impl_.videomessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::VideoMessage>(GetArenaForAllocation());
- videomessage_ = p;
+ _impl_.videomessage_ = p;
}
- return videomessage_;
+ return _impl_.videomessage_;
}
inline ::proto::VideoMessage* Message::mutable_videomessage() {
::proto::VideoMessage* _msg = _internal_mutable_videomessage();
@@ -44965,38 +47076,38 @@ inline ::proto::VideoMessage* Message::mutable_videomessage() {
inline void Message::set_allocated_videomessage(::proto::VideoMessage* videomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete videomessage_;
+ delete _impl_.videomessage_;
}
if (videomessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::VideoMessage>::GetOwningArena(videomessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(videomessage);
if (message_arena != submessage_arena) {
videomessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, videomessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
- videomessage_ = videomessage;
+ _impl_.videomessage_ = videomessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.videoMessage)
}
// optional .proto.Call call = 10;
inline bool Message::_internal_has_call() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
- PROTOBUF_ASSUME(!value || call_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.call_ != nullptr);
return value;
}
inline bool Message::has_call() const {
return _internal_has_call();
}
inline void Message::clear_call() {
- if (call_ != nullptr) call_->Clear();
- _has_bits_[0] &= ~0x00000200u;
+ if (_impl_.call_ != nullptr) _impl_.call_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
inline const ::proto::Call& Message::_internal_call() const {
- const ::proto::Call* p = call_;
+ const ::proto::Call* p = _impl_.call_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Call&>(
::proto::_Call_default_instance_);
}
@@ -45007,20 +47118,20 @@ inline const ::proto::Call& Message::call() const {
inline void Message::unsafe_arena_set_allocated_call(
::proto::Call* call) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(call_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.call_);
}
- call_ = call;
+ _impl_.call_ = call;
if (call) {
- _has_bits_[0] |= 0x00000200u;
+ _impl_._has_bits_[0] |= 0x00000200u;
} else {
- _has_bits_[0] &= ~0x00000200u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.call)
}
inline ::proto::Call* Message::release_call() {
- _has_bits_[0] &= ~0x00000200u;
- ::proto::Call* temp = call_;
- call_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ ::proto::Call* temp = _impl_.call_;
+ _impl_.call_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45034,18 +47145,18 @@ inline ::proto::Call* Message::release_call() {
}
inline ::proto::Call* Message::unsafe_arena_release_call() {
// @@protoc_insertion_point(field_release:proto.Message.call)
- _has_bits_[0] &= ~0x00000200u;
- ::proto::Call* temp = call_;
- call_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000200u;
+ ::proto::Call* temp = _impl_.call_;
+ _impl_.call_ = nullptr;
return temp;
}
inline ::proto::Call* Message::_internal_mutable_call() {
- _has_bits_[0] |= 0x00000200u;
- if (call_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ if (_impl_.call_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Call>(GetArenaForAllocation());
- call_ = p;
+ _impl_.call_ = p;
}
- return call_;
+ return _impl_.call_;
}
inline ::proto::Call* Message::mutable_call() {
::proto::Call* _msg = _internal_mutable_call();
@@ -45055,38 +47166,38 @@ inline ::proto::Call* Message::mutable_call() {
inline void Message::set_allocated_call(::proto::Call* call) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete call_;
+ delete _impl_.call_;
}
if (call) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Call>::GetOwningArena(call);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(call);
if (message_arena != submessage_arena) {
call = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, call, submessage_arena);
}
- _has_bits_[0] |= 0x00000200u;
+ _impl_._has_bits_[0] |= 0x00000200u;
} else {
- _has_bits_[0] &= ~0x00000200u;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
- call_ = call;
+ _impl_.call_ = call;
// @@protoc_insertion_point(field_set_allocated:proto.Message.call)
}
// optional .proto.Chat chat = 11;
inline bool Message::_internal_has_chat() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
- PROTOBUF_ASSUME(!value || chat_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.chat_ != nullptr);
return value;
}
inline bool Message::has_chat() const {
return _internal_has_chat();
}
inline void Message::clear_chat() {
- if (chat_ != nullptr) chat_->Clear();
- _has_bits_[0] &= ~0x00000400u;
+ if (_impl_.chat_ != nullptr) _impl_.chat_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline const ::proto::Chat& Message::_internal_chat() const {
- const ::proto::Chat* p = chat_;
+ const ::proto::Chat* p = _impl_.chat_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Chat&>(
::proto::_Chat_default_instance_);
}
@@ -45097,20 +47208,20 @@ inline const ::proto::Chat& Message::chat() const {
inline void Message::unsafe_arena_set_allocated_chat(
::proto::Chat* chat) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chat_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.chat_);
}
- chat_ = chat;
+ _impl_.chat_ = chat;
if (chat) {
- _has_bits_[0] |= 0x00000400u;
+ _impl_._has_bits_[0] |= 0x00000400u;
} else {
- _has_bits_[0] &= ~0x00000400u;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.chat)
}
inline ::proto::Chat* Message::release_chat() {
- _has_bits_[0] &= ~0x00000400u;
- ::proto::Chat* temp = chat_;
- chat_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000400u;
+ ::proto::Chat* temp = _impl_.chat_;
+ _impl_.chat_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45124,18 +47235,18 @@ inline ::proto::Chat* Message::release_chat() {
}
inline ::proto::Chat* Message::unsafe_arena_release_chat() {
// @@protoc_insertion_point(field_release:proto.Message.chat)
- _has_bits_[0] &= ~0x00000400u;
- ::proto::Chat* temp = chat_;
- chat_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000400u;
+ ::proto::Chat* temp = _impl_.chat_;
+ _impl_.chat_ = nullptr;
return temp;
}
inline ::proto::Chat* Message::_internal_mutable_chat() {
- _has_bits_[0] |= 0x00000400u;
- if (chat_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000400u;
+ if (_impl_.chat_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Chat>(GetArenaForAllocation());
- chat_ = p;
+ _impl_.chat_ = p;
}
- return chat_;
+ return _impl_.chat_;
}
inline ::proto::Chat* Message::mutable_chat() {
::proto::Chat* _msg = _internal_mutable_chat();
@@ -45145,38 +47256,38 @@ inline ::proto::Chat* Message::mutable_chat() {
inline void Message::set_allocated_chat(::proto::Chat* chat) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete chat_;
+ delete _impl_.chat_;
}
if (chat) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Chat>::GetOwningArena(chat);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(chat);
if (message_arena != submessage_arena) {
chat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, chat, submessage_arena);
}
- _has_bits_[0] |= 0x00000400u;
+ _impl_._has_bits_[0] |= 0x00000400u;
} else {
- _has_bits_[0] &= ~0x00000400u;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
- chat_ = chat;
+ _impl_.chat_ = chat;
// @@protoc_insertion_point(field_set_allocated:proto.Message.chat)
}
// optional .proto.ProtocolMessage protocolMessage = 12;
inline bool Message::_internal_has_protocolmessage() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
- PROTOBUF_ASSUME(!value || protocolmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.protocolmessage_ != nullptr);
return value;
}
inline bool Message::has_protocolmessage() const {
return _internal_has_protocolmessage();
}
inline void Message::clear_protocolmessage() {
- if (protocolmessage_ != nullptr) protocolmessage_->Clear();
- _has_bits_[0] &= ~0x00000800u;
+ if (_impl_.protocolmessage_ != nullptr) _impl_.protocolmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline const ::proto::ProtocolMessage& Message::_internal_protocolmessage() const {
- const ::proto::ProtocolMessage* p = protocolmessage_;
+ const ::proto::ProtocolMessage* p = _impl_.protocolmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ProtocolMessage&>(
::proto::_ProtocolMessage_default_instance_);
}
@@ -45187,20 +47298,20 @@ inline const ::proto::ProtocolMessage& Message::protocolmessage() const {
inline void Message::unsafe_arena_set_allocated_protocolmessage(
::proto::ProtocolMessage* protocolmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(protocolmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.protocolmessage_);
}
- protocolmessage_ = protocolmessage;
+ _impl_.protocolmessage_ = protocolmessage;
if (protocolmessage) {
- _has_bits_[0] |= 0x00000800u;
+ _impl_._has_bits_[0] |= 0x00000800u;
} else {
- _has_bits_[0] &= ~0x00000800u;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.protocolMessage)
}
inline ::proto::ProtocolMessage* Message::release_protocolmessage() {
- _has_bits_[0] &= ~0x00000800u;
- ::proto::ProtocolMessage* temp = protocolmessage_;
- protocolmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000800u;
+ ::proto::ProtocolMessage* temp = _impl_.protocolmessage_;
+ _impl_.protocolmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45214,18 +47325,18 @@ inline ::proto::ProtocolMessage* Message::release_protocolmessage() {
}
inline ::proto::ProtocolMessage* Message::unsafe_arena_release_protocolmessage() {
// @@protoc_insertion_point(field_release:proto.Message.protocolMessage)
- _has_bits_[0] &= ~0x00000800u;
- ::proto::ProtocolMessage* temp = protocolmessage_;
- protocolmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000800u;
+ ::proto::ProtocolMessage* temp = _impl_.protocolmessage_;
+ _impl_.protocolmessage_ = nullptr;
return temp;
}
inline ::proto::ProtocolMessage* Message::_internal_mutable_protocolmessage() {
- _has_bits_[0] |= 0x00000800u;
- if (protocolmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000800u;
+ if (_impl_.protocolmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ProtocolMessage>(GetArenaForAllocation());
- protocolmessage_ = p;
+ _impl_.protocolmessage_ = p;
}
- return protocolmessage_;
+ return _impl_.protocolmessage_;
}
inline ::proto::ProtocolMessage* Message::mutable_protocolmessage() {
::proto::ProtocolMessage* _msg = _internal_mutable_protocolmessage();
@@ -45235,38 +47346,38 @@ inline ::proto::ProtocolMessage* Message::mutable_protocolmessage() {
inline void Message::set_allocated_protocolmessage(::proto::ProtocolMessage* protocolmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete protocolmessage_;
+ delete _impl_.protocolmessage_;
}
if (protocolmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ProtocolMessage>::GetOwningArena(protocolmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(protocolmessage);
if (message_arena != submessage_arena) {
protocolmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, protocolmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00000800u;
+ _impl_._has_bits_[0] |= 0x00000800u;
} else {
- _has_bits_[0] &= ~0x00000800u;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
- protocolmessage_ = protocolmessage;
+ _impl_.protocolmessage_ = protocolmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.protocolMessage)
}
// optional .proto.ContactsArrayMessage contactsArrayMessage = 13;
inline bool Message::_internal_has_contactsarraymessage() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
- PROTOBUF_ASSUME(!value || contactsarraymessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.contactsarraymessage_ != nullptr);
return value;
}
inline bool Message::has_contactsarraymessage() const {
return _internal_has_contactsarraymessage();
}
inline void Message::clear_contactsarraymessage() {
- if (contactsarraymessage_ != nullptr) contactsarraymessage_->Clear();
- _has_bits_[0] &= ~0x00001000u;
+ if (_impl_.contactsarraymessage_ != nullptr) _impl_.contactsarraymessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
inline const ::proto::ContactsArrayMessage& Message::_internal_contactsarraymessage() const {
- const ::proto::ContactsArrayMessage* p = contactsarraymessage_;
+ const ::proto::ContactsArrayMessage* p = _impl_.contactsarraymessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ContactsArrayMessage&>(
::proto::_ContactsArrayMessage_default_instance_);
}
@@ -45277,20 +47388,20 @@ inline const ::proto::ContactsArrayMessage& Message::contactsarraymessage() cons
inline void Message::unsafe_arena_set_allocated_contactsarraymessage(
::proto::ContactsArrayMessage* contactsarraymessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contactsarraymessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contactsarraymessage_);
}
- contactsarraymessage_ = contactsarraymessage;
+ _impl_.contactsarraymessage_ = contactsarraymessage;
if (contactsarraymessage) {
- _has_bits_[0] |= 0x00001000u;
+ _impl_._has_bits_[0] |= 0x00001000u;
} else {
- _has_bits_[0] &= ~0x00001000u;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.contactsArrayMessage)
}
inline ::proto::ContactsArrayMessage* Message::release_contactsarraymessage() {
- _has_bits_[0] &= ~0x00001000u;
- ::proto::ContactsArrayMessage* temp = contactsarraymessage_;
- contactsarraymessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00001000u;
+ ::proto::ContactsArrayMessage* temp = _impl_.contactsarraymessage_;
+ _impl_.contactsarraymessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45304,18 +47415,18 @@ inline ::proto::ContactsArrayMessage* Message::release_contactsarraymessage() {
}
inline ::proto::ContactsArrayMessage* Message::unsafe_arena_release_contactsarraymessage() {
// @@protoc_insertion_point(field_release:proto.Message.contactsArrayMessage)
- _has_bits_[0] &= ~0x00001000u;
- ::proto::ContactsArrayMessage* temp = contactsarraymessage_;
- contactsarraymessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00001000u;
+ ::proto::ContactsArrayMessage* temp = _impl_.contactsarraymessage_;
+ _impl_.contactsarraymessage_ = nullptr;
return temp;
}
inline ::proto::ContactsArrayMessage* Message::_internal_mutable_contactsarraymessage() {
- _has_bits_[0] |= 0x00001000u;
- if (contactsarraymessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00001000u;
+ if (_impl_.contactsarraymessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ContactsArrayMessage>(GetArenaForAllocation());
- contactsarraymessage_ = p;
+ _impl_.contactsarraymessage_ = p;
}
- return contactsarraymessage_;
+ return _impl_.contactsarraymessage_;
}
inline ::proto::ContactsArrayMessage* Message::mutable_contactsarraymessage() {
::proto::ContactsArrayMessage* _msg = _internal_mutable_contactsarraymessage();
@@ -45325,38 +47436,38 @@ inline ::proto::ContactsArrayMessage* Message::mutable_contactsarraymessage() {
inline void Message::set_allocated_contactsarraymessage(::proto::ContactsArrayMessage* contactsarraymessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete contactsarraymessage_;
+ delete _impl_.contactsarraymessage_;
}
if (contactsarraymessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ContactsArrayMessage>::GetOwningArena(contactsarraymessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contactsarraymessage);
if (message_arena != submessage_arena) {
contactsarraymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, contactsarraymessage, submessage_arena);
}
- _has_bits_[0] |= 0x00001000u;
+ _impl_._has_bits_[0] |= 0x00001000u;
} else {
- _has_bits_[0] &= ~0x00001000u;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
- contactsarraymessage_ = contactsarraymessage;
+ _impl_.contactsarraymessage_ = contactsarraymessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.contactsArrayMessage)
}
// optional .proto.HighlyStructuredMessage highlyStructuredMessage = 14;
inline bool Message::_internal_has_highlystructuredmessage() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
- PROTOBUF_ASSUME(!value || highlystructuredmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.highlystructuredmessage_ != nullptr);
return value;
}
inline bool Message::has_highlystructuredmessage() const {
return _internal_has_highlystructuredmessage();
}
inline void Message::clear_highlystructuredmessage() {
- if (highlystructuredmessage_ != nullptr) highlystructuredmessage_->Clear();
- _has_bits_[0] &= ~0x00002000u;
+ if (_impl_.highlystructuredmessage_ != nullptr) _impl_.highlystructuredmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
inline const ::proto::HighlyStructuredMessage& Message::_internal_highlystructuredmessage() const {
- const ::proto::HighlyStructuredMessage* p = highlystructuredmessage_;
+ const ::proto::HighlyStructuredMessage* p = _impl_.highlystructuredmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::HighlyStructuredMessage&>(
::proto::_HighlyStructuredMessage_default_instance_);
}
@@ -45367,20 +47478,20 @@ inline const ::proto::HighlyStructuredMessage& Message::highlystructuredmessage(
inline void Message::unsafe_arena_set_allocated_highlystructuredmessage(
::proto::HighlyStructuredMessage* highlystructuredmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(highlystructuredmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.highlystructuredmessage_);
}
- highlystructuredmessage_ = highlystructuredmessage;
+ _impl_.highlystructuredmessage_ = highlystructuredmessage;
if (highlystructuredmessage) {
- _has_bits_[0] |= 0x00002000u;
+ _impl_._has_bits_[0] |= 0x00002000u;
} else {
- _has_bits_[0] &= ~0x00002000u;
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.highlyStructuredMessage)
}
inline ::proto::HighlyStructuredMessage* Message::release_highlystructuredmessage() {
- _has_bits_[0] &= ~0x00002000u;
- ::proto::HighlyStructuredMessage* temp = highlystructuredmessage_;
- highlystructuredmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00002000u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.highlystructuredmessage_;
+ _impl_.highlystructuredmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45394,18 +47505,18 @@ inline ::proto::HighlyStructuredMessage* Message::release_highlystructuredmessag
}
inline ::proto::HighlyStructuredMessage* Message::unsafe_arena_release_highlystructuredmessage() {
// @@protoc_insertion_point(field_release:proto.Message.highlyStructuredMessage)
- _has_bits_[0] &= ~0x00002000u;
- ::proto::HighlyStructuredMessage* temp = highlystructuredmessage_;
- highlystructuredmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00002000u;
+ ::proto::HighlyStructuredMessage* temp = _impl_.highlystructuredmessage_;
+ _impl_.highlystructuredmessage_ = nullptr;
return temp;
}
inline ::proto::HighlyStructuredMessage* Message::_internal_mutable_highlystructuredmessage() {
- _has_bits_[0] |= 0x00002000u;
- if (highlystructuredmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00002000u;
+ if (_impl_.highlystructuredmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::HighlyStructuredMessage>(GetArenaForAllocation());
- highlystructuredmessage_ = p;
+ _impl_.highlystructuredmessage_ = p;
}
- return highlystructuredmessage_;
+ return _impl_.highlystructuredmessage_;
}
inline ::proto::HighlyStructuredMessage* Message::mutable_highlystructuredmessage() {
::proto::HighlyStructuredMessage* _msg = _internal_mutable_highlystructuredmessage();
@@ -45415,38 +47526,38 @@ inline ::proto::HighlyStructuredMessage* Message::mutable_highlystructuredmessag
inline void Message::set_allocated_highlystructuredmessage(::proto::HighlyStructuredMessage* highlystructuredmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete highlystructuredmessage_;
+ delete _impl_.highlystructuredmessage_;
}
if (highlystructuredmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::HighlyStructuredMessage>::GetOwningArena(highlystructuredmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(highlystructuredmessage);
if (message_arena != submessage_arena) {
highlystructuredmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, highlystructuredmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00002000u;
+ _impl_._has_bits_[0] |= 0x00002000u;
} else {
- _has_bits_[0] &= ~0x00002000u;
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
- highlystructuredmessage_ = highlystructuredmessage;
+ _impl_.highlystructuredmessage_ = highlystructuredmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.highlyStructuredMessage)
}
// optional .proto.SenderKeyDistributionMessage fastRatchetKeySenderKeyDistributionMessage = 15;
inline bool Message::_internal_has_fastratchetkeysenderkeydistributionmessage() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
- PROTOBUF_ASSUME(!value || fastratchetkeysenderkeydistributionmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.fastratchetkeysenderkeydistributionmessage_ != nullptr);
return value;
}
inline bool Message::has_fastratchetkeysenderkeydistributionmessage() const {
return _internal_has_fastratchetkeysenderkeydistributionmessage();
}
inline void Message::clear_fastratchetkeysenderkeydistributionmessage() {
- if (fastratchetkeysenderkeydistributionmessage_ != nullptr) fastratchetkeysenderkeydistributionmessage_->Clear();
- _has_bits_[0] &= ~0x00004000u;
+ if (_impl_.fastratchetkeysenderkeydistributionmessage_ != nullptr) _impl_.fastratchetkeysenderkeydistributionmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
inline const ::proto::SenderKeyDistributionMessage& Message::_internal_fastratchetkeysenderkeydistributionmessage() const {
- const ::proto::SenderKeyDistributionMessage* p = fastratchetkeysenderkeydistributionmessage_;
+ const ::proto::SenderKeyDistributionMessage* p = _impl_.fastratchetkeysenderkeydistributionmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::SenderKeyDistributionMessage&>(
::proto::_SenderKeyDistributionMessage_default_instance_);
}
@@ -45457,20 +47568,20 @@ inline const ::proto::SenderKeyDistributionMessage& Message::fastratchetkeysende
inline void Message::unsafe_arena_set_allocated_fastratchetkeysenderkeydistributionmessage(
::proto::SenderKeyDistributionMessage* fastratchetkeysenderkeydistributionmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fastratchetkeysenderkeydistributionmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fastratchetkeysenderkeydistributionmessage_);
}
- fastratchetkeysenderkeydistributionmessage_ = fastratchetkeysenderkeydistributionmessage;
+ _impl_.fastratchetkeysenderkeydistributionmessage_ = fastratchetkeysenderkeydistributionmessage;
if (fastratchetkeysenderkeydistributionmessage) {
- _has_bits_[0] |= 0x00004000u;
+ _impl_._has_bits_[0] |= 0x00004000u;
} else {
- _has_bits_[0] &= ~0x00004000u;
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.fastRatchetKeySenderKeyDistributionMessage)
}
inline ::proto::SenderKeyDistributionMessage* Message::release_fastratchetkeysenderkeydistributionmessage() {
- _has_bits_[0] &= ~0x00004000u;
- ::proto::SenderKeyDistributionMessage* temp = fastratchetkeysenderkeydistributionmessage_;
- fastratchetkeysenderkeydistributionmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00004000u;
+ ::proto::SenderKeyDistributionMessage* temp = _impl_.fastratchetkeysenderkeydistributionmessage_;
+ _impl_.fastratchetkeysenderkeydistributionmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45484,18 +47595,18 @@ inline ::proto::SenderKeyDistributionMessage* Message::release_fastratchetkeysen
}
inline ::proto::SenderKeyDistributionMessage* Message::unsafe_arena_release_fastratchetkeysenderkeydistributionmessage() {
// @@protoc_insertion_point(field_release:proto.Message.fastRatchetKeySenderKeyDistributionMessage)
- _has_bits_[0] &= ~0x00004000u;
- ::proto::SenderKeyDistributionMessage* temp = fastratchetkeysenderkeydistributionmessage_;
- fastratchetkeysenderkeydistributionmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00004000u;
+ ::proto::SenderKeyDistributionMessage* temp = _impl_.fastratchetkeysenderkeydistributionmessage_;
+ _impl_.fastratchetkeysenderkeydistributionmessage_ = nullptr;
return temp;
}
inline ::proto::SenderKeyDistributionMessage* Message::_internal_mutable_fastratchetkeysenderkeydistributionmessage() {
- _has_bits_[0] |= 0x00004000u;
- if (fastratchetkeysenderkeydistributionmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00004000u;
+ if (_impl_.fastratchetkeysenderkeydistributionmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::SenderKeyDistributionMessage>(GetArenaForAllocation());
- fastratchetkeysenderkeydistributionmessage_ = p;
+ _impl_.fastratchetkeysenderkeydistributionmessage_ = p;
}
- return fastratchetkeysenderkeydistributionmessage_;
+ return _impl_.fastratchetkeysenderkeydistributionmessage_;
}
inline ::proto::SenderKeyDistributionMessage* Message::mutable_fastratchetkeysenderkeydistributionmessage() {
::proto::SenderKeyDistributionMessage* _msg = _internal_mutable_fastratchetkeysenderkeydistributionmessage();
@@ -45505,38 +47616,38 @@ inline ::proto::SenderKeyDistributionMessage* Message::mutable_fastratchetkeysen
inline void Message::set_allocated_fastratchetkeysenderkeydistributionmessage(::proto::SenderKeyDistributionMessage* fastratchetkeysenderkeydistributionmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete fastratchetkeysenderkeydistributionmessage_;
+ delete _impl_.fastratchetkeysenderkeydistributionmessage_;
}
if (fastratchetkeysenderkeydistributionmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::SenderKeyDistributionMessage>::GetOwningArena(fastratchetkeysenderkeydistributionmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fastratchetkeysenderkeydistributionmessage);
if (message_arena != submessage_arena) {
fastratchetkeysenderkeydistributionmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, fastratchetkeysenderkeydistributionmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00004000u;
+ _impl_._has_bits_[0] |= 0x00004000u;
} else {
- _has_bits_[0] &= ~0x00004000u;
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
- fastratchetkeysenderkeydistributionmessage_ = fastratchetkeysenderkeydistributionmessage;
+ _impl_.fastratchetkeysenderkeydistributionmessage_ = fastratchetkeysenderkeydistributionmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.fastRatchetKeySenderKeyDistributionMessage)
}
// optional .proto.SendPaymentMessage sendPaymentMessage = 16;
inline bool Message::_internal_has_sendpaymentmessage() const {
- bool value = (_has_bits_[0] & 0x00008000u) != 0;
- PROTOBUF_ASSUME(!value || sendpaymentmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.sendpaymentmessage_ != nullptr);
return value;
}
inline bool Message::has_sendpaymentmessage() const {
return _internal_has_sendpaymentmessage();
}
inline void Message::clear_sendpaymentmessage() {
- if (sendpaymentmessage_ != nullptr) sendpaymentmessage_->Clear();
- _has_bits_[0] &= ~0x00008000u;
+ if (_impl_.sendpaymentmessage_ != nullptr) _impl_.sendpaymentmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
inline const ::proto::SendPaymentMessage& Message::_internal_sendpaymentmessage() const {
- const ::proto::SendPaymentMessage* p = sendpaymentmessage_;
+ const ::proto::SendPaymentMessage* p = _impl_.sendpaymentmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::SendPaymentMessage&>(
::proto::_SendPaymentMessage_default_instance_);
}
@@ -45547,20 +47658,20 @@ inline const ::proto::SendPaymentMessage& Message::sendpaymentmessage() const {
inline void Message::unsafe_arena_set_allocated_sendpaymentmessage(
::proto::SendPaymentMessage* sendpaymentmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sendpaymentmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sendpaymentmessage_);
}
- sendpaymentmessage_ = sendpaymentmessage;
+ _impl_.sendpaymentmessage_ = sendpaymentmessage;
if (sendpaymentmessage) {
- _has_bits_[0] |= 0x00008000u;
+ _impl_._has_bits_[0] |= 0x00008000u;
} else {
- _has_bits_[0] &= ~0x00008000u;
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.sendPaymentMessage)
}
inline ::proto::SendPaymentMessage* Message::release_sendpaymentmessage() {
- _has_bits_[0] &= ~0x00008000u;
- ::proto::SendPaymentMessage* temp = sendpaymentmessage_;
- sendpaymentmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00008000u;
+ ::proto::SendPaymentMessage* temp = _impl_.sendpaymentmessage_;
+ _impl_.sendpaymentmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45574,18 +47685,18 @@ inline ::proto::SendPaymentMessage* Message::release_sendpaymentmessage() {
}
inline ::proto::SendPaymentMessage* Message::unsafe_arena_release_sendpaymentmessage() {
// @@protoc_insertion_point(field_release:proto.Message.sendPaymentMessage)
- _has_bits_[0] &= ~0x00008000u;
- ::proto::SendPaymentMessage* temp = sendpaymentmessage_;
- sendpaymentmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00008000u;
+ ::proto::SendPaymentMessage* temp = _impl_.sendpaymentmessage_;
+ _impl_.sendpaymentmessage_ = nullptr;
return temp;
}
inline ::proto::SendPaymentMessage* Message::_internal_mutable_sendpaymentmessage() {
- _has_bits_[0] |= 0x00008000u;
- if (sendpaymentmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00008000u;
+ if (_impl_.sendpaymentmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::SendPaymentMessage>(GetArenaForAllocation());
- sendpaymentmessage_ = p;
+ _impl_.sendpaymentmessage_ = p;
}
- return sendpaymentmessage_;
+ return _impl_.sendpaymentmessage_;
}
inline ::proto::SendPaymentMessage* Message::mutable_sendpaymentmessage() {
::proto::SendPaymentMessage* _msg = _internal_mutable_sendpaymentmessage();
@@ -45595,38 +47706,38 @@ inline ::proto::SendPaymentMessage* Message::mutable_sendpaymentmessage() {
inline void Message::set_allocated_sendpaymentmessage(::proto::SendPaymentMessage* sendpaymentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete sendpaymentmessage_;
+ delete _impl_.sendpaymentmessage_;
}
if (sendpaymentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::SendPaymentMessage>::GetOwningArena(sendpaymentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sendpaymentmessage);
if (message_arena != submessage_arena) {
sendpaymentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, sendpaymentmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00008000u;
+ _impl_._has_bits_[0] |= 0x00008000u;
} else {
- _has_bits_[0] &= ~0x00008000u;
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
- sendpaymentmessage_ = sendpaymentmessage;
+ _impl_.sendpaymentmessage_ = sendpaymentmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.sendPaymentMessage)
}
// optional .proto.LiveLocationMessage liveLocationMessage = 18;
inline bool Message::_internal_has_livelocationmessage() const {
- bool value = (_has_bits_[0] & 0x00010000u) != 0;
- PROTOBUF_ASSUME(!value || livelocationmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.livelocationmessage_ != nullptr);
return value;
}
inline bool Message::has_livelocationmessage() const {
return _internal_has_livelocationmessage();
}
inline void Message::clear_livelocationmessage() {
- if (livelocationmessage_ != nullptr) livelocationmessage_->Clear();
- _has_bits_[0] &= ~0x00010000u;
+ if (_impl_.livelocationmessage_ != nullptr) _impl_.livelocationmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00010000u;
}
inline const ::proto::LiveLocationMessage& Message::_internal_livelocationmessage() const {
- const ::proto::LiveLocationMessage* p = livelocationmessage_;
+ const ::proto::LiveLocationMessage* p = _impl_.livelocationmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::LiveLocationMessage&>(
::proto::_LiveLocationMessage_default_instance_);
}
@@ -45637,20 +47748,20 @@ inline const ::proto::LiveLocationMessage& Message::livelocationmessage() const
inline void Message::unsafe_arena_set_allocated_livelocationmessage(
::proto::LiveLocationMessage* livelocationmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(livelocationmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.livelocationmessage_);
}
- livelocationmessage_ = livelocationmessage;
+ _impl_.livelocationmessage_ = livelocationmessage;
if (livelocationmessage) {
- _has_bits_[0] |= 0x00010000u;
+ _impl_._has_bits_[0] |= 0x00010000u;
} else {
- _has_bits_[0] &= ~0x00010000u;
+ _impl_._has_bits_[0] &= ~0x00010000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.liveLocationMessage)
}
inline ::proto::LiveLocationMessage* Message::release_livelocationmessage() {
- _has_bits_[0] &= ~0x00010000u;
- ::proto::LiveLocationMessage* temp = livelocationmessage_;
- livelocationmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00010000u;
+ ::proto::LiveLocationMessage* temp = _impl_.livelocationmessage_;
+ _impl_.livelocationmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45664,18 +47775,18 @@ inline ::proto::LiveLocationMessage* Message::release_livelocationmessage() {
}
inline ::proto::LiveLocationMessage* Message::unsafe_arena_release_livelocationmessage() {
// @@protoc_insertion_point(field_release:proto.Message.liveLocationMessage)
- _has_bits_[0] &= ~0x00010000u;
- ::proto::LiveLocationMessage* temp = livelocationmessage_;
- livelocationmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00010000u;
+ ::proto::LiveLocationMessage* temp = _impl_.livelocationmessage_;
+ _impl_.livelocationmessage_ = nullptr;
return temp;
}
inline ::proto::LiveLocationMessage* Message::_internal_mutable_livelocationmessage() {
- _has_bits_[0] |= 0x00010000u;
- if (livelocationmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00010000u;
+ if (_impl_.livelocationmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::LiveLocationMessage>(GetArenaForAllocation());
- livelocationmessage_ = p;
+ _impl_.livelocationmessage_ = p;
}
- return livelocationmessage_;
+ return _impl_.livelocationmessage_;
}
inline ::proto::LiveLocationMessage* Message::mutable_livelocationmessage() {
::proto::LiveLocationMessage* _msg = _internal_mutable_livelocationmessage();
@@ -45685,38 +47796,38 @@ inline ::proto::LiveLocationMessage* Message::mutable_livelocationmessage() {
inline void Message::set_allocated_livelocationmessage(::proto::LiveLocationMessage* livelocationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete livelocationmessage_;
+ delete _impl_.livelocationmessage_;
}
if (livelocationmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LiveLocationMessage>::GetOwningArena(livelocationmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(livelocationmessage);
if (message_arena != submessage_arena) {
livelocationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, livelocationmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00010000u;
+ _impl_._has_bits_[0] |= 0x00010000u;
} else {
- _has_bits_[0] &= ~0x00010000u;
+ _impl_._has_bits_[0] &= ~0x00010000u;
}
- livelocationmessage_ = livelocationmessage;
+ _impl_.livelocationmessage_ = livelocationmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.liveLocationMessage)
}
// optional .proto.RequestPaymentMessage requestPaymentMessage = 22;
inline bool Message::_internal_has_requestpaymentmessage() const {
- bool value = (_has_bits_[0] & 0x00020000u) != 0;
- PROTOBUF_ASSUME(!value || requestpaymentmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.requestpaymentmessage_ != nullptr);
return value;
}
inline bool Message::has_requestpaymentmessage() const {
return _internal_has_requestpaymentmessage();
}
inline void Message::clear_requestpaymentmessage() {
- if (requestpaymentmessage_ != nullptr) requestpaymentmessage_->Clear();
- _has_bits_[0] &= ~0x00020000u;
+ if (_impl_.requestpaymentmessage_ != nullptr) _impl_.requestpaymentmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00020000u;
}
inline const ::proto::RequestPaymentMessage& Message::_internal_requestpaymentmessage() const {
- const ::proto::RequestPaymentMessage* p = requestpaymentmessage_;
+ const ::proto::RequestPaymentMessage* p = _impl_.requestpaymentmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::RequestPaymentMessage&>(
::proto::_RequestPaymentMessage_default_instance_);
}
@@ -45727,20 +47838,20 @@ inline const ::proto::RequestPaymentMessage& Message::requestpaymentmessage() co
inline void Message::unsafe_arena_set_allocated_requestpaymentmessage(
::proto::RequestPaymentMessage* requestpaymentmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(requestpaymentmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.requestpaymentmessage_);
}
- requestpaymentmessage_ = requestpaymentmessage;
+ _impl_.requestpaymentmessage_ = requestpaymentmessage;
if (requestpaymentmessage) {
- _has_bits_[0] |= 0x00020000u;
+ _impl_._has_bits_[0] |= 0x00020000u;
} else {
- _has_bits_[0] &= ~0x00020000u;
+ _impl_._has_bits_[0] &= ~0x00020000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.requestPaymentMessage)
}
inline ::proto::RequestPaymentMessage* Message::release_requestpaymentmessage() {
- _has_bits_[0] &= ~0x00020000u;
- ::proto::RequestPaymentMessage* temp = requestpaymentmessage_;
- requestpaymentmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00020000u;
+ ::proto::RequestPaymentMessage* temp = _impl_.requestpaymentmessage_;
+ _impl_.requestpaymentmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45754,18 +47865,18 @@ inline ::proto::RequestPaymentMessage* Message::release_requestpaymentmessage()
}
inline ::proto::RequestPaymentMessage* Message::unsafe_arena_release_requestpaymentmessage() {
// @@protoc_insertion_point(field_release:proto.Message.requestPaymentMessage)
- _has_bits_[0] &= ~0x00020000u;
- ::proto::RequestPaymentMessage* temp = requestpaymentmessage_;
- requestpaymentmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00020000u;
+ ::proto::RequestPaymentMessage* temp = _impl_.requestpaymentmessage_;
+ _impl_.requestpaymentmessage_ = nullptr;
return temp;
}
inline ::proto::RequestPaymentMessage* Message::_internal_mutable_requestpaymentmessage() {
- _has_bits_[0] |= 0x00020000u;
- if (requestpaymentmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00020000u;
+ if (_impl_.requestpaymentmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::RequestPaymentMessage>(GetArenaForAllocation());
- requestpaymentmessage_ = p;
+ _impl_.requestpaymentmessage_ = p;
}
- return requestpaymentmessage_;
+ return _impl_.requestpaymentmessage_;
}
inline ::proto::RequestPaymentMessage* Message::mutable_requestpaymentmessage() {
::proto::RequestPaymentMessage* _msg = _internal_mutable_requestpaymentmessage();
@@ -45775,38 +47886,38 @@ inline ::proto::RequestPaymentMessage* Message::mutable_requestpaymentmessage()
inline void Message::set_allocated_requestpaymentmessage(::proto::RequestPaymentMessage* requestpaymentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete requestpaymentmessage_;
+ delete _impl_.requestpaymentmessage_;
}
if (requestpaymentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::RequestPaymentMessage>::GetOwningArena(requestpaymentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(requestpaymentmessage);
if (message_arena != submessage_arena) {
requestpaymentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, requestpaymentmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00020000u;
+ _impl_._has_bits_[0] |= 0x00020000u;
} else {
- _has_bits_[0] &= ~0x00020000u;
+ _impl_._has_bits_[0] &= ~0x00020000u;
}
- requestpaymentmessage_ = requestpaymentmessage;
+ _impl_.requestpaymentmessage_ = requestpaymentmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.requestPaymentMessage)
}
// optional .proto.DeclinePaymentRequestMessage declinePaymentRequestMessage = 23;
inline bool Message::_internal_has_declinepaymentrequestmessage() const {
- bool value = (_has_bits_[0] & 0x00040000u) != 0;
- PROTOBUF_ASSUME(!value || declinepaymentrequestmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.declinepaymentrequestmessage_ != nullptr);
return value;
}
inline bool Message::has_declinepaymentrequestmessage() const {
return _internal_has_declinepaymentrequestmessage();
}
inline void Message::clear_declinepaymentrequestmessage() {
- if (declinepaymentrequestmessage_ != nullptr) declinepaymentrequestmessage_->Clear();
- _has_bits_[0] &= ~0x00040000u;
+ if (_impl_.declinepaymentrequestmessage_ != nullptr) _impl_.declinepaymentrequestmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00040000u;
}
inline const ::proto::DeclinePaymentRequestMessage& Message::_internal_declinepaymentrequestmessage() const {
- const ::proto::DeclinePaymentRequestMessage* p = declinepaymentrequestmessage_;
+ const ::proto::DeclinePaymentRequestMessage* p = _impl_.declinepaymentrequestmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::DeclinePaymentRequestMessage&>(
::proto::_DeclinePaymentRequestMessage_default_instance_);
}
@@ -45817,20 +47928,20 @@ inline const ::proto::DeclinePaymentRequestMessage& Message::declinepaymentreque
inline void Message::unsafe_arena_set_allocated_declinepaymentrequestmessage(
::proto::DeclinePaymentRequestMessage* declinepaymentrequestmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(declinepaymentrequestmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.declinepaymentrequestmessage_);
}
- declinepaymentrequestmessage_ = declinepaymentrequestmessage;
+ _impl_.declinepaymentrequestmessage_ = declinepaymentrequestmessage;
if (declinepaymentrequestmessage) {
- _has_bits_[0] |= 0x00040000u;
+ _impl_._has_bits_[0] |= 0x00040000u;
} else {
- _has_bits_[0] &= ~0x00040000u;
+ _impl_._has_bits_[0] &= ~0x00040000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.declinePaymentRequestMessage)
}
inline ::proto::DeclinePaymentRequestMessage* Message::release_declinepaymentrequestmessage() {
- _has_bits_[0] &= ~0x00040000u;
- ::proto::DeclinePaymentRequestMessage* temp = declinepaymentrequestmessage_;
- declinepaymentrequestmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00040000u;
+ ::proto::DeclinePaymentRequestMessage* temp = _impl_.declinepaymentrequestmessage_;
+ _impl_.declinepaymentrequestmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45844,18 +47955,18 @@ inline ::proto::DeclinePaymentRequestMessage* Message::release_declinepaymentreq
}
inline ::proto::DeclinePaymentRequestMessage* Message::unsafe_arena_release_declinepaymentrequestmessage() {
// @@protoc_insertion_point(field_release:proto.Message.declinePaymentRequestMessage)
- _has_bits_[0] &= ~0x00040000u;
- ::proto::DeclinePaymentRequestMessage* temp = declinepaymentrequestmessage_;
- declinepaymentrequestmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00040000u;
+ ::proto::DeclinePaymentRequestMessage* temp = _impl_.declinepaymentrequestmessage_;
+ _impl_.declinepaymentrequestmessage_ = nullptr;
return temp;
}
inline ::proto::DeclinePaymentRequestMessage* Message::_internal_mutable_declinepaymentrequestmessage() {
- _has_bits_[0] |= 0x00040000u;
- if (declinepaymentrequestmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00040000u;
+ if (_impl_.declinepaymentrequestmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::DeclinePaymentRequestMessage>(GetArenaForAllocation());
- declinepaymentrequestmessage_ = p;
+ _impl_.declinepaymentrequestmessage_ = p;
}
- return declinepaymentrequestmessage_;
+ return _impl_.declinepaymentrequestmessage_;
}
inline ::proto::DeclinePaymentRequestMessage* Message::mutable_declinepaymentrequestmessage() {
::proto::DeclinePaymentRequestMessage* _msg = _internal_mutable_declinepaymentrequestmessage();
@@ -45865,38 +47976,38 @@ inline ::proto::DeclinePaymentRequestMessage* Message::mutable_declinepaymentreq
inline void Message::set_allocated_declinepaymentrequestmessage(::proto::DeclinePaymentRequestMessage* declinepaymentrequestmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete declinepaymentrequestmessage_;
+ delete _impl_.declinepaymentrequestmessage_;
}
if (declinepaymentrequestmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DeclinePaymentRequestMessage>::GetOwningArena(declinepaymentrequestmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(declinepaymentrequestmessage);
if (message_arena != submessage_arena) {
declinepaymentrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, declinepaymentrequestmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00040000u;
+ _impl_._has_bits_[0] |= 0x00040000u;
} else {
- _has_bits_[0] &= ~0x00040000u;
+ _impl_._has_bits_[0] &= ~0x00040000u;
}
- declinepaymentrequestmessage_ = declinepaymentrequestmessage;
+ _impl_.declinepaymentrequestmessage_ = declinepaymentrequestmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.declinePaymentRequestMessage)
}
// optional .proto.CancelPaymentRequestMessage cancelPaymentRequestMessage = 24;
inline bool Message::_internal_has_cancelpaymentrequestmessage() const {
- bool value = (_has_bits_[0] & 0x00080000u) != 0;
- PROTOBUF_ASSUME(!value || cancelpaymentrequestmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.cancelpaymentrequestmessage_ != nullptr);
return value;
}
inline bool Message::has_cancelpaymentrequestmessage() const {
return _internal_has_cancelpaymentrequestmessage();
}
inline void Message::clear_cancelpaymentrequestmessage() {
- if (cancelpaymentrequestmessage_ != nullptr) cancelpaymentrequestmessage_->Clear();
- _has_bits_[0] &= ~0x00080000u;
+ if (_impl_.cancelpaymentrequestmessage_ != nullptr) _impl_.cancelpaymentrequestmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00080000u;
}
inline const ::proto::CancelPaymentRequestMessage& Message::_internal_cancelpaymentrequestmessage() const {
- const ::proto::CancelPaymentRequestMessage* p = cancelpaymentrequestmessage_;
+ const ::proto::CancelPaymentRequestMessage* p = _impl_.cancelpaymentrequestmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::CancelPaymentRequestMessage&>(
::proto::_CancelPaymentRequestMessage_default_instance_);
}
@@ -45907,20 +48018,20 @@ inline const ::proto::CancelPaymentRequestMessage& Message::cancelpaymentrequest
inline void Message::unsafe_arena_set_allocated_cancelpaymentrequestmessage(
::proto::CancelPaymentRequestMessage* cancelpaymentrequestmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cancelpaymentrequestmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cancelpaymentrequestmessage_);
}
- cancelpaymentrequestmessage_ = cancelpaymentrequestmessage;
+ _impl_.cancelpaymentrequestmessage_ = cancelpaymentrequestmessage;
if (cancelpaymentrequestmessage) {
- _has_bits_[0] |= 0x00080000u;
+ _impl_._has_bits_[0] |= 0x00080000u;
} else {
- _has_bits_[0] &= ~0x00080000u;
+ _impl_._has_bits_[0] &= ~0x00080000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.cancelPaymentRequestMessage)
}
inline ::proto::CancelPaymentRequestMessage* Message::release_cancelpaymentrequestmessage() {
- _has_bits_[0] &= ~0x00080000u;
- ::proto::CancelPaymentRequestMessage* temp = cancelpaymentrequestmessage_;
- cancelpaymentrequestmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00080000u;
+ ::proto::CancelPaymentRequestMessage* temp = _impl_.cancelpaymentrequestmessage_;
+ _impl_.cancelpaymentrequestmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -45934,18 +48045,18 @@ inline ::proto::CancelPaymentRequestMessage* Message::release_cancelpaymentreque
}
inline ::proto::CancelPaymentRequestMessage* Message::unsafe_arena_release_cancelpaymentrequestmessage() {
// @@protoc_insertion_point(field_release:proto.Message.cancelPaymentRequestMessage)
- _has_bits_[0] &= ~0x00080000u;
- ::proto::CancelPaymentRequestMessage* temp = cancelpaymentrequestmessage_;
- cancelpaymentrequestmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00080000u;
+ ::proto::CancelPaymentRequestMessage* temp = _impl_.cancelpaymentrequestmessage_;
+ _impl_.cancelpaymentrequestmessage_ = nullptr;
return temp;
}
inline ::proto::CancelPaymentRequestMessage* Message::_internal_mutable_cancelpaymentrequestmessage() {
- _has_bits_[0] |= 0x00080000u;
- if (cancelpaymentrequestmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00080000u;
+ if (_impl_.cancelpaymentrequestmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::CancelPaymentRequestMessage>(GetArenaForAllocation());
- cancelpaymentrequestmessage_ = p;
+ _impl_.cancelpaymentrequestmessage_ = p;
}
- return cancelpaymentrequestmessage_;
+ return _impl_.cancelpaymentrequestmessage_;
}
inline ::proto::CancelPaymentRequestMessage* Message::mutable_cancelpaymentrequestmessage() {
::proto::CancelPaymentRequestMessage* _msg = _internal_mutable_cancelpaymentrequestmessage();
@@ -45955,38 +48066,38 @@ inline ::proto::CancelPaymentRequestMessage* Message::mutable_cancelpaymentreque
inline void Message::set_allocated_cancelpaymentrequestmessage(::proto::CancelPaymentRequestMessage* cancelpaymentrequestmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete cancelpaymentrequestmessage_;
+ delete _impl_.cancelpaymentrequestmessage_;
}
if (cancelpaymentrequestmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::CancelPaymentRequestMessage>::GetOwningArena(cancelpaymentrequestmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cancelpaymentrequestmessage);
if (message_arena != submessage_arena) {
cancelpaymentrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, cancelpaymentrequestmessage, submessage_arena);
}
- _has_bits_[0] |= 0x00080000u;
+ _impl_._has_bits_[0] |= 0x00080000u;
} else {
- _has_bits_[0] &= ~0x00080000u;
+ _impl_._has_bits_[0] &= ~0x00080000u;
}
- cancelpaymentrequestmessage_ = cancelpaymentrequestmessage;
+ _impl_.cancelpaymentrequestmessage_ = cancelpaymentrequestmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.cancelPaymentRequestMessage)
}
// optional .proto.TemplateMessage templateMessage = 25;
inline bool Message::_internal_has_templatemessage() const {
- bool value = (_has_bits_[0] & 0x00100000u) != 0;
- PROTOBUF_ASSUME(!value || templatemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.templatemessage_ != nullptr);
return value;
}
inline bool Message::has_templatemessage() const {
return _internal_has_templatemessage();
}
inline void Message::clear_templatemessage() {
- if (templatemessage_ != nullptr) templatemessage_->Clear();
- _has_bits_[0] &= ~0x00100000u;
+ if (_impl_.templatemessage_ != nullptr) _impl_.templatemessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00100000u;
}
inline const ::proto::TemplateMessage& Message::_internal_templatemessage() const {
- const ::proto::TemplateMessage* p = templatemessage_;
+ const ::proto::TemplateMessage* p = _impl_.templatemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::TemplateMessage&>(
::proto::_TemplateMessage_default_instance_);
}
@@ -45997,20 +48108,20 @@ inline const ::proto::TemplateMessage& Message::templatemessage() const {
inline void Message::unsafe_arena_set_allocated_templatemessage(
::proto::TemplateMessage* templatemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(templatemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.templatemessage_);
}
- templatemessage_ = templatemessage;
+ _impl_.templatemessage_ = templatemessage;
if (templatemessage) {
- _has_bits_[0] |= 0x00100000u;
+ _impl_._has_bits_[0] |= 0x00100000u;
} else {
- _has_bits_[0] &= ~0x00100000u;
+ _impl_._has_bits_[0] &= ~0x00100000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.templateMessage)
}
inline ::proto::TemplateMessage* Message::release_templatemessage() {
- _has_bits_[0] &= ~0x00100000u;
- ::proto::TemplateMessage* temp = templatemessage_;
- templatemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00100000u;
+ ::proto::TemplateMessage* temp = _impl_.templatemessage_;
+ _impl_.templatemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46024,18 +48135,18 @@ inline ::proto::TemplateMessage* Message::release_templatemessage() {
}
inline ::proto::TemplateMessage* Message::unsafe_arena_release_templatemessage() {
// @@protoc_insertion_point(field_release:proto.Message.templateMessage)
- _has_bits_[0] &= ~0x00100000u;
- ::proto::TemplateMessage* temp = templatemessage_;
- templatemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00100000u;
+ ::proto::TemplateMessage* temp = _impl_.templatemessage_;
+ _impl_.templatemessage_ = nullptr;
return temp;
}
inline ::proto::TemplateMessage* Message::_internal_mutable_templatemessage() {
- _has_bits_[0] |= 0x00100000u;
- if (templatemessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00100000u;
+ if (_impl_.templatemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::TemplateMessage>(GetArenaForAllocation());
- templatemessage_ = p;
+ _impl_.templatemessage_ = p;
}
- return templatemessage_;
+ return _impl_.templatemessage_;
}
inline ::proto::TemplateMessage* Message::mutable_templatemessage() {
::proto::TemplateMessage* _msg = _internal_mutable_templatemessage();
@@ -46045,38 +48156,38 @@ inline ::proto::TemplateMessage* Message::mutable_templatemessage() {
inline void Message::set_allocated_templatemessage(::proto::TemplateMessage* templatemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete templatemessage_;
+ delete _impl_.templatemessage_;
}
if (templatemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::TemplateMessage>::GetOwningArena(templatemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(templatemessage);
if (message_arena != submessage_arena) {
templatemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, templatemessage, submessage_arena);
}
- _has_bits_[0] |= 0x00100000u;
+ _impl_._has_bits_[0] |= 0x00100000u;
} else {
- _has_bits_[0] &= ~0x00100000u;
+ _impl_._has_bits_[0] &= ~0x00100000u;
}
- templatemessage_ = templatemessage;
+ _impl_.templatemessage_ = templatemessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.templateMessage)
}
// optional .proto.StickerMessage stickerMessage = 26;
inline bool Message::_internal_has_stickermessage() const {
- bool value = (_has_bits_[0] & 0x00200000u) != 0;
- PROTOBUF_ASSUME(!value || stickermessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.stickermessage_ != nullptr);
return value;
}
inline bool Message::has_stickermessage() const {
return _internal_has_stickermessage();
}
inline void Message::clear_stickermessage() {
- if (stickermessage_ != nullptr) stickermessage_->Clear();
- _has_bits_[0] &= ~0x00200000u;
+ if (_impl_.stickermessage_ != nullptr) _impl_.stickermessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00200000u;
}
inline const ::proto::StickerMessage& Message::_internal_stickermessage() const {
- const ::proto::StickerMessage* p = stickermessage_;
+ const ::proto::StickerMessage* p = _impl_.stickermessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::StickerMessage&>(
::proto::_StickerMessage_default_instance_);
}
@@ -46087,20 +48198,20 @@ inline const ::proto::StickerMessage& Message::stickermessage() const {
inline void Message::unsafe_arena_set_allocated_stickermessage(
::proto::StickerMessage* stickermessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stickermessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stickermessage_);
}
- stickermessage_ = stickermessage;
+ _impl_.stickermessage_ = stickermessage;
if (stickermessage) {
- _has_bits_[0] |= 0x00200000u;
+ _impl_._has_bits_[0] |= 0x00200000u;
} else {
- _has_bits_[0] &= ~0x00200000u;
+ _impl_._has_bits_[0] &= ~0x00200000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.stickerMessage)
}
inline ::proto::StickerMessage* Message::release_stickermessage() {
- _has_bits_[0] &= ~0x00200000u;
- ::proto::StickerMessage* temp = stickermessage_;
- stickermessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00200000u;
+ ::proto::StickerMessage* temp = _impl_.stickermessage_;
+ _impl_.stickermessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46114,18 +48225,18 @@ inline ::proto::StickerMessage* Message::release_stickermessage() {
}
inline ::proto::StickerMessage* Message::unsafe_arena_release_stickermessage() {
// @@protoc_insertion_point(field_release:proto.Message.stickerMessage)
- _has_bits_[0] &= ~0x00200000u;
- ::proto::StickerMessage* temp = stickermessage_;
- stickermessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00200000u;
+ ::proto::StickerMessage* temp = _impl_.stickermessage_;
+ _impl_.stickermessage_ = nullptr;
return temp;
}
inline ::proto::StickerMessage* Message::_internal_mutable_stickermessage() {
- _has_bits_[0] |= 0x00200000u;
- if (stickermessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00200000u;
+ if (_impl_.stickermessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::StickerMessage>(GetArenaForAllocation());
- stickermessage_ = p;
+ _impl_.stickermessage_ = p;
}
- return stickermessage_;
+ return _impl_.stickermessage_;
}
inline ::proto::StickerMessage* Message::mutable_stickermessage() {
::proto::StickerMessage* _msg = _internal_mutable_stickermessage();
@@ -46135,38 +48246,38 @@ inline ::proto::StickerMessage* Message::mutable_stickermessage() {
inline void Message::set_allocated_stickermessage(::proto::StickerMessage* stickermessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete stickermessage_;
+ delete _impl_.stickermessage_;
}
if (stickermessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::StickerMessage>::GetOwningArena(stickermessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stickermessage);
if (message_arena != submessage_arena) {
stickermessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, stickermessage, submessage_arena);
}
- _has_bits_[0] |= 0x00200000u;
+ _impl_._has_bits_[0] |= 0x00200000u;
} else {
- _has_bits_[0] &= ~0x00200000u;
+ _impl_._has_bits_[0] &= ~0x00200000u;
}
- stickermessage_ = stickermessage;
+ _impl_.stickermessage_ = stickermessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.stickerMessage)
}
// optional .proto.GroupInviteMessage groupInviteMessage = 28;
inline bool Message::_internal_has_groupinvitemessage() const {
- bool value = (_has_bits_[0] & 0x00400000u) != 0;
- PROTOBUF_ASSUME(!value || groupinvitemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.groupinvitemessage_ != nullptr);
return value;
}
inline bool Message::has_groupinvitemessage() const {
return _internal_has_groupinvitemessage();
}
inline void Message::clear_groupinvitemessage() {
- if (groupinvitemessage_ != nullptr) groupinvitemessage_->Clear();
- _has_bits_[0] &= ~0x00400000u;
+ if (_impl_.groupinvitemessage_ != nullptr) _impl_.groupinvitemessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00400000u;
}
inline const ::proto::GroupInviteMessage& Message::_internal_groupinvitemessage() const {
- const ::proto::GroupInviteMessage* p = groupinvitemessage_;
+ const ::proto::GroupInviteMessage* p = _impl_.groupinvitemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::GroupInviteMessage&>(
::proto::_GroupInviteMessage_default_instance_);
}
@@ -46177,20 +48288,20 @@ inline const ::proto::GroupInviteMessage& Message::groupinvitemessage() const {
inline void Message::unsafe_arena_set_allocated_groupinvitemessage(
::proto::GroupInviteMessage* groupinvitemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(groupinvitemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.groupinvitemessage_);
}
- groupinvitemessage_ = groupinvitemessage;
+ _impl_.groupinvitemessage_ = groupinvitemessage;
if (groupinvitemessage) {
- _has_bits_[0] |= 0x00400000u;
+ _impl_._has_bits_[0] |= 0x00400000u;
} else {
- _has_bits_[0] &= ~0x00400000u;
+ _impl_._has_bits_[0] &= ~0x00400000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.groupInviteMessage)
}
inline ::proto::GroupInviteMessage* Message::release_groupinvitemessage() {
- _has_bits_[0] &= ~0x00400000u;
- ::proto::GroupInviteMessage* temp = groupinvitemessage_;
- groupinvitemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00400000u;
+ ::proto::GroupInviteMessage* temp = _impl_.groupinvitemessage_;
+ _impl_.groupinvitemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46204,18 +48315,18 @@ inline ::proto::GroupInviteMessage* Message::release_groupinvitemessage() {
}
inline ::proto::GroupInviteMessage* Message::unsafe_arena_release_groupinvitemessage() {
// @@protoc_insertion_point(field_release:proto.Message.groupInviteMessage)
- _has_bits_[0] &= ~0x00400000u;
- ::proto::GroupInviteMessage* temp = groupinvitemessage_;
- groupinvitemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00400000u;
+ ::proto::GroupInviteMessage* temp = _impl_.groupinvitemessage_;
+ _impl_.groupinvitemessage_ = nullptr;
return temp;
}
inline ::proto::GroupInviteMessage* Message::_internal_mutable_groupinvitemessage() {
- _has_bits_[0] |= 0x00400000u;
- if (groupinvitemessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00400000u;
+ if (_impl_.groupinvitemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::GroupInviteMessage>(GetArenaForAllocation());
- groupinvitemessage_ = p;
+ _impl_.groupinvitemessage_ = p;
}
- return groupinvitemessage_;
+ return _impl_.groupinvitemessage_;
}
inline ::proto::GroupInviteMessage* Message::mutable_groupinvitemessage() {
::proto::GroupInviteMessage* _msg = _internal_mutable_groupinvitemessage();
@@ -46225,38 +48336,38 @@ inline ::proto::GroupInviteMessage* Message::mutable_groupinvitemessage() {
inline void Message::set_allocated_groupinvitemessage(::proto::GroupInviteMessage* groupinvitemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete groupinvitemessage_;
+ delete _impl_.groupinvitemessage_;
}
if (groupinvitemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::GroupInviteMessage>::GetOwningArena(groupinvitemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(groupinvitemessage);
if (message_arena != submessage_arena) {
groupinvitemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, groupinvitemessage, submessage_arena);
}
- _has_bits_[0] |= 0x00400000u;
+ _impl_._has_bits_[0] |= 0x00400000u;
} else {
- _has_bits_[0] &= ~0x00400000u;
+ _impl_._has_bits_[0] &= ~0x00400000u;
}
- groupinvitemessage_ = groupinvitemessage;
+ _impl_.groupinvitemessage_ = groupinvitemessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.groupInviteMessage)
}
// optional .proto.TemplateButtonReplyMessage templateButtonReplyMessage = 29;
inline bool Message::_internal_has_templatebuttonreplymessage() const {
- bool value = (_has_bits_[0] & 0x00800000u) != 0;
- PROTOBUF_ASSUME(!value || templatebuttonreplymessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.templatebuttonreplymessage_ != nullptr);
return value;
}
inline bool Message::has_templatebuttonreplymessage() const {
return _internal_has_templatebuttonreplymessage();
}
inline void Message::clear_templatebuttonreplymessage() {
- if (templatebuttonreplymessage_ != nullptr) templatebuttonreplymessage_->Clear();
- _has_bits_[0] &= ~0x00800000u;
+ if (_impl_.templatebuttonreplymessage_ != nullptr) _impl_.templatebuttonreplymessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x00800000u;
}
inline const ::proto::TemplateButtonReplyMessage& Message::_internal_templatebuttonreplymessage() const {
- const ::proto::TemplateButtonReplyMessage* p = templatebuttonreplymessage_;
+ const ::proto::TemplateButtonReplyMessage* p = _impl_.templatebuttonreplymessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::TemplateButtonReplyMessage&>(
::proto::_TemplateButtonReplyMessage_default_instance_);
}
@@ -46267,20 +48378,20 @@ inline const ::proto::TemplateButtonReplyMessage& Message::templatebuttonreplyme
inline void Message::unsafe_arena_set_allocated_templatebuttonreplymessage(
::proto::TemplateButtonReplyMessage* templatebuttonreplymessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(templatebuttonreplymessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.templatebuttonreplymessage_);
}
- templatebuttonreplymessage_ = templatebuttonreplymessage;
+ _impl_.templatebuttonreplymessage_ = templatebuttonreplymessage;
if (templatebuttonreplymessage) {
- _has_bits_[0] |= 0x00800000u;
+ _impl_._has_bits_[0] |= 0x00800000u;
} else {
- _has_bits_[0] &= ~0x00800000u;
+ _impl_._has_bits_[0] &= ~0x00800000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.templateButtonReplyMessage)
}
inline ::proto::TemplateButtonReplyMessage* Message::release_templatebuttonreplymessage() {
- _has_bits_[0] &= ~0x00800000u;
- ::proto::TemplateButtonReplyMessage* temp = templatebuttonreplymessage_;
- templatebuttonreplymessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00800000u;
+ ::proto::TemplateButtonReplyMessage* temp = _impl_.templatebuttonreplymessage_;
+ _impl_.templatebuttonreplymessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46294,18 +48405,18 @@ inline ::proto::TemplateButtonReplyMessage* Message::release_templatebuttonreply
}
inline ::proto::TemplateButtonReplyMessage* Message::unsafe_arena_release_templatebuttonreplymessage() {
// @@protoc_insertion_point(field_release:proto.Message.templateButtonReplyMessage)
- _has_bits_[0] &= ~0x00800000u;
- ::proto::TemplateButtonReplyMessage* temp = templatebuttonreplymessage_;
- templatebuttonreplymessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00800000u;
+ ::proto::TemplateButtonReplyMessage* temp = _impl_.templatebuttonreplymessage_;
+ _impl_.templatebuttonreplymessage_ = nullptr;
return temp;
}
inline ::proto::TemplateButtonReplyMessage* Message::_internal_mutable_templatebuttonreplymessage() {
- _has_bits_[0] |= 0x00800000u;
- if (templatebuttonreplymessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00800000u;
+ if (_impl_.templatebuttonreplymessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::TemplateButtonReplyMessage>(GetArenaForAllocation());
- templatebuttonreplymessage_ = p;
+ _impl_.templatebuttonreplymessage_ = p;
}
- return templatebuttonreplymessage_;
+ return _impl_.templatebuttonreplymessage_;
}
inline ::proto::TemplateButtonReplyMessage* Message::mutable_templatebuttonreplymessage() {
::proto::TemplateButtonReplyMessage* _msg = _internal_mutable_templatebuttonreplymessage();
@@ -46315,38 +48426,38 @@ inline ::proto::TemplateButtonReplyMessage* Message::mutable_templatebuttonreply
inline void Message::set_allocated_templatebuttonreplymessage(::proto::TemplateButtonReplyMessage* templatebuttonreplymessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete templatebuttonreplymessage_;
+ delete _impl_.templatebuttonreplymessage_;
}
if (templatebuttonreplymessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::TemplateButtonReplyMessage>::GetOwningArena(templatebuttonreplymessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(templatebuttonreplymessage);
if (message_arena != submessage_arena) {
templatebuttonreplymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, templatebuttonreplymessage, submessage_arena);
}
- _has_bits_[0] |= 0x00800000u;
+ _impl_._has_bits_[0] |= 0x00800000u;
} else {
- _has_bits_[0] &= ~0x00800000u;
+ _impl_._has_bits_[0] &= ~0x00800000u;
}
- templatebuttonreplymessage_ = templatebuttonreplymessage;
+ _impl_.templatebuttonreplymessage_ = templatebuttonreplymessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.templateButtonReplyMessage)
}
// optional .proto.ProductMessage productMessage = 30;
inline bool Message::_internal_has_productmessage() const {
- bool value = (_has_bits_[0] & 0x01000000u) != 0;
- PROTOBUF_ASSUME(!value || productmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.productmessage_ != nullptr);
return value;
}
inline bool Message::has_productmessage() const {
return _internal_has_productmessage();
}
inline void Message::clear_productmessage() {
- if (productmessage_ != nullptr) productmessage_->Clear();
- _has_bits_[0] &= ~0x01000000u;
+ if (_impl_.productmessage_ != nullptr) _impl_.productmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x01000000u;
}
inline const ::proto::ProductMessage& Message::_internal_productmessage() const {
- const ::proto::ProductMessage* p = productmessage_;
+ const ::proto::ProductMessage* p = _impl_.productmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ProductMessage&>(
::proto::_ProductMessage_default_instance_);
}
@@ -46357,20 +48468,20 @@ inline const ::proto::ProductMessage& Message::productmessage() const {
inline void Message::unsafe_arena_set_allocated_productmessage(
::proto::ProductMessage* productmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(productmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.productmessage_);
}
- productmessage_ = productmessage;
+ _impl_.productmessage_ = productmessage;
if (productmessage) {
- _has_bits_[0] |= 0x01000000u;
+ _impl_._has_bits_[0] |= 0x01000000u;
} else {
- _has_bits_[0] &= ~0x01000000u;
+ _impl_._has_bits_[0] &= ~0x01000000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.productMessage)
}
inline ::proto::ProductMessage* Message::release_productmessage() {
- _has_bits_[0] &= ~0x01000000u;
- ::proto::ProductMessage* temp = productmessage_;
- productmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x01000000u;
+ ::proto::ProductMessage* temp = _impl_.productmessage_;
+ _impl_.productmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46384,18 +48495,18 @@ inline ::proto::ProductMessage* Message::release_productmessage() {
}
inline ::proto::ProductMessage* Message::unsafe_arena_release_productmessage() {
// @@protoc_insertion_point(field_release:proto.Message.productMessage)
- _has_bits_[0] &= ~0x01000000u;
- ::proto::ProductMessage* temp = productmessage_;
- productmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x01000000u;
+ ::proto::ProductMessage* temp = _impl_.productmessage_;
+ _impl_.productmessage_ = nullptr;
return temp;
}
inline ::proto::ProductMessage* Message::_internal_mutable_productmessage() {
- _has_bits_[0] |= 0x01000000u;
- if (productmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x01000000u;
+ if (_impl_.productmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ProductMessage>(GetArenaForAllocation());
- productmessage_ = p;
+ _impl_.productmessage_ = p;
}
- return productmessage_;
+ return _impl_.productmessage_;
}
inline ::proto::ProductMessage* Message::mutable_productmessage() {
::proto::ProductMessage* _msg = _internal_mutable_productmessage();
@@ -46405,38 +48516,38 @@ inline ::proto::ProductMessage* Message::mutable_productmessage() {
inline void Message::set_allocated_productmessage(::proto::ProductMessage* productmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete productmessage_;
+ delete _impl_.productmessage_;
}
if (productmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ProductMessage>::GetOwningArena(productmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(productmessage);
if (message_arena != submessage_arena) {
productmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, productmessage, submessage_arena);
}
- _has_bits_[0] |= 0x01000000u;
+ _impl_._has_bits_[0] |= 0x01000000u;
} else {
- _has_bits_[0] &= ~0x01000000u;
+ _impl_._has_bits_[0] &= ~0x01000000u;
}
- productmessage_ = productmessage;
+ _impl_.productmessage_ = productmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.productMessage)
}
// optional .proto.DeviceSentMessage deviceSentMessage = 31;
inline bool Message::_internal_has_devicesentmessage() const {
- bool value = (_has_bits_[0] & 0x02000000u) != 0;
- PROTOBUF_ASSUME(!value || devicesentmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.devicesentmessage_ != nullptr);
return value;
}
inline bool Message::has_devicesentmessage() const {
return _internal_has_devicesentmessage();
}
inline void Message::clear_devicesentmessage() {
- if (devicesentmessage_ != nullptr) devicesentmessage_->Clear();
- _has_bits_[0] &= ~0x02000000u;
+ if (_impl_.devicesentmessage_ != nullptr) _impl_.devicesentmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x02000000u;
}
inline const ::proto::DeviceSentMessage& Message::_internal_devicesentmessage() const {
- const ::proto::DeviceSentMessage* p = devicesentmessage_;
+ const ::proto::DeviceSentMessage* p = _impl_.devicesentmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::DeviceSentMessage&>(
::proto::_DeviceSentMessage_default_instance_);
}
@@ -46447,20 +48558,20 @@ inline const ::proto::DeviceSentMessage& Message::devicesentmessage() const {
inline void Message::unsafe_arena_set_allocated_devicesentmessage(
::proto::DeviceSentMessage* devicesentmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(devicesentmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.devicesentmessage_);
}
- devicesentmessage_ = devicesentmessage;
+ _impl_.devicesentmessage_ = devicesentmessage;
if (devicesentmessage) {
- _has_bits_[0] |= 0x02000000u;
+ _impl_._has_bits_[0] |= 0x02000000u;
} else {
- _has_bits_[0] &= ~0x02000000u;
+ _impl_._has_bits_[0] &= ~0x02000000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.deviceSentMessage)
}
inline ::proto::DeviceSentMessage* Message::release_devicesentmessage() {
- _has_bits_[0] &= ~0x02000000u;
- ::proto::DeviceSentMessage* temp = devicesentmessage_;
- devicesentmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x02000000u;
+ ::proto::DeviceSentMessage* temp = _impl_.devicesentmessage_;
+ _impl_.devicesentmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46474,18 +48585,18 @@ inline ::proto::DeviceSentMessage* Message::release_devicesentmessage() {
}
inline ::proto::DeviceSentMessage* Message::unsafe_arena_release_devicesentmessage() {
// @@protoc_insertion_point(field_release:proto.Message.deviceSentMessage)
- _has_bits_[0] &= ~0x02000000u;
- ::proto::DeviceSentMessage* temp = devicesentmessage_;
- devicesentmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x02000000u;
+ ::proto::DeviceSentMessage* temp = _impl_.devicesentmessage_;
+ _impl_.devicesentmessage_ = nullptr;
return temp;
}
inline ::proto::DeviceSentMessage* Message::_internal_mutable_devicesentmessage() {
- _has_bits_[0] |= 0x02000000u;
- if (devicesentmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x02000000u;
+ if (_impl_.devicesentmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::DeviceSentMessage>(GetArenaForAllocation());
- devicesentmessage_ = p;
+ _impl_.devicesentmessage_ = p;
}
- return devicesentmessage_;
+ return _impl_.devicesentmessage_;
}
inline ::proto::DeviceSentMessage* Message::mutable_devicesentmessage() {
::proto::DeviceSentMessage* _msg = _internal_mutable_devicesentmessage();
@@ -46495,38 +48606,38 @@ inline ::proto::DeviceSentMessage* Message::mutable_devicesentmessage() {
inline void Message::set_allocated_devicesentmessage(::proto::DeviceSentMessage* devicesentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete devicesentmessage_;
+ delete _impl_.devicesentmessage_;
}
if (devicesentmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::DeviceSentMessage>::GetOwningArena(devicesentmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(devicesentmessage);
if (message_arena != submessage_arena) {
devicesentmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, devicesentmessage, submessage_arena);
}
- _has_bits_[0] |= 0x02000000u;
+ _impl_._has_bits_[0] |= 0x02000000u;
} else {
- _has_bits_[0] &= ~0x02000000u;
+ _impl_._has_bits_[0] &= ~0x02000000u;
}
- devicesentmessage_ = devicesentmessage;
+ _impl_.devicesentmessage_ = devicesentmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.deviceSentMessage)
}
// optional .proto.MessageContextInfo messageContextInfo = 35;
inline bool Message::_internal_has_messagecontextinfo() const {
- bool value = (_has_bits_[0] & 0x04000000u) != 0;
- PROTOBUF_ASSUME(!value || messagecontextinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.messagecontextinfo_ != nullptr);
return value;
}
inline bool Message::has_messagecontextinfo() const {
return _internal_has_messagecontextinfo();
}
inline void Message::clear_messagecontextinfo() {
- if (messagecontextinfo_ != nullptr) messagecontextinfo_->Clear();
- _has_bits_[0] &= ~0x04000000u;
+ if (_impl_.messagecontextinfo_ != nullptr) _impl_.messagecontextinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x04000000u;
}
inline const ::proto::MessageContextInfo& Message::_internal_messagecontextinfo() const {
- const ::proto::MessageContextInfo* p = messagecontextinfo_;
+ const ::proto::MessageContextInfo* p = _impl_.messagecontextinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageContextInfo&>(
::proto::_MessageContextInfo_default_instance_);
}
@@ -46537,20 +48648,20 @@ inline const ::proto::MessageContextInfo& Message::messagecontextinfo() const {
inline void Message::unsafe_arena_set_allocated_messagecontextinfo(
::proto::MessageContextInfo* messagecontextinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(messagecontextinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.messagecontextinfo_);
}
- messagecontextinfo_ = messagecontextinfo;
+ _impl_.messagecontextinfo_ = messagecontextinfo;
if (messagecontextinfo) {
- _has_bits_[0] |= 0x04000000u;
+ _impl_._has_bits_[0] |= 0x04000000u;
} else {
- _has_bits_[0] &= ~0x04000000u;
+ _impl_._has_bits_[0] &= ~0x04000000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.messageContextInfo)
}
inline ::proto::MessageContextInfo* Message::release_messagecontextinfo() {
- _has_bits_[0] &= ~0x04000000u;
- ::proto::MessageContextInfo* temp = messagecontextinfo_;
- messagecontextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x04000000u;
+ ::proto::MessageContextInfo* temp = _impl_.messagecontextinfo_;
+ _impl_.messagecontextinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46564,18 +48675,18 @@ inline ::proto::MessageContextInfo* Message::release_messagecontextinfo() {
}
inline ::proto::MessageContextInfo* Message::unsafe_arena_release_messagecontextinfo() {
// @@protoc_insertion_point(field_release:proto.Message.messageContextInfo)
- _has_bits_[0] &= ~0x04000000u;
- ::proto::MessageContextInfo* temp = messagecontextinfo_;
- messagecontextinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x04000000u;
+ ::proto::MessageContextInfo* temp = _impl_.messagecontextinfo_;
+ _impl_.messagecontextinfo_ = nullptr;
return temp;
}
inline ::proto::MessageContextInfo* Message::_internal_mutable_messagecontextinfo() {
- _has_bits_[0] |= 0x04000000u;
- if (messagecontextinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x04000000u;
+ if (_impl_.messagecontextinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageContextInfo>(GetArenaForAllocation());
- messagecontextinfo_ = p;
+ _impl_.messagecontextinfo_ = p;
}
- return messagecontextinfo_;
+ return _impl_.messagecontextinfo_;
}
inline ::proto::MessageContextInfo* Message::mutable_messagecontextinfo() {
::proto::MessageContextInfo* _msg = _internal_mutable_messagecontextinfo();
@@ -46585,38 +48696,38 @@ inline ::proto::MessageContextInfo* Message::mutable_messagecontextinfo() {
inline void Message::set_allocated_messagecontextinfo(::proto::MessageContextInfo* messagecontextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete messagecontextinfo_;
+ delete _impl_.messagecontextinfo_;
}
if (messagecontextinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageContextInfo>::GetOwningArena(messagecontextinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(messagecontextinfo);
if (message_arena != submessage_arena) {
messagecontextinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, messagecontextinfo, submessage_arena);
}
- _has_bits_[0] |= 0x04000000u;
+ _impl_._has_bits_[0] |= 0x04000000u;
} else {
- _has_bits_[0] &= ~0x04000000u;
+ _impl_._has_bits_[0] &= ~0x04000000u;
}
- messagecontextinfo_ = messagecontextinfo;
+ _impl_.messagecontextinfo_ = messagecontextinfo;
// @@protoc_insertion_point(field_set_allocated:proto.Message.messageContextInfo)
}
// optional .proto.ListMessage listMessage = 36;
inline bool Message::_internal_has_listmessage() const {
- bool value = (_has_bits_[0] & 0x08000000u) != 0;
- PROTOBUF_ASSUME(!value || listmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.listmessage_ != nullptr);
return value;
}
inline bool Message::has_listmessage() const {
return _internal_has_listmessage();
}
inline void Message::clear_listmessage() {
- if (listmessage_ != nullptr) listmessage_->Clear();
- _has_bits_[0] &= ~0x08000000u;
+ if (_impl_.listmessage_ != nullptr) _impl_.listmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x08000000u;
}
inline const ::proto::ListMessage& Message::_internal_listmessage() const {
- const ::proto::ListMessage* p = listmessage_;
+ const ::proto::ListMessage* p = _impl_.listmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ListMessage&>(
::proto::_ListMessage_default_instance_);
}
@@ -46627,20 +48738,20 @@ inline const ::proto::ListMessage& Message::listmessage() const {
inline void Message::unsafe_arena_set_allocated_listmessage(
::proto::ListMessage* listmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(listmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.listmessage_);
}
- listmessage_ = listmessage;
+ _impl_.listmessage_ = listmessage;
if (listmessage) {
- _has_bits_[0] |= 0x08000000u;
+ _impl_._has_bits_[0] |= 0x08000000u;
} else {
- _has_bits_[0] &= ~0x08000000u;
+ _impl_._has_bits_[0] &= ~0x08000000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.listMessage)
}
inline ::proto::ListMessage* Message::release_listmessage() {
- _has_bits_[0] &= ~0x08000000u;
- ::proto::ListMessage* temp = listmessage_;
- listmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x08000000u;
+ ::proto::ListMessage* temp = _impl_.listmessage_;
+ _impl_.listmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46654,18 +48765,18 @@ inline ::proto::ListMessage* Message::release_listmessage() {
}
inline ::proto::ListMessage* Message::unsafe_arena_release_listmessage() {
// @@protoc_insertion_point(field_release:proto.Message.listMessage)
- _has_bits_[0] &= ~0x08000000u;
- ::proto::ListMessage* temp = listmessage_;
- listmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x08000000u;
+ ::proto::ListMessage* temp = _impl_.listmessage_;
+ _impl_.listmessage_ = nullptr;
return temp;
}
inline ::proto::ListMessage* Message::_internal_mutable_listmessage() {
- _has_bits_[0] |= 0x08000000u;
- if (listmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x08000000u;
+ if (_impl_.listmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ListMessage>(GetArenaForAllocation());
- listmessage_ = p;
+ _impl_.listmessage_ = p;
}
- return listmessage_;
+ return _impl_.listmessage_;
}
inline ::proto::ListMessage* Message::mutable_listmessage() {
::proto::ListMessage* _msg = _internal_mutable_listmessage();
@@ -46675,38 +48786,38 @@ inline ::proto::ListMessage* Message::mutable_listmessage() {
inline void Message::set_allocated_listmessage(::proto::ListMessage* listmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete listmessage_;
+ delete _impl_.listmessage_;
}
if (listmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ListMessage>::GetOwningArena(listmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(listmessage);
if (message_arena != submessage_arena) {
listmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, listmessage, submessage_arena);
}
- _has_bits_[0] |= 0x08000000u;
+ _impl_._has_bits_[0] |= 0x08000000u;
} else {
- _has_bits_[0] &= ~0x08000000u;
+ _impl_._has_bits_[0] &= ~0x08000000u;
}
- listmessage_ = listmessage;
+ _impl_.listmessage_ = listmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.listMessage)
}
// optional .proto.FutureProofMessage viewOnceMessage = 37;
inline bool Message::_internal_has_viewoncemessage() const {
- bool value = (_has_bits_[0] & 0x10000000u) != 0;
- PROTOBUF_ASSUME(!value || viewoncemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.viewoncemessage_ != nullptr);
return value;
}
inline bool Message::has_viewoncemessage() const {
return _internal_has_viewoncemessage();
}
inline void Message::clear_viewoncemessage() {
- if (viewoncemessage_ != nullptr) viewoncemessage_->Clear();
- _has_bits_[0] &= ~0x10000000u;
+ if (_impl_.viewoncemessage_ != nullptr) _impl_.viewoncemessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x10000000u;
}
inline const ::proto::FutureProofMessage& Message::_internal_viewoncemessage() const {
- const ::proto::FutureProofMessage* p = viewoncemessage_;
+ const ::proto::FutureProofMessage* p = _impl_.viewoncemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::FutureProofMessage&>(
::proto::_FutureProofMessage_default_instance_);
}
@@ -46717,20 +48828,20 @@ inline const ::proto::FutureProofMessage& Message::viewoncemessage() const {
inline void Message::unsafe_arena_set_allocated_viewoncemessage(
::proto::FutureProofMessage* viewoncemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(viewoncemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.viewoncemessage_);
}
- viewoncemessage_ = viewoncemessage;
+ _impl_.viewoncemessage_ = viewoncemessage;
if (viewoncemessage) {
- _has_bits_[0] |= 0x10000000u;
+ _impl_._has_bits_[0] |= 0x10000000u;
} else {
- _has_bits_[0] &= ~0x10000000u;
+ _impl_._has_bits_[0] &= ~0x10000000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.viewOnceMessage)
}
inline ::proto::FutureProofMessage* Message::release_viewoncemessage() {
- _has_bits_[0] &= ~0x10000000u;
- ::proto::FutureProofMessage* temp = viewoncemessage_;
- viewoncemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x10000000u;
+ ::proto::FutureProofMessage* temp = _impl_.viewoncemessage_;
+ _impl_.viewoncemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46744,18 +48855,18 @@ inline ::proto::FutureProofMessage* Message::release_viewoncemessage() {
}
inline ::proto::FutureProofMessage* Message::unsafe_arena_release_viewoncemessage() {
// @@protoc_insertion_point(field_release:proto.Message.viewOnceMessage)
- _has_bits_[0] &= ~0x10000000u;
- ::proto::FutureProofMessage* temp = viewoncemessage_;
- viewoncemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x10000000u;
+ ::proto::FutureProofMessage* temp = _impl_.viewoncemessage_;
+ _impl_.viewoncemessage_ = nullptr;
return temp;
}
inline ::proto::FutureProofMessage* Message::_internal_mutable_viewoncemessage() {
- _has_bits_[0] |= 0x10000000u;
- if (viewoncemessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x10000000u;
+ if (_impl_.viewoncemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::FutureProofMessage>(GetArenaForAllocation());
- viewoncemessage_ = p;
+ _impl_.viewoncemessage_ = p;
}
- return viewoncemessage_;
+ return _impl_.viewoncemessage_;
}
inline ::proto::FutureProofMessage* Message::mutable_viewoncemessage() {
::proto::FutureProofMessage* _msg = _internal_mutable_viewoncemessage();
@@ -46765,38 +48876,38 @@ inline ::proto::FutureProofMessage* Message::mutable_viewoncemessage() {
inline void Message::set_allocated_viewoncemessage(::proto::FutureProofMessage* viewoncemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete viewoncemessage_;
+ delete _impl_.viewoncemessage_;
}
if (viewoncemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::FutureProofMessage>::GetOwningArena(viewoncemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(viewoncemessage);
if (message_arena != submessage_arena) {
viewoncemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, viewoncemessage, submessage_arena);
}
- _has_bits_[0] |= 0x10000000u;
+ _impl_._has_bits_[0] |= 0x10000000u;
} else {
- _has_bits_[0] &= ~0x10000000u;
+ _impl_._has_bits_[0] &= ~0x10000000u;
}
- viewoncemessage_ = viewoncemessage;
+ _impl_.viewoncemessage_ = viewoncemessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.viewOnceMessage)
}
// optional .proto.OrderMessage orderMessage = 38;
inline bool Message::_internal_has_ordermessage() const {
- bool value = (_has_bits_[0] & 0x20000000u) != 0;
- PROTOBUF_ASSUME(!value || ordermessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.ordermessage_ != nullptr);
return value;
}
inline bool Message::has_ordermessage() const {
return _internal_has_ordermessage();
}
inline void Message::clear_ordermessage() {
- if (ordermessage_ != nullptr) ordermessage_->Clear();
- _has_bits_[0] &= ~0x20000000u;
+ if (_impl_.ordermessage_ != nullptr) _impl_.ordermessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x20000000u;
}
inline const ::proto::OrderMessage& Message::_internal_ordermessage() const {
- const ::proto::OrderMessage* p = ordermessage_;
+ const ::proto::OrderMessage* p = _impl_.ordermessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::OrderMessage&>(
::proto::_OrderMessage_default_instance_);
}
@@ -46807,20 +48918,20 @@ inline const ::proto::OrderMessage& Message::ordermessage() const {
inline void Message::unsafe_arena_set_allocated_ordermessage(
::proto::OrderMessage* ordermessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ordermessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ordermessage_);
}
- ordermessage_ = ordermessage;
+ _impl_.ordermessage_ = ordermessage;
if (ordermessage) {
- _has_bits_[0] |= 0x20000000u;
+ _impl_._has_bits_[0] |= 0x20000000u;
} else {
- _has_bits_[0] &= ~0x20000000u;
+ _impl_._has_bits_[0] &= ~0x20000000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.orderMessage)
}
inline ::proto::OrderMessage* Message::release_ordermessage() {
- _has_bits_[0] &= ~0x20000000u;
- ::proto::OrderMessage* temp = ordermessage_;
- ordermessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x20000000u;
+ ::proto::OrderMessage* temp = _impl_.ordermessage_;
+ _impl_.ordermessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46834,18 +48945,18 @@ inline ::proto::OrderMessage* Message::release_ordermessage() {
}
inline ::proto::OrderMessage* Message::unsafe_arena_release_ordermessage() {
// @@protoc_insertion_point(field_release:proto.Message.orderMessage)
- _has_bits_[0] &= ~0x20000000u;
- ::proto::OrderMessage* temp = ordermessage_;
- ordermessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x20000000u;
+ ::proto::OrderMessage* temp = _impl_.ordermessage_;
+ _impl_.ordermessage_ = nullptr;
return temp;
}
inline ::proto::OrderMessage* Message::_internal_mutable_ordermessage() {
- _has_bits_[0] |= 0x20000000u;
- if (ordermessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x20000000u;
+ if (_impl_.ordermessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::OrderMessage>(GetArenaForAllocation());
- ordermessage_ = p;
+ _impl_.ordermessage_ = p;
}
- return ordermessage_;
+ return _impl_.ordermessage_;
}
inline ::proto::OrderMessage* Message::mutable_ordermessage() {
::proto::OrderMessage* _msg = _internal_mutable_ordermessage();
@@ -46855,38 +48966,38 @@ inline ::proto::OrderMessage* Message::mutable_ordermessage() {
inline void Message::set_allocated_ordermessage(::proto::OrderMessage* ordermessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete ordermessage_;
+ delete _impl_.ordermessage_;
}
if (ordermessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::OrderMessage>::GetOwningArena(ordermessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ordermessage);
if (message_arena != submessage_arena) {
ordermessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, ordermessage, submessage_arena);
}
- _has_bits_[0] |= 0x20000000u;
+ _impl_._has_bits_[0] |= 0x20000000u;
} else {
- _has_bits_[0] &= ~0x20000000u;
+ _impl_._has_bits_[0] &= ~0x20000000u;
}
- ordermessage_ = ordermessage;
+ _impl_.ordermessage_ = ordermessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.orderMessage)
}
// optional .proto.ListResponseMessage listResponseMessage = 39;
inline bool Message::_internal_has_listresponsemessage() const {
- bool value = (_has_bits_[0] & 0x40000000u) != 0;
- PROTOBUF_ASSUME(!value || listresponsemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.listresponsemessage_ != nullptr);
return value;
}
inline bool Message::has_listresponsemessage() const {
return _internal_has_listresponsemessage();
}
inline void Message::clear_listresponsemessage() {
- if (listresponsemessage_ != nullptr) listresponsemessage_->Clear();
- _has_bits_[0] &= ~0x40000000u;
+ if (_impl_.listresponsemessage_ != nullptr) _impl_.listresponsemessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x40000000u;
}
inline const ::proto::ListResponseMessage& Message::_internal_listresponsemessage() const {
- const ::proto::ListResponseMessage* p = listresponsemessage_;
+ const ::proto::ListResponseMessage* p = _impl_.listresponsemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ListResponseMessage&>(
::proto::_ListResponseMessage_default_instance_);
}
@@ -46897,20 +49008,20 @@ inline const ::proto::ListResponseMessage& Message::listresponsemessage() const
inline void Message::unsafe_arena_set_allocated_listresponsemessage(
::proto::ListResponseMessage* listresponsemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(listresponsemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.listresponsemessage_);
}
- listresponsemessage_ = listresponsemessage;
+ _impl_.listresponsemessage_ = listresponsemessage;
if (listresponsemessage) {
- _has_bits_[0] |= 0x40000000u;
+ _impl_._has_bits_[0] |= 0x40000000u;
} else {
- _has_bits_[0] &= ~0x40000000u;
+ _impl_._has_bits_[0] &= ~0x40000000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.listResponseMessage)
}
inline ::proto::ListResponseMessage* Message::release_listresponsemessage() {
- _has_bits_[0] &= ~0x40000000u;
- ::proto::ListResponseMessage* temp = listresponsemessage_;
- listresponsemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x40000000u;
+ ::proto::ListResponseMessage* temp = _impl_.listresponsemessage_;
+ _impl_.listresponsemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -46924,18 +49035,18 @@ inline ::proto::ListResponseMessage* Message::release_listresponsemessage() {
}
inline ::proto::ListResponseMessage* Message::unsafe_arena_release_listresponsemessage() {
// @@protoc_insertion_point(field_release:proto.Message.listResponseMessage)
- _has_bits_[0] &= ~0x40000000u;
- ::proto::ListResponseMessage* temp = listresponsemessage_;
- listresponsemessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x40000000u;
+ ::proto::ListResponseMessage* temp = _impl_.listresponsemessage_;
+ _impl_.listresponsemessage_ = nullptr;
return temp;
}
inline ::proto::ListResponseMessage* Message::_internal_mutable_listresponsemessage() {
- _has_bits_[0] |= 0x40000000u;
- if (listresponsemessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x40000000u;
+ if (_impl_.listresponsemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ListResponseMessage>(GetArenaForAllocation());
- listresponsemessage_ = p;
+ _impl_.listresponsemessage_ = p;
}
- return listresponsemessage_;
+ return _impl_.listresponsemessage_;
}
inline ::proto::ListResponseMessage* Message::mutable_listresponsemessage() {
::proto::ListResponseMessage* _msg = _internal_mutable_listresponsemessage();
@@ -46945,38 +49056,38 @@ inline ::proto::ListResponseMessage* Message::mutable_listresponsemessage() {
inline void Message::set_allocated_listresponsemessage(::proto::ListResponseMessage* listresponsemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete listresponsemessage_;
+ delete _impl_.listresponsemessage_;
}
if (listresponsemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ListResponseMessage>::GetOwningArena(listresponsemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(listresponsemessage);
if (message_arena != submessage_arena) {
listresponsemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, listresponsemessage, submessage_arena);
}
- _has_bits_[0] |= 0x40000000u;
+ _impl_._has_bits_[0] |= 0x40000000u;
} else {
- _has_bits_[0] &= ~0x40000000u;
+ _impl_._has_bits_[0] &= ~0x40000000u;
}
- listresponsemessage_ = listresponsemessage;
+ _impl_.listresponsemessage_ = listresponsemessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.listResponseMessage)
}
// optional .proto.FutureProofMessage ephemeralMessage = 40;
inline bool Message::_internal_has_ephemeralmessage() const {
- bool value = (_has_bits_[0] & 0x80000000u) != 0;
- PROTOBUF_ASSUME(!value || ephemeralmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.ephemeralmessage_ != nullptr);
return value;
}
inline bool Message::has_ephemeralmessage() const {
return _internal_has_ephemeralmessage();
}
inline void Message::clear_ephemeralmessage() {
- if (ephemeralmessage_ != nullptr) ephemeralmessage_->Clear();
- _has_bits_[0] &= ~0x80000000u;
+ if (_impl_.ephemeralmessage_ != nullptr) _impl_.ephemeralmessage_->Clear();
+ _impl_._has_bits_[0] &= ~0x80000000u;
}
inline const ::proto::FutureProofMessage& Message::_internal_ephemeralmessage() const {
- const ::proto::FutureProofMessage* p = ephemeralmessage_;
+ const ::proto::FutureProofMessage* p = _impl_.ephemeralmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::FutureProofMessage&>(
::proto::_FutureProofMessage_default_instance_);
}
@@ -46987,20 +49098,20 @@ inline const ::proto::FutureProofMessage& Message::ephemeralmessage() const {
inline void Message::unsafe_arena_set_allocated_ephemeralmessage(
::proto::FutureProofMessage* ephemeralmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ephemeralmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ephemeralmessage_);
}
- ephemeralmessage_ = ephemeralmessage;
+ _impl_.ephemeralmessage_ = ephemeralmessage;
if (ephemeralmessage) {
- _has_bits_[0] |= 0x80000000u;
+ _impl_._has_bits_[0] |= 0x80000000u;
} else {
- _has_bits_[0] &= ~0x80000000u;
+ _impl_._has_bits_[0] &= ~0x80000000u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.ephemeralMessage)
}
inline ::proto::FutureProofMessage* Message::release_ephemeralmessage() {
- _has_bits_[0] &= ~0x80000000u;
- ::proto::FutureProofMessage* temp = ephemeralmessage_;
- ephemeralmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x80000000u;
+ ::proto::FutureProofMessage* temp = _impl_.ephemeralmessage_;
+ _impl_.ephemeralmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -47014,18 +49125,18 @@ inline ::proto::FutureProofMessage* Message::release_ephemeralmessage() {
}
inline ::proto::FutureProofMessage* Message::unsafe_arena_release_ephemeralmessage() {
// @@protoc_insertion_point(field_release:proto.Message.ephemeralMessage)
- _has_bits_[0] &= ~0x80000000u;
- ::proto::FutureProofMessage* temp = ephemeralmessage_;
- ephemeralmessage_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x80000000u;
+ ::proto::FutureProofMessage* temp = _impl_.ephemeralmessage_;
+ _impl_.ephemeralmessage_ = nullptr;
return temp;
}
inline ::proto::FutureProofMessage* Message::_internal_mutable_ephemeralmessage() {
- _has_bits_[0] |= 0x80000000u;
- if (ephemeralmessage_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x80000000u;
+ if (_impl_.ephemeralmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::FutureProofMessage>(GetArenaForAllocation());
- ephemeralmessage_ = p;
+ _impl_.ephemeralmessage_ = p;
}
- return ephemeralmessage_;
+ return _impl_.ephemeralmessage_;
}
inline ::proto::FutureProofMessage* Message::mutable_ephemeralmessage() {
::proto::FutureProofMessage* _msg = _internal_mutable_ephemeralmessage();
@@ -47035,38 +49146,38 @@ inline ::proto::FutureProofMessage* Message::mutable_ephemeralmessage() {
inline void Message::set_allocated_ephemeralmessage(::proto::FutureProofMessage* ephemeralmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete ephemeralmessage_;
+ delete _impl_.ephemeralmessage_;
}
if (ephemeralmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::FutureProofMessage>::GetOwningArena(ephemeralmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ephemeralmessage);
if (message_arena != submessage_arena) {
ephemeralmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, ephemeralmessage, submessage_arena);
}
- _has_bits_[0] |= 0x80000000u;
+ _impl_._has_bits_[0] |= 0x80000000u;
} else {
- _has_bits_[0] &= ~0x80000000u;
+ _impl_._has_bits_[0] &= ~0x80000000u;
}
- ephemeralmessage_ = ephemeralmessage;
+ _impl_.ephemeralmessage_ = ephemeralmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.ephemeralMessage)
}
// optional .proto.InvoiceMessage invoiceMessage = 41;
inline bool Message::_internal_has_invoicemessage() const {
- bool value = (_has_bits_[1] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || invoicemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.invoicemessage_ != nullptr);
return value;
}
inline bool Message::has_invoicemessage() const {
return _internal_has_invoicemessage();
}
inline void Message::clear_invoicemessage() {
- if (invoicemessage_ != nullptr) invoicemessage_->Clear();
- _has_bits_[1] &= ~0x00000001u;
+ if (_impl_.invoicemessage_ != nullptr) _impl_.invoicemessage_->Clear();
+ _impl_._has_bits_[1] &= ~0x00000001u;
}
inline const ::proto::InvoiceMessage& Message::_internal_invoicemessage() const {
- const ::proto::InvoiceMessage* p = invoicemessage_;
+ const ::proto::InvoiceMessage* p = _impl_.invoicemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::InvoiceMessage&>(
::proto::_InvoiceMessage_default_instance_);
}
@@ -47077,20 +49188,20 @@ inline const ::proto::InvoiceMessage& Message::invoicemessage() const {
inline void Message::unsafe_arena_set_allocated_invoicemessage(
::proto::InvoiceMessage* invoicemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(invoicemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.invoicemessage_);
}
- invoicemessage_ = invoicemessage;
+ _impl_.invoicemessage_ = invoicemessage;
if (invoicemessage) {
- _has_bits_[1] |= 0x00000001u;
+ _impl_._has_bits_[1] |= 0x00000001u;
} else {
- _has_bits_[1] &= ~0x00000001u;
+ _impl_._has_bits_[1] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.invoiceMessage)
}
inline ::proto::InvoiceMessage* Message::release_invoicemessage() {
- _has_bits_[1] &= ~0x00000001u;
- ::proto::InvoiceMessage* temp = invoicemessage_;
- invoicemessage_ = nullptr;
+ _impl_._has_bits_[1] &= ~0x00000001u;
+ ::proto::InvoiceMessage* temp = _impl_.invoicemessage_;
+ _impl_.invoicemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -47104,18 +49215,18 @@ inline ::proto::InvoiceMessage* Message::release_invoicemessage() {
}
inline ::proto::InvoiceMessage* Message::unsafe_arena_release_invoicemessage() {
// @@protoc_insertion_point(field_release:proto.Message.invoiceMessage)
- _has_bits_[1] &= ~0x00000001u;
- ::proto::InvoiceMessage* temp = invoicemessage_;
- invoicemessage_ = nullptr;
+ _impl_._has_bits_[1] &= ~0x00000001u;
+ ::proto::InvoiceMessage* temp = _impl_.invoicemessage_;
+ _impl_.invoicemessage_ = nullptr;
return temp;
}
inline ::proto::InvoiceMessage* Message::_internal_mutable_invoicemessage() {
- _has_bits_[1] |= 0x00000001u;
- if (invoicemessage_ == nullptr) {
+ _impl_._has_bits_[1] |= 0x00000001u;
+ if (_impl_.invoicemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::InvoiceMessage>(GetArenaForAllocation());
- invoicemessage_ = p;
+ _impl_.invoicemessage_ = p;
}
- return invoicemessage_;
+ return _impl_.invoicemessage_;
}
inline ::proto::InvoiceMessage* Message::mutable_invoicemessage() {
::proto::InvoiceMessage* _msg = _internal_mutable_invoicemessage();
@@ -47125,38 +49236,38 @@ inline ::proto::InvoiceMessage* Message::mutable_invoicemessage() {
inline void Message::set_allocated_invoicemessage(::proto::InvoiceMessage* invoicemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete invoicemessage_;
+ delete _impl_.invoicemessage_;
}
if (invoicemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::InvoiceMessage>::GetOwningArena(invoicemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(invoicemessage);
if (message_arena != submessage_arena) {
invoicemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, invoicemessage, submessage_arena);
}
- _has_bits_[1] |= 0x00000001u;
+ _impl_._has_bits_[1] |= 0x00000001u;
} else {
- _has_bits_[1] &= ~0x00000001u;
+ _impl_._has_bits_[1] &= ~0x00000001u;
}
- invoicemessage_ = invoicemessage;
+ _impl_.invoicemessage_ = invoicemessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.invoiceMessage)
}
// optional .proto.ButtonsMessage buttonsMessage = 42;
inline bool Message::_internal_has_buttonsmessage() const {
- bool value = (_has_bits_[1] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || buttonsmessage_ != nullptr);
+ bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.buttonsmessage_ != nullptr);
return value;
}
inline bool Message::has_buttonsmessage() const {
return _internal_has_buttonsmessage();
}
inline void Message::clear_buttonsmessage() {
- if (buttonsmessage_ != nullptr) buttonsmessage_->Clear();
- _has_bits_[1] &= ~0x00000002u;
+ if (_impl_.buttonsmessage_ != nullptr) _impl_.buttonsmessage_->Clear();
+ _impl_._has_bits_[1] &= ~0x00000002u;
}
inline const ::proto::ButtonsMessage& Message::_internal_buttonsmessage() const {
- const ::proto::ButtonsMessage* p = buttonsmessage_;
+ const ::proto::ButtonsMessage* p = _impl_.buttonsmessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ButtonsMessage&>(
::proto::_ButtonsMessage_default_instance_);
}
@@ -47167,20 +49278,20 @@ inline const ::proto::ButtonsMessage& Message::buttonsmessage() const {
inline void Message::unsafe_arena_set_allocated_buttonsmessage(
::proto::ButtonsMessage* buttonsmessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(buttonsmessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.buttonsmessage_);
}
- buttonsmessage_ = buttonsmessage;
+ _impl_.buttonsmessage_ = buttonsmessage;
if (buttonsmessage) {
- _has_bits_[1] |= 0x00000002u;
+ _impl_._has_bits_[1] |= 0x00000002u;
} else {
- _has_bits_[1] &= ~0x00000002u;
+ _impl_._has_bits_[1] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.buttonsMessage)
}
inline ::proto::ButtonsMessage* Message::release_buttonsmessage() {
- _has_bits_[1] &= ~0x00000002u;
- ::proto::ButtonsMessage* temp = buttonsmessage_;
- buttonsmessage_ = nullptr;
+ _impl_._has_bits_[1] &= ~0x00000002u;
+ ::proto::ButtonsMessage* temp = _impl_.buttonsmessage_;
+ _impl_.buttonsmessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -47194,18 +49305,18 @@ inline ::proto::ButtonsMessage* Message::release_buttonsmessage() {
}
inline ::proto::ButtonsMessage* Message::unsafe_arena_release_buttonsmessage() {
// @@protoc_insertion_point(field_release:proto.Message.buttonsMessage)
- _has_bits_[1] &= ~0x00000002u;
- ::proto::ButtonsMessage* temp = buttonsmessage_;
- buttonsmessage_ = nullptr;
+ _impl_._has_bits_[1] &= ~0x00000002u;
+ ::proto::ButtonsMessage* temp = _impl_.buttonsmessage_;
+ _impl_.buttonsmessage_ = nullptr;
return temp;
}
inline ::proto::ButtonsMessage* Message::_internal_mutable_buttonsmessage() {
- _has_bits_[1] |= 0x00000002u;
- if (buttonsmessage_ == nullptr) {
+ _impl_._has_bits_[1] |= 0x00000002u;
+ if (_impl_.buttonsmessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ButtonsMessage>(GetArenaForAllocation());
- buttonsmessage_ = p;
+ _impl_.buttonsmessage_ = p;
}
- return buttonsmessage_;
+ return _impl_.buttonsmessage_;
}
inline ::proto::ButtonsMessage* Message::mutable_buttonsmessage() {
::proto::ButtonsMessage* _msg = _internal_mutable_buttonsmessage();
@@ -47215,38 +49326,38 @@ inline ::proto::ButtonsMessage* Message::mutable_buttonsmessage() {
inline void Message::set_allocated_buttonsmessage(::proto::ButtonsMessage* buttonsmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete buttonsmessage_;
+ delete _impl_.buttonsmessage_;
}
if (buttonsmessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ButtonsMessage>::GetOwningArena(buttonsmessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(buttonsmessage);
if (message_arena != submessage_arena) {
buttonsmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, buttonsmessage, submessage_arena);
}
- _has_bits_[1] |= 0x00000002u;
+ _impl_._has_bits_[1] |= 0x00000002u;
} else {
- _has_bits_[1] &= ~0x00000002u;
+ _impl_._has_bits_[1] &= ~0x00000002u;
}
- buttonsmessage_ = buttonsmessage;
+ _impl_.buttonsmessage_ = buttonsmessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.buttonsMessage)
}
// optional .proto.ButtonsResponseMessage buttonsResponseMessage = 43;
inline bool Message::_internal_has_buttonsresponsemessage() const {
- bool value = (_has_bits_[1] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || buttonsresponsemessage_ != nullptr);
+ bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.buttonsresponsemessage_ != nullptr);
return value;
}
inline bool Message::has_buttonsresponsemessage() const {
return _internal_has_buttonsresponsemessage();
}
inline void Message::clear_buttonsresponsemessage() {
- if (buttonsresponsemessage_ != nullptr) buttonsresponsemessage_->Clear();
- _has_bits_[1] &= ~0x00000004u;
+ if (_impl_.buttonsresponsemessage_ != nullptr) _impl_.buttonsresponsemessage_->Clear();
+ _impl_._has_bits_[1] &= ~0x00000004u;
}
inline const ::proto::ButtonsResponseMessage& Message::_internal_buttonsresponsemessage() const {
- const ::proto::ButtonsResponseMessage* p = buttonsresponsemessage_;
+ const ::proto::ButtonsResponseMessage* p = _impl_.buttonsresponsemessage_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ButtonsResponseMessage&>(
::proto::_ButtonsResponseMessage_default_instance_);
}
@@ -47257,20 +49368,20 @@ inline const ::proto::ButtonsResponseMessage& Message::buttonsresponsemessage()
inline void Message::unsafe_arena_set_allocated_buttonsresponsemessage(
::proto::ButtonsResponseMessage* buttonsresponsemessage) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(buttonsresponsemessage_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.buttonsresponsemessage_);
}
- buttonsresponsemessage_ = buttonsresponsemessage;
+ _impl_.buttonsresponsemessage_ = buttonsresponsemessage;
if (buttonsresponsemessage) {
- _has_bits_[1] |= 0x00000004u;
+ _impl_._has_bits_[1] |= 0x00000004u;
} else {
- _has_bits_[1] &= ~0x00000004u;
+ _impl_._has_bits_[1] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.Message.buttonsResponseMessage)
}
inline ::proto::ButtonsResponseMessage* Message::release_buttonsresponsemessage() {
- _has_bits_[1] &= ~0x00000004u;
- ::proto::ButtonsResponseMessage* temp = buttonsresponsemessage_;
- buttonsresponsemessage_ = nullptr;
+ _impl_._has_bits_[1] &= ~0x00000004u;
+ ::proto::ButtonsResponseMessage* temp = _impl_.buttonsresponsemessage_;
+ _impl_.buttonsresponsemessage_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -47284,18 +49395,18 @@ inline ::proto::ButtonsResponseMessage* Message::release_buttonsresponsemessage(
}
inline ::proto::ButtonsResponseMessage* Message::unsafe_arena_release_buttonsresponsemessage() {
// @@protoc_insertion_point(field_release:proto.Message.buttonsResponseMessage)
- _has_bits_[1] &= ~0x00000004u;
- ::proto::ButtonsResponseMessage* temp = buttonsresponsemessage_;
- buttonsresponsemessage_ = nullptr;
+ _impl_._has_bits_[1] &= ~0x00000004u;
+ ::proto::ButtonsResponseMessage* temp = _impl_.buttonsresponsemessage_;
+ _impl_.buttonsresponsemessage_ = nullptr;
return temp;
}
inline ::proto::ButtonsResponseMessage* Message::_internal_mutable_buttonsresponsemessage() {
- _has_bits_[1] |= 0x00000004u;
- if (buttonsresponsemessage_ == nullptr) {
+ _impl_._has_bits_[1] |= 0x00000004u;
+ if (_impl_.buttonsresponsemessage_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ButtonsResponseMessage>(GetArenaForAllocation());
- buttonsresponsemessage_ = p;
+ _impl_.buttonsresponsemessage_ = p;
}
- return buttonsresponsemessage_;
+ return _impl_.buttonsresponsemessage_;
}
inline ::proto::ButtonsResponseMessage* Message::mutable_buttonsresponsemessage() {
::proto::ButtonsResponseMessage* _msg = _internal_mutable_buttonsresponsemessage();
@@ -47305,20 +49416,20 @@ inline ::proto::ButtonsResponseMessage* Message::mutable_buttonsresponsemessage(
inline void Message::set_allocated_buttonsresponsemessage(::proto::ButtonsResponseMessage* buttonsresponsemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete buttonsresponsemessage_;
+ delete _impl_.buttonsresponsemessage_;
}
if (buttonsresponsemessage) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ButtonsResponseMessage>::GetOwningArena(buttonsresponsemessage);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(buttonsresponsemessage);
if (message_arena != submessage_arena) {
buttonsresponsemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, buttonsresponsemessage, submessage_arena);
}
- _has_bits_[1] |= 0x00000004u;
+ _impl_._has_bits_[1] |= 0x00000004u;
} else {
- _has_bits_[1] &= ~0x00000004u;
+ _impl_._has_bits_[1] &= ~0x00000004u;
}
- buttonsresponsemessage_ = buttonsresponsemessage;
+ _impl_.buttonsresponsemessage_ = buttonsresponsemessage;
// @@protoc_insertion_point(field_set_allocated:proto.Message.buttonsResponseMessage)
}
@@ -47328,15 +49439,15 @@ inline void Message::set_allocated_buttonsresponsemessage(::proto::ButtonsRespon
// optional string remoteJid = 1;
inline bool MessageKey::_internal_has_remotejid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool MessageKey::has_remotejid() const {
return _internal_has_remotejid();
}
inline void MessageKey::clear_remotejid() {
- remotejid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.remotejid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& MessageKey::remotejid() const {
// @@protoc_insertion_point(field_get:proto.MessageKey.remoteJid)
@@ -47345,8 +49456,8 @@ inline const std::string& MessageKey::remotejid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.remotejid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.MessageKey.remoteJid)
}
inline std::string* MessageKey::mutable_remotejid() {
@@ -47355,57 +49466,67 @@ inline std::string* MessageKey::mutable_remotejid() {
return _s;
}
inline const std::string& MessageKey::_internal_remotejid() const {
- return remotejid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.remotejid_.Set(value, GetArenaForAllocation());
}
inline std::string* MessageKey::_internal_mutable_remotejid() {
- _has_bits_[0] |= 0x00000001u;
- return remotejid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.remotejid_.Mutable(GetArenaForAllocation());
}
inline std::string* MessageKey::release_remotejid() {
// @@protoc_insertion_point(field_release:proto.MessageKey.remoteJid)
if (!_internal_has_remotejid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return remotejid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.remotejid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.remotejid_.IsDefault()) {
+ _impl_.remotejid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void MessageKey::set_allocated_remotejid(std::string* remotejid) {
if (remotejid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- remotejid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), remotejid,
- GetArenaForAllocation());
+ _impl_.remotejid_.SetAllocated(remotejid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.remotejid_.IsDefault()) {
+ _impl_.remotejid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.MessageKey.remoteJid)
}
// optional bool fromMe = 2;
inline bool MessageKey::_internal_has_fromme() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool MessageKey::has_fromme() const {
return _internal_has_fromme();
}
inline void MessageKey::clear_fromme() {
- fromme_ = false;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.fromme_ = false;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline bool MessageKey::_internal_fromme() const {
- return fromme_;
+ return _impl_.fromme_;
}
inline bool MessageKey::fromme() const {
// @@protoc_insertion_point(field_get:proto.MessageKey.fromMe)
return _internal_fromme();
}
inline void MessageKey::_internal_set_fromme(bool value) {
- _has_bits_[0] |= 0x00000008u;
- fromme_ = value;
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.fromme_ = value;
}
inline void MessageKey::set_fromme(bool value) {
_internal_set_fromme(value);
@@ -47414,15 +49535,15 @@ inline void MessageKey::set_fromme(bool value) {
// optional string id = 3;
inline bool MessageKey::_internal_has_id() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool MessageKey::has_id() const {
return _internal_has_id();
}
inline void MessageKey::clear_id() {
- id_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.id_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& MessageKey::id() const {
// @@protoc_insertion_point(field_get:proto.MessageKey.id)
@@ -47431,8 +49552,8 @@ inline const std::string& MessageKey::id() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.MessageKey.id)
}
inline std::string* MessageKey::mutable_id() {
@@ -47441,46 +49562,56 @@ inline std::string* MessageKey::mutable_id() {
return _s;
}
inline const std::string& MessageKey::_internal_id() const {
- return id_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.id_.Set(value, GetArenaForAllocation());
}
inline std::string* MessageKey::_internal_mutable_id() {
- _has_bits_[0] |= 0x00000002u;
- return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.id_.Mutable(GetArenaForAllocation());
}
inline std::string* MessageKey::release_id() {
// @@protoc_insertion_point(field_release:proto.MessageKey.id)
if (!_internal_has_id()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.id_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.id_.IsDefault()) {
+ _impl_.id_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void MessageKey::set_allocated_id(std::string* id) {
if (id != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
- GetArenaForAllocation());
+ _impl_.id_.SetAllocated(id, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.id_.IsDefault()) {
+ _impl_.id_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.MessageKey.id)
}
// optional string participant = 4;
inline bool MessageKey::_internal_has_participant() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool MessageKey::has_participant() const {
return _internal_has_participant();
}
inline void MessageKey::clear_participant() {
- participant_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.participant_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& MessageKey::participant() const {
// @@protoc_insertion_point(field_get:proto.MessageKey.participant)
@@ -47489,8 +49620,8 @@ inline const std::string& MessageKey::participant() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.participant_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.MessageKey.participant)
}
inline std::string* MessageKey::mutable_participant() {
@@ -47499,32 +49630,42 @@ inline std::string* MessageKey::mutable_participant() {
return _s;
}
inline const std::string& MessageKey::_internal_participant() const {
- return participant_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.participant_.Set(value, GetArenaForAllocation());
}
inline std::string* MessageKey::_internal_mutable_participant() {
- _has_bits_[0] |= 0x00000004u;
- return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.participant_.Mutable(GetArenaForAllocation());
}
inline std::string* MessageKey::release_participant() {
// @@protoc_insertion_point(field_release:proto.MessageKey.participant)
if (!_internal_has_participant()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.participant_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.participant_.IsDefault()) {
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void MessageKey::set_allocated_participant(std::string* participant) {
if (participant != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ }
+ _impl_.participant_.SetAllocated(participant, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.participant_.IsDefault()) {
+ _impl_.participant_.Set("", GetArenaForAllocation());
}
- participant_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), participant,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.MessageKey.participant)
}
@@ -47534,18 +49675,18 @@ inline void MessageKey::set_allocated_participant(std::string* participant) {
// optional .proto.WebFeatures.WebFeaturesFlag labelsDisplay = 1;
inline bool WebFeatures::_internal_has_labelsdisplay() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool WebFeatures::has_labelsdisplay() const {
return _internal_has_labelsdisplay();
}
inline void WebFeatures::clear_labelsdisplay() {
- labelsdisplay_ = 0;
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.labelsdisplay_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_labelsdisplay() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(labelsdisplay_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.labelsdisplay_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::labelsdisplay() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.labelsDisplay)
@@ -47553,8 +49694,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::labelsdisplay() const {
}
inline void WebFeatures::_internal_set_labelsdisplay(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000001u;
- labelsdisplay_ = value;
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.labelsdisplay_ = value;
}
inline void WebFeatures::set_labelsdisplay(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_labelsdisplay(value);
@@ -47563,18 +49704,18 @@ inline void WebFeatures::set_labelsdisplay(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualOutgoing = 2;
inline bool WebFeatures::_internal_has_voipindividualoutgoing() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool WebFeatures::has_voipindividualoutgoing() const {
return _internal_has_voipindividualoutgoing();
}
inline void WebFeatures::clear_voipindividualoutgoing() {
- voipindividualoutgoing_ = 0;
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.voipindividualoutgoing_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_voipindividualoutgoing() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(voipindividualoutgoing_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.voipindividualoutgoing_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::voipindividualoutgoing() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.voipIndividualOutgoing)
@@ -47582,8 +49723,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::voipindividualoutgoing(
}
inline void WebFeatures::_internal_set_voipindividualoutgoing(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000002u;
- voipindividualoutgoing_ = value;
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.voipindividualoutgoing_ = value;
}
inline void WebFeatures::set_voipindividualoutgoing(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_voipindividualoutgoing(value);
@@ -47592,18 +49733,18 @@ inline void WebFeatures::set_voipindividualoutgoing(::proto::WebFeatures_WebFeat
// optional .proto.WebFeatures.WebFeaturesFlag groupsV3 = 3;
inline bool WebFeatures::_internal_has_groupsv3() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool WebFeatures::has_groupsv3() const {
return _internal_has_groupsv3();
}
inline void WebFeatures::clear_groupsv3() {
- groupsv3_ = 0;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.groupsv3_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_groupsv3() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(groupsv3_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.groupsv3_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupsv3() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.groupsV3)
@@ -47611,8 +49752,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupsv3() const {
}
inline void WebFeatures::_internal_set_groupsv3(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000004u;
- groupsv3_ = value;
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.groupsv3_ = value;
}
inline void WebFeatures::set_groupsv3(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_groupsv3(value);
@@ -47621,18 +49762,18 @@ inline void WebFeatures::set_groupsv3(::proto::WebFeatures_WebFeaturesFlag value
// optional .proto.WebFeatures.WebFeaturesFlag groupsV3Create = 4;
inline bool WebFeatures::_internal_has_groupsv3create() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool WebFeatures::has_groupsv3create() const {
return _internal_has_groupsv3create();
}
inline void WebFeatures::clear_groupsv3create() {
- groupsv3create_ = 0;
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.groupsv3create_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_groupsv3create() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(groupsv3create_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.groupsv3create_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupsv3create() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.groupsV3Create)
@@ -47640,8 +49781,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupsv3create() const
}
inline void WebFeatures::_internal_set_groupsv3create(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000008u;
- groupsv3create_ = value;
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.groupsv3create_ = value;
}
inline void WebFeatures::set_groupsv3create(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_groupsv3create(value);
@@ -47650,18 +49791,18 @@ inline void WebFeatures::set_groupsv3create(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag changeNumberV2 = 5;
inline bool WebFeatures::_internal_has_changenumberv2() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool WebFeatures::has_changenumberv2() const {
return _internal_has_changenumberv2();
}
inline void WebFeatures::clear_changenumberv2() {
- changenumberv2_ = 0;
- _has_bits_[0] &= ~0x00000010u;
+ _impl_.changenumberv2_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_changenumberv2() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(changenumberv2_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.changenumberv2_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::changenumberv2() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.changeNumberV2)
@@ -47669,8 +49810,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::changenumberv2() const
}
inline void WebFeatures::_internal_set_changenumberv2(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000010u;
- changenumberv2_ = value;
+ _impl_._has_bits_[0] |= 0x00000010u;
+ _impl_.changenumberv2_ = value;
}
inline void WebFeatures::set_changenumberv2(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_changenumberv2(value);
@@ -47679,18 +49820,18 @@ inline void WebFeatures::set_changenumberv2(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag queryStatusV3Thumbnail = 6;
inline bool WebFeatures::_internal_has_querystatusv3thumbnail() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool WebFeatures::has_querystatusv3thumbnail() const {
return _internal_has_querystatusv3thumbnail();
}
inline void WebFeatures::clear_querystatusv3thumbnail() {
- querystatusv3thumbnail_ = 0;
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.querystatusv3thumbnail_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_querystatusv3thumbnail() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(querystatusv3thumbnail_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.querystatusv3thumbnail_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::querystatusv3thumbnail() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.queryStatusV3Thumbnail)
@@ -47698,8 +49839,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::querystatusv3thumbnail(
}
inline void WebFeatures::_internal_set_querystatusv3thumbnail(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000020u;
- querystatusv3thumbnail_ = value;
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.querystatusv3thumbnail_ = value;
}
inline void WebFeatures::set_querystatusv3thumbnail(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_querystatusv3thumbnail(value);
@@ -47708,18 +49849,18 @@ inline void WebFeatures::set_querystatusv3thumbnail(::proto::WebFeatures_WebFeat
// optional .proto.WebFeatures.WebFeaturesFlag liveLocations = 7;
inline bool WebFeatures::_internal_has_livelocations() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool WebFeatures::has_livelocations() const {
return _internal_has_livelocations();
}
inline void WebFeatures::clear_livelocations() {
- livelocations_ = 0;
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.livelocations_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_livelocations() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(livelocations_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.livelocations_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::livelocations() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.liveLocations)
@@ -47727,8 +49868,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::livelocations() const {
}
inline void WebFeatures::_internal_set_livelocations(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000040u;
- livelocations_ = value;
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.livelocations_ = value;
}
inline void WebFeatures::set_livelocations(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_livelocations(value);
@@ -47737,18 +49878,18 @@ inline void WebFeatures::set_livelocations(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag queryVname = 8;
inline bool WebFeatures::_internal_has_queryvname() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool WebFeatures::has_queryvname() const {
return _internal_has_queryvname();
}
inline void WebFeatures::clear_queryvname() {
- queryvname_ = 0;
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.queryvname_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_queryvname() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(queryvname_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.queryvname_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::queryvname() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.queryVname)
@@ -47756,8 +49897,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::queryvname() const {
}
inline void WebFeatures::_internal_set_queryvname(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000080u;
- queryvname_ = value;
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.queryvname_ = value;
}
inline void WebFeatures::set_queryvname(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_queryvname(value);
@@ -47766,18 +49907,18 @@ inline void WebFeatures::set_queryvname(::proto::WebFeatures_WebFeaturesFlag val
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualIncoming = 9;
inline bool WebFeatures::_internal_has_voipindividualincoming() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool WebFeatures::has_voipindividualincoming() const {
return _internal_has_voipindividualincoming();
}
inline void WebFeatures::clear_voipindividualincoming() {
- voipindividualincoming_ = 0;
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.voipindividualincoming_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_voipindividualincoming() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(voipindividualincoming_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.voipindividualincoming_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::voipindividualincoming() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.voipIndividualIncoming)
@@ -47785,8 +49926,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::voipindividualincoming(
}
inline void WebFeatures::_internal_set_voipindividualincoming(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000100u;
- voipindividualincoming_ = value;
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.voipindividualincoming_ = value;
}
inline void WebFeatures::set_voipindividualincoming(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_voipindividualincoming(value);
@@ -47795,18 +49936,18 @@ inline void WebFeatures::set_voipindividualincoming(::proto::WebFeatures_WebFeat
// optional .proto.WebFeatures.WebFeaturesFlag quickRepliesQuery = 10;
inline bool WebFeatures::_internal_has_quickrepliesquery() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool WebFeatures::has_quickrepliesquery() const {
return _internal_has_quickrepliesquery();
}
inline void WebFeatures::clear_quickrepliesquery() {
- quickrepliesquery_ = 0;
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.quickrepliesquery_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_quickrepliesquery() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(quickrepliesquery_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.quickrepliesquery_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::quickrepliesquery() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.quickRepliesQuery)
@@ -47814,8 +49955,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::quickrepliesquery() con
}
inline void WebFeatures::_internal_set_quickrepliesquery(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000200u;
- quickrepliesquery_ = value;
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.quickrepliesquery_ = value;
}
inline void WebFeatures::set_quickrepliesquery(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_quickrepliesquery(value);
@@ -47824,18 +49965,18 @@ inline void WebFeatures::set_quickrepliesquery(::proto::WebFeatures_WebFeaturesF
// optional .proto.WebFeatures.WebFeaturesFlag payments = 11;
inline bool WebFeatures::_internal_has_payments() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool WebFeatures::has_payments() const {
return _internal_has_payments();
}
inline void WebFeatures::clear_payments() {
- payments_ = 0;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.payments_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_payments() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(payments_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.payments_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::payments() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.payments)
@@ -47843,8 +49984,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::payments() const {
}
inline void WebFeatures::_internal_set_payments(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000400u;
- payments_ = value;
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.payments_ = value;
}
inline void WebFeatures::set_payments(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_payments(value);
@@ -47853,18 +49994,18 @@ inline void WebFeatures::set_payments(::proto::WebFeatures_WebFeaturesFlag value
// optional .proto.WebFeatures.WebFeaturesFlag stickerPackQuery = 12;
inline bool WebFeatures::_internal_has_stickerpackquery() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool WebFeatures::has_stickerpackquery() const {
return _internal_has_stickerpackquery();
}
inline void WebFeatures::clear_stickerpackquery() {
- stickerpackquery_ = 0;
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.stickerpackquery_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_stickerpackquery() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(stickerpackquery_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.stickerpackquery_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::stickerpackquery() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.stickerPackQuery)
@@ -47872,8 +50013,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::stickerpackquery() cons
}
inline void WebFeatures::_internal_set_stickerpackquery(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00000800u;
- stickerpackquery_ = value;
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.stickerpackquery_ = value;
}
inline void WebFeatures::set_stickerpackquery(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_stickerpackquery(value);
@@ -47882,18 +50023,18 @@ inline void WebFeatures::set_stickerpackquery(::proto::WebFeatures_WebFeaturesFl
// optional .proto.WebFeatures.WebFeaturesFlag liveLocationsFinal = 13;
inline bool WebFeatures::_internal_has_livelocationsfinal() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
return value;
}
inline bool WebFeatures::has_livelocationsfinal() const {
return _internal_has_livelocationsfinal();
}
inline void WebFeatures::clear_livelocationsfinal() {
- livelocationsfinal_ = 0;
- _has_bits_[0] &= ~0x00001000u;
+ _impl_.livelocationsfinal_ = 0;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_livelocationsfinal() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(livelocationsfinal_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.livelocationsfinal_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::livelocationsfinal() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.liveLocationsFinal)
@@ -47901,8 +50042,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::livelocationsfinal() co
}
inline void WebFeatures::_internal_set_livelocationsfinal(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00001000u;
- livelocationsfinal_ = value;
+ _impl_._has_bits_[0] |= 0x00001000u;
+ _impl_.livelocationsfinal_ = value;
}
inline void WebFeatures::set_livelocationsfinal(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_livelocationsfinal(value);
@@ -47911,18 +50052,18 @@ inline void WebFeatures::set_livelocationsfinal(::proto::WebFeatures_WebFeatures
// optional .proto.WebFeatures.WebFeaturesFlag labelsEdit = 14;
inline bool WebFeatures::_internal_has_labelsedit() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool WebFeatures::has_labelsedit() const {
return _internal_has_labelsedit();
}
inline void WebFeatures::clear_labelsedit() {
- labelsedit_ = 0;
- _has_bits_[0] &= ~0x00002000u;
+ _impl_.labelsedit_ = 0;
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_labelsedit() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(labelsedit_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.labelsedit_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::labelsedit() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.labelsEdit)
@@ -47930,8 +50071,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::labelsedit() const {
}
inline void WebFeatures::_internal_set_labelsedit(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00002000u;
- labelsedit_ = value;
+ _impl_._has_bits_[0] |= 0x00002000u;
+ _impl_.labelsedit_ = value;
}
inline void WebFeatures::set_labelsedit(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_labelsedit(value);
@@ -47940,18 +50081,18 @@ inline void WebFeatures::set_labelsedit(::proto::WebFeatures_WebFeaturesFlag val
// optional .proto.WebFeatures.WebFeaturesFlag mediaUpload = 15;
inline bool WebFeatures::_internal_has_mediaupload() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool WebFeatures::has_mediaupload() const {
return _internal_has_mediaupload();
}
inline void WebFeatures::clear_mediaupload() {
- mediaupload_ = 0;
- _has_bits_[0] &= ~0x00004000u;
+ _impl_.mediaupload_ = 0;
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_mediaupload() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(mediaupload_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.mediaupload_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::mediaupload() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.mediaUpload)
@@ -47959,8 +50100,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::mediaupload() const {
}
inline void WebFeatures::_internal_set_mediaupload(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00004000u;
- mediaupload_ = value;
+ _impl_._has_bits_[0] |= 0x00004000u;
+ _impl_.mediaupload_ = value;
}
inline void WebFeatures::set_mediaupload(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_mediaupload(value);
@@ -47969,18 +50110,18 @@ inline void WebFeatures::set_mediaupload(::proto::WebFeatures_WebFeaturesFlag va
// optional .proto.WebFeatures.WebFeaturesFlag mediaUploadRichQuickReplies = 18;
inline bool WebFeatures::_internal_has_mediauploadrichquickreplies() const {
- bool value = (_has_bits_[0] & 0x00008000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
return value;
}
inline bool WebFeatures::has_mediauploadrichquickreplies() const {
return _internal_has_mediauploadrichquickreplies();
}
inline void WebFeatures::clear_mediauploadrichquickreplies() {
- mediauploadrichquickreplies_ = 0;
- _has_bits_[0] &= ~0x00008000u;
+ _impl_.mediauploadrichquickreplies_ = 0;
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_mediauploadrichquickreplies() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(mediauploadrichquickreplies_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.mediauploadrichquickreplies_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::mediauploadrichquickreplies() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.mediaUploadRichQuickReplies)
@@ -47988,8 +50129,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::mediauploadrichquickrep
}
inline void WebFeatures::_internal_set_mediauploadrichquickreplies(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00008000u;
- mediauploadrichquickreplies_ = value;
+ _impl_._has_bits_[0] |= 0x00008000u;
+ _impl_.mediauploadrichquickreplies_ = value;
}
inline void WebFeatures::set_mediauploadrichquickreplies(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_mediauploadrichquickreplies(value);
@@ -47998,18 +50139,18 @@ inline void WebFeatures::set_mediauploadrichquickreplies(::proto::WebFeatures_We
// optional .proto.WebFeatures.WebFeaturesFlag vnameV2 = 19;
inline bool WebFeatures::_internal_has_vnamev2() const {
- bool value = (_has_bits_[0] & 0x00010000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
return value;
}
inline bool WebFeatures::has_vnamev2() const {
return _internal_has_vnamev2();
}
inline void WebFeatures::clear_vnamev2() {
- vnamev2_ = 0;
- _has_bits_[0] &= ~0x00010000u;
+ _impl_.vnamev2_ = 0;
+ _impl_._has_bits_[0] &= ~0x00010000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_vnamev2() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(vnamev2_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.vnamev2_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::vnamev2() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.vnameV2)
@@ -48017,8 +50158,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::vnamev2() const {
}
inline void WebFeatures::_internal_set_vnamev2(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00010000u;
- vnamev2_ = value;
+ _impl_._has_bits_[0] |= 0x00010000u;
+ _impl_.vnamev2_ = value;
}
inline void WebFeatures::set_vnamev2(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_vnamev2(value);
@@ -48027,18 +50168,18 @@ inline void WebFeatures::set_vnamev2(::proto::WebFeatures_WebFeaturesFlag value)
// optional .proto.WebFeatures.WebFeaturesFlag videoPlaybackUrl = 20;
inline bool WebFeatures::_internal_has_videoplaybackurl() const {
- bool value = (_has_bits_[0] & 0x00020000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
return value;
}
inline bool WebFeatures::has_videoplaybackurl() const {
return _internal_has_videoplaybackurl();
}
inline void WebFeatures::clear_videoplaybackurl() {
- videoplaybackurl_ = 0;
- _has_bits_[0] &= ~0x00020000u;
+ _impl_.videoplaybackurl_ = 0;
+ _impl_._has_bits_[0] &= ~0x00020000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_videoplaybackurl() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(videoplaybackurl_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.videoplaybackurl_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::videoplaybackurl() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.videoPlaybackUrl)
@@ -48046,8 +50187,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::videoplaybackurl() cons
}
inline void WebFeatures::_internal_set_videoplaybackurl(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00020000u;
- videoplaybackurl_ = value;
+ _impl_._has_bits_[0] |= 0x00020000u;
+ _impl_.videoplaybackurl_ = value;
}
inline void WebFeatures::set_videoplaybackurl(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_videoplaybackurl(value);
@@ -48056,18 +50197,18 @@ inline void WebFeatures::set_videoplaybackurl(::proto::WebFeatures_WebFeaturesFl
// optional .proto.WebFeatures.WebFeaturesFlag statusRanking = 21;
inline bool WebFeatures::_internal_has_statusranking() const {
- bool value = (_has_bits_[0] & 0x00040000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
return value;
}
inline bool WebFeatures::has_statusranking() const {
return _internal_has_statusranking();
}
inline void WebFeatures::clear_statusranking() {
- statusranking_ = 0;
- _has_bits_[0] &= ~0x00040000u;
+ _impl_.statusranking_ = 0;
+ _impl_._has_bits_[0] &= ~0x00040000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_statusranking() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(statusranking_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.statusranking_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::statusranking() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.statusRanking)
@@ -48075,8 +50216,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::statusranking() const {
}
inline void WebFeatures::_internal_set_statusranking(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00040000u;
- statusranking_ = value;
+ _impl_._has_bits_[0] |= 0x00040000u;
+ _impl_.statusranking_ = value;
}
inline void WebFeatures::set_statusranking(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_statusranking(value);
@@ -48085,18 +50226,18 @@ inline void WebFeatures::set_statusranking(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag voipIndividualVideo = 22;
inline bool WebFeatures::_internal_has_voipindividualvideo() const {
- bool value = (_has_bits_[0] & 0x00080000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
return value;
}
inline bool WebFeatures::has_voipindividualvideo() const {
return _internal_has_voipindividualvideo();
}
inline void WebFeatures::clear_voipindividualvideo() {
- voipindividualvideo_ = 0;
- _has_bits_[0] &= ~0x00080000u;
+ _impl_.voipindividualvideo_ = 0;
+ _impl_._has_bits_[0] &= ~0x00080000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_voipindividualvideo() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(voipindividualvideo_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.voipindividualvideo_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::voipindividualvideo() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.voipIndividualVideo)
@@ -48104,8 +50245,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::voipindividualvideo() c
}
inline void WebFeatures::_internal_set_voipindividualvideo(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00080000u;
- voipindividualvideo_ = value;
+ _impl_._has_bits_[0] |= 0x00080000u;
+ _impl_.voipindividualvideo_ = value;
}
inline void WebFeatures::set_voipindividualvideo(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_voipindividualvideo(value);
@@ -48114,18 +50255,18 @@ inline void WebFeatures::set_voipindividualvideo(::proto::WebFeatures_WebFeature
// optional .proto.WebFeatures.WebFeaturesFlag thirdPartyStickers = 23;
inline bool WebFeatures::_internal_has_thirdpartystickers() const {
- bool value = (_has_bits_[0] & 0x00100000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
return value;
}
inline bool WebFeatures::has_thirdpartystickers() const {
return _internal_has_thirdpartystickers();
}
inline void WebFeatures::clear_thirdpartystickers() {
- thirdpartystickers_ = 0;
- _has_bits_[0] &= ~0x00100000u;
+ _impl_.thirdpartystickers_ = 0;
+ _impl_._has_bits_[0] &= ~0x00100000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_thirdpartystickers() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(thirdpartystickers_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.thirdpartystickers_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::thirdpartystickers() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.thirdPartyStickers)
@@ -48133,8 +50274,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::thirdpartystickers() co
}
inline void WebFeatures::_internal_set_thirdpartystickers(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00100000u;
- thirdpartystickers_ = value;
+ _impl_._has_bits_[0] |= 0x00100000u;
+ _impl_.thirdpartystickers_ = value;
}
inline void WebFeatures::set_thirdpartystickers(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_thirdpartystickers(value);
@@ -48143,18 +50284,18 @@ inline void WebFeatures::set_thirdpartystickers(::proto::WebFeatures_WebFeatures
// optional .proto.WebFeatures.WebFeaturesFlag frequentlyForwardedSetting = 24;
inline bool WebFeatures::_internal_has_frequentlyforwardedsetting() const {
- bool value = (_has_bits_[0] & 0x00200000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
return value;
}
inline bool WebFeatures::has_frequentlyforwardedsetting() const {
return _internal_has_frequentlyforwardedsetting();
}
inline void WebFeatures::clear_frequentlyforwardedsetting() {
- frequentlyforwardedsetting_ = 0;
- _has_bits_[0] &= ~0x00200000u;
+ _impl_.frequentlyforwardedsetting_ = 0;
+ _impl_._has_bits_[0] &= ~0x00200000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_frequentlyforwardedsetting() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(frequentlyforwardedsetting_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.frequentlyforwardedsetting_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::frequentlyforwardedsetting() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.frequentlyForwardedSetting)
@@ -48162,8 +50303,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::frequentlyforwardedsett
}
inline void WebFeatures::_internal_set_frequentlyforwardedsetting(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00200000u;
- frequentlyforwardedsetting_ = value;
+ _impl_._has_bits_[0] |= 0x00200000u;
+ _impl_.frequentlyforwardedsetting_ = value;
}
inline void WebFeatures::set_frequentlyforwardedsetting(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_frequentlyforwardedsetting(value);
@@ -48172,18 +50313,18 @@ inline void WebFeatures::set_frequentlyforwardedsetting(::proto::WebFeatures_Web
// optional .proto.WebFeatures.WebFeaturesFlag groupsV4JoinPermission = 25;
inline bool WebFeatures::_internal_has_groupsv4joinpermission() const {
- bool value = (_has_bits_[0] & 0x00400000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
return value;
}
inline bool WebFeatures::has_groupsv4joinpermission() const {
return _internal_has_groupsv4joinpermission();
}
inline void WebFeatures::clear_groupsv4joinpermission() {
- groupsv4joinpermission_ = 0;
- _has_bits_[0] &= ~0x00400000u;
+ _impl_.groupsv4joinpermission_ = 0;
+ _impl_._has_bits_[0] &= ~0x00400000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_groupsv4joinpermission() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(groupsv4joinpermission_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.groupsv4joinpermission_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupsv4joinpermission() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.groupsV4JoinPermission)
@@ -48191,8 +50332,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupsv4joinpermission(
}
inline void WebFeatures::_internal_set_groupsv4joinpermission(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00400000u;
- groupsv4joinpermission_ = value;
+ _impl_._has_bits_[0] |= 0x00400000u;
+ _impl_.groupsv4joinpermission_ = value;
}
inline void WebFeatures::set_groupsv4joinpermission(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_groupsv4joinpermission(value);
@@ -48201,18 +50342,18 @@ inline void WebFeatures::set_groupsv4joinpermission(::proto::WebFeatures_WebFeat
// optional .proto.WebFeatures.WebFeaturesFlag recentStickers = 26;
inline bool WebFeatures::_internal_has_recentstickers() const {
- bool value = (_has_bits_[0] & 0x00800000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
return value;
}
inline bool WebFeatures::has_recentstickers() const {
return _internal_has_recentstickers();
}
inline void WebFeatures::clear_recentstickers() {
- recentstickers_ = 0;
- _has_bits_[0] &= ~0x00800000u;
+ _impl_.recentstickers_ = 0;
+ _impl_._has_bits_[0] &= ~0x00800000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_recentstickers() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(recentstickers_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.recentstickers_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::recentstickers() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.recentStickers)
@@ -48220,8 +50361,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::recentstickers() const
}
inline void WebFeatures::_internal_set_recentstickers(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x00800000u;
- recentstickers_ = value;
+ _impl_._has_bits_[0] |= 0x00800000u;
+ _impl_.recentstickers_ = value;
}
inline void WebFeatures::set_recentstickers(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_recentstickers(value);
@@ -48230,18 +50371,18 @@ inline void WebFeatures::set_recentstickers(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag catalog = 27;
inline bool WebFeatures::_internal_has_catalog() const {
- bool value = (_has_bits_[0] & 0x01000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
return value;
}
inline bool WebFeatures::has_catalog() const {
return _internal_has_catalog();
}
inline void WebFeatures::clear_catalog() {
- catalog_ = 0;
- _has_bits_[0] &= ~0x01000000u;
+ _impl_.catalog_ = 0;
+ _impl_._has_bits_[0] &= ~0x01000000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_catalog() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(catalog_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.catalog_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::catalog() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.catalog)
@@ -48249,8 +50390,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::catalog() const {
}
inline void WebFeatures::_internal_set_catalog(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x01000000u;
- catalog_ = value;
+ _impl_._has_bits_[0] |= 0x01000000u;
+ _impl_.catalog_ = value;
}
inline void WebFeatures::set_catalog(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_catalog(value);
@@ -48259,18 +50400,18 @@ inline void WebFeatures::set_catalog(::proto::WebFeatures_WebFeaturesFlag value)
// optional .proto.WebFeatures.WebFeaturesFlag starredStickers = 28;
inline bool WebFeatures::_internal_has_starredstickers() const {
- bool value = (_has_bits_[0] & 0x02000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
return value;
}
inline bool WebFeatures::has_starredstickers() const {
return _internal_has_starredstickers();
}
inline void WebFeatures::clear_starredstickers() {
- starredstickers_ = 0;
- _has_bits_[0] &= ~0x02000000u;
+ _impl_.starredstickers_ = 0;
+ _impl_._has_bits_[0] &= ~0x02000000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_starredstickers() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(starredstickers_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.starredstickers_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::starredstickers() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.starredStickers)
@@ -48278,8 +50419,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::starredstickers() const
}
inline void WebFeatures::_internal_set_starredstickers(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x02000000u;
- starredstickers_ = value;
+ _impl_._has_bits_[0] |= 0x02000000u;
+ _impl_.starredstickers_ = value;
}
inline void WebFeatures::set_starredstickers(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_starredstickers(value);
@@ -48288,18 +50429,18 @@ inline void WebFeatures::set_starredstickers(::proto::WebFeatures_WebFeaturesFla
// optional .proto.WebFeatures.WebFeaturesFlag voipGroupCall = 29;
inline bool WebFeatures::_internal_has_voipgroupcall() const {
- bool value = (_has_bits_[0] & 0x04000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0;
return value;
}
inline bool WebFeatures::has_voipgroupcall() const {
return _internal_has_voipgroupcall();
}
inline void WebFeatures::clear_voipgroupcall() {
- voipgroupcall_ = 0;
- _has_bits_[0] &= ~0x04000000u;
+ _impl_.voipgroupcall_ = 0;
+ _impl_._has_bits_[0] &= ~0x04000000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_voipgroupcall() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(voipgroupcall_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.voipgroupcall_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::voipgroupcall() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.voipGroupCall)
@@ -48307,8 +50448,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::voipgroupcall() const {
}
inline void WebFeatures::_internal_set_voipgroupcall(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x04000000u;
- voipgroupcall_ = value;
+ _impl_._has_bits_[0] |= 0x04000000u;
+ _impl_.voipgroupcall_ = value;
}
inline void WebFeatures::set_voipgroupcall(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_voipgroupcall(value);
@@ -48317,18 +50458,18 @@ inline void WebFeatures::set_voipgroupcall(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag templateMessage = 30;
inline bool WebFeatures::_internal_has_templatemessage() const {
- bool value = (_has_bits_[0] & 0x08000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0;
return value;
}
inline bool WebFeatures::has_templatemessage() const {
return _internal_has_templatemessage();
}
inline void WebFeatures::clear_templatemessage() {
- templatemessage_ = 0;
- _has_bits_[0] &= ~0x08000000u;
+ _impl_.templatemessage_ = 0;
+ _impl_._has_bits_[0] &= ~0x08000000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_templatemessage() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(templatemessage_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.templatemessage_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::templatemessage() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.templateMessage)
@@ -48336,8 +50477,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::templatemessage() const
}
inline void WebFeatures::_internal_set_templatemessage(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x08000000u;
- templatemessage_ = value;
+ _impl_._has_bits_[0] |= 0x08000000u;
+ _impl_.templatemessage_ = value;
}
inline void WebFeatures::set_templatemessage(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_templatemessage(value);
@@ -48346,18 +50487,18 @@ inline void WebFeatures::set_templatemessage(::proto::WebFeatures_WebFeaturesFla
// optional .proto.WebFeatures.WebFeaturesFlag templateMessageInteractivity = 31;
inline bool WebFeatures::_internal_has_templatemessageinteractivity() const {
- bool value = (_has_bits_[0] & 0x10000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0;
return value;
}
inline bool WebFeatures::has_templatemessageinteractivity() const {
return _internal_has_templatemessageinteractivity();
}
inline void WebFeatures::clear_templatemessageinteractivity() {
- templatemessageinteractivity_ = 0;
- _has_bits_[0] &= ~0x10000000u;
+ _impl_.templatemessageinteractivity_ = 0;
+ _impl_._has_bits_[0] &= ~0x10000000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_templatemessageinteractivity() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(templatemessageinteractivity_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.templatemessageinteractivity_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::templatemessageinteractivity() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.templateMessageInteractivity)
@@ -48365,8 +50506,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::templatemessageinteract
}
inline void WebFeatures::_internal_set_templatemessageinteractivity(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x10000000u;
- templatemessageinteractivity_ = value;
+ _impl_._has_bits_[0] |= 0x10000000u;
+ _impl_.templatemessageinteractivity_ = value;
}
inline void WebFeatures::set_templatemessageinteractivity(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_templatemessageinteractivity(value);
@@ -48375,18 +50516,18 @@ inline void WebFeatures::set_templatemessageinteractivity(::proto::WebFeatures_W
// optional .proto.WebFeatures.WebFeaturesFlag ephemeralMessages = 32;
inline bool WebFeatures::_internal_has_ephemeralmessages() const {
- bool value = (_has_bits_[0] & 0x20000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0;
return value;
}
inline bool WebFeatures::has_ephemeralmessages() const {
return _internal_has_ephemeralmessages();
}
inline void WebFeatures::clear_ephemeralmessages() {
- ephemeralmessages_ = 0;
- _has_bits_[0] &= ~0x20000000u;
+ _impl_.ephemeralmessages_ = 0;
+ _impl_._has_bits_[0] &= ~0x20000000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_ephemeralmessages() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(ephemeralmessages_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.ephemeralmessages_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::ephemeralmessages() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.ephemeralMessages)
@@ -48394,8 +50535,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::ephemeralmessages() con
}
inline void WebFeatures::_internal_set_ephemeralmessages(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x20000000u;
- ephemeralmessages_ = value;
+ _impl_._has_bits_[0] |= 0x20000000u;
+ _impl_.ephemeralmessages_ = value;
}
inline void WebFeatures::set_ephemeralmessages(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_ephemeralmessages(value);
@@ -48404,18 +50545,18 @@ inline void WebFeatures::set_ephemeralmessages(::proto::WebFeatures_WebFeaturesF
// optional .proto.WebFeatures.WebFeaturesFlag e2ENotificationSync = 33;
inline bool WebFeatures::_internal_has_e2enotificationsync() const {
- bool value = (_has_bits_[0] & 0x40000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0;
return value;
}
inline bool WebFeatures::has_e2enotificationsync() const {
return _internal_has_e2enotificationsync();
}
inline void WebFeatures::clear_e2enotificationsync() {
- e2enotificationsync_ = 0;
- _has_bits_[0] &= ~0x40000000u;
+ _impl_.e2enotificationsync_ = 0;
+ _impl_._has_bits_[0] &= ~0x40000000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_e2enotificationsync() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(e2enotificationsync_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.e2enotificationsync_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::e2enotificationsync() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.e2ENotificationSync)
@@ -48423,8 +50564,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::e2enotificationsync() c
}
inline void WebFeatures::_internal_set_e2enotificationsync(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x40000000u;
- e2enotificationsync_ = value;
+ _impl_._has_bits_[0] |= 0x40000000u;
+ _impl_.e2enotificationsync_ = value;
}
inline void WebFeatures::set_e2enotificationsync(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_e2enotificationsync(value);
@@ -48433,18 +50574,18 @@ inline void WebFeatures::set_e2enotificationsync(::proto::WebFeatures_WebFeature
// optional .proto.WebFeatures.WebFeaturesFlag recentStickersV2 = 34;
inline bool WebFeatures::_internal_has_recentstickersv2() const {
- bool value = (_has_bits_[0] & 0x80000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0;
return value;
}
inline bool WebFeatures::has_recentstickersv2() const {
return _internal_has_recentstickersv2();
}
inline void WebFeatures::clear_recentstickersv2() {
- recentstickersv2_ = 0;
- _has_bits_[0] &= ~0x80000000u;
+ _impl_.recentstickersv2_ = 0;
+ _impl_._has_bits_[0] &= ~0x80000000u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_recentstickersv2() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(recentstickersv2_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.recentstickersv2_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::recentstickersv2() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.recentStickersV2)
@@ -48452,8 +50593,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::recentstickersv2() cons
}
inline void WebFeatures::_internal_set_recentstickersv2(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[0] |= 0x80000000u;
- recentstickersv2_ = value;
+ _impl_._has_bits_[0] |= 0x80000000u;
+ _impl_.recentstickersv2_ = value;
}
inline void WebFeatures::set_recentstickersv2(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_recentstickersv2(value);
@@ -48462,18 +50603,18 @@ inline void WebFeatures::set_recentstickersv2(::proto::WebFeatures_WebFeaturesFl
// optional .proto.WebFeatures.WebFeaturesFlag syncdRelease1 = 35;
inline bool WebFeatures::_internal_has_syncdrelease1() const {
- bool value = (_has_bits_[1] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0;
return value;
}
inline bool WebFeatures::has_syncdrelease1() const {
return _internal_has_syncdrelease1();
}
inline void WebFeatures::clear_syncdrelease1() {
- syncdrelease1_ = 0;
- _has_bits_[1] &= ~0x00000001u;
+ _impl_.syncdrelease1_ = 0;
+ _impl_._has_bits_[1] &= ~0x00000001u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_syncdrelease1() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(syncdrelease1_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.syncdrelease1_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::syncdrelease1() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.syncdRelease1)
@@ -48481,8 +50622,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::syncdrelease1() const {
}
inline void WebFeatures::_internal_set_syncdrelease1(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[1] |= 0x00000001u;
- syncdrelease1_ = value;
+ _impl_._has_bits_[1] |= 0x00000001u;
+ _impl_.syncdrelease1_ = value;
}
inline void WebFeatures::set_syncdrelease1(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_syncdrelease1(value);
@@ -48491,18 +50632,18 @@ inline void WebFeatures::set_syncdrelease1(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag recentStickersV3 = 36;
inline bool WebFeatures::_internal_has_recentstickersv3() const {
- bool value = (_has_bits_[1] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0;
return value;
}
inline bool WebFeatures::has_recentstickersv3() const {
return _internal_has_recentstickersv3();
}
inline void WebFeatures::clear_recentstickersv3() {
- recentstickersv3_ = 0;
- _has_bits_[1] &= ~0x00000002u;
+ _impl_.recentstickersv3_ = 0;
+ _impl_._has_bits_[1] &= ~0x00000002u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_recentstickersv3() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(recentstickersv3_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.recentstickersv3_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::recentstickersv3() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.recentStickersV3)
@@ -48510,8 +50651,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::recentstickersv3() cons
}
inline void WebFeatures::_internal_set_recentstickersv3(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[1] |= 0x00000002u;
- recentstickersv3_ = value;
+ _impl_._has_bits_[1] |= 0x00000002u;
+ _impl_.recentstickersv3_ = value;
}
inline void WebFeatures::set_recentstickersv3(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_recentstickersv3(value);
@@ -48520,18 +50661,18 @@ inline void WebFeatures::set_recentstickersv3(::proto::WebFeatures_WebFeaturesFl
// optional .proto.WebFeatures.WebFeaturesFlag userNotice = 37;
inline bool WebFeatures::_internal_has_usernotice() const {
- bool value = (_has_bits_[1] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0;
return value;
}
inline bool WebFeatures::has_usernotice() const {
return _internal_has_usernotice();
}
inline void WebFeatures::clear_usernotice() {
- usernotice_ = 0;
- _has_bits_[1] &= ~0x00000004u;
+ _impl_.usernotice_ = 0;
+ _impl_._has_bits_[1] &= ~0x00000004u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_usernotice() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(usernotice_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.usernotice_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::usernotice() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.userNotice)
@@ -48539,8 +50680,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::usernotice() const {
}
inline void WebFeatures::_internal_set_usernotice(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[1] |= 0x00000004u;
- usernotice_ = value;
+ _impl_._has_bits_[1] |= 0x00000004u;
+ _impl_.usernotice_ = value;
}
inline void WebFeatures::set_usernotice(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_usernotice(value);
@@ -48549,18 +50690,18 @@ inline void WebFeatures::set_usernotice(::proto::WebFeatures_WebFeaturesFlag val
// optional .proto.WebFeatures.WebFeaturesFlag syncdRelease11 = 38;
inline bool WebFeatures::_internal_has_syncdrelease11() const {
- bool value = (_has_bits_[1] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0;
return value;
}
inline bool WebFeatures::has_syncdrelease11() const {
return _internal_has_syncdrelease11();
}
inline void WebFeatures::clear_syncdrelease11() {
- syncdrelease11_ = 0;
- _has_bits_[1] &= ~0x00000008u;
+ _impl_.syncdrelease11_ = 0;
+ _impl_._has_bits_[1] &= ~0x00000008u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_syncdrelease11() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(syncdrelease11_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.syncdrelease11_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::syncdrelease11() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.syncdRelease11)
@@ -48568,8 +50709,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::syncdrelease11() const
}
inline void WebFeatures::_internal_set_syncdrelease11(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[1] |= 0x00000008u;
- syncdrelease11_ = value;
+ _impl_._has_bits_[1] |= 0x00000008u;
+ _impl_.syncdrelease11_ = value;
}
inline void WebFeatures::set_syncdrelease11(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_syncdrelease11(value);
@@ -48578,18 +50719,18 @@ inline void WebFeatures::set_syncdrelease11(::proto::WebFeatures_WebFeaturesFlag
// optional .proto.WebFeatures.WebFeaturesFlag support = 39;
inline bool WebFeatures::_internal_has_support() const {
- bool value = (_has_bits_[1] & 0x00000010u) != 0;
+ bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0;
return value;
}
inline bool WebFeatures::has_support() const {
return _internal_has_support();
}
inline void WebFeatures::clear_support() {
- support_ = 0;
- _has_bits_[1] &= ~0x00000010u;
+ _impl_.support_ = 0;
+ _impl_._has_bits_[1] &= ~0x00000010u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_support() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(support_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.support_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::support() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.support)
@@ -48597,8 +50738,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::support() const {
}
inline void WebFeatures::_internal_set_support(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[1] |= 0x00000010u;
- support_ = value;
+ _impl_._has_bits_[1] |= 0x00000010u;
+ _impl_.support_ = value;
}
inline void WebFeatures::set_support(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_support(value);
@@ -48607,18 +50748,18 @@ inline void WebFeatures::set_support(::proto::WebFeatures_WebFeaturesFlag value)
// optional .proto.WebFeatures.WebFeaturesFlag groupUiiCleanup = 40;
inline bool WebFeatures::_internal_has_groupuiicleanup() const {
- bool value = (_has_bits_[1] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0;
return value;
}
inline bool WebFeatures::has_groupuiicleanup() const {
return _internal_has_groupuiicleanup();
}
inline void WebFeatures::clear_groupuiicleanup() {
- groupuiicleanup_ = 0;
- _has_bits_[1] &= ~0x00000020u;
+ _impl_.groupuiicleanup_ = 0;
+ _impl_._has_bits_[1] &= ~0x00000020u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_groupuiicleanup() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(groupuiicleanup_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.groupuiicleanup_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupuiicleanup() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.groupUiiCleanup)
@@ -48626,8 +50767,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupuiicleanup() const
}
inline void WebFeatures::_internal_set_groupuiicleanup(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[1] |= 0x00000020u;
- groupuiicleanup_ = value;
+ _impl_._has_bits_[1] |= 0x00000020u;
+ _impl_.groupuiicleanup_ = value;
}
inline void WebFeatures::set_groupuiicleanup(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_groupuiicleanup(value);
@@ -48636,18 +50777,18 @@ inline void WebFeatures::set_groupuiicleanup(::proto::WebFeatures_WebFeaturesFla
// optional .proto.WebFeatures.WebFeaturesFlag groupDogfoodingInternalOnly = 41;
inline bool WebFeatures::_internal_has_groupdogfoodinginternalonly() const {
- bool value = (_has_bits_[1] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0;
return value;
}
inline bool WebFeatures::has_groupdogfoodinginternalonly() const {
return _internal_has_groupdogfoodinginternalonly();
}
inline void WebFeatures::clear_groupdogfoodinginternalonly() {
- groupdogfoodinginternalonly_ = 0;
- _has_bits_[1] &= ~0x00000040u;
+ _impl_.groupdogfoodinginternalonly_ = 0;
+ _impl_._has_bits_[1] &= ~0x00000040u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_groupdogfoodinginternalonly() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(groupdogfoodinginternalonly_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.groupdogfoodinginternalonly_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupdogfoodinginternalonly() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.groupDogfoodingInternalOnly)
@@ -48655,8 +50796,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::groupdogfoodinginternal
}
inline void WebFeatures::_internal_set_groupdogfoodinginternalonly(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[1] |= 0x00000040u;
- groupdogfoodinginternalonly_ = value;
+ _impl_._has_bits_[1] |= 0x00000040u;
+ _impl_.groupdogfoodinginternalonly_ = value;
}
inline void WebFeatures::set_groupdogfoodinginternalonly(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_groupdogfoodinginternalonly(value);
@@ -48665,18 +50806,18 @@ inline void WebFeatures::set_groupdogfoodinginternalonly(::proto::WebFeatures_We
// optional .proto.WebFeatures.WebFeaturesFlag settingsSync = 42;
inline bool WebFeatures::_internal_has_settingssync() const {
- bool value = (_has_bits_[1] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0;
return value;
}
inline bool WebFeatures::has_settingssync() const {
return _internal_has_settingssync();
}
inline void WebFeatures::clear_settingssync() {
- settingssync_ = 0;
- _has_bits_[1] &= ~0x00000080u;
+ _impl_.settingssync_ = 0;
+ _impl_._has_bits_[1] &= ~0x00000080u;
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::_internal_settingssync() const {
- return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(settingssync_);
+ return static_cast< ::proto::WebFeatures_WebFeaturesFlag >(_impl_.settingssync_);
}
inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::settingssync() const {
// @@protoc_insertion_point(field_get:proto.WebFeatures.settingsSync)
@@ -48684,8 +50825,8 @@ inline ::proto::WebFeatures_WebFeaturesFlag WebFeatures::settingssync() const {
}
inline void WebFeatures::_internal_set_settingssync(::proto::WebFeatures_WebFeaturesFlag value) {
assert(::proto::WebFeatures_WebFeaturesFlag_IsValid(value));
- _has_bits_[1] |= 0x00000080u;
- settingssync_ = value;
+ _impl_._has_bits_[1] |= 0x00000080u;
+ _impl_.settingssync_ = value;
}
inline void WebFeatures::set_settingssync(::proto::WebFeatures_WebFeaturesFlag value) {
_internal_set_settingssync(value);
@@ -48698,19 +50839,19 @@ inline void WebFeatures::set_settingssync(::proto::WebFeatures_WebFeaturesFlag v
// optional .proto.MessageKey key = 1;
inline bool NotificationMessageInfo::_internal_has_key() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || key_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.key_ != nullptr);
return value;
}
inline bool NotificationMessageInfo::has_key() const {
return _internal_has_key();
}
inline void NotificationMessageInfo::clear_key() {
- if (key_ != nullptr) key_->Clear();
- _has_bits_[0] &= ~0x00000002u;
+ if (_impl_.key_ != nullptr) _impl_.key_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::proto::MessageKey& NotificationMessageInfo::_internal_key() const {
- const ::proto::MessageKey* p = key_;
+ const ::proto::MessageKey* p = _impl_.key_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageKey&>(
::proto::_MessageKey_default_instance_);
}
@@ -48721,20 +50862,20 @@ inline const ::proto::MessageKey& NotificationMessageInfo::key() const {
inline void NotificationMessageInfo::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.key_);
}
- key_ = key;
+ _impl_.key_ = key;
if (key) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.NotificationMessageInfo.key)
}
inline ::proto::MessageKey* NotificationMessageInfo::release_key() {
- _has_bits_[0] &= ~0x00000002u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -48748,18 +50889,18 @@ inline ::proto::MessageKey* NotificationMessageInfo::release_key() {
}
inline ::proto::MessageKey* NotificationMessageInfo::unsafe_arena_release_key() {
// @@protoc_insertion_point(field_release:proto.NotificationMessageInfo.key)
- _has_bits_[0] &= ~0x00000002u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
return temp;
}
inline ::proto::MessageKey* NotificationMessageInfo::_internal_mutable_key() {
- _has_bits_[0] |= 0x00000002u;
- if (key_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ if (_impl_.key_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
- key_ = p;
+ _impl_.key_ = p;
}
- return key_;
+ return _impl_.key_;
}
inline ::proto::MessageKey* NotificationMessageInfo::mutable_key() {
::proto::MessageKey* _msg = _internal_mutable_key();
@@ -48769,38 +50910,38 @@ inline ::proto::MessageKey* NotificationMessageInfo::mutable_key() {
inline void NotificationMessageInfo::set_allocated_key(::proto::MessageKey* key) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete key_;
+ delete _impl_.key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
}
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- key_ = key;
+ _impl_.key_ = key;
// @@protoc_insertion_point(field_set_allocated:proto.NotificationMessageInfo.key)
}
// optional .proto.Message message = 2;
inline bool NotificationMessageInfo::_internal_has_message() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || message_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.message_ != nullptr);
return value;
}
inline bool NotificationMessageInfo::has_message() const {
return _internal_has_message();
}
inline void NotificationMessageInfo::clear_message() {
- if (message_ != nullptr) message_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.message_ != nullptr) _impl_.message_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::Message& NotificationMessageInfo::_internal_message() const {
- const ::proto::Message* p = message_;
+ const ::proto::Message* p = _impl_.message_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Message&>(
::proto::_Message_default_instance_);
}
@@ -48811,20 +50952,20 @@ inline const ::proto::Message& NotificationMessageInfo::message() const {
inline void NotificationMessageInfo::unsafe_arena_set_allocated_message(
::proto::Message* message) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(message_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.message_);
}
- message_ = message;
+ _impl_.message_ = message;
if (message) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.NotificationMessageInfo.message)
}
inline ::proto::Message* NotificationMessageInfo::release_message() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::Message* temp = message_;
- message_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::Message* temp = _impl_.message_;
+ _impl_.message_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -48838,18 +50979,18 @@ inline ::proto::Message* NotificationMessageInfo::release_message() {
}
inline ::proto::Message* NotificationMessageInfo::unsafe_arena_release_message() {
// @@protoc_insertion_point(field_release:proto.NotificationMessageInfo.message)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::Message* temp = message_;
- message_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::Message* temp = _impl_.message_;
+ _impl_.message_ = nullptr;
return temp;
}
inline ::proto::Message* NotificationMessageInfo::_internal_mutable_message() {
- _has_bits_[0] |= 0x00000004u;
- if (message_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.message_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
- message_ = p;
+ _impl_.message_ = p;
}
- return message_;
+ return _impl_.message_;
}
inline ::proto::Message* NotificationMessageInfo::mutable_message() {
::proto::Message* _msg = _internal_mutable_message();
@@ -48859,62 +51000,62 @@ inline ::proto::Message* NotificationMessageInfo::mutable_message() {
inline void NotificationMessageInfo::set_allocated_message(::proto::Message* message) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete message_;
+ delete _impl_.message_;
}
if (message) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(message);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(message);
if (message_arena != submessage_arena) {
message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, message, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- message_ = message;
+ _impl_.message_ = message;
// @@protoc_insertion_point(field_set_allocated:proto.NotificationMessageInfo.message)
}
// optional uint64 messageTimestamp = 3;
inline bool NotificationMessageInfo::_internal_has_messagetimestamp() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool NotificationMessageInfo::has_messagetimestamp() const {
return _internal_has_messagetimestamp();
}
inline void NotificationMessageInfo::clear_messagetimestamp() {
- messagetimestamp_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.messagetimestamp_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 NotificationMessageInfo::_internal_messagetimestamp() const {
- return messagetimestamp_;
+inline uint64_t NotificationMessageInfo::_internal_messagetimestamp() const {
+ return _impl_.messagetimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 NotificationMessageInfo::messagetimestamp() const {
+inline uint64_t NotificationMessageInfo::messagetimestamp() const {
// @@protoc_insertion_point(field_get:proto.NotificationMessageInfo.messageTimestamp)
return _internal_messagetimestamp();
}
-inline void NotificationMessageInfo::_internal_set_messagetimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000008u;
- messagetimestamp_ = value;
+inline void NotificationMessageInfo::_internal_set_messagetimestamp(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.messagetimestamp_ = value;
}
-inline void NotificationMessageInfo::set_messagetimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void NotificationMessageInfo::set_messagetimestamp(uint64_t value) {
_internal_set_messagetimestamp(value);
// @@protoc_insertion_point(field_set:proto.NotificationMessageInfo.messageTimestamp)
}
// optional string participant = 4;
inline bool NotificationMessageInfo::_internal_has_participant() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool NotificationMessageInfo::has_participant() const {
return _internal_has_participant();
}
inline void NotificationMessageInfo::clear_participant() {
- participant_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.participant_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& NotificationMessageInfo::participant() const {
// @@protoc_insertion_point(field_get:proto.NotificationMessageInfo.participant)
@@ -48923,8 +51064,8 @@ inline const std::string& NotificationMessageInfo::participant() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.participant_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.NotificationMessageInfo.participant)
}
inline std::string* NotificationMessageInfo::mutable_participant() {
@@ -48933,32 +51074,42 @@ inline std::string* NotificationMessageInfo::mutable_participant() {
return _s;
}
inline const std::string& NotificationMessageInfo::_internal_participant() const {
- return participant_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.participant_.Set(value, GetArenaForAllocation());
}
inline std::string* NotificationMessageInfo::_internal_mutable_participant() {
- _has_bits_[0] |= 0x00000001u;
- return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.participant_.Mutable(GetArenaForAllocation());
}
inline std::string* NotificationMessageInfo::release_participant() {
// @@protoc_insertion_point(field_release:proto.NotificationMessageInfo.participant)
if (!_internal_has_participant()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.participant_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.participant_.IsDefault()) {
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void NotificationMessageInfo::set_allocated_participant(std::string* participant) {
if (participant != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.participant_.SetAllocated(participant, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.participant_.IsDefault()) {
+ _impl_.participant_.Set("", GetArenaForAllocation());
}
- participant_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), participant,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.NotificationMessageInfo.participant)
}
@@ -48968,116 +51119,116 @@ inline void NotificationMessageInfo::set_allocated_participant(std::string* part
// optional uint64 timestamp = 2;
inline bool WebNotificationsInfo::_internal_has_timestamp() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool WebNotificationsInfo::has_timestamp() const {
return _internal_has_timestamp();
}
inline void WebNotificationsInfo::clear_timestamp() {
- timestamp_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.timestamp_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 WebNotificationsInfo::_internal_timestamp() const {
- return timestamp_;
+inline uint64_t WebNotificationsInfo::_internal_timestamp() const {
+ return _impl_.timestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 WebNotificationsInfo::timestamp() const {
+inline uint64_t WebNotificationsInfo::timestamp() const {
// @@protoc_insertion_point(field_get:proto.WebNotificationsInfo.timestamp)
return _internal_timestamp();
}
-inline void WebNotificationsInfo::_internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000001u;
- timestamp_ = value;
+inline void WebNotificationsInfo::_internal_set_timestamp(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.timestamp_ = value;
}
-inline void WebNotificationsInfo::set_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void WebNotificationsInfo::set_timestamp(uint64_t value) {
_internal_set_timestamp(value);
// @@protoc_insertion_point(field_set:proto.WebNotificationsInfo.timestamp)
}
// optional uint32 unreadChats = 3;
inline bool WebNotificationsInfo::_internal_has_unreadchats() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool WebNotificationsInfo::has_unreadchats() const {
return _internal_has_unreadchats();
}
inline void WebNotificationsInfo::clear_unreadchats() {
- unreadchats_ = 0u;
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.unreadchats_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 WebNotificationsInfo::_internal_unreadchats() const {
- return unreadchats_;
+inline uint32_t WebNotificationsInfo::_internal_unreadchats() const {
+ return _impl_.unreadchats_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 WebNotificationsInfo::unreadchats() const {
+inline uint32_t WebNotificationsInfo::unreadchats() const {
// @@protoc_insertion_point(field_get:proto.WebNotificationsInfo.unreadChats)
return _internal_unreadchats();
}
-inline void WebNotificationsInfo::_internal_set_unreadchats(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000002u;
- unreadchats_ = value;
+inline void WebNotificationsInfo::_internal_set_unreadchats(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.unreadchats_ = value;
}
-inline void WebNotificationsInfo::set_unreadchats(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void WebNotificationsInfo::set_unreadchats(uint32_t value) {
_internal_set_unreadchats(value);
// @@protoc_insertion_point(field_set:proto.WebNotificationsInfo.unreadChats)
}
// optional uint32 notifyMessageCount = 4;
inline bool WebNotificationsInfo::_internal_has_notifymessagecount() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool WebNotificationsInfo::has_notifymessagecount() const {
return _internal_has_notifymessagecount();
}
inline void WebNotificationsInfo::clear_notifymessagecount() {
- notifymessagecount_ = 0u;
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.notifymessagecount_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 WebNotificationsInfo::_internal_notifymessagecount() const {
- return notifymessagecount_;
+inline uint32_t WebNotificationsInfo::_internal_notifymessagecount() const {
+ return _impl_.notifymessagecount_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 WebNotificationsInfo::notifymessagecount() const {
+inline uint32_t WebNotificationsInfo::notifymessagecount() const {
// @@protoc_insertion_point(field_get:proto.WebNotificationsInfo.notifyMessageCount)
return _internal_notifymessagecount();
}
-inline void WebNotificationsInfo::_internal_set_notifymessagecount(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00000004u;
- notifymessagecount_ = value;
+inline void WebNotificationsInfo::_internal_set_notifymessagecount(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.notifymessagecount_ = value;
}
-inline void WebNotificationsInfo::set_notifymessagecount(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void WebNotificationsInfo::set_notifymessagecount(uint32_t value) {
_internal_set_notifymessagecount(value);
// @@protoc_insertion_point(field_set:proto.WebNotificationsInfo.notifyMessageCount)
}
// repeated .proto.WebMessageInfo notifyMessages = 5;
inline int WebNotificationsInfo::_internal_notifymessages_size() const {
- return notifymessages_.size();
+ return _impl_.notifymessages_.size();
}
inline int WebNotificationsInfo::notifymessages_size() const {
return _internal_notifymessages_size();
}
inline void WebNotificationsInfo::clear_notifymessages() {
- notifymessages_.Clear();
+ _impl_.notifymessages_.Clear();
}
inline ::proto::WebMessageInfo* WebNotificationsInfo::mutable_notifymessages(int index) {
// @@protoc_insertion_point(field_mutable:proto.WebNotificationsInfo.notifyMessages)
- return notifymessages_.Mutable(index);
+ return _impl_.notifymessages_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::WebMessageInfo >*
WebNotificationsInfo::mutable_notifymessages() {
// @@protoc_insertion_point(field_mutable_list:proto.WebNotificationsInfo.notifyMessages)
- return &notifymessages_;
+ return &_impl_.notifymessages_;
}
inline const ::proto::WebMessageInfo& WebNotificationsInfo::_internal_notifymessages(int index) const {
- return notifymessages_.Get(index);
+ return _impl_.notifymessages_.Get(index);
}
inline const ::proto::WebMessageInfo& WebNotificationsInfo::notifymessages(int index) const {
// @@protoc_insertion_point(field_get:proto.WebNotificationsInfo.notifyMessages)
return _internal_notifymessages(index);
}
inline ::proto::WebMessageInfo* WebNotificationsInfo::_internal_add_notifymessages() {
- return notifymessages_.Add();
+ return _impl_.notifymessages_.Add();
}
inline ::proto::WebMessageInfo* WebNotificationsInfo::add_notifymessages() {
::proto::WebMessageInfo* _add = _internal_add_notifymessages();
@@ -49087,7 +51238,7 @@ inline ::proto::WebMessageInfo* WebNotificationsInfo::add_notifymessages() {
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::WebMessageInfo >&
WebNotificationsInfo::notifymessages() const {
// @@protoc_insertion_point(field_list:proto.WebNotificationsInfo.notifyMessages)
- return notifymessages_;
+ return _impl_.notifymessages_;
}
// -------------------------------------------------------------------
@@ -49096,18 +51247,18 @@ WebNotificationsInfo::notifymessages() const {
// optional .proto.PaymentInfo.PaymentInfoCurrency currencyDeprecated = 1;
inline bool PaymentInfo::_internal_has_currencydeprecated() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool PaymentInfo::has_currencydeprecated() const {
return _internal_has_currencydeprecated();
}
inline void PaymentInfo::clear_currencydeprecated() {
- currencydeprecated_ = 0;
- _has_bits_[0] &= ~0x00000040u;
+ _impl_.currencydeprecated_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline ::proto::PaymentInfo_PaymentInfoCurrency PaymentInfo::_internal_currencydeprecated() const {
- return static_cast< ::proto::PaymentInfo_PaymentInfoCurrency >(currencydeprecated_);
+ return static_cast< ::proto::PaymentInfo_PaymentInfoCurrency >(_impl_.currencydeprecated_);
}
inline ::proto::PaymentInfo_PaymentInfoCurrency PaymentInfo::currencydeprecated() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.currencyDeprecated)
@@ -49115,8 +51266,8 @@ inline ::proto::PaymentInfo_PaymentInfoCurrency PaymentInfo::currencydeprecated(
}
inline void PaymentInfo::_internal_set_currencydeprecated(::proto::PaymentInfo_PaymentInfoCurrency value) {
assert(::proto::PaymentInfo_PaymentInfoCurrency_IsValid(value));
- _has_bits_[0] |= 0x00000040u;
- currencydeprecated_ = value;
+ _impl_._has_bits_[0] |= 0x00000040u;
+ _impl_.currencydeprecated_ = value;
}
inline void PaymentInfo::set_currencydeprecated(::proto::PaymentInfo_PaymentInfoCurrency value) {
_internal_set_currencydeprecated(value);
@@ -49125,43 +51276,43 @@ inline void PaymentInfo::set_currencydeprecated(::proto::PaymentInfo_PaymentInfo
// optional uint64 amount1000 = 2;
inline bool PaymentInfo::_internal_has_amount1000() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool PaymentInfo::has_amount1000() const {
return _internal_has_amount1000();
}
inline void PaymentInfo::clear_amount1000() {
- amount1000_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000020u;
+ _impl_.amount1000_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::_internal_amount1000() const {
- return amount1000_;
+inline uint64_t PaymentInfo::_internal_amount1000() const {
+ return _impl_.amount1000_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::amount1000() const {
+inline uint64_t PaymentInfo::amount1000() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.amount1000)
return _internal_amount1000();
}
-inline void PaymentInfo::_internal_set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000020u;
- amount1000_ = value;
+inline void PaymentInfo::_internal_set_amount1000(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ _impl_.amount1000_ = value;
}
-inline void PaymentInfo::set_amount1000(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void PaymentInfo::set_amount1000(uint64_t value) {
_internal_set_amount1000(value);
// @@protoc_insertion_point(field_set:proto.PaymentInfo.amount1000)
}
// optional string receiverJid = 3;
inline bool PaymentInfo::_internal_has_receiverjid() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PaymentInfo::has_receiverjid() const {
return _internal_has_receiverjid();
}
inline void PaymentInfo::clear_receiverjid() {
- receiverjid_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.receiverjid_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PaymentInfo::receiverjid() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.receiverJid)
@@ -49170,8 +51321,8 @@ inline const std::string& PaymentInfo::receiverjid() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.receiverjid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.PaymentInfo.receiverJid)
}
inline std::string* PaymentInfo::mutable_receiverjid() {
@@ -49180,49 +51331,59 @@ inline std::string* PaymentInfo::mutable_receiverjid() {
return _s;
}
inline const std::string& PaymentInfo::_internal_receiverjid() const {
- return receiverjid_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.receiverjid_.Set(value, GetArenaForAllocation());
}
inline std::string* PaymentInfo::_internal_mutable_receiverjid() {
- _has_bits_[0] |= 0x00000001u;
- return receiverjid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.receiverjid_.Mutable(GetArenaForAllocation());
}
inline std::string* PaymentInfo::release_receiverjid() {
// @@protoc_insertion_point(field_release:proto.PaymentInfo.receiverJid)
if (!_internal_has_receiverjid()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return receiverjid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.receiverjid_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.receiverjid_.IsDefault()) {
+ _impl_.receiverjid_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void PaymentInfo::set_allocated_receiverjid(std::string* receiverjid) {
if (receiverjid != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ }
+ _impl_.receiverjid_.SetAllocated(receiverjid, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.receiverjid_.IsDefault()) {
+ _impl_.receiverjid_.Set("", GetArenaForAllocation());
}
- receiverjid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), receiverjid,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.PaymentInfo.receiverJid)
}
// optional .proto.PaymentInfo.PaymentInfoStatus status = 4;
inline bool PaymentInfo::_internal_has_status() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool PaymentInfo::has_status() const {
return _internal_has_status();
}
inline void PaymentInfo::clear_status() {
- status_ = 0;
- _has_bits_[0] &= ~0x00000080u;
+ _impl_.status_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline ::proto::PaymentInfo_PaymentInfoStatus PaymentInfo::_internal_status() const {
- return static_cast< ::proto::PaymentInfo_PaymentInfoStatus >(status_);
+ return static_cast< ::proto::PaymentInfo_PaymentInfoStatus >(_impl_.status_);
}
inline ::proto::PaymentInfo_PaymentInfoStatus PaymentInfo::status() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.status)
@@ -49230,8 +51391,8 @@ inline ::proto::PaymentInfo_PaymentInfoStatus PaymentInfo::status() const {
}
inline void PaymentInfo::_internal_set_status(::proto::PaymentInfo_PaymentInfoStatus value) {
assert(::proto::PaymentInfo_PaymentInfoStatus_IsValid(value));
- _has_bits_[0] |= 0x00000080u;
- status_ = value;
+ _impl_._has_bits_[0] |= 0x00000080u;
+ _impl_.status_ = value;
}
inline void PaymentInfo::set_status(::proto::PaymentInfo_PaymentInfoStatus value) {
_internal_set_status(value);
@@ -49240,47 +51401,47 @@ inline void PaymentInfo::set_status(::proto::PaymentInfo_PaymentInfoStatus value
// optional uint64 transactionTimestamp = 5;
inline bool PaymentInfo::_internal_has_transactiontimestamp() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool PaymentInfo::has_transactiontimestamp() const {
return _internal_has_transactiontimestamp();
}
inline void PaymentInfo::clear_transactiontimestamp() {
- transactiontimestamp_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000100u;
+ _impl_.transactiontimestamp_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::_internal_transactiontimestamp() const {
- return transactiontimestamp_;
+inline uint64_t PaymentInfo::_internal_transactiontimestamp() const {
+ return _impl_.transactiontimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::transactiontimestamp() const {
+inline uint64_t PaymentInfo::transactiontimestamp() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.transactionTimestamp)
return _internal_transactiontimestamp();
}
-inline void PaymentInfo::_internal_set_transactiontimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000100u;
- transactiontimestamp_ = value;
+inline void PaymentInfo::_internal_set_transactiontimestamp(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ _impl_.transactiontimestamp_ = value;
}
-inline void PaymentInfo::set_transactiontimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void PaymentInfo::set_transactiontimestamp(uint64_t value) {
_internal_set_transactiontimestamp(value);
// @@protoc_insertion_point(field_set:proto.PaymentInfo.transactionTimestamp)
}
// optional .proto.MessageKey requestMessageKey = 6;
inline bool PaymentInfo::_internal_has_requestmessagekey() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || requestmessagekey_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.requestmessagekey_ != nullptr);
return value;
}
inline bool PaymentInfo::has_requestmessagekey() const {
return _internal_has_requestmessagekey();
}
inline void PaymentInfo::clear_requestmessagekey() {
- if (requestmessagekey_ != nullptr) requestmessagekey_->Clear();
- _has_bits_[0] &= ~0x00000004u;
+ if (_impl_.requestmessagekey_ != nullptr) _impl_.requestmessagekey_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const ::proto::MessageKey& PaymentInfo::_internal_requestmessagekey() const {
- const ::proto::MessageKey* p = requestmessagekey_;
+ const ::proto::MessageKey* p = _impl_.requestmessagekey_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageKey&>(
::proto::_MessageKey_default_instance_);
}
@@ -49291,20 +51452,20 @@ inline const ::proto::MessageKey& PaymentInfo::requestmessagekey() const {
inline void PaymentInfo::unsafe_arena_set_allocated_requestmessagekey(
::proto::MessageKey* requestmessagekey) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(requestmessagekey_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.requestmessagekey_);
}
- requestmessagekey_ = requestmessagekey;
+ _impl_.requestmessagekey_ = requestmessagekey;
if (requestmessagekey) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.PaymentInfo.requestMessageKey)
}
inline ::proto::MessageKey* PaymentInfo::release_requestmessagekey() {
- _has_bits_[0] &= ~0x00000004u;
- ::proto::MessageKey* temp = requestmessagekey_;
- requestmessagekey_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::MessageKey* temp = _impl_.requestmessagekey_;
+ _impl_.requestmessagekey_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -49318,18 +51479,18 @@ inline ::proto::MessageKey* PaymentInfo::release_requestmessagekey() {
}
inline ::proto::MessageKey* PaymentInfo::unsafe_arena_release_requestmessagekey() {
// @@protoc_insertion_point(field_release:proto.PaymentInfo.requestMessageKey)
- _has_bits_[0] &= ~0x00000004u;
- ::proto::MessageKey* temp = requestmessagekey_;
- requestmessagekey_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ ::proto::MessageKey* temp = _impl_.requestmessagekey_;
+ _impl_.requestmessagekey_ = nullptr;
return temp;
}
inline ::proto::MessageKey* PaymentInfo::_internal_mutable_requestmessagekey() {
- _has_bits_[0] |= 0x00000004u;
- if (requestmessagekey_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000004u;
+ if (_impl_.requestmessagekey_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
- requestmessagekey_ = p;
+ _impl_.requestmessagekey_ = p;
}
- return requestmessagekey_;
+ return _impl_.requestmessagekey_;
}
inline ::proto::MessageKey* PaymentInfo::mutable_requestmessagekey() {
::proto::MessageKey* _msg = _internal_mutable_requestmessagekey();
@@ -49339,73 +51500,73 @@ inline ::proto::MessageKey* PaymentInfo::mutable_requestmessagekey() {
inline void PaymentInfo::set_allocated_requestmessagekey(::proto::MessageKey* requestmessagekey) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete requestmessagekey_;
+ delete _impl_.requestmessagekey_;
}
if (requestmessagekey) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(requestmessagekey);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(requestmessagekey);
if (message_arena != submessage_arena) {
requestmessagekey = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, requestmessagekey, submessage_arena);
}
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- requestmessagekey_ = requestmessagekey;
+ _impl_.requestmessagekey_ = requestmessagekey;
// @@protoc_insertion_point(field_set_allocated:proto.PaymentInfo.requestMessageKey)
}
// optional uint64 expiryTimestamp = 7;
inline bool PaymentInfo::_internal_has_expirytimestamp() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool PaymentInfo::has_expirytimestamp() const {
return _internal_has_expirytimestamp();
}
inline void PaymentInfo::clear_expirytimestamp() {
- expirytimestamp_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.expirytimestamp_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::_internal_expirytimestamp() const {
- return expirytimestamp_;
+inline uint64_t PaymentInfo::_internal_expirytimestamp() const {
+ return _impl_.expirytimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 PaymentInfo::expirytimestamp() const {
+inline uint64_t PaymentInfo::expirytimestamp() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.expiryTimestamp)
return _internal_expirytimestamp();
}
-inline void PaymentInfo::_internal_set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000200u;
- expirytimestamp_ = value;
+inline void PaymentInfo::_internal_set_expirytimestamp(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.expirytimestamp_ = value;
}
-inline void PaymentInfo::set_expirytimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void PaymentInfo::set_expirytimestamp(uint64_t value) {
_internal_set_expirytimestamp(value);
// @@protoc_insertion_point(field_set:proto.PaymentInfo.expiryTimestamp)
}
// optional bool futureproofed = 8;
inline bool PaymentInfo::_internal_has_futureproofed() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool PaymentInfo::has_futureproofed() const {
return _internal_has_futureproofed();
}
inline void PaymentInfo::clear_futureproofed() {
- futureproofed_ = false;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.futureproofed_ = false;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline bool PaymentInfo::_internal_futureproofed() const {
- return futureproofed_;
+ return _impl_.futureproofed_;
}
inline bool PaymentInfo::futureproofed() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.futureproofed)
return _internal_futureproofed();
}
inline void PaymentInfo::_internal_set_futureproofed(bool value) {
- _has_bits_[0] |= 0x00000400u;
- futureproofed_ = value;
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.futureproofed_ = value;
}
inline void PaymentInfo::set_futureproofed(bool value) {
_internal_set_futureproofed(value);
@@ -49414,15 +51575,15 @@ inline void PaymentInfo::set_futureproofed(bool value) {
// optional string currency = 9;
inline bool PaymentInfo::_internal_has_currency() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PaymentInfo::has_currency() const {
return _internal_has_currency();
}
inline void PaymentInfo::clear_currency() {
- currency_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.currency_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& PaymentInfo::currency() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.currency)
@@ -49431,8 +51592,8 @@ inline const std::string& PaymentInfo::currency() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.currency_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.PaymentInfo.currency)
}
inline std::string* PaymentInfo::mutable_currency() {
@@ -49441,49 +51602,59 @@ inline std::string* PaymentInfo::mutable_currency() {
return _s;
}
inline const std::string& PaymentInfo::_internal_currency() const {
- return currency_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.currency_.Set(value, GetArenaForAllocation());
}
inline std::string* PaymentInfo::_internal_mutable_currency() {
- _has_bits_[0] |= 0x00000002u;
- return currency_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.currency_.Mutable(GetArenaForAllocation());
}
inline std::string* PaymentInfo::release_currency() {
// @@protoc_insertion_point(field_release:proto.PaymentInfo.currency)
if (!_internal_has_currency()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return currency_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.currency_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currency_.IsDefault()) {
+ _impl_.currency_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void PaymentInfo::set_allocated_currency(std::string* currency) {
if (currency != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ }
+ _impl_.currency_.SetAllocated(currency, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.currency_.IsDefault()) {
+ _impl_.currency_.Set("", GetArenaForAllocation());
}
- currency_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), currency,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.PaymentInfo.currency)
}
// optional .proto.PaymentInfo.PaymentInfoTxnStatus txnStatus = 10;
inline bool PaymentInfo::_internal_has_txnstatus() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
return value;
}
inline bool PaymentInfo::has_txnstatus() const {
return _internal_has_txnstatus();
}
inline void PaymentInfo::clear_txnstatus() {
- txnstatus_ = 0;
- _has_bits_[0] &= ~0x00001000u;
+ _impl_.txnstatus_ = 0;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
inline ::proto::PaymentInfo_PaymentInfoTxnStatus PaymentInfo::_internal_txnstatus() const {
- return static_cast< ::proto::PaymentInfo_PaymentInfoTxnStatus >(txnstatus_);
+ return static_cast< ::proto::PaymentInfo_PaymentInfoTxnStatus >(_impl_.txnstatus_);
}
inline ::proto::PaymentInfo_PaymentInfoTxnStatus PaymentInfo::txnstatus() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.txnStatus)
@@ -49491,8 +51662,8 @@ inline ::proto::PaymentInfo_PaymentInfoTxnStatus PaymentInfo::txnstatus() const
}
inline void PaymentInfo::_internal_set_txnstatus(::proto::PaymentInfo_PaymentInfoTxnStatus value) {
assert(::proto::PaymentInfo_PaymentInfoTxnStatus_IsValid(value));
- _has_bits_[0] |= 0x00001000u;
- txnstatus_ = value;
+ _impl_._has_bits_[0] |= 0x00001000u;
+ _impl_.txnstatus_ = value;
}
inline void PaymentInfo::set_txnstatus(::proto::PaymentInfo_PaymentInfoTxnStatus value) {
_internal_set_txnstatus(value);
@@ -49501,26 +51672,26 @@ inline void PaymentInfo::set_txnstatus(::proto::PaymentInfo_PaymentInfoTxnStatus
// optional bool useNoviFiatFormat = 11;
inline bool PaymentInfo::_internal_has_usenovifiatformat() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool PaymentInfo::has_usenovifiatformat() const {
return _internal_has_usenovifiatformat();
}
inline void PaymentInfo::clear_usenovifiatformat() {
- usenovifiatformat_ = false;
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.usenovifiatformat_ = false;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline bool PaymentInfo::_internal_usenovifiatformat() const {
- return usenovifiatformat_;
+ return _impl_.usenovifiatformat_;
}
inline bool PaymentInfo::usenovifiatformat() const {
// @@protoc_insertion_point(field_get:proto.PaymentInfo.useNoviFiatFormat)
return _internal_usenovifiatformat();
}
inline void PaymentInfo::_internal_set_usenovifiatformat(bool value) {
- _has_bits_[0] |= 0x00000800u;
- usenovifiatformat_ = value;
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.usenovifiatformat_ = value;
}
inline void PaymentInfo::set_usenovifiatformat(bool value) {
_internal_set_usenovifiatformat(value);
@@ -49529,19 +51700,19 @@ inline void PaymentInfo::set_usenovifiatformat(bool value) {
// optional .proto.PaymentMoney primaryAmount = 12;
inline bool PaymentInfo::_internal_has_primaryamount() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || primaryamount_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.primaryamount_ != nullptr);
return value;
}
inline bool PaymentInfo::has_primaryamount() const {
return _internal_has_primaryamount();
}
inline void PaymentInfo::clear_primaryamount() {
- if (primaryamount_ != nullptr) primaryamount_->Clear();
- _has_bits_[0] &= ~0x00000008u;
+ if (_impl_.primaryamount_ != nullptr) _impl_.primaryamount_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const ::proto::PaymentMoney& PaymentInfo::_internal_primaryamount() const {
- const ::proto::PaymentMoney* p = primaryamount_;
+ const ::proto::PaymentMoney* p = _impl_.primaryamount_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::PaymentMoney&>(
::proto::_PaymentMoney_default_instance_);
}
@@ -49552,20 +51723,20 @@ inline const ::proto::PaymentMoney& PaymentInfo::primaryamount() const {
inline void PaymentInfo::unsafe_arena_set_allocated_primaryamount(
::proto::PaymentMoney* primaryamount) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(primaryamount_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.primaryamount_);
}
- primaryamount_ = primaryamount;
+ _impl_.primaryamount_ = primaryamount;
if (primaryamount) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.PaymentInfo.primaryAmount)
}
inline ::proto::PaymentMoney* PaymentInfo::release_primaryamount() {
- _has_bits_[0] &= ~0x00000008u;
- ::proto::PaymentMoney* temp = primaryamount_;
- primaryamount_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::PaymentMoney* temp = _impl_.primaryamount_;
+ _impl_.primaryamount_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -49579,18 +51750,18 @@ inline ::proto::PaymentMoney* PaymentInfo::release_primaryamount() {
}
inline ::proto::PaymentMoney* PaymentInfo::unsafe_arena_release_primaryamount() {
// @@protoc_insertion_point(field_release:proto.PaymentInfo.primaryAmount)
- _has_bits_[0] &= ~0x00000008u;
- ::proto::PaymentMoney* temp = primaryamount_;
- primaryamount_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ ::proto::PaymentMoney* temp = _impl_.primaryamount_;
+ _impl_.primaryamount_ = nullptr;
return temp;
}
inline ::proto::PaymentMoney* PaymentInfo::_internal_mutable_primaryamount() {
- _has_bits_[0] |= 0x00000008u;
- if (primaryamount_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000008u;
+ if (_impl_.primaryamount_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArenaForAllocation());
- primaryamount_ = p;
+ _impl_.primaryamount_ = p;
}
- return primaryamount_;
+ return _impl_.primaryamount_;
}
inline ::proto::PaymentMoney* PaymentInfo::mutable_primaryamount() {
::proto::PaymentMoney* _msg = _internal_mutable_primaryamount();
@@ -49600,38 +51771,38 @@ inline ::proto::PaymentMoney* PaymentInfo::mutable_primaryamount() {
inline void PaymentInfo::set_allocated_primaryamount(::proto::PaymentMoney* primaryamount) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete primaryamount_;
+ delete _impl_.primaryamount_;
}
if (primaryamount) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentMoney>::GetOwningArena(primaryamount);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(primaryamount);
if (message_arena != submessage_arena) {
primaryamount = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, primaryamount, submessage_arena);
}
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
- primaryamount_ = primaryamount;
+ _impl_.primaryamount_ = primaryamount;
// @@protoc_insertion_point(field_set_allocated:proto.PaymentInfo.primaryAmount)
}
// optional .proto.PaymentMoney exchangeAmount = 13;
inline bool PaymentInfo::_internal_has_exchangeamount() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- PROTOBUF_ASSUME(!value || exchangeamount_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.exchangeamount_ != nullptr);
return value;
}
inline bool PaymentInfo::has_exchangeamount() const {
return _internal_has_exchangeamount();
}
inline void PaymentInfo::clear_exchangeamount() {
- if (exchangeamount_ != nullptr) exchangeamount_->Clear();
- _has_bits_[0] &= ~0x00000010u;
+ if (_impl_.exchangeamount_ != nullptr) _impl_.exchangeamount_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const ::proto::PaymentMoney& PaymentInfo::_internal_exchangeamount() const {
- const ::proto::PaymentMoney* p = exchangeamount_;
+ const ::proto::PaymentMoney* p = _impl_.exchangeamount_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::PaymentMoney&>(
::proto::_PaymentMoney_default_instance_);
}
@@ -49642,20 +51813,20 @@ inline const ::proto::PaymentMoney& PaymentInfo::exchangeamount() const {
inline void PaymentInfo::unsafe_arena_set_allocated_exchangeamount(
::proto::PaymentMoney* exchangeamount) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(exchangeamount_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.exchangeamount_);
}
- exchangeamount_ = exchangeamount;
+ _impl_.exchangeamount_ = exchangeamount;
if (exchangeamount) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.PaymentInfo.exchangeAmount)
}
inline ::proto::PaymentMoney* PaymentInfo::release_exchangeamount() {
- _has_bits_[0] &= ~0x00000010u;
- ::proto::PaymentMoney* temp = exchangeamount_;
- exchangeamount_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ ::proto::PaymentMoney* temp = _impl_.exchangeamount_;
+ _impl_.exchangeamount_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -49669,18 +51840,18 @@ inline ::proto::PaymentMoney* PaymentInfo::release_exchangeamount() {
}
inline ::proto::PaymentMoney* PaymentInfo::unsafe_arena_release_exchangeamount() {
// @@protoc_insertion_point(field_release:proto.PaymentInfo.exchangeAmount)
- _has_bits_[0] &= ~0x00000010u;
- ::proto::PaymentMoney* temp = exchangeamount_;
- exchangeamount_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ ::proto::PaymentMoney* temp = _impl_.exchangeamount_;
+ _impl_.exchangeamount_ = nullptr;
return temp;
}
inline ::proto::PaymentMoney* PaymentInfo::_internal_mutable_exchangeamount() {
- _has_bits_[0] |= 0x00000010u;
- if (exchangeamount_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000010u;
+ if (_impl_.exchangeamount_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::PaymentMoney>(GetArenaForAllocation());
- exchangeamount_ = p;
+ _impl_.exchangeamount_ = p;
}
- return exchangeamount_;
+ return _impl_.exchangeamount_;
}
inline ::proto::PaymentMoney* PaymentInfo::mutable_exchangeamount() {
::proto::PaymentMoney* _msg = _internal_mutable_exchangeamount();
@@ -49690,20 +51861,20 @@ inline ::proto::PaymentMoney* PaymentInfo::mutable_exchangeamount() {
inline void PaymentInfo::set_allocated_exchangeamount(::proto::PaymentMoney* exchangeamount) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete exchangeamount_;
+ delete _impl_.exchangeamount_;
}
if (exchangeamount) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentMoney>::GetOwningArena(exchangeamount);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(exchangeamount);
if (message_arena != submessage_arena) {
exchangeamount = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, exchangeamount, submessage_arena);
}
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- exchangeamount_ = exchangeamount;
+ _impl_.exchangeamount_ = exchangeamount;
// @@protoc_insertion_point(field_set_allocated:proto.PaymentInfo.exchangeAmount)
}
@@ -49713,19 +51884,19 @@ inline void PaymentInfo::set_allocated_exchangeamount(::proto::PaymentMoney* exc
// required .proto.MessageKey key = 1;
inline bool WebMessageInfo::_internal_has_key() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- PROTOBUF_ASSUME(!value || key_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.key_ != nullptr);
return value;
}
inline bool WebMessageInfo::has_key() const {
return _internal_has_key();
}
inline void WebMessageInfo::clear_key() {
- if (key_ != nullptr) key_->Clear();
- _has_bits_[0] &= ~0x00000010u;
+ if (_impl_.key_ != nullptr) _impl_.key_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
inline const ::proto::MessageKey& WebMessageInfo::_internal_key() const {
- const ::proto::MessageKey* p = key_;
+ const ::proto::MessageKey* p = _impl_.key_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::MessageKey&>(
::proto::_MessageKey_default_instance_);
}
@@ -49736,20 +51907,20 @@ inline const ::proto::MessageKey& WebMessageInfo::key() const {
inline void WebMessageInfo::unsafe_arena_set_allocated_key(
::proto::MessageKey* key) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.key_);
}
- key_ = key;
+ _impl_.key_ = key;
if (key) {
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.WebMessageInfo.key)
}
inline ::proto::MessageKey* WebMessageInfo::release_key() {
- _has_bits_[0] &= ~0x00000010u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -49763,18 +51934,18 @@ inline ::proto::MessageKey* WebMessageInfo::release_key() {
}
inline ::proto::MessageKey* WebMessageInfo::unsafe_arena_release_key() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.key)
- _has_bits_[0] &= ~0x00000010u;
- ::proto::MessageKey* temp = key_;
- key_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000010u;
+ ::proto::MessageKey* temp = _impl_.key_;
+ _impl_.key_ = nullptr;
return temp;
}
inline ::proto::MessageKey* WebMessageInfo::_internal_mutable_key() {
- _has_bits_[0] |= 0x00000010u;
- if (key_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000010u;
+ if (_impl_.key_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::MessageKey>(GetArenaForAllocation());
- key_ = p;
+ _impl_.key_ = p;
}
- return key_;
+ return _impl_.key_;
}
inline ::proto::MessageKey* WebMessageInfo::mutable_key() {
::proto::MessageKey* _msg = _internal_mutable_key();
@@ -49784,38 +51955,38 @@ inline ::proto::MessageKey* WebMessageInfo::mutable_key() {
inline void WebMessageInfo::set_allocated_key(::proto::MessageKey* key) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete key_;
+ delete _impl_.key_;
}
if (key) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::MessageKey>::GetOwningArena(key);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key);
if (message_arena != submessage_arena) {
key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key, submessage_arena);
}
- _has_bits_[0] |= 0x00000010u;
+ _impl_._has_bits_[0] |= 0x00000010u;
} else {
- _has_bits_[0] &= ~0x00000010u;
+ _impl_._has_bits_[0] &= ~0x00000010u;
}
- key_ = key;
+ _impl_.key_ = key;
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.key)
}
// optional .proto.Message message = 2;
inline bool WebMessageInfo::_internal_has_message() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- PROTOBUF_ASSUME(!value || message_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.message_ != nullptr);
return value;
}
inline bool WebMessageInfo::has_message() const {
return _internal_has_message();
}
inline void WebMessageInfo::clear_message() {
- if (message_ != nullptr) message_->Clear();
- _has_bits_[0] &= ~0x00000020u;
+ if (_impl_.message_ != nullptr) _impl_.message_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
inline const ::proto::Message& WebMessageInfo::_internal_message() const {
- const ::proto::Message* p = message_;
+ const ::proto::Message* p = _impl_.message_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::Message&>(
::proto::_Message_default_instance_);
}
@@ -49826,20 +51997,20 @@ inline const ::proto::Message& WebMessageInfo::message() const {
inline void WebMessageInfo::unsafe_arena_set_allocated_message(
::proto::Message* message) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(message_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.message_);
}
- message_ = message;
+ _impl_.message_ = message;
if (message) {
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.WebMessageInfo.message)
}
inline ::proto::Message* WebMessageInfo::release_message() {
- _has_bits_[0] &= ~0x00000020u;
- ::proto::Message* temp = message_;
- message_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::Message* temp = _impl_.message_;
+ _impl_.message_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -49853,18 +52024,18 @@ inline ::proto::Message* WebMessageInfo::release_message() {
}
inline ::proto::Message* WebMessageInfo::unsafe_arena_release_message() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.message)
- _has_bits_[0] &= ~0x00000020u;
- ::proto::Message* temp = message_;
- message_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000020u;
+ ::proto::Message* temp = _impl_.message_;
+ _impl_.message_ = nullptr;
return temp;
}
inline ::proto::Message* WebMessageInfo::_internal_mutable_message() {
- _has_bits_[0] |= 0x00000020u;
- if (message_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000020u;
+ if (_impl_.message_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::Message>(GetArenaForAllocation());
- message_ = p;
+ _impl_.message_ = p;
}
- return message_;
+ return _impl_.message_;
}
inline ::proto::Message* WebMessageInfo::mutable_message() {
::proto::Message* _msg = _internal_mutable_message();
@@ -49874,65 +52045,65 @@ inline ::proto::Message* WebMessageInfo::mutable_message() {
inline void WebMessageInfo::set_allocated_message(::proto::Message* message) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete message_;
+ delete _impl_.message_;
}
if (message) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::Message>::GetOwningArena(message);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(message);
if (message_arena != submessage_arena) {
message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, message, submessage_arena);
}
- _has_bits_[0] |= 0x00000020u;
+ _impl_._has_bits_[0] |= 0x00000020u;
} else {
- _has_bits_[0] &= ~0x00000020u;
+ _impl_._has_bits_[0] &= ~0x00000020u;
}
- message_ = message;
+ _impl_.message_ = message;
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.message)
}
// optional uint64 messageTimestamp = 3;
inline bool WebMessageInfo::_internal_has_messagetimestamp() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool WebMessageInfo::has_messagetimestamp() const {
return _internal_has_messagetimestamp();
}
inline void WebMessageInfo::clear_messagetimestamp() {
- messagetimestamp_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000200u;
+ _impl_.messagetimestamp_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00000200u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 WebMessageInfo::_internal_messagetimestamp() const {
- return messagetimestamp_;
+inline uint64_t WebMessageInfo::_internal_messagetimestamp() const {
+ return _impl_.messagetimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 WebMessageInfo::messagetimestamp() const {
+inline uint64_t WebMessageInfo::messagetimestamp() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.messageTimestamp)
return _internal_messagetimestamp();
}
-inline void WebMessageInfo::_internal_set_messagetimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00000200u;
- messagetimestamp_ = value;
+inline void WebMessageInfo::_internal_set_messagetimestamp(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00000200u;
+ _impl_.messagetimestamp_ = value;
}
-inline void WebMessageInfo::set_messagetimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void WebMessageInfo::set_messagetimestamp(uint64_t value) {
_internal_set_messagetimestamp(value);
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.messageTimestamp)
}
// optional .proto.WebMessageInfo.WebMessageInfoStatus status = 4;
inline bool WebMessageInfo::_internal_has_status() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool WebMessageInfo::has_status() const {
return _internal_has_status();
}
inline void WebMessageInfo::clear_status() {
- status_ = 0;
- _has_bits_[0] &= ~0x00000400u;
+ _impl_.status_ = 0;
+ _impl_._has_bits_[0] &= ~0x00000400u;
}
inline ::proto::WebMessageInfo_WebMessageInfoStatus WebMessageInfo::_internal_status() const {
- return static_cast< ::proto::WebMessageInfo_WebMessageInfoStatus >(status_);
+ return static_cast< ::proto::WebMessageInfo_WebMessageInfoStatus >(_impl_.status_);
}
inline ::proto::WebMessageInfo_WebMessageInfoStatus WebMessageInfo::status() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.status)
@@ -49940,8 +52111,8 @@ inline ::proto::WebMessageInfo_WebMessageInfoStatus WebMessageInfo::status() con
}
inline void WebMessageInfo::_internal_set_status(::proto::WebMessageInfo_WebMessageInfoStatus value) {
assert(::proto::WebMessageInfo_WebMessageInfoStatus_IsValid(value));
- _has_bits_[0] |= 0x00000400u;
- status_ = value;
+ _impl_._has_bits_[0] |= 0x00000400u;
+ _impl_.status_ = value;
}
inline void WebMessageInfo::set_status(::proto::WebMessageInfo_WebMessageInfoStatus value) {
_internal_set_status(value);
@@ -49950,15 +52121,15 @@ inline void WebMessageInfo::set_status(::proto::WebMessageInfo_WebMessageInfoSta
// optional string participant = 5;
inline bool WebMessageInfo::_internal_has_participant() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool WebMessageInfo::has_participant() const {
return _internal_has_participant();
}
inline void WebMessageInfo::clear_participant() {
- participant_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
+ _impl_.participant_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& WebMessageInfo::participant() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.participant)
@@ -49967,8 +52138,8 @@ inline const std::string& WebMessageInfo::participant() const {
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());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.participant_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.participant)
}
inline std::string* WebMessageInfo::mutable_participant() {
@@ -49977,57 +52148,67 @@ inline std::string* WebMessageInfo::mutable_participant() {
return _s;
}
inline const std::string& WebMessageInfo::_internal_participant() const {
- return participant_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.participant_.Set(value, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::_internal_mutable_participant() {
- _has_bits_[0] |= 0x00000001u;
- return participant_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000001u;
+ return _impl_.participant_.Mutable(GetArenaForAllocation());
}
inline std::string* WebMessageInfo::release_participant() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.participant)
if (!_internal_has_participant()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000001u;
- return participant_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000001u;
+ auto* p = _impl_.participant_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.participant_.IsDefault()) {
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void WebMessageInfo::set_allocated_participant(std::string* participant) {
if (participant != nullptr) {
- _has_bits_[0] |= 0x00000001u;
+ _impl_._has_bits_[0] |= 0x00000001u;
} else {
- _has_bits_[0] &= ~0x00000001u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
}
- participant_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), participant,
- GetArenaForAllocation());
+ _impl_.participant_.SetAllocated(participant, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.participant_.IsDefault()) {
+ _impl_.participant_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.participant)
}
// optional bool ignore = 16;
inline bool WebMessageInfo::_internal_has_ignore() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool WebMessageInfo::has_ignore() const {
return _internal_has_ignore();
}
inline void WebMessageInfo::clear_ignore() {
- ignore_ = false;
- _has_bits_[0] &= ~0x00000800u;
+ _impl_.ignore_ = false;
+ _impl_._has_bits_[0] &= ~0x00000800u;
}
inline bool WebMessageInfo::_internal_ignore() const {
- return ignore_;
+ return _impl_.ignore_;
}
inline bool WebMessageInfo::ignore() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.ignore)
return _internal_ignore();
}
inline void WebMessageInfo::_internal_set_ignore(bool value) {
- _has_bits_[0] |= 0x00000800u;
- ignore_ = value;
+ _impl_._has_bits_[0] |= 0x00000800u;
+ _impl_.ignore_ = value;
}
inline void WebMessageInfo::set_ignore(bool value) {
_internal_set_ignore(value);
@@ -50036,26 +52217,26 @@ inline void WebMessageInfo::set_ignore(bool value) {
// optional bool starred = 17;
inline bool WebMessageInfo::_internal_has_starred() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
return value;
}
inline bool WebMessageInfo::has_starred() const {
return _internal_has_starred();
}
inline void WebMessageInfo::clear_starred() {
- starred_ = false;
- _has_bits_[0] &= ~0x00001000u;
+ _impl_.starred_ = false;
+ _impl_._has_bits_[0] &= ~0x00001000u;
}
inline bool WebMessageInfo::_internal_starred() const {
- return starred_;
+ return _impl_.starred_;
}
inline bool WebMessageInfo::starred() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.starred)
return _internal_starred();
}
inline void WebMessageInfo::_internal_set_starred(bool value) {
- _has_bits_[0] |= 0x00001000u;
- starred_ = value;
+ _impl_._has_bits_[0] |= 0x00001000u;
+ _impl_.starred_ = value;
}
inline void WebMessageInfo::set_starred(bool value) {
_internal_set_starred(value);
@@ -50064,26 +52245,26 @@ inline void WebMessageInfo::set_starred(bool value) {
// optional bool broadcast = 18;
inline bool WebMessageInfo::_internal_has_broadcast() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool WebMessageInfo::has_broadcast() const {
return _internal_has_broadcast();
}
inline void WebMessageInfo::clear_broadcast() {
- broadcast_ = false;
- _has_bits_[0] &= ~0x00002000u;
+ _impl_.broadcast_ = false;
+ _impl_._has_bits_[0] &= ~0x00002000u;
}
inline bool WebMessageInfo::_internal_broadcast() const {
- return broadcast_;
+ return _impl_.broadcast_;
}
inline bool WebMessageInfo::broadcast() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.broadcast)
return _internal_broadcast();
}
inline void WebMessageInfo::_internal_set_broadcast(bool value) {
- _has_bits_[0] |= 0x00002000u;
- broadcast_ = value;
+ _impl_._has_bits_[0] |= 0x00002000u;
+ _impl_.broadcast_ = value;
}
inline void WebMessageInfo::set_broadcast(bool value) {
_internal_set_broadcast(value);
@@ -50092,15 +52273,15 @@ inline void WebMessageInfo::set_broadcast(bool value) {
// optional string pushName = 19;
inline bool WebMessageInfo::_internal_has_pushname() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool WebMessageInfo::has_pushname() const {
return _internal_has_pushname();
}
inline void WebMessageInfo::clear_pushname() {
- pushname_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
+ _impl_.pushname_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const std::string& WebMessageInfo::pushname() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.pushName)
@@ -50109,8 +52290,8 @@ inline const std::string& WebMessageInfo::pushname() const {
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());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.pushname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.pushName)
}
inline std::string* WebMessageInfo::mutable_pushname() {
@@ -50119,46 +52300,56 @@ inline std::string* WebMessageInfo::mutable_pushname() {
return _s;
}
inline const std::string& WebMessageInfo::_internal_pushname() const {
- return pushname_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ _impl_.pushname_.Set(value, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::_internal_mutable_pushname() {
- _has_bits_[0] |= 0x00000002u;
- return pushname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000002u;
+ return _impl_.pushname_.Mutable(GetArenaForAllocation());
}
inline std::string* WebMessageInfo::release_pushname() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.pushName)
if (!_internal_has_pushname()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000002u;
- return pushname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000002u;
+ auto* p = _impl_.pushname_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.pushname_.IsDefault()) {
+ _impl_.pushname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void WebMessageInfo::set_allocated_pushname(std::string* pushname) {
if (pushname != nullptr) {
- _has_bits_[0] |= 0x00000002u;
+ _impl_._has_bits_[0] |= 0x00000002u;
} else {
- _has_bits_[0] &= ~0x00000002u;
+ _impl_._has_bits_[0] &= ~0x00000002u;
}
- pushname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), pushname,
- GetArenaForAllocation());
+ _impl_.pushname_.SetAllocated(pushname, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.pushname_.IsDefault()) {
+ _impl_.pushname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.pushName)
}
// optional bytes mediaCiphertextSha256 = 20;
inline bool WebMessageInfo::_internal_has_mediaciphertextsha256() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool WebMessageInfo::has_mediaciphertextsha256() const {
return _internal_has_mediaciphertextsha256();
}
inline void WebMessageInfo::clear_mediaciphertextsha256() {
- mediaciphertextsha256_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
+ _impl_.mediaciphertextsha256_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
inline const std::string& WebMessageInfo::mediaciphertextsha256() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.mediaCiphertextSha256)
@@ -50167,8 +52358,8 @@ inline const std::string& WebMessageInfo::mediaciphertextsha256() const {
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());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.mediaciphertextsha256_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.mediaCiphertextSha256)
}
inline std::string* WebMessageInfo::mutable_mediaciphertextsha256() {
@@ -50177,57 +52368,67 @@ inline std::string* WebMessageInfo::mutable_mediaciphertextsha256() {
return _s;
}
inline const std::string& WebMessageInfo::_internal_mediaciphertextsha256() const {
- return mediaciphertextsha256_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ _impl_.mediaciphertextsha256_.Set(value, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::_internal_mutable_mediaciphertextsha256() {
- _has_bits_[0] |= 0x00000004u;
- return mediaciphertextsha256_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000004u;
+ return _impl_.mediaciphertextsha256_.Mutable(GetArenaForAllocation());
}
inline std::string* WebMessageInfo::release_mediaciphertextsha256() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.mediaCiphertextSha256)
if (!_internal_has_mediaciphertextsha256()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000004u;
- return mediaciphertextsha256_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000004u;
+ auto* p = _impl_.mediaciphertextsha256_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediaciphertextsha256_.IsDefault()) {
+ _impl_.mediaciphertextsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void WebMessageInfo::set_allocated_mediaciphertextsha256(std::string* mediaciphertextsha256) {
if (mediaciphertextsha256 != nullptr) {
- _has_bits_[0] |= 0x00000004u;
+ _impl_._has_bits_[0] |= 0x00000004u;
} else {
- _has_bits_[0] &= ~0x00000004u;
+ _impl_._has_bits_[0] &= ~0x00000004u;
}
- mediaciphertextsha256_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mediaciphertextsha256,
- GetArenaForAllocation());
+ _impl_.mediaciphertextsha256_.SetAllocated(mediaciphertextsha256, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.mediaciphertextsha256_.IsDefault()) {
+ _impl_.mediaciphertextsha256_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.mediaCiphertextSha256)
}
// optional bool multicast = 21;
inline bool WebMessageInfo::_internal_has_multicast() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool WebMessageInfo::has_multicast() const {
return _internal_has_multicast();
}
inline void WebMessageInfo::clear_multicast() {
- multicast_ = false;
- _has_bits_[0] &= ~0x00004000u;
+ _impl_.multicast_ = false;
+ _impl_._has_bits_[0] &= ~0x00004000u;
}
inline bool WebMessageInfo::_internal_multicast() const {
- return multicast_;
+ return _impl_.multicast_;
}
inline bool WebMessageInfo::multicast() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.multicast)
return _internal_multicast();
}
inline void WebMessageInfo::_internal_set_multicast(bool value) {
- _has_bits_[0] |= 0x00004000u;
- multicast_ = value;
+ _impl_._has_bits_[0] |= 0x00004000u;
+ _impl_.multicast_ = value;
}
inline void WebMessageInfo::set_multicast(bool value) {
_internal_set_multicast(value);
@@ -50236,26 +52437,26 @@ inline void WebMessageInfo::set_multicast(bool value) {
// optional bool urlText = 22;
inline bool WebMessageInfo::_internal_has_urltext() const {
- bool value = (_has_bits_[0] & 0x00010000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
return value;
}
inline bool WebMessageInfo::has_urltext() const {
return _internal_has_urltext();
}
inline void WebMessageInfo::clear_urltext() {
- urltext_ = false;
- _has_bits_[0] &= ~0x00010000u;
+ _impl_.urltext_ = false;
+ _impl_._has_bits_[0] &= ~0x00010000u;
}
inline bool WebMessageInfo::_internal_urltext() const {
- return urltext_;
+ return _impl_.urltext_;
}
inline bool WebMessageInfo::urltext() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.urlText)
return _internal_urltext();
}
inline void WebMessageInfo::_internal_set_urltext(bool value) {
- _has_bits_[0] |= 0x00010000u;
- urltext_ = value;
+ _impl_._has_bits_[0] |= 0x00010000u;
+ _impl_.urltext_ = value;
}
inline void WebMessageInfo::set_urltext(bool value) {
_internal_set_urltext(value);
@@ -50264,26 +52465,26 @@ inline void WebMessageInfo::set_urltext(bool value) {
// optional bool urlNumber = 23;
inline bool WebMessageInfo::_internal_has_urlnumber() const {
- bool value = (_has_bits_[0] & 0x00020000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
return value;
}
inline bool WebMessageInfo::has_urlnumber() const {
return _internal_has_urlnumber();
}
inline void WebMessageInfo::clear_urlnumber() {
- urlnumber_ = false;
- _has_bits_[0] &= ~0x00020000u;
+ _impl_.urlnumber_ = false;
+ _impl_._has_bits_[0] &= ~0x00020000u;
}
inline bool WebMessageInfo::_internal_urlnumber() const {
- return urlnumber_;
+ return _impl_.urlnumber_;
}
inline bool WebMessageInfo::urlnumber() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.urlNumber)
return _internal_urlnumber();
}
inline void WebMessageInfo::_internal_set_urlnumber(bool value) {
- _has_bits_[0] |= 0x00020000u;
- urlnumber_ = value;
+ _impl_._has_bits_[0] |= 0x00020000u;
+ _impl_.urlnumber_ = value;
}
inline void WebMessageInfo::set_urlnumber(bool value) {
_internal_set_urlnumber(value);
@@ -50292,18 +52493,18 @@ inline void WebMessageInfo::set_urlnumber(bool value) {
// optional .proto.WebMessageInfo.WebMessageInfoStubType messageStubType = 24;
inline bool WebMessageInfo::_internal_has_messagestubtype() const {
- bool value = (_has_bits_[0] & 0x00008000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
return value;
}
inline bool WebMessageInfo::has_messagestubtype() const {
return _internal_has_messagestubtype();
}
inline void WebMessageInfo::clear_messagestubtype() {
- messagestubtype_ = 0;
- _has_bits_[0] &= ~0x00008000u;
+ _impl_.messagestubtype_ = 0;
+ _impl_._has_bits_[0] &= ~0x00008000u;
}
inline ::proto::WebMessageInfo_WebMessageInfoStubType WebMessageInfo::_internal_messagestubtype() const {
- return static_cast< ::proto::WebMessageInfo_WebMessageInfoStubType >(messagestubtype_);
+ return static_cast< ::proto::WebMessageInfo_WebMessageInfoStubType >(_impl_.messagestubtype_);
}
inline ::proto::WebMessageInfo_WebMessageInfoStubType WebMessageInfo::messagestubtype() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.messageStubType)
@@ -50311,8 +52512,8 @@ inline ::proto::WebMessageInfo_WebMessageInfoStubType WebMessageInfo::messagestu
}
inline void WebMessageInfo::_internal_set_messagestubtype(::proto::WebMessageInfo_WebMessageInfoStubType value) {
assert(::proto::WebMessageInfo_WebMessageInfoStubType_IsValid(value));
- _has_bits_[0] |= 0x00008000u;
- messagestubtype_ = value;
+ _impl_._has_bits_[0] |= 0x00008000u;
+ _impl_.messagestubtype_ = value;
}
inline void WebMessageInfo::set_messagestubtype(::proto::WebMessageInfo_WebMessageInfoStubType value) {
_internal_set_messagestubtype(value);
@@ -50321,26 +52522,26 @@ inline void WebMessageInfo::set_messagestubtype(::proto::WebMessageInfo_WebMessa
// optional bool clearMedia = 25;
inline bool WebMessageInfo::_internal_has_clearmedia() const {
- bool value = (_has_bits_[0] & 0x00040000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
return value;
}
inline bool WebMessageInfo::has_clearmedia() const {
return _internal_has_clearmedia();
}
inline void WebMessageInfo::clear_clearmedia() {
- clearmedia_ = false;
- _has_bits_[0] &= ~0x00040000u;
+ _impl_.clearmedia_ = false;
+ _impl_._has_bits_[0] &= ~0x00040000u;
}
inline bool WebMessageInfo::_internal_clearmedia() const {
- return clearmedia_;
+ return _impl_.clearmedia_;
}
inline bool WebMessageInfo::clearmedia() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.clearMedia)
return _internal_clearmedia();
}
inline void WebMessageInfo::_internal_set_clearmedia(bool value) {
- _has_bits_[0] |= 0x00040000u;
- clearmedia_ = value;
+ _impl_._has_bits_[0] |= 0x00040000u;
+ _impl_.clearmedia_ = value;
}
inline void WebMessageInfo::set_clearmedia(bool value) {
_internal_set_clearmedia(value);
@@ -50349,13 +52550,13 @@ inline void WebMessageInfo::set_clearmedia(bool value) {
// repeated string messageStubParameters = 26;
inline int WebMessageInfo::_internal_messagestubparameters_size() const {
- return messagestubparameters_.size();
+ return _impl_.messagestubparameters_.size();
}
inline int WebMessageInfo::messagestubparameters_size() const {
return _internal_messagestubparameters_size();
}
inline void WebMessageInfo::clear_messagestubparameters() {
- messagestubparameters_.Clear();
+ _impl_.messagestubparameters_.Clear();
}
inline std::string* WebMessageInfo::add_messagestubparameters() {
std::string* _s = _internal_add_messagestubparameters();
@@ -50363,7 +52564,7 @@ inline std::string* WebMessageInfo::add_messagestubparameters() {
return _s;
}
inline const std::string& WebMessageInfo::_internal_messagestubparameters(int index) const {
- return messagestubparameters_.Get(index);
+ return _impl_.messagestubparameters_.Get(index);
}
inline const std::string& WebMessageInfo::messagestubparameters(int index) const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.messageStubParameters)
@@ -50371,94 +52572,94 @@ inline const std::string& WebMessageInfo::messagestubparameters(int index) const
}
inline std::string* WebMessageInfo::mutable_messagestubparameters(int index) {
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.messageStubParameters)
- return messagestubparameters_.Mutable(index);
+ return _impl_.messagestubparameters_.Mutable(index);
}
inline void WebMessageInfo::set_messagestubparameters(int index, const std::string& value) {
- messagestubparameters_.Mutable(index)->assign(value);
+ _impl_.messagestubparameters_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.messageStubParameters)
}
inline void WebMessageInfo::set_messagestubparameters(int index, std::string&& value) {
- messagestubparameters_.Mutable(index)->assign(std::move(value));
+ _impl_.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);
- messagestubparameters_.Mutable(index)->assign(value);
+ _impl_.messagestubparameters_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:proto.WebMessageInfo.messageStubParameters)
}
inline void WebMessageInfo::set_messagestubparameters(int index, const char* value, size_t size) {
- messagestubparameters_.Mutable(index)->assign(
+ _impl_.messagestubparameters_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:proto.WebMessageInfo.messageStubParameters)
}
inline std::string* WebMessageInfo::_internal_add_messagestubparameters() {
- return messagestubparameters_.Add();
+ return _impl_.messagestubparameters_.Add();
}
inline void WebMessageInfo::add_messagestubparameters(const std::string& value) {
- messagestubparameters_.Add()->assign(value);
+ _impl_.messagestubparameters_.Add()->assign(value);
// @@protoc_insertion_point(field_add:proto.WebMessageInfo.messageStubParameters)
}
inline void WebMessageInfo::add_messagestubparameters(std::string&& value) {
- messagestubparameters_.Add(std::move(value));
+ _impl_.messagestubparameters_.Add(std::move(value));
// @@protoc_insertion_point(field_add:proto.WebMessageInfo.messageStubParameters)
}
inline void WebMessageInfo::add_messagestubparameters(const char* value) {
GOOGLE_DCHECK(value != nullptr);
- messagestubparameters_.Add()->assign(value);
+ _impl_.messagestubparameters_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:proto.WebMessageInfo.messageStubParameters)
}
inline void WebMessageInfo::add_messagestubparameters(const char* value, size_t size) {
- messagestubparameters_.Add()->assign(reinterpret_cast<const char*>(value), size);
+ _impl_.messagestubparameters_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:proto.WebMessageInfo.messageStubParameters)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
WebMessageInfo::messagestubparameters() const {
// @@protoc_insertion_point(field_list:proto.WebMessageInfo.messageStubParameters)
- return messagestubparameters_;
+ return _impl_.messagestubparameters_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
WebMessageInfo::mutable_messagestubparameters() {
// @@protoc_insertion_point(field_mutable_list:proto.WebMessageInfo.messageStubParameters)
- return &messagestubparameters_;
+ return &_impl_.messagestubparameters_;
}
// optional uint32 duration = 27;
inline bool WebMessageInfo::_internal_has_duration() const {
- bool value = (_has_bits_[0] & 0x00100000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
return value;
}
inline bool WebMessageInfo::has_duration() const {
return _internal_has_duration();
}
inline void WebMessageInfo::clear_duration() {
- duration_ = 0u;
- _has_bits_[0] &= ~0x00100000u;
+ _impl_.duration_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00100000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 WebMessageInfo::_internal_duration() const {
- return duration_;
+inline uint32_t WebMessageInfo::_internal_duration() const {
+ return _impl_.duration_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 WebMessageInfo::duration() const {
+inline uint32_t WebMessageInfo::duration() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.duration)
return _internal_duration();
}
-inline void WebMessageInfo::_internal_set_duration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00100000u;
- duration_ = value;
+inline void WebMessageInfo::_internal_set_duration(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00100000u;
+ _impl_.duration_ = value;
}
-inline void WebMessageInfo::set_duration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void WebMessageInfo::set_duration(uint32_t value) {
_internal_set_duration(value);
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.duration)
}
// repeated string labels = 28;
inline int WebMessageInfo::_internal_labels_size() const {
- return labels_.size();
+ return _impl_.labels_.size();
}
inline int WebMessageInfo::labels_size() const {
return _internal_labels_size();
}
inline void WebMessageInfo::clear_labels() {
- labels_.Clear();
+ _impl_.labels_.Clear();
}
inline std::string* WebMessageInfo::add_labels() {
std::string* _s = _internal_add_labels();
@@ -50466,7 +52667,7 @@ inline std::string* WebMessageInfo::add_labels() {
return _s;
}
inline const std::string& WebMessageInfo::_internal_labels(int index) const {
- return labels_.Get(index);
+ return _impl_.labels_.Get(index);
}
inline const std::string& WebMessageInfo::labels(int index) const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.labels)
@@ -50474,72 +52675,72 @@ inline const std::string& WebMessageInfo::labels(int index) const {
}
inline std::string* WebMessageInfo::mutable_labels(int index) {
// @@protoc_insertion_point(field_mutable:proto.WebMessageInfo.labels)
- return labels_.Mutable(index);
+ return _impl_.labels_.Mutable(index);
}
inline void WebMessageInfo::set_labels(int index, const std::string& value) {
- labels_.Mutable(index)->assign(value);
+ _impl_.labels_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.labels)
}
inline void WebMessageInfo::set_labels(int index, std::string&& value) {
- labels_.Mutable(index)->assign(std::move(value));
+ _impl_.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);
- labels_.Mutable(index)->assign(value);
+ _impl_.labels_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:proto.WebMessageInfo.labels)
}
inline void WebMessageInfo::set_labels(int index, const char* value, size_t size) {
- labels_.Mutable(index)->assign(
+ _impl_.labels_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:proto.WebMessageInfo.labels)
}
inline std::string* WebMessageInfo::_internal_add_labels() {
- return labels_.Add();
+ return _impl_.labels_.Add();
}
inline void WebMessageInfo::add_labels(const std::string& value) {
- labels_.Add()->assign(value);
+ _impl_.labels_.Add()->assign(value);
// @@protoc_insertion_point(field_add:proto.WebMessageInfo.labels)
}
inline void WebMessageInfo::add_labels(std::string&& value) {
- labels_.Add(std::move(value));
+ _impl_.labels_.Add(std::move(value));
// @@protoc_insertion_point(field_add:proto.WebMessageInfo.labels)
}
inline void WebMessageInfo::add_labels(const char* value) {
GOOGLE_DCHECK(value != nullptr);
- labels_.Add()->assign(value);
+ _impl_.labels_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:proto.WebMessageInfo.labels)
}
inline void WebMessageInfo::add_labels(const char* value, size_t size) {
- labels_.Add()->assign(reinterpret_cast<const char*>(value), size);
+ _impl_.labels_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:proto.WebMessageInfo.labels)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
WebMessageInfo::labels() const {
// @@protoc_insertion_point(field_list:proto.WebMessageInfo.labels)
- return labels_;
+ return _impl_.labels_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
WebMessageInfo::mutable_labels() {
// @@protoc_insertion_point(field_mutable_list:proto.WebMessageInfo.labels)
- return &labels_;
+ return &_impl_.labels_;
}
// optional .proto.PaymentInfo paymentInfo = 29;
inline bool WebMessageInfo::_internal_has_paymentinfo() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- PROTOBUF_ASSUME(!value || paymentinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.paymentinfo_ != nullptr);
return value;
}
inline bool WebMessageInfo::has_paymentinfo() const {
return _internal_has_paymentinfo();
}
inline void WebMessageInfo::clear_paymentinfo() {
- if (paymentinfo_ != nullptr) paymentinfo_->Clear();
- _has_bits_[0] &= ~0x00000040u;
+ if (_impl_.paymentinfo_ != nullptr) _impl_.paymentinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
inline const ::proto::PaymentInfo& WebMessageInfo::_internal_paymentinfo() const {
- const ::proto::PaymentInfo* p = paymentinfo_;
+ const ::proto::PaymentInfo* p = _impl_.paymentinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::PaymentInfo&>(
::proto::_PaymentInfo_default_instance_);
}
@@ -50550,20 +52751,20 @@ inline const ::proto::PaymentInfo& WebMessageInfo::paymentinfo() const {
inline void WebMessageInfo::unsafe_arena_set_allocated_paymentinfo(
::proto::PaymentInfo* paymentinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(paymentinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.paymentinfo_);
}
- paymentinfo_ = paymentinfo;
+ _impl_.paymentinfo_ = paymentinfo;
if (paymentinfo) {
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.WebMessageInfo.paymentInfo)
}
inline ::proto::PaymentInfo* WebMessageInfo::release_paymentinfo() {
- _has_bits_[0] &= ~0x00000040u;
- ::proto::PaymentInfo* temp = paymentinfo_;
- paymentinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::PaymentInfo* temp = _impl_.paymentinfo_;
+ _impl_.paymentinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -50577,18 +52778,18 @@ inline ::proto::PaymentInfo* WebMessageInfo::release_paymentinfo() {
}
inline ::proto::PaymentInfo* WebMessageInfo::unsafe_arena_release_paymentinfo() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.paymentInfo)
- _has_bits_[0] &= ~0x00000040u;
- ::proto::PaymentInfo* temp = paymentinfo_;
- paymentinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000040u;
+ ::proto::PaymentInfo* temp = _impl_.paymentinfo_;
+ _impl_.paymentinfo_ = nullptr;
return temp;
}
inline ::proto::PaymentInfo* WebMessageInfo::_internal_mutable_paymentinfo() {
- _has_bits_[0] |= 0x00000040u;
- if (paymentinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000040u;
+ if (_impl_.paymentinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::PaymentInfo>(GetArenaForAllocation());
- paymentinfo_ = p;
+ _impl_.paymentinfo_ = p;
}
- return paymentinfo_;
+ return _impl_.paymentinfo_;
}
inline ::proto::PaymentInfo* WebMessageInfo::mutable_paymentinfo() {
::proto::PaymentInfo* _msg = _internal_mutable_paymentinfo();
@@ -50598,38 +52799,38 @@ inline ::proto::PaymentInfo* WebMessageInfo::mutable_paymentinfo() {
inline void WebMessageInfo::set_allocated_paymentinfo(::proto::PaymentInfo* paymentinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete paymentinfo_;
+ delete _impl_.paymentinfo_;
}
if (paymentinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentInfo>::GetOwningArena(paymentinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(paymentinfo);
if (message_arena != submessage_arena) {
paymentinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, paymentinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000040u;
+ _impl_._has_bits_[0] |= 0x00000040u;
} else {
- _has_bits_[0] &= ~0x00000040u;
+ _impl_._has_bits_[0] &= ~0x00000040u;
}
- paymentinfo_ = paymentinfo;
+ _impl_.paymentinfo_ = paymentinfo;
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.paymentInfo)
}
// optional .proto.LiveLocationMessage finalLiveLocation = 30;
inline bool WebMessageInfo::_internal_has_finallivelocation() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- PROTOBUF_ASSUME(!value || finallivelocation_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.finallivelocation_ != nullptr);
return value;
}
inline bool WebMessageInfo::has_finallivelocation() const {
return _internal_has_finallivelocation();
}
inline void WebMessageInfo::clear_finallivelocation() {
- if (finallivelocation_ != nullptr) finallivelocation_->Clear();
- _has_bits_[0] &= ~0x00000080u;
+ if (_impl_.finallivelocation_ != nullptr) _impl_.finallivelocation_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
inline const ::proto::LiveLocationMessage& WebMessageInfo::_internal_finallivelocation() const {
- const ::proto::LiveLocationMessage* p = finallivelocation_;
+ const ::proto::LiveLocationMessage* p = _impl_.finallivelocation_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::LiveLocationMessage&>(
::proto::_LiveLocationMessage_default_instance_);
}
@@ -50640,20 +52841,20 @@ inline const ::proto::LiveLocationMessage& WebMessageInfo::finallivelocation() c
inline void WebMessageInfo::unsafe_arena_set_allocated_finallivelocation(
::proto::LiveLocationMessage* finallivelocation) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(finallivelocation_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.finallivelocation_);
}
- finallivelocation_ = finallivelocation;
+ _impl_.finallivelocation_ = finallivelocation;
if (finallivelocation) {
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.WebMessageInfo.finalLiveLocation)
}
inline ::proto::LiveLocationMessage* WebMessageInfo::release_finallivelocation() {
- _has_bits_[0] &= ~0x00000080u;
- ::proto::LiveLocationMessage* temp = finallivelocation_;
- finallivelocation_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::LiveLocationMessage* temp = _impl_.finallivelocation_;
+ _impl_.finallivelocation_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -50667,18 +52868,18 @@ inline ::proto::LiveLocationMessage* WebMessageInfo::release_finallivelocation()
}
inline ::proto::LiveLocationMessage* WebMessageInfo::unsafe_arena_release_finallivelocation() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.finalLiveLocation)
- _has_bits_[0] &= ~0x00000080u;
- ::proto::LiveLocationMessage* temp = finallivelocation_;
- finallivelocation_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000080u;
+ ::proto::LiveLocationMessage* temp = _impl_.finallivelocation_;
+ _impl_.finallivelocation_ = nullptr;
return temp;
}
inline ::proto::LiveLocationMessage* WebMessageInfo::_internal_mutable_finallivelocation() {
- _has_bits_[0] |= 0x00000080u;
- if (finallivelocation_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000080u;
+ if (_impl_.finallivelocation_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::LiveLocationMessage>(GetArenaForAllocation());
- finallivelocation_ = p;
+ _impl_.finallivelocation_ = p;
}
- return finallivelocation_;
+ return _impl_.finallivelocation_;
}
inline ::proto::LiveLocationMessage* WebMessageInfo::mutable_finallivelocation() {
::proto::LiveLocationMessage* _msg = _internal_mutable_finallivelocation();
@@ -50688,38 +52889,38 @@ inline ::proto::LiveLocationMessage* WebMessageInfo::mutable_finallivelocation()
inline void WebMessageInfo::set_allocated_finallivelocation(::proto::LiveLocationMessage* finallivelocation) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete finallivelocation_;
+ delete _impl_.finallivelocation_;
}
if (finallivelocation) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::LiveLocationMessage>::GetOwningArena(finallivelocation);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(finallivelocation);
if (message_arena != submessage_arena) {
finallivelocation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, finallivelocation, submessage_arena);
}
- _has_bits_[0] |= 0x00000080u;
+ _impl_._has_bits_[0] |= 0x00000080u;
} else {
- _has_bits_[0] &= ~0x00000080u;
+ _impl_._has_bits_[0] &= ~0x00000080u;
}
- finallivelocation_ = finallivelocation;
+ _impl_.finallivelocation_ = finallivelocation;
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.finalLiveLocation)
}
// optional .proto.PaymentInfo quotedPaymentInfo = 31;
inline bool WebMessageInfo::_internal_has_quotedpaymentinfo() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
- PROTOBUF_ASSUME(!value || quotedpaymentinfo_ != nullptr);
+ bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
+ PROTOBUF_ASSUME(!value || _impl_.quotedpaymentinfo_ != nullptr);
return value;
}
inline bool WebMessageInfo::has_quotedpaymentinfo() const {
return _internal_has_quotedpaymentinfo();
}
inline void WebMessageInfo::clear_quotedpaymentinfo() {
- if (quotedpaymentinfo_ != nullptr) quotedpaymentinfo_->Clear();
- _has_bits_[0] &= ~0x00000100u;
+ if (_impl_.quotedpaymentinfo_ != nullptr) _impl_.quotedpaymentinfo_->Clear();
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
inline const ::proto::PaymentInfo& WebMessageInfo::_internal_quotedpaymentinfo() const {
- const ::proto::PaymentInfo* p = quotedpaymentinfo_;
+ const ::proto::PaymentInfo* p = _impl_.quotedpaymentinfo_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::PaymentInfo&>(
::proto::_PaymentInfo_default_instance_);
}
@@ -50730,20 +52931,20 @@ inline const ::proto::PaymentInfo& WebMessageInfo::quotedpaymentinfo() const {
inline void WebMessageInfo::unsafe_arena_set_allocated_quotedpaymentinfo(
::proto::PaymentInfo* quotedpaymentinfo) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quotedpaymentinfo_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quotedpaymentinfo_);
}
- quotedpaymentinfo_ = quotedpaymentinfo;
+ _impl_.quotedpaymentinfo_ = quotedpaymentinfo;
if (quotedpaymentinfo) {
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.WebMessageInfo.quotedPaymentInfo)
}
inline ::proto::PaymentInfo* WebMessageInfo::release_quotedpaymentinfo() {
- _has_bits_[0] &= ~0x00000100u;
- ::proto::PaymentInfo* temp = quotedpaymentinfo_;
- quotedpaymentinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ ::proto::PaymentInfo* temp = _impl_.quotedpaymentinfo_;
+ _impl_.quotedpaymentinfo_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -50757,18 +52958,18 @@ inline ::proto::PaymentInfo* WebMessageInfo::release_quotedpaymentinfo() {
}
inline ::proto::PaymentInfo* WebMessageInfo::unsafe_arena_release_quotedpaymentinfo() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.quotedPaymentInfo)
- _has_bits_[0] &= ~0x00000100u;
- ::proto::PaymentInfo* temp = quotedpaymentinfo_;
- quotedpaymentinfo_ = nullptr;
+ _impl_._has_bits_[0] &= ~0x00000100u;
+ ::proto::PaymentInfo* temp = _impl_.quotedpaymentinfo_;
+ _impl_.quotedpaymentinfo_ = nullptr;
return temp;
}
inline ::proto::PaymentInfo* WebMessageInfo::_internal_mutable_quotedpaymentinfo() {
- _has_bits_[0] |= 0x00000100u;
- if (quotedpaymentinfo_ == nullptr) {
+ _impl_._has_bits_[0] |= 0x00000100u;
+ if (_impl_.quotedpaymentinfo_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::PaymentInfo>(GetArenaForAllocation());
- quotedpaymentinfo_ = p;
+ _impl_.quotedpaymentinfo_ = p;
}
- return quotedpaymentinfo_;
+ return _impl_.quotedpaymentinfo_;
}
inline ::proto::PaymentInfo* WebMessageInfo::mutable_quotedpaymentinfo() {
::proto::PaymentInfo* _msg = _internal_mutable_quotedpaymentinfo();
@@ -50778,101 +52979,101 @@ inline ::proto::PaymentInfo* WebMessageInfo::mutable_quotedpaymentinfo() {
inline void WebMessageInfo::set_allocated_quotedpaymentinfo(::proto::PaymentInfo* quotedpaymentinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete quotedpaymentinfo_;
+ delete _impl_.quotedpaymentinfo_;
}
if (quotedpaymentinfo) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::PaymentInfo>::GetOwningArena(quotedpaymentinfo);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(quotedpaymentinfo);
if (message_arena != submessage_arena) {
quotedpaymentinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, quotedpaymentinfo, submessage_arena);
}
- _has_bits_[0] |= 0x00000100u;
+ _impl_._has_bits_[0] |= 0x00000100u;
} else {
- _has_bits_[0] &= ~0x00000100u;
+ _impl_._has_bits_[0] &= ~0x00000100u;
}
- quotedpaymentinfo_ = quotedpaymentinfo;
+ _impl_.quotedpaymentinfo_ = quotedpaymentinfo;
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.quotedPaymentInfo)
}
// optional uint64 ephemeralStartTimestamp = 32;
inline bool WebMessageInfo::_internal_has_ephemeralstarttimestamp() const {
- bool value = (_has_bits_[0] & 0x00400000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
return value;
}
inline bool WebMessageInfo::has_ephemeralstarttimestamp() const {
return _internal_has_ephemeralstarttimestamp();
}
inline void WebMessageInfo::clear_ephemeralstarttimestamp() {
- ephemeralstarttimestamp_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00400000u;
+ _impl_.ephemeralstarttimestamp_ = uint64_t{0u};
+ _impl_._has_bits_[0] &= ~0x00400000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 WebMessageInfo::_internal_ephemeralstarttimestamp() const {
- return ephemeralstarttimestamp_;
+inline uint64_t WebMessageInfo::_internal_ephemeralstarttimestamp() const {
+ return _impl_.ephemeralstarttimestamp_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint64 WebMessageInfo::ephemeralstarttimestamp() const {
+inline uint64_t WebMessageInfo::ephemeralstarttimestamp() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.ephemeralStartTimestamp)
return _internal_ephemeralstarttimestamp();
}
-inline void WebMessageInfo::_internal_set_ephemeralstarttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
- _has_bits_[0] |= 0x00400000u;
- ephemeralstarttimestamp_ = value;
+inline void WebMessageInfo::_internal_set_ephemeralstarttimestamp(uint64_t value) {
+ _impl_._has_bits_[0] |= 0x00400000u;
+ _impl_.ephemeralstarttimestamp_ = value;
}
-inline void WebMessageInfo::set_ephemeralstarttimestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
+inline void WebMessageInfo::set_ephemeralstarttimestamp(uint64_t value) {
_internal_set_ephemeralstarttimestamp(value);
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.ephemeralStartTimestamp)
}
// optional uint32 ephemeralDuration = 33;
inline bool WebMessageInfo::_internal_has_ephemeralduration() const {
- bool value = (_has_bits_[0] & 0x00200000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
return value;
}
inline bool WebMessageInfo::has_ephemeralduration() const {
return _internal_has_ephemeralduration();
}
inline void WebMessageInfo::clear_ephemeralduration() {
- ephemeralduration_ = 0u;
- _has_bits_[0] &= ~0x00200000u;
+ _impl_.ephemeralduration_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00200000u;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 WebMessageInfo::_internal_ephemeralduration() const {
- return ephemeralduration_;
+inline uint32_t WebMessageInfo::_internal_ephemeralduration() const {
+ return _impl_.ephemeralduration_;
}
-inline ::PROTOBUF_NAMESPACE_ID::uint32 WebMessageInfo::ephemeralduration() const {
+inline uint32_t WebMessageInfo::ephemeralduration() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.ephemeralDuration)
return _internal_ephemeralduration();
}
-inline void WebMessageInfo::_internal_set_ephemeralduration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
- _has_bits_[0] |= 0x00200000u;
- ephemeralduration_ = value;
+inline void WebMessageInfo::_internal_set_ephemeralduration(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00200000u;
+ _impl_.ephemeralduration_ = value;
}
-inline void WebMessageInfo::set_ephemeralduration(::PROTOBUF_NAMESPACE_ID::uint32 value) {
+inline void WebMessageInfo::set_ephemeralduration(uint32_t value) {
_internal_set_ephemeralduration(value);
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.ephemeralDuration)
}
// optional bool ephemeralOffToOn = 34;
inline bool WebMessageInfo::_internal_has_ephemeralofftoon() const {
- bool value = (_has_bits_[0] & 0x00080000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
return value;
}
inline bool WebMessageInfo::has_ephemeralofftoon() const {
return _internal_has_ephemeralofftoon();
}
inline void WebMessageInfo::clear_ephemeralofftoon() {
- ephemeralofftoon_ = false;
- _has_bits_[0] &= ~0x00080000u;
+ _impl_.ephemeralofftoon_ = false;
+ _impl_._has_bits_[0] &= ~0x00080000u;
}
inline bool WebMessageInfo::_internal_ephemeralofftoon() const {
- return ephemeralofftoon_;
+ return _impl_.ephemeralofftoon_;
}
inline bool WebMessageInfo::ephemeralofftoon() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.ephemeralOffToOn)
return _internal_ephemeralofftoon();
}
inline void WebMessageInfo::_internal_set_ephemeralofftoon(bool value) {
- _has_bits_[0] |= 0x00080000u;
- ephemeralofftoon_ = value;
+ _impl_._has_bits_[0] |= 0x00080000u;
+ _impl_.ephemeralofftoon_ = value;
}
inline void WebMessageInfo::set_ephemeralofftoon(bool value) {
_internal_set_ephemeralofftoon(value);
@@ -50881,26 +53082,26 @@ inline void WebMessageInfo::set_ephemeralofftoon(bool value) {
// optional bool ephemeralOutOfSync = 35;
inline bool WebMessageInfo::_internal_has_ephemeraloutofsync() const {
- bool value = (_has_bits_[0] & 0x00800000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
return value;
}
inline bool WebMessageInfo::has_ephemeraloutofsync() const {
return _internal_has_ephemeraloutofsync();
}
inline void WebMessageInfo::clear_ephemeraloutofsync() {
- ephemeraloutofsync_ = false;
- _has_bits_[0] &= ~0x00800000u;
+ _impl_.ephemeraloutofsync_ = false;
+ _impl_._has_bits_[0] &= ~0x00800000u;
}
inline bool WebMessageInfo::_internal_ephemeraloutofsync() const {
- return ephemeraloutofsync_;
+ return _impl_.ephemeraloutofsync_;
}
inline bool WebMessageInfo::ephemeraloutofsync() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.ephemeralOutOfSync)
return _internal_ephemeraloutofsync();
}
inline void WebMessageInfo::_internal_set_ephemeraloutofsync(bool value) {
- _has_bits_[0] |= 0x00800000u;
- ephemeraloutofsync_ = value;
+ _impl_._has_bits_[0] |= 0x00800000u;
+ _impl_.ephemeraloutofsync_ = value;
}
inline void WebMessageInfo::set_ephemeraloutofsync(bool value) {
_internal_set_ephemeraloutofsync(value);
@@ -50909,18 +53110,18 @@ inline void WebMessageInfo::set_ephemeraloutofsync(bool value) {
// optional .proto.WebMessageInfo.WebMessageInfoBizPrivacyStatus bizPrivacyStatus = 36;
inline bool WebMessageInfo::_internal_has_bizprivacystatus() const {
- bool value = (_has_bits_[0] & 0x01000000u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
return value;
}
inline bool WebMessageInfo::has_bizprivacystatus() const {
return _internal_has_bizprivacystatus();
}
inline void WebMessageInfo::clear_bizprivacystatus() {
- bizprivacystatus_ = 0;
- _has_bits_[0] &= ~0x01000000u;
+ _impl_.bizprivacystatus_ = 0;
+ _impl_._has_bits_[0] &= ~0x01000000u;
}
inline ::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::_internal_bizprivacystatus() const {
- return static_cast< ::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus >(bizprivacystatus_);
+ return static_cast< ::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus >(_impl_.bizprivacystatus_);
}
inline ::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::bizprivacystatus() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.bizPrivacyStatus)
@@ -50928,8 +53129,8 @@ inline ::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus WebMessageInfo::bi
}
inline void WebMessageInfo::_internal_set_bizprivacystatus(::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus value) {
assert(::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus_IsValid(value));
- _has_bits_[0] |= 0x01000000u;
- bizprivacystatus_ = value;
+ _impl_._has_bits_[0] |= 0x01000000u;
+ _impl_.bizprivacystatus_ = value;
}
inline void WebMessageInfo::set_bizprivacystatus(::proto::WebMessageInfo_WebMessageInfoBizPrivacyStatus value) {
_internal_set_bizprivacystatus(value);
@@ -50938,15 +53139,15 @@ inline void WebMessageInfo::set_bizprivacystatus(::proto::WebMessageInfo_WebMess
// optional string verifiedBizName = 37;
inline bool WebMessageInfo::_internal_has_verifiedbizname() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
+ bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool WebMessageInfo::has_verifiedbizname() const {
return _internal_has_verifiedbizname();
}
inline void WebMessageInfo::clear_verifiedbizname() {
- verifiedbizname_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
+ _impl_.verifiedbizname_.ClearToEmpty();
+ _impl_._has_bits_[0] &= ~0x00000008u;
}
inline const std::string& WebMessageInfo::verifiedbizname() const {
// @@protoc_insertion_point(field_get:proto.WebMessageInfo.verifiedBizName)
@@ -50955,8 +53156,8 @@ inline const std::string& WebMessageInfo::verifiedbizname() const {
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());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.verifiedbizname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.WebMessageInfo.verifiedBizName)
}
inline std::string* WebMessageInfo::mutable_verifiedbizname() {
@@ -50965,32 +53166,42 @@ inline std::string* WebMessageInfo::mutable_verifiedbizname() {
return _s;
}
inline const std::string& WebMessageInfo::_internal_verifiedbizname() const {
- return verifiedbizname_.Get();
+ return _impl_.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, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ _impl_.verifiedbizname_.Set(value, GetArenaForAllocation());
}
inline std::string* WebMessageInfo::_internal_mutable_verifiedbizname() {
- _has_bits_[0] |= 0x00000008u;
- return verifiedbizname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ _impl_._has_bits_[0] |= 0x00000008u;
+ return _impl_.verifiedbizname_.Mutable(GetArenaForAllocation());
}
inline std::string* WebMessageInfo::release_verifiedbizname() {
// @@protoc_insertion_point(field_release:proto.WebMessageInfo.verifiedBizName)
if (!_internal_has_verifiedbizname()) {
return nullptr;
}
- _has_bits_[0] &= ~0x00000008u;
- return verifiedbizname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ auto* p = _impl_.verifiedbizname_.Release();
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.verifiedbizname_.IsDefault()) {
+ _impl_.verifiedbizname_.Set("", GetArenaForAllocation());
+ }
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ return p;
}
inline void WebMessageInfo::set_allocated_verifiedbizname(std::string* verifiedbizname) {
if (verifiedbizname != nullptr) {
- _has_bits_[0] |= 0x00000008u;
+ _impl_._has_bits_[0] |= 0x00000008u;
} else {
- _has_bits_[0] &= ~0x00000008u;
+ _impl_._has_bits_[0] &= ~0x00000008u;
+ }
+ _impl_.verifiedbizname_.SetAllocated(verifiedbizname, GetArenaForAllocation());
+#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (_impl_.verifiedbizname_.IsDefault()) {
+ _impl_.verifiedbizname_.Set("", GetArenaForAllocation());
}
- verifiedbizname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), verifiedbizname,
- GetArenaForAllocation());
+#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.WebMessageInfo.verifiedBizName)
}
diff --git a/protocols/WhatsAppWeb/src/server.cpp b/protocols/WhatsAppWeb/src/server.cpp
index 885d48f545..d386281f5b 100644
--- a/protocols/WhatsAppWeb/src/server.cpp
+++ b/protocols/WhatsAppWeb/src/server.cpp
@@ -688,7 +688,7 @@ void WhatsAppProto::ProcessBlocked(const JSONNode &node)
for (auto &it : node["blocklist"]) {
auto *pUser = AddUser(it.as_string().c_str(), false);
Ignore_Ignore(pUser->hContact, IGNOREEVENT_ALL);
- Contact_Hide(pUser->hContact);
+ Contact::Hide(pUser->hContact);
}
}
diff --git a/protocols/WhatsAppWeb/src/utils.cpp b/protocols/WhatsAppWeb/src/utils.cpp
index 4300256cf7..98bb9b2b3f 100644
--- a/protocols/WhatsAppWeb/src/utils.cpp
+++ b/protocols/WhatsAppWeb/src/utils.cpp
@@ -26,7 +26,7 @@ WAUser* WhatsAppProto::AddUser(const char *szId, bool bTemporary)
setString(hContact, DBKEY_ID, szId);
pUser = new WAUser(hContact, mir_strdup(szId));
if (bTemporary)
- Contact_RemoveFromList(hContact);
+ Contact::RemoveFromList(hContact);
if (m_wszDefaultGroup)
Clist_SetGroup(hContact, m_wszDefaultGroup);