notify_message.pb.h 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: notify_message.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_notify_5fmessage_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_notify_5fmessage_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3013000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/unknown_field_set.h>
  31. #include "message_base.pb.h"
  32. // @@protoc_insertion_point(includes)
  33. #include <google/protobuf/port_def.inc>
  34. #define PROTOBUF_INTERNAL_EXPORT_notify_5fmessage_2eproto
  35. PROTOBUF_NAMESPACE_OPEN
  36. namespace internal {
  37. class AnyMetadata;
  38. } // namespace internal
  39. PROTOBUF_NAMESPACE_CLOSE
  40. // Internal implementation detail -- do not use these members.
  41. struct TableStruct_notify_5fmessage_2eproto {
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  43. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  44. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  45. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  46. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
  47. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  50. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  51. };
  52. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_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. PROTOBUF_NAMESPACE_OPEN
  65. template<> ::message::Notify_request_msg* Arena::CreateMaybeMessage<::message::Notify_request_msg>(Arena*);
  66. template<> ::message::Notify_response_msg* Arena::CreateMaybeMessage<::message::Notify_response_msg>(Arena*);
  67. template<> ::message::Notify_status_msg* Arena::CreateMaybeMessage<::message::Notify_status_msg>(Arena*);
  68. PROTOBUF_NAMESPACE_CLOSE
  69. namespace message {
  70. // ===================================================================
  71. class Notify_request_msg PROTOBUF_FINAL :
  72. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Notify_request_msg) */ {
  73. public:
  74. inline Notify_request_msg() : Notify_request_msg(nullptr) {}
  75. virtual ~Notify_request_msg();
  76. Notify_request_msg(const Notify_request_msg& from);
  77. Notify_request_msg(Notify_request_msg&& from) noexcept
  78. : Notify_request_msg() {
  79. *this = ::std::move(from);
  80. }
  81. inline Notify_request_msg& operator=(const Notify_request_msg& from) {
  82. CopyFrom(from);
  83. return *this;
  84. }
  85. inline Notify_request_msg& operator=(Notify_request_msg&& from) noexcept {
  86. if (GetArena() == from.GetArena()) {
  87. if (this != &from) InternalSwap(&from);
  88. } else {
  89. CopyFrom(from);
  90. }
  91. return *this;
  92. }
  93. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  94. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  95. }
  96. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  97. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  98. }
  99. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  100. return GetDescriptor();
  101. }
  102. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  103. return GetMetadataStatic().descriptor;
  104. }
  105. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  106. return GetMetadataStatic().reflection;
  107. }
  108. static const Notify_request_msg& default_instance();
  109. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  110. static inline const Notify_request_msg* internal_default_instance() {
  111. return reinterpret_cast<const Notify_request_msg*>(
  112. &_Notify_request_msg_default_instance_);
  113. }
  114. static constexpr int kIndexInFileMessages =
  115. 0;
  116. friend void swap(Notify_request_msg& a, Notify_request_msg& b) {
  117. a.Swap(&b);
  118. }
  119. inline void Swap(Notify_request_msg* other) {
  120. if (other == this) return;
  121. if (GetArena() == other->GetArena()) {
  122. InternalSwap(other);
  123. } else {
  124. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  125. }
  126. }
  127. void UnsafeArenaSwap(Notify_request_msg* other) {
  128. if (other == this) return;
  129. GOOGLE_DCHECK(GetArena() == other->GetArena());
  130. InternalSwap(other);
  131. }
  132. // implements Message ----------------------------------------------
  133. inline Notify_request_msg* New() const final {
  134. return CreateMaybeMessage<Notify_request_msg>(nullptr);
  135. }
  136. Notify_request_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  137. return CreateMaybeMessage<Notify_request_msg>(arena);
  138. }
  139. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  140. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  141. void CopyFrom(const Notify_request_msg& from);
  142. void MergeFrom(const Notify_request_msg& from);
  143. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  144. bool IsInitialized() const final;
  145. size_t ByteSizeLong() const final;
  146. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  147. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  148. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  149. int GetCachedSize() const final { return _cached_size_.Get(); }
  150. private:
  151. inline void SharedCtor();
  152. inline void SharedDtor();
  153. void SetCachedSize(int size) const final;
  154. void InternalSwap(Notify_request_msg* other);
  155. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  156. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  157. return "message.Notify_request_msg";
  158. }
  159. protected:
  160. explicit Notify_request_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  161. private:
  162. static void ArenaDtor(void* object);
  163. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  164. public:
  165. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  166. private:
  167. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  168. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_notify_5fmessage_2eproto);
  169. return ::descriptor_table_notify_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  170. }
  171. public:
  172. // nested types ----------------------------------------------------
  173. // accessors -------------------------------------------------------
  174. enum : int {
  175. kCommandKeyFieldNumber = 2,
  176. kBaseInfoFieldNumber = 1,
  177. kIdStructFieldNumber = 3,
  178. kCarInfoFieldNumber = 4,
  179. };
  180. // required string command_key = 2;
  181. bool has_command_key() const;
  182. private:
  183. bool _internal_has_command_key() const;
  184. public:
  185. void clear_command_key();
  186. const std::string& command_key() const;
  187. void set_command_key(const std::string& value);
  188. void set_command_key(std::string&& value);
  189. void set_command_key(const char* value);
  190. void set_command_key(const char* value, size_t size);
  191. std::string* mutable_command_key();
  192. std::string* release_command_key();
  193. void set_allocated_command_key(std::string* command_key);
  194. private:
  195. const std::string& _internal_command_key() const;
  196. void _internal_set_command_key(const std::string& value);
  197. std::string* _internal_mutable_command_key();
  198. public:
  199. // required .message.Base_info base_info = 1;
  200. bool has_base_info() const;
  201. private:
  202. bool _internal_has_base_info() const;
  203. public:
  204. void clear_base_info();
  205. const ::message::Base_info& base_info() const;
  206. ::message::Base_info* release_base_info();
  207. ::message::Base_info* mutable_base_info();
  208. void set_allocated_base_info(::message::Base_info* base_info);
  209. private:
  210. const ::message::Base_info& _internal_base_info() const;
  211. ::message::Base_info* _internal_mutable_base_info();
  212. public:
  213. void unsafe_arena_set_allocated_base_info(
  214. ::message::Base_info* base_info);
  215. ::message::Base_info* unsafe_arena_release_base_info();
  216. // required .message.Id_struct id_struct = 3;
  217. bool has_id_struct() const;
  218. private:
  219. bool _internal_has_id_struct() const;
  220. public:
  221. void clear_id_struct();
  222. const ::message::Id_struct& id_struct() const;
  223. ::message::Id_struct* release_id_struct();
  224. ::message::Id_struct* mutable_id_struct();
  225. void set_allocated_id_struct(::message::Id_struct* id_struct);
  226. private:
  227. const ::message::Id_struct& _internal_id_struct() const;
  228. ::message::Id_struct* _internal_mutable_id_struct();
  229. public:
  230. void unsafe_arena_set_allocated_id_struct(
  231. ::message::Id_struct* id_struct);
  232. ::message::Id_struct* unsafe_arena_release_id_struct();
  233. // required .message.Car_info car_info = 4;
  234. bool has_car_info() const;
  235. private:
  236. bool _internal_has_car_info() const;
  237. public:
  238. void clear_car_info();
  239. const ::message::Car_info& car_info() const;
  240. ::message::Car_info* release_car_info();
  241. ::message::Car_info* mutable_car_info();
  242. void set_allocated_car_info(::message::Car_info* car_info);
  243. private:
  244. const ::message::Car_info& _internal_car_info() const;
  245. ::message::Car_info* _internal_mutable_car_info();
  246. public:
  247. void unsafe_arena_set_allocated_car_info(
  248. ::message::Car_info* car_info);
  249. ::message::Car_info* unsafe_arena_release_car_info();
  250. // @@protoc_insertion_point(class_scope:message.Notify_request_msg)
  251. private:
  252. class _Internal;
  253. // helper for ByteSizeLong()
  254. size_t RequiredFieldsByteSizeFallback() const;
  255. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  256. typedef void InternalArenaConstructable_;
  257. typedef void DestructorSkippable_;
  258. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  259. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  260. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  261. ::message::Base_info* base_info_;
  262. ::message::Id_struct* id_struct_;
  263. ::message::Car_info* car_info_;
  264. friend struct ::TableStruct_notify_5fmessage_2eproto;
  265. };
  266. // -------------------------------------------------------------------
  267. class Notify_response_msg PROTOBUF_FINAL :
  268. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Notify_response_msg) */ {
  269. public:
  270. inline Notify_response_msg() : Notify_response_msg(nullptr) {}
  271. virtual ~Notify_response_msg();
  272. Notify_response_msg(const Notify_response_msg& from);
  273. Notify_response_msg(Notify_response_msg&& from) noexcept
  274. : Notify_response_msg() {
  275. *this = ::std::move(from);
  276. }
  277. inline Notify_response_msg& operator=(const Notify_response_msg& from) {
  278. CopyFrom(from);
  279. return *this;
  280. }
  281. inline Notify_response_msg& operator=(Notify_response_msg&& from) noexcept {
  282. if (GetArena() == from.GetArena()) {
  283. if (this != &from) InternalSwap(&from);
  284. } else {
  285. CopyFrom(from);
  286. }
  287. return *this;
  288. }
  289. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  290. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  291. }
  292. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  293. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  294. }
  295. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  296. return GetDescriptor();
  297. }
  298. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  299. return GetMetadataStatic().descriptor;
  300. }
  301. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  302. return GetMetadataStatic().reflection;
  303. }
  304. static const Notify_response_msg& default_instance();
  305. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  306. static inline const Notify_response_msg* internal_default_instance() {
  307. return reinterpret_cast<const Notify_response_msg*>(
  308. &_Notify_response_msg_default_instance_);
  309. }
  310. static constexpr int kIndexInFileMessages =
  311. 1;
  312. friend void swap(Notify_response_msg& a, Notify_response_msg& b) {
  313. a.Swap(&b);
  314. }
  315. inline void Swap(Notify_response_msg* other) {
  316. if (other == this) return;
  317. if (GetArena() == other->GetArena()) {
  318. InternalSwap(other);
  319. } else {
  320. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  321. }
  322. }
  323. void UnsafeArenaSwap(Notify_response_msg* other) {
  324. if (other == this) return;
  325. GOOGLE_DCHECK(GetArena() == other->GetArena());
  326. InternalSwap(other);
  327. }
  328. // implements Message ----------------------------------------------
  329. inline Notify_response_msg* New() const final {
  330. return CreateMaybeMessage<Notify_response_msg>(nullptr);
  331. }
  332. Notify_response_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  333. return CreateMaybeMessage<Notify_response_msg>(arena);
  334. }
  335. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  336. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  337. void CopyFrom(const Notify_response_msg& from);
  338. void MergeFrom(const Notify_response_msg& from);
  339. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  340. bool IsInitialized() const final;
  341. size_t ByteSizeLong() const final;
  342. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  343. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  344. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  345. int GetCachedSize() const final { return _cached_size_.Get(); }
  346. private:
  347. inline void SharedCtor();
  348. inline void SharedDtor();
  349. void SetCachedSize(int size) const final;
  350. void InternalSwap(Notify_response_msg* other);
  351. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  352. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  353. return "message.Notify_response_msg";
  354. }
  355. protected:
  356. explicit Notify_response_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  357. private:
  358. static void ArenaDtor(void* object);
  359. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  360. public:
  361. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  362. private:
  363. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  364. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_notify_5fmessage_2eproto);
  365. return ::descriptor_table_notify_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  366. }
  367. public:
  368. // nested types ----------------------------------------------------
  369. // accessors -------------------------------------------------------
  370. enum : int {
  371. kCommandKeyFieldNumber = 2,
  372. kBaseInfoFieldNumber = 1,
  373. kIdStructFieldNumber = 3,
  374. kCodeFieldNumber = 4,
  375. };
  376. // required string command_key = 2;
  377. bool has_command_key() const;
  378. private:
  379. bool _internal_has_command_key() const;
  380. public:
  381. void clear_command_key();
  382. const std::string& command_key() const;
  383. void set_command_key(const std::string& value);
  384. void set_command_key(std::string&& value);
  385. void set_command_key(const char* value);
  386. void set_command_key(const char* value, size_t size);
  387. std::string* mutable_command_key();
  388. std::string* release_command_key();
  389. void set_allocated_command_key(std::string* command_key);
  390. private:
  391. const std::string& _internal_command_key() const;
  392. void _internal_set_command_key(const std::string& value);
  393. std::string* _internal_mutable_command_key();
  394. public:
  395. // required .message.Base_info base_info = 1;
  396. bool has_base_info() const;
  397. private:
  398. bool _internal_has_base_info() const;
  399. public:
  400. void clear_base_info();
  401. const ::message::Base_info& base_info() const;
  402. ::message::Base_info* release_base_info();
  403. ::message::Base_info* mutable_base_info();
  404. void set_allocated_base_info(::message::Base_info* base_info);
  405. private:
  406. const ::message::Base_info& _internal_base_info() const;
  407. ::message::Base_info* _internal_mutable_base_info();
  408. public:
  409. void unsafe_arena_set_allocated_base_info(
  410. ::message::Base_info* base_info);
  411. ::message::Base_info* unsafe_arena_release_base_info();
  412. // required .message.Id_struct id_struct = 3;
  413. bool has_id_struct() const;
  414. private:
  415. bool _internal_has_id_struct() const;
  416. public:
  417. void clear_id_struct();
  418. const ::message::Id_struct& id_struct() const;
  419. ::message::Id_struct* release_id_struct();
  420. ::message::Id_struct* mutable_id_struct();
  421. void set_allocated_id_struct(::message::Id_struct* id_struct);
  422. private:
  423. const ::message::Id_struct& _internal_id_struct() const;
  424. ::message::Id_struct* _internal_mutable_id_struct();
  425. public:
  426. void unsafe_arena_set_allocated_id_struct(
  427. ::message::Id_struct* id_struct);
  428. ::message::Id_struct* unsafe_arena_release_id_struct();
  429. // required .message.Error_manager code = 4;
  430. bool has_code() const;
  431. private:
  432. bool _internal_has_code() const;
  433. public:
  434. void clear_code();
  435. const ::message::Error_manager& code() const;
  436. ::message::Error_manager* release_code();
  437. ::message::Error_manager* mutable_code();
  438. void set_allocated_code(::message::Error_manager* code);
  439. private:
  440. const ::message::Error_manager& _internal_code() const;
  441. ::message::Error_manager* _internal_mutable_code();
  442. public:
  443. void unsafe_arena_set_allocated_code(
  444. ::message::Error_manager* code);
  445. ::message::Error_manager* unsafe_arena_release_code();
  446. // @@protoc_insertion_point(class_scope:message.Notify_response_msg)
  447. private:
  448. class _Internal;
  449. // helper for ByteSizeLong()
  450. size_t RequiredFieldsByteSizeFallback() const;
  451. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  452. typedef void InternalArenaConstructable_;
  453. typedef void DestructorSkippable_;
  454. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  455. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  456. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
  457. ::message::Base_info* base_info_;
  458. ::message::Id_struct* id_struct_;
  459. ::message::Error_manager* code_;
  460. friend struct ::TableStruct_notify_5fmessage_2eproto;
  461. };
  462. // -------------------------------------------------------------------
  463. class Notify_status_msg PROTOBUF_FINAL :
  464. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Notify_status_msg) */ {
  465. public:
  466. inline Notify_status_msg() : Notify_status_msg(nullptr) {}
  467. virtual ~Notify_status_msg();
  468. Notify_status_msg(const Notify_status_msg& from);
  469. Notify_status_msg(Notify_status_msg&& from) noexcept
  470. : Notify_status_msg() {
  471. *this = ::std::move(from);
  472. }
  473. inline Notify_status_msg& operator=(const Notify_status_msg& from) {
  474. CopyFrom(from);
  475. return *this;
  476. }
  477. inline Notify_status_msg& operator=(Notify_status_msg&& from) noexcept {
  478. if (GetArena() == from.GetArena()) {
  479. if (this != &from) InternalSwap(&from);
  480. } else {
  481. CopyFrom(from);
  482. }
  483. return *this;
  484. }
  485. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  486. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  487. }
  488. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  489. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  490. }
  491. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  492. return GetDescriptor();
  493. }
  494. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  495. return GetMetadataStatic().descriptor;
  496. }
  497. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  498. return GetMetadataStatic().reflection;
  499. }
  500. static const Notify_status_msg& default_instance();
  501. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  502. static inline const Notify_status_msg* internal_default_instance() {
  503. return reinterpret_cast<const Notify_status_msg*>(
  504. &_Notify_status_msg_default_instance_);
  505. }
  506. static constexpr int kIndexInFileMessages =
  507. 2;
  508. friend void swap(Notify_status_msg& a, Notify_status_msg& b) {
  509. a.Swap(&b);
  510. }
  511. inline void Swap(Notify_status_msg* other) {
  512. if (other == this) return;
  513. if (GetArena() == other->GetArena()) {
  514. InternalSwap(other);
  515. } else {
  516. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  517. }
  518. }
  519. void UnsafeArenaSwap(Notify_status_msg* other) {
  520. if (other == this) return;
  521. GOOGLE_DCHECK(GetArena() == other->GetArena());
  522. InternalSwap(other);
  523. }
  524. // implements Message ----------------------------------------------
  525. inline Notify_status_msg* New() const final {
  526. return CreateMaybeMessage<Notify_status_msg>(nullptr);
  527. }
  528. Notify_status_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  529. return CreateMaybeMessage<Notify_status_msg>(arena);
  530. }
  531. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  532. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  533. void CopyFrom(const Notify_status_msg& from);
  534. void MergeFrom(const Notify_status_msg& from);
  535. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  536. bool IsInitialized() const final;
  537. size_t ByteSizeLong() const final;
  538. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  539. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  540. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  541. int GetCachedSize() const final { return _cached_size_.Get(); }
  542. private:
  543. inline void SharedCtor();
  544. inline void SharedDtor();
  545. void SetCachedSize(int size) const final;
  546. void InternalSwap(Notify_status_msg* other);
  547. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  548. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  549. return "message.Notify_status_msg";
  550. }
  551. protected:
  552. explicit Notify_status_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  553. private:
  554. static void ArenaDtor(void* object);
  555. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  556. public:
  557. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  558. private:
  559. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  560. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_notify_5fmessage_2eproto);
  561. return ::descriptor_table_notify_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
  562. }
  563. public:
  564. // nested types ----------------------------------------------------
  565. // accessors -------------------------------------------------------
  566. enum : int {
  567. kBaseInfoFieldNumber = 1,
  568. kChannelFieldNumber = 2,
  569. kErrorManagerFieldNumber = 3,
  570. };
  571. // required .message.Base_info base_info = 1;
  572. bool has_base_info() const;
  573. private:
  574. bool _internal_has_base_info() const;
  575. public:
  576. void clear_base_info();
  577. const ::message::Base_info& base_info() const;
  578. ::message::Base_info* release_base_info();
  579. ::message::Base_info* mutable_base_info();
  580. void set_allocated_base_info(::message::Base_info* base_info);
  581. private:
  582. const ::message::Base_info& _internal_base_info() const;
  583. ::message::Base_info* _internal_mutable_base_info();
  584. public:
  585. void unsafe_arena_set_allocated_base_info(
  586. ::message::Base_info* base_info);
  587. ::message::Base_info* unsafe_arena_release_base_info();
  588. // required .message.Id_struct channel = 2;
  589. bool has_channel() const;
  590. private:
  591. bool _internal_has_channel() const;
  592. public:
  593. void clear_channel();
  594. const ::message::Id_struct& channel() const;
  595. ::message::Id_struct* release_channel();
  596. ::message::Id_struct* mutable_channel();
  597. void set_allocated_channel(::message::Id_struct* channel);
  598. private:
  599. const ::message::Id_struct& _internal_channel() const;
  600. ::message::Id_struct* _internal_mutable_channel();
  601. public:
  602. void unsafe_arena_set_allocated_channel(
  603. ::message::Id_struct* channel);
  604. ::message::Id_struct* unsafe_arena_release_channel();
  605. // required .message.Error_manager error_manager = 3;
  606. bool has_error_manager() const;
  607. private:
  608. bool _internal_has_error_manager() const;
  609. public:
  610. void clear_error_manager();
  611. const ::message::Error_manager& error_manager() const;
  612. ::message::Error_manager* release_error_manager();
  613. ::message::Error_manager* mutable_error_manager();
  614. void set_allocated_error_manager(::message::Error_manager* error_manager);
  615. private:
  616. const ::message::Error_manager& _internal_error_manager() const;
  617. ::message::Error_manager* _internal_mutable_error_manager();
  618. public:
  619. void unsafe_arena_set_allocated_error_manager(
  620. ::message::Error_manager* error_manager);
  621. ::message::Error_manager* unsafe_arena_release_error_manager();
  622. // @@protoc_insertion_point(class_scope:message.Notify_status_msg)
  623. private:
  624. class _Internal;
  625. // helper for ByteSizeLong()
  626. size_t RequiredFieldsByteSizeFallback() const;
  627. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  628. typedef void InternalArenaConstructable_;
  629. typedef void DestructorSkippable_;
  630. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  631. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  632. ::message::Base_info* base_info_;
  633. ::message::Id_struct* channel_;
  634. ::message::Error_manager* error_manager_;
  635. friend struct ::TableStruct_notify_5fmessage_2eproto;
  636. };
  637. // ===================================================================
  638. // ===================================================================
  639. #ifdef __GNUC__
  640. #pragma GCC diagnostic push
  641. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  642. #endif // __GNUC__
  643. // Notify_request_msg
  644. // required .message.Base_info base_info = 1;
  645. inline bool Notify_request_msg::_internal_has_base_info() const {
  646. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  647. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  648. return value;
  649. }
  650. inline bool Notify_request_msg::has_base_info() const {
  651. return _internal_has_base_info();
  652. }
  653. inline const ::message::Base_info& Notify_request_msg::_internal_base_info() const {
  654. const ::message::Base_info* p = base_info_;
  655. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  656. &::message::_Base_info_default_instance_);
  657. }
  658. inline const ::message::Base_info& Notify_request_msg::base_info() const {
  659. // @@protoc_insertion_point(field_get:message.Notify_request_msg.base_info)
  660. return _internal_base_info();
  661. }
  662. inline void Notify_request_msg::unsafe_arena_set_allocated_base_info(
  663. ::message::Base_info* base_info) {
  664. if (GetArena() == nullptr) {
  665. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  666. }
  667. base_info_ = base_info;
  668. if (base_info) {
  669. _has_bits_[0] |= 0x00000002u;
  670. } else {
  671. _has_bits_[0] &= ~0x00000002u;
  672. }
  673. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_request_msg.base_info)
  674. }
  675. inline ::message::Base_info* Notify_request_msg::release_base_info() {
  676. _has_bits_[0] &= ~0x00000002u;
  677. ::message::Base_info* temp = base_info_;
  678. base_info_ = nullptr;
  679. if (GetArena() != nullptr) {
  680. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  681. }
  682. return temp;
  683. }
  684. inline ::message::Base_info* Notify_request_msg::unsafe_arena_release_base_info() {
  685. // @@protoc_insertion_point(field_release:message.Notify_request_msg.base_info)
  686. _has_bits_[0] &= ~0x00000002u;
  687. ::message::Base_info* temp = base_info_;
  688. base_info_ = nullptr;
  689. return temp;
  690. }
  691. inline ::message::Base_info* Notify_request_msg::_internal_mutable_base_info() {
  692. _has_bits_[0] |= 0x00000002u;
  693. if (base_info_ == nullptr) {
  694. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  695. base_info_ = p;
  696. }
  697. return base_info_;
  698. }
  699. inline ::message::Base_info* Notify_request_msg::mutable_base_info() {
  700. // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.base_info)
  701. return _internal_mutable_base_info();
  702. }
  703. inline void Notify_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  704. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  705. if (message_arena == nullptr) {
  706. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  707. }
  708. if (base_info) {
  709. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  710. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  711. if (message_arena != submessage_arena) {
  712. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  713. message_arena, base_info, submessage_arena);
  714. }
  715. _has_bits_[0] |= 0x00000002u;
  716. } else {
  717. _has_bits_[0] &= ~0x00000002u;
  718. }
  719. base_info_ = base_info;
  720. // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.base_info)
  721. }
  722. // required string command_key = 2;
  723. inline bool Notify_request_msg::_internal_has_command_key() const {
  724. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  725. return value;
  726. }
  727. inline bool Notify_request_msg::has_command_key() const {
  728. return _internal_has_command_key();
  729. }
  730. inline void Notify_request_msg::clear_command_key() {
  731. command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  732. _has_bits_[0] &= ~0x00000001u;
  733. }
  734. inline const std::string& Notify_request_msg::command_key() const {
  735. // @@protoc_insertion_point(field_get:message.Notify_request_msg.command_key)
  736. return _internal_command_key();
  737. }
  738. inline void Notify_request_msg::set_command_key(const std::string& value) {
  739. _internal_set_command_key(value);
  740. // @@protoc_insertion_point(field_set:message.Notify_request_msg.command_key)
  741. }
  742. inline std::string* Notify_request_msg::mutable_command_key() {
  743. // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.command_key)
  744. return _internal_mutable_command_key();
  745. }
  746. inline const std::string& Notify_request_msg::_internal_command_key() const {
  747. return command_key_.Get();
  748. }
  749. inline void Notify_request_msg::_internal_set_command_key(const std::string& value) {
  750. _has_bits_[0] |= 0x00000001u;
  751. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  752. }
  753. inline void Notify_request_msg::set_command_key(std::string&& value) {
  754. _has_bits_[0] |= 0x00000001u;
  755. command_key_.Set(
  756. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  757. // @@protoc_insertion_point(field_set_rvalue:message.Notify_request_msg.command_key)
  758. }
  759. inline void Notify_request_msg::set_command_key(const char* value) {
  760. GOOGLE_DCHECK(value != nullptr);
  761. _has_bits_[0] |= 0x00000001u;
  762. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  763. GetArena());
  764. // @@protoc_insertion_point(field_set_char:message.Notify_request_msg.command_key)
  765. }
  766. inline void Notify_request_msg::set_command_key(const char* value,
  767. size_t size) {
  768. _has_bits_[0] |= 0x00000001u;
  769. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  770. reinterpret_cast<const char*>(value), size), GetArena());
  771. // @@protoc_insertion_point(field_set_pointer:message.Notify_request_msg.command_key)
  772. }
  773. inline std::string* Notify_request_msg::_internal_mutable_command_key() {
  774. _has_bits_[0] |= 0x00000001u;
  775. return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  776. }
  777. inline std::string* Notify_request_msg::release_command_key() {
  778. // @@protoc_insertion_point(field_release:message.Notify_request_msg.command_key)
  779. if (!_internal_has_command_key()) {
  780. return nullptr;
  781. }
  782. _has_bits_[0] &= ~0x00000001u;
  783. return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  784. }
  785. inline void Notify_request_msg::set_allocated_command_key(std::string* command_key) {
  786. if (command_key != nullptr) {
  787. _has_bits_[0] |= 0x00000001u;
  788. } else {
  789. _has_bits_[0] &= ~0x00000001u;
  790. }
  791. command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
  792. GetArena());
  793. // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.command_key)
  794. }
  795. // required .message.Id_struct id_struct = 3;
  796. inline bool Notify_request_msg::_internal_has_id_struct() const {
  797. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  798. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  799. return value;
  800. }
  801. inline bool Notify_request_msg::has_id_struct() const {
  802. return _internal_has_id_struct();
  803. }
  804. inline const ::message::Id_struct& Notify_request_msg::_internal_id_struct() const {
  805. const ::message::Id_struct* p = id_struct_;
  806. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  807. &::message::_Id_struct_default_instance_);
  808. }
  809. inline const ::message::Id_struct& Notify_request_msg::id_struct() const {
  810. // @@protoc_insertion_point(field_get:message.Notify_request_msg.id_struct)
  811. return _internal_id_struct();
  812. }
  813. inline void Notify_request_msg::unsafe_arena_set_allocated_id_struct(
  814. ::message::Id_struct* id_struct) {
  815. if (GetArena() == nullptr) {
  816. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  817. }
  818. id_struct_ = id_struct;
  819. if (id_struct) {
  820. _has_bits_[0] |= 0x00000004u;
  821. } else {
  822. _has_bits_[0] &= ~0x00000004u;
  823. }
  824. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_request_msg.id_struct)
  825. }
  826. inline ::message::Id_struct* Notify_request_msg::release_id_struct() {
  827. _has_bits_[0] &= ~0x00000004u;
  828. ::message::Id_struct* temp = id_struct_;
  829. id_struct_ = nullptr;
  830. if (GetArena() != nullptr) {
  831. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  832. }
  833. return temp;
  834. }
  835. inline ::message::Id_struct* Notify_request_msg::unsafe_arena_release_id_struct() {
  836. // @@protoc_insertion_point(field_release:message.Notify_request_msg.id_struct)
  837. _has_bits_[0] &= ~0x00000004u;
  838. ::message::Id_struct* temp = id_struct_;
  839. id_struct_ = nullptr;
  840. return temp;
  841. }
  842. inline ::message::Id_struct* Notify_request_msg::_internal_mutable_id_struct() {
  843. _has_bits_[0] |= 0x00000004u;
  844. if (id_struct_ == nullptr) {
  845. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  846. id_struct_ = p;
  847. }
  848. return id_struct_;
  849. }
  850. inline ::message::Id_struct* Notify_request_msg::mutable_id_struct() {
  851. // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.id_struct)
  852. return _internal_mutable_id_struct();
  853. }
  854. inline void Notify_request_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  855. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  856. if (message_arena == nullptr) {
  857. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  858. }
  859. if (id_struct) {
  860. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  861. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  862. if (message_arena != submessage_arena) {
  863. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  864. message_arena, id_struct, submessage_arena);
  865. }
  866. _has_bits_[0] |= 0x00000004u;
  867. } else {
  868. _has_bits_[0] &= ~0x00000004u;
  869. }
  870. id_struct_ = id_struct;
  871. // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.id_struct)
  872. }
  873. // required .message.Car_info car_info = 4;
  874. inline bool Notify_request_msg::_internal_has_car_info() const {
  875. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  876. PROTOBUF_ASSUME(!value || car_info_ != nullptr);
  877. return value;
  878. }
  879. inline bool Notify_request_msg::has_car_info() const {
  880. return _internal_has_car_info();
  881. }
  882. inline const ::message::Car_info& Notify_request_msg::_internal_car_info() const {
  883. const ::message::Car_info* p = car_info_;
  884. return p != nullptr ? *p : *reinterpret_cast<const ::message::Car_info*>(
  885. &::message::_Car_info_default_instance_);
  886. }
  887. inline const ::message::Car_info& Notify_request_msg::car_info() const {
  888. // @@protoc_insertion_point(field_get:message.Notify_request_msg.car_info)
  889. return _internal_car_info();
  890. }
  891. inline void Notify_request_msg::unsafe_arena_set_allocated_car_info(
  892. ::message::Car_info* car_info) {
  893. if (GetArena() == nullptr) {
  894. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(car_info_);
  895. }
  896. car_info_ = car_info;
  897. if (car_info) {
  898. _has_bits_[0] |= 0x00000008u;
  899. } else {
  900. _has_bits_[0] &= ~0x00000008u;
  901. }
  902. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_request_msg.car_info)
  903. }
  904. inline ::message::Car_info* Notify_request_msg::release_car_info() {
  905. _has_bits_[0] &= ~0x00000008u;
  906. ::message::Car_info* temp = car_info_;
  907. car_info_ = nullptr;
  908. if (GetArena() != nullptr) {
  909. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  910. }
  911. return temp;
  912. }
  913. inline ::message::Car_info* Notify_request_msg::unsafe_arena_release_car_info() {
  914. // @@protoc_insertion_point(field_release:message.Notify_request_msg.car_info)
  915. _has_bits_[0] &= ~0x00000008u;
  916. ::message::Car_info* temp = car_info_;
  917. car_info_ = nullptr;
  918. return temp;
  919. }
  920. inline ::message::Car_info* Notify_request_msg::_internal_mutable_car_info() {
  921. _has_bits_[0] |= 0x00000008u;
  922. if (car_info_ == nullptr) {
  923. auto* p = CreateMaybeMessage<::message::Car_info>(GetArena());
  924. car_info_ = p;
  925. }
  926. return car_info_;
  927. }
  928. inline ::message::Car_info* Notify_request_msg::mutable_car_info() {
  929. // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.car_info)
  930. return _internal_mutable_car_info();
  931. }
  932. inline void Notify_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
  933. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  934. if (message_arena == nullptr) {
  935. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(car_info_);
  936. }
  937. if (car_info) {
  938. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  939. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(car_info)->GetArena();
  940. if (message_arena != submessage_arena) {
  941. car_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  942. message_arena, car_info, submessage_arena);
  943. }
  944. _has_bits_[0] |= 0x00000008u;
  945. } else {
  946. _has_bits_[0] &= ~0x00000008u;
  947. }
  948. car_info_ = car_info;
  949. // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.car_info)
  950. }
  951. // -------------------------------------------------------------------
  952. // Notify_response_msg
  953. // required .message.Base_info base_info = 1;
  954. inline bool Notify_response_msg::_internal_has_base_info() const {
  955. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  956. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  957. return value;
  958. }
  959. inline bool Notify_response_msg::has_base_info() const {
  960. return _internal_has_base_info();
  961. }
  962. inline const ::message::Base_info& Notify_response_msg::_internal_base_info() const {
  963. const ::message::Base_info* p = base_info_;
  964. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  965. &::message::_Base_info_default_instance_);
  966. }
  967. inline const ::message::Base_info& Notify_response_msg::base_info() const {
  968. // @@protoc_insertion_point(field_get:message.Notify_response_msg.base_info)
  969. return _internal_base_info();
  970. }
  971. inline void Notify_response_msg::unsafe_arena_set_allocated_base_info(
  972. ::message::Base_info* base_info) {
  973. if (GetArena() == nullptr) {
  974. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  975. }
  976. base_info_ = base_info;
  977. if (base_info) {
  978. _has_bits_[0] |= 0x00000002u;
  979. } else {
  980. _has_bits_[0] &= ~0x00000002u;
  981. }
  982. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_response_msg.base_info)
  983. }
  984. inline ::message::Base_info* Notify_response_msg::release_base_info() {
  985. _has_bits_[0] &= ~0x00000002u;
  986. ::message::Base_info* temp = base_info_;
  987. base_info_ = nullptr;
  988. if (GetArena() != nullptr) {
  989. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  990. }
  991. return temp;
  992. }
  993. inline ::message::Base_info* Notify_response_msg::unsafe_arena_release_base_info() {
  994. // @@protoc_insertion_point(field_release:message.Notify_response_msg.base_info)
  995. _has_bits_[0] &= ~0x00000002u;
  996. ::message::Base_info* temp = base_info_;
  997. base_info_ = nullptr;
  998. return temp;
  999. }
  1000. inline ::message::Base_info* Notify_response_msg::_internal_mutable_base_info() {
  1001. _has_bits_[0] |= 0x00000002u;
  1002. if (base_info_ == nullptr) {
  1003. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  1004. base_info_ = p;
  1005. }
  1006. return base_info_;
  1007. }
  1008. inline ::message::Base_info* Notify_response_msg::mutable_base_info() {
  1009. // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.base_info)
  1010. return _internal_mutable_base_info();
  1011. }
  1012. inline void Notify_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1013. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1014. if (message_arena == nullptr) {
  1015. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  1016. }
  1017. if (base_info) {
  1018. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1019. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  1020. if (message_arena != submessage_arena) {
  1021. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1022. message_arena, base_info, submessage_arena);
  1023. }
  1024. _has_bits_[0] |= 0x00000002u;
  1025. } else {
  1026. _has_bits_[0] &= ~0x00000002u;
  1027. }
  1028. base_info_ = base_info;
  1029. // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.base_info)
  1030. }
  1031. // required string command_key = 2;
  1032. inline bool Notify_response_msg::_internal_has_command_key() const {
  1033. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1034. return value;
  1035. }
  1036. inline bool Notify_response_msg::has_command_key() const {
  1037. return _internal_has_command_key();
  1038. }
  1039. inline void Notify_response_msg::clear_command_key() {
  1040. command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1041. _has_bits_[0] &= ~0x00000001u;
  1042. }
  1043. inline const std::string& Notify_response_msg::command_key() const {
  1044. // @@protoc_insertion_point(field_get:message.Notify_response_msg.command_key)
  1045. return _internal_command_key();
  1046. }
  1047. inline void Notify_response_msg::set_command_key(const std::string& value) {
  1048. _internal_set_command_key(value);
  1049. // @@protoc_insertion_point(field_set:message.Notify_response_msg.command_key)
  1050. }
  1051. inline std::string* Notify_response_msg::mutable_command_key() {
  1052. // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.command_key)
  1053. return _internal_mutable_command_key();
  1054. }
  1055. inline const std::string& Notify_response_msg::_internal_command_key() const {
  1056. return command_key_.Get();
  1057. }
  1058. inline void Notify_response_msg::_internal_set_command_key(const std::string& value) {
  1059. _has_bits_[0] |= 0x00000001u;
  1060. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1061. }
  1062. inline void Notify_response_msg::set_command_key(std::string&& value) {
  1063. _has_bits_[0] |= 0x00000001u;
  1064. command_key_.Set(
  1065. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1066. // @@protoc_insertion_point(field_set_rvalue:message.Notify_response_msg.command_key)
  1067. }
  1068. inline void Notify_response_msg::set_command_key(const char* value) {
  1069. GOOGLE_DCHECK(value != nullptr);
  1070. _has_bits_[0] |= 0x00000001u;
  1071. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1072. GetArena());
  1073. // @@protoc_insertion_point(field_set_char:message.Notify_response_msg.command_key)
  1074. }
  1075. inline void Notify_response_msg::set_command_key(const char* value,
  1076. size_t size) {
  1077. _has_bits_[0] |= 0x00000001u;
  1078. command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1079. reinterpret_cast<const char*>(value), size), GetArena());
  1080. // @@protoc_insertion_point(field_set_pointer:message.Notify_response_msg.command_key)
  1081. }
  1082. inline std::string* Notify_response_msg::_internal_mutable_command_key() {
  1083. _has_bits_[0] |= 0x00000001u;
  1084. return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1085. }
  1086. inline std::string* Notify_response_msg::release_command_key() {
  1087. // @@protoc_insertion_point(field_release:message.Notify_response_msg.command_key)
  1088. if (!_internal_has_command_key()) {
  1089. return nullptr;
  1090. }
  1091. _has_bits_[0] &= ~0x00000001u;
  1092. return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1093. }
  1094. inline void Notify_response_msg::set_allocated_command_key(std::string* command_key) {
  1095. if (command_key != nullptr) {
  1096. _has_bits_[0] |= 0x00000001u;
  1097. } else {
  1098. _has_bits_[0] &= ~0x00000001u;
  1099. }
  1100. command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
  1101. GetArena());
  1102. // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.command_key)
  1103. }
  1104. // required .message.Id_struct id_struct = 3;
  1105. inline bool Notify_response_msg::_internal_has_id_struct() const {
  1106. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1107. PROTOBUF_ASSUME(!value || id_struct_ != nullptr);
  1108. return value;
  1109. }
  1110. inline bool Notify_response_msg::has_id_struct() const {
  1111. return _internal_has_id_struct();
  1112. }
  1113. inline const ::message::Id_struct& Notify_response_msg::_internal_id_struct() const {
  1114. const ::message::Id_struct* p = id_struct_;
  1115. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  1116. &::message::_Id_struct_default_instance_);
  1117. }
  1118. inline const ::message::Id_struct& Notify_response_msg::id_struct() const {
  1119. // @@protoc_insertion_point(field_get:message.Notify_response_msg.id_struct)
  1120. return _internal_id_struct();
  1121. }
  1122. inline void Notify_response_msg::unsafe_arena_set_allocated_id_struct(
  1123. ::message::Id_struct* id_struct) {
  1124. if (GetArena() == nullptr) {
  1125. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  1126. }
  1127. id_struct_ = id_struct;
  1128. if (id_struct) {
  1129. _has_bits_[0] |= 0x00000004u;
  1130. } else {
  1131. _has_bits_[0] &= ~0x00000004u;
  1132. }
  1133. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_response_msg.id_struct)
  1134. }
  1135. inline ::message::Id_struct* Notify_response_msg::release_id_struct() {
  1136. _has_bits_[0] &= ~0x00000004u;
  1137. ::message::Id_struct* temp = id_struct_;
  1138. id_struct_ = nullptr;
  1139. if (GetArena() != nullptr) {
  1140. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1141. }
  1142. return temp;
  1143. }
  1144. inline ::message::Id_struct* Notify_response_msg::unsafe_arena_release_id_struct() {
  1145. // @@protoc_insertion_point(field_release:message.Notify_response_msg.id_struct)
  1146. _has_bits_[0] &= ~0x00000004u;
  1147. ::message::Id_struct* temp = id_struct_;
  1148. id_struct_ = nullptr;
  1149. return temp;
  1150. }
  1151. inline ::message::Id_struct* Notify_response_msg::_internal_mutable_id_struct() {
  1152. _has_bits_[0] |= 0x00000004u;
  1153. if (id_struct_ == nullptr) {
  1154. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  1155. id_struct_ = p;
  1156. }
  1157. return id_struct_;
  1158. }
  1159. inline ::message::Id_struct* Notify_response_msg::mutable_id_struct() {
  1160. // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.id_struct)
  1161. return _internal_mutable_id_struct();
  1162. }
  1163. inline void Notify_response_msg::set_allocated_id_struct(::message::Id_struct* id_struct) {
  1164. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1165. if (message_arena == nullptr) {
  1166. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct_);
  1167. }
  1168. if (id_struct) {
  1169. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1170. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_struct)->GetArena();
  1171. if (message_arena != submessage_arena) {
  1172. id_struct = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1173. message_arena, id_struct, submessage_arena);
  1174. }
  1175. _has_bits_[0] |= 0x00000004u;
  1176. } else {
  1177. _has_bits_[0] &= ~0x00000004u;
  1178. }
  1179. id_struct_ = id_struct;
  1180. // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.id_struct)
  1181. }
  1182. // required .message.Error_manager code = 4;
  1183. inline bool Notify_response_msg::_internal_has_code() const {
  1184. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1185. PROTOBUF_ASSUME(!value || code_ != nullptr);
  1186. return value;
  1187. }
  1188. inline bool Notify_response_msg::has_code() const {
  1189. return _internal_has_code();
  1190. }
  1191. inline const ::message::Error_manager& Notify_response_msg::_internal_code() const {
  1192. const ::message::Error_manager* p = code_;
  1193. return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1194. &::message::_Error_manager_default_instance_);
  1195. }
  1196. inline const ::message::Error_manager& Notify_response_msg::code() const {
  1197. // @@protoc_insertion_point(field_get:message.Notify_response_msg.code)
  1198. return _internal_code();
  1199. }
  1200. inline void Notify_response_msg::unsafe_arena_set_allocated_code(
  1201. ::message::Error_manager* code) {
  1202. if (GetArena() == nullptr) {
  1203. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(code_);
  1204. }
  1205. code_ = code;
  1206. if (code) {
  1207. _has_bits_[0] |= 0x00000008u;
  1208. } else {
  1209. _has_bits_[0] &= ~0x00000008u;
  1210. }
  1211. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_response_msg.code)
  1212. }
  1213. inline ::message::Error_manager* Notify_response_msg::release_code() {
  1214. _has_bits_[0] &= ~0x00000008u;
  1215. ::message::Error_manager* temp = code_;
  1216. code_ = nullptr;
  1217. if (GetArena() != nullptr) {
  1218. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1219. }
  1220. return temp;
  1221. }
  1222. inline ::message::Error_manager* Notify_response_msg::unsafe_arena_release_code() {
  1223. // @@protoc_insertion_point(field_release:message.Notify_response_msg.code)
  1224. _has_bits_[0] &= ~0x00000008u;
  1225. ::message::Error_manager* temp = code_;
  1226. code_ = nullptr;
  1227. return temp;
  1228. }
  1229. inline ::message::Error_manager* Notify_response_msg::_internal_mutable_code() {
  1230. _has_bits_[0] |= 0x00000008u;
  1231. if (code_ == nullptr) {
  1232. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
  1233. code_ = p;
  1234. }
  1235. return code_;
  1236. }
  1237. inline ::message::Error_manager* Notify_response_msg::mutable_code() {
  1238. // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.code)
  1239. return _internal_mutable_code();
  1240. }
  1241. inline void Notify_response_msg::set_allocated_code(::message::Error_manager* code) {
  1242. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1243. if (message_arena == nullptr) {
  1244. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(code_);
  1245. }
  1246. if (code) {
  1247. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1248. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(code)->GetArena();
  1249. if (message_arena != submessage_arena) {
  1250. code = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1251. message_arena, code, submessage_arena);
  1252. }
  1253. _has_bits_[0] |= 0x00000008u;
  1254. } else {
  1255. _has_bits_[0] &= ~0x00000008u;
  1256. }
  1257. code_ = code;
  1258. // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.code)
  1259. }
  1260. // -------------------------------------------------------------------
  1261. // Notify_status_msg
  1262. // required .message.Base_info base_info = 1;
  1263. inline bool Notify_status_msg::_internal_has_base_info() const {
  1264. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1265. PROTOBUF_ASSUME(!value || base_info_ != nullptr);
  1266. return value;
  1267. }
  1268. inline bool Notify_status_msg::has_base_info() const {
  1269. return _internal_has_base_info();
  1270. }
  1271. inline const ::message::Base_info& Notify_status_msg::_internal_base_info() const {
  1272. const ::message::Base_info* p = base_info_;
  1273. return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1274. &::message::_Base_info_default_instance_);
  1275. }
  1276. inline const ::message::Base_info& Notify_status_msg::base_info() const {
  1277. // @@protoc_insertion_point(field_get:message.Notify_status_msg.base_info)
  1278. return _internal_base_info();
  1279. }
  1280. inline void Notify_status_msg::unsafe_arena_set_allocated_base_info(
  1281. ::message::Base_info* base_info) {
  1282. if (GetArena() == nullptr) {
  1283. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  1284. }
  1285. base_info_ = base_info;
  1286. if (base_info) {
  1287. _has_bits_[0] |= 0x00000001u;
  1288. } else {
  1289. _has_bits_[0] &= ~0x00000001u;
  1290. }
  1291. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_status_msg.base_info)
  1292. }
  1293. inline ::message::Base_info* Notify_status_msg::release_base_info() {
  1294. _has_bits_[0] &= ~0x00000001u;
  1295. ::message::Base_info* temp = base_info_;
  1296. base_info_ = nullptr;
  1297. if (GetArena() != nullptr) {
  1298. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1299. }
  1300. return temp;
  1301. }
  1302. inline ::message::Base_info* Notify_status_msg::unsafe_arena_release_base_info() {
  1303. // @@protoc_insertion_point(field_release:message.Notify_status_msg.base_info)
  1304. _has_bits_[0] &= ~0x00000001u;
  1305. ::message::Base_info* temp = base_info_;
  1306. base_info_ = nullptr;
  1307. return temp;
  1308. }
  1309. inline ::message::Base_info* Notify_status_msg::_internal_mutable_base_info() {
  1310. _has_bits_[0] |= 0x00000001u;
  1311. if (base_info_ == nullptr) {
  1312. auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
  1313. base_info_ = p;
  1314. }
  1315. return base_info_;
  1316. }
  1317. inline ::message::Base_info* Notify_status_msg::mutable_base_info() {
  1318. // @@protoc_insertion_point(field_mutable:message.Notify_status_msg.base_info)
  1319. return _internal_mutable_base_info();
  1320. }
  1321. inline void Notify_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1322. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1323. if (message_arena == nullptr) {
  1324. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
  1325. }
  1326. if (base_info) {
  1327. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1328. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
  1329. if (message_arena != submessage_arena) {
  1330. base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1331. message_arena, base_info, submessage_arena);
  1332. }
  1333. _has_bits_[0] |= 0x00000001u;
  1334. } else {
  1335. _has_bits_[0] &= ~0x00000001u;
  1336. }
  1337. base_info_ = base_info;
  1338. // @@protoc_insertion_point(field_set_allocated:message.Notify_status_msg.base_info)
  1339. }
  1340. // required .message.Id_struct channel = 2;
  1341. inline bool Notify_status_msg::_internal_has_channel() const {
  1342. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1343. PROTOBUF_ASSUME(!value || channel_ != nullptr);
  1344. return value;
  1345. }
  1346. inline bool Notify_status_msg::has_channel() const {
  1347. return _internal_has_channel();
  1348. }
  1349. inline const ::message::Id_struct& Notify_status_msg::_internal_channel() const {
  1350. const ::message::Id_struct* p = channel_;
  1351. return p != nullptr ? *p : *reinterpret_cast<const ::message::Id_struct*>(
  1352. &::message::_Id_struct_default_instance_);
  1353. }
  1354. inline const ::message::Id_struct& Notify_status_msg::channel() const {
  1355. // @@protoc_insertion_point(field_get:message.Notify_status_msg.channel)
  1356. return _internal_channel();
  1357. }
  1358. inline void Notify_status_msg::unsafe_arena_set_allocated_channel(
  1359. ::message::Id_struct* channel) {
  1360. if (GetArena() == nullptr) {
  1361. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(channel_);
  1362. }
  1363. channel_ = channel;
  1364. if (channel) {
  1365. _has_bits_[0] |= 0x00000002u;
  1366. } else {
  1367. _has_bits_[0] &= ~0x00000002u;
  1368. }
  1369. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_status_msg.channel)
  1370. }
  1371. inline ::message::Id_struct* Notify_status_msg::release_channel() {
  1372. _has_bits_[0] &= ~0x00000002u;
  1373. ::message::Id_struct* temp = channel_;
  1374. channel_ = nullptr;
  1375. if (GetArena() != nullptr) {
  1376. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1377. }
  1378. return temp;
  1379. }
  1380. inline ::message::Id_struct* Notify_status_msg::unsafe_arena_release_channel() {
  1381. // @@protoc_insertion_point(field_release:message.Notify_status_msg.channel)
  1382. _has_bits_[0] &= ~0x00000002u;
  1383. ::message::Id_struct* temp = channel_;
  1384. channel_ = nullptr;
  1385. return temp;
  1386. }
  1387. inline ::message::Id_struct* Notify_status_msg::_internal_mutable_channel() {
  1388. _has_bits_[0] |= 0x00000002u;
  1389. if (channel_ == nullptr) {
  1390. auto* p = CreateMaybeMessage<::message::Id_struct>(GetArena());
  1391. channel_ = p;
  1392. }
  1393. return channel_;
  1394. }
  1395. inline ::message::Id_struct* Notify_status_msg::mutable_channel() {
  1396. // @@protoc_insertion_point(field_mutable:message.Notify_status_msg.channel)
  1397. return _internal_mutable_channel();
  1398. }
  1399. inline void Notify_status_msg::set_allocated_channel(::message::Id_struct* channel) {
  1400. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1401. if (message_arena == nullptr) {
  1402. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(channel_);
  1403. }
  1404. if (channel) {
  1405. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1406. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(channel)->GetArena();
  1407. if (message_arena != submessage_arena) {
  1408. channel = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1409. message_arena, channel, submessage_arena);
  1410. }
  1411. _has_bits_[0] |= 0x00000002u;
  1412. } else {
  1413. _has_bits_[0] &= ~0x00000002u;
  1414. }
  1415. channel_ = channel;
  1416. // @@protoc_insertion_point(field_set_allocated:message.Notify_status_msg.channel)
  1417. }
  1418. // required .message.Error_manager error_manager = 3;
  1419. inline bool Notify_status_msg::_internal_has_error_manager() const {
  1420. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1421. PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
  1422. return value;
  1423. }
  1424. inline bool Notify_status_msg::has_error_manager() const {
  1425. return _internal_has_error_manager();
  1426. }
  1427. inline const ::message::Error_manager& Notify_status_msg::_internal_error_manager() const {
  1428. const ::message::Error_manager* p = error_manager_;
  1429. return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1430. &::message::_Error_manager_default_instance_);
  1431. }
  1432. inline const ::message::Error_manager& Notify_status_msg::error_manager() const {
  1433. // @@protoc_insertion_point(field_get:message.Notify_status_msg.error_manager)
  1434. return _internal_error_manager();
  1435. }
  1436. inline void Notify_status_msg::unsafe_arena_set_allocated_error_manager(
  1437. ::message::Error_manager* error_manager) {
  1438. if (GetArena() == nullptr) {
  1439. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  1440. }
  1441. error_manager_ = error_manager;
  1442. if (error_manager) {
  1443. _has_bits_[0] |= 0x00000004u;
  1444. } else {
  1445. _has_bits_[0] &= ~0x00000004u;
  1446. }
  1447. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_status_msg.error_manager)
  1448. }
  1449. inline ::message::Error_manager* Notify_status_msg::release_error_manager() {
  1450. _has_bits_[0] &= ~0x00000004u;
  1451. ::message::Error_manager* temp = error_manager_;
  1452. error_manager_ = nullptr;
  1453. if (GetArena() != nullptr) {
  1454. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1455. }
  1456. return temp;
  1457. }
  1458. inline ::message::Error_manager* Notify_status_msg::unsafe_arena_release_error_manager() {
  1459. // @@protoc_insertion_point(field_release:message.Notify_status_msg.error_manager)
  1460. _has_bits_[0] &= ~0x00000004u;
  1461. ::message::Error_manager* temp = error_manager_;
  1462. error_manager_ = nullptr;
  1463. return temp;
  1464. }
  1465. inline ::message::Error_manager* Notify_status_msg::_internal_mutable_error_manager() {
  1466. _has_bits_[0] |= 0x00000004u;
  1467. if (error_manager_ == nullptr) {
  1468. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
  1469. error_manager_ = p;
  1470. }
  1471. return error_manager_;
  1472. }
  1473. inline ::message::Error_manager* Notify_status_msg::mutable_error_manager() {
  1474. // @@protoc_insertion_point(field_mutable:message.Notify_status_msg.error_manager)
  1475. return _internal_mutable_error_manager();
  1476. }
  1477. inline void Notify_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1478. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1479. if (message_arena == nullptr) {
  1480. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
  1481. }
  1482. if (error_manager) {
  1483. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1484. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
  1485. if (message_arena != submessage_arena) {
  1486. error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1487. message_arena, error_manager, submessage_arena);
  1488. }
  1489. _has_bits_[0] |= 0x00000004u;
  1490. } else {
  1491. _has_bits_[0] &= ~0x00000004u;
  1492. }
  1493. error_manager_ = error_manager;
  1494. // @@protoc_insertion_point(field_set_allocated:message.Notify_status_msg.error_manager)
  1495. }
  1496. #ifdef __GNUC__
  1497. #pragma GCC diagnostic pop
  1498. #endif // __GNUC__
  1499. // -------------------------------------------------------------------
  1500. // -------------------------------------------------------------------
  1501. // @@protoc_insertion_point(namespace_scope)
  1502. } // namespace message
  1503. // @@protoc_insertion_point(global_scope)
  1504. #include <google/protobuf/port_undef.inc>
  1505. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_notify_5fmessage_2eproto