notify_message.pb.cc 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: notify_message.proto
  3. #include "notify_message.pb.h"
  4. #include <algorithm>
  5. #include <google/protobuf/io/coded_stream.h>
  6. #include <google/protobuf/extension_set.h>
  7. #include <google/protobuf/wire_format_lite.h>
  8. #include <google/protobuf/descriptor.h>
  9. #include <google/protobuf/generated_message_reflection.h>
  10. #include <google/protobuf/reflection_ops.h>
  11. #include <google/protobuf/wire_format.h>
  12. // @@protoc_insertion_point(includes)
  13. #include <google/protobuf/port_def.inc>
  14. extern PROTOBUF_INTERNAL_EXPORT_message_5fbase_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Base_info_message_5fbase_2eproto;
  15. extern PROTOBUF_INTERNAL_EXPORT_message_5fbase_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Car_info_message_5fbase_2eproto;
  16. extern PROTOBUF_INTERNAL_EXPORT_message_5fbase_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Error_manager_message_5fbase_2eproto;
  17. namespace message {
  18. class Notify_request_msgDefaultTypeInternal {
  19. public:
  20. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Notify_request_msg> _instance;
  21. } _Notify_request_msg_default_instance_;
  22. class Notify_response_msgDefaultTypeInternal {
  23. public:
  24. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Notify_response_msg> _instance;
  25. } _Notify_response_msg_default_instance_;
  26. class Notify_status_msgDefaultTypeInternal {
  27. public:
  28. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Notify_status_msg> _instance;
  29. } _Notify_status_msg_default_instance_;
  30. } // namespace message
  31. static void InitDefaultsscc_info_Notify_request_msg_notify_5fmessage_2eproto() {
  32. GOOGLE_PROTOBUF_VERIFY_VERSION;
  33. {
  34. void* ptr = &::message::_Notify_request_msg_default_instance_;
  35. new (ptr) ::message::Notify_request_msg();
  36. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  37. }
  38. ::message::Notify_request_msg::InitAsDefaultInstance();
  39. }
  40. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_Notify_request_msg_notify_5fmessage_2eproto =
  41. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_Notify_request_msg_notify_5fmessage_2eproto}, {
  42. &scc_info_Base_info_message_5fbase_2eproto.base,
  43. &scc_info_Car_info_message_5fbase_2eproto.base,}};
  44. static void InitDefaultsscc_info_Notify_response_msg_notify_5fmessage_2eproto() {
  45. GOOGLE_PROTOBUF_VERIFY_VERSION;
  46. {
  47. void* ptr = &::message::_Notify_response_msg_default_instance_;
  48. new (ptr) ::message::Notify_response_msg();
  49. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  50. }
  51. ::message::Notify_response_msg::InitAsDefaultInstance();
  52. }
  53. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_Notify_response_msg_notify_5fmessage_2eproto =
  54. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_Notify_response_msg_notify_5fmessage_2eproto}, {
  55. &scc_info_Base_info_message_5fbase_2eproto.base,
  56. &scc_info_Error_manager_message_5fbase_2eproto.base,}};
  57. static void InitDefaultsscc_info_Notify_status_msg_notify_5fmessage_2eproto() {
  58. GOOGLE_PROTOBUF_VERIFY_VERSION;
  59. {
  60. void* ptr = &::message::_Notify_status_msg_default_instance_;
  61. new (ptr) ::message::Notify_status_msg();
  62. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  63. }
  64. ::message::Notify_status_msg::InitAsDefaultInstance();
  65. }
  66. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_Notify_status_msg_notify_5fmessage_2eproto =
  67. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_Notify_status_msg_notify_5fmessage_2eproto}, {
  68. &scc_info_Base_info_message_5fbase_2eproto.base,
  69. &scc_info_Error_manager_message_5fbase_2eproto.base,}};
  70. static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_notify_5fmessage_2eproto[3];
  71. static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_notify_5fmessage_2eproto = nullptr;
  72. static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_notify_5fmessage_2eproto = nullptr;
  73. const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_notify_5fmessage_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  74. PROTOBUF_FIELD_OFFSET(::message::Notify_request_msg, _has_bits_),
  75. PROTOBUF_FIELD_OFFSET(::message::Notify_request_msg, _internal_metadata_),
  76. ~0u, // no _extensions_
  77. ~0u, // no _oneof_case_
  78. ~0u, // no _weak_field_map_
  79. PROTOBUF_FIELD_OFFSET(::message::Notify_request_msg, base_info_),
  80. PROTOBUF_FIELD_OFFSET(::message::Notify_request_msg, command_key_),
  81. PROTOBUF_FIELD_OFFSET(::message::Notify_request_msg, terminal_id_),
  82. PROTOBUF_FIELD_OFFSET(::message::Notify_request_msg, car_info_),
  83. 1,
  84. 0,
  85. 3,
  86. 2,
  87. PROTOBUF_FIELD_OFFSET(::message::Notify_response_msg, _has_bits_),
  88. PROTOBUF_FIELD_OFFSET(::message::Notify_response_msg, _internal_metadata_),
  89. ~0u, // no _extensions_
  90. ~0u, // no _oneof_case_
  91. ~0u, // no _weak_field_map_
  92. PROTOBUF_FIELD_OFFSET(::message::Notify_response_msg, base_info_),
  93. PROTOBUF_FIELD_OFFSET(::message::Notify_response_msg, command_key_),
  94. PROTOBUF_FIELD_OFFSET(::message::Notify_response_msg, terminal_id_),
  95. PROTOBUF_FIELD_OFFSET(::message::Notify_response_msg, code_),
  96. 1,
  97. 0,
  98. 3,
  99. 2,
  100. PROTOBUF_FIELD_OFFSET(::message::Notify_status_msg, _has_bits_),
  101. PROTOBUF_FIELD_OFFSET(::message::Notify_status_msg, _internal_metadata_),
  102. ~0u, // no _extensions_
  103. ~0u, // no _oneof_case_
  104. ~0u, // no _weak_field_map_
  105. PROTOBUF_FIELD_OFFSET(::message::Notify_status_msg, base_info_),
  106. PROTOBUF_FIELD_OFFSET(::message::Notify_status_msg, terminal_id_),
  107. PROTOBUF_FIELD_OFFSET(::message::Notify_status_msg, error_manager_),
  108. 0,
  109. 2,
  110. 1,
  111. };
  112. static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  113. { 0, 9, sizeof(::message::Notify_request_msg)},
  114. { 13, 22, sizeof(::message::Notify_response_msg)},
  115. { 26, 34, sizeof(::message::Notify_status_msg)},
  116. };
  117. static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
  118. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::message::_Notify_request_msg_default_instance_),
  119. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::message::_Notify_response_msg_default_instance_),
  120. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::message::_Notify_status_msg_default_instance_),
  121. };
  122. const char descriptor_table_protodef_notify_5fmessage_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  123. "\n\024notify_message.proto\022\007message\032\022message"
  124. "_base.proto\"\212\001\n\022Notify_request_msg\022%\n\tba"
  125. "se_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013com"
  126. "mand_key\030\002 \002(\t\022\023\n\013terminal_id\030\003 \002(\005\022#\n\010c"
  127. "ar_info\030\004 \002(\0132\021.message.Car_info\"\214\001\n\023Not"
  128. "ify_response_msg\022%\n\tbase_info\030\001 \002(\0132\022.me"
  129. "ssage.Base_info\022\023\n\013command_key\030\002 \002(\t\022\023\n\013"
  130. "terminal_id\030\003 \002(\005\022$\n\004code\030\004 \002(\0132\026.messag"
  131. "e.Error_manager\"~\n\021Notify_status_msg\022%\n\t"
  132. "base_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013t"
  133. "erminal_id\030\002 \002(\005\022-\n\rerror_manager\030\003 \002(\0132"
  134. "\026.message.Error_manager"
  135. ;
  136. static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_notify_5fmessage_2eproto_deps[1] = {
  137. &::descriptor_table_message_5fbase_2eproto,
  138. };
  139. static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_notify_5fmessage_2eproto_sccs[3] = {
  140. &scc_info_Notify_request_msg_notify_5fmessage_2eproto.base,
  141. &scc_info_Notify_response_msg_notify_5fmessage_2eproto.base,
  142. &scc_info_Notify_status_msg_notify_5fmessage_2eproto.base,
  143. };
  144. static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_notify_5fmessage_2eproto_once;
  145. const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_notify_5fmessage_2eproto = {
  146. false, false, descriptor_table_protodef_notify_5fmessage_2eproto, "notify_message.proto", 463,
  147. &descriptor_table_notify_5fmessage_2eproto_once, descriptor_table_notify_5fmessage_2eproto_sccs, descriptor_table_notify_5fmessage_2eproto_deps, 3, 1,
  148. schemas, file_default_instances, TableStruct_notify_5fmessage_2eproto::offsets,
  149. file_level_metadata_notify_5fmessage_2eproto, 3, file_level_enum_descriptors_notify_5fmessage_2eproto, file_level_service_descriptors_notify_5fmessage_2eproto,
  150. };
  151. // Force running AddDescriptors() at dynamic initialization time.
  152. static bool dynamic_init_dummy_notify_5fmessage_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_notify_5fmessage_2eproto)), true);
  153. namespace message {
  154. // ===================================================================
  155. void Notify_request_msg::InitAsDefaultInstance() {
  156. ::message::_Notify_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  157. ::message::Base_info::internal_default_instance());
  158. ::message::_Notify_request_msg_default_instance_._instance.get_mutable()->car_info_ = const_cast< ::message::Car_info*>(
  159. ::message::Car_info::internal_default_instance());
  160. }
  161. class Notify_request_msg::_Internal {
  162. public:
  163. using HasBits = decltype(std::declval<Notify_request_msg>()._has_bits_);
  164. static const ::message::Base_info& base_info(const Notify_request_msg* msg);
  165. static void set_has_base_info(HasBits* has_bits) {
  166. (*has_bits)[0] |= 2u;
  167. }
  168. static void set_has_command_key(HasBits* has_bits) {
  169. (*has_bits)[0] |= 1u;
  170. }
  171. static void set_has_terminal_id(HasBits* has_bits) {
  172. (*has_bits)[0] |= 8u;
  173. }
  174. static const ::message::Car_info& car_info(const Notify_request_msg* msg);
  175. static void set_has_car_info(HasBits* has_bits) {
  176. (*has_bits)[0] |= 4u;
  177. }
  178. static bool MissingRequiredFields(const HasBits& has_bits) {
  179. return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0;
  180. }
  181. };
  182. const ::message::Base_info&
  183. Notify_request_msg::_Internal::base_info(const Notify_request_msg* msg) {
  184. return *msg->base_info_;
  185. }
  186. const ::message::Car_info&
  187. Notify_request_msg::_Internal::car_info(const Notify_request_msg* msg) {
  188. return *msg->car_info_;
  189. }
  190. void Notify_request_msg::clear_base_info() {
  191. if (base_info_ != nullptr) base_info_->Clear();
  192. _has_bits_[0] &= ~0x00000002u;
  193. }
  194. void Notify_request_msg::clear_car_info() {
  195. if (car_info_ != nullptr) car_info_->Clear();
  196. _has_bits_[0] &= ~0x00000004u;
  197. }
  198. Notify_request_msg::Notify_request_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  199. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  200. SharedCtor();
  201. RegisterArenaDtor(arena);
  202. // @@protoc_insertion_point(arena_constructor:message.Notify_request_msg)
  203. }
  204. Notify_request_msg::Notify_request_msg(const Notify_request_msg& from)
  205. : ::PROTOBUF_NAMESPACE_ID::Message(),
  206. _has_bits_(from._has_bits_) {
  207. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  208. command_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  209. if (from._internal_has_command_key()) {
  210. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_command_key(),
  211. GetArena());
  212. }
  213. if (from._internal_has_base_info()) {
  214. base_info_ = new ::message::Base_info(*from.base_info_);
  215. } else {
  216. base_info_ = nullptr;
  217. }
  218. if (from._internal_has_car_info()) {
  219. car_info_ = new ::message::Car_info(*from.car_info_);
  220. } else {
  221. car_info_ = nullptr;
  222. }
  223. terminal_id_ = from.terminal_id_;
  224. // @@protoc_insertion_point(copy_constructor:message.Notify_request_msg)
  225. }
  226. void Notify_request_msg::SharedCtor() {
  227. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Notify_request_msg_notify_5fmessage_2eproto.base);
  228. command_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  229. ::memset(&base_info_, 0, static_cast<size_t>(
  230. reinterpret_cast<char*>(&terminal_id_) -
  231. reinterpret_cast<char*>(&base_info_)) + sizeof(terminal_id_));
  232. }
  233. Notify_request_msg::~Notify_request_msg() {
  234. // @@protoc_insertion_point(destructor:message.Notify_request_msg)
  235. SharedDtor();
  236. _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  237. }
  238. void Notify_request_msg::SharedDtor() {
  239. GOOGLE_DCHECK(GetArena() == nullptr);
  240. command_key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  241. if (this != internal_default_instance()) delete base_info_;
  242. if (this != internal_default_instance()) delete car_info_;
  243. }
  244. void Notify_request_msg::ArenaDtor(void* object) {
  245. Notify_request_msg* _this = reinterpret_cast< Notify_request_msg* >(object);
  246. (void)_this;
  247. }
  248. void Notify_request_msg::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
  249. }
  250. void Notify_request_msg::SetCachedSize(int size) const {
  251. _cached_size_.Set(size);
  252. }
  253. const Notify_request_msg& Notify_request_msg::default_instance() {
  254. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Notify_request_msg_notify_5fmessage_2eproto.base);
  255. return *internal_default_instance();
  256. }
  257. void Notify_request_msg::Clear() {
  258. // @@protoc_insertion_point(message_clear_start:message.Notify_request_msg)
  259. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  260. // Prevent compiler warnings about cached_has_bits being unused
  261. (void) cached_has_bits;
  262. cached_has_bits = _has_bits_[0];
  263. if (cached_has_bits & 0x00000007u) {
  264. if (cached_has_bits & 0x00000001u) {
  265. command_key_.ClearNonDefaultToEmpty();
  266. }
  267. if (cached_has_bits & 0x00000002u) {
  268. GOOGLE_DCHECK(base_info_ != nullptr);
  269. base_info_->Clear();
  270. }
  271. if (cached_has_bits & 0x00000004u) {
  272. GOOGLE_DCHECK(car_info_ != nullptr);
  273. car_info_->Clear();
  274. }
  275. }
  276. terminal_id_ = 0;
  277. _has_bits_.Clear();
  278. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  279. }
  280. const char* Notify_request_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  281. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  282. _Internal::HasBits has_bits{};
  283. ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  284. while (!ctx->Done(&ptr)) {
  285. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  286. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  287. CHK_(ptr);
  288. switch (tag >> 3) {
  289. // required .message.Base_info base_info = 1;
  290. case 1:
  291. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  292. ptr = ctx->ParseMessage(_internal_mutable_base_info(), ptr);
  293. CHK_(ptr);
  294. } else goto handle_unusual;
  295. continue;
  296. // required string command_key = 2;
  297. case 2:
  298. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
  299. auto str = _internal_mutable_command_key();
  300. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
  301. #ifndef NDEBUG
  302. ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "message.Notify_request_msg.command_key");
  303. #endif // !NDEBUG
  304. CHK_(ptr);
  305. } else goto handle_unusual;
  306. continue;
  307. // required int32 terminal_id = 3;
  308. case 3:
  309. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  310. _Internal::set_has_terminal_id(&has_bits);
  311. terminal_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  312. CHK_(ptr);
  313. } else goto handle_unusual;
  314. continue;
  315. // required .message.Car_info car_info = 4;
  316. case 4:
  317. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
  318. ptr = ctx->ParseMessage(_internal_mutable_car_info(), ptr);
  319. CHK_(ptr);
  320. } else goto handle_unusual;
  321. continue;
  322. default: {
  323. handle_unusual:
  324. if ((tag & 7) == 4 || tag == 0) {
  325. ctx->SetLastTag(tag);
  326. goto success;
  327. }
  328. ptr = UnknownFieldParse(tag,
  329. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  330. ptr, ctx);
  331. CHK_(ptr != nullptr);
  332. continue;
  333. }
  334. } // switch
  335. } // while
  336. success:
  337. _has_bits_.Or(has_bits);
  338. return ptr;
  339. failure:
  340. ptr = nullptr;
  341. goto success;
  342. #undef CHK_
  343. }
  344. ::PROTOBUF_NAMESPACE_ID::uint8* Notify_request_msg::_InternalSerialize(
  345. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  346. // @@protoc_insertion_point(serialize_to_array_start:message.Notify_request_msg)
  347. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  348. (void) cached_has_bits;
  349. cached_has_bits = _has_bits_[0];
  350. // required .message.Base_info base_info = 1;
  351. if (cached_has_bits & 0x00000002u) {
  352. target = stream->EnsureSpace(target);
  353. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  354. InternalWriteMessage(
  355. 1, _Internal::base_info(this), target, stream);
  356. }
  357. // required string command_key = 2;
  358. if (cached_has_bits & 0x00000001u) {
  359. ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
  360. this->_internal_command_key().data(), static_cast<int>(this->_internal_command_key().length()),
  361. ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
  362. "message.Notify_request_msg.command_key");
  363. target = stream->WriteStringMaybeAliased(
  364. 2, this->_internal_command_key(), target);
  365. }
  366. // required int32 terminal_id = 3;
  367. if (cached_has_bits & 0x00000008u) {
  368. target = stream->EnsureSpace(target);
  369. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_terminal_id(), target);
  370. }
  371. // required .message.Car_info car_info = 4;
  372. if (cached_has_bits & 0x00000004u) {
  373. target = stream->EnsureSpace(target);
  374. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  375. InternalWriteMessage(
  376. 4, _Internal::car_info(this), target, stream);
  377. }
  378. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  379. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  380. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  381. }
  382. // @@protoc_insertion_point(serialize_to_array_end:message.Notify_request_msg)
  383. return target;
  384. }
  385. size_t Notify_request_msg::RequiredFieldsByteSizeFallback() const {
  386. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Notify_request_msg)
  387. size_t total_size = 0;
  388. if (_internal_has_command_key()) {
  389. // required string command_key = 2;
  390. total_size += 1 +
  391. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  392. this->_internal_command_key());
  393. }
  394. if (_internal_has_base_info()) {
  395. // required .message.Base_info base_info = 1;
  396. total_size += 1 +
  397. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  398. *base_info_);
  399. }
  400. if (_internal_has_car_info()) {
  401. // required .message.Car_info car_info = 4;
  402. total_size += 1 +
  403. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  404. *car_info_);
  405. }
  406. if (_internal_has_terminal_id()) {
  407. // required int32 terminal_id = 3;
  408. total_size += 1 +
  409. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
  410. this->_internal_terminal_id());
  411. }
  412. return total_size;
  413. }
  414. size_t Notify_request_msg::ByteSizeLong() const {
  415. // @@protoc_insertion_point(message_byte_size_start:message.Notify_request_msg)
  416. size_t total_size = 0;
  417. if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
  418. // required string command_key = 2;
  419. total_size += 1 +
  420. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  421. this->_internal_command_key());
  422. // required .message.Base_info base_info = 1;
  423. total_size += 1 +
  424. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  425. *base_info_);
  426. // required .message.Car_info car_info = 4;
  427. total_size += 1 +
  428. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  429. *car_info_);
  430. // required int32 terminal_id = 3;
  431. total_size += 1 +
  432. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
  433. this->_internal_terminal_id());
  434. } else {
  435. total_size += RequiredFieldsByteSizeFallback();
  436. }
  437. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  438. // Prevent compiler warnings about cached_has_bits being unused
  439. (void) cached_has_bits;
  440. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  441. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  442. _internal_metadata_, total_size, &_cached_size_);
  443. }
  444. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  445. SetCachedSize(cached_size);
  446. return total_size;
  447. }
  448. void Notify_request_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  449. // @@protoc_insertion_point(generalized_merge_from_start:message.Notify_request_msg)
  450. GOOGLE_DCHECK_NE(&from, this);
  451. const Notify_request_msg* source =
  452. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Notify_request_msg>(
  453. &from);
  454. if (source == nullptr) {
  455. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Notify_request_msg)
  456. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  457. } else {
  458. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Notify_request_msg)
  459. MergeFrom(*source);
  460. }
  461. }
  462. void Notify_request_msg::MergeFrom(const Notify_request_msg& from) {
  463. // @@protoc_insertion_point(class_specific_merge_from_start:message.Notify_request_msg)
  464. GOOGLE_DCHECK_NE(&from, this);
  465. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  466. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  467. (void) cached_has_bits;
  468. cached_has_bits = from._has_bits_[0];
  469. if (cached_has_bits & 0x0000000fu) {
  470. if (cached_has_bits & 0x00000001u) {
  471. _internal_set_command_key(from._internal_command_key());
  472. }
  473. if (cached_has_bits & 0x00000002u) {
  474. _internal_mutable_base_info()->::message::Base_info::MergeFrom(from._internal_base_info());
  475. }
  476. if (cached_has_bits & 0x00000004u) {
  477. _internal_mutable_car_info()->::message::Car_info::MergeFrom(from._internal_car_info());
  478. }
  479. if (cached_has_bits & 0x00000008u) {
  480. terminal_id_ = from.terminal_id_;
  481. }
  482. _has_bits_[0] |= cached_has_bits;
  483. }
  484. }
  485. void Notify_request_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  486. // @@protoc_insertion_point(generalized_copy_from_start:message.Notify_request_msg)
  487. if (&from == this) return;
  488. Clear();
  489. MergeFrom(from);
  490. }
  491. void Notify_request_msg::CopyFrom(const Notify_request_msg& from) {
  492. // @@protoc_insertion_point(class_specific_copy_from_start:message.Notify_request_msg)
  493. if (&from == this) return;
  494. Clear();
  495. MergeFrom(from);
  496. }
  497. bool Notify_request_msg::IsInitialized() const {
  498. if (_Internal::MissingRequiredFields(_has_bits_)) return false;
  499. if (_internal_has_base_info()) {
  500. if (!base_info_->IsInitialized()) return false;
  501. }
  502. return true;
  503. }
  504. void Notify_request_msg::InternalSwap(Notify_request_msg* other) {
  505. using std::swap;
  506. _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  507. swap(_has_bits_[0], other->_has_bits_[0]);
  508. command_key_.Swap(&other->command_key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  509. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  510. PROTOBUF_FIELD_OFFSET(Notify_request_msg, terminal_id_)
  511. + sizeof(Notify_request_msg::terminal_id_)
  512. - PROTOBUF_FIELD_OFFSET(Notify_request_msg, base_info_)>(
  513. reinterpret_cast<char*>(&base_info_),
  514. reinterpret_cast<char*>(&other->base_info_));
  515. }
  516. ::PROTOBUF_NAMESPACE_ID::Metadata Notify_request_msg::GetMetadata() const {
  517. return GetMetadataStatic();
  518. }
  519. // ===================================================================
  520. void Notify_response_msg::InitAsDefaultInstance() {
  521. ::message::_Notify_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  522. ::message::Base_info::internal_default_instance());
  523. ::message::_Notify_response_msg_default_instance_._instance.get_mutable()->code_ = const_cast< ::message::Error_manager*>(
  524. ::message::Error_manager::internal_default_instance());
  525. }
  526. class Notify_response_msg::_Internal {
  527. public:
  528. using HasBits = decltype(std::declval<Notify_response_msg>()._has_bits_);
  529. static const ::message::Base_info& base_info(const Notify_response_msg* msg);
  530. static void set_has_base_info(HasBits* has_bits) {
  531. (*has_bits)[0] |= 2u;
  532. }
  533. static void set_has_command_key(HasBits* has_bits) {
  534. (*has_bits)[0] |= 1u;
  535. }
  536. static void set_has_terminal_id(HasBits* has_bits) {
  537. (*has_bits)[0] |= 8u;
  538. }
  539. static const ::message::Error_manager& code(const Notify_response_msg* msg);
  540. static void set_has_code(HasBits* has_bits) {
  541. (*has_bits)[0] |= 4u;
  542. }
  543. static bool MissingRequiredFields(const HasBits& has_bits) {
  544. return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0;
  545. }
  546. };
  547. const ::message::Base_info&
  548. Notify_response_msg::_Internal::base_info(const Notify_response_msg* msg) {
  549. return *msg->base_info_;
  550. }
  551. const ::message::Error_manager&
  552. Notify_response_msg::_Internal::code(const Notify_response_msg* msg) {
  553. return *msg->code_;
  554. }
  555. void Notify_response_msg::clear_base_info() {
  556. if (base_info_ != nullptr) base_info_->Clear();
  557. _has_bits_[0] &= ~0x00000002u;
  558. }
  559. void Notify_response_msg::clear_code() {
  560. if (code_ != nullptr) code_->Clear();
  561. _has_bits_[0] &= ~0x00000004u;
  562. }
  563. Notify_response_msg::Notify_response_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  564. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  565. SharedCtor();
  566. RegisterArenaDtor(arena);
  567. // @@protoc_insertion_point(arena_constructor:message.Notify_response_msg)
  568. }
  569. Notify_response_msg::Notify_response_msg(const Notify_response_msg& from)
  570. : ::PROTOBUF_NAMESPACE_ID::Message(),
  571. _has_bits_(from._has_bits_) {
  572. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  573. command_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  574. if (from._internal_has_command_key()) {
  575. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_command_key(),
  576. GetArena());
  577. }
  578. if (from._internal_has_base_info()) {
  579. base_info_ = new ::message::Base_info(*from.base_info_);
  580. } else {
  581. base_info_ = nullptr;
  582. }
  583. if (from._internal_has_code()) {
  584. code_ = new ::message::Error_manager(*from.code_);
  585. } else {
  586. code_ = nullptr;
  587. }
  588. terminal_id_ = from.terminal_id_;
  589. // @@protoc_insertion_point(copy_constructor:message.Notify_response_msg)
  590. }
  591. void Notify_response_msg::SharedCtor() {
  592. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Notify_response_msg_notify_5fmessage_2eproto.base);
  593. command_key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  594. ::memset(&base_info_, 0, static_cast<size_t>(
  595. reinterpret_cast<char*>(&terminal_id_) -
  596. reinterpret_cast<char*>(&base_info_)) + sizeof(terminal_id_));
  597. }
  598. Notify_response_msg::~Notify_response_msg() {
  599. // @@protoc_insertion_point(destructor:message.Notify_response_msg)
  600. SharedDtor();
  601. _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  602. }
  603. void Notify_response_msg::SharedDtor() {
  604. GOOGLE_DCHECK(GetArena() == nullptr);
  605. command_key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  606. if (this != internal_default_instance()) delete base_info_;
  607. if (this != internal_default_instance()) delete code_;
  608. }
  609. void Notify_response_msg::ArenaDtor(void* object) {
  610. Notify_response_msg* _this = reinterpret_cast< Notify_response_msg* >(object);
  611. (void)_this;
  612. }
  613. void Notify_response_msg::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
  614. }
  615. void Notify_response_msg::SetCachedSize(int size) const {
  616. _cached_size_.Set(size);
  617. }
  618. const Notify_response_msg& Notify_response_msg::default_instance() {
  619. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Notify_response_msg_notify_5fmessage_2eproto.base);
  620. return *internal_default_instance();
  621. }
  622. void Notify_response_msg::Clear() {
  623. // @@protoc_insertion_point(message_clear_start:message.Notify_response_msg)
  624. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  625. // Prevent compiler warnings about cached_has_bits being unused
  626. (void) cached_has_bits;
  627. cached_has_bits = _has_bits_[0];
  628. if (cached_has_bits & 0x00000007u) {
  629. if (cached_has_bits & 0x00000001u) {
  630. command_key_.ClearNonDefaultToEmpty();
  631. }
  632. if (cached_has_bits & 0x00000002u) {
  633. GOOGLE_DCHECK(base_info_ != nullptr);
  634. base_info_->Clear();
  635. }
  636. if (cached_has_bits & 0x00000004u) {
  637. GOOGLE_DCHECK(code_ != nullptr);
  638. code_->Clear();
  639. }
  640. }
  641. terminal_id_ = 0;
  642. _has_bits_.Clear();
  643. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  644. }
  645. const char* Notify_response_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  646. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  647. _Internal::HasBits has_bits{};
  648. ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  649. while (!ctx->Done(&ptr)) {
  650. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  651. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  652. CHK_(ptr);
  653. switch (tag >> 3) {
  654. // required .message.Base_info base_info = 1;
  655. case 1:
  656. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  657. ptr = ctx->ParseMessage(_internal_mutable_base_info(), ptr);
  658. CHK_(ptr);
  659. } else goto handle_unusual;
  660. continue;
  661. // required string command_key = 2;
  662. case 2:
  663. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
  664. auto str = _internal_mutable_command_key();
  665. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
  666. #ifndef NDEBUG
  667. ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "message.Notify_response_msg.command_key");
  668. #endif // !NDEBUG
  669. CHK_(ptr);
  670. } else goto handle_unusual;
  671. continue;
  672. // required int32 terminal_id = 3;
  673. case 3:
  674. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  675. _Internal::set_has_terminal_id(&has_bits);
  676. terminal_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  677. CHK_(ptr);
  678. } else goto handle_unusual;
  679. continue;
  680. // required .message.Error_manager code = 4;
  681. case 4:
  682. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
  683. ptr = ctx->ParseMessage(_internal_mutable_code(), ptr);
  684. CHK_(ptr);
  685. } else goto handle_unusual;
  686. continue;
  687. default: {
  688. handle_unusual:
  689. if ((tag & 7) == 4 || tag == 0) {
  690. ctx->SetLastTag(tag);
  691. goto success;
  692. }
  693. ptr = UnknownFieldParse(tag,
  694. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  695. ptr, ctx);
  696. CHK_(ptr != nullptr);
  697. continue;
  698. }
  699. } // switch
  700. } // while
  701. success:
  702. _has_bits_.Or(has_bits);
  703. return ptr;
  704. failure:
  705. ptr = nullptr;
  706. goto success;
  707. #undef CHK_
  708. }
  709. ::PROTOBUF_NAMESPACE_ID::uint8* Notify_response_msg::_InternalSerialize(
  710. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  711. // @@protoc_insertion_point(serialize_to_array_start:message.Notify_response_msg)
  712. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  713. (void) cached_has_bits;
  714. cached_has_bits = _has_bits_[0];
  715. // required .message.Base_info base_info = 1;
  716. if (cached_has_bits & 0x00000002u) {
  717. target = stream->EnsureSpace(target);
  718. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  719. InternalWriteMessage(
  720. 1, _Internal::base_info(this), target, stream);
  721. }
  722. // required string command_key = 2;
  723. if (cached_has_bits & 0x00000001u) {
  724. ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
  725. this->_internal_command_key().data(), static_cast<int>(this->_internal_command_key().length()),
  726. ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
  727. "message.Notify_response_msg.command_key");
  728. target = stream->WriteStringMaybeAliased(
  729. 2, this->_internal_command_key(), target);
  730. }
  731. // required int32 terminal_id = 3;
  732. if (cached_has_bits & 0x00000008u) {
  733. target = stream->EnsureSpace(target);
  734. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_terminal_id(), target);
  735. }
  736. // required .message.Error_manager code = 4;
  737. if (cached_has_bits & 0x00000004u) {
  738. target = stream->EnsureSpace(target);
  739. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  740. InternalWriteMessage(
  741. 4, _Internal::code(this), target, stream);
  742. }
  743. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  744. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  745. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  746. }
  747. // @@protoc_insertion_point(serialize_to_array_end:message.Notify_response_msg)
  748. return target;
  749. }
  750. size_t Notify_response_msg::RequiredFieldsByteSizeFallback() const {
  751. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Notify_response_msg)
  752. size_t total_size = 0;
  753. if (_internal_has_command_key()) {
  754. // required string command_key = 2;
  755. total_size += 1 +
  756. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  757. this->_internal_command_key());
  758. }
  759. if (_internal_has_base_info()) {
  760. // required .message.Base_info base_info = 1;
  761. total_size += 1 +
  762. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  763. *base_info_);
  764. }
  765. if (_internal_has_code()) {
  766. // required .message.Error_manager code = 4;
  767. total_size += 1 +
  768. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  769. *code_);
  770. }
  771. if (_internal_has_terminal_id()) {
  772. // required int32 terminal_id = 3;
  773. total_size += 1 +
  774. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
  775. this->_internal_terminal_id());
  776. }
  777. return total_size;
  778. }
  779. size_t Notify_response_msg::ByteSizeLong() const {
  780. // @@protoc_insertion_point(message_byte_size_start:message.Notify_response_msg)
  781. size_t total_size = 0;
  782. if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
  783. // required string command_key = 2;
  784. total_size += 1 +
  785. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  786. this->_internal_command_key());
  787. // required .message.Base_info base_info = 1;
  788. total_size += 1 +
  789. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  790. *base_info_);
  791. // required .message.Error_manager code = 4;
  792. total_size += 1 +
  793. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  794. *code_);
  795. // required int32 terminal_id = 3;
  796. total_size += 1 +
  797. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
  798. this->_internal_terminal_id());
  799. } else {
  800. total_size += RequiredFieldsByteSizeFallback();
  801. }
  802. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  803. // Prevent compiler warnings about cached_has_bits being unused
  804. (void) cached_has_bits;
  805. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  806. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  807. _internal_metadata_, total_size, &_cached_size_);
  808. }
  809. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  810. SetCachedSize(cached_size);
  811. return total_size;
  812. }
  813. void Notify_response_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  814. // @@protoc_insertion_point(generalized_merge_from_start:message.Notify_response_msg)
  815. GOOGLE_DCHECK_NE(&from, this);
  816. const Notify_response_msg* source =
  817. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Notify_response_msg>(
  818. &from);
  819. if (source == nullptr) {
  820. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Notify_response_msg)
  821. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  822. } else {
  823. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Notify_response_msg)
  824. MergeFrom(*source);
  825. }
  826. }
  827. void Notify_response_msg::MergeFrom(const Notify_response_msg& from) {
  828. // @@protoc_insertion_point(class_specific_merge_from_start:message.Notify_response_msg)
  829. GOOGLE_DCHECK_NE(&from, this);
  830. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  831. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  832. (void) cached_has_bits;
  833. cached_has_bits = from._has_bits_[0];
  834. if (cached_has_bits & 0x0000000fu) {
  835. if (cached_has_bits & 0x00000001u) {
  836. _internal_set_command_key(from._internal_command_key());
  837. }
  838. if (cached_has_bits & 0x00000002u) {
  839. _internal_mutable_base_info()->::message::Base_info::MergeFrom(from._internal_base_info());
  840. }
  841. if (cached_has_bits & 0x00000004u) {
  842. _internal_mutable_code()->::message::Error_manager::MergeFrom(from._internal_code());
  843. }
  844. if (cached_has_bits & 0x00000008u) {
  845. terminal_id_ = from.terminal_id_;
  846. }
  847. _has_bits_[0] |= cached_has_bits;
  848. }
  849. }
  850. void Notify_response_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  851. // @@protoc_insertion_point(generalized_copy_from_start:message.Notify_response_msg)
  852. if (&from == this) return;
  853. Clear();
  854. MergeFrom(from);
  855. }
  856. void Notify_response_msg::CopyFrom(const Notify_response_msg& from) {
  857. // @@protoc_insertion_point(class_specific_copy_from_start:message.Notify_response_msg)
  858. if (&from == this) return;
  859. Clear();
  860. MergeFrom(from);
  861. }
  862. bool Notify_response_msg::IsInitialized() const {
  863. if (_Internal::MissingRequiredFields(_has_bits_)) return false;
  864. if (_internal_has_base_info()) {
  865. if (!base_info_->IsInitialized()) return false;
  866. }
  867. if (_internal_has_code()) {
  868. if (!code_->IsInitialized()) return false;
  869. }
  870. return true;
  871. }
  872. void Notify_response_msg::InternalSwap(Notify_response_msg* other) {
  873. using std::swap;
  874. _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  875. swap(_has_bits_[0], other->_has_bits_[0]);
  876. command_key_.Swap(&other->command_key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  877. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  878. PROTOBUF_FIELD_OFFSET(Notify_response_msg, terminal_id_)
  879. + sizeof(Notify_response_msg::terminal_id_)
  880. - PROTOBUF_FIELD_OFFSET(Notify_response_msg, base_info_)>(
  881. reinterpret_cast<char*>(&base_info_),
  882. reinterpret_cast<char*>(&other->base_info_));
  883. }
  884. ::PROTOBUF_NAMESPACE_ID::Metadata Notify_response_msg::GetMetadata() const {
  885. return GetMetadataStatic();
  886. }
  887. // ===================================================================
  888. void Notify_status_msg::InitAsDefaultInstance() {
  889. ::message::_Notify_status_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  890. ::message::Base_info::internal_default_instance());
  891. ::message::_Notify_status_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  892. ::message::Error_manager::internal_default_instance());
  893. }
  894. class Notify_status_msg::_Internal {
  895. public:
  896. using HasBits = decltype(std::declval<Notify_status_msg>()._has_bits_);
  897. static const ::message::Base_info& base_info(const Notify_status_msg* msg);
  898. static void set_has_base_info(HasBits* has_bits) {
  899. (*has_bits)[0] |= 1u;
  900. }
  901. static void set_has_terminal_id(HasBits* has_bits) {
  902. (*has_bits)[0] |= 4u;
  903. }
  904. static const ::message::Error_manager& error_manager(const Notify_status_msg* msg);
  905. static void set_has_error_manager(HasBits* has_bits) {
  906. (*has_bits)[0] |= 2u;
  907. }
  908. static bool MissingRequiredFields(const HasBits& has_bits) {
  909. return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
  910. }
  911. };
  912. const ::message::Base_info&
  913. Notify_status_msg::_Internal::base_info(const Notify_status_msg* msg) {
  914. return *msg->base_info_;
  915. }
  916. const ::message::Error_manager&
  917. Notify_status_msg::_Internal::error_manager(const Notify_status_msg* msg) {
  918. return *msg->error_manager_;
  919. }
  920. void Notify_status_msg::clear_base_info() {
  921. if (base_info_ != nullptr) base_info_->Clear();
  922. _has_bits_[0] &= ~0x00000001u;
  923. }
  924. void Notify_status_msg::clear_error_manager() {
  925. if (error_manager_ != nullptr) error_manager_->Clear();
  926. _has_bits_[0] &= ~0x00000002u;
  927. }
  928. Notify_status_msg::Notify_status_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  929. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  930. SharedCtor();
  931. RegisterArenaDtor(arena);
  932. // @@protoc_insertion_point(arena_constructor:message.Notify_status_msg)
  933. }
  934. Notify_status_msg::Notify_status_msg(const Notify_status_msg& from)
  935. : ::PROTOBUF_NAMESPACE_ID::Message(),
  936. _has_bits_(from._has_bits_) {
  937. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  938. if (from._internal_has_base_info()) {
  939. base_info_ = new ::message::Base_info(*from.base_info_);
  940. } else {
  941. base_info_ = nullptr;
  942. }
  943. if (from._internal_has_error_manager()) {
  944. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  945. } else {
  946. error_manager_ = nullptr;
  947. }
  948. terminal_id_ = from.terminal_id_;
  949. // @@protoc_insertion_point(copy_constructor:message.Notify_status_msg)
  950. }
  951. void Notify_status_msg::SharedCtor() {
  952. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Notify_status_msg_notify_5fmessage_2eproto.base);
  953. ::memset(&base_info_, 0, static_cast<size_t>(
  954. reinterpret_cast<char*>(&terminal_id_) -
  955. reinterpret_cast<char*>(&base_info_)) + sizeof(terminal_id_));
  956. }
  957. Notify_status_msg::~Notify_status_msg() {
  958. // @@protoc_insertion_point(destructor:message.Notify_status_msg)
  959. SharedDtor();
  960. _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  961. }
  962. void Notify_status_msg::SharedDtor() {
  963. GOOGLE_DCHECK(GetArena() == nullptr);
  964. if (this != internal_default_instance()) delete base_info_;
  965. if (this != internal_default_instance()) delete error_manager_;
  966. }
  967. void Notify_status_msg::ArenaDtor(void* object) {
  968. Notify_status_msg* _this = reinterpret_cast< Notify_status_msg* >(object);
  969. (void)_this;
  970. }
  971. void Notify_status_msg::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
  972. }
  973. void Notify_status_msg::SetCachedSize(int size) const {
  974. _cached_size_.Set(size);
  975. }
  976. const Notify_status_msg& Notify_status_msg::default_instance() {
  977. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Notify_status_msg_notify_5fmessage_2eproto.base);
  978. return *internal_default_instance();
  979. }
  980. void Notify_status_msg::Clear() {
  981. // @@protoc_insertion_point(message_clear_start:message.Notify_status_msg)
  982. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  983. // Prevent compiler warnings about cached_has_bits being unused
  984. (void) cached_has_bits;
  985. cached_has_bits = _has_bits_[0];
  986. if (cached_has_bits & 0x00000003u) {
  987. if (cached_has_bits & 0x00000001u) {
  988. GOOGLE_DCHECK(base_info_ != nullptr);
  989. base_info_->Clear();
  990. }
  991. if (cached_has_bits & 0x00000002u) {
  992. GOOGLE_DCHECK(error_manager_ != nullptr);
  993. error_manager_->Clear();
  994. }
  995. }
  996. terminal_id_ = 0;
  997. _has_bits_.Clear();
  998. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  999. }
  1000. const char* Notify_status_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  1001. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1002. _Internal::HasBits has_bits{};
  1003. ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  1004. while (!ctx->Done(&ptr)) {
  1005. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  1006. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  1007. CHK_(ptr);
  1008. switch (tag >> 3) {
  1009. // required .message.Base_info base_info = 1;
  1010. case 1:
  1011. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  1012. ptr = ctx->ParseMessage(_internal_mutable_base_info(), ptr);
  1013. CHK_(ptr);
  1014. } else goto handle_unusual;
  1015. continue;
  1016. // required int32 terminal_id = 2;
  1017. case 2:
  1018. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  1019. _Internal::set_has_terminal_id(&has_bits);
  1020. terminal_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  1021. CHK_(ptr);
  1022. } else goto handle_unusual;
  1023. continue;
  1024. // required .message.Error_manager error_manager = 3;
  1025. case 3:
  1026. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
  1027. ptr = ctx->ParseMessage(_internal_mutable_error_manager(), ptr);
  1028. CHK_(ptr);
  1029. } else goto handle_unusual;
  1030. continue;
  1031. default: {
  1032. handle_unusual:
  1033. if ((tag & 7) == 4 || tag == 0) {
  1034. ctx->SetLastTag(tag);
  1035. goto success;
  1036. }
  1037. ptr = UnknownFieldParse(tag,
  1038. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  1039. ptr, ctx);
  1040. CHK_(ptr != nullptr);
  1041. continue;
  1042. }
  1043. } // switch
  1044. } // while
  1045. success:
  1046. _has_bits_.Or(has_bits);
  1047. return ptr;
  1048. failure:
  1049. ptr = nullptr;
  1050. goto success;
  1051. #undef CHK_
  1052. }
  1053. ::PROTOBUF_NAMESPACE_ID::uint8* Notify_status_msg::_InternalSerialize(
  1054. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1055. // @@protoc_insertion_point(serialize_to_array_start:message.Notify_status_msg)
  1056. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1057. (void) cached_has_bits;
  1058. cached_has_bits = _has_bits_[0];
  1059. // required .message.Base_info base_info = 1;
  1060. if (cached_has_bits & 0x00000001u) {
  1061. target = stream->EnsureSpace(target);
  1062. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  1063. InternalWriteMessage(
  1064. 1, _Internal::base_info(this), target, stream);
  1065. }
  1066. // required int32 terminal_id = 2;
  1067. if (cached_has_bits & 0x00000004u) {
  1068. target = stream->EnsureSpace(target);
  1069. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_terminal_id(), target);
  1070. }
  1071. // required .message.Error_manager error_manager = 3;
  1072. if (cached_has_bits & 0x00000002u) {
  1073. target = stream->EnsureSpace(target);
  1074. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  1075. InternalWriteMessage(
  1076. 3, _Internal::error_manager(this), target, stream);
  1077. }
  1078. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1079. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  1080. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  1081. }
  1082. // @@protoc_insertion_point(serialize_to_array_end:message.Notify_status_msg)
  1083. return target;
  1084. }
  1085. size_t Notify_status_msg::RequiredFieldsByteSizeFallback() const {
  1086. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Notify_status_msg)
  1087. size_t total_size = 0;
  1088. if (_internal_has_base_info()) {
  1089. // required .message.Base_info base_info = 1;
  1090. total_size += 1 +
  1091. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  1092. *base_info_);
  1093. }
  1094. if (_internal_has_error_manager()) {
  1095. // required .message.Error_manager error_manager = 3;
  1096. total_size += 1 +
  1097. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  1098. *error_manager_);
  1099. }
  1100. if (_internal_has_terminal_id()) {
  1101. // required int32 terminal_id = 2;
  1102. total_size += 1 +
  1103. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
  1104. this->_internal_terminal_id());
  1105. }
  1106. return total_size;
  1107. }
  1108. size_t Notify_status_msg::ByteSizeLong() const {
  1109. // @@protoc_insertion_point(message_byte_size_start:message.Notify_status_msg)
  1110. size_t total_size = 0;
  1111. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  1112. // required .message.Base_info base_info = 1;
  1113. total_size += 1 +
  1114. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  1115. *base_info_);
  1116. // required .message.Error_manager error_manager = 3;
  1117. total_size += 1 +
  1118. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  1119. *error_manager_);
  1120. // required int32 terminal_id = 2;
  1121. total_size += 1 +
  1122. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
  1123. this->_internal_terminal_id());
  1124. } else {
  1125. total_size += RequiredFieldsByteSizeFallback();
  1126. }
  1127. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1128. // Prevent compiler warnings about cached_has_bits being unused
  1129. (void) cached_has_bits;
  1130. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1131. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  1132. _internal_metadata_, total_size, &_cached_size_);
  1133. }
  1134. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  1135. SetCachedSize(cached_size);
  1136. return total_size;
  1137. }
  1138. void Notify_status_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1139. // @@protoc_insertion_point(generalized_merge_from_start:message.Notify_status_msg)
  1140. GOOGLE_DCHECK_NE(&from, this);
  1141. const Notify_status_msg* source =
  1142. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Notify_status_msg>(
  1143. &from);
  1144. if (source == nullptr) {
  1145. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Notify_status_msg)
  1146. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  1147. } else {
  1148. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Notify_status_msg)
  1149. MergeFrom(*source);
  1150. }
  1151. }
  1152. void Notify_status_msg::MergeFrom(const Notify_status_msg& from) {
  1153. // @@protoc_insertion_point(class_specific_merge_from_start:message.Notify_status_msg)
  1154. GOOGLE_DCHECK_NE(&from, this);
  1155. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  1156. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  1157. (void) cached_has_bits;
  1158. cached_has_bits = from._has_bits_[0];
  1159. if (cached_has_bits & 0x00000007u) {
  1160. if (cached_has_bits & 0x00000001u) {
  1161. _internal_mutable_base_info()->::message::Base_info::MergeFrom(from._internal_base_info());
  1162. }
  1163. if (cached_has_bits & 0x00000002u) {
  1164. _internal_mutable_error_manager()->::message::Error_manager::MergeFrom(from._internal_error_manager());
  1165. }
  1166. if (cached_has_bits & 0x00000004u) {
  1167. terminal_id_ = from.terminal_id_;
  1168. }
  1169. _has_bits_[0] |= cached_has_bits;
  1170. }
  1171. }
  1172. void Notify_status_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  1173. // @@protoc_insertion_point(generalized_copy_from_start:message.Notify_status_msg)
  1174. if (&from == this) return;
  1175. Clear();
  1176. MergeFrom(from);
  1177. }
  1178. void Notify_status_msg::CopyFrom(const Notify_status_msg& from) {
  1179. // @@protoc_insertion_point(class_specific_copy_from_start:message.Notify_status_msg)
  1180. if (&from == this) return;
  1181. Clear();
  1182. MergeFrom(from);
  1183. }
  1184. bool Notify_status_msg::IsInitialized() const {
  1185. if (_Internal::MissingRequiredFields(_has_bits_)) return false;
  1186. if (_internal_has_base_info()) {
  1187. if (!base_info_->IsInitialized()) return false;
  1188. }
  1189. if (_internal_has_error_manager()) {
  1190. if (!error_manager_->IsInitialized()) return false;
  1191. }
  1192. return true;
  1193. }
  1194. void Notify_status_msg::InternalSwap(Notify_status_msg* other) {
  1195. using std::swap;
  1196. _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  1197. swap(_has_bits_[0], other->_has_bits_[0]);
  1198. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  1199. PROTOBUF_FIELD_OFFSET(Notify_status_msg, terminal_id_)
  1200. + sizeof(Notify_status_msg::terminal_id_)
  1201. - PROTOBUF_FIELD_OFFSET(Notify_status_msg, base_info_)>(
  1202. reinterpret_cast<char*>(&base_info_),
  1203. reinterpret_cast<char*>(&other->base_info_));
  1204. }
  1205. ::PROTOBUF_NAMESPACE_ID::Metadata Notify_status_msg::GetMetadata() const {
  1206. return GetMetadataStatic();
  1207. }
  1208. // @@protoc_insertion_point(namespace_scope)
  1209. } // namespace message
  1210. PROTOBUF_NAMESPACE_OPEN
  1211. template<> PROTOBUF_NOINLINE ::message::Notify_request_msg* Arena::CreateMaybeMessage< ::message::Notify_request_msg >(Arena* arena) {
  1212. return Arena::CreateMessageInternal< ::message::Notify_request_msg >(arena);
  1213. }
  1214. template<> PROTOBUF_NOINLINE ::message::Notify_response_msg* Arena::CreateMaybeMessage< ::message::Notify_response_msg >(Arena* arena) {
  1215. return Arena::CreateMessageInternal< ::message::Notify_response_msg >(arena);
  1216. }
  1217. template<> PROTOBUF_NOINLINE ::message::Notify_status_msg* Arena::CreateMaybeMessage< ::message::Notify_status_msg >(Arena* arena) {
  1218. return Arena::CreateMessageInternal< ::message::Notify_status_msg >(arena);
  1219. }
  1220. PROTOBUF_NAMESPACE_CLOSE
  1221. // @@protoc_insertion_point(global_scope)
  1222. #include <google/protobuf/port_undef.inc>