notify_message.pb.cc 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521
  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/stubs/common.h>
  6. #include <google/protobuf/stubs/port.h>
  7. #include <google/protobuf/io/coded_stream.h>
  8. #include <google/protobuf/wire_format_lite_inl.h>
  9. #include <google/protobuf/descriptor.h>
  10. #include <google/protobuf/generated_message_reflection.h>
  11. #include <google/protobuf/reflection_ops.h>
  12. #include <google/protobuf/wire_format.h>
  13. // This is a temporary google only hack
  14. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  15. #include "third_party/protobuf/version.h"
  16. #endif
  17. // @@protoc_insertion_point(includes)
  18. namespace protobuf_message_5fbase_2eproto {
  19. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Base_info;
  20. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Car_info;
  21. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Error_manager;
  22. extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Id_struct;
  23. } // namespace protobuf_message_5fbase_2eproto
  24. namespace message {
  25. class Notify_request_msgDefaultTypeInternal {
  26. public:
  27. ::google::protobuf::internal::ExplicitlyConstructed<Notify_request_msg>
  28. _instance;
  29. } _Notify_request_msg_default_instance_;
  30. class Notify_response_msgDefaultTypeInternal {
  31. public:
  32. ::google::protobuf::internal::ExplicitlyConstructed<Notify_response_msg>
  33. _instance;
  34. } _Notify_response_msg_default_instance_;
  35. class Notify_status_msgDefaultTypeInternal {
  36. public:
  37. ::google::protobuf::internal::ExplicitlyConstructed<Notify_status_msg>
  38. _instance;
  39. } _Notify_status_msg_default_instance_;
  40. } // namespace message
  41. namespace protobuf_notify_5fmessage_2eproto {
  42. static void InitDefaultsNotify_request_msg() {
  43. GOOGLE_PROTOBUF_VERIFY_VERSION;
  44. {
  45. void* ptr = &::message::_Notify_request_msg_default_instance_;
  46. new (ptr) ::message::Notify_request_msg();
  47. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  48. }
  49. ::message::Notify_request_msg::InitAsDefaultInstance();
  50. }
  51. ::google::protobuf::internal::SCCInfo<3> scc_info_Notify_request_msg =
  52. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsNotify_request_msg}, {
  53. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  54. &protobuf_message_5fbase_2eproto::scc_info_Id_struct.base,
  55. &protobuf_message_5fbase_2eproto::scc_info_Car_info.base,}};
  56. static void InitDefaultsNotify_response_msg() {
  57. GOOGLE_PROTOBUF_VERIFY_VERSION;
  58. {
  59. void* ptr = &::message::_Notify_response_msg_default_instance_;
  60. new (ptr) ::message::Notify_response_msg();
  61. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  62. }
  63. ::message::Notify_response_msg::InitAsDefaultInstance();
  64. }
  65. ::google::protobuf::internal::SCCInfo<3> scc_info_Notify_response_msg =
  66. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsNotify_response_msg}, {
  67. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  68. &protobuf_message_5fbase_2eproto::scc_info_Id_struct.base,
  69. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,}};
  70. static void InitDefaultsNotify_status_msg() {
  71. GOOGLE_PROTOBUF_VERIFY_VERSION;
  72. {
  73. void* ptr = &::message::_Notify_status_msg_default_instance_;
  74. new (ptr) ::message::Notify_status_msg();
  75. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  76. }
  77. ::message::Notify_status_msg::InitAsDefaultInstance();
  78. }
  79. ::google::protobuf::internal::SCCInfo<3> scc_info_Notify_status_msg =
  80. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsNotify_status_msg}, {
  81. &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
  82. &protobuf_message_5fbase_2eproto::scc_info_Id_struct.base,
  83. &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,}};
  84. void InitDefaults() {
  85. ::google::protobuf::internal::InitSCC(&scc_info_Notify_request_msg.base);
  86. ::google::protobuf::internal::InitSCC(&scc_info_Notify_response_msg.base);
  87. ::google::protobuf::internal::InitSCC(&scc_info_Notify_status_msg.base);
  88. }
  89. ::google::protobuf::Metadata file_level_metadata[3];
  90. const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  91. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, _has_bits_),
  92. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, _internal_metadata_),
  93. ~0u, // no _extensions_
  94. ~0u, // no _oneof_case_
  95. ~0u, // no _weak_field_map_
  96. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, base_info_),
  97. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, command_key_),
  98. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, id_struct_),
  99. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_request_msg, car_info_),
  100. 1,
  101. 0,
  102. 2,
  103. 3,
  104. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, _has_bits_),
  105. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, _internal_metadata_),
  106. ~0u, // no _extensions_
  107. ~0u, // no _oneof_case_
  108. ~0u, // no _weak_field_map_
  109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, base_info_),
  110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, command_key_),
  111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, id_struct_),
  112. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_response_msg, code_),
  113. 1,
  114. 0,
  115. 2,
  116. 3,
  117. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, _has_bits_),
  118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, _internal_metadata_),
  119. ~0u, // no _extensions_
  120. ~0u, // no _oneof_case_
  121. ~0u, // no _weak_field_map_
  122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, base_info_),
  123. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, channel_),
  124. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Notify_status_msg, error_manager_),
  125. 0,
  126. 1,
  127. 2,
  128. };
  129. static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  130. { 0, 9, sizeof(::message::Notify_request_msg)},
  131. { 13, 22, sizeof(::message::Notify_response_msg)},
  132. { 26, 34, sizeof(::message::Notify_status_msg)},
  133. };
  134. static ::google::protobuf::Message const * const file_default_instances[] = {
  135. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Notify_request_msg_default_instance_),
  136. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Notify_response_msg_default_instance_),
  137. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Notify_status_msg_default_instance_),
  138. };
  139. void protobuf_AssignDescriptors() {
  140. AddDescriptors();
  141. AssignDescriptors(
  142. "notify_message.proto", schemas, file_default_instances, TableStruct::offsets,
  143. file_level_metadata, NULL, NULL);
  144. }
  145. void protobuf_AssignDescriptorsOnce() {
  146. static ::google::protobuf::internal::once_flag once;
  147. ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
  148. }
  149. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  150. void protobuf_RegisterTypes(const ::std::string&) {
  151. protobuf_AssignDescriptorsOnce();
  152. ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 3);
  153. }
  154. void AddDescriptorsImpl() {
  155. InitDefaults();
  156. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  157. "\n\024notify_message.proto\022\007message\032\022message"
  158. "_base.proto\"\234\001\n\022Notify_request_msg\022%\n\tba"
  159. "se_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013com"
  160. "mand_key\030\002 \002(\t\022%\n\tid_struct\030\003 \002(\0132\022.mess"
  161. "age.Id_struct\022#\n\010car_info\030\004 \002(\0132\021.messag"
  162. "e.Car_info\"\236\001\n\023Notify_response_msg\022%\n\tba"
  163. "se_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013com"
  164. "mand_key\030\002 \002(\t\022%\n\tid_struct\030\003 \002(\0132\022.mess"
  165. "age.Id_struct\022$\n\004code\030\004 \002(\0132\026.message.Er"
  166. "ror_manager\"\216\001\n\021Notify_status_msg\022%\n\tbas"
  167. "e_info\030\001 \002(\0132\022.message.Base_info\022#\n\007chan"
  168. "nel\030\002 \002(\0132\022.message.Id_struct\022-\n\rerror_m"
  169. "anager\030\003 \002(\0132\026.message.Error_manager"
  170. };
  171. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  172. descriptor, 516);
  173. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  174. "notify_message.proto", &protobuf_RegisterTypes);
  175. ::protobuf_message_5fbase_2eproto::AddDescriptors();
  176. }
  177. void AddDescriptors() {
  178. static ::google::protobuf::internal::once_flag once;
  179. ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
  180. }
  181. // Force AddDescriptors() to be called at dynamic initialization time.
  182. struct StaticDescriptorInitializer {
  183. StaticDescriptorInitializer() {
  184. AddDescriptors();
  185. }
  186. } static_descriptor_initializer;
  187. } // namespace protobuf_notify_5fmessage_2eproto
  188. namespace message {
  189. // ===================================================================
  190. void Notify_request_msg::InitAsDefaultInstance() {
  191. ::message::_Notify_request_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  192. ::message::Base_info::internal_default_instance());
  193. ::message::_Notify_request_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
  194. ::message::Id_struct::internal_default_instance());
  195. ::message::_Notify_request_msg_default_instance_._instance.get_mutable()->car_info_ = const_cast< ::message::Car_info*>(
  196. ::message::Car_info::internal_default_instance());
  197. }
  198. void Notify_request_msg::clear_base_info() {
  199. if (base_info_ != NULL) base_info_->Clear();
  200. clear_has_base_info();
  201. }
  202. void Notify_request_msg::clear_id_struct() {
  203. if (id_struct_ != NULL) id_struct_->Clear();
  204. clear_has_id_struct();
  205. }
  206. void Notify_request_msg::clear_car_info() {
  207. if (car_info_ != NULL) car_info_->Clear();
  208. clear_has_car_info();
  209. }
  210. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  211. const int Notify_request_msg::kBaseInfoFieldNumber;
  212. const int Notify_request_msg::kCommandKeyFieldNumber;
  213. const int Notify_request_msg::kIdStructFieldNumber;
  214. const int Notify_request_msg::kCarInfoFieldNumber;
  215. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  216. Notify_request_msg::Notify_request_msg()
  217. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  218. ::google::protobuf::internal::InitSCC(
  219. &protobuf_notify_5fmessage_2eproto::scc_info_Notify_request_msg.base);
  220. SharedCtor();
  221. // @@protoc_insertion_point(constructor:message.Notify_request_msg)
  222. }
  223. Notify_request_msg::Notify_request_msg(const Notify_request_msg& from)
  224. : ::google::protobuf::Message(),
  225. _internal_metadata_(NULL),
  226. _has_bits_(from._has_bits_) {
  227. _internal_metadata_.MergeFrom(from._internal_metadata_);
  228. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  229. if (from.has_command_key()) {
  230. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  231. }
  232. if (from.has_base_info()) {
  233. base_info_ = new ::message::Base_info(*from.base_info_);
  234. } else {
  235. base_info_ = NULL;
  236. }
  237. if (from.has_id_struct()) {
  238. id_struct_ = new ::message::Id_struct(*from.id_struct_);
  239. } else {
  240. id_struct_ = NULL;
  241. }
  242. if (from.has_car_info()) {
  243. car_info_ = new ::message::Car_info(*from.car_info_);
  244. } else {
  245. car_info_ = NULL;
  246. }
  247. // @@protoc_insertion_point(copy_constructor:message.Notify_request_msg)
  248. }
  249. void Notify_request_msg::SharedCtor() {
  250. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  251. ::memset(&base_info_, 0, static_cast<size_t>(
  252. reinterpret_cast<char*>(&car_info_) -
  253. reinterpret_cast<char*>(&base_info_)) + sizeof(car_info_));
  254. }
  255. Notify_request_msg::~Notify_request_msg() {
  256. // @@protoc_insertion_point(destructor:message.Notify_request_msg)
  257. SharedDtor();
  258. }
  259. void Notify_request_msg::SharedDtor() {
  260. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  261. if (this != internal_default_instance()) delete base_info_;
  262. if (this != internal_default_instance()) delete id_struct_;
  263. if (this != internal_default_instance()) delete car_info_;
  264. }
  265. void Notify_request_msg::SetCachedSize(int size) const {
  266. _cached_size_.Set(size);
  267. }
  268. const ::google::protobuf::Descriptor* Notify_request_msg::descriptor() {
  269. ::protobuf_notify_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  270. return ::protobuf_notify_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  271. }
  272. const Notify_request_msg& Notify_request_msg::default_instance() {
  273. ::google::protobuf::internal::InitSCC(&protobuf_notify_5fmessage_2eproto::scc_info_Notify_request_msg.base);
  274. return *internal_default_instance();
  275. }
  276. void Notify_request_msg::Clear() {
  277. // @@protoc_insertion_point(message_clear_start:message.Notify_request_msg)
  278. ::google::protobuf::uint32 cached_has_bits = 0;
  279. // Prevent compiler warnings about cached_has_bits being unused
  280. (void) cached_has_bits;
  281. cached_has_bits = _has_bits_[0];
  282. if (cached_has_bits & 15u) {
  283. if (cached_has_bits & 0x00000001u) {
  284. command_key_.ClearNonDefaultToEmptyNoArena();
  285. }
  286. if (cached_has_bits & 0x00000002u) {
  287. GOOGLE_DCHECK(base_info_ != NULL);
  288. base_info_->Clear();
  289. }
  290. if (cached_has_bits & 0x00000004u) {
  291. GOOGLE_DCHECK(id_struct_ != NULL);
  292. id_struct_->Clear();
  293. }
  294. if (cached_has_bits & 0x00000008u) {
  295. GOOGLE_DCHECK(car_info_ != NULL);
  296. car_info_->Clear();
  297. }
  298. }
  299. _has_bits_.Clear();
  300. _internal_metadata_.Clear();
  301. }
  302. bool Notify_request_msg::MergePartialFromCodedStream(
  303. ::google::protobuf::io::CodedInputStream* input) {
  304. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  305. ::google::protobuf::uint32 tag;
  306. // @@protoc_insertion_point(parse_start:message.Notify_request_msg)
  307. for (;;) {
  308. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  309. tag = p.first;
  310. if (!p.second) goto handle_unusual;
  311. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  312. // required .message.Base_info base_info = 1;
  313. case 1: {
  314. if (static_cast< ::google::protobuf::uint8>(tag) ==
  315. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  316. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  317. input, mutable_base_info()));
  318. } else {
  319. goto handle_unusual;
  320. }
  321. break;
  322. }
  323. // required string command_key = 2;
  324. case 2: {
  325. if (static_cast< ::google::protobuf::uint8>(tag) ==
  326. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  327. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  328. input, this->mutable_command_key()));
  329. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  330. this->command_key().data(), static_cast<int>(this->command_key().length()),
  331. ::google::protobuf::internal::WireFormat::PARSE,
  332. "message.Notify_request_msg.command_key");
  333. } else {
  334. goto handle_unusual;
  335. }
  336. break;
  337. }
  338. // required .message.Id_struct id_struct = 3;
  339. case 3: {
  340. if (static_cast< ::google::protobuf::uint8>(tag) ==
  341. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  342. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  343. input, mutable_id_struct()));
  344. } else {
  345. goto handle_unusual;
  346. }
  347. break;
  348. }
  349. // required .message.Car_info car_info = 4;
  350. case 4: {
  351. if (static_cast< ::google::protobuf::uint8>(tag) ==
  352. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  353. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  354. input, mutable_car_info()));
  355. } else {
  356. goto handle_unusual;
  357. }
  358. break;
  359. }
  360. default: {
  361. handle_unusual:
  362. if (tag == 0) {
  363. goto success;
  364. }
  365. DO_(::google::protobuf::internal::WireFormat::SkipField(
  366. input, tag, _internal_metadata_.mutable_unknown_fields()));
  367. break;
  368. }
  369. }
  370. }
  371. success:
  372. // @@protoc_insertion_point(parse_success:message.Notify_request_msg)
  373. return true;
  374. failure:
  375. // @@protoc_insertion_point(parse_failure:message.Notify_request_msg)
  376. return false;
  377. #undef DO_
  378. }
  379. void Notify_request_msg::SerializeWithCachedSizes(
  380. ::google::protobuf::io::CodedOutputStream* output) const {
  381. // @@protoc_insertion_point(serialize_start:message.Notify_request_msg)
  382. ::google::protobuf::uint32 cached_has_bits = 0;
  383. (void) cached_has_bits;
  384. cached_has_bits = _has_bits_[0];
  385. // required .message.Base_info base_info = 1;
  386. if (cached_has_bits & 0x00000002u) {
  387. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  388. 1, this->_internal_base_info(), output);
  389. }
  390. // required string command_key = 2;
  391. if (cached_has_bits & 0x00000001u) {
  392. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  393. this->command_key().data(), static_cast<int>(this->command_key().length()),
  394. ::google::protobuf::internal::WireFormat::SERIALIZE,
  395. "message.Notify_request_msg.command_key");
  396. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  397. 2, this->command_key(), output);
  398. }
  399. // required .message.Id_struct id_struct = 3;
  400. if (cached_has_bits & 0x00000004u) {
  401. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  402. 3, this->_internal_id_struct(), output);
  403. }
  404. // required .message.Car_info car_info = 4;
  405. if (cached_has_bits & 0x00000008u) {
  406. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  407. 4, this->_internal_car_info(), output);
  408. }
  409. if (_internal_metadata_.have_unknown_fields()) {
  410. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  411. _internal_metadata_.unknown_fields(), output);
  412. }
  413. // @@protoc_insertion_point(serialize_end:message.Notify_request_msg)
  414. }
  415. ::google::protobuf::uint8* Notify_request_msg::InternalSerializeWithCachedSizesToArray(
  416. bool deterministic, ::google::protobuf::uint8* target) const {
  417. (void)deterministic; // Unused
  418. // @@protoc_insertion_point(serialize_to_array_start:message.Notify_request_msg)
  419. ::google::protobuf::uint32 cached_has_bits = 0;
  420. (void) cached_has_bits;
  421. cached_has_bits = _has_bits_[0];
  422. // required .message.Base_info base_info = 1;
  423. if (cached_has_bits & 0x00000002u) {
  424. target = ::google::protobuf::internal::WireFormatLite::
  425. InternalWriteMessageToArray(
  426. 1, this->_internal_base_info(), deterministic, target);
  427. }
  428. // required string command_key = 2;
  429. if (cached_has_bits & 0x00000001u) {
  430. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  431. this->command_key().data(), static_cast<int>(this->command_key().length()),
  432. ::google::protobuf::internal::WireFormat::SERIALIZE,
  433. "message.Notify_request_msg.command_key");
  434. target =
  435. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  436. 2, this->command_key(), target);
  437. }
  438. // required .message.Id_struct id_struct = 3;
  439. if (cached_has_bits & 0x00000004u) {
  440. target = ::google::protobuf::internal::WireFormatLite::
  441. InternalWriteMessageToArray(
  442. 3, this->_internal_id_struct(), deterministic, target);
  443. }
  444. // required .message.Car_info car_info = 4;
  445. if (cached_has_bits & 0x00000008u) {
  446. target = ::google::protobuf::internal::WireFormatLite::
  447. InternalWriteMessageToArray(
  448. 4, this->_internal_car_info(), deterministic, target);
  449. }
  450. if (_internal_metadata_.have_unknown_fields()) {
  451. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  452. _internal_metadata_.unknown_fields(), target);
  453. }
  454. // @@protoc_insertion_point(serialize_to_array_end:message.Notify_request_msg)
  455. return target;
  456. }
  457. size_t Notify_request_msg::RequiredFieldsByteSizeFallback() const {
  458. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Notify_request_msg)
  459. size_t total_size = 0;
  460. if (has_command_key()) {
  461. // required string command_key = 2;
  462. total_size += 1 +
  463. ::google::protobuf::internal::WireFormatLite::StringSize(
  464. this->command_key());
  465. }
  466. if (has_base_info()) {
  467. // required .message.Base_info base_info = 1;
  468. total_size += 1 +
  469. ::google::protobuf::internal::WireFormatLite::MessageSize(
  470. *base_info_);
  471. }
  472. if (has_id_struct()) {
  473. // required .message.Id_struct id_struct = 3;
  474. total_size += 1 +
  475. ::google::protobuf::internal::WireFormatLite::MessageSize(
  476. *id_struct_);
  477. }
  478. if (has_car_info()) {
  479. // required .message.Car_info car_info = 4;
  480. total_size += 1 +
  481. ::google::protobuf::internal::WireFormatLite::MessageSize(
  482. *car_info_);
  483. }
  484. return total_size;
  485. }
  486. size_t Notify_request_msg::ByteSizeLong() const {
  487. // @@protoc_insertion_point(message_byte_size_start:message.Notify_request_msg)
  488. size_t total_size = 0;
  489. if (_internal_metadata_.have_unknown_fields()) {
  490. total_size +=
  491. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  492. _internal_metadata_.unknown_fields());
  493. }
  494. if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
  495. // required string command_key = 2;
  496. total_size += 1 +
  497. ::google::protobuf::internal::WireFormatLite::StringSize(
  498. this->command_key());
  499. // required .message.Base_info base_info = 1;
  500. total_size += 1 +
  501. ::google::protobuf::internal::WireFormatLite::MessageSize(
  502. *base_info_);
  503. // required .message.Id_struct id_struct = 3;
  504. total_size += 1 +
  505. ::google::protobuf::internal::WireFormatLite::MessageSize(
  506. *id_struct_);
  507. // required .message.Car_info car_info = 4;
  508. total_size += 1 +
  509. ::google::protobuf::internal::WireFormatLite::MessageSize(
  510. *car_info_);
  511. } else {
  512. total_size += RequiredFieldsByteSizeFallback();
  513. }
  514. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  515. SetCachedSize(cached_size);
  516. return total_size;
  517. }
  518. void Notify_request_msg::MergeFrom(const ::google::protobuf::Message& from) {
  519. // @@protoc_insertion_point(generalized_merge_from_start:message.Notify_request_msg)
  520. GOOGLE_DCHECK_NE(&from, this);
  521. const Notify_request_msg* source =
  522. ::google::protobuf::internal::DynamicCastToGenerated<const Notify_request_msg>(
  523. &from);
  524. if (source == NULL) {
  525. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Notify_request_msg)
  526. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  527. } else {
  528. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Notify_request_msg)
  529. MergeFrom(*source);
  530. }
  531. }
  532. void Notify_request_msg::MergeFrom(const Notify_request_msg& from) {
  533. // @@protoc_insertion_point(class_specific_merge_from_start:message.Notify_request_msg)
  534. GOOGLE_DCHECK_NE(&from, this);
  535. _internal_metadata_.MergeFrom(from._internal_metadata_);
  536. ::google::protobuf::uint32 cached_has_bits = 0;
  537. (void) cached_has_bits;
  538. cached_has_bits = from._has_bits_[0];
  539. if (cached_has_bits & 15u) {
  540. if (cached_has_bits & 0x00000001u) {
  541. set_has_command_key();
  542. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  543. }
  544. if (cached_has_bits & 0x00000002u) {
  545. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  546. }
  547. if (cached_has_bits & 0x00000004u) {
  548. mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
  549. }
  550. if (cached_has_bits & 0x00000008u) {
  551. mutable_car_info()->::message::Car_info::MergeFrom(from.car_info());
  552. }
  553. }
  554. }
  555. void Notify_request_msg::CopyFrom(const ::google::protobuf::Message& from) {
  556. // @@protoc_insertion_point(generalized_copy_from_start:message.Notify_request_msg)
  557. if (&from == this) return;
  558. Clear();
  559. MergeFrom(from);
  560. }
  561. void Notify_request_msg::CopyFrom(const Notify_request_msg& from) {
  562. // @@protoc_insertion_point(class_specific_copy_from_start:message.Notify_request_msg)
  563. if (&from == this) return;
  564. Clear();
  565. MergeFrom(from);
  566. }
  567. bool Notify_request_msg::IsInitialized() const {
  568. if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
  569. if (has_base_info()) {
  570. if (!this->base_info_->IsInitialized()) return false;
  571. }
  572. return true;
  573. }
  574. void Notify_request_msg::Swap(Notify_request_msg* other) {
  575. if (other == this) return;
  576. InternalSwap(other);
  577. }
  578. void Notify_request_msg::InternalSwap(Notify_request_msg* other) {
  579. using std::swap;
  580. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  581. GetArenaNoVirtual());
  582. swap(base_info_, other->base_info_);
  583. swap(id_struct_, other->id_struct_);
  584. swap(car_info_, other->car_info_);
  585. swap(_has_bits_[0], other->_has_bits_[0]);
  586. _internal_metadata_.Swap(&other->_internal_metadata_);
  587. }
  588. ::google::protobuf::Metadata Notify_request_msg::GetMetadata() const {
  589. protobuf_notify_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  590. return ::protobuf_notify_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  591. }
  592. // ===================================================================
  593. void Notify_response_msg::InitAsDefaultInstance() {
  594. ::message::_Notify_response_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  595. ::message::Base_info::internal_default_instance());
  596. ::message::_Notify_response_msg_default_instance_._instance.get_mutable()->id_struct_ = const_cast< ::message::Id_struct*>(
  597. ::message::Id_struct::internal_default_instance());
  598. ::message::_Notify_response_msg_default_instance_._instance.get_mutable()->code_ = const_cast< ::message::Error_manager*>(
  599. ::message::Error_manager::internal_default_instance());
  600. }
  601. void Notify_response_msg::clear_base_info() {
  602. if (base_info_ != NULL) base_info_->Clear();
  603. clear_has_base_info();
  604. }
  605. void Notify_response_msg::clear_id_struct() {
  606. if (id_struct_ != NULL) id_struct_->Clear();
  607. clear_has_id_struct();
  608. }
  609. void Notify_response_msg::clear_code() {
  610. if (code_ != NULL) code_->Clear();
  611. clear_has_code();
  612. }
  613. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  614. const int Notify_response_msg::kBaseInfoFieldNumber;
  615. const int Notify_response_msg::kCommandKeyFieldNumber;
  616. const int Notify_response_msg::kIdStructFieldNumber;
  617. const int Notify_response_msg::kCodeFieldNumber;
  618. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  619. Notify_response_msg::Notify_response_msg()
  620. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  621. ::google::protobuf::internal::InitSCC(
  622. &protobuf_notify_5fmessage_2eproto::scc_info_Notify_response_msg.base);
  623. SharedCtor();
  624. // @@protoc_insertion_point(constructor:message.Notify_response_msg)
  625. }
  626. Notify_response_msg::Notify_response_msg(const Notify_response_msg& from)
  627. : ::google::protobuf::Message(),
  628. _internal_metadata_(NULL),
  629. _has_bits_(from._has_bits_) {
  630. _internal_metadata_.MergeFrom(from._internal_metadata_);
  631. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  632. if (from.has_command_key()) {
  633. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  634. }
  635. if (from.has_base_info()) {
  636. base_info_ = new ::message::Base_info(*from.base_info_);
  637. } else {
  638. base_info_ = NULL;
  639. }
  640. if (from.has_id_struct()) {
  641. id_struct_ = new ::message::Id_struct(*from.id_struct_);
  642. } else {
  643. id_struct_ = NULL;
  644. }
  645. if (from.has_code()) {
  646. code_ = new ::message::Error_manager(*from.code_);
  647. } else {
  648. code_ = NULL;
  649. }
  650. // @@protoc_insertion_point(copy_constructor:message.Notify_response_msg)
  651. }
  652. void Notify_response_msg::SharedCtor() {
  653. command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  654. ::memset(&base_info_, 0, static_cast<size_t>(
  655. reinterpret_cast<char*>(&code_) -
  656. reinterpret_cast<char*>(&base_info_)) + sizeof(code_));
  657. }
  658. Notify_response_msg::~Notify_response_msg() {
  659. // @@protoc_insertion_point(destructor:message.Notify_response_msg)
  660. SharedDtor();
  661. }
  662. void Notify_response_msg::SharedDtor() {
  663. command_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  664. if (this != internal_default_instance()) delete base_info_;
  665. if (this != internal_default_instance()) delete id_struct_;
  666. if (this != internal_default_instance()) delete code_;
  667. }
  668. void Notify_response_msg::SetCachedSize(int size) const {
  669. _cached_size_.Set(size);
  670. }
  671. const ::google::protobuf::Descriptor* Notify_response_msg::descriptor() {
  672. ::protobuf_notify_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  673. return ::protobuf_notify_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  674. }
  675. const Notify_response_msg& Notify_response_msg::default_instance() {
  676. ::google::protobuf::internal::InitSCC(&protobuf_notify_5fmessage_2eproto::scc_info_Notify_response_msg.base);
  677. return *internal_default_instance();
  678. }
  679. void Notify_response_msg::Clear() {
  680. // @@protoc_insertion_point(message_clear_start:message.Notify_response_msg)
  681. ::google::protobuf::uint32 cached_has_bits = 0;
  682. // Prevent compiler warnings about cached_has_bits being unused
  683. (void) cached_has_bits;
  684. cached_has_bits = _has_bits_[0];
  685. if (cached_has_bits & 15u) {
  686. if (cached_has_bits & 0x00000001u) {
  687. command_key_.ClearNonDefaultToEmptyNoArena();
  688. }
  689. if (cached_has_bits & 0x00000002u) {
  690. GOOGLE_DCHECK(base_info_ != NULL);
  691. base_info_->Clear();
  692. }
  693. if (cached_has_bits & 0x00000004u) {
  694. GOOGLE_DCHECK(id_struct_ != NULL);
  695. id_struct_->Clear();
  696. }
  697. if (cached_has_bits & 0x00000008u) {
  698. GOOGLE_DCHECK(code_ != NULL);
  699. code_->Clear();
  700. }
  701. }
  702. _has_bits_.Clear();
  703. _internal_metadata_.Clear();
  704. }
  705. bool Notify_response_msg::MergePartialFromCodedStream(
  706. ::google::protobuf::io::CodedInputStream* input) {
  707. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  708. ::google::protobuf::uint32 tag;
  709. // @@protoc_insertion_point(parse_start:message.Notify_response_msg)
  710. for (;;) {
  711. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  712. tag = p.first;
  713. if (!p.second) goto handle_unusual;
  714. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  715. // required .message.Base_info base_info = 1;
  716. case 1: {
  717. if (static_cast< ::google::protobuf::uint8>(tag) ==
  718. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  719. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  720. input, mutable_base_info()));
  721. } else {
  722. goto handle_unusual;
  723. }
  724. break;
  725. }
  726. // required string command_key = 2;
  727. case 2: {
  728. if (static_cast< ::google::protobuf::uint8>(tag) ==
  729. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  730. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  731. input, this->mutable_command_key()));
  732. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  733. this->command_key().data(), static_cast<int>(this->command_key().length()),
  734. ::google::protobuf::internal::WireFormat::PARSE,
  735. "message.Notify_response_msg.command_key");
  736. } else {
  737. goto handle_unusual;
  738. }
  739. break;
  740. }
  741. // required .message.Id_struct id_struct = 3;
  742. case 3: {
  743. if (static_cast< ::google::protobuf::uint8>(tag) ==
  744. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  745. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  746. input, mutable_id_struct()));
  747. } else {
  748. goto handle_unusual;
  749. }
  750. break;
  751. }
  752. // required .message.Error_manager code = 4;
  753. case 4: {
  754. if (static_cast< ::google::protobuf::uint8>(tag) ==
  755. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  756. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  757. input, mutable_code()));
  758. } else {
  759. goto handle_unusual;
  760. }
  761. break;
  762. }
  763. default: {
  764. handle_unusual:
  765. if (tag == 0) {
  766. goto success;
  767. }
  768. DO_(::google::protobuf::internal::WireFormat::SkipField(
  769. input, tag, _internal_metadata_.mutable_unknown_fields()));
  770. break;
  771. }
  772. }
  773. }
  774. success:
  775. // @@protoc_insertion_point(parse_success:message.Notify_response_msg)
  776. return true;
  777. failure:
  778. // @@protoc_insertion_point(parse_failure:message.Notify_response_msg)
  779. return false;
  780. #undef DO_
  781. }
  782. void Notify_response_msg::SerializeWithCachedSizes(
  783. ::google::protobuf::io::CodedOutputStream* output) const {
  784. // @@protoc_insertion_point(serialize_start:message.Notify_response_msg)
  785. ::google::protobuf::uint32 cached_has_bits = 0;
  786. (void) cached_has_bits;
  787. cached_has_bits = _has_bits_[0];
  788. // required .message.Base_info base_info = 1;
  789. if (cached_has_bits & 0x00000002u) {
  790. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  791. 1, this->_internal_base_info(), output);
  792. }
  793. // required string command_key = 2;
  794. if (cached_has_bits & 0x00000001u) {
  795. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  796. this->command_key().data(), static_cast<int>(this->command_key().length()),
  797. ::google::protobuf::internal::WireFormat::SERIALIZE,
  798. "message.Notify_response_msg.command_key");
  799. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  800. 2, this->command_key(), output);
  801. }
  802. // required .message.Id_struct id_struct = 3;
  803. if (cached_has_bits & 0x00000004u) {
  804. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  805. 3, this->_internal_id_struct(), output);
  806. }
  807. // required .message.Error_manager code = 4;
  808. if (cached_has_bits & 0x00000008u) {
  809. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  810. 4, this->_internal_code(), output);
  811. }
  812. if (_internal_metadata_.have_unknown_fields()) {
  813. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  814. _internal_metadata_.unknown_fields(), output);
  815. }
  816. // @@protoc_insertion_point(serialize_end:message.Notify_response_msg)
  817. }
  818. ::google::protobuf::uint8* Notify_response_msg::InternalSerializeWithCachedSizesToArray(
  819. bool deterministic, ::google::protobuf::uint8* target) const {
  820. (void)deterministic; // Unused
  821. // @@protoc_insertion_point(serialize_to_array_start:message.Notify_response_msg)
  822. ::google::protobuf::uint32 cached_has_bits = 0;
  823. (void) cached_has_bits;
  824. cached_has_bits = _has_bits_[0];
  825. // required .message.Base_info base_info = 1;
  826. if (cached_has_bits & 0x00000002u) {
  827. target = ::google::protobuf::internal::WireFormatLite::
  828. InternalWriteMessageToArray(
  829. 1, this->_internal_base_info(), deterministic, target);
  830. }
  831. // required string command_key = 2;
  832. if (cached_has_bits & 0x00000001u) {
  833. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  834. this->command_key().data(), static_cast<int>(this->command_key().length()),
  835. ::google::protobuf::internal::WireFormat::SERIALIZE,
  836. "message.Notify_response_msg.command_key");
  837. target =
  838. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  839. 2, this->command_key(), target);
  840. }
  841. // required .message.Id_struct id_struct = 3;
  842. if (cached_has_bits & 0x00000004u) {
  843. target = ::google::protobuf::internal::WireFormatLite::
  844. InternalWriteMessageToArray(
  845. 3, this->_internal_id_struct(), deterministic, target);
  846. }
  847. // required .message.Error_manager code = 4;
  848. if (cached_has_bits & 0x00000008u) {
  849. target = ::google::protobuf::internal::WireFormatLite::
  850. InternalWriteMessageToArray(
  851. 4, this->_internal_code(), deterministic, target);
  852. }
  853. if (_internal_metadata_.have_unknown_fields()) {
  854. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  855. _internal_metadata_.unknown_fields(), target);
  856. }
  857. // @@protoc_insertion_point(serialize_to_array_end:message.Notify_response_msg)
  858. return target;
  859. }
  860. size_t Notify_response_msg::RequiredFieldsByteSizeFallback() const {
  861. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Notify_response_msg)
  862. size_t total_size = 0;
  863. if (has_command_key()) {
  864. // required string command_key = 2;
  865. total_size += 1 +
  866. ::google::protobuf::internal::WireFormatLite::StringSize(
  867. this->command_key());
  868. }
  869. if (has_base_info()) {
  870. // required .message.Base_info base_info = 1;
  871. total_size += 1 +
  872. ::google::protobuf::internal::WireFormatLite::MessageSize(
  873. *base_info_);
  874. }
  875. if (has_id_struct()) {
  876. // required .message.Id_struct id_struct = 3;
  877. total_size += 1 +
  878. ::google::protobuf::internal::WireFormatLite::MessageSize(
  879. *id_struct_);
  880. }
  881. if (has_code()) {
  882. // required .message.Error_manager code = 4;
  883. total_size += 1 +
  884. ::google::protobuf::internal::WireFormatLite::MessageSize(
  885. *code_);
  886. }
  887. return total_size;
  888. }
  889. size_t Notify_response_msg::ByteSizeLong() const {
  890. // @@protoc_insertion_point(message_byte_size_start:message.Notify_response_msg)
  891. size_t total_size = 0;
  892. if (_internal_metadata_.have_unknown_fields()) {
  893. total_size +=
  894. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  895. _internal_metadata_.unknown_fields());
  896. }
  897. if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
  898. // required string command_key = 2;
  899. total_size += 1 +
  900. ::google::protobuf::internal::WireFormatLite::StringSize(
  901. this->command_key());
  902. // required .message.Base_info base_info = 1;
  903. total_size += 1 +
  904. ::google::protobuf::internal::WireFormatLite::MessageSize(
  905. *base_info_);
  906. // required .message.Id_struct id_struct = 3;
  907. total_size += 1 +
  908. ::google::protobuf::internal::WireFormatLite::MessageSize(
  909. *id_struct_);
  910. // required .message.Error_manager code = 4;
  911. total_size += 1 +
  912. ::google::protobuf::internal::WireFormatLite::MessageSize(
  913. *code_);
  914. } else {
  915. total_size += RequiredFieldsByteSizeFallback();
  916. }
  917. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  918. SetCachedSize(cached_size);
  919. return total_size;
  920. }
  921. void Notify_response_msg::MergeFrom(const ::google::protobuf::Message& from) {
  922. // @@protoc_insertion_point(generalized_merge_from_start:message.Notify_response_msg)
  923. GOOGLE_DCHECK_NE(&from, this);
  924. const Notify_response_msg* source =
  925. ::google::protobuf::internal::DynamicCastToGenerated<const Notify_response_msg>(
  926. &from);
  927. if (source == NULL) {
  928. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Notify_response_msg)
  929. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  930. } else {
  931. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Notify_response_msg)
  932. MergeFrom(*source);
  933. }
  934. }
  935. void Notify_response_msg::MergeFrom(const Notify_response_msg& from) {
  936. // @@protoc_insertion_point(class_specific_merge_from_start:message.Notify_response_msg)
  937. GOOGLE_DCHECK_NE(&from, this);
  938. _internal_metadata_.MergeFrom(from._internal_metadata_);
  939. ::google::protobuf::uint32 cached_has_bits = 0;
  940. (void) cached_has_bits;
  941. cached_has_bits = from._has_bits_[0];
  942. if (cached_has_bits & 15u) {
  943. if (cached_has_bits & 0x00000001u) {
  944. set_has_command_key();
  945. command_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_key_);
  946. }
  947. if (cached_has_bits & 0x00000002u) {
  948. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  949. }
  950. if (cached_has_bits & 0x00000004u) {
  951. mutable_id_struct()->::message::Id_struct::MergeFrom(from.id_struct());
  952. }
  953. if (cached_has_bits & 0x00000008u) {
  954. mutable_code()->::message::Error_manager::MergeFrom(from.code());
  955. }
  956. }
  957. }
  958. void Notify_response_msg::CopyFrom(const ::google::protobuf::Message& from) {
  959. // @@protoc_insertion_point(generalized_copy_from_start:message.Notify_response_msg)
  960. if (&from == this) return;
  961. Clear();
  962. MergeFrom(from);
  963. }
  964. void Notify_response_msg::CopyFrom(const Notify_response_msg& from) {
  965. // @@protoc_insertion_point(class_specific_copy_from_start:message.Notify_response_msg)
  966. if (&from == this) return;
  967. Clear();
  968. MergeFrom(from);
  969. }
  970. bool Notify_response_msg::IsInitialized() const {
  971. if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
  972. if (has_base_info()) {
  973. if (!this->base_info_->IsInitialized()) return false;
  974. }
  975. if (has_code()) {
  976. if (!this->code_->IsInitialized()) return false;
  977. }
  978. return true;
  979. }
  980. void Notify_response_msg::Swap(Notify_response_msg* other) {
  981. if (other == this) return;
  982. InternalSwap(other);
  983. }
  984. void Notify_response_msg::InternalSwap(Notify_response_msg* other) {
  985. using std::swap;
  986. command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  987. GetArenaNoVirtual());
  988. swap(base_info_, other->base_info_);
  989. swap(id_struct_, other->id_struct_);
  990. swap(code_, other->code_);
  991. swap(_has_bits_[0], other->_has_bits_[0]);
  992. _internal_metadata_.Swap(&other->_internal_metadata_);
  993. }
  994. ::google::protobuf::Metadata Notify_response_msg::GetMetadata() const {
  995. protobuf_notify_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  996. return ::protobuf_notify_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  997. }
  998. // ===================================================================
  999. void Notify_status_msg::InitAsDefaultInstance() {
  1000. ::message::_Notify_status_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  1001. ::message::Base_info::internal_default_instance());
  1002. ::message::_Notify_status_msg_default_instance_._instance.get_mutable()->channel_ = const_cast< ::message::Id_struct*>(
  1003. ::message::Id_struct::internal_default_instance());
  1004. ::message::_Notify_status_msg_default_instance_._instance.get_mutable()->error_manager_ = const_cast< ::message::Error_manager*>(
  1005. ::message::Error_manager::internal_default_instance());
  1006. }
  1007. void Notify_status_msg::clear_base_info() {
  1008. if (base_info_ != NULL) base_info_->Clear();
  1009. clear_has_base_info();
  1010. }
  1011. void Notify_status_msg::clear_channel() {
  1012. if (channel_ != NULL) channel_->Clear();
  1013. clear_has_channel();
  1014. }
  1015. void Notify_status_msg::clear_error_manager() {
  1016. if (error_manager_ != NULL) error_manager_->Clear();
  1017. clear_has_error_manager();
  1018. }
  1019. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1020. const int Notify_status_msg::kBaseInfoFieldNumber;
  1021. const int Notify_status_msg::kChannelFieldNumber;
  1022. const int Notify_status_msg::kErrorManagerFieldNumber;
  1023. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1024. Notify_status_msg::Notify_status_msg()
  1025. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1026. ::google::protobuf::internal::InitSCC(
  1027. &protobuf_notify_5fmessage_2eproto::scc_info_Notify_status_msg.base);
  1028. SharedCtor();
  1029. // @@protoc_insertion_point(constructor:message.Notify_status_msg)
  1030. }
  1031. Notify_status_msg::Notify_status_msg(const Notify_status_msg& from)
  1032. : ::google::protobuf::Message(),
  1033. _internal_metadata_(NULL),
  1034. _has_bits_(from._has_bits_) {
  1035. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1036. if (from.has_base_info()) {
  1037. base_info_ = new ::message::Base_info(*from.base_info_);
  1038. } else {
  1039. base_info_ = NULL;
  1040. }
  1041. if (from.has_channel()) {
  1042. channel_ = new ::message::Id_struct(*from.channel_);
  1043. } else {
  1044. channel_ = NULL;
  1045. }
  1046. if (from.has_error_manager()) {
  1047. error_manager_ = new ::message::Error_manager(*from.error_manager_);
  1048. } else {
  1049. error_manager_ = NULL;
  1050. }
  1051. // @@protoc_insertion_point(copy_constructor:message.Notify_status_msg)
  1052. }
  1053. void Notify_status_msg::SharedCtor() {
  1054. ::memset(&base_info_, 0, static_cast<size_t>(
  1055. reinterpret_cast<char*>(&error_manager_) -
  1056. reinterpret_cast<char*>(&base_info_)) + sizeof(error_manager_));
  1057. }
  1058. Notify_status_msg::~Notify_status_msg() {
  1059. // @@protoc_insertion_point(destructor:message.Notify_status_msg)
  1060. SharedDtor();
  1061. }
  1062. void Notify_status_msg::SharedDtor() {
  1063. if (this != internal_default_instance()) delete base_info_;
  1064. if (this != internal_default_instance()) delete channel_;
  1065. if (this != internal_default_instance()) delete error_manager_;
  1066. }
  1067. void Notify_status_msg::SetCachedSize(int size) const {
  1068. _cached_size_.Set(size);
  1069. }
  1070. const ::google::protobuf::Descriptor* Notify_status_msg::descriptor() {
  1071. ::protobuf_notify_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1072. return ::protobuf_notify_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1073. }
  1074. const Notify_status_msg& Notify_status_msg::default_instance() {
  1075. ::google::protobuf::internal::InitSCC(&protobuf_notify_5fmessage_2eproto::scc_info_Notify_status_msg.base);
  1076. return *internal_default_instance();
  1077. }
  1078. void Notify_status_msg::Clear() {
  1079. // @@protoc_insertion_point(message_clear_start:message.Notify_status_msg)
  1080. ::google::protobuf::uint32 cached_has_bits = 0;
  1081. // Prevent compiler warnings about cached_has_bits being unused
  1082. (void) cached_has_bits;
  1083. cached_has_bits = _has_bits_[0];
  1084. if (cached_has_bits & 7u) {
  1085. if (cached_has_bits & 0x00000001u) {
  1086. GOOGLE_DCHECK(base_info_ != NULL);
  1087. base_info_->Clear();
  1088. }
  1089. if (cached_has_bits & 0x00000002u) {
  1090. GOOGLE_DCHECK(channel_ != NULL);
  1091. channel_->Clear();
  1092. }
  1093. if (cached_has_bits & 0x00000004u) {
  1094. GOOGLE_DCHECK(error_manager_ != NULL);
  1095. error_manager_->Clear();
  1096. }
  1097. }
  1098. _has_bits_.Clear();
  1099. _internal_metadata_.Clear();
  1100. }
  1101. bool Notify_status_msg::MergePartialFromCodedStream(
  1102. ::google::protobuf::io::CodedInputStream* input) {
  1103. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1104. ::google::protobuf::uint32 tag;
  1105. // @@protoc_insertion_point(parse_start:message.Notify_status_msg)
  1106. for (;;) {
  1107. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1108. tag = p.first;
  1109. if (!p.second) goto handle_unusual;
  1110. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1111. // required .message.Base_info base_info = 1;
  1112. case 1: {
  1113. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1114. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1115. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1116. input, mutable_base_info()));
  1117. } else {
  1118. goto handle_unusual;
  1119. }
  1120. break;
  1121. }
  1122. // required .message.Id_struct channel = 2;
  1123. case 2: {
  1124. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1125. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1126. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1127. input, mutable_channel()));
  1128. } else {
  1129. goto handle_unusual;
  1130. }
  1131. break;
  1132. }
  1133. // required .message.Error_manager error_manager = 3;
  1134. case 3: {
  1135. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1136. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  1137. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1138. input, mutable_error_manager()));
  1139. } else {
  1140. goto handle_unusual;
  1141. }
  1142. break;
  1143. }
  1144. default: {
  1145. handle_unusual:
  1146. if (tag == 0) {
  1147. goto success;
  1148. }
  1149. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1150. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1151. break;
  1152. }
  1153. }
  1154. }
  1155. success:
  1156. // @@protoc_insertion_point(parse_success:message.Notify_status_msg)
  1157. return true;
  1158. failure:
  1159. // @@protoc_insertion_point(parse_failure:message.Notify_status_msg)
  1160. return false;
  1161. #undef DO_
  1162. }
  1163. void Notify_status_msg::SerializeWithCachedSizes(
  1164. ::google::protobuf::io::CodedOutputStream* output) const {
  1165. // @@protoc_insertion_point(serialize_start:message.Notify_status_msg)
  1166. ::google::protobuf::uint32 cached_has_bits = 0;
  1167. (void) cached_has_bits;
  1168. cached_has_bits = _has_bits_[0];
  1169. // required .message.Base_info base_info = 1;
  1170. if (cached_has_bits & 0x00000001u) {
  1171. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1172. 1, this->_internal_base_info(), output);
  1173. }
  1174. // required .message.Id_struct channel = 2;
  1175. if (cached_has_bits & 0x00000002u) {
  1176. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1177. 2, this->_internal_channel(), output);
  1178. }
  1179. // required .message.Error_manager error_manager = 3;
  1180. if (cached_has_bits & 0x00000004u) {
  1181. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1182. 3, this->_internal_error_manager(), output);
  1183. }
  1184. if (_internal_metadata_.have_unknown_fields()) {
  1185. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1186. _internal_metadata_.unknown_fields(), output);
  1187. }
  1188. // @@protoc_insertion_point(serialize_end:message.Notify_status_msg)
  1189. }
  1190. ::google::protobuf::uint8* Notify_status_msg::InternalSerializeWithCachedSizesToArray(
  1191. bool deterministic, ::google::protobuf::uint8* target) const {
  1192. (void)deterministic; // Unused
  1193. // @@protoc_insertion_point(serialize_to_array_start:message.Notify_status_msg)
  1194. ::google::protobuf::uint32 cached_has_bits = 0;
  1195. (void) cached_has_bits;
  1196. cached_has_bits = _has_bits_[0];
  1197. // required .message.Base_info base_info = 1;
  1198. if (cached_has_bits & 0x00000001u) {
  1199. target = ::google::protobuf::internal::WireFormatLite::
  1200. InternalWriteMessageToArray(
  1201. 1, this->_internal_base_info(), deterministic, target);
  1202. }
  1203. // required .message.Id_struct channel = 2;
  1204. if (cached_has_bits & 0x00000002u) {
  1205. target = ::google::protobuf::internal::WireFormatLite::
  1206. InternalWriteMessageToArray(
  1207. 2, this->_internal_channel(), deterministic, target);
  1208. }
  1209. // required .message.Error_manager error_manager = 3;
  1210. if (cached_has_bits & 0x00000004u) {
  1211. target = ::google::protobuf::internal::WireFormatLite::
  1212. InternalWriteMessageToArray(
  1213. 3, this->_internal_error_manager(), deterministic, target);
  1214. }
  1215. if (_internal_metadata_.have_unknown_fields()) {
  1216. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1217. _internal_metadata_.unknown_fields(), target);
  1218. }
  1219. // @@protoc_insertion_point(serialize_to_array_end:message.Notify_status_msg)
  1220. return target;
  1221. }
  1222. size_t Notify_status_msg::RequiredFieldsByteSizeFallback() const {
  1223. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Notify_status_msg)
  1224. size_t total_size = 0;
  1225. if (has_base_info()) {
  1226. // required .message.Base_info base_info = 1;
  1227. total_size += 1 +
  1228. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1229. *base_info_);
  1230. }
  1231. if (has_channel()) {
  1232. // required .message.Id_struct channel = 2;
  1233. total_size += 1 +
  1234. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1235. *channel_);
  1236. }
  1237. if (has_error_manager()) {
  1238. // required .message.Error_manager error_manager = 3;
  1239. total_size += 1 +
  1240. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1241. *error_manager_);
  1242. }
  1243. return total_size;
  1244. }
  1245. size_t Notify_status_msg::ByteSizeLong() const {
  1246. // @@protoc_insertion_point(message_byte_size_start:message.Notify_status_msg)
  1247. size_t total_size = 0;
  1248. if (_internal_metadata_.have_unknown_fields()) {
  1249. total_size +=
  1250. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1251. _internal_metadata_.unknown_fields());
  1252. }
  1253. if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present.
  1254. // required .message.Base_info base_info = 1;
  1255. total_size += 1 +
  1256. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1257. *base_info_);
  1258. // required .message.Id_struct channel = 2;
  1259. total_size += 1 +
  1260. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1261. *channel_);
  1262. // required .message.Error_manager error_manager = 3;
  1263. total_size += 1 +
  1264. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1265. *error_manager_);
  1266. } else {
  1267. total_size += RequiredFieldsByteSizeFallback();
  1268. }
  1269. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1270. SetCachedSize(cached_size);
  1271. return total_size;
  1272. }
  1273. void Notify_status_msg::MergeFrom(const ::google::protobuf::Message& from) {
  1274. // @@protoc_insertion_point(generalized_merge_from_start:message.Notify_status_msg)
  1275. GOOGLE_DCHECK_NE(&from, this);
  1276. const Notify_status_msg* source =
  1277. ::google::protobuf::internal::DynamicCastToGenerated<const Notify_status_msg>(
  1278. &from);
  1279. if (source == NULL) {
  1280. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Notify_status_msg)
  1281. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1282. } else {
  1283. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Notify_status_msg)
  1284. MergeFrom(*source);
  1285. }
  1286. }
  1287. void Notify_status_msg::MergeFrom(const Notify_status_msg& from) {
  1288. // @@protoc_insertion_point(class_specific_merge_from_start:message.Notify_status_msg)
  1289. GOOGLE_DCHECK_NE(&from, this);
  1290. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1291. ::google::protobuf::uint32 cached_has_bits = 0;
  1292. (void) cached_has_bits;
  1293. cached_has_bits = from._has_bits_[0];
  1294. if (cached_has_bits & 7u) {
  1295. if (cached_has_bits & 0x00000001u) {
  1296. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  1297. }
  1298. if (cached_has_bits & 0x00000002u) {
  1299. mutable_channel()->::message::Id_struct::MergeFrom(from.channel());
  1300. }
  1301. if (cached_has_bits & 0x00000004u) {
  1302. mutable_error_manager()->::message::Error_manager::MergeFrom(from.error_manager());
  1303. }
  1304. }
  1305. }
  1306. void Notify_status_msg::CopyFrom(const ::google::protobuf::Message& from) {
  1307. // @@protoc_insertion_point(generalized_copy_from_start:message.Notify_status_msg)
  1308. if (&from == this) return;
  1309. Clear();
  1310. MergeFrom(from);
  1311. }
  1312. void Notify_status_msg::CopyFrom(const Notify_status_msg& from) {
  1313. // @@protoc_insertion_point(class_specific_copy_from_start:message.Notify_status_msg)
  1314. if (&from == this) return;
  1315. Clear();
  1316. MergeFrom(from);
  1317. }
  1318. bool Notify_status_msg::IsInitialized() const {
  1319. if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  1320. if (has_base_info()) {
  1321. if (!this->base_info_->IsInitialized()) return false;
  1322. }
  1323. if (has_error_manager()) {
  1324. if (!this->error_manager_->IsInitialized()) return false;
  1325. }
  1326. return true;
  1327. }
  1328. void Notify_status_msg::Swap(Notify_status_msg* other) {
  1329. if (other == this) return;
  1330. InternalSwap(other);
  1331. }
  1332. void Notify_status_msg::InternalSwap(Notify_status_msg* other) {
  1333. using std::swap;
  1334. swap(base_info_, other->base_info_);
  1335. swap(channel_, other->channel_);
  1336. swap(error_manager_, other->error_manager_);
  1337. swap(_has_bits_[0], other->_has_bits_[0]);
  1338. _internal_metadata_.Swap(&other->_internal_metadata_);
  1339. }
  1340. ::google::protobuf::Metadata Notify_status_msg::GetMetadata() const {
  1341. protobuf_notify_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1342. return ::protobuf_notify_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  1343. }
  1344. // @@protoc_insertion_point(namespace_scope)
  1345. } // namespace message
  1346. namespace google {
  1347. namespace protobuf {
  1348. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Notify_request_msg* Arena::CreateMaybeMessage< ::message::Notify_request_msg >(Arena* arena) {
  1349. return Arena::CreateInternal< ::message::Notify_request_msg >(arena);
  1350. }
  1351. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Notify_response_msg* Arena::CreateMaybeMessage< ::message::Notify_response_msg >(Arena* arena) {
  1352. return Arena::CreateInternal< ::message::Notify_response_msg >(arena);
  1353. }
  1354. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Notify_status_msg* Arena::CreateMaybeMessage< ::message::Notify_status_msg >(Arena* arena) {
  1355. return Arena::CreateInternal< ::message::Notify_status_msg >(arena);
  1356. }
  1357. } // namespace protobuf
  1358. } // namespace google
  1359. // @@protoc_insertion_point(global_scope)