globalmsg.pb.h 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: globalmsg.proto
  3. #ifndef PROTOBUF_globalmsg_2eproto__INCLUDED
  4. #define PROTOBUF_globalmsg_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/generated_enum_reflection.h>
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. namespace protobuf_globalmsg_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[6];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. void InitDefaultsmsgImpl();
  41. void InitDefaultsmsg();
  42. void InitDefaultslaserMsgImpl();
  43. void InitDefaultslaserMsg();
  44. void InitDefaultsplcMsgImpl();
  45. void InitDefaultsplcMsg();
  46. void InitDefaultsresultInfoImpl();
  47. void InitDefaultsresultInfo();
  48. void InitDefaultsalgMsgImpl();
  49. void InitDefaultsalgMsg();
  50. void InitDefaultsSysMsgImpl();
  51. void InitDefaultsSysMsg();
  52. inline void InitDefaults() {
  53. InitDefaultsmsg();
  54. InitDefaultslaserMsg();
  55. InitDefaultsplcMsg();
  56. InitDefaultsresultInfo();
  57. InitDefaultsalgMsg();
  58. InitDefaultsSysMsg();
  59. }
  60. } // namespace protobuf_globalmsg_2eproto
  61. namespace globalmsg {
  62. class SysMsg;
  63. class SysMsgDefaultTypeInternal;
  64. extern SysMsgDefaultTypeInternal _SysMsg_default_instance_;
  65. class algMsg;
  66. class algMsgDefaultTypeInternal;
  67. extern algMsgDefaultTypeInternal _algMsg_default_instance_;
  68. class laserMsg;
  69. class laserMsgDefaultTypeInternal;
  70. extern laserMsgDefaultTypeInternal _laserMsg_default_instance_;
  71. class msg;
  72. class msgDefaultTypeInternal;
  73. extern msgDefaultTypeInternal _msg_default_instance_;
  74. class plcMsg;
  75. class plcMsgDefaultTypeInternal;
  76. extern plcMsgDefaultTypeInternal _plcMsg_default_instance_;
  77. class resultInfo;
  78. class resultInfoDefaultTypeInternal;
  79. extern resultInfoDefaultTypeInternal _resultInfo_default_instance_;
  80. } // namespace globalmsg
  81. namespace globalmsg {
  82. enum type {
  83. ePLC = 0,
  84. eLaser = 1,
  85. eAlg = 2,
  86. eLog = 3
  87. };
  88. bool type_IsValid(int value);
  89. const type type_MIN = ePLC;
  90. const type type_MAX = eLog;
  91. const int type_ARRAYSIZE = type_MAX + 1;
  92. const ::google::protobuf::EnumDescriptor* type_descriptor();
  93. inline const ::std::string& type_Name(type value) {
  94. return ::google::protobuf::internal::NameOfEnum(
  95. type_descriptor(), value);
  96. }
  97. inline bool type_Parse(
  98. const ::std::string& name, type* value) {
  99. return ::google::protobuf::internal::ParseNamedEnum<type>(
  100. type_descriptor(), name, value);
  101. }
  102. enum laserStatus {
  103. eLaserConnected = 0,
  104. eLaserDisconnected = 1,
  105. eLaserBusy = 2,
  106. eLaserUnknown = 3
  107. };
  108. bool laserStatus_IsValid(int value);
  109. const laserStatus laserStatus_MIN = eLaserConnected;
  110. const laserStatus laserStatus_MAX = eLaserUnknown;
  111. const int laserStatus_ARRAYSIZE = laserStatus_MAX + 1;
  112. const ::google::protobuf::EnumDescriptor* laserStatus_descriptor();
  113. inline const ::std::string& laserStatus_Name(laserStatus value) {
  114. return ::google::protobuf::internal::NameOfEnum(
  115. laserStatus_descriptor(), value);
  116. }
  117. inline bool laserStatus_Parse(
  118. const ::std::string& name, laserStatus* value) {
  119. return ::google::protobuf::internal::ParseNamedEnum<laserStatus>(
  120. laserStatus_descriptor(), name, value);
  121. }
  122. enum plcStatus {
  123. ePLCConnected = 0,
  124. ePLCDisconnected = 1,
  125. ePLCRefused = 2,
  126. ePLCUnknown = 3
  127. };
  128. bool plcStatus_IsValid(int value);
  129. const plcStatus plcStatus_MIN = ePLCConnected;
  130. const plcStatus plcStatus_MAX = ePLCUnknown;
  131. const int plcStatus_ARRAYSIZE = plcStatus_MAX + 1;
  132. const ::google::protobuf::EnumDescriptor* plcStatus_descriptor();
  133. inline const ::std::string& plcStatus_Name(plcStatus value) {
  134. return ::google::protobuf::internal::NameOfEnum(
  135. plcStatus_descriptor(), value);
  136. }
  137. inline bool plcStatus_Parse(
  138. const ::std::string& name, plcStatus* value) {
  139. return ::google::protobuf::internal::ParseNamedEnum<plcStatus>(
  140. plcStatus_descriptor(), name, value);
  141. }
  142. enum logLevel {
  143. eSysInfo = 0,
  144. eSysLog = 1,
  145. eSysWarning = 2,
  146. eSysError = 3
  147. };
  148. bool logLevel_IsValid(int value);
  149. const logLevel logLevel_MIN = eSysInfo;
  150. const logLevel logLevel_MAX = eSysError;
  151. const int logLevel_ARRAYSIZE = logLevel_MAX + 1;
  152. const ::google::protobuf::EnumDescriptor* logLevel_descriptor();
  153. inline const ::std::string& logLevel_Name(logLevel value) {
  154. return ::google::protobuf::internal::NameOfEnum(
  155. logLevel_descriptor(), value);
  156. }
  157. inline bool logLevel_Parse(
  158. const ::std::string& name, logLevel* value) {
  159. return ::google::protobuf::internal::ParseNamedEnum<logLevel>(
  160. logLevel_descriptor(), name, value);
  161. }
  162. // ===================================================================
  163. class msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:globalmsg.msg) */ {
  164. public:
  165. msg();
  166. virtual ~msg();
  167. msg(const msg& from);
  168. inline msg& operator=(const msg& from) {
  169. CopyFrom(from);
  170. return *this;
  171. }
  172. #if LANG_CXX11
  173. msg(msg&& from) noexcept
  174. : msg() {
  175. *this = ::std::move(from);
  176. }
  177. inline msg& operator=(msg&& from) noexcept {
  178. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  179. if (this != &from) InternalSwap(&from);
  180. } else {
  181. CopyFrom(from);
  182. }
  183. return *this;
  184. }
  185. #endif
  186. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  187. return _internal_metadata_.unknown_fields();
  188. }
  189. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  190. return _internal_metadata_.mutable_unknown_fields();
  191. }
  192. static const ::google::protobuf::Descriptor* descriptor();
  193. static const msg& default_instance();
  194. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  195. static inline const msg* internal_default_instance() {
  196. return reinterpret_cast<const msg*>(
  197. &_msg_default_instance_);
  198. }
  199. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  200. 0;
  201. void Swap(msg* other);
  202. friend void swap(msg& a, msg& b) {
  203. a.Swap(&b);
  204. }
  205. // implements Message ----------------------------------------------
  206. inline msg* New() const PROTOBUF_FINAL { return New(NULL); }
  207. msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  208. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  209. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  210. void CopyFrom(const msg& from);
  211. void MergeFrom(const msg& from);
  212. void Clear() PROTOBUF_FINAL;
  213. bool IsInitialized() const PROTOBUF_FINAL;
  214. size_t ByteSizeLong() const PROTOBUF_FINAL;
  215. bool MergePartialFromCodedStream(
  216. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  217. void SerializeWithCachedSizes(
  218. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  219. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  220. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  221. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  222. private:
  223. void SharedCtor();
  224. void SharedDtor();
  225. void SetCachedSize(int size) const PROTOBUF_FINAL;
  226. void InternalSwap(msg* other);
  227. private:
  228. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  229. return NULL;
  230. }
  231. inline void* MaybeArenaPtr() const {
  232. return NULL;
  233. }
  234. public:
  235. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  236. // nested types ----------------------------------------------------
  237. // accessors -------------------------------------------------------
  238. // optional .globalmsg.laserMsg laser_msg = 2;
  239. bool has_laser_msg() const;
  240. void clear_laser_msg();
  241. static const int kLaserMsgFieldNumber = 2;
  242. const ::globalmsg::laserMsg& laser_msg() const;
  243. ::globalmsg::laserMsg* release_laser_msg();
  244. ::globalmsg::laserMsg* mutable_laser_msg();
  245. void set_allocated_laser_msg(::globalmsg::laserMsg* laser_msg);
  246. // optional .globalmsg.plcMsg plc_msg = 3;
  247. bool has_plc_msg() const;
  248. void clear_plc_msg();
  249. static const int kPlcMsgFieldNumber = 3;
  250. const ::globalmsg::plcMsg& plc_msg() const;
  251. ::globalmsg::plcMsg* release_plc_msg();
  252. ::globalmsg::plcMsg* mutable_plc_msg();
  253. void set_allocated_plc_msg(::globalmsg::plcMsg* plc_msg);
  254. // optional .globalmsg.algMsg alg_msg = 4;
  255. bool has_alg_msg() const;
  256. void clear_alg_msg();
  257. static const int kAlgMsgFieldNumber = 4;
  258. const ::globalmsg::algMsg& alg_msg() const;
  259. ::globalmsg::algMsg* release_alg_msg();
  260. ::globalmsg::algMsg* mutable_alg_msg();
  261. void set_allocated_alg_msg(::globalmsg::algMsg* alg_msg);
  262. // optional .globalmsg.SysMsg sys_msg = 5;
  263. bool has_sys_msg() const;
  264. void clear_sys_msg();
  265. static const int kSysMsgFieldNumber = 5;
  266. const ::globalmsg::SysMsg& sys_msg() const;
  267. ::globalmsg::SysMsg* release_sys_msg();
  268. ::globalmsg::SysMsg* mutable_sys_msg();
  269. void set_allocated_sys_msg(::globalmsg::SysMsg* sys_msg);
  270. // required .globalmsg.type msg_type = 1;
  271. bool has_msg_type() const;
  272. void clear_msg_type();
  273. static const int kMsgTypeFieldNumber = 1;
  274. ::globalmsg::type msg_type() const;
  275. void set_msg_type(::globalmsg::type value);
  276. // @@protoc_insertion_point(class_scope:globalmsg.msg)
  277. private:
  278. void set_has_msg_type();
  279. void clear_has_msg_type();
  280. void set_has_laser_msg();
  281. void clear_has_laser_msg();
  282. void set_has_plc_msg();
  283. void clear_has_plc_msg();
  284. void set_has_alg_msg();
  285. void clear_has_alg_msg();
  286. void set_has_sys_msg();
  287. void clear_has_sys_msg();
  288. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  289. ::google::protobuf::internal::HasBits<1> _has_bits_;
  290. mutable int _cached_size_;
  291. ::globalmsg::laserMsg* laser_msg_;
  292. ::globalmsg::plcMsg* plc_msg_;
  293. ::globalmsg::algMsg* alg_msg_;
  294. ::globalmsg::SysMsg* sys_msg_;
  295. int msg_type_;
  296. friend struct ::protobuf_globalmsg_2eproto::TableStruct;
  297. friend void ::protobuf_globalmsg_2eproto::InitDefaultsmsgImpl();
  298. };
  299. // -------------------------------------------------------------------
  300. class laserMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:globalmsg.laserMsg) */ {
  301. public:
  302. laserMsg();
  303. virtual ~laserMsg();
  304. laserMsg(const laserMsg& from);
  305. inline laserMsg& operator=(const laserMsg& from) {
  306. CopyFrom(from);
  307. return *this;
  308. }
  309. #if LANG_CXX11
  310. laserMsg(laserMsg&& from) noexcept
  311. : laserMsg() {
  312. *this = ::std::move(from);
  313. }
  314. inline laserMsg& operator=(laserMsg&& from) noexcept {
  315. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  316. if (this != &from) InternalSwap(&from);
  317. } else {
  318. CopyFrom(from);
  319. }
  320. return *this;
  321. }
  322. #endif
  323. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  324. return _internal_metadata_.unknown_fields();
  325. }
  326. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  327. return _internal_metadata_.mutable_unknown_fields();
  328. }
  329. static const ::google::protobuf::Descriptor* descriptor();
  330. static const laserMsg& default_instance();
  331. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  332. static inline const laserMsg* internal_default_instance() {
  333. return reinterpret_cast<const laserMsg*>(
  334. &_laserMsg_default_instance_);
  335. }
  336. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  337. 1;
  338. void Swap(laserMsg* other);
  339. friend void swap(laserMsg& a, laserMsg& b) {
  340. a.Swap(&b);
  341. }
  342. // implements Message ----------------------------------------------
  343. inline laserMsg* New() const PROTOBUF_FINAL { return New(NULL); }
  344. laserMsg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  345. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  346. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  347. void CopyFrom(const laserMsg& from);
  348. void MergeFrom(const laserMsg& from);
  349. void Clear() PROTOBUF_FINAL;
  350. bool IsInitialized() const PROTOBUF_FINAL;
  351. size_t ByteSizeLong() const PROTOBUF_FINAL;
  352. bool MergePartialFromCodedStream(
  353. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  354. void SerializeWithCachedSizes(
  355. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  356. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  357. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  358. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  359. private:
  360. void SharedCtor();
  361. void SharedDtor();
  362. void SetCachedSize(int size) const PROTOBUF_FINAL;
  363. void InternalSwap(laserMsg* other);
  364. private:
  365. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  366. return NULL;
  367. }
  368. inline void* MaybeArenaPtr() const {
  369. return NULL;
  370. }
  371. public:
  372. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  373. // nested types ----------------------------------------------------
  374. // accessors -------------------------------------------------------
  375. // optional .globalmsg.laserStatus laser_status = 1;
  376. bool has_laser_status() const;
  377. void clear_laser_status();
  378. static const int kLaserStatusFieldNumber = 1;
  379. ::globalmsg::laserStatus laser_status() const;
  380. void set_laser_status(::globalmsg::laserStatus value);
  381. // optional int32 queue_data_count = 2;
  382. bool has_queue_data_count() const;
  383. void clear_queue_data_count();
  384. static const int kQueueDataCountFieldNumber = 2;
  385. ::google::protobuf::int32 queue_data_count() const;
  386. void set_queue_data_count(::google::protobuf::int32 value);
  387. // optional int32 cloud_count = 3;
  388. bool has_cloud_count() const;
  389. void clear_cloud_count();
  390. static const int kCloudCountFieldNumber = 3;
  391. ::google::protobuf::int32 cloud_count() const;
  392. void set_cloud_count(::google::protobuf::int32 value);
  393. // required int32 id = 4;
  394. bool has_id() const;
  395. void clear_id();
  396. static const int kIdFieldNumber = 4;
  397. ::google::protobuf::int32 id() const;
  398. void set_id(::google::protobuf::int32 value);
  399. // @@protoc_insertion_point(class_scope:globalmsg.laserMsg)
  400. private:
  401. void set_has_laser_status();
  402. void clear_has_laser_status();
  403. void set_has_queue_data_count();
  404. void clear_has_queue_data_count();
  405. void set_has_cloud_count();
  406. void clear_has_cloud_count();
  407. void set_has_id();
  408. void clear_has_id();
  409. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  410. ::google::protobuf::internal::HasBits<1> _has_bits_;
  411. mutable int _cached_size_;
  412. int laser_status_;
  413. ::google::protobuf::int32 queue_data_count_;
  414. ::google::protobuf::int32 cloud_count_;
  415. ::google::protobuf::int32 id_;
  416. friend struct ::protobuf_globalmsg_2eproto::TableStruct;
  417. friend void ::protobuf_globalmsg_2eproto::InitDefaultslaserMsgImpl();
  418. };
  419. // -------------------------------------------------------------------
  420. class plcMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:globalmsg.plcMsg) */ {
  421. public:
  422. plcMsg();
  423. virtual ~plcMsg();
  424. plcMsg(const plcMsg& from);
  425. inline plcMsg& operator=(const plcMsg& from) {
  426. CopyFrom(from);
  427. return *this;
  428. }
  429. #if LANG_CXX11
  430. plcMsg(plcMsg&& from) noexcept
  431. : plcMsg() {
  432. *this = ::std::move(from);
  433. }
  434. inline plcMsg& operator=(plcMsg&& from) noexcept {
  435. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  436. if (this != &from) InternalSwap(&from);
  437. } else {
  438. CopyFrom(from);
  439. }
  440. return *this;
  441. }
  442. #endif
  443. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  444. return _internal_metadata_.unknown_fields();
  445. }
  446. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  447. return _internal_metadata_.mutable_unknown_fields();
  448. }
  449. static const ::google::protobuf::Descriptor* descriptor();
  450. static const plcMsg& default_instance();
  451. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  452. static inline const plcMsg* internal_default_instance() {
  453. return reinterpret_cast<const plcMsg*>(
  454. &_plcMsg_default_instance_);
  455. }
  456. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  457. 2;
  458. void Swap(plcMsg* other);
  459. friend void swap(plcMsg& a, plcMsg& b) {
  460. a.Swap(&b);
  461. }
  462. // implements Message ----------------------------------------------
  463. inline plcMsg* New() const PROTOBUF_FINAL { return New(NULL); }
  464. plcMsg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  465. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  466. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  467. void CopyFrom(const plcMsg& from);
  468. void MergeFrom(const plcMsg& from);
  469. void Clear() PROTOBUF_FINAL;
  470. bool IsInitialized() const PROTOBUF_FINAL;
  471. size_t ByteSizeLong() const PROTOBUF_FINAL;
  472. bool MergePartialFromCodedStream(
  473. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  474. void SerializeWithCachedSizes(
  475. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  476. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  477. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  478. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  479. private:
  480. void SharedCtor();
  481. void SharedDtor();
  482. void SetCachedSize(int size) const PROTOBUF_FINAL;
  483. void InternalSwap(plcMsg* other);
  484. private:
  485. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  486. return NULL;
  487. }
  488. inline void* MaybeArenaPtr() const {
  489. return NULL;
  490. }
  491. public:
  492. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  493. // nested types ----------------------------------------------------
  494. // accessors -------------------------------------------------------
  495. // repeated int32 plc_values = 2;
  496. int plc_values_size() const;
  497. void clear_plc_values();
  498. static const int kPlcValuesFieldNumber = 2;
  499. ::google::protobuf::int32 plc_values(int index) const;
  500. void set_plc_values(int index, ::google::protobuf::int32 value);
  501. void add_plc_values(::google::protobuf::int32 value);
  502. const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  503. plc_values() const;
  504. ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  505. mutable_plc_values();
  506. // optional .globalmsg.plcStatus plc_status = 1;
  507. bool has_plc_status() const;
  508. void clear_plc_status();
  509. static const int kPlcStatusFieldNumber = 1;
  510. ::globalmsg::plcStatus plc_status() const;
  511. void set_plc_status(::globalmsg::plcStatus value);
  512. // @@protoc_insertion_point(class_scope:globalmsg.plcMsg)
  513. private:
  514. void set_has_plc_status();
  515. void clear_has_plc_status();
  516. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  517. ::google::protobuf::internal::HasBits<1> _has_bits_;
  518. mutable int _cached_size_;
  519. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > plc_values_;
  520. int plc_status_;
  521. friend struct ::protobuf_globalmsg_2eproto::TableStruct;
  522. friend void ::protobuf_globalmsg_2eproto::InitDefaultsplcMsgImpl();
  523. };
  524. // -------------------------------------------------------------------
  525. class resultInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:globalmsg.resultInfo) */ {
  526. public:
  527. resultInfo();
  528. virtual ~resultInfo();
  529. resultInfo(const resultInfo& from);
  530. inline resultInfo& operator=(const resultInfo& from) {
  531. CopyFrom(from);
  532. return *this;
  533. }
  534. #if LANG_CXX11
  535. resultInfo(resultInfo&& from) noexcept
  536. : resultInfo() {
  537. *this = ::std::move(from);
  538. }
  539. inline resultInfo& operator=(resultInfo&& from) noexcept {
  540. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  541. if (this != &from) InternalSwap(&from);
  542. } else {
  543. CopyFrom(from);
  544. }
  545. return *this;
  546. }
  547. #endif
  548. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  549. return _internal_metadata_.unknown_fields();
  550. }
  551. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  552. return _internal_metadata_.mutable_unknown_fields();
  553. }
  554. static const ::google::protobuf::Descriptor* descriptor();
  555. static const resultInfo& default_instance();
  556. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  557. static inline const resultInfo* internal_default_instance() {
  558. return reinterpret_cast<const resultInfo*>(
  559. &_resultInfo_default_instance_);
  560. }
  561. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  562. 3;
  563. void Swap(resultInfo* other);
  564. friend void swap(resultInfo& a, resultInfo& b) {
  565. a.Swap(&b);
  566. }
  567. // implements Message ----------------------------------------------
  568. inline resultInfo* New() const PROTOBUF_FINAL { return New(NULL); }
  569. resultInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  570. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  571. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  572. void CopyFrom(const resultInfo& from);
  573. void MergeFrom(const resultInfo& from);
  574. void Clear() PROTOBUF_FINAL;
  575. bool IsInitialized() const PROTOBUF_FINAL;
  576. size_t ByteSizeLong() const PROTOBUF_FINAL;
  577. bool MergePartialFromCodedStream(
  578. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  579. void SerializeWithCachedSizes(
  580. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  581. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  582. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  583. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  584. private:
  585. void SharedCtor();
  586. void SharedDtor();
  587. void SetCachedSize(int size) const PROTOBUF_FINAL;
  588. void InternalSwap(resultInfo* other);
  589. private:
  590. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  591. return NULL;
  592. }
  593. inline void* MaybeArenaPtr() const {
  594. return NULL;
  595. }
  596. public:
  597. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  598. // nested types ----------------------------------------------------
  599. // accessors -------------------------------------------------------
  600. // required string time = 1 [default = ""];
  601. bool has_time() const;
  602. void clear_time();
  603. static const int kTimeFieldNumber = 1;
  604. const ::std::string& time() const;
  605. void set_time(const ::std::string& value);
  606. #if LANG_CXX11
  607. void set_time(::std::string&& value);
  608. #endif
  609. void set_time(const char* value);
  610. void set_time(const char* value, size_t size);
  611. ::std::string* mutable_time();
  612. ::std::string* release_time();
  613. void set_allocated_time(::std::string* time);
  614. // optional string error = 12 [default = ""];
  615. bool has_error() const;
  616. void clear_error();
  617. static const int kErrorFieldNumber = 12;
  618. const ::std::string& error() const;
  619. void set_error(const ::std::string& value);
  620. #if LANG_CXX11
  621. void set_error(::std::string&& value);
  622. #endif
  623. void set_error(const char* value);
  624. void set_error(const char* value, size_t size);
  625. ::std::string* mutable_error();
  626. ::std::string* release_error();
  627. void set_allocated_error(::std::string* error);
  628. // required bool correctness = 2;
  629. bool has_correctness() const;
  630. void clear_correctness();
  631. static const int kCorrectnessFieldNumber = 2;
  632. bool correctness() const;
  633. void set_correctness(bool value);
  634. // optional int32 park_space_id = 3;
  635. bool has_park_space_id() const;
  636. void clear_park_space_id();
  637. static const int kParkSpaceIdFieldNumber = 3;
  638. ::google::protobuf::int32 park_space_id() const;
  639. void set_park_space_id(::google::protobuf::int32 value);
  640. // optional double x = 5;
  641. bool has_x() const;
  642. void clear_x();
  643. static const int kXFieldNumber = 5;
  644. double x() const;
  645. void set_x(double value);
  646. // optional double y = 6;
  647. bool has_y() const;
  648. void clear_y();
  649. static const int kYFieldNumber = 6;
  650. double y() const;
  651. void set_y(double value);
  652. // optional double c = 7;
  653. bool has_c() const;
  654. void clear_c();
  655. static const int kCFieldNumber = 7;
  656. double c() const;
  657. void set_c(double value);
  658. // optional double wheel_base = 8;
  659. bool has_wheel_base() const;
  660. void clear_wheel_base();
  661. static const int kWheelBaseFieldNumber = 8;
  662. double wheel_base() const;
  663. void set_wheel_base(double value);
  664. // optional double length = 9;
  665. bool has_length() const;
  666. void clear_length();
  667. static const int kLengthFieldNumber = 9;
  668. double length() const;
  669. void set_length(double value);
  670. // optional double width = 10;
  671. bool has_width() const;
  672. void clear_width();
  673. static const int kWidthFieldNumber = 10;
  674. double width() const;
  675. void set_width(double value);
  676. // optional double height = 11;
  677. bool has_height() const;
  678. void clear_height();
  679. static const int kHeightFieldNumber = 11;
  680. double height() const;
  681. void set_height(double value);
  682. // optional double front_theta = 13;
  683. bool has_front_theta() const;
  684. void clear_front_theta();
  685. static const int kFrontThetaFieldNumber = 13;
  686. double front_theta() const;
  687. void set_front_theta(double value);
  688. // optional int32 laser_ids = 4;
  689. bool has_laser_ids() const;
  690. void clear_laser_ids();
  691. static const int kLaserIdsFieldNumber = 4;
  692. ::google::protobuf::int32 laser_ids() const;
  693. void set_laser_ids(::google::protobuf::int32 value);
  694. // @@protoc_insertion_point(class_scope:globalmsg.resultInfo)
  695. private:
  696. void set_has_time();
  697. void clear_has_time();
  698. void set_has_correctness();
  699. void clear_has_correctness();
  700. void set_has_park_space_id();
  701. void clear_has_park_space_id();
  702. void set_has_laser_ids();
  703. void clear_has_laser_ids();
  704. void set_has_x();
  705. void clear_has_x();
  706. void set_has_y();
  707. void clear_has_y();
  708. void set_has_c();
  709. void clear_has_c();
  710. void set_has_wheel_base();
  711. void clear_has_wheel_base();
  712. void set_has_length();
  713. void clear_has_length();
  714. void set_has_width();
  715. void clear_has_width();
  716. void set_has_height();
  717. void clear_has_height();
  718. void set_has_error();
  719. void clear_has_error();
  720. void set_has_front_theta();
  721. void clear_has_front_theta();
  722. // helper for ByteSizeLong()
  723. size_t RequiredFieldsByteSizeFallback() const;
  724. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  725. ::google::protobuf::internal::HasBits<1> _has_bits_;
  726. mutable int _cached_size_;
  727. ::google::protobuf::internal::ArenaStringPtr time_;
  728. ::google::protobuf::internal::ArenaStringPtr error_;
  729. bool correctness_;
  730. ::google::protobuf::int32 park_space_id_;
  731. double x_;
  732. double y_;
  733. double c_;
  734. double wheel_base_;
  735. double length_;
  736. double width_;
  737. double height_;
  738. double front_theta_;
  739. ::google::protobuf::int32 laser_ids_;
  740. friend struct ::protobuf_globalmsg_2eproto::TableStruct;
  741. friend void ::protobuf_globalmsg_2eproto::InitDefaultsresultInfoImpl();
  742. };
  743. // -------------------------------------------------------------------
  744. class algMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:globalmsg.algMsg) */ {
  745. public:
  746. algMsg();
  747. virtual ~algMsg();
  748. algMsg(const algMsg& from);
  749. inline algMsg& operator=(const algMsg& from) {
  750. CopyFrom(from);
  751. return *this;
  752. }
  753. #if LANG_CXX11
  754. algMsg(algMsg&& from) noexcept
  755. : algMsg() {
  756. *this = ::std::move(from);
  757. }
  758. inline algMsg& operator=(algMsg&& from) noexcept {
  759. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  760. if (this != &from) InternalSwap(&from);
  761. } else {
  762. CopyFrom(from);
  763. }
  764. return *this;
  765. }
  766. #endif
  767. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  768. return _internal_metadata_.unknown_fields();
  769. }
  770. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  771. return _internal_metadata_.mutable_unknown_fields();
  772. }
  773. static const ::google::protobuf::Descriptor* descriptor();
  774. static const algMsg& default_instance();
  775. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  776. static inline const algMsg* internal_default_instance() {
  777. return reinterpret_cast<const algMsg*>(
  778. &_algMsg_default_instance_);
  779. }
  780. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  781. 4;
  782. void Swap(algMsg* other);
  783. friend void swap(algMsg& a, algMsg& b) {
  784. a.Swap(&b);
  785. }
  786. // implements Message ----------------------------------------------
  787. inline algMsg* New() const PROTOBUF_FINAL { return New(NULL); }
  788. algMsg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  789. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  790. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  791. void CopyFrom(const algMsg& from);
  792. void MergeFrom(const algMsg& from);
  793. void Clear() PROTOBUF_FINAL;
  794. bool IsInitialized() const PROTOBUF_FINAL;
  795. size_t ByteSizeLong() const PROTOBUF_FINAL;
  796. bool MergePartialFromCodedStream(
  797. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  798. void SerializeWithCachedSizes(
  799. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  800. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  801. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  802. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  803. private:
  804. void SharedCtor();
  805. void SharedDtor();
  806. void SetCachedSize(int size) const PROTOBUF_FINAL;
  807. void InternalSwap(algMsg* other);
  808. private:
  809. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  810. return NULL;
  811. }
  812. inline void* MaybeArenaPtr() const {
  813. return NULL;
  814. }
  815. public:
  816. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  817. // nested types ----------------------------------------------------
  818. // accessors -------------------------------------------------------
  819. // repeated .globalmsg.resultInfo result = 1;
  820. int result_size() const;
  821. void clear_result();
  822. static const int kResultFieldNumber = 1;
  823. const ::globalmsg::resultInfo& result(int index) const;
  824. ::globalmsg::resultInfo* mutable_result(int index);
  825. ::globalmsg::resultInfo* add_result();
  826. ::google::protobuf::RepeatedPtrField< ::globalmsg::resultInfo >*
  827. mutable_result();
  828. const ::google::protobuf::RepeatedPtrField< ::globalmsg::resultInfo >&
  829. result() const;
  830. // optional string log_path = 3 [default = ""];
  831. bool has_log_path() const;
  832. void clear_log_path();
  833. static const int kLogPathFieldNumber = 3;
  834. const ::std::string& log_path() const;
  835. void set_log_path(const ::std::string& value);
  836. #if LANG_CXX11
  837. void set_log_path(::std::string&& value);
  838. #endif
  839. void set_log_path(const char* value);
  840. void set_log_path(const char* value, size_t size);
  841. ::std::string* mutable_log_path();
  842. ::std::string* release_log_path();
  843. void set_allocated_log_path(::std::string* log_path);
  844. // optional int32 thread_queue_size = 2;
  845. bool has_thread_queue_size() const;
  846. void clear_thread_queue_size();
  847. static const int kThreadQueueSizeFieldNumber = 2;
  848. ::google::protobuf::int32 thread_queue_size() const;
  849. void set_thread_queue_size(::google::protobuf::int32 value);
  850. // @@protoc_insertion_point(class_scope:globalmsg.algMsg)
  851. private:
  852. void set_has_thread_queue_size();
  853. void clear_has_thread_queue_size();
  854. void set_has_log_path();
  855. void clear_has_log_path();
  856. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  857. ::google::protobuf::internal::HasBits<1> _has_bits_;
  858. mutable int _cached_size_;
  859. ::google::protobuf::RepeatedPtrField< ::globalmsg::resultInfo > result_;
  860. ::google::protobuf::internal::ArenaStringPtr log_path_;
  861. ::google::protobuf::int32 thread_queue_size_;
  862. friend struct ::protobuf_globalmsg_2eproto::TableStruct;
  863. friend void ::protobuf_globalmsg_2eproto::InitDefaultsalgMsgImpl();
  864. };
  865. // -------------------------------------------------------------------
  866. class SysMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:globalmsg.SysMsg) */ {
  867. public:
  868. SysMsg();
  869. virtual ~SysMsg();
  870. SysMsg(const SysMsg& from);
  871. inline SysMsg& operator=(const SysMsg& from) {
  872. CopyFrom(from);
  873. return *this;
  874. }
  875. #if LANG_CXX11
  876. SysMsg(SysMsg&& from) noexcept
  877. : SysMsg() {
  878. *this = ::std::move(from);
  879. }
  880. inline SysMsg& operator=(SysMsg&& from) noexcept {
  881. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  882. if (this != &from) InternalSwap(&from);
  883. } else {
  884. CopyFrom(from);
  885. }
  886. return *this;
  887. }
  888. #endif
  889. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  890. return _internal_metadata_.unknown_fields();
  891. }
  892. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  893. return _internal_metadata_.mutable_unknown_fields();
  894. }
  895. static const ::google::protobuf::Descriptor* descriptor();
  896. static const SysMsg& default_instance();
  897. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  898. static inline const SysMsg* internal_default_instance() {
  899. return reinterpret_cast<const SysMsg*>(
  900. &_SysMsg_default_instance_);
  901. }
  902. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  903. 5;
  904. void Swap(SysMsg* other);
  905. friend void swap(SysMsg& a, SysMsg& b) {
  906. a.Swap(&b);
  907. }
  908. // implements Message ----------------------------------------------
  909. inline SysMsg* New() const PROTOBUF_FINAL { return New(NULL); }
  910. SysMsg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  911. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  912. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  913. void CopyFrom(const SysMsg& from);
  914. void MergeFrom(const SysMsg& from);
  915. void Clear() PROTOBUF_FINAL;
  916. bool IsInitialized() const PROTOBUF_FINAL;
  917. size_t ByteSizeLong() const PROTOBUF_FINAL;
  918. bool MergePartialFromCodedStream(
  919. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  920. void SerializeWithCachedSizes(
  921. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  922. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  923. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  924. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  925. private:
  926. void SharedCtor();
  927. void SharedDtor();
  928. void SetCachedSize(int size) const PROTOBUF_FINAL;
  929. void InternalSwap(SysMsg* other);
  930. private:
  931. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  932. return NULL;
  933. }
  934. inline void* MaybeArenaPtr() const {
  935. return NULL;
  936. }
  937. public:
  938. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  939. // nested types ----------------------------------------------------
  940. // accessors -------------------------------------------------------
  941. // required string log = 1 [default = ""];
  942. bool has_log() const;
  943. void clear_log();
  944. static const int kLogFieldNumber = 1;
  945. const ::std::string& log() const;
  946. void set_log(const ::std::string& value);
  947. #if LANG_CXX11
  948. void set_log(::std::string&& value);
  949. #endif
  950. void set_log(const char* value);
  951. void set_log(const char* value, size_t size);
  952. ::std::string* mutable_log();
  953. ::std::string* release_log();
  954. void set_allocated_log(::std::string* log);
  955. // optional .globalmsg.logLevel level = 2 [default = eSysInfo];
  956. bool has_level() const;
  957. void clear_level();
  958. static const int kLevelFieldNumber = 2;
  959. ::globalmsg::logLevel level() const;
  960. void set_level(::globalmsg::logLevel value);
  961. // @@protoc_insertion_point(class_scope:globalmsg.SysMsg)
  962. private:
  963. void set_has_log();
  964. void clear_has_log();
  965. void set_has_level();
  966. void clear_has_level();
  967. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  968. ::google::protobuf::internal::HasBits<1> _has_bits_;
  969. mutable int _cached_size_;
  970. ::google::protobuf::internal::ArenaStringPtr log_;
  971. int level_;
  972. friend struct ::protobuf_globalmsg_2eproto::TableStruct;
  973. friend void ::protobuf_globalmsg_2eproto::InitDefaultsSysMsgImpl();
  974. };
  975. // ===================================================================
  976. // ===================================================================
  977. #ifdef __GNUC__
  978. #pragma GCC diagnostic push
  979. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  980. #endif // __GNUC__
  981. // msg
  982. // required .globalmsg.type msg_type = 1;
  983. inline bool msg::has_msg_type() const {
  984. return (_has_bits_[0] & 0x00000010u) != 0;
  985. }
  986. inline void msg::set_has_msg_type() {
  987. _has_bits_[0] |= 0x00000010u;
  988. }
  989. inline void msg::clear_has_msg_type() {
  990. _has_bits_[0] &= ~0x00000010u;
  991. }
  992. inline void msg::clear_msg_type() {
  993. msg_type_ = 0;
  994. clear_has_msg_type();
  995. }
  996. inline ::globalmsg::type msg::msg_type() const {
  997. // @@protoc_insertion_point(field_get:globalmsg.msg.msg_type)
  998. return static_cast< ::globalmsg::type >(msg_type_);
  999. }
  1000. inline void msg::set_msg_type(::globalmsg::type value) {
  1001. assert(::globalmsg::type_IsValid(value));
  1002. set_has_msg_type();
  1003. msg_type_ = value;
  1004. // @@protoc_insertion_point(field_set:globalmsg.msg.msg_type)
  1005. }
  1006. // optional .globalmsg.laserMsg laser_msg = 2;
  1007. inline bool msg::has_laser_msg() const {
  1008. return (_has_bits_[0] & 0x00000001u) != 0;
  1009. }
  1010. inline void msg::set_has_laser_msg() {
  1011. _has_bits_[0] |= 0x00000001u;
  1012. }
  1013. inline void msg::clear_has_laser_msg() {
  1014. _has_bits_[0] &= ~0x00000001u;
  1015. }
  1016. inline void msg::clear_laser_msg() {
  1017. if (laser_msg_ != NULL) laser_msg_->Clear();
  1018. clear_has_laser_msg();
  1019. }
  1020. inline const ::globalmsg::laserMsg& msg::laser_msg() const {
  1021. const ::globalmsg::laserMsg* p = laser_msg_;
  1022. // @@protoc_insertion_point(field_get:globalmsg.msg.laser_msg)
  1023. return p != NULL ? *p : *reinterpret_cast<const ::globalmsg::laserMsg*>(
  1024. &::globalmsg::_laserMsg_default_instance_);
  1025. }
  1026. inline ::globalmsg::laserMsg* msg::release_laser_msg() {
  1027. // @@protoc_insertion_point(field_release:globalmsg.msg.laser_msg)
  1028. clear_has_laser_msg();
  1029. ::globalmsg::laserMsg* temp = laser_msg_;
  1030. laser_msg_ = NULL;
  1031. return temp;
  1032. }
  1033. inline ::globalmsg::laserMsg* msg::mutable_laser_msg() {
  1034. set_has_laser_msg();
  1035. if (laser_msg_ == NULL) {
  1036. laser_msg_ = new ::globalmsg::laserMsg;
  1037. }
  1038. // @@protoc_insertion_point(field_mutable:globalmsg.msg.laser_msg)
  1039. return laser_msg_;
  1040. }
  1041. inline void msg::set_allocated_laser_msg(::globalmsg::laserMsg* laser_msg) {
  1042. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1043. if (message_arena == NULL) {
  1044. delete laser_msg_;
  1045. }
  1046. if (laser_msg) {
  1047. ::google::protobuf::Arena* submessage_arena = NULL;
  1048. if (message_arena != submessage_arena) {
  1049. laser_msg = ::google::protobuf::internal::GetOwnedMessage(
  1050. message_arena, laser_msg, submessage_arena);
  1051. }
  1052. set_has_laser_msg();
  1053. } else {
  1054. clear_has_laser_msg();
  1055. }
  1056. laser_msg_ = laser_msg;
  1057. // @@protoc_insertion_point(field_set_allocated:globalmsg.msg.laser_msg)
  1058. }
  1059. // optional .globalmsg.plcMsg plc_msg = 3;
  1060. inline bool msg::has_plc_msg() const {
  1061. return (_has_bits_[0] & 0x00000002u) != 0;
  1062. }
  1063. inline void msg::set_has_plc_msg() {
  1064. _has_bits_[0] |= 0x00000002u;
  1065. }
  1066. inline void msg::clear_has_plc_msg() {
  1067. _has_bits_[0] &= ~0x00000002u;
  1068. }
  1069. inline void msg::clear_plc_msg() {
  1070. if (plc_msg_ != NULL) plc_msg_->Clear();
  1071. clear_has_plc_msg();
  1072. }
  1073. inline const ::globalmsg::plcMsg& msg::plc_msg() const {
  1074. const ::globalmsg::plcMsg* p = plc_msg_;
  1075. // @@protoc_insertion_point(field_get:globalmsg.msg.plc_msg)
  1076. return p != NULL ? *p : *reinterpret_cast<const ::globalmsg::plcMsg*>(
  1077. &::globalmsg::_plcMsg_default_instance_);
  1078. }
  1079. inline ::globalmsg::plcMsg* msg::release_plc_msg() {
  1080. // @@protoc_insertion_point(field_release:globalmsg.msg.plc_msg)
  1081. clear_has_plc_msg();
  1082. ::globalmsg::plcMsg* temp = plc_msg_;
  1083. plc_msg_ = NULL;
  1084. return temp;
  1085. }
  1086. inline ::globalmsg::plcMsg* msg::mutable_plc_msg() {
  1087. set_has_plc_msg();
  1088. if (plc_msg_ == NULL) {
  1089. plc_msg_ = new ::globalmsg::plcMsg;
  1090. }
  1091. // @@protoc_insertion_point(field_mutable:globalmsg.msg.plc_msg)
  1092. return plc_msg_;
  1093. }
  1094. inline void msg::set_allocated_plc_msg(::globalmsg::plcMsg* plc_msg) {
  1095. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1096. if (message_arena == NULL) {
  1097. delete plc_msg_;
  1098. }
  1099. if (plc_msg) {
  1100. ::google::protobuf::Arena* submessage_arena = NULL;
  1101. if (message_arena != submessage_arena) {
  1102. plc_msg = ::google::protobuf::internal::GetOwnedMessage(
  1103. message_arena, plc_msg, submessage_arena);
  1104. }
  1105. set_has_plc_msg();
  1106. } else {
  1107. clear_has_plc_msg();
  1108. }
  1109. plc_msg_ = plc_msg;
  1110. // @@protoc_insertion_point(field_set_allocated:globalmsg.msg.plc_msg)
  1111. }
  1112. // optional .globalmsg.algMsg alg_msg = 4;
  1113. inline bool msg::has_alg_msg() const {
  1114. return (_has_bits_[0] & 0x00000004u) != 0;
  1115. }
  1116. inline void msg::set_has_alg_msg() {
  1117. _has_bits_[0] |= 0x00000004u;
  1118. }
  1119. inline void msg::clear_has_alg_msg() {
  1120. _has_bits_[0] &= ~0x00000004u;
  1121. }
  1122. inline void msg::clear_alg_msg() {
  1123. if (alg_msg_ != NULL) alg_msg_->Clear();
  1124. clear_has_alg_msg();
  1125. }
  1126. inline const ::globalmsg::algMsg& msg::alg_msg() const {
  1127. const ::globalmsg::algMsg* p = alg_msg_;
  1128. // @@protoc_insertion_point(field_get:globalmsg.msg.alg_msg)
  1129. return p != NULL ? *p : *reinterpret_cast<const ::globalmsg::algMsg*>(
  1130. &::globalmsg::_algMsg_default_instance_);
  1131. }
  1132. inline ::globalmsg::algMsg* msg::release_alg_msg() {
  1133. // @@protoc_insertion_point(field_release:globalmsg.msg.alg_msg)
  1134. clear_has_alg_msg();
  1135. ::globalmsg::algMsg* temp = alg_msg_;
  1136. alg_msg_ = NULL;
  1137. return temp;
  1138. }
  1139. inline ::globalmsg::algMsg* msg::mutable_alg_msg() {
  1140. set_has_alg_msg();
  1141. if (alg_msg_ == NULL) {
  1142. alg_msg_ = new ::globalmsg::algMsg;
  1143. }
  1144. // @@protoc_insertion_point(field_mutable:globalmsg.msg.alg_msg)
  1145. return alg_msg_;
  1146. }
  1147. inline void msg::set_allocated_alg_msg(::globalmsg::algMsg* alg_msg) {
  1148. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1149. if (message_arena == NULL) {
  1150. delete alg_msg_;
  1151. }
  1152. if (alg_msg) {
  1153. ::google::protobuf::Arena* submessage_arena = NULL;
  1154. if (message_arena != submessage_arena) {
  1155. alg_msg = ::google::protobuf::internal::GetOwnedMessage(
  1156. message_arena, alg_msg, submessage_arena);
  1157. }
  1158. set_has_alg_msg();
  1159. } else {
  1160. clear_has_alg_msg();
  1161. }
  1162. alg_msg_ = alg_msg;
  1163. // @@protoc_insertion_point(field_set_allocated:globalmsg.msg.alg_msg)
  1164. }
  1165. // optional .globalmsg.SysMsg sys_msg = 5;
  1166. inline bool msg::has_sys_msg() const {
  1167. return (_has_bits_[0] & 0x00000008u) != 0;
  1168. }
  1169. inline void msg::set_has_sys_msg() {
  1170. _has_bits_[0] |= 0x00000008u;
  1171. }
  1172. inline void msg::clear_has_sys_msg() {
  1173. _has_bits_[0] &= ~0x00000008u;
  1174. }
  1175. inline void msg::clear_sys_msg() {
  1176. if (sys_msg_ != NULL) sys_msg_->Clear();
  1177. clear_has_sys_msg();
  1178. }
  1179. inline const ::globalmsg::SysMsg& msg::sys_msg() const {
  1180. const ::globalmsg::SysMsg* p = sys_msg_;
  1181. // @@protoc_insertion_point(field_get:globalmsg.msg.sys_msg)
  1182. return p != NULL ? *p : *reinterpret_cast<const ::globalmsg::SysMsg*>(
  1183. &::globalmsg::_SysMsg_default_instance_);
  1184. }
  1185. inline ::globalmsg::SysMsg* msg::release_sys_msg() {
  1186. // @@protoc_insertion_point(field_release:globalmsg.msg.sys_msg)
  1187. clear_has_sys_msg();
  1188. ::globalmsg::SysMsg* temp = sys_msg_;
  1189. sys_msg_ = NULL;
  1190. return temp;
  1191. }
  1192. inline ::globalmsg::SysMsg* msg::mutable_sys_msg() {
  1193. set_has_sys_msg();
  1194. if (sys_msg_ == NULL) {
  1195. sys_msg_ = new ::globalmsg::SysMsg;
  1196. }
  1197. // @@protoc_insertion_point(field_mutable:globalmsg.msg.sys_msg)
  1198. return sys_msg_;
  1199. }
  1200. inline void msg::set_allocated_sys_msg(::globalmsg::SysMsg* sys_msg) {
  1201. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1202. if (message_arena == NULL) {
  1203. delete sys_msg_;
  1204. }
  1205. if (sys_msg) {
  1206. ::google::protobuf::Arena* submessage_arena = NULL;
  1207. if (message_arena != submessage_arena) {
  1208. sys_msg = ::google::protobuf::internal::GetOwnedMessage(
  1209. message_arena, sys_msg, submessage_arena);
  1210. }
  1211. set_has_sys_msg();
  1212. } else {
  1213. clear_has_sys_msg();
  1214. }
  1215. sys_msg_ = sys_msg;
  1216. // @@protoc_insertion_point(field_set_allocated:globalmsg.msg.sys_msg)
  1217. }
  1218. // -------------------------------------------------------------------
  1219. // laserMsg
  1220. // optional .globalmsg.laserStatus laser_status = 1;
  1221. inline bool laserMsg::has_laser_status() const {
  1222. return (_has_bits_[0] & 0x00000001u) != 0;
  1223. }
  1224. inline void laserMsg::set_has_laser_status() {
  1225. _has_bits_[0] |= 0x00000001u;
  1226. }
  1227. inline void laserMsg::clear_has_laser_status() {
  1228. _has_bits_[0] &= ~0x00000001u;
  1229. }
  1230. inline void laserMsg::clear_laser_status() {
  1231. laser_status_ = 0;
  1232. clear_has_laser_status();
  1233. }
  1234. inline ::globalmsg::laserStatus laserMsg::laser_status() const {
  1235. // @@protoc_insertion_point(field_get:globalmsg.laserMsg.laser_status)
  1236. return static_cast< ::globalmsg::laserStatus >(laser_status_);
  1237. }
  1238. inline void laserMsg::set_laser_status(::globalmsg::laserStatus value) {
  1239. assert(::globalmsg::laserStatus_IsValid(value));
  1240. set_has_laser_status();
  1241. laser_status_ = value;
  1242. // @@protoc_insertion_point(field_set:globalmsg.laserMsg.laser_status)
  1243. }
  1244. // optional int32 queue_data_count = 2;
  1245. inline bool laserMsg::has_queue_data_count() const {
  1246. return (_has_bits_[0] & 0x00000002u) != 0;
  1247. }
  1248. inline void laserMsg::set_has_queue_data_count() {
  1249. _has_bits_[0] |= 0x00000002u;
  1250. }
  1251. inline void laserMsg::clear_has_queue_data_count() {
  1252. _has_bits_[0] &= ~0x00000002u;
  1253. }
  1254. inline void laserMsg::clear_queue_data_count() {
  1255. queue_data_count_ = 0;
  1256. clear_has_queue_data_count();
  1257. }
  1258. inline ::google::protobuf::int32 laserMsg::queue_data_count() const {
  1259. // @@protoc_insertion_point(field_get:globalmsg.laserMsg.queue_data_count)
  1260. return queue_data_count_;
  1261. }
  1262. inline void laserMsg::set_queue_data_count(::google::protobuf::int32 value) {
  1263. set_has_queue_data_count();
  1264. queue_data_count_ = value;
  1265. // @@protoc_insertion_point(field_set:globalmsg.laserMsg.queue_data_count)
  1266. }
  1267. // optional int32 cloud_count = 3;
  1268. inline bool laserMsg::has_cloud_count() const {
  1269. return (_has_bits_[0] & 0x00000004u) != 0;
  1270. }
  1271. inline void laserMsg::set_has_cloud_count() {
  1272. _has_bits_[0] |= 0x00000004u;
  1273. }
  1274. inline void laserMsg::clear_has_cloud_count() {
  1275. _has_bits_[0] &= ~0x00000004u;
  1276. }
  1277. inline void laserMsg::clear_cloud_count() {
  1278. cloud_count_ = 0;
  1279. clear_has_cloud_count();
  1280. }
  1281. inline ::google::protobuf::int32 laserMsg::cloud_count() const {
  1282. // @@protoc_insertion_point(field_get:globalmsg.laserMsg.cloud_count)
  1283. return cloud_count_;
  1284. }
  1285. inline void laserMsg::set_cloud_count(::google::protobuf::int32 value) {
  1286. set_has_cloud_count();
  1287. cloud_count_ = value;
  1288. // @@protoc_insertion_point(field_set:globalmsg.laserMsg.cloud_count)
  1289. }
  1290. // required int32 id = 4;
  1291. inline bool laserMsg::has_id() const {
  1292. return (_has_bits_[0] & 0x00000008u) != 0;
  1293. }
  1294. inline void laserMsg::set_has_id() {
  1295. _has_bits_[0] |= 0x00000008u;
  1296. }
  1297. inline void laserMsg::clear_has_id() {
  1298. _has_bits_[0] &= ~0x00000008u;
  1299. }
  1300. inline void laserMsg::clear_id() {
  1301. id_ = 0;
  1302. clear_has_id();
  1303. }
  1304. inline ::google::protobuf::int32 laserMsg::id() const {
  1305. // @@protoc_insertion_point(field_get:globalmsg.laserMsg.id)
  1306. return id_;
  1307. }
  1308. inline void laserMsg::set_id(::google::protobuf::int32 value) {
  1309. set_has_id();
  1310. id_ = value;
  1311. // @@protoc_insertion_point(field_set:globalmsg.laserMsg.id)
  1312. }
  1313. // -------------------------------------------------------------------
  1314. // plcMsg
  1315. // optional .globalmsg.plcStatus plc_status = 1;
  1316. inline bool plcMsg::has_plc_status() const {
  1317. return (_has_bits_[0] & 0x00000001u) != 0;
  1318. }
  1319. inline void plcMsg::set_has_plc_status() {
  1320. _has_bits_[0] |= 0x00000001u;
  1321. }
  1322. inline void plcMsg::clear_has_plc_status() {
  1323. _has_bits_[0] &= ~0x00000001u;
  1324. }
  1325. inline void plcMsg::clear_plc_status() {
  1326. plc_status_ = 0;
  1327. clear_has_plc_status();
  1328. }
  1329. inline ::globalmsg::plcStatus plcMsg::plc_status() const {
  1330. // @@protoc_insertion_point(field_get:globalmsg.plcMsg.plc_status)
  1331. return static_cast< ::globalmsg::plcStatus >(plc_status_);
  1332. }
  1333. inline void plcMsg::set_plc_status(::globalmsg::plcStatus value) {
  1334. assert(::globalmsg::plcStatus_IsValid(value));
  1335. set_has_plc_status();
  1336. plc_status_ = value;
  1337. // @@protoc_insertion_point(field_set:globalmsg.plcMsg.plc_status)
  1338. }
  1339. // repeated int32 plc_values = 2;
  1340. inline int plcMsg::plc_values_size() const {
  1341. return plc_values_.size();
  1342. }
  1343. inline void plcMsg::clear_plc_values() {
  1344. plc_values_.Clear();
  1345. }
  1346. inline ::google::protobuf::int32 plcMsg::plc_values(int index) const {
  1347. // @@protoc_insertion_point(field_get:globalmsg.plcMsg.plc_values)
  1348. return plc_values_.Get(index);
  1349. }
  1350. inline void plcMsg::set_plc_values(int index, ::google::protobuf::int32 value) {
  1351. plc_values_.Set(index, value);
  1352. // @@protoc_insertion_point(field_set:globalmsg.plcMsg.plc_values)
  1353. }
  1354. inline void plcMsg::add_plc_values(::google::protobuf::int32 value) {
  1355. plc_values_.Add(value);
  1356. // @@protoc_insertion_point(field_add:globalmsg.plcMsg.plc_values)
  1357. }
  1358. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  1359. plcMsg::plc_values() const {
  1360. // @@protoc_insertion_point(field_list:globalmsg.plcMsg.plc_values)
  1361. return plc_values_;
  1362. }
  1363. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  1364. plcMsg::mutable_plc_values() {
  1365. // @@protoc_insertion_point(field_mutable_list:globalmsg.plcMsg.plc_values)
  1366. return &plc_values_;
  1367. }
  1368. // -------------------------------------------------------------------
  1369. // resultInfo
  1370. // required string time = 1 [default = ""];
  1371. inline bool resultInfo::has_time() const {
  1372. return (_has_bits_[0] & 0x00000001u) != 0;
  1373. }
  1374. inline void resultInfo::set_has_time() {
  1375. _has_bits_[0] |= 0x00000001u;
  1376. }
  1377. inline void resultInfo::clear_has_time() {
  1378. _has_bits_[0] &= ~0x00000001u;
  1379. }
  1380. inline void resultInfo::clear_time() {
  1381. time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1382. clear_has_time();
  1383. }
  1384. inline const ::std::string& resultInfo::time() const {
  1385. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.time)
  1386. return time_.GetNoArena();
  1387. }
  1388. inline void resultInfo::set_time(const ::std::string& value) {
  1389. set_has_time();
  1390. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1391. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.time)
  1392. }
  1393. #if LANG_CXX11
  1394. inline void resultInfo::set_time(::std::string&& value) {
  1395. set_has_time();
  1396. time_.SetNoArena(
  1397. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1398. // @@protoc_insertion_point(field_set_rvalue:globalmsg.resultInfo.time)
  1399. }
  1400. #endif
  1401. inline void resultInfo::set_time(const char* value) {
  1402. GOOGLE_DCHECK(value != NULL);
  1403. set_has_time();
  1404. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1405. // @@protoc_insertion_point(field_set_char:globalmsg.resultInfo.time)
  1406. }
  1407. inline void resultInfo::set_time(const char* value, size_t size) {
  1408. set_has_time();
  1409. time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1410. ::std::string(reinterpret_cast<const char*>(value), size));
  1411. // @@protoc_insertion_point(field_set_pointer:globalmsg.resultInfo.time)
  1412. }
  1413. inline ::std::string* resultInfo::mutable_time() {
  1414. set_has_time();
  1415. // @@protoc_insertion_point(field_mutable:globalmsg.resultInfo.time)
  1416. return time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1417. }
  1418. inline ::std::string* resultInfo::release_time() {
  1419. // @@protoc_insertion_point(field_release:globalmsg.resultInfo.time)
  1420. clear_has_time();
  1421. return time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1422. }
  1423. inline void resultInfo::set_allocated_time(::std::string* time) {
  1424. if (time != NULL) {
  1425. set_has_time();
  1426. } else {
  1427. clear_has_time();
  1428. }
  1429. time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), time);
  1430. // @@protoc_insertion_point(field_set_allocated:globalmsg.resultInfo.time)
  1431. }
  1432. // required bool correctness = 2;
  1433. inline bool resultInfo::has_correctness() const {
  1434. return (_has_bits_[0] & 0x00000004u) != 0;
  1435. }
  1436. inline void resultInfo::set_has_correctness() {
  1437. _has_bits_[0] |= 0x00000004u;
  1438. }
  1439. inline void resultInfo::clear_has_correctness() {
  1440. _has_bits_[0] &= ~0x00000004u;
  1441. }
  1442. inline void resultInfo::clear_correctness() {
  1443. correctness_ = false;
  1444. clear_has_correctness();
  1445. }
  1446. inline bool resultInfo::correctness() const {
  1447. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.correctness)
  1448. return correctness_;
  1449. }
  1450. inline void resultInfo::set_correctness(bool value) {
  1451. set_has_correctness();
  1452. correctness_ = value;
  1453. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.correctness)
  1454. }
  1455. // optional int32 park_space_id = 3;
  1456. inline bool resultInfo::has_park_space_id() const {
  1457. return (_has_bits_[0] & 0x00000008u) != 0;
  1458. }
  1459. inline void resultInfo::set_has_park_space_id() {
  1460. _has_bits_[0] |= 0x00000008u;
  1461. }
  1462. inline void resultInfo::clear_has_park_space_id() {
  1463. _has_bits_[0] &= ~0x00000008u;
  1464. }
  1465. inline void resultInfo::clear_park_space_id() {
  1466. park_space_id_ = 0;
  1467. clear_has_park_space_id();
  1468. }
  1469. inline ::google::protobuf::int32 resultInfo::park_space_id() const {
  1470. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.park_space_id)
  1471. return park_space_id_;
  1472. }
  1473. inline void resultInfo::set_park_space_id(::google::protobuf::int32 value) {
  1474. set_has_park_space_id();
  1475. park_space_id_ = value;
  1476. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.park_space_id)
  1477. }
  1478. // optional int32 laser_ids = 4;
  1479. inline bool resultInfo::has_laser_ids() const {
  1480. return (_has_bits_[0] & 0x00001000u) != 0;
  1481. }
  1482. inline void resultInfo::set_has_laser_ids() {
  1483. _has_bits_[0] |= 0x00001000u;
  1484. }
  1485. inline void resultInfo::clear_has_laser_ids() {
  1486. _has_bits_[0] &= ~0x00001000u;
  1487. }
  1488. inline void resultInfo::clear_laser_ids() {
  1489. laser_ids_ = 0;
  1490. clear_has_laser_ids();
  1491. }
  1492. inline ::google::protobuf::int32 resultInfo::laser_ids() const {
  1493. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.laser_ids)
  1494. return laser_ids_;
  1495. }
  1496. inline void resultInfo::set_laser_ids(::google::protobuf::int32 value) {
  1497. set_has_laser_ids();
  1498. laser_ids_ = value;
  1499. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.laser_ids)
  1500. }
  1501. // optional double x = 5;
  1502. inline bool resultInfo::has_x() const {
  1503. return (_has_bits_[0] & 0x00000010u) != 0;
  1504. }
  1505. inline void resultInfo::set_has_x() {
  1506. _has_bits_[0] |= 0x00000010u;
  1507. }
  1508. inline void resultInfo::clear_has_x() {
  1509. _has_bits_[0] &= ~0x00000010u;
  1510. }
  1511. inline void resultInfo::clear_x() {
  1512. x_ = 0;
  1513. clear_has_x();
  1514. }
  1515. inline double resultInfo::x() const {
  1516. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.x)
  1517. return x_;
  1518. }
  1519. inline void resultInfo::set_x(double value) {
  1520. set_has_x();
  1521. x_ = value;
  1522. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.x)
  1523. }
  1524. // optional double y = 6;
  1525. inline bool resultInfo::has_y() const {
  1526. return (_has_bits_[0] & 0x00000020u) != 0;
  1527. }
  1528. inline void resultInfo::set_has_y() {
  1529. _has_bits_[0] |= 0x00000020u;
  1530. }
  1531. inline void resultInfo::clear_has_y() {
  1532. _has_bits_[0] &= ~0x00000020u;
  1533. }
  1534. inline void resultInfo::clear_y() {
  1535. y_ = 0;
  1536. clear_has_y();
  1537. }
  1538. inline double resultInfo::y() const {
  1539. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.y)
  1540. return y_;
  1541. }
  1542. inline void resultInfo::set_y(double value) {
  1543. set_has_y();
  1544. y_ = value;
  1545. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.y)
  1546. }
  1547. // optional double c = 7;
  1548. inline bool resultInfo::has_c() const {
  1549. return (_has_bits_[0] & 0x00000040u) != 0;
  1550. }
  1551. inline void resultInfo::set_has_c() {
  1552. _has_bits_[0] |= 0x00000040u;
  1553. }
  1554. inline void resultInfo::clear_has_c() {
  1555. _has_bits_[0] &= ~0x00000040u;
  1556. }
  1557. inline void resultInfo::clear_c() {
  1558. c_ = 0;
  1559. clear_has_c();
  1560. }
  1561. inline double resultInfo::c() const {
  1562. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.c)
  1563. return c_;
  1564. }
  1565. inline void resultInfo::set_c(double value) {
  1566. set_has_c();
  1567. c_ = value;
  1568. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.c)
  1569. }
  1570. // optional double wheel_base = 8;
  1571. inline bool resultInfo::has_wheel_base() const {
  1572. return (_has_bits_[0] & 0x00000080u) != 0;
  1573. }
  1574. inline void resultInfo::set_has_wheel_base() {
  1575. _has_bits_[0] |= 0x00000080u;
  1576. }
  1577. inline void resultInfo::clear_has_wheel_base() {
  1578. _has_bits_[0] &= ~0x00000080u;
  1579. }
  1580. inline void resultInfo::clear_wheel_base() {
  1581. wheel_base_ = 0;
  1582. clear_has_wheel_base();
  1583. }
  1584. inline double resultInfo::wheel_base() const {
  1585. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.wheel_base)
  1586. return wheel_base_;
  1587. }
  1588. inline void resultInfo::set_wheel_base(double value) {
  1589. set_has_wheel_base();
  1590. wheel_base_ = value;
  1591. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.wheel_base)
  1592. }
  1593. // optional double length = 9;
  1594. inline bool resultInfo::has_length() const {
  1595. return (_has_bits_[0] & 0x00000100u) != 0;
  1596. }
  1597. inline void resultInfo::set_has_length() {
  1598. _has_bits_[0] |= 0x00000100u;
  1599. }
  1600. inline void resultInfo::clear_has_length() {
  1601. _has_bits_[0] &= ~0x00000100u;
  1602. }
  1603. inline void resultInfo::clear_length() {
  1604. length_ = 0;
  1605. clear_has_length();
  1606. }
  1607. inline double resultInfo::length() const {
  1608. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.length)
  1609. return length_;
  1610. }
  1611. inline void resultInfo::set_length(double value) {
  1612. set_has_length();
  1613. length_ = value;
  1614. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.length)
  1615. }
  1616. // optional double width = 10;
  1617. inline bool resultInfo::has_width() const {
  1618. return (_has_bits_[0] & 0x00000200u) != 0;
  1619. }
  1620. inline void resultInfo::set_has_width() {
  1621. _has_bits_[0] |= 0x00000200u;
  1622. }
  1623. inline void resultInfo::clear_has_width() {
  1624. _has_bits_[0] &= ~0x00000200u;
  1625. }
  1626. inline void resultInfo::clear_width() {
  1627. width_ = 0;
  1628. clear_has_width();
  1629. }
  1630. inline double resultInfo::width() const {
  1631. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.width)
  1632. return width_;
  1633. }
  1634. inline void resultInfo::set_width(double value) {
  1635. set_has_width();
  1636. width_ = value;
  1637. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.width)
  1638. }
  1639. // optional double height = 11;
  1640. inline bool resultInfo::has_height() const {
  1641. return (_has_bits_[0] & 0x00000400u) != 0;
  1642. }
  1643. inline void resultInfo::set_has_height() {
  1644. _has_bits_[0] |= 0x00000400u;
  1645. }
  1646. inline void resultInfo::clear_has_height() {
  1647. _has_bits_[0] &= ~0x00000400u;
  1648. }
  1649. inline void resultInfo::clear_height() {
  1650. height_ = 0;
  1651. clear_has_height();
  1652. }
  1653. inline double resultInfo::height() const {
  1654. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.height)
  1655. return height_;
  1656. }
  1657. inline void resultInfo::set_height(double value) {
  1658. set_has_height();
  1659. height_ = value;
  1660. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.height)
  1661. }
  1662. // optional string error = 12 [default = ""];
  1663. inline bool resultInfo::has_error() const {
  1664. return (_has_bits_[0] & 0x00000002u) != 0;
  1665. }
  1666. inline void resultInfo::set_has_error() {
  1667. _has_bits_[0] |= 0x00000002u;
  1668. }
  1669. inline void resultInfo::clear_has_error() {
  1670. _has_bits_[0] &= ~0x00000002u;
  1671. }
  1672. inline void resultInfo::clear_error() {
  1673. error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1674. clear_has_error();
  1675. }
  1676. inline const ::std::string& resultInfo::error() const {
  1677. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.error)
  1678. return error_.GetNoArena();
  1679. }
  1680. inline void resultInfo::set_error(const ::std::string& value) {
  1681. set_has_error();
  1682. error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1683. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.error)
  1684. }
  1685. #if LANG_CXX11
  1686. inline void resultInfo::set_error(::std::string&& value) {
  1687. set_has_error();
  1688. error_.SetNoArena(
  1689. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1690. // @@protoc_insertion_point(field_set_rvalue:globalmsg.resultInfo.error)
  1691. }
  1692. #endif
  1693. inline void resultInfo::set_error(const char* value) {
  1694. GOOGLE_DCHECK(value != NULL);
  1695. set_has_error();
  1696. error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1697. // @@protoc_insertion_point(field_set_char:globalmsg.resultInfo.error)
  1698. }
  1699. inline void resultInfo::set_error(const char* value, size_t size) {
  1700. set_has_error();
  1701. error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1702. ::std::string(reinterpret_cast<const char*>(value), size));
  1703. // @@protoc_insertion_point(field_set_pointer:globalmsg.resultInfo.error)
  1704. }
  1705. inline ::std::string* resultInfo::mutable_error() {
  1706. set_has_error();
  1707. // @@protoc_insertion_point(field_mutable:globalmsg.resultInfo.error)
  1708. return error_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1709. }
  1710. inline ::std::string* resultInfo::release_error() {
  1711. // @@protoc_insertion_point(field_release:globalmsg.resultInfo.error)
  1712. clear_has_error();
  1713. return error_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1714. }
  1715. inline void resultInfo::set_allocated_error(::std::string* error) {
  1716. if (error != NULL) {
  1717. set_has_error();
  1718. } else {
  1719. clear_has_error();
  1720. }
  1721. error_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error);
  1722. // @@protoc_insertion_point(field_set_allocated:globalmsg.resultInfo.error)
  1723. }
  1724. // optional double front_theta = 13;
  1725. inline bool resultInfo::has_front_theta() const {
  1726. return (_has_bits_[0] & 0x00000800u) != 0;
  1727. }
  1728. inline void resultInfo::set_has_front_theta() {
  1729. _has_bits_[0] |= 0x00000800u;
  1730. }
  1731. inline void resultInfo::clear_has_front_theta() {
  1732. _has_bits_[0] &= ~0x00000800u;
  1733. }
  1734. inline void resultInfo::clear_front_theta() {
  1735. front_theta_ = 0;
  1736. clear_has_front_theta();
  1737. }
  1738. inline double resultInfo::front_theta() const {
  1739. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.front_theta)
  1740. return front_theta_;
  1741. }
  1742. inline void resultInfo::set_front_theta(double value) {
  1743. set_has_front_theta();
  1744. front_theta_ = value;
  1745. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.front_theta)
  1746. }
  1747. // -------------------------------------------------------------------
  1748. // algMsg
  1749. // repeated .globalmsg.resultInfo result = 1;
  1750. inline int algMsg::result_size() const {
  1751. return result_.size();
  1752. }
  1753. inline void algMsg::clear_result() {
  1754. result_.Clear();
  1755. }
  1756. inline const ::globalmsg::resultInfo& algMsg::result(int index) const {
  1757. // @@protoc_insertion_point(field_get:globalmsg.algMsg.result)
  1758. return result_.Get(index);
  1759. }
  1760. inline ::globalmsg::resultInfo* algMsg::mutable_result(int index) {
  1761. // @@protoc_insertion_point(field_mutable:globalmsg.algMsg.result)
  1762. return result_.Mutable(index);
  1763. }
  1764. inline ::globalmsg::resultInfo* algMsg::add_result() {
  1765. // @@protoc_insertion_point(field_add:globalmsg.algMsg.result)
  1766. return result_.Add();
  1767. }
  1768. inline ::google::protobuf::RepeatedPtrField< ::globalmsg::resultInfo >*
  1769. algMsg::mutable_result() {
  1770. // @@protoc_insertion_point(field_mutable_list:globalmsg.algMsg.result)
  1771. return &result_;
  1772. }
  1773. inline const ::google::protobuf::RepeatedPtrField< ::globalmsg::resultInfo >&
  1774. algMsg::result() const {
  1775. // @@protoc_insertion_point(field_list:globalmsg.algMsg.result)
  1776. return result_;
  1777. }
  1778. // optional int32 thread_queue_size = 2;
  1779. inline bool algMsg::has_thread_queue_size() const {
  1780. return (_has_bits_[0] & 0x00000002u) != 0;
  1781. }
  1782. inline void algMsg::set_has_thread_queue_size() {
  1783. _has_bits_[0] |= 0x00000002u;
  1784. }
  1785. inline void algMsg::clear_has_thread_queue_size() {
  1786. _has_bits_[0] &= ~0x00000002u;
  1787. }
  1788. inline void algMsg::clear_thread_queue_size() {
  1789. thread_queue_size_ = 0;
  1790. clear_has_thread_queue_size();
  1791. }
  1792. inline ::google::protobuf::int32 algMsg::thread_queue_size() const {
  1793. // @@protoc_insertion_point(field_get:globalmsg.algMsg.thread_queue_size)
  1794. return thread_queue_size_;
  1795. }
  1796. inline void algMsg::set_thread_queue_size(::google::protobuf::int32 value) {
  1797. set_has_thread_queue_size();
  1798. thread_queue_size_ = value;
  1799. // @@protoc_insertion_point(field_set:globalmsg.algMsg.thread_queue_size)
  1800. }
  1801. // optional string log_path = 3 [default = ""];
  1802. inline bool algMsg::has_log_path() const {
  1803. return (_has_bits_[0] & 0x00000001u) != 0;
  1804. }
  1805. inline void algMsg::set_has_log_path() {
  1806. _has_bits_[0] |= 0x00000001u;
  1807. }
  1808. inline void algMsg::clear_has_log_path() {
  1809. _has_bits_[0] &= ~0x00000001u;
  1810. }
  1811. inline void algMsg::clear_log_path() {
  1812. log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1813. clear_has_log_path();
  1814. }
  1815. inline const ::std::string& algMsg::log_path() const {
  1816. // @@protoc_insertion_point(field_get:globalmsg.algMsg.log_path)
  1817. return log_path_.GetNoArena();
  1818. }
  1819. inline void algMsg::set_log_path(const ::std::string& value) {
  1820. set_has_log_path();
  1821. log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1822. // @@protoc_insertion_point(field_set:globalmsg.algMsg.log_path)
  1823. }
  1824. #if LANG_CXX11
  1825. inline void algMsg::set_log_path(::std::string&& value) {
  1826. set_has_log_path();
  1827. log_path_.SetNoArena(
  1828. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1829. // @@protoc_insertion_point(field_set_rvalue:globalmsg.algMsg.log_path)
  1830. }
  1831. #endif
  1832. inline void algMsg::set_log_path(const char* value) {
  1833. GOOGLE_DCHECK(value != NULL);
  1834. set_has_log_path();
  1835. log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1836. // @@protoc_insertion_point(field_set_char:globalmsg.algMsg.log_path)
  1837. }
  1838. inline void algMsg::set_log_path(const char* value, size_t size) {
  1839. set_has_log_path();
  1840. log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1841. ::std::string(reinterpret_cast<const char*>(value), size));
  1842. // @@protoc_insertion_point(field_set_pointer:globalmsg.algMsg.log_path)
  1843. }
  1844. inline ::std::string* algMsg::mutable_log_path() {
  1845. set_has_log_path();
  1846. // @@protoc_insertion_point(field_mutable:globalmsg.algMsg.log_path)
  1847. return log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1848. }
  1849. inline ::std::string* algMsg::release_log_path() {
  1850. // @@protoc_insertion_point(field_release:globalmsg.algMsg.log_path)
  1851. clear_has_log_path();
  1852. return log_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1853. }
  1854. inline void algMsg::set_allocated_log_path(::std::string* log_path) {
  1855. if (log_path != NULL) {
  1856. set_has_log_path();
  1857. } else {
  1858. clear_has_log_path();
  1859. }
  1860. log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), log_path);
  1861. // @@protoc_insertion_point(field_set_allocated:globalmsg.algMsg.log_path)
  1862. }
  1863. // -------------------------------------------------------------------
  1864. // SysMsg
  1865. // required string log = 1 [default = ""];
  1866. inline bool SysMsg::has_log() const {
  1867. return (_has_bits_[0] & 0x00000001u) != 0;
  1868. }
  1869. inline void SysMsg::set_has_log() {
  1870. _has_bits_[0] |= 0x00000001u;
  1871. }
  1872. inline void SysMsg::clear_has_log() {
  1873. _has_bits_[0] &= ~0x00000001u;
  1874. }
  1875. inline void SysMsg::clear_log() {
  1876. log_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1877. clear_has_log();
  1878. }
  1879. inline const ::std::string& SysMsg::log() const {
  1880. // @@protoc_insertion_point(field_get:globalmsg.SysMsg.log)
  1881. return log_.GetNoArena();
  1882. }
  1883. inline void SysMsg::set_log(const ::std::string& value) {
  1884. set_has_log();
  1885. log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1886. // @@protoc_insertion_point(field_set:globalmsg.SysMsg.log)
  1887. }
  1888. #if LANG_CXX11
  1889. inline void SysMsg::set_log(::std::string&& value) {
  1890. set_has_log();
  1891. log_.SetNoArena(
  1892. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1893. // @@protoc_insertion_point(field_set_rvalue:globalmsg.SysMsg.log)
  1894. }
  1895. #endif
  1896. inline void SysMsg::set_log(const char* value) {
  1897. GOOGLE_DCHECK(value != NULL);
  1898. set_has_log();
  1899. log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1900. // @@protoc_insertion_point(field_set_char:globalmsg.SysMsg.log)
  1901. }
  1902. inline void SysMsg::set_log(const char* value, size_t size) {
  1903. set_has_log();
  1904. log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1905. ::std::string(reinterpret_cast<const char*>(value), size));
  1906. // @@protoc_insertion_point(field_set_pointer:globalmsg.SysMsg.log)
  1907. }
  1908. inline ::std::string* SysMsg::mutable_log() {
  1909. set_has_log();
  1910. // @@protoc_insertion_point(field_mutable:globalmsg.SysMsg.log)
  1911. return log_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1912. }
  1913. inline ::std::string* SysMsg::release_log() {
  1914. // @@protoc_insertion_point(field_release:globalmsg.SysMsg.log)
  1915. clear_has_log();
  1916. return log_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1917. }
  1918. inline void SysMsg::set_allocated_log(::std::string* log) {
  1919. if (log != NULL) {
  1920. set_has_log();
  1921. } else {
  1922. clear_has_log();
  1923. }
  1924. log_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), log);
  1925. // @@protoc_insertion_point(field_set_allocated:globalmsg.SysMsg.log)
  1926. }
  1927. // optional .globalmsg.logLevel level = 2 [default = eSysInfo];
  1928. inline bool SysMsg::has_level() const {
  1929. return (_has_bits_[0] & 0x00000002u) != 0;
  1930. }
  1931. inline void SysMsg::set_has_level() {
  1932. _has_bits_[0] |= 0x00000002u;
  1933. }
  1934. inline void SysMsg::clear_has_level() {
  1935. _has_bits_[0] &= ~0x00000002u;
  1936. }
  1937. inline void SysMsg::clear_level() {
  1938. level_ = 0;
  1939. clear_has_level();
  1940. }
  1941. inline ::globalmsg::logLevel SysMsg::level() const {
  1942. // @@protoc_insertion_point(field_get:globalmsg.SysMsg.level)
  1943. return static_cast< ::globalmsg::logLevel >(level_);
  1944. }
  1945. inline void SysMsg::set_level(::globalmsg::logLevel value) {
  1946. assert(::globalmsg::logLevel_IsValid(value));
  1947. set_has_level();
  1948. level_ = value;
  1949. // @@protoc_insertion_point(field_set:globalmsg.SysMsg.level)
  1950. }
  1951. #ifdef __GNUC__
  1952. #pragma GCC diagnostic pop
  1953. #endif // __GNUC__
  1954. // -------------------------------------------------------------------
  1955. // -------------------------------------------------------------------
  1956. // -------------------------------------------------------------------
  1957. // -------------------------------------------------------------------
  1958. // -------------------------------------------------------------------
  1959. // @@protoc_insertion_point(namespace_scope)
  1960. } // namespace globalmsg
  1961. namespace google {
  1962. namespace protobuf {
  1963. template <> struct is_proto_enum< ::globalmsg::type> : ::google::protobuf::internal::true_type {};
  1964. template <>
  1965. inline const EnumDescriptor* GetEnumDescriptor< ::globalmsg::type>() {
  1966. return ::globalmsg::type_descriptor();
  1967. }
  1968. template <> struct is_proto_enum< ::globalmsg::laserStatus> : ::google::protobuf::internal::true_type {};
  1969. template <>
  1970. inline const EnumDescriptor* GetEnumDescriptor< ::globalmsg::laserStatus>() {
  1971. return ::globalmsg::laserStatus_descriptor();
  1972. }
  1973. template <> struct is_proto_enum< ::globalmsg::plcStatus> : ::google::protobuf::internal::true_type {};
  1974. template <>
  1975. inline const EnumDescriptor* GetEnumDescriptor< ::globalmsg::plcStatus>() {
  1976. return ::globalmsg::plcStatus_descriptor();
  1977. }
  1978. template <> struct is_proto_enum< ::globalmsg::logLevel> : ::google::protobuf::internal::true_type {};
  1979. template <>
  1980. inline const EnumDescriptor* GetEnumDescriptor< ::globalmsg::logLevel>() {
  1981. return ::globalmsg::logLevel_descriptor();
  1982. }
  1983. } // namespace protobuf
  1984. } // namespace google
  1985. // @@protoc_insertion_point(global_scope)
  1986. #endif // PROTOBUF_globalmsg_2eproto__INCLUDED