notify_message.pb.h 46 KB

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