notify_message.pb.h 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: notify_message.proto
  3. #ifndef PROTOBUF_INCLUDED_notify_5fmessage_2eproto
  4. #define PROTOBUF_INCLUDED_notify_5fmessage_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/unknown_field_set.h>
  28. #include "message_base.pb.h"
  29. // @@protoc_insertion_point(includes)
  30. #define PROTOBUF_INTERNAL_EXPORT_protobuf_notify_5fmessage_2eproto
  31. namespace protobuf_notify_5fmessage_2eproto {
  32. // Internal implementation detail -- do not use these members.
  33. struct TableStruct {
  34. static const ::google::protobuf::internal::ParseTableField entries[];
  35. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  36. static const ::google::protobuf::internal::ParseTable schema[3];
  37. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  38. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  39. static const ::google::protobuf::uint32 offsets[];
  40. };
  41. void AddDescriptors();
  42. } // namespace protobuf_notify_5fmessage_2eproto
  43. namespace message {
  44. class Notify_request_msg;
  45. class Notify_request_msgDefaultTypeInternal;
  46. extern Notify_request_msgDefaultTypeInternal _Notify_request_msg_default_instance_;
  47. class Notify_response_msg;
  48. class Notify_response_msgDefaultTypeInternal;
  49. extern Notify_response_msgDefaultTypeInternal _Notify_response_msg_default_instance_;
  50. class Notify_status_msg;
  51. class Notify_status_msgDefaultTypeInternal;
  52. extern Notify_status_msgDefaultTypeInternal _Notify_status_msg_default_instance_;
  53. } // namespace message
  54. namespace google {
  55. namespace protobuf {
  56. template<> ::message::Notify_request_msg* Arena::CreateMaybeMessage<::message::Notify_request_msg>(Arena*);
  57. template<> ::message::Notify_response_msg* Arena::CreateMaybeMessage<::message::Notify_response_msg>(Arena*);
  58. template<> ::message::Notify_status_msg* Arena::CreateMaybeMessage<::message::Notify_status_msg>(Arena*);
  59. } // namespace protobuf
  60. } // namespace google
  61. namespace message {
  62. // ===================================================================
  63. class Notify_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Notify_request_msg) */ {
  64. public:
  65. Notify_request_msg();
  66. virtual ~Notify_request_msg();
  67. Notify_request_msg(const Notify_request_msg& from);
  68. inline Notify_request_msg& operator=(const Notify_request_msg& from) {
  69. CopyFrom(from);
  70. return *this;
  71. }
  72. #if LANG_CXX11
  73. Notify_request_msg(Notify_request_msg&& from) noexcept
  74. : Notify_request_msg() {
  75. *this = ::std::move(from);
  76. }
  77. inline Notify_request_msg& operator=(Notify_request_msg&& from) noexcept {
  78. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  79. if (this != &from) InternalSwap(&from);
  80. } else {
  81. CopyFrom(from);
  82. }
  83. return *this;
  84. }
  85. #endif
  86. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  87. return _internal_metadata_.unknown_fields();
  88. }
  89. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  90. return _internal_metadata_.mutable_unknown_fields();
  91. }
  92. static const ::google::protobuf::Descriptor* descriptor();
  93. static const Notify_request_msg& default_instance();
  94. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  95. static inline const Notify_request_msg* internal_default_instance() {
  96. return reinterpret_cast<const Notify_request_msg*>(
  97. &_Notify_request_msg_default_instance_);
  98. }
  99. static constexpr int kIndexInFileMessages =
  100. 0;
  101. void Swap(Notify_request_msg* other);
  102. friend void swap(Notify_request_msg& a, Notify_request_msg& b) {
  103. a.Swap(&b);
  104. }
  105. // implements Message ----------------------------------------------
  106. inline Notify_request_msg* New() const final {
  107. return CreateMaybeMessage<Notify_request_msg>(NULL);
  108. }
  109. Notify_request_msg* New(::google::protobuf::Arena* arena) const final {
  110. return CreateMaybeMessage<Notify_request_msg>(arena);
  111. }
  112. void CopyFrom(const ::google::protobuf::Message& from) final;
  113. void MergeFrom(const ::google::protobuf::Message& from) final;
  114. void CopyFrom(const Notify_request_msg& from);
  115. void MergeFrom(const Notify_request_msg& from);
  116. void Clear() final;
  117. bool IsInitialized() const final;
  118. size_t ByteSizeLong() const final;
  119. bool MergePartialFromCodedStream(
  120. ::google::protobuf::io::CodedInputStream* input) final;
  121. void SerializeWithCachedSizes(
  122. ::google::protobuf::io::CodedOutputStream* output) const final;
  123. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  124. bool deterministic, ::google::protobuf::uint8* target) const final;
  125. int GetCachedSize() const final { return _cached_size_.Get(); }
  126. private:
  127. void SharedCtor();
  128. void SharedDtor();
  129. void SetCachedSize(int size) const final;
  130. void InternalSwap(Notify_request_msg* other);
  131. private:
  132. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  133. return NULL;
  134. }
  135. inline void* MaybeArenaPtr() const {
  136. return NULL;
  137. }
  138. public:
  139. ::google::protobuf::Metadata GetMetadata() const final;
  140. // nested types ----------------------------------------------------
  141. // accessors -------------------------------------------------------
  142. // required string command_key = 2;
  143. bool has_command_key() const;
  144. void clear_command_key();
  145. static const int kCommandKeyFieldNumber = 2;
  146. const ::std::string& command_key() const;
  147. void set_command_key(const ::std::string& value);
  148. #if LANG_CXX11
  149. void set_command_key(::std::string&& value);
  150. #endif
  151. void set_command_key(const char* value);
  152. void set_command_key(const char* value, size_t size);
  153. ::std::string* mutable_command_key();
  154. ::std::string* release_command_key();
  155. void set_allocated_command_key(::std::string* command_key);
  156. // required .message.Base_info base_info = 1;
  157. bool has_base_info() const;
  158. void clear_base_info();
  159. static const int kBaseInfoFieldNumber = 1;
  160. private:
  161. const ::message::Base_info& _internal_base_info() const;
  162. public:
  163. const ::message::Base_info& base_info() const;
  164. ::message::Base_info* release_base_info();
  165. ::message::Base_info* mutable_base_info();
  166. void set_allocated_base_info(::message::Base_info* base_info);
  167. // required .message.Id_struct id_struct = 3;
  168. bool has_id_struct() const;
  169. void clear_id_struct();
  170. static const int kIdStructFieldNumber = 3;
  171. private:
  172. const ::message::Id_struct& _internal_id_struct() const;
  173. public:
  174. const ::message::Id_struct& id_struct() const;
  175. ::message::Id_struct* release_id_struct();
  176. ::message::Id_struct* mutable_id_struct();
  177. void set_allocated_id_struct(::message::Id_struct* id_struct);
  178. // required .message.Car_info car_info = 4;
  179. bool has_car_info() const;
  180. void clear_car_info();
  181. static const int kCarInfoFieldNumber = 4;
  182. private:
  183. const ::message::Car_info& _internal_car_info() const;
  184. public:
  185. const ::message::Car_info& car_info() const;
  186. ::message::Car_info* release_car_info();
  187. ::message::Car_info* mutable_car_info();
  188. void set_allocated_car_info(::message::Car_info* car_info);
  189. // @@protoc_insertion_point(class_scope:message.Notify_request_msg)
  190. private:
  191. void set_has_base_info();
  192. void clear_has_base_info();
  193. void set_has_command_key();
  194. void clear_has_command_key();
  195. void set_has_id_struct();
  196. void clear_has_id_struct();
  197. void set_has_car_info();
  198. void clear_has_car_info();
  199. // helper for ByteSizeLong()
  200. size_t RequiredFieldsByteSizeFallback() const;
  201. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  202. ::google::protobuf::internal::HasBits<1> _has_bits_;
  203. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  204. ::google::protobuf::internal::ArenaStringPtr command_key_;
  205. ::message::Base_info* base_info_;
  206. ::message::Id_struct* id_struct_;
  207. ::message::Car_info* car_info_;
  208. friend struct ::protobuf_notify_5fmessage_2eproto::TableStruct;
  209. };
  210. // -------------------------------------------------------------------
  211. class Notify_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Notify_response_msg) */ {
  212. public:
  213. Notify_response_msg();
  214. virtual ~Notify_response_msg();
  215. Notify_response_msg(const Notify_response_msg& from);
  216. inline Notify_response_msg& operator=(const Notify_response_msg& from) {
  217. CopyFrom(from);
  218. return *this;
  219. }
  220. #if LANG_CXX11
  221. Notify_response_msg(Notify_response_msg&& from) noexcept
  222. : Notify_response_msg() {
  223. *this = ::std::move(from);
  224. }
  225. inline Notify_response_msg& operator=(Notify_response_msg&& from) noexcept {
  226. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  227. if (this != &from) InternalSwap(&from);
  228. } else {
  229. CopyFrom(from);
  230. }
  231. return *this;
  232. }
  233. #endif
  234. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  235. return _internal_metadata_.unknown_fields();
  236. }
  237. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  238. return _internal_metadata_.mutable_unknown_fields();
  239. }
  240. static const ::google::protobuf::Descriptor* descriptor();
  241. static const Notify_response_msg& default_instance();
  242. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  243. static inline const Notify_response_msg* internal_default_instance() {
  244. return reinterpret_cast<const Notify_response_msg*>(
  245. &_Notify_response_msg_default_instance_);
  246. }
  247. static constexpr int kIndexInFileMessages =
  248. 1;
  249. void Swap(Notify_response_msg* other);
  250. friend void swap(Notify_response_msg& a, Notify_response_msg& b) {
  251. a.Swap(&b);
  252. }
  253. // implements Message ----------------------------------------------
  254. inline Notify_response_msg* New() const final {
  255. return CreateMaybeMessage<Notify_response_msg>(NULL);
  256. }
  257. Notify_response_msg* New(::google::protobuf::Arena* arena) const final {
  258. return CreateMaybeMessage<Notify_response_msg>(arena);
  259. }
  260. void CopyFrom(const ::google::protobuf::Message& from) final;
  261. void MergeFrom(const ::google::protobuf::Message& from) final;
  262. void CopyFrom(const Notify_response_msg& from);
  263. void MergeFrom(const Notify_response_msg& from);
  264. void Clear() final;
  265. bool IsInitialized() const final;
  266. size_t ByteSizeLong() const final;
  267. bool MergePartialFromCodedStream(
  268. ::google::protobuf::io::CodedInputStream* input) final;
  269. void SerializeWithCachedSizes(
  270. ::google::protobuf::io::CodedOutputStream* output) const final;
  271. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  272. bool deterministic, ::google::protobuf::uint8* target) const final;
  273. int GetCachedSize() const final { return _cached_size_.Get(); }
  274. private:
  275. void SharedCtor();
  276. void SharedDtor();
  277. void SetCachedSize(int size) const final;
  278. void InternalSwap(Notify_response_msg* other);
  279. private:
  280. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  281. return NULL;
  282. }
  283. inline void* MaybeArenaPtr() const {
  284. return NULL;
  285. }
  286. public:
  287. ::google::protobuf::Metadata GetMetadata() const final;
  288. // nested types ----------------------------------------------------
  289. // accessors -------------------------------------------------------
  290. // required string command_key = 2;
  291. bool has_command_key() const;
  292. void clear_command_key();
  293. static const int kCommandKeyFieldNumber = 2;
  294. const ::std::string& command_key() const;
  295. void set_command_key(const ::std::string& value);
  296. #if LANG_CXX11
  297. void set_command_key(::std::string&& value);
  298. #endif
  299. void set_command_key(const char* value);
  300. void set_command_key(const char* value, size_t size);
  301. ::std::string* mutable_command_key();
  302. ::std::string* release_command_key();
  303. void set_allocated_command_key(::std::string* command_key);
  304. // required .message.Base_info base_info = 1;
  305. bool has_base_info() const;
  306. void clear_base_info();
  307. static const int kBaseInfoFieldNumber = 1;
  308. private:
  309. const ::message::Base_info& _internal_base_info() const;
  310. public:
  311. const ::message::Base_info& base_info() const;
  312. ::message::Base_info* release_base_info();
  313. ::message::Base_info* mutable_base_info();
  314. void set_allocated_base_info(::message::Base_info* base_info);
  315. // required .message.Id_struct id_struct = 3;
  316. bool has_id_struct() const;
  317. void clear_id_struct();
  318. static const int kIdStructFieldNumber = 3;
  319. private:
  320. const ::message::Id_struct& _internal_id_struct() const;
  321. public:
  322. const ::message::Id_struct& id_struct() const;
  323. ::message::Id_struct* release_id_struct();
  324. ::message::Id_struct* mutable_id_struct();
  325. void set_allocated_id_struct(::message::Id_struct* id_struct);
  326. // required .message.Error_manager code = 4;
  327. bool has_code() const;
  328. void clear_code();
  329. static const int kCodeFieldNumber = 4;
  330. private:
  331. const ::message::Error_manager& _internal_code() const;
  332. public:
  333. const ::message::Error_manager& code() const;
  334. ::message::Error_manager* release_code();
  335. ::message::Error_manager* mutable_code();
  336. void set_allocated_code(::message::Error_manager* code);
  337. // @@protoc_insertion_point(class_scope:message.Notify_response_msg)
  338. private:
  339. void set_has_base_info();
  340. void clear_has_base_info();
  341. void set_has_command_key();
  342. void clear_has_command_key();
  343. void set_has_id_struct();
  344. void clear_has_id_struct();
  345. void set_has_code();
  346. void clear_has_code();
  347. // helper for ByteSizeLong()
  348. size_t RequiredFieldsByteSizeFallback() const;
  349. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  350. ::google::protobuf::internal::HasBits<1> _has_bits_;
  351. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  352. ::google::protobuf::internal::ArenaStringPtr command_key_;
  353. ::message::Base_info* base_info_;
  354. ::message::Id_struct* id_struct_;
  355. ::message::Error_manager* code_;
  356. friend struct ::protobuf_notify_5fmessage_2eproto::TableStruct;
  357. };
  358. // -------------------------------------------------------------------
  359. class Notify_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Notify_status_msg) */ {
  360. public:
  361. Notify_status_msg();
  362. virtual ~Notify_status_msg();
  363. Notify_status_msg(const Notify_status_msg& from);
  364. inline Notify_status_msg& operator=(const Notify_status_msg& from) {
  365. CopyFrom(from);
  366. return *this;
  367. }
  368. #if LANG_CXX11
  369. Notify_status_msg(Notify_status_msg&& from) noexcept
  370. : Notify_status_msg() {
  371. *this = ::std::move(from);
  372. }
  373. inline Notify_status_msg& operator=(Notify_status_msg&& from) noexcept {
  374. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  375. if (this != &from) InternalSwap(&from);
  376. } else {
  377. CopyFrom(from);
  378. }
  379. return *this;
  380. }
  381. #endif
  382. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  383. return _internal_metadata_.unknown_fields();
  384. }
  385. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  386. return _internal_metadata_.mutable_unknown_fields();
  387. }
  388. static const ::google::protobuf::Descriptor* descriptor();
  389. static const Notify_status_msg& default_instance();
  390. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  391. static inline const Notify_status_msg* internal_default_instance() {
  392. return reinterpret_cast<const Notify_status_msg*>(
  393. &_Notify_status_msg_default_instance_);
  394. }
  395. static constexpr int kIndexInFileMessages =
  396. 2;
  397. void Swap(Notify_status_msg* other);
  398. friend void swap(Notify_status_msg& a, Notify_status_msg& b) {
  399. a.Swap(&b);
  400. }
  401. // implements Message ----------------------------------------------
  402. inline Notify_status_msg* New() const final {
  403. return CreateMaybeMessage<Notify_status_msg>(NULL);
  404. }
  405. Notify_status_msg* New(::google::protobuf::Arena* arena) const final {
  406. return CreateMaybeMessage<Notify_status_msg>(arena);
  407. }
  408. void CopyFrom(const ::google::protobuf::Message& from) final;
  409. void MergeFrom(const ::google::protobuf::Message& from) final;
  410. void CopyFrom(const Notify_status_msg& from);
  411. void MergeFrom(const Notify_status_msg& from);
  412. void Clear() final;
  413. bool IsInitialized() const final;
  414. size_t ByteSizeLong() const final;
  415. bool MergePartialFromCodedStream(
  416. ::google::protobuf::io::CodedInputStream* input) final;
  417. void SerializeWithCachedSizes(
  418. ::google::protobuf::io::CodedOutputStream* output) const final;
  419. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  420. bool deterministic, ::google::protobuf::uint8* target) const final;
  421. int GetCachedSize() const final { return _cached_size_.Get(); }
  422. private:
  423. void SharedCtor();
  424. void SharedDtor();
  425. void SetCachedSize(int size) const final;
  426. void InternalSwap(Notify_status_msg* other);
  427. private:
  428. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  429. return NULL;
  430. }
  431. inline void* MaybeArenaPtr() const {
  432. return NULL;
  433. }
  434. public:
  435. ::google::protobuf::Metadata GetMetadata() const final;
  436. // nested types ----------------------------------------------------
  437. // accessors -------------------------------------------------------
  438. // required .message.Base_info base_info = 1;
  439. bool has_base_info() const;
  440. void clear_base_info();
  441. static const int kBaseInfoFieldNumber = 1;
  442. private:
  443. const ::message::Base_info& _internal_base_info() const;
  444. public:
  445. const ::message::Base_info& base_info() const;
  446. ::message::Base_info* release_base_info();
  447. ::message::Base_info* mutable_base_info();
  448. void set_allocated_base_info(::message::Base_info* base_info);
  449. // required .message.Id_struct channel = 2;
  450. bool has_channel() const;
  451. void clear_channel();
  452. static const int kChannelFieldNumber = 2;
  453. private:
  454. const ::message::Id_struct& _internal_channel() const;
  455. public:
  456. const ::message::Id_struct& channel() const;
  457. ::message::Id_struct* release_channel();
  458. ::message::Id_struct* mutable_channel();
  459. void set_allocated_channel(::message::Id_struct* channel);
  460. // required .message.Error_manager error_manager = 3;
  461. bool has_error_manager() const;
  462. void clear_error_manager();
  463. static const int kErrorManagerFieldNumber = 3;
  464. private:
  465. const ::message::Error_manager& _internal_error_manager() const;
  466. public:
  467. const ::message::Error_manager& error_manager() const;
  468. ::message::Error_manager* release_error_manager();
  469. ::message::Error_manager* mutable_error_manager();
  470. void set_allocated_error_manager(::message::Error_manager* error_manager);
  471. // @@protoc_insertion_point(class_scope:message.Notify_status_msg)
  472. private:
  473. void set_has_base_info();
  474. void clear_has_base_info();
  475. void set_has_channel();
  476. void clear_has_channel();
  477. void set_has_error_manager();
  478. void clear_has_error_manager();
  479. // helper for ByteSizeLong()
  480. size_t RequiredFieldsByteSizeFallback() const;
  481. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  482. ::google::protobuf::internal::HasBits<1> _has_bits_;
  483. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  484. ::message::Base_info* base_info_;
  485. ::message::Id_struct* channel_;
  486. ::message::Error_manager* error_manager_;
  487. friend struct ::protobuf_notify_5fmessage_2eproto::TableStruct;
  488. };
  489. // ===================================================================
  490. // ===================================================================
  491. #ifdef __GNUC__
  492. #pragma GCC diagnostic push
  493. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  494. #endif // __GNUC__
  495. // Notify_request_msg
  496. // required .message.Base_info base_info = 1;
  497. inline bool Notify_request_msg::has_base_info() const {
  498. return (_has_bits_[0] & 0x00000002u) != 0;
  499. }
  500. inline void Notify_request_msg::set_has_base_info() {
  501. _has_bits_[0] |= 0x00000002u;
  502. }
  503. inline void Notify_request_msg::clear_has_base_info() {
  504. _has_bits_[0] &= ~0x00000002u;
  505. }
  506. inline const ::message::Base_info& Notify_request_msg::_internal_base_info() const {
  507. return *base_info_;
  508. }
  509. inline const ::message::Base_info& Notify_request_msg::base_info() const {
  510. const ::message::Base_info* p = base_info_;
  511. // @@protoc_insertion_point(field_get:message.Notify_request_msg.base_info)
  512. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  513. &::message::_Base_info_default_instance_);
  514. }
  515. inline ::message::Base_info* Notify_request_msg::release_base_info() {
  516. // @@protoc_insertion_point(field_release:message.Notify_request_msg.base_info)
  517. clear_has_base_info();
  518. ::message::Base_info* temp = base_info_;
  519. base_info_ = NULL;
  520. return temp;
  521. }
  522. inline ::message::Base_info* Notify_request_msg::mutable_base_info() {
  523. set_has_base_info();
  524. if (base_info_ == NULL) {
  525. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  526. base_info_ = p;
  527. }
  528. // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.base_info)
  529. return base_info_;
  530. }
  531. inline void Notify_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  532. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  533. if (message_arena == NULL) {
  534. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  535. }
  536. if (base_info) {
  537. ::google::protobuf::Arena* submessage_arena = NULL;
  538. if (message_arena != submessage_arena) {
  539. base_info = ::google::protobuf::internal::GetOwnedMessage(
  540. message_arena, base_info, submessage_arena);
  541. }
  542. set_has_base_info();
  543. } else {
  544. clear_has_base_info();
  545. }
  546. base_info_ = base_info;
  547. // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.base_info)
  548. }
  549. // required string command_key = 2;
  550. inline bool Notify_request_msg::has_command_key() const {
  551. return (_has_bits_[0] & 0x00000001u) != 0;
  552. }
  553. inline void Notify_request_msg::set_has_command_key() {
  554. _has_bits_[0] |= 0x00000001u;
  555. }
  556. inline void Notify_request_msg::clear_has_command_key() {
  557. _has_bits_[0] &= ~0x00000001u;
  558. }
  559. inline void Notify_request_msg::clear_command_key() {
  560. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  561. clear_has_command_key();
  562. }
  563. inline const ::std::string& Notify_request_msg::command_key() const {
  564. // @@protoc_insertion_point(field_get:message.Notify_request_msg.command_key)
  565. return command_key_.GetNoArena();
  566. }
  567. inline void Notify_request_msg::set_command_key(const ::std::string& value) {
  568. set_has_command_key();
  569. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  570. // @@protoc_insertion_point(field_set:message.Notify_request_msg.command_key)
  571. }
  572. #if LANG_CXX11
  573. inline void Notify_request_msg::set_command_key(::std::string&& value) {
  574. set_has_command_key();
  575. command_key_.SetNoArena(
  576. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  577. // @@protoc_insertion_point(field_set_rvalue:message.Notify_request_msg.command_key)
  578. }
  579. #endif
  580. inline void Notify_request_msg::set_command_key(const char* value) {
  581. GOOGLE_DCHECK(value != NULL);
  582. set_has_command_key();
  583. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  584. // @@protoc_insertion_point(field_set_char:message.Notify_request_msg.command_key)
  585. }
  586. inline void Notify_request_msg::set_command_key(const char* value, size_t size) {
  587. set_has_command_key();
  588. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  589. ::std::string(reinterpret_cast<const char*>(value), size));
  590. // @@protoc_insertion_point(field_set_pointer:message.Notify_request_msg.command_key)
  591. }
  592. inline ::std::string* Notify_request_msg::mutable_command_key() {
  593. set_has_command_key();
  594. // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.command_key)
  595. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  596. }
  597. inline ::std::string* Notify_request_msg::release_command_key() {
  598. // @@protoc_insertion_point(field_release:message.Notify_request_msg.command_key)
  599. if (!has_command_key()) {
  600. return NULL;
  601. }
  602. clear_has_command_key();
  603. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  604. }
  605. inline void Notify_request_msg::set_allocated_command_key(::std::string* command_key) {
  606. if (command_key != NULL) {
  607. set_has_command_key();
  608. } else {
  609. clear_has_command_key();
  610. }
  611. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  612. // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.command_key)
  613. }
  614. // required .message.Id_struct id_struct = 3;
  615. inline bool Notify_request_msg::has_id_struct() const {
  616. return (_has_bits_[0] & 0x00000004u) != 0;
  617. }
  618. inline void Notify_request_msg::set_has_id_struct() {
  619. _has_bits_[0] |= 0x00000004u;
  620. }
  621. inline void Notify_request_msg::clear_has_id_struct() {
  622. _has_bits_[0] &= ~0x00000004u;
  623. }
  624. inline const ::message::Id_struct& Notify_request_msg::_internal_id_struct() const {
  625. return *id_struct_;
  626. }
  627. inline const ::message::Id_struct& Notify_request_msg::id_struct() const {
  628. const ::message::Id_struct* p = id_struct_;
  629. // @@protoc_insertion_point(field_get:message.Notify_request_msg.id_struct)
  630. return p != NULL ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  631. &::message::_Id_struct_default_instance_);
  632. }
  633. inline ::message::Id_struct* Notify_request_msg::release_id_struct() {
  634. // @@protoc_insertion_point(field_release:message.Notify_request_msg.id_struct)
  635. clear_has_id_struct();
  636. ::message::Id_struct* temp = id_struct_;
  637. id_struct_ = NULL;
  638. return temp;
  639. }
  640. inline ::message::Id_struct* Notify_request_msg::mutable_id_struct() {
  641. set_has_id_struct();
  642. if (id_struct_ == NULL) {
  643. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArenaNoVirtual());
  644. id_struct_ = p;
  645. }
  646. // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.id_struct)
  647. return id_struct_;
  648. }
  649. inline void Notify_request_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  650. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  651. if (message_arena == NULL) {
  652. delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_struct_);
  653. }
  654. if (id_struct) {
  655. ::google::protobuf::Arena* submessage_arena = NULL;
  656. if (message_arena != submessage_arena) {
  657. id_struct = ::google::protobuf::internal::GetOwnedMessage(
  658. message_arena, id_struct, submessage_arena);
  659. }
  660. set_has_id_struct();
  661. } else {
  662. clear_has_id_struct();
  663. }
  664. id_struct_ = id_struct;
  665. // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.id_struct)
  666. }
  667. // required .message.Car_info car_info = 4;
  668. inline bool Notify_request_msg::has_car_info() const {
  669. return (_has_bits_[0] & 0x00000008u) != 0;
  670. }
  671. inline void Notify_request_msg::set_has_car_info() {
  672. _has_bits_[0] |= 0x00000008u;
  673. }
  674. inline void Notify_request_msg::clear_has_car_info() {
  675. _has_bits_[0] &= ~0x00000008u;
  676. }
  677. inline const ::message::Car_info& Notify_request_msg::_internal_car_info() const {
  678. return *car_info_;
  679. }
  680. inline const ::message::Car_info& Notify_request_msg::car_info() const {
  681. const ::message::Car_info* p = car_info_;
  682. // @@protoc_insertion_point(field_get:message.Notify_request_msg.car_info)
  683. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  684. &::message::_Car_info_default_instance_);
  685. }
  686. inline ::message::Car_info* Notify_request_msg::release_car_info() {
  687. // @@protoc_insertion_point(field_release:message.Notify_request_msg.car_info)
  688. clear_has_car_info();
  689. ::message::Car_info* temp = car_info_;
  690. car_info_ = NULL;
  691. return temp;
  692. }
  693. inline ::message::Car_info* Notify_request_msg::mutable_car_info() {
  694. set_has_car_info();
  695. if (car_info_ == NULL) {
  696. auto* p = CreateMaybeMessage<::message::Car_info>(GetArenaNoVirtual());
  697. car_info_ = p;
  698. }
  699. // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.car_info)
  700. return car_info_;
  701. }
  702. inline void Notify_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  703. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  704. if (message_arena == NULL) {
  705. delete reinterpret_cast< ::google::protobuf::MessageLite*>(car_info_);
  706. }
  707. if (car_info) {
  708. ::google::protobuf::Arena* submessage_arena = NULL;
  709. if (message_arena != submessage_arena) {
  710. car_info = ::google::protobuf::internal::GetOwnedMessage(
  711. message_arena, car_info, submessage_arena);
  712. }
  713. set_has_car_info();
  714. } else {
  715. clear_has_car_info();
  716. }
  717. car_info_ = car_info;
  718. // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.car_info)
  719. }
  720. // -------------------------------------------------------------------
  721. // Notify_response_msg
  722. // required .message.Base_info base_info = 1;
  723. inline bool Notify_response_msg::has_base_info() const {
  724. return (_has_bits_[0] & 0x00000002u) != 0;
  725. }
  726. inline void Notify_response_msg::set_has_base_info() {
  727. _has_bits_[0] |= 0x00000002u;
  728. }
  729. inline void Notify_response_msg::clear_has_base_info() {
  730. _has_bits_[0] &= ~0x00000002u;
  731. }
  732. inline const ::message::Base_info& Notify_response_msg::_internal_base_info() const {
  733. return *base_info_;
  734. }
  735. inline const ::message::Base_info& Notify_response_msg::base_info() const {
  736. const ::message::Base_info* p = base_info_;
  737. // @@protoc_insertion_point(field_get:message.Notify_response_msg.base_info)
  738. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  739. &::message::_Base_info_default_instance_);
  740. }
  741. inline ::message::Base_info* Notify_response_msg::release_base_info() {
  742. // @@protoc_insertion_point(field_release:message.Notify_response_msg.base_info)
  743. clear_has_base_info();
  744. ::message::Base_info* temp = base_info_;
  745. base_info_ = NULL;
  746. return temp;
  747. }
  748. inline ::message::Base_info* Notify_response_msg::mutable_base_info() {
  749. set_has_base_info();
  750. if (base_info_ == NULL) {
  751. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  752. base_info_ = p;
  753. }
  754. // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.base_info)
  755. return base_info_;
  756. }
  757. inline void Notify_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  758. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  759. if (message_arena == NULL) {
  760. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  761. }
  762. if (base_info) {
  763. ::google::protobuf::Arena* submessage_arena = NULL;
  764. if (message_arena != submessage_arena) {
  765. base_info = ::google::protobuf::internal::GetOwnedMessage(
  766. message_arena, base_info, submessage_arena);
  767. }
  768. set_has_base_info();
  769. } else {
  770. clear_has_base_info();
  771. }
  772. base_info_ = base_info;
  773. // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.base_info)
  774. }
  775. // required string command_key = 2;
  776. inline bool Notify_response_msg::has_command_key() const {
  777. return (_has_bits_[0] & 0x00000001u) != 0;
  778. }
  779. inline void Notify_response_msg::set_has_command_key() {
  780. _has_bits_[0] |= 0x00000001u;
  781. }
  782. inline void Notify_response_msg::clear_has_command_key() {
  783. _has_bits_[0] &= ~0x00000001u;
  784. }
  785. inline void Notify_response_msg::clear_command_key() {
  786. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  787. clear_has_command_key();
  788. }
  789. inline const ::std::string& Notify_response_msg::command_key() const {
  790. // @@protoc_insertion_point(field_get:message.Notify_response_msg.command_key)
  791. return command_key_.GetNoArena();
  792. }
  793. inline void Notify_response_msg::set_command_key(const ::std::string& value) {
  794. set_has_command_key();
  795. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  796. // @@protoc_insertion_point(field_set:message.Notify_response_msg.command_key)
  797. }
  798. #if LANG_CXX11
  799. inline void Notify_response_msg::set_command_key(::std::string&& value) {
  800. set_has_command_key();
  801. command_key_.SetNoArena(
  802. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  803. // @@protoc_insertion_point(field_set_rvalue:message.Notify_response_msg.command_key)
  804. }
  805. #endif
  806. inline void Notify_response_msg::set_command_key(const char* value) {
  807. GOOGLE_DCHECK(value != NULL);
  808. set_has_command_key();
  809. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  810. // @@protoc_insertion_point(field_set_char:message.Notify_response_msg.command_key)
  811. }
  812. inline void Notify_response_msg::set_command_key(const char* value, size_t size) {
  813. set_has_command_key();
  814. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  815. ::std::string(reinterpret_cast<const char*>(value), size));
  816. // @@protoc_insertion_point(field_set_pointer:message.Notify_response_msg.command_key)
  817. }
  818. inline ::std::string* Notify_response_msg::mutable_command_key() {
  819. set_has_command_key();
  820. // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.command_key)
  821. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  822. }
  823. inline ::std::string* Notify_response_msg::release_command_key() {
  824. // @@protoc_insertion_point(field_release:message.Notify_response_msg.command_key)
  825. if (!has_command_key()) {
  826. return NULL;
  827. }
  828. clear_has_command_key();
  829. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  830. }
  831. inline void Notify_response_msg::set_allocated_command_key(::std::string* command_key) {
  832. if (command_key != NULL) {
  833. set_has_command_key();
  834. } else {
  835. clear_has_command_key();
  836. }
  837. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  838. // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.command_key)
  839. }
  840. // required .message.Id_struct id_struct = 3;
  841. inline bool Notify_response_msg::has_id_struct() const {
  842. return (_has_bits_[0] & 0x00000004u) != 0;
  843. }
  844. inline void Notify_response_msg::set_has_id_struct() {
  845. _has_bits_[0] |= 0x00000004u;
  846. }
  847. inline void Notify_response_msg::clear_has_id_struct() {
  848. _has_bits_[0] &= ~0x00000004u;
  849. }
  850. inline const ::message::Id_struct& Notify_response_msg::_internal_id_struct() const {
  851. return *id_struct_;
  852. }
  853. inline const ::message::Id_struct& Notify_response_msg::id_struct() const {
  854. const ::message::Id_struct* p = id_struct_;
  855. // @@protoc_insertion_point(field_get:message.Notify_response_msg.id_struct)
  856. return p != NULL ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  857. &::message::_Id_struct_default_instance_);
  858. }
  859. inline ::message::Id_struct* Notify_response_msg::release_id_struct() {
  860. // @@protoc_insertion_point(field_release:message.Notify_response_msg.id_struct)
  861. clear_has_id_struct();
  862. ::message::Id_struct* temp = id_struct_;
  863. id_struct_ = NULL;
  864. return temp;
  865. }
  866. inline ::message::Id_struct* Notify_response_msg::mutable_id_struct() {
  867. set_has_id_struct();
  868. if (id_struct_ == NULL) {
  869. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArenaNoVirtual());
  870. id_struct_ = p;
  871. }
  872. // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.id_struct)
  873. return id_struct_;
  874. }
  875. inline void Notify_response_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  876. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  877. if (message_arena == NULL) {
  878. delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_struct_);
  879. }
  880. if (id_struct) {
  881. ::google::protobuf::Arena* submessage_arena = NULL;
  882. if (message_arena != submessage_arena) {
  883. id_struct = ::google::protobuf::internal::GetOwnedMessage(
  884. message_arena, id_struct, submessage_arena);
  885. }
  886. set_has_id_struct();
  887. } else {
  888. clear_has_id_struct();
  889. }
  890. id_struct_ = id_struct;
  891. // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.id_struct)
  892. }
  893. // required .message.Error_manager code = 4;
  894. inline bool Notify_response_msg::has_code() const {
  895. return (_has_bits_[0] & 0x00000008u) != 0;
  896. }
  897. inline void Notify_response_msg::set_has_code() {
  898. _has_bits_[0] |= 0x00000008u;
  899. }
  900. inline void Notify_response_msg::clear_has_code() {
  901. _has_bits_[0] &= ~0x00000008u;
  902. }
  903. inline const ::message::Error_manager& Notify_response_msg::_internal_code() const {
  904. return *code_;
  905. }
  906. inline const ::message::Error_manager& Notify_response_msg::code() const {
  907. const ::message::Error_manager* p = code_;
  908. // @@protoc_insertion_point(field_get:message.Notify_response_msg.code)
  909. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  910. &::message::_Error_manager_default_instance_);
  911. }
  912. inline ::message::Error_manager* Notify_response_msg::release_code() {
  913. // @@protoc_insertion_point(field_release:message.Notify_response_msg.code)
  914. clear_has_code();
  915. ::message::Error_manager* temp = code_;
  916. code_ = NULL;
  917. return temp;
  918. }
  919. inline ::message::Error_manager* Notify_response_msg::mutable_code() {
  920. set_has_code();
  921. if (code_ == NULL) {
  922. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  923. code_ = p;
  924. }
  925. // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.code)
  926. return code_;
  927. }
  928. inline void Notify_response_msg::set_allocated_code(::message::Error_manager* code) {
  929. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  930. if (message_arena == NULL) {
  931. delete reinterpret_cast< ::google::protobuf::MessageLite*>(code_);
  932. }
  933. if (code) {
  934. ::google::protobuf::Arena* submessage_arena = NULL;
  935. if (message_arena != submessage_arena) {
  936. code = ::google::protobuf::internal::GetOwnedMessage(
  937. message_arena, code, submessage_arena);
  938. }
  939. set_has_code();
  940. } else {
  941. clear_has_code();
  942. }
  943. code_ = code;
  944. // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.code)
  945. }
  946. // -------------------------------------------------------------------
  947. // Notify_status_msg
  948. // required .message.Base_info base_info = 1;
  949. inline bool Notify_status_msg::has_base_info() const {
  950. return (_has_bits_[0] & 0x00000001u) != 0;
  951. }
  952. inline void Notify_status_msg::set_has_base_info() {
  953. _has_bits_[0] |= 0x00000001u;
  954. }
  955. inline void Notify_status_msg::clear_has_base_info() {
  956. _has_bits_[0] &= ~0x00000001u;
  957. }
  958. inline const ::message::Base_info& Notify_status_msg::_internal_base_info() const {
  959. return *base_info_;
  960. }
  961. inline const ::message::Base_info& Notify_status_msg::base_info() const {
  962. const ::message::Base_info* p = base_info_;
  963. // @@protoc_insertion_point(field_get:message.Notify_status_msg.base_info)
  964. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  965. &::message::_Base_info_default_instance_);
  966. }
  967. inline ::message::Base_info* Notify_status_msg::release_base_info() {
  968. // @@protoc_insertion_point(field_release:message.Notify_status_msg.base_info)
  969. clear_has_base_info();
  970. ::message::Base_info* temp = base_info_;
  971. base_info_ = NULL;
  972. return temp;
  973. }
  974. inline ::message::Base_info* Notify_status_msg::mutable_base_info() {
  975. set_has_base_info();
  976. if (base_info_ == NULL) {
  977. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  978. base_info_ = p;
  979. }
  980. // @@protoc_insertion_point(field_mutable:message.Notify_status_msg.base_info)
  981. return base_info_;
  982. }
  983. inline void Notify_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  984. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  985. if (message_arena == NULL) {
  986. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  987. }
  988. if (base_info) {
  989. ::google::protobuf::Arena* submessage_arena = NULL;
  990. if (message_arena != submessage_arena) {
  991. base_info = ::google::protobuf::internal::GetOwnedMessage(
  992. message_arena, base_info, submessage_arena);
  993. }
  994. set_has_base_info();
  995. } else {
  996. clear_has_base_info();
  997. }
  998. base_info_ = base_info;
  999. // @@protoc_insertion_point(field_set_allocated:message.Notify_status_msg.base_info)
  1000. }
  1001. // required .message.Id_struct channel = 2;
  1002. inline bool Notify_status_msg::has_channel() const {
  1003. return (_has_bits_[0] & 0x00000002u) != 0;
  1004. }
  1005. inline void Notify_status_msg::set_has_channel() {
  1006. _has_bits_[0] |= 0x00000002u;
  1007. }
  1008. inline void Notify_status_msg::clear_has_channel() {
  1009. _has_bits_[0] &= ~0x00000002u;
  1010. }
  1011. inline const ::message::Id_struct& Notify_status_msg::_internal_channel() const {
  1012. return *channel_;
  1013. }
  1014. inline const ::message::Id_struct& Notify_status_msg::channel() const {
  1015. const ::message::Id_struct* p = channel_;
  1016. // @@protoc_insertion_point(field_get:message.Notify_status_msg.channel)
  1017. return p != NULL ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  1018. &::message::_Id_struct_default_instance_);
  1019. }
  1020. inline ::message::Id_struct* Notify_status_msg::release_channel() {
  1021. // @@protoc_insertion_point(field_release:message.Notify_status_msg.channel)
  1022. clear_has_channel();
  1023. ::message::Id_struct* temp = channel_;
  1024. channel_ = NULL;
  1025. return temp;
  1026. }
  1027. inline ::message::Id_struct* Notify_status_msg::mutable_channel() {
  1028. set_has_channel();
  1029. if (channel_ == NULL) {
  1030. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArenaNoVirtual());
  1031. channel_ = p;
  1032. }
  1033. // @@protoc_insertion_point(field_mutable:message.Notify_status_msg.channel)
  1034. return channel_;
  1035. }
  1036. inline void Notify_status_msg::set_allocated_channel(::message::Id_struct* channel) {
  1037. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1038. if (message_arena == NULL) {
  1039. delete reinterpret_cast< ::google::protobuf::MessageLite*>(channel_);
  1040. }
  1041. if (channel) {
  1042. ::google::protobuf::Arena* submessage_arena = NULL;
  1043. if (message_arena != submessage_arena) {
  1044. channel = ::google::protobuf::internal::GetOwnedMessage(
  1045. message_arena, channel, submessage_arena);
  1046. }
  1047. set_has_channel();
  1048. } else {
  1049. clear_has_channel();
  1050. }
  1051. channel_ = channel;
  1052. // @@protoc_insertion_point(field_set_allocated:message.Notify_status_msg.channel)
  1053. }
  1054. // required .message.Error_manager error_manager = 3;
  1055. inline bool Notify_status_msg::has_error_manager() const {
  1056. return (_has_bits_[0] & 0x00000004u) != 0;
  1057. }
  1058. inline void Notify_status_msg::set_has_error_manager() {
  1059. _has_bits_[0] |= 0x00000004u;
  1060. }
  1061. inline void Notify_status_msg::clear_has_error_manager() {
  1062. _has_bits_[0] &= ~0x00000004u;
  1063. }
  1064. inline const ::message::Error_manager& Notify_status_msg::_internal_error_manager() const {
  1065. return *error_manager_;
  1066. }
  1067. inline const ::message::Error_manager& Notify_status_msg::error_manager() const {
  1068. const ::message::Error_manager* p = error_manager_;
  1069. // @@protoc_insertion_point(field_get:message.Notify_status_msg.error_manager)
  1070. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1071. &::message::_Error_manager_default_instance_);
  1072. }
  1073. inline ::message::Error_manager* Notify_status_msg::release_error_manager() {
  1074. // @@protoc_insertion_point(field_release:message.Notify_status_msg.error_manager)
  1075. clear_has_error_manager();
  1076. ::message::Error_manager* temp = error_manager_;
  1077. error_manager_ = NULL;
  1078. return temp;
  1079. }
  1080. inline ::message::Error_manager* Notify_status_msg::mutable_error_manager() {
  1081. set_has_error_manager();
  1082. if (error_manager_ == NULL) {
  1083. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  1084. error_manager_ = p;
  1085. }
  1086. // @@protoc_insertion_point(field_mutable:message.Notify_status_msg.error_manager)
  1087. return error_manager_;
  1088. }
  1089. inline void Notify_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1090. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1091. if (message_arena == NULL) {
  1092. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1093. }
  1094. if (error_manager) {
  1095. ::google::protobuf::Arena* submessage_arena = NULL;
  1096. if (message_arena != submessage_arena) {
  1097. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1098. message_arena, error_manager, submessage_arena);
  1099. }
  1100. set_has_error_manager();
  1101. } else {
  1102. clear_has_error_manager();
  1103. }
  1104. error_manager_ = error_manager;
  1105. // @@protoc_insertion_point(field_set_allocated:message.Notify_status_msg.error_manager)
  1106. }
  1107. #ifdef __GNUC__
  1108. #pragma GCC diagnostic pop
  1109. #endif // __GNUC__
  1110. // -------------------------------------------------------------------
  1111. // -------------------------------------------------------------------
  1112. // @@protoc_insertion_point(namespace_scope)
  1113. } // namespace message
  1114. // @@protoc_insertion_point(global_scope)
  1115. #endif // PROTOBUF_INCLUDED_notify_5fmessage_2eproto