globalmsg.pb.h 94 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: globalmsg.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_globalmsg_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_globalmsg_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/generated_enum_reflection.h>
  31. #include <google/protobuf/unknown_field_set.h>
  32. // @@protoc_insertion_point(includes)
  33. #include <google/protobuf/port_def.inc>
  34. #define PROTOBUF_INTERNAL_EXPORT_globalmsg_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_globalmsg_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[6]
  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_globalmsg_2eproto;
  53. namespace globalmsg {
  54. class SysMsg;
  55. class SysMsgDefaultTypeInternal;
  56. extern SysMsgDefaultTypeInternal _SysMsg_default_instance_;
  57. class algMsg;
  58. class algMsgDefaultTypeInternal;
  59. extern algMsgDefaultTypeInternal _algMsg_default_instance_;
  60. class laserMsg;
  61. class laserMsgDefaultTypeInternal;
  62. extern laserMsgDefaultTypeInternal _laserMsg_default_instance_;
  63. class msg;
  64. class msgDefaultTypeInternal;
  65. extern msgDefaultTypeInternal _msg_default_instance_;
  66. class plcMsg;
  67. class plcMsgDefaultTypeInternal;
  68. extern plcMsgDefaultTypeInternal _plcMsg_default_instance_;
  69. class resultInfo;
  70. class resultInfoDefaultTypeInternal;
  71. extern resultInfoDefaultTypeInternal _resultInfo_default_instance_;
  72. } // namespace globalmsg
  73. PROTOBUF_NAMESPACE_OPEN
  74. template<> ::globalmsg::SysMsg* Arena::CreateMaybeMessage<::globalmsg::SysMsg>(Arena*);
  75. template<> ::globalmsg::algMsg* Arena::CreateMaybeMessage<::globalmsg::algMsg>(Arena*);
  76. template<> ::globalmsg::laserMsg* Arena::CreateMaybeMessage<::globalmsg::laserMsg>(Arena*);
  77. template<> ::globalmsg::msg* Arena::CreateMaybeMessage<::globalmsg::msg>(Arena*);
  78. template<> ::globalmsg::plcMsg* Arena::CreateMaybeMessage<::globalmsg::plcMsg>(Arena*);
  79. template<> ::globalmsg::resultInfo* Arena::CreateMaybeMessage<::globalmsg::resultInfo>(Arena*);
  80. PROTOBUF_NAMESPACE_CLOSE
  81. namespace globalmsg {
  82. enum type : int {
  83. ePLC = 0,
  84. eLaser = 1,
  85. eAlg = 2,
  86. eLog = 3
  87. };
  88. bool type_IsValid(int value);
  89. constexpr type type_MIN = ePLC;
  90. constexpr type type_MAX = eLog;
  91. constexpr int type_ARRAYSIZE = type_MAX + 1;
  92. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* type_descriptor();
  93. template<typename T>
  94. inline const std::string& type_Name(T enum_t_value) {
  95. static_assert(::std::is_same<T, type>::value ||
  96. ::std::is_integral<T>::value,
  97. "Incorrect type passed to function type_Name.");
  98. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  99. type_descriptor(), enum_t_value);
  100. }
  101. inline bool type_Parse(
  102. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, type* value) {
  103. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<type>(
  104. type_descriptor(), name, value);
  105. }
  106. enum laserStatus : int {
  107. eLaserConnected = 0,
  108. eLaserDisconnected = 1,
  109. eLaserBusy = 2,
  110. eLaserUnknown = 3
  111. };
  112. bool laserStatus_IsValid(int value);
  113. constexpr laserStatus laserStatus_MIN = eLaserConnected;
  114. constexpr laserStatus laserStatus_MAX = eLaserUnknown;
  115. constexpr int laserStatus_ARRAYSIZE = laserStatus_MAX + 1;
  116. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* laserStatus_descriptor();
  117. template<typename T>
  118. inline const std::string& laserStatus_Name(T enum_t_value) {
  119. static_assert(::std::is_same<T, laserStatus>::value ||
  120. ::std::is_integral<T>::value,
  121. "Incorrect type passed to function laserStatus_Name.");
  122. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  123. laserStatus_descriptor(), enum_t_value);
  124. }
  125. inline bool laserStatus_Parse(
  126. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, laserStatus* value) {
  127. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<laserStatus>(
  128. laserStatus_descriptor(), name, value);
  129. }
  130. enum plcStatus : int {
  131. ePLCConnected = 0,
  132. ePLCDisconnected = 1,
  133. ePLCRefused = 2,
  134. ePLCUnknown = 3
  135. };
  136. bool plcStatus_IsValid(int value);
  137. constexpr plcStatus plcStatus_MIN = ePLCConnected;
  138. constexpr plcStatus plcStatus_MAX = ePLCUnknown;
  139. constexpr int plcStatus_ARRAYSIZE = plcStatus_MAX + 1;
  140. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* plcStatus_descriptor();
  141. template<typename T>
  142. inline const std::string& plcStatus_Name(T enum_t_value) {
  143. static_assert(::std::is_same<T, plcStatus>::value ||
  144. ::std::is_integral<T>::value,
  145. "Incorrect type passed to function plcStatus_Name.");
  146. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  147. plcStatus_descriptor(), enum_t_value);
  148. }
  149. inline bool plcStatus_Parse(
  150. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, plcStatus* value) {
  151. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<plcStatus>(
  152. plcStatus_descriptor(), name, value);
  153. }
  154. enum logLevel : int {
  155. eSysInfo = 0,
  156. eSysLog = 1,
  157. eSysWarning = 2,
  158. eSysError = 3
  159. };
  160. bool logLevel_IsValid(int value);
  161. constexpr logLevel logLevel_MIN = eSysInfo;
  162. constexpr logLevel logLevel_MAX = eSysError;
  163. constexpr int logLevel_ARRAYSIZE = logLevel_MAX + 1;
  164. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* logLevel_descriptor();
  165. template<typename T>
  166. inline const std::string& logLevel_Name(T enum_t_value) {
  167. static_assert(::std::is_same<T, logLevel>::value ||
  168. ::std::is_integral<T>::value,
  169. "Incorrect type passed to function logLevel_Name.");
  170. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  171. logLevel_descriptor(), enum_t_value);
  172. }
  173. inline bool logLevel_Parse(
  174. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, logLevel* value) {
  175. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<logLevel>(
  176. logLevel_descriptor(), name, value);
  177. }
  178. // ===================================================================
  179. class msg PROTOBUF_FINAL :
  180. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:globalmsg.msg) */ {
  181. public:
  182. inline msg() : msg(nullptr) {}
  183. virtual ~msg();
  184. msg(const msg& from);
  185. msg(msg&& from) noexcept
  186. : msg() {
  187. *this = ::std::move(from);
  188. }
  189. inline msg& operator=(const msg& from) {
  190. CopyFrom(from);
  191. return *this;
  192. }
  193. inline msg& operator=(msg&& from) noexcept {
  194. if (GetArena() == from.GetArena()) {
  195. if (this != &from) InternalSwap(&from);
  196. } else {
  197. CopyFrom(from);
  198. }
  199. return *this;
  200. }
  201. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  202. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  203. }
  204. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  205. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  206. }
  207. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  208. return GetDescriptor();
  209. }
  210. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  211. return GetMetadataStatic().descriptor;
  212. }
  213. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  214. return GetMetadataStatic().reflection;
  215. }
  216. static const msg& default_instance();
  217. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  218. static inline const msg* internal_default_instance() {
  219. return reinterpret_cast<const msg*>(
  220. &_msg_default_instance_);
  221. }
  222. static constexpr int kIndexInFileMessages =
  223. 0;
  224. friend void swap(msg& a, msg& b) {
  225. a.Swap(&b);
  226. }
  227. inline void Swap(msg* other) {
  228. if (other == this) return;
  229. if (GetArena() == other->GetArena()) {
  230. InternalSwap(other);
  231. } else {
  232. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  233. }
  234. }
  235. void UnsafeArenaSwap(msg* other) {
  236. if (other == this) return;
  237. GOOGLE_DCHECK(GetArena() == other->GetArena());
  238. InternalSwap(other);
  239. }
  240. // implements Message ----------------------------------------------
  241. inline msg* New() const final {
  242. return CreateMaybeMessage<msg>(nullptr);
  243. }
  244. msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  245. return CreateMaybeMessage<msg>(arena);
  246. }
  247. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  248. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  249. void CopyFrom(const msg& from);
  250. void MergeFrom(const msg& from);
  251. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  252. bool IsInitialized() const final;
  253. size_t ByteSizeLong() const final;
  254. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  255. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  256. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  257. int GetCachedSize() const final { return _cached_size_.Get(); }
  258. private:
  259. inline void SharedCtor();
  260. inline void SharedDtor();
  261. void SetCachedSize(int size) const final;
  262. void InternalSwap(msg* other);
  263. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  264. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  265. return "globalmsg.msg";
  266. }
  267. protected:
  268. explicit msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  269. private:
  270. static void ArenaDtor(void* object);
  271. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  272. public:
  273. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  274. private:
  275. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  276. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_globalmsg_2eproto);
  277. return ::descriptor_table_globalmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  278. }
  279. public:
  280. // nested types ----------------------------------------------------
  281. // accessors -------------------------------------------------------
  282. enum : int {
  283. kLaserMsgFieldNumber = 2,
  284. kPlcMsgFieldNumber = 3,
  285. kAlgMsgFieldNumber = 4,
  286. kSysMsgFieldNumber = 5,
  287. kMsgTypeFieldNumber = 1,
  288. };
  289. // optional .globalmsg.laserMsg laser_msg = 2;
  290. bool has_laser_msg() const;
  291. private:
  292. bool _internal_has_laser_msg() const;
  293. public:
  294. void clear_laser_msg();
  295. const ::globalmsg::laserMsg& laser_msg() const;
  296. ::globalmsg::laserMsg* release_laser_msg();
  297. ::globalmsg::laserMsg* mutable_laser_msg();
  298. void set_allocated_laser_msg(::globalmsg::laserMsg* laser_msg);
  299. private:
  300. const ::globalmsg::laserMsg& _internal_laser_msg() const;
  301. ::globalmsg::laserMsg* _internal_mutable_laser_msg();
  302. public:
  303. void unsafe_arena_set_allocated_laser_msg(
  304. ::globalmsg::laserMsg* laser_msg);
  305. ::globalmsg::laserMsg* unsafe_arena_release_laser_msg();
  306. // optional .globalmsg.plcMsg plc_msg = 3;
  307. bool has_plc_msg() const;
  308. private:
  309. bool _internal_has_plc_msg() const;
  310. public:
  311. void clear_plc_msg();
  312. const ::globalmsg::plcMsg& plc_msg() const;
  313. ::globalmsg::plcMsg* release_plc_msg();
  314. ::globalmsg::plcMsg* mutable_plc_msg();
  315. void set_allocated_plc_msg(::globalmsg::plcMsg* plc_msg);
  316. private:
  317. const ::globalmsg::plcMsg& _internal_plc_msg() const;
  318. ::globalmsg::plcMsg* _internal_mutable_plc_msg();
  319. public:
  320. void unsafe_arena_set_allocated_plc_msg(
  321. ::globalmsg::plcMsg* plc_msg);
  322. ::globalmsg::plcMsg* unsafe_arena_release_plc_msg();
  323. // optional .globalmsg.algMsg alg_msg = 4;
  324. bool has_alg_msg() const;
  325. private:
  326. bool _internal_has_alg_msg() const;
  327. public:
  328. void clear_alg_msg();
  329. const ::globalmsg::algMsg& alg_msg() const;
  330. ::globalmsg::algMsg* release_alg_msg();
  331. ::globalmsg::algMsg* mutable_alg_msg();
  332. void set_allocated_alg_msg(::globalmsg::algMsg* alg_msg);
  333. private:
  334. const ::globalmsg::algMsg& _internal_alg_msg() const;
  335. ::globalmsg::algMsg* _internal_mutable_alg_msg();
  336. public:
  337. void unsafe_arena_set_allocated_alg_msg(
  338. ::globalmsg::algMsg* alg_msg);
  339. ::globalmsg::algMsg* unsafe_arena_release_alg_msg();
  340. // optional .globalmsg.SysMsg sys_msg = 5;
  341. bool has_sys_msg() const;
  342. private:
  343. bool _internal_has_sys_msg() const;
  344. public:
  345. void clear_sys_msg();
  346. const ::globalmsg::SysMsg& sys_msg() const;
  347. ::globalmsg::SysMsg* release_sys_msg();
  348. ::globalmsg::SysMsg* mutable_sys_msg();
  349. void set_allocated_sys_msg(::globalmsg::SysMsg* sys_msg);
  350. private:
  351. const ::globalmsg::SysMsg& _internal_sys_msg() const;
  352. ::globalmsg::SysMsg* _internal_mutable_sys_msg();
  353. public:
  354. void unsafe_arena_set_allocated_sys_msg(
  355. ::globalmsg::SysMsg* sys_msg);
  356. ::globalmsg::SysMsg* unsafe_arena_release_sys_msg();
  357. // required .globalmsg.type msg_type = 1;
  358. bool has_msg_type() const;
  359. private:
  360. bool _internal_has_msg_type() const;
  361. public:
  362. void clear_msg_type();
  363. ::globalmsg::type msg_type() const;
  364. void set_msg_type(::globalmsg::type value);
  365. private:
  366. ::globalmsg::type _internal_msg_type() const;
  367. void _internal_set_msg_type(::globalmsg::type value);
  368. public:
  369. // @@protoc_insertion_point(class_scope:globalmsg.msg)
  370. private:
  371. class _Internal;
  372. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  373. typedef void InternalArenaConstructable_;
  374. typedef void DestructorSkippable_;
  375. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  376. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  377. ::globalmsg::laserMsg* laser_msg_;
  378. ::globalmsg::plcMsg* plc_msg_;
  379. ::globalmsg::algMsg* alg_msg_;
  380. ::globalmsg::SysMsg* sys_msg_;
  381. int msg_type_;
  382. friend struct ::TableStruct_globalmsg_2eproto;
  383. };
  384. // -------------------------------------------------------------------
  385. class laserMsg PROTOBUF_FINAL :
  386. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:globalmsg.laserMsg) */ {
  387. public:
  388. inline laserMsg() : laserMsg(nullptr) {}
  389. virtual ~laserMsg();
  390. laserMsg(const laserMsg& from);
  391. laserMsg(laserMsg&& from) noexcept
  392. : laserMsg() {
  393. *this = ::std::move(from);
  394. }
  395. inline laserMsg& operator=(const laserMsg& from) {
  396. CopyFrom(from);
  397. return *this;
  398. }
  399. inline laserMsg& operator=(laserMsg&& from) noexcept {
  400. if (GetArena() == from.GetArena()) {
  401. if (this != &from) InternalSwap(&from);
  402. } else {
  403. CopyFrom(from);
  404. }
  405. return *this;
  406. }
  407. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  408. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  409. }
  410. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  411. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  412. }
  413. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  414. return GetDescriptor();
  415. }
  416. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  417. return GetMetadataStatic().descriptor;
  418. }
  419. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  420. return GetMetadataStatic().reflection;
  421. }
  422. static const laserMsg& default_instance();
  423. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  424. static inline const laserMsg* internal_default_instance() {
  425. return reinterpret_cast<const laserMsg*>(
  426. &_laserMsg_default_instance_);
  427. }
  428. static constexpr int kIndexInFileMessages =
  429. 1;
  430. friend void swap(laserMsg& a, laserMsg& b) {
  431. a.Swap(&b);
  432. }
  433. inline void Swap(laserMsg* other) {
  434. if (other == this) return;
  435. if (GetArena() == other->GetArena()) {
  436. InternalSwap(other);
  437. } else {
  438. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  439. }
  440. }
  441. void UnsafeArenaSwap(laserMsg* other) {
  442. if (other == this) return;
  443. GOOGLE_DCHECK(GetArena() == other->GetArena());
  444. InternalSwap(other);
  445. }
  446. // implements Message ----------------------------------------------
  447. inline laserMsg* New() const final {
  448. return CreateMaybeMessage<laserMsg>(nullptr);
  449. }
  450. laserMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  451. return CreateMaybeMessage<laserMsg>(arena);
  452. }
  453. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  454. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  455. void CopyFrom(const laserMsg& from);
  456. void MergeFrom(const laserMsg& from);
  457. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  458. bool IsInitialized() const final;
  459. size_t ByteSizeLong() const final;
  460. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  461. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  462. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  463. int GetCachedSize() const final { return _cached_size_.Get(); }
  464. private:
  465. inline void SharedCtor();
  466. inline void SharedDtor();
  467. void SetCachedSize(int size) const final;
  468. void InternalSwap(laserMsg* other);
  469. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  470. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  471. return "globalmsg.laserMsg";
  472. }
  473. protected:
  474. explicit laserMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  475. private:
  476. static void ArenaDtor(void* object);
  477. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  478. public:
  479. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  480. private:
  481. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  482. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_globalmsg_2eproto);
  483. return ::descriptor_table_globalmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  484. }
  485. public:
  486. // nested types ----------------------------------------------------
  487. // accessors -------------------------------------------------------
  488. enum : int {
  489. kLaserStatusFieldNumber = 1,
  490. kQueueDataCountFieldNumber = 2,
  491. kCloudCountFieldNumber = 3,
  492. kIdFieldNumber = 4,
  493. };
  494. // optional .globalmsg.laserStatus laser_status = 1;
  495. bool has_laser_status() const;
  496. private:
  497. bool _internal_has_laser_status() const;
  498. public:
  499. void clear_laser_status();
  500. ::globalmsg::laserStatus laser_status() const;
  501. void set_laser_status(::globalmsg::laserStatus value);
  502. private:
  503. ::globalmsg::laserStatus _internal_laser_status() const;
  504. void _internal_set_laser_status(::globalmsg::laserStatus value);
  505. public:
  506. // optional int32 queue_data_count = 2;
  507. bool has_queue_data_count() const;
  508. private:
  509. bool _internal_has_queue_data_count() const;
  510. public:
  511. void clear_queue_data_count();
  512. ::PROTOBUF_NAMESPACE_ID::int32 queue_data_count() const;
  513. void set_queue_data_count(::PROTOBUF_NAMESPACE_ID::int32 value);
  514. private:
  515. ::PROTOBUF_NAMESPACE_ID::int32 _internal_queue_data_count() const;
  516. void _internal_set_queue_data_count(::PROTOBUF_NAMESPACE_ID::int32 value);
  517. public:
  518. // optional int32 cloud_count = 3;
  519. bool has_cloud_count() const;
  520. private:
  521. bool _internal_has_cloud_count() const;
  522. public:
  523. void clear_cloud_count();
  524. ::PROTOBUF_NAMESPACE_ID::int32 cloud_count() const;
  525. void set_cloud_count(::PROTOBUF_NAMESPACE_ID::int32 value);
  526. private:
  527. ::PROTOBUF_NAMESPACE_ID::int32 _internal_cloud_count() const;
  528. void _internal_set_cloud_count(::PROTOBUF_NAMESPACE_ID::int32 value);
  529. public:
  530. // required int32 id = 4;
  531. bool has_id() const;
  532. private:
  533. bool _internal_has_id() const;
  534. public:
  535. void clear_id();
  536. ::PROTOBUF_NAMESPACE_ID::int32 id() const;
  537. void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  538. private:
  539. ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const;
  540. void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  541. public:
  542. // @@protoc_insertion_point(class_scope:globalmsg.laserMsg)
  543. private:
  544. class _Internal;
  545. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  546. typedef void InternalArenaConstructable_;
  547. typedef void DestructorSkippable_;
  548. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  549. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  550. int laser_status_;
  551. ::PROTOBUF_NAMESPACE_ID::int32 queue_data_count_;
  552. ::PROTOBUF_NAMESPACE_ID::int32 cloud_count_;
  553. ::PROTOBUF_NAMESPACE_ID::int32 id_;
  554. friend struct ::TableStruct_globalmsg_2eproto;
  555. };
  556. // -------------------------------------------------------------------
  557. class plcMsg PROTOBUF_FINAL :
  558. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:globalmsg.plcMsg) */ {
  559. public:
  560. inline plcMsg() : plcMsg(nullptr) {}
  561. virtual ~plcMsg();
  562. plcMsg(const plcMsg& from);
  563. plcMsg(plcMsg&& from) noexcept
  564. : plcMsg() {
  565. *this = ::std::move(from);
  566. }
  567. inline plcMsg& operator=(const plcMsg& from) {
  568. CopyFrom(from);
  569. return *this;
  570. }
  571. inline plcMsg& operator=(plcMsg&& from) noexcept {
  572. if (GetArena() == from.GetArena()) {
  573. if (this != &from) InternalSwap(&from);
  574. } else {
  575. CopyFrom(from);
  576. }
  577. return *this;
  578. }
  579. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  580. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  581. }
  582. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  583. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  584. }
  585. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  586. return GetDescriptor();
  587. }
  588. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  589. return GetMetadataStatic().descriptor;
  590. }
  591. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  592. return GetMetadataStatic().reflection;
  593. }
  594. static const plcMsg& default_instance();
  595. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  596. static inline const plcMsg* internal_default_instance() {
  597. return reinterpret_cast<const plcMsg*>(
  598. &_plcMsg_default_instance_);
  599. }
  600. static constexpr int kIndexInFileMessages =
  601. 2;
  602. friend void swap(plcMsg& a, plcMsg& b) {
  603. a.Swap(&b);
  604. }
  605. inline void Swap(plcMsg* other) {
  606. if (other == this) return;
  607. if (GetArena() == other->GetArena()) {
  608. InternalSwap(other);
  609. } else {
  610. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  611. }
  612. }
  613. void UnsafeArenaSwap(plcMsg* other) {
  614. if (other == this) return;
  615. GOOGLE_DCHECK(GetArena() == other->GetArena());
  616. InternalSwap(other);
  617. }
  618. // implements Message ----------------------------------------------
  619. inline plcMsg* New() const final {
  620. return CreateMaybeMessage<plcMsg>(nullptr);
  621. }
  622. plcMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  623. return CreateMaybeMessage<plcMsg>(arena);
  624. }
  625. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  626. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  627. void CopyFrom(const plcMsg& from);
  628. void MergeFrom(const plcMsg& from);
  629. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  630. bool IsInitialized() const final;
  631. size_t ByteSizeLong() const final;
  632. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  633. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  634. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  635. int GetCachedSize() const final { return _cached_size_.Get(); }
  636. private:
  637. inline void SharedCtor();
  638. inline void SharedDtor();
  639. void SetCachedSize(int size) const final;
  640. void InternalSwap(plcMsg* other);
  641. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  642. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  643. return "globalmsg.plcMsg";
  644. }
  645. protected:
  646. explicit plcMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  647. private:
  648. static void ArenaDtor(void* object);
  649. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  650. public:
  651. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  652. private:
  653. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  654. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_globalmsg_2eproto);
  655. return ::descriptor_table_globalmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  656. }
  657. public:
  658. // nested types ----------------------------------------------------
  659. // accessors -------------------------------------------------------
  660. enum : int {
  661. kPlcValuesFieldNumber = 2,
  662. kPlcStatusFieldNumber = 1,
  663. };
  664. // repeated int32 plc_values = 2;
  665. int plc_values_size() const;
  666. private:
  667. int _internal_plc_values_size() const;
  668. public:
  669. void clear_plc_values();
  670. private:
  671. ::PROTOBUF_NAMESPACE_ID::int32 _internal_plc_values(int index) const;
  672. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  673. _internal_plc_values() const;
  674. void _internal_add_plc_values(::PROTOBUF_NAMESPACE_ID::int32 value);
  675. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  676. _internal_mutable_plc_values();
  677. public:
  678. ::PROTOBUF_NAMESPACE_ID::int32 plc_values(int index) const;
  679. void set_plc_values(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  680. void add_plc_values(::PROTOBUF_NAMESPACE_ID::int32 value);
  681. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  682. plc_values() const;
  683. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  684. mutable_plc_values();
  685. // optional .globalmsg.plcStatus plc_status = 1;
  686. bool has_plc_status() const;
  687. private:
  688. bool _internal_has_plc_status() const;
  689. public:
  690. void clear_plc_status();
  691. ::globalmsg::plcStatus plc_status() const;
  692. void set_plc_status(::globalmsg::plcStatus value);
  693. private:
  694. ::globalmsg::plcStatus _internal_plc_status() const;
  695. void _internal_set_plc_status(::globalmsg::plcStatus value);
  696. public:
  697. // @@protoc_insertion_point(class_scope:globalmsg.plcMsg)
  698. private:
  699. class _Internal;
  700. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  701. typedef void InternalArenaConstructable_;
  702. typedef void DestructorSkippable_;
  703. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  704. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  705. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > plc_values_;
  706. int plc_status_;
  707. friend struct ::TableStruct_globalmsg_2eproto;
  708. };
  709. // -------------------------------------------------------------------
  710. class resultInfo PROTOBUF_FINAL :
  711. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:globalmsg.resultInfo) */ {
  712. public:
  713. inline resultInfo() : resultInfo(nullptr) {}
  714. virtual ~resultInfo();
  715. resultInfo(const resultInfo& from);
  716. resultInfo(resultInfo&& from) noexcept
  717. : resultInfo() {
  718. *this = ::std::move(from);
  719. }
  720. inline resultInfo& operator=(const resultInfo& from) {
  721. CopyFrom(from);
  722. return *this;
  723. }
  724. inline resultInfo& operator=(resultInfo&& from) noexcept {
  725. if (GetArena() == from.GetArena()) {
  726. if (this != &from) InternalSwap(&from);
  727. } else {
  728. CopyFrom(from);
  729. }
  730. return *this;
  731. }
  732. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  733. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  734. }
  735. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  736. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  737. }
  738. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  739. return GetDescriptor();
  740. }
  741. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  742. return GetMetadataStatic().descriptor;
  743. }
  744. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  745. return GetMetadataStatic().reflection;
  746. }
  747. static const resultInfo& default_instance();
  748. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  749. static inline const resultInfo* internal_default_instance() {
  750. return reinterpret_cast<const resultInfo*>(
  751. &_resultInfo_default_instance_);
  752. }
  753. static constexpr int kIndexInFileMessages =
  754. 3;
  755. friend void swap(resultInfo& a, resultInfo& b) {
  756. a.Swap(&b);
  757. }
  758. inline void Swap(resultInfo* other) {
  759. if (other == this) return;
  760. if (GetArena() == other->GetArena()) {
  761. InternalSwap(other);
  762. } else {
  763. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  764. }
  765. }
  766. void UnsafeArenaSwap(resultInfo* other) {
  767. if (other == this) return;
  768. GOOGLE_DCHECK(GetArena() == other->GetArena());
  769. InternalSwap(other);
  770. }
  771. // implements Message ----------------------------------------------
  772. inline resultInfo* New() const final {
  773. return CreateMaybeMessage<resultInfo>(nullptr);
  774. }
  775. resultInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  776. return CreateMaybeMessage<resultInfo>(arena);
  777. }
  778. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  779. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  780. void CopyFrom(const resultInfo& from);
  781. void MergeFrom(const resultInfo& from);
  782. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  783. bool IsInitialized() const final;
  784. size_t ByteSizeLong() const final;
  785. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  786. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  787. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  788. int GetCachedSize() const final { return _cached_size_.Get(); }
  789. private:
  790. inline void SharedCtor();
  791. inline void SharedDtor();
  792. void SetCachedSize(int size) const final;
  793. void InternalSwap(resultInfo* other);
  794. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  795. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  796. return "globalmsg.resultInfo";
  797. }
  798. protected:
  799. explicit resultInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  800. private:
  801. static void ArenaDtor(void* object);
  802. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  803. public:
  804. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  805. private:
  806. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  807. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_globalmsg_2eproto);
  808. return ::descriptor_table_globalmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  809. }
  810. public:
  811. // nested types ----------------------------------------------------
  812. // accessors -------------------------------------------------------
  813. enum : int {
  814. kTimeFieldNumber = 1,
  815. kErrorFieldNumber = 12,
  816. kCorrectnessFieldNumber = 2,
  817. kParkSpaceIdFieldNumber = 3,
  818. kXFieldNumber = 5,
  819. kYFieldNumber = 6,
  820. kCFieldNumber = 7,
  821. kWheelBaseFieldNumber = 8,
  822. kLengthFieldNumber = 9,
  823. kWidthFieldNumber = 10,
  824. kHeightFieldNumber = 11,
  825. kFrontThetaFieldNumber = 13,
  826. kLaserIdsFieldNumber = 4,
  827. };
  828. // required string time = 1 [default = ""];
  829. bool has_time() const;
  830. private:
  831. bool _internal_has_time() const;
  832. public:
  833. void clear_time();
  834. const std::string& time() const;
  835. void set_time(const std::string& value);
  836. void set_time(std::string&& value);
  837. void set_time(const char* value);
  838. void set_time(const char* value, size_t size);
  839. std::string* mutable_time();
  840. std::string* release_time();
  841. void set_allocated_time(std::string* time);
  842. private:
  843. const std::string& _internal_time() const;
  844. void _internal_set_time(const std::string& value);
  845. std::string* _internal_mutable_time();
  846. public:
  847. // optional string error = 12 [default = ""];
  848. bool has_error() const;
  849. private:
  850. bool _internal_has_error() const;
  851. public:
  852. void clear_error();
  853. const std::string& error() const;
  854. void set_error(const std::string& value);
  855. void set_error(std::string&& value);
  856. void set_error(const char* value);
  857. void set_error(const char* value, size_t size);
  858. std::string* mutable_error();
  859. std::string* release_error();
  860. void set_allocated_error(std::string* error);
  861. private:
  862. const std::string& _internal_error() const;
  863. void _internal_set_error(const std::string& value);
  864. std::string* _internal_mutable_error();
  865. public:
  866. // required bool correctness = 2;
  867. bool has_correctness() const;
  868. private:
  869. bool _internal_has_correctness() const;
  870. public:
  871. void clear_correctness();
  872. bool correctness() const;
  873. void set_correctness(bool value);
  874. private:
  875. bool _internal_correctness() const;
  876. void _internal_set_correctness(bool value);
  877. public:
  878. // optional int32 park_space_id = 3;
  879. bool has_park_space_id() const;
  880. private:
  881. bool _internal_has_park_space_id() const;
  882. public:
  883. void clear_park_space_id();
  884. ::PROTOBUF_NAMESPACE_ID::int32 park_space_id() const;
  885. void set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  886. private:
  887. ::PROTOBUF_NAMESPACE_ID::int32 _internal_park_space_id() const;
  888. void _internal_set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  889. public:
  890. // optional double x = 5;
  891. bool has_x() const;
  892. private:
  893. bool _internal_has_x() const;
  894. public:
  895. void clear_x();
  896. double x() const;
  897. void set_x(double value);
  898. private:
  899. double _internal_x() const;
  900. void _internal_set_x(double value);
  901. public:
  902. // optional double y = 6;
  903. bool has_y() const;
  904. private:
  905. bool _internal_has_y() const;
  906. public:
  907. void clear_y();
  908. double y() const;
  909. void set_y(double value);
  910. private:
  911. double _internal_y() const;
  912. void _internal_set_y(double value);
  913. public:
  914. // optional double c = 7;
  915. bool has_c() const;
  916. private:
  917. bool _internal_has_c() const;
  918. public:
  919. void clear_c();
  920. double c() const;
  921. void set_c(double value);
  922. private:
  923. double _internal_c() const;
  924. void _internal_set_c(double value);
  925. public:
  926. // optional double wheel_base = 8;
  927. bool has_wheel_base() const;
  928. private:
  929. bool _internal_has_wheel_base() const;
  930. public:
  931. void clear_wheel_base();
  932. double wheel_base() const;
  933. void set_wheel_base(double value);
  934. private:
  935. double _internal_wheel_base() const;
  936. void _internal_set_wheel_base(double value);
  937. public:
  938. // optional double length = 9;
  939. bool has_length() const;
  940. private:
  941. bool _internal_has_length() const;
  942. public:
  943. void clear_length();
  944. double length() const;
  945. void set_length(double value);
  946. private:
  947. double _internal_length() const;
  948. void _internal_set_length(double value);
  949. public:
  950. // optional double width = 10;
  951. bool has_width() const;
  952. private:
  953. bool _internal_has_width() const;
  954. public:
  955. void clear_width();
  956. double width() const;
  957. void set_width(double value);
  958. private:
  959. double _internal_width() const;
  960. void _internal_set_width(double value);
  961. public:
  962. // optional double height = 11;
  963. bool has_height() const;
  964. private:
  965. bool _internal_has_height() const;
  966. public:
  967. void clear_height();
  968. double height() const;
  969. void set_height(double value);
  970. private:
  971. double _internal_height() const;
  972. void _internal_set_height(double value);
  973. public:
  974. // optional double front_theta = 13;
  975. bool has_front_theta() const;
  976. private:
  977. bool _internal_has_front_theta() const;
  978. public:
  979. void clear_front_theta();
  980. double front_theta() const;
  981. void set_front_theta(double value);
  982. private:
  983. double _internal_front_theta() const;
  984. void _internal_set_front_theta(double value);
  985. public:
  986. // optional int32 laser_ids = 4;
  987. bool has_laser_ids() const;
  988. private:
  989. bool _internal_has_laser_ids() const;
  990. public:
  991. void clear_laser_ids();
  992. ::PROTOBUF_NAMESPACE_ID::int32 laser_ids() const;
  993. void set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
  994. private:
  995. ::PROTOBUF_NAMESPACE_ID::int32 _internal_laser_ids() const;
  996. void _internal_set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
  997. public:
  998. // @@protoc_insertion_point(class_scope:globalmsg.resultInfo)
  999. private:
  1000. class _Internal;
  1001. // helper for ByteSizeLong()
  1002. size_t RequiredFieldsByteSizeFallback() const;
  1003. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1004. typedef void InternalArenaConstructable_;
  1005. typedef void DestructorSkippable_;
  1006. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1007. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1008. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr time_;
  1009. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_;
  1010. bool correctness_;
  1011. ::PROTOBUF_NAMESPACE_ID::int32 park_space_id_;
  1012. double x_;
  1013. double y_;
  1014. double c_;
  1015. double wheel_base_;
  1016. double length_;
  1017. double width_;
  1018. double height_;
  1019. double front_theta_;
  1020. ::PROTOBUF_NAMESPACE_ID::int32 laser_ids_;
  1021. friend struct ::TableStruct_globalmsg_2eproto;
  1022. };
  1023. // -------------------------------------------------------------------
  1024. class algMsg PROTOBUF_FINAL :
  1025. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:globalmsg.algMsg) */ {
  1026. public:
  1027. inline algMsg() : algMsg(nullptr) {}
  1028. virtual ~algMsg();
  1029. algMsg(const algMsg& from);
  1030. algMsg(algMsg&& from) noexcept
  1031. : algMsg() {
  1032. *this = ::std::move(from);
  1033. }
  1034. inline algMsg& operator=(const algMsg& from) {
  1035. CopyFrom(from);
  1036. return *this;
  1037. }
  1038. inline algMsg& operator=(algMsg&& from) noexcept {
  1039. if (GetArena() == from.GetArena()) {
  1040. if (this != &from) InternalSwap(&from);
  1041. } else {
  1042. CopyFrom(from);
  1043. }
  1044. return *this;
  1045. }
  1046. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1047. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1048. }
  1049. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1050. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1051. }
  1052. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1053. return GetDescriptor();
  1054. }
  1055. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1056. return GetMetadataStatic().descriptor;
  1057. }
  1058. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1059. return GetMetadataStatic().reflection;
  1060. }
  1061. static const algMsg& default_instance();
  1062. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1063. static inline const algMsg* internal_default_instance() {
  1064. return reinterpret_cast<const algMsg*>(
  1065. &_algMsg_default_instance_);
  1066. }
  1067. static constexpr int kIndexInFileMessages =
  1068. 4;
  1069. friend void swap(algMsg& a, algMsg& b) {
  1070. a.Swap(&b);
  1071. }
  1072. inline void Swap(algMsg* other) {
  1073. if (other == this) return;
  1074. if (GetArena() == other->GetArena()) {
  1075. InternalSwap(other);
  1076. } else {
  1077. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1078. }
  1079. }
  1080. void UnsafeArenaSwap(algMsg* other) {
  1081. if (other == this) return;
  1082. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1083. InternalSwap(other);
  1084. }
  1085. // implements Message ----------------------------------------------
  1086. inline algMsg* New() const final {
  1087. return CreateMaybeMessage<algMsg>(nullptr);
  1088. }
  1089. algMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1090. return CreateMaybeMessage<algMsg>(arena);
  1091. }
  1092. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1093. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1094. void CopyFrom(const algMsg& from);
  1095. void MergeFrom(const algMsg& from);
  1096. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1097. bool IsInitialized() const final;
  1098. size_t ByteSizeLong() const final;
  1099. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1100. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1101. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1102. int GetCachedSize() const final { return _cached_size_.Get(); }
  1103. private:
  1104. inline void SharedCtor();
  1105. inline void SharedDtor();
  1106. void SetCachedSize(int size) const final;
  1107. void InternalSwap(algMsg* other);
  1108. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1109. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1110. return "globalmsg.algMsg";
  1111. }
  1112. protected:
  1113. explicit algMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1114. private:
  1115. static void ArenaDtor(void* object);
  1116. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1117. public:
  1118. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1119. private:
  1120. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1121. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_globalmsg_2eproto);
  1122. return ::descriptor_table_globalmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  1123. }
  1124. public:
  1125. // nested types ----------------------------------------------------
  1126. // accessors -------------------------------------------------------
  1127. enum : int {
  1128. kResultFieldNumber = 1,
  1129. kLogPathFieldNumber = 3,
  1130. kThreadQueueSizeFieldNumber = 2,
  1131. };
  1132. // repeated .globalmsg.resultInfo result = 1;
  1133. int result_size() const;
  1134. private:
  1135. int _internal_result_size() const;
  1136. public:
  1137. void clear_result();
  1138. ::globalmsg::resultInfo* mutable_result(int index);
  1139. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::globalmsg::resultInfo >*
  1140. mutable_result();
  1141. private:
  1142. const ::globalmsg::resultInfo& _internal_result(int index) const;
  1143. ::globalmsg::resultInfo* _internal_add_result();
  1144. public:
  1145. const ::globalmsg::resultInfo& result(int index) const;
  1146. ::globalmsg::resultInfo* add_result();
  1147. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::globalmsg::resultInfo >&
  1148. result() const;
  1149. // optional string log_path = 3 [default = ""];
  1150. bool has_log_path() const;
  1151. private:
  1152. bool _internal_has_log_path() const;
  1153. public:
  1154. void clear_log_path();
  1155. const std::string& log_path() const;
  1156. void set_log_path(const std::string& value);
  1157. void set_log_path(std::string&& value);
  1158. void set_log_path(const char* value);
  1159. void set_log_path(const char* value, size_t size);
  1160. std::string* mutable_log_path();
  1161. std::string* release_log_path();
  1162. void set_allocated_log_path(std::string* log_path);
  1163. private:
  1164. const std::string& _internal_log_path() const;
  1165. void _internal_set_log_path(const std::string& value);
  1166. std::string* _internal_mutable_log_path();
  1167. public:
  1168. // optional int32 thread_queue_size = 2;
  1169. bool has_thread_queue_size() const;
  1170. private:
  1171. bool _internal_has_thread_queue_size() const;
  1172. public:
  1173. void clear_thread_queue_size();
  1174. ::PROTOBUF_NAMESPACE_ID::int32 thread_queue_size() const;
  1175. void set_thread_queue_size(::PROTOBUF_NAMESPACE_ID::int32 value);
  1176. private:
  1177. ::PROTOBUF_NAMESPACE_ID::int32 _internal_thread_queue_size() const;
  1178. void _internal_set_thread_queue_size(::PROTOBUF_NAMESPACE_ID::int32 value);
  1179. public:
  1180. // @@protoc_insertion_point(class_scope:globalmsg.algMsg)
  1181. private:
  1182. class _Internal;
  1183. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1184. typedef void InternalArenaConstructable_;
  1185. typedef void DestructorSkippable_;
  1186. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1187. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1188. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::globalmsg::resultInfo > result_;
  1189. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_path_;
  1190. ::PROTOBUF_NAMESPACE_ID::int32 thread_queue_size_;
  1191. friend struct ::TableStruct_globalmsg_2eproto;
  1192. };
  1193. // -------------------------------------------------------------------
  1194. class SysMsg PROTOBUF_FINAL :
  1195. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:globalmsg.SysMsg) */ {
  1196. public:
  1197. inline SysMsg() : SysMsg(nullptr) {}
  1198. virtual ~SysMsg();
  1199. SysMsg(const SysMsg& from);
  1200. SysMsg(SysMsg&& from) noexcept
  1201. : SysMsg() {
  1202. *this = ::std::move(from);
  1203. }
  1204. inline SysMsg& operator=(const SysMsg& from) {
  1205. CopyFrom(from);
  1206. return *this;
  1207. }
  1208. inline SysMsg& operator=(SysMsg&& from) noexcept {
  1209. if (GetArena() == from.GetArena()) {
  1210. if (this != &from) InternalSwap(&from);
  1211. } else {
  1212. CopyFrom(from);
  1213. }
  1214. return *this;
  1215. }
  1216. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1217. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1218. }
  1219. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1220. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1221. }
  1222. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1223. return GetDescriptor();
  1224. }
  1225. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1226. return GetMetadataStatic().descriptor;
  1227. }
  1228. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1229. return GetMetadataStatic().reflection;
  1230. }
  1231. static const SysMsg& default_instance();
  1232. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1233. static inline const SysMsg* internal_default_instance() {
  1234. return reinterpret_cast<const SysMsg*>(
  1235. &_SysMsg_default_instance_);
  1236. }
  1237. static constexpr int kIndexInFileMessages =
  1238. 5;
  1239. friend void swap(SysMsg& a, SysMsg& b) {
  1240. a.Swap(&b);
  1241. }
  1242. inline void Swap(SysMsg* other) {
  1243. if (other == this) return;
  1244. if (GetArena() == other->GetArena()) {
  1245. InternalSwap(other);
  1246. } else {
  1247. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1248. }
  1249. }
  1250. void UnsafeArenaSwap(SysMsg* other) {
  1251. if (other == this) return;
  1252. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1253. InternalSwap(other);
  1254. }
  1255. // implements Message ----------------------------------------------
  1256. inline SysMsg* New() const final {
  1257. return CreateMaybeMessage<SysMsg>(nullptr);
  1258. }
  1259. SysMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1260. return CreateMaybeMessage<SysMsg>(arena);
  1261. }
  1262. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1263. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  1264. void CopyFrom(const SysMsg& from);
  1265. void MergeFrom(const SysMsg& from);
  1266. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1267. bool IsInitialized() const final;
  1268. size_t ByteSizeLong() const final;
  1269. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1270. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1271. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1272. int GetCachedSize() const final { return _cached_size_.Get(); }
  1273. private:
  1274. inline void SharedCtor();
  1275. inline void SharedDtor();
  1276. void SetCachedSize(int size) const final;
  1277. void InternalSwap(SysMsg* other);
  1278. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1279. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1280. return "globalmsg.SysMsg";
  1281. }
  1282. protected:
  1283. explicit SysMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1284. private:
  1285. static void ArenaDtor(void* object);
  1286. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1287. public:
  1288. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1289. private:
  1290. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  1291. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_globalmsg_2eproto);
  1292. return ::descriptor_table_globalmsg_2eproto.file_level_metadata[kIndexInFileMessages];
  1293. }
  1294. public:
  1295. // nested types ----------------------------------------------------
  1296. // accessors -------------------------------------------------------
  1297. enum : int {
  1298. kLogFieldNumber = 1,
  1299. kLevelFieldNumber = 2,
  1300. };
  1301. // required string log = 1 [default = ""];
  1302. bool has_log() const;
  1303. private:
  1304. bool _internal_has_log() const;
  1305. public:
  1306. void clear_log();
  1307. const std::string& log() const;
  1308. void set_log(const std::string& value);
  1309. void set_log(std::string&& value);
  1310. void set_log(const char* value);
  1311. void set_log(const char* value, size_t size);
  1312. std::string* mutable_log();
  1313. std::string* release_log();
  1314. void set_allocated_log(std::string* log);
  1315. private:
  1316. const std::string& _internal_log() const;
  1317. void _internal_set_log(const std::string& value);
  1318. std::string* _internal_mutable_log();
  1319. public:
  1320. // optional .globalmsg.logLevel level = 2 [default = eSysInfo];
  1321. bool has_level() const;
  1322. private:
  1323. bool _internal_has_level() const;
  1324. public:
  1325. void clear_level();
  1326. ::globalmsg::logLevel level() const;
  1327. void set_level(::globalmsg::logLevel value);
  1328. private:
  1329. ::globalmsg::logLevel _internal_level() const;
  1330. void _internal_set_level(::globalmsg::logLevel value);
  1331. public:
  1332. // @@protoc_insertion_point(class_scope:globalmsg.SysMsg)
  1333. private:
  1334. class _Internal;
  1335. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1336. typedef void InternalArenaConstructable_;
  1337. typedef void DestructorSkippable_;
  1338. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1339. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1340. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_;
  1341. int level_;
  1342. friend struct ::TableStruct_globalmsg_2eproto;
  1343. };
  1344. // ===================================================================
  1345. // ===================================================================
  1346. #ifdef __GNUC__
  1347. #pragma GCC diagnostic push
  1348. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1349. #endif // __GNUC__
  1350. // msg
  1351. // required .globalmsg.type msg_type = 1;
  1352. inline bool msg::_internal_has_msg_type() const {
  1353. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  1354. return value;
  1355. }
  1356. inline bool msg::has_msg_type() const {
  1357. return _internal_has_msg_type();
  1358. }
  1359. inline void msg::clear_msg_type() {
  1360. msg_type_ = 0;
  1361. _has_bits_[0] &= ~0x00000010u;
  1362. }
  1363. inline ::globalmsg::type msg::_internal_msg_type() const {
  1364. return static_cast< ::globalmsg::type >(msg_type_);
  1365. }
  1366. inline ::globalmsg::type msg::msg_type() const {
  1367. // @@protoc_insertion_point(field_get:globalmsg.msg.msg_type)
  1368. return _internal_msg_type();
  1369. }
  1370. inline void msg::_internal_set_msg_type(::globalmsg::type value) {
  1371. assert(::globalmsg::type_IsValid(value));
  1372. _has_bits_[0] |= 0x00000010u;
  1373. msg_type_ = value;
  1374. }
  1375. inline void msg::set_msg_type(::globalmsg::type value) {
  1376. _internal_set_msg_type(value);
  1377. // @@protoc_insertion_point(field_set:globalmsg.msg.msg_type)
  1378. }
  1379. // optional .globalmsg.laserMsg laser_msg = 2;
  1380. inline bool msg::_internal_has_laser_msg() const {
  1381. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1382. PROTOBUF_ASSUME(!value || laser_msg_ != nullptr);
  1383. return value;
  1384. }
  1385. inline bool msg::has_laser_msg() const {
  1386. return _internal_has_laser_msg();
  1387. }
  1388. inline void msg::clear_laser_msg() {
  1389. if (laser_msg_ != nullptr) laser_msg_->Clear();
  1390. _has_bits_[0] &= ~0x00000001u;
  1391. }
  1392. inline const ::globalmsg::laserMsg& msg::_internal_laser_msg() const {
  1393. const ::globalmsg::laserMsg* p = laser_msg_;
  1394. return p != nullptr ? *p : *reinterpret_cast<const ::globalmsg::laserMsg*>(
  1395. &::globalmsg::_laserMsg_default_instance_);
  1396. }
  1397. inline const ::globalmsg::laserMsg& msg::laser_msg() const {
  1398. // @@protoc_insertion_point(field_get:globalmsg.msg.laser_msg)
  1399. return _internal_laser_msg();
  1400. }
  1401. inline void msg::unsafe_arena_set_allocated_laser_msg(
  1402. ::globalmsg::laserMsg* laser_msg) {
  1403. if (GetArena() == nullptr) {
  1404. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(laser_msg_);
  1405. }
  1406. laser_msg_ = laser_msg;
  1407. if (laser_msg) {
  1408. _has_bits_[0] |= 0x00000001u;
  1409. } else {
  1410. _has_bits_[0] &= ~0x00000001u;
  1411. }
  1412. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:globalmsg.msg.laser_msg)
  1413. }
  1414. inline ::globalmsg::laserMsg* msg::release_laser_msg() {
  1415. _has_bits_[0] &= ~0x00000001u;
  1416. ::globalmsg::laserMsg* temp = laser_msg_;
  1417. laser_msg_ = nullptr;
  1418. if (GetArena() != nullptr) {
  1419. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1420. }
  1421. return temp;
  1422. }
  1423. inline ::globalmsg::laserMsg* msg::unsafe_arena_release_laser_msg() {
  1424. // @@protoc_insertion_point(field_release:globalmsg.msg.laser_msg)
  1425. _has_bits_[0] &= ~0x00000001u;
  1426. ::globalmsg::laserMsg* temp = laser_msg_;
  1427. laser_msg_ = nullptr;
  1428. return temp;
  1429. }
  1430. inline ::globalmsg::laserMsg* msg::_internal_mutable_laser_msg() {
  1431. _has_bits_[0] |= 0x00000001u;
  1432. if (laser_msg_ == nullptr) {
  1433. auto* p = CreateMaybeMessage<::globalmsg::laserMsg>(GetArena());
  1434. laser_msg_ = p;
  1435. }
  1436. return laser_msg_;
  1437. }
  1438. inline ::globalmsg::laserMsg* msg::mutable_laser_msg() {
  1439. // @@protoc_insertion_point(field_mutable:globalmsg.msg.laser_msg)
  1440. return _internal_mutable_laser_msg();
  1441. }
  1442. inline void msg::set_allocated_laser_msg(::globalmsg::laserMsg* laser_msg) {
  1443. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1444. if (message_arena == nullptr) {
  1445. delete laser_msg_;
  1446. }
  1447. if (laser_msg) {
  1448. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1449. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(laser_msg);
  1450. if (message_arena != submessage_arena) {
  1451. laser_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1452. message_arena, laser_msg, submessage_arena);
  1453. }
  1454. _has_bits_[0] |= 0x00000001u;
  1455. } else {
  1456. _has_bits_[0] &= ~0x00000001u;
  1457. }
  1458. laser_msg_ = laser_msg;
  1459. // @@protoc_insertion_point(field_set_allocated:globalmsg.msg.laser_msg)
  1460. }
  1461. // optional .globalmsg.plcMsg plc_msg = 3;
  1462. inline bool msg::_internal_has_plc_msg() const {
  1463. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1464. PROTOBUF_ASSUME(!value || plc_msg_ != nullptr);
  1465. return value;
  1466. }
  1467. inline bool msg::has_plc_msg() const {
  1468. return _internal_has_plc_msg();
  1469. }
  1470. inline void msg::clear_plc_msg() {
  1471. if (plc_msg_ != nullptr) plc_msg_->Clear();
  1472. _has_bits_[0] &= ~0x00000002u;
  1473. }
  1474. inline const ::globalmsg::plcMsg& msg::_internal_plc_msg() const {
  1475. const ::globalmsg::plcMsg* p = plc_msg_;
  1476. return p != nullptr ? *p : *reinterpret_cast<const ::globalmsg::plcMsg*>(
  1477. &::globalmsg::_plcMsg_default_instance_);
  1478. }
  1479. inline const ::globalmsg::plcMsg& msg::plc_msg() const {
  1480. // @@protoc_insertion_point(field_get:globalmsg.msg.plc_msg)
  1481. return _internal_plc_msg();
  1482. }
  1483. inline void msg::unsafe_arena_set_allocated_plc_msg(
  1484. ::globalmsg::plcMsg* plc_msg) {
  1485. if (GetArena() == nullptr) {
  1486. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(plc_msg_);
  1487. }
  1488. plc_msg_ = plc_msg;
  1489. if (plc_msg) {
  1490. _has_bits_[0] |= 0x00000002u;
  1491. } else {
  1492. _has_bits_[0] &= ~0x00000002u;
  1493. }
  1494. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:globalmsg.msg.plc_msg)
  1495. }
  1496. inline ::globalmsg::plcMsg* msg::release_plc_msg() {
  1497. _has_bits_[0] &= ~0x00000002u;
  1498. ::globalmsg::plcMsg* temp = plc_msg_;
  1499. plc_msg_ = nullptr;
  1500. if (GetArena() != nullptr) {
  1501. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1502. }
  1503. return temp;
  1504. }
  1505. inline ::globalmsg::plcMsg* msg::unsafe_arena_release_plc_msg() {
  1506. // @@protoc_insertion_point(field_release:globalmsg.msg.plc_msg)
  1507. _has_bits_[0] &= ~0x00000002u;
  1508. ::globalmsg::plcMsg* temp = plc_msg_;
  1509. plc_msg_ = nullptr;
  1510. return temp;
  1511. }
  1512. inline ::globalmsg::plcMsg* msg::_internal_mutable_plc_msg() {
  1513. _has_bits_[0] |= 0x00000002u;
  1514. if (plc_msg_ == nullptr) {
  1515. auto* p = CreateMaybeMessage<::globalmsg::plcMsg>(GetArena());
  1516. plc_msg_ = p;
  1517. }
  1518. return plc_msg_;
  1519. }
  1520. inline ::globalmsg::plcMsg* msg::mutable_plc_msg() {
  1521. // @@protoc_insertion_point(field_mutable:globalmsg.msg.plc_msg)
  1522. return _internal_mutable_plc_msg();
  1523. }
  1524. inline void msg::set_allocated_plc_msg(::globalmsg::plcMsg* plc_msg) {
  1525. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1526. if (message_arena == nullptr) {
  1527. delete plc_msg_;
  1528. }
  1529. if (plc_msg) {
  1530. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1531. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(plc_msg);
  1532. if (message_arena != submessage_arena) {
  1533. plc_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1534. message_arena, plc_msg, submessage_arena);
  1535. }
  1536. _has_bits_[0] |= 0x00000002u;
  1537. } else {
  1538. _has_bits_[0] &= ~0x00000002u;
  1539. }
  1540. plc_msg_ = plc_msg;
  1541. // @@protoc_insertion_point(field_set_allocated:globalmsg.msg.plc_msg)
  1542. }
  1543. // optional .globalmsg.algMsg alg_msg = 4;
  1544. inline bool msg::_internal_has_alg_msg() const {
  1545. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1546. PROTOBUF_ASSUME(!value || alg_msg_ != nullptr);
  1547. return value;
  1548. }
  1549. inline bool msg::has_alg_msg() const {
  1550. return _internal_has_alg_msg();
  1551. }
  1552. inline void msg::clear_alg_msg() {
  1553. if (alg_msg_ != nullptr) alg_msg_->Clear();
  1554. _has_bits_[0] &= ~0x00000004u;
  1555. }
  1556. inline const ::globalmsg::algMsg& msg::_internal_alg_msg() const {
  1557. const ::globalmsg::algMsg* p = alg_msg_;
  1558. return p != nullptr ? *p : *reinterpret_cast<const ::globalmsg::algMsg*>(
  1559. &::globalmsg::_algMsg_default_instance_);
  1560. }
  1561. inline const ::globalmsg::algMsg& msg::alg_msg() const {
  1562. // @@protoc_insertion_point(field_get:globalmsg.msg.alg_msg)
  1563. return _internal_alg_msg();
  1564. }
  1565. inline void msg::unsafe_arena_set_allocated_alg_msg(
  1566. ::globalmsg::algMsg* alg_msg) {
  1567. if (GetArena() == nullptr) {
  1568. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(alg_msg_);
  1569. }
  1570. alg_msg_ = alg_msg;
  1571. if (alg_msg) {
  1572. _has_bits_[0] |= 0x00000004u;
  1573. } else {
  1574. _has_bits_[0] &= ~0x00000004u;
  1575. }
  1576. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:globalmsg.msg.alg_msg)
  1577. }
  1578. inline ::globalmsg::algMsg* msg::release_alg_msg() {
  1579. _has_bits_[0] &= ~0x00000004u;
  1580. ::globalmsg::algMsg* temp = alg_msg_;
  1581. alg_msg_ = nullptr;
  1582. if (GetArena() != nullptr) {
  1583. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1584. }
  1585. return temp;
  1586. }
  1587. inline ::globalmsg::algMsg* msg::unsafe_arena_release_alg_msg() {
  1588. // @@protoc_insertion_point(field_release:globalmsg.msg.alg_msg)
  1589. _has_bits_[0] &= ~0x00000004u;
  1590. ::globalmsg::algMsg* temp = alg_msg_;
  1591. alg_msg_ = nullptr;
  1592. return temp;
  1593. }
  1594. inline ::globalmsg::algMsg* msg::_internal_mutable_alg_msg() {
  1595. _has_bits_[0] |= 0x00000004u;
  1596. if (alg_msg_ == nullptr) {
  1597. auto* p = CreateMaybeMessage<::globalmsg::algMsg>(GetArena());
  1598. alg_msg_ = p;
  1599. }
  1600. return alg_msg_;
  1601. }
  1602. inline ::globalmsg::algMsg* msg::mutable_alg_msg() {
  1603. // @@protoc_insertion_point(field_mutable:globalmsg.msg.alg_msg)
  1604. return _internal_mutable_alg_msg();
  1605. }
  1606. inline void msg::set_allocated_alg_msg(::globalmsg::algMsg* alg_msg) {
  1607. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1608. if (message_arena == nullptr) {
  1609. delete alg_msg_;
  1610. }
  1611. if (alg_msg) {
  1612. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1613. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(alg_msg);
  1614. if (message_arena != submessage_arena) {
  1615. alg_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1616. message_arena, alg_msg, submessage_arena);
  1617. }
  1618. _has_bits_[0] |= 0x00000004u;
  1619. } else {
  1620. _has_bits_[0] &= ~0x00000004u;
  1621. }
  1622. alg_msg_ = alg_msg;
  1623. // @@protoc_insertion_point(field_set_allocated:globalmsg.msg.alg_msg)
  1624. }
  1625. // optional .globalmsg.SysMsg sys_msg = 5;
  1626. inline bool msg::_internal_has_sys_msg() const {
  1627. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1628. PROTOBUF_ASSUME(!value || sys_msg_ != nullptr);
  1629. return value;
  1630. }
  1631. inline bool msg::has_sys_msg() const {
  1632. return _internal_has_sys_msg();
  1633. }
  1634. inline void msg::clear_sys_msg() {
  1635. if (sys_msg_ != nullptr) sys_msg_->Clear();
  1636. _has_bits_[0] &= ~0x00000008u;
  1637. }
  1638. inline const ::globalmsg::SysMsg& msg::_internal_sys_msg() const {
  1639. const ::globalmsg::SysMsg* p = sys_msg_;
  1640. return p != nullptr ? *p : *reinterpret_cast<const ::globalmsg::SysMsg*>(
  1641. &::globalmsg::_SysMsg_default_instance_);
  1642. }
  1643. inline const ::globalmsg::SysMsg& msg::sys_msg() const {
  1644. // @@protoc_insertion_point(field_get:globalmsg.msg.sys_msg)
  1645. return _internal_sys_msg();
  1646. }
  1647. inline void msg::unsafe_arena_set_allocated_sys_msg(
  1648. ::globalmsg::SysMsg* sys_msg) {
  1649. if (GetArena() == nullptr) {
  1650. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sys_msg_);
  1651. }
  1652. sys_msg_ = sys_msg;
  1653. if (sys_msg) {
  1654. _has_bits_[0] |= 0x00000008u;
  1655. } else {
  1656. _has_bits_[0] &= ~0x00000008u;
  1657. }
  1658. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:globalmsg.msg.sys_msg)
  1659. }
  1660. inline ::globalmsg::SysMsg* msg::release_sys_msg() {
  1661. _has_bits_[0] &= ~0x00000008u;
  1662. ::globalmsg::SysMsg* temp = sys_msg_;
  1663. sys_msg_ = nullptr;
  1664. if (GetArena() != nullptr) {
  1665. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1666. }
  1667. return temp;
  1668. }
  1669. inline ::globalmsg::SysMsg* msg::unsafe_arena_release_sys_msg() {
  1670. // @@protoc_insertion_point(field_release:globalmsg.msg.sys_msg)
  1671. _has_bits_[0] &= ~0x00000008u;
  1672. ::globalmsg::SysMsg* temp = sys_msg_;
  1673. sys_msg_ = nullptr;
  1674. return temp;
  1675. }
  1676. inline ::globalmsg::SysMsg* msg::_internal_mutable_sys_msg() {
  1677. _has_bits_[0] |= 0x00000008u;
  1678. if (sys_msg_ == nullptr) {
  1679. auto* p = CreateMaybeMessage<::globalmsg::SysMsg>(GetArena());
  1680. sys_msg_ = p;
  1681. }
  1682. return sys_msg_;
  1683. }
  1684. inline ::globalmsg::SysMsg* msg::mutable_sys_msg() {
  1685. // @@protoc_insertion_point(field_mutable:globalmsg.msg.sys_msg)
  1686. return _internal_mutable_sys_msg();
  1687. }
  1688. inline void msg::set_allocated_sys_msg(::globalmsg::SysMsg* sys_msg) {
  1689. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1690. if (message_arena == nullptr) {
  1691. delete sys_msg_;
  1692. }
  1693. if (sys_msg) {
  1694. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1695. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(sys_msg);
  1696. if (message_arena != submessage_arena) {
  1697. sys_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1698. message_arena, sys_msg, submessage_arena);
  1699. }
  1700. _has_bits_[0] |= 0x00000008u;
  1701. } else {
  1702. _has_bits_[0] &= ~0x00000008u;
  1703. }
  1704. sys_msg_ = sys_msg;
  1705. // @@protoc_insertion_point(field_set_allocated:globalmsg.msg.sys_msg)
  1706. }
  1707. // -------------------------------------------------------------------
  1708. // laserMsg
  1709. // optional .globalmsg.laserStatus laser_status = 1;
  1710. inline bool laserMsg::_internal_has_laser_status() const {
  1711. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1712. return value;
  1713. }
  1714. inline bool laserMsg::has_laser_status() const {
  1715. return _internal_has_laser_status();
  1716. }
  1717. inline void laserMsg::clear_laser_status() {
  1718. laser_status_ = 0;
  1719. _has_bits_[0] &= ~0x00000001u;
  1720. }
  1721. inline ::globalmsg::laserStatus laserMsg::_internal_laser_status() const {
  1722. return static_cast< ::globalmsg::laserStatus >(laser_status_);
  1723. }
  1724. inline ::globalmsg::laserStatus laserMsg::laser_status() const {
  1725. // @@protoc_insertion_point(field_get:globalmsg.laserMsg.laser_status)
  1726. return _internal_laser_status();
  1727. }
  1728. inline void laserMsg::_internal_set_laser_status(::globalmsg::laserStatus value) {
  1729. assert(::globalmsg::laserStatus_IsValid(value));
  1730. _has_bits_[0] |= 0x00000001u;
  1731. laser_status_ = value;
  1732. }
  1733. inline void laserMsg::set_laser_status(::globalmsg::laserStatus value) {
  1734. _internal_set_laser_status(value);
  1735. // @@protoc_insertion_point(field_set:globalmsg.laserMsg.laser_status)
  1736. }
  1737. // optional int32 queue_data_count = 2;
  1738. inline bool laserMsg::_internal_has_queue_data_count() const {
  1739. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1740. return value;
  1741. }
  1742. inline bool laserMsg::has_queue_data_count() const {
  1743. return _internal_has_queue_data_count();
  1744. }
  1745. inline void laserMsg::clear_queue_data_count() {
  1746. queue_data_count_ = 0;
  1747. _has_bits_[0] &= ~0x00000002u;
  1748. }
  1749. inline ::PROTOBUF_NAMESPACE_ID::int32 laserMsg::_internal_queue_data_count() const {
  1750. return queue_data_count_;
  1751. }
  1752. inline ::PROTOBUF_NAMESPACE_ID::int32 laserMsg::queue_data_count() const {
  1753. // @@protoc_insertion_point(field_get:globalmsg.laserMsg.queue_data_count)
  1754. return _internal_queue_data_count();
  1755. }
  1756. inline void laserMsg::_internal_set_queue_data_count(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1757. _has_bits_[0] |= 0x00000002u;
  1758. queue_data_count_ = value;
  1759. }
  1760. inline void laserMsg::set_queue_data_count(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1761. _internal_set_queue_data_count(value);
  1762. // @@protoc_insertion_point(field_set:globalmsg.laserMsg.queue_data_count)
  1763. }
  1764. // optional int32 cloud_count = 3;
  1765. inline bool laserMsg::_internal_has_cloud_count() const {
  1766. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1767. return value;
  1768. }
  1769. inline bool laserMsg::has_cloud_count() const {
  1770. return _internal_has_cloud_count();
  1771. }
  1772. inline void laserMsg::clear_cloud_count() {
  1773. cloud_count_ = 0;
  1774. _has_bits_[0] &= ~0x00000004u;
  1775. }
  1776. inline ::PROTOBUF_NAMESPACE_ID::int32 laserMsg::_internal_cloud_count() const {
  1777. return cloud_count_;
  1778. }
  1779. inline ::PROTOBUF_NAMESPACE_ID::int32 laserMsg::cloud_count() const {
  1780. // @@protoc_insertion_point(field_get:globalmsg.laserMsg.cloud_count)
  1781. return _internal_cloud_count();
  1782. }
  1783. inline void laserMsg::_internal_set_cloud_count(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1784. _has_bits_[0] |= 0x00000004u;
  1785. cloud_count_ = value;
  1786. }
  1787. inline void laserMsg::set_cloud_count(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1788. _internal_set_cloud_count(value);
  1789. // @@protoc_insertion_point(field_set:globalmsg.laserMsg.cloud_count)
  1790. }
  1791. // required int32 id = 4;
  1792. inline bool laserMsg::_internal_has_id() const {
  1793. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1794. return value;
  1795. }
  1796. inline bool laserMsg::has_id() const {
  1797. return _internal_has_id();
  1798. }
  1799. inline void laserMsg::clear_id() {
  1800. id_ = 0;
  1801. _has_bits_[0] &= ~0x00000008u;
  1802. }
  1803. inline ::PROTOBUF_NAMESPACE_ID::int32 laserMsg::_internal_id() const {
  1804. return id_;
  1805. }
  1806. inline ::PROTOBUF_NAMESPACE_ID::int32 laserMsg::id() const {
  1807. // @@protoc_insertion_point(field_get:globalmsg.laserMsg.id)
  1808. return _internal_id();
  1809. }
  1810. inline void laserMsg::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1811. _has_bits_[0] |= 0x00000008u;
  1812. id_ = value;
  1813. }
  1814. inline void laserMsg::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1815. _internal_set_id(value);
  1816. // @@protoc_insertion_point(field_set:globalmsg.laserMsg.id)
  1817. }
  1818. // -------------------------------------------------------------------
  1819. // plcMsg
  1820. // optional .globalmsg.plcStatus plc_status = 1;
  1821. inline bool plcMsg::_internal_has_plc_status() const {
  1822. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1823. return value;
  1824. }
  1825. inline bool plcMsg::has_plc_status() const {
  1826. return _internal_has_plc_status();
  1827. }
  1828. inline void plcMsg::clear_plc_status() {
  1829. plc_status_ = 0;
  1830. _has_bits_[0] &= ~0x00000001u;
  1831. }
  1832. inline ::globalmsg::plcStatus plcMsg::_internal_plc_status() const {
  1833. return static_cast< ::globalmsg::plcStatus >(plc_status_);
  1834. }
  1835. inline ::globalmsg::plcStatus plcMsg::plc_status() const {
  1836. // @@protoc_insertion_point(field_get:globalmsg.plcMsg.plc_status)
  1837. return _internal_plc_status();
  1838. }
  1839. inline void plcMsg::_internal_set_plc_status(::globalmsg::plcStatus value) {
  1840. assert(::globalmsg::plcStatus_IsValid(value));
  1841. _has_bits_[0] |= 0x00000001u;
  1842. plc_status_ = value;
  1843. }
  1844. inline void plcMsg::set_plc_status(::globalmsg::plcStatus value) {
  1845. _internal_set_plc_status(value);
  1846. // @@protoc_insertion_point(field_set:globalmsg.plcMsg.plc_status)
  1847. }
  1848. // repeated int32 plc_values = 2;
  1849. inline int plcMsg::_internal_plc_values_size() const {
  1850. return plc_values_.size();
  1851. }
  1852. inline int plcMsg::plc_values_size() const {
  1853. return _internal_plc_values_size();
  1854. }
  1855. inline void plcMsg::clear_plc_values() {
  1856. plc_values_.Clear();
  1857. }
  1858. inline ::PROTOBUF_NAMESPACE_ID::int32 plcMsg::_internal_plc_values(int index) const {
  1859. return plc_values_.Get(index);
  1860. }
  1861. inline ::PROTOBUF_NAMESPACE_ID::int32 plcMsg::plc_values(int index) const {
  1862. // @@protoc_insertion_point(field_get:globalmsg.plcMsg.plc_values)
  1863. return _internal_plc_values(index);
  1864. }
  1865. inline void plcMsg::set_plc_values(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  1866. plc_values_.Set(index, value);
  1867. // @@protoc_insertion_point(field_set:globalmsg.plcMsg.plc_values)
  1868. }
  1869. inline void plcMsg::_internal_add_plc_values(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1870. plc_values_.Add(value);
  1871. }
  1872. inline void plcMsg::add_plc_values(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1873. _internal_add_plc_values(value);
  1874. // @@protoc_insertion_point(field_add:globalmsg.plcMsg.plc_values)
  1875. }
  1876. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  1877. plcMsg::_internal_plc_values() const {
  1878. return plc_values_;
  1879. }
  1880. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  1881. plcMsg::plc_values() const {
  1882. // @@protoc_insertion_point(field_list:globalmsg.plcMsg.plc_values)
  1883. return _internal_plc_values();
  1884. }
  1885. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  1886. plcMsg::_internal_mutable_plc_values() {
  1887. return &plc_values_;
  1888. }
  1889. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  1890. plcMsg::mutable_plc_values() {
  1891. // @@protoc_insertion_point(field_mutable_list:globalmsg.plcMsg.plc_values)
  1892. return _internal_mutable_plc_values();
  1893. }
  1894. // -------------------------------------------------------------------
  1895. // resultInfo
  1896. // required string time = 1 [default = ""];
  1897. inline bool resultInfo::_internal_has_time() const {
  1898. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1899. return value;
  1900. }
  1901. inline bool resultInfo::has_time() const {
  1902. return _internal_has_time();
  1903. }
  1904. inline void resultInfo::clear_time() {
  1905. time_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1906. _has_bits_[0] &= ~0x00000001u;
  1907. }
  1908. inline const std::string& resultInfo::time() const {
  1909. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.time)
  1910. return _internal_time();
  1911. }
  1912. inline void resultInfo::set_time(const std::string& value) {
  1913. _internal_set_time(value);
  1914. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.time)
  1915. }
  1916. inline std::string* resultInfo::mutable_time() {
  1917. // @@protoc_insertion_point(field_mutable:globalmsg.resultInfo.time)
  1918. return _internal_mutable_time();
  1919. }
  1920. inline const std::string& resultInfo::_internal_time() const {
  1921. return time_.Get();
  1922. }
  1923. inline void resultInfo::_internal_set_time(const std::string& value) {
  1924. _has_bits_[0] |= 0x00000001u;
  1925. time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1926. }
  1927. inline void resultInfo::set_time(std::string&& value) {
  1928. _has_bits_[0] |= 0x00000001u;
  1929. time_.Set(
  1930. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1931. // @@protoc_insertion_point(field_set_rvalue:globalmsg.resultInfo.time)
  1932. }
  1933. inline void resultInfo::set_time(const char* value) {
  1934. GOOGLE_DCHECK(value != nullptr);
  1935. _has_bits_[0] |= 0x00000001u;
  1936. time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1937. GetArena());
  1938. // @@protoc_insertion_point(field_set_char:globalmsg.resultInfo.time)
  1939. }
  1940. inline void resultInfo::set_time(const char* value,
  1941. size_t size) {
  1942. _has_bits_[0] |= 0x00000001u;
  1943. time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1944. reinterpret_cast<const char*>(value), size), GetArena());
  1945. // @@protoc_insertion_point(field_set_pointer:globalmsg.resultInfo.time)
  1946. }
  1947. inline std::string* resultInfo::_internal_mutable_time() {
  1948. _has_bits_[0] |= 0x00000001u;
  1949. return time_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1950. }
  1951. inline std::string* resultInfo::release_time() {
  1952. // @@protoc_insertion_point(field_release:globalmsg.resultInfo.time)
  1953. if (!_internal_has_time()) {
  1954. return nullptr;
  1955. }
  1956. _has_bits_[0] &= ~0x00000001u;
  1957. return time_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1958. }
  1959. inline void resultInfo::set_allocated_time(std::string* time) {
  1960. if (time != nullptr) {
  1961. _has_bits_[0] |= 0x00000001u;
  1962. } else {
  1963. _has_bits_[0] &= ~0x00000001u;
  1964. }
  1965. time_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), time,
  1966. GetArena());
  1967. // @@protoc_insertion_point(field_set_allocated:globalmsg.resultInfo.time)
  1968. }
  1969. // required bool correctness = 2;
  1970. inline bool resultInfo::_internal_has_correctness() const {
  1971. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1972. return value;
  1973. }
  1974. inline bool resultInfo::has_correctness() const {
  1975. return _internal_has_correctness();
  1976. }
  1977. inline void resultInfo::clear_correctness() {
  1978. correctness_ = false;
  1979. _has_bits_[0] &= ~0x00000004u;
  1980. }
  1981. inline bool resultInfo::_internal_correctness() const {
  1982. return correctness_;
  1983. }
  1984. inline bool resultInfo::correctness() const {
  1985. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.correctness)
  1986. return _internal_correctness();
  1987. }
  1988. inline void resultInfo::_internal_set_correctness(bool value) {
  1989. _has_bits_[0] |= 0x00000004u;
  1990. correctness_ = value;
  1991. }
  1992. inline void resultInfo::set_correctness(bool value) {
  1993. _internal_set_correctness(value);
  1994. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.correctness)
  1995. }
  1996. // optional int32 park_space_id = 3;
  1997. inline bool resultInfo::_internal_has_park_space_id() const {
  1998. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1999. return value;
  2000. }
  2001. inline bool resultInfo::has_park_space_id() const {
  2002. return _internal_has_park_space_id();
  2003. }
  2004. inline void resultInfo::clear_park_space_id() {
  2005. park_space_id_ = 0;
  2006. _has_bits_[0] &= ~0x00000008u;
  2007. }
  2008. inline ::PROTOBUF_NAMESPACE_ID::int32 resultInfo::_internal_park_space_id() const {
  2009. return park_space_id_;
  2010. }
  2011. inline ::PROTOBUF_NAMESPACE_ID::int32 resultInfo::park_space_id() const {
  2012. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.park_space_id)
  2013. return _internal_park_space_id();
  2014. }
  2015. inline void resultInfo::_internal_set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2016. _has_bits_[0] |= 0x00000008u;
  2017. park_space_id_ = value;
  2018. }
  2019. inline void resultInfo::set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2020. _internal_set_park_space_id(value);
  2021. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.park_space_id)
  2022. }
  2023. // optional int32 laser_ids = 4;
  2024. inline bool resultInfo::_internal_has_laser_ids() const {
  2025. bool value = (_has_bits_[0] & 0x00001000u) != 0;
  2026. return value;
  2027. }
  2028. inline bool resultInfo::has_laser_ids() const {
  2029. return _internal_has_laser_ids();
  2030. }
  2031. inline void resultInfo::clear_laser_ids() {
  2032. laser_ids_ = 0;
  2033. _has_bits_[0] &= ~0x00001000u;
  2034. }
  2035. inline ::PROTOBUF_NAMESPACE_ID::int32 resultInfo::_internal_laser_ids() const {
  2036. return laser_ids_;
  2037. }
  2038. inline ::PROTOBUF_NAMESPACE_ID::int32 resultInfo::laser_ids() const {
  2039. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.laser_ids)
  2040. return _internal_laser_ids();
  2041. }
  2042. inline void resultInfo::_internal_set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2043. _has_bits_[0] |= 0x00001000u;
  2044. laser_ids_ = value;
  2045. }
  2046. inline void resultInfo::set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2047. _internal_set_laser_ids(value);
  2048. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.laser_ids)
  2049. }
  2050. // optional double x = 5;
  2051. inline bool resultInfo::_internal_has_x() const {
  2052. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  2053. return value;
  2054. }
  2055. inline bool resultInfo::has_x() const {
  2056. return _internal_has_x();
  2057. }
  2058. inline void resultInfo::clear_x() {
  2059. x_ = 0;
  2060. _has_bits_[0] &= ~0x00000010u;
  2061. }
  2062. inline double resultInfo::_internal_x() const {
  2063. return x_;
  2064. }
  2065. inline double resultInfo::x() const {
  2066. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.x)
  2067. return _internal_x();
  2068. }
  2069. inline void resultInfo::_internal_set_x(double value) {
  2070. _has_bits_[0] |= 0x00000010u;
  2071. x_ = value;
  2072. }
  2073. inline void resultInfo::set_x(double value) {
  2074. _internal_set_x(value);
  2075. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.x)
  2076. }
  2077. // optional double y = 6;
  2078. inline bool resultInfo::_internal_has_y() const {
  2079. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  2080. return value;
  2081. }
  2082. inline bool resultInfo::has_y() const {
  2083. return _internal_has_y();
  2084. }
  2085. inline void resultInfo::clear_y() {
  2086. y_ = 0;
  2087. _has_bits_[0] &= ~0x00000020u;
  2088. }
  2089. inline double resultInfo::_internal_y() const {
  2090. return y_;
  2091. }
  2092. inline double resultInfo::y() const {
  2093. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.y)
  2094. return _internal_y();
  2095. }
  2096. inline void resultInfo::_internal_set_y(double value) {
  2097. _has_bits_[0] |= 0x00000020u;
  2098. y_ = value;
  2099. }
  2100. inline void resultInfo::set_y(double value) {
  2101. _internal_set_y(value);
  2102. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.y)
  2103. }
  2104. // optional double c = 7;
  2105. inline bool resultInfo::_internal_has_c() const {
  2106. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  2107. return value;
  2108. }
  2109. inline bool resultInfo::has_c() const {
  2110. return _internal_has_c();
  2111. }
  2112. inline void resultInfo::clear_c() {
  2113. c_ = 0;
  2114. _has_bits_[0] &= ~0x00000040u;
  2115. }
  2116. inline double resultInfo::_internal_c() const {
  2117. return c_;
  2118. }
  2119. inline double resultInfo::c() const {
  2120. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.c)
  2121. return _internal_c();
  2122. }
  2123. inline void resultInfo::_internal_set_c(double value) {
  2124. _has_bits_[0] |= 0x00000040u;
  2125. c_ = value;
  2126. }
  2127. inline void resultInfo::set_c(double value) {
  2128. _internal_set_c(value);
  2129. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.c)
  2130. }
  2131. // optional double wheel_base = 8;
  2132. inline bool resultInfo::_internal_has_wheel_base() const {
  2133. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  2134. return value;
  2135. }
  2136. inline bool resultInfo::has_wheel_base() const {
  2137. return _internal_has_wheel_base();
  2138. }
  2139. inline void resultInfo::clear_wheel_base() {
  2140. wheel_base_ = 0;
  2141. _has_bits_[0] &= ~0x00000080u;
  2142. }
  2143. inline double resultInfo::_internal_wheel_base() const {
  2144. return wheel_base_;
  2145. }
  2146. inline double resultInfo::wheel_base() const {
  2147. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.wheel_base)
  2148. return _internal_wheel_base();
  2149. }
  2150. inline void resultInfo::_internal_set_wheel_base(double value) {
  2151. _has_bits_[0] |= 0x00000080u;
  2152. wheel_base_ = value;
  2153. }
  2154. inline void resultInfo::set_wheel_base(double value) {
  2155. _internal_set_wheel_base(value);
  2156. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.wheel_base)
  2157. }
  2158. // optional double length = 9;
  2159. inline bool resultInfo::_internal_has_length() const {
  2160. bool value = (_has_bits_[0] & 0x00000100u) != 0;
  2161. return value;
  2162. }
  2163. inline bool resultInfo::has_length() const {
  2164. return _internal_has_length();
  2165. }
  2166. inline void resultInfo::clear_length() {
  2167. length_ = 0;
  2168. _has_bits_[0] &= ~0x00000100u;
  2169. }
  2170. inline double resultInfo::_internal_length() const {
  2171. return length_;
  2172. }
  2173. inline double resultInfo::length() const {
  2174. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.length)
  2175. return _internal_length();
  2176. }
  2177. inline void resultInfo::_internal_set_length(double value) {
  2178. _has_bits_[0] |= 0x00000100u;
  2179. length_ = value;
  2180. }
  2181. inline void resultInfo::set_length(double value) {
  2182. _internal_set_length(value);
  2183. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.length)
  2184. }
  2185. // optional double width = 10;
  2186. inline bool resultInfo::_internal_has_width() const {
  2187. bool value = (_has_bits_[0] & 0x00000200u) != 0;
  2188. return value;
  2189. }
  2190. inline bool resultInfo::has_width() const {
  2191. return _internal_has_width();
  2192. }
  2193. inline void resultInfo::clear_width() {
  2194. width_ = 0;
  2195. _has_bits_[0] &= ~0x00000200u;
  2196. }
  2197. inline double resultInfo::_internal_width() const {
  2198. return width_;
  2199. }
  2200. inline double resultInfo::width() const {
  2201. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.width)
  2202. return _internal_width();
  2203. }
  2204. inline void resultInfo::_internal_set_width(double value) {
  2205. _has_bits_[0] |= 0x00000200u;
  2206. width_ = value;
  2207. }
  2208. inline void resultInfo::set_width(double value) {
  2209. _internal_set_width(value);
  2210. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.width)
  2211. }
  2212. // optional double height = 11;
  2213. inline bool resultInfo::_internal_has_height() const {
  2214. bool value = (_has_bits_[0] & 0x00000400u) != 0;
  2215. return value;
  2216. }
  2217. inline bool resultInfo::has_height() const {
  2218. return _internal_has_height();
  2219. }
  2220. inline void resultInfo::clear_height() {
  2221. height_ = 0;
  2222. _has_bits_[0] &= ~0x00000400u;
  2223. }
  2224. inline double resultInfo::_internal_height() const {
  2225. return height_;
  2226. }
  2227. inline double resultInfo::height() const {
  2228. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.height)
  2229. return _internal_height();
  2230. }
  2231. inline void resultInfo::_internal_set_height(double value) {
  2232. _has_bits_[0] |= 0x00000400u;
  2233. height_ = value;
  2234. }
  2235. inline void resultInfo::set_height(double value) {
  2236. _internal_set_height(value);
  2237. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.height)
  2238. }
  2239. // optional string error = 12 [default = ""];
  2240. inline bool resultInfo::_internal_has_error() const {
  2241. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  2242. return value;
  2243. }
  2244. inline bool resultInfo::has_error() const {
  2245. return _internal_has_error();
  2246. }
  2247. inline void resultInfo::clear_error() {
  2248. error_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2249. _has_bits_[0] &= ~0x00000002u;
  2250. }
  2251. inline const std::string& resultInfo::error() const {
  2252. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.error)
  2253. return _internal_error();
  2254. }
  2255. inline void resultInfo::set_error(const std::string& value) {
  2256. _internal_set_error(value);
  2257. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.error)
  2258. }
  2259. inline std::string* resultInfo::mutable_error() {
  2260. // @@protoc_insertion_point(field_mutable:globalmsg.resultInfo.error)
  2261. return _internal_mutable_error();
  2262. }
  2263. inline const std::string& resultInfo::_internal_error() const {
  2264. return error_.Get();
  2265. }
  2266. inline void resultInfo::_internal_set_error(const std::string& value) {
  2267. _has_bits_[0] |= 0x00000002u;
  2268. error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2269. }
  2270. inline void resultInfo::set_error(std::string&& value) {
  2271. _has_bits_[0] |= 0x00000002u;
  2272. error_.Set(
  2273. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2274. // @@protoc_insertion_point(field_set_rvalue:globalmsg.resultInfo.error)
  2275. }
  2276. inline void resultInfo::set_error(const char* value) {
  2277. GOOGLE_DCHECK(value != nullptr);
  2278. _has_bits_[0] |= 0x00000002u;
  2279. error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2280. GetArena());
  2281. // @@protoc_insertion_point(field_set_char:globalmsg.resultInfo.error)
  2282. }
  2283. inline void resultInfo::set_error(const char* value,
  2284. size_t size) {
  2285. _has_bits_[0] |= 0x00000002u;
  2286. error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2287. reinterpret_cast<const char*>(value), size), GetArena());
  2288. // @@protoc_insertion_point(field_set_pointer:globalmsg.resultInfo.error)
  2289. }
  2290. inline std::string* resultInfo::_internal_mutable_error() {
  2291. _has_bits_[0] |= 0x00000002u;
  2292. return error_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2293. }
  2294. inline std::string* resultInfo::release_error() {
  2295. // @@protoc_insertion_point(field_release:globalmsg.resultInfo.error)
  2296. if (!_internal_has_error()) {
  2297. return nullptr;
  2298. }
  2299. _has_bits_[0] &= ~0x00000002u;
  2300. return error_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2301. }
  2302. inline void resultInfo::set_allocated_error(std::string* error) {
  2303. if (error != nullptr) {
  2304. _has_bits_[0] |= 0x00000002u;
  2305. } else {
  2306. _has_bits_[0] &= ~0x00000002u;
  2307. }
  2308. error_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error,
  2309. GetArena());
  2310. // @@protoc_insertion_point(field_set_allocated:globalmsg.resultInfo.error)
  2311. }
  2312. // optional double front_theta = 13;
  2313. inline bool resultInfo::_internal_has_front_theta() const {
  2314. bool value = (_has_bits_[0] & 0x00000800u) != 0;
  2315. return value;
  2316. }
  2317. inline bool resultInfo::has_front_theta() const {
  2318. return _internal_has_front_theta();
  2319. }
  2320. inline void resultInfo::clear_front_theta() {
  2321. front_theta_ = 0;
  2322. _has_bits_[0] &= ~0x00000800u;
  2323. }
  2324. inline double resultInfo::_internal_front_theta() const {
  2325. return front_theta_;
  2326. }
  2327. inline double resultInfo::front_theta() const {
  2328. // @@protoc_insertion_point(field_get:globalmsg.resultInfo.front_theta)
  2329. return _internal_front_theta();
  2330. }
  2331. inline void resultInfo::_internal_set_front_theta(double value) {
  2332. _has_bits_[0] |= 0x00000800u;
  2333. front_theta_ = value;
  2334. }
  2335. inline void resultInfo::set_front_theta(double value) {
  2336. _internal_set_front_theta(value);
  2337. // @@protoc_insertion_point(field_set:globalmsg.resultInfo.front_theta)
  2338. }
  2339. // -------------------------------------------------------------------
  2340. // algMsg
  2341. // repeated .globalmsg.resultInfo result = 1;
  2342. inline int algMsg::_internal_result_size() const {
  2343. return result_.size();
  2344. }
  2345. inline int algMsg::result_size() const {
  2346. return _internal_result_size();
  2347. }
  2348. inline void algMsg::clear_result() {
  2349. result_.Clear();
  2350. }
  2351. inline ::globalmsg::resultInfo* algMsg::mutable_result(int index) {
  2352. // @@protoc_insertion_point(field_mutable:globalmsg.algMsg.result)
  2353. return result_.Mutable(index);
  2354. }
  2355. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::globalmsg::resultInfo >*
  2356. algMsg::mutable_result() {
  2357. // @@protoc_insertion_point(field_mutable_list:globalmsg.algMsg.result)
  2358. return &result_;
  2359. }
  2360. inline const ::globalmsg::resultInfo& algMsg::_internal_result(int index) const {
  2361. return result_.Get(index);
  2362. }
  2363. inline const ::globalmsg::resultInfo& algMsg::result(int index) const {
  2364. // @@protoc_insertion_point(field_get:globalmsg.algMsg.result)
  2365. return _internal_result(index);
  2366. }
  2367. inline ::globalmsg::resultInfo* algMsg::_internal_add_result() {
  2368. return result_.Add();
  2369. }
  2370. inline ::globalmsg::resultInfo* algMsg::add_result() {
  2371. // @@protoc_insertion_point(field_add:globalmsg.algMsg.result)
  2372. return _internal_add_result();
  2373. }
  2374. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::globalmsg::resultInfo >&
  2375. algMsg::result() const {
  2376. // @@protoc_insertion_point(field_list:globalmsg.algMsg.result)
  2377. return result_;
  2378. }
  2379. // optional int32 thread_queue_size = 2;
  2380. inline bool algMsg::_internal_has_thread_queue_size() const {
  2381. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  2382. return value;
  2383. }
  2384. inline bool algMsg::has_thread_queue_size() const {
  2385. return _internal_has_thread_queue_size();
  2386. }
  2387. inline void algMsg::clear_thread_queue_size() {
  2388. thread_queue_size_ = 0;
  2389. _has_bits_[0] &= ~0x00000002u;
  2390. }
  2391. inline ::PROTOBUF_NAMESPACE_ID::int32 algMsg::_internal_thread_queue_size() const {
  2392. return thread_queue_size_;
  2393. }
  2394. inline ::PROTOBUF_NAMESPACE_ID::int32 algMsg::thread_queue_size() const {
  2395. // @@protoc_insertion_point(field_get:globalmsg.algMsg.thread_queue_size)
  2396. return _internal_thread_queue_size();
  2397. }
  2398. inline void algMsg::_internal_set_thread_queue_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2399. _has_bits_[0] |= 0x00000002u;
  2400. thread_queue_size_ = value;
  2401. }
  2402. inline void algMsg::set_thread_queue_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
  2403. _internal_set_thread_queue_size(value);
  2404. // @@protoc_insertion_point(field_set:globalmsg.algMsg.thread_queue_size)
  2405. }
  2406. // optional string log_path = 3 [default = ""];
  2407. inline bool algMsg::_internal_has_log_path() const {
  2408. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  2409. return value;
  2410. }
  2411. inline bool algMsg::has_log_path() const {
  2412. return _internal_has_log_path();
  2413. }
  2414. inline void algMsg::clear_log_path() {
  2415. log_path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2416. _has_bits_[0] &= ~0x00000001u;
  2417. }
  2418. inline const std::string& algMsg::log_path() const {
  2419. // @@protoc_insertion_point(field_get:globalmsg.algMsg.log_path)
  2420. return _internal_log_path();
  2421. }
  2422. inline void algMsg::set_log_path(const std::string& value) {
  2423. _internal_set_log_path(value);
  2424. // @@protoc_insertion_point(field_set:globalmsg.algMsg.log_path)
  2425. }
  2426. inline std::string* algMsg::mutable_log_path() {
  2427. // @@protoc_insertion_point(field_mutable:globalmsg.algMsg.log_path)
  2428. return _internal_mutable_log_path();
  2429. }
  2430. inline const std::string& algMsg::_internal_log_path() const {
  2431. return log_path_.Get();
  2432. }
  2433. inline void algMsg::_internal_set_log_path(const std::string& value) {
  2434. _has_bits_[0] |= 0x00000001u;
  2435. log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2436. }
  2437. inline void algMsg::set_log_path(std::string&& value) {
  2438. _has_bits_[0] |= 0x00000001u;
  2439. log_path_.Set(
  2440. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2441. // @@protoc_insertion_point(field_set_rvalue:globalmsg.algMsg.log_path)
  2442. }
  2443. inline void algMsg::set_log_path(const char* value) {
  2444. GOOGLE_DCHECK(value != nullptr);
  2445. _has_bits_[0] |= 0x00000001u;
  2446. log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2447. GetArena());
  2448. // @@protoc_insertion_point(field_set_char:globalmsg.algMsg.log_path)
  2449. }
  2450. inline void algMsg::set_log_path(const char* value,
  2451. size_t size) {
  2452. _has_bits_[0] |= 0x00000001u;
  2453. log_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2454. reinterpret_cast<const char*>(value), size), GetArena());
  2455. // @@protoc_insertion_point(field_set_pointer:globalmsg.algMsg.log_path)
  2456. }
  2457. inline std::string* algMsg::_internal_mutable_log_path() {
  2458. _has_bits_[0] |= 0x00000001u;
  2459. return log_path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2460. }
  2461. inline std::string* algMsg::release_log_path() {
  2462. // @@protoc_insertion_point(field_release:globalmsg.algMsg.log_path)
  2463. if (!_internal_has_log_path()) {
  2464. return nullptr;
  2465. }
  2466. _has_bits_[0] &= ~0x00000001u;
  2467. return log_path_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2468. }
  2469. inline void algMsg::set_allocated_log_path(std::string* log_path) {
  2470. if (log_path != nullptr) {
  2471. _has_bits_[0] |= 0x00000001u;
  2472. } else {
  2473. _has_bits_[0] &= ~0x00000001u;
  2474. }
  2475. log_path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), log_path,
  2476. GetArena());
  2477. // @@protoc_insertion_point(field_set_allocated:globalmsg.algMsg.log_path)
  2478. }
  2479. // -------------------------------------------------------------------
  2480. // SysMsg
  2481. // required string log = 1 [default = ""];
  2482. inline bool SysMsg::_internal_has_log() const {
  2483. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  2484. return value;
  2485. }
  2486. inline bool SysMsg::has_log() const {
  2487. return _internal_has_log();
  2488. }
  2489. inline void SysMsg::clear_log() {
  2490. log_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2491. _has_bits_[0] &= ~0x00000001u;
  2492. }
  2493. inline const std::string& SysMsg::log() const {
  2494. // @@protoc_insertion_point(field_get:globalmsg.SysMsg.log)
  2495. return _internal_log();
  2496. }
  2497. inline void SysMsg::set_log(const std::string& value) {
  2498. _internal_set_log(value);
  2499. // @@protoc_insertion_point(field_set:globalmsg.SysMsg.log)
  2500. }
  2501. inline std::string* SysMsg::mutable_log() {
  2502. // @@protoc_insertion_point(field_mutable:globalmsg.SysMsg.log)
  2503. return _internal_mutable_log();
  2504. }
  2505. inline const std::string& SysMsg::_internal_log() const {
  2506. return log_.Get();
  2507. }
  2508. inline void SysMsg::_internal_set_log(const std::string& value) {
  2509. _has_bits_[0] |= 0x00000001u;
  2510. log_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  2511. }
  2512. inline void SysMsg::set_log(std::string&& value) {
  2513. _has_bits_[0] |= 0x00000001u;
  2514. log_.Set(
  2515. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  2516. // @@protoc_insertion_point(field_set_rvalue:globalmsg.SysMsg.log)
  2517. }
  2518. inline void SysMsg::set_log(const char* value) {
  2519. GOOGLE_DCHECK(value != nullptr);
  2520. _has_bits_[0] |= 0x00000001u;
  2521. log_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  2522. GetArena());
  2523. // @@protoc_insertion_point(field_set_char:globalmsg.SysMsg.log)
  2524. }
  2525. inline void SysMsg::set_log(const char* value,
  2526. size_t size) {
  2527. _has_bits_[0] |= 0x00000001u;
  2528. log_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  2529. reinterpret_cast<const char*>(value), size), GetArena());
  2530. // @@protoc_insertion_point(field_set_pointer:globalmsg.SysMsg.log)
  2531. }
  2532. inline std::string* SysMsg::_internal_mutable_log() {
  2533. _has_bits_[0] |= 0x00000001u;
  2534. return log_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2535. }
  2536. inline std::string* SysMsg::release_log() {
  2537. // @@protoc_insertion_point(field_release:globalmsg.SysMsg.log)
  2538. if (!_internal_has_log()) {
  2539. return nullptr;
  2540. }
  2541. _has_bits_[0] &= ~0x00000001u;
  2542. return log_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2543. }
  2544. inline void SysMsg::set_allocated_log(std::string* log) {
  2545. if (log != nullptr) {
  2546. _has_bits_[0] |= 0x00000001u;
  2547. } else {
  2548. _has_bits_[0] &= ~0x00000001u;
  2549. }
  2550. log_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), log,
  2551. GetArena());
  2552. // @@protoc_insertion_point(field_set_allocated:globalmsg.SysMsg.log)
  2553. }
  2554. // optional .globalmsg.logLevel level = 2 [default = eSysInfo];
  2555. inline bool SysMsg::_internal_has_level() const {
  2556. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  2557. return value;
  2558. }
  2559. inline bool SysMsg::has_level() const {
  2560. return _internal_has_level();
  2561. }
  2562. inline void SysMsg::clear_level() {
  2563. level_ = 0;
  2564. _has_bits_[0] &= ~0x00000002u;
  2565. }
  2566. inline ::globalmsg::logLevel SysMsg::_internal_level() const {
  2567. return static_cast< ::globalmsg::logLevel >(level_);
  2568. }
  2569. inline ::globalmsg::logLevel SysMsg::level() const {
  2570. // @@protoc_insertion_point(field_get:globalmsg.SysMsg.level)
  2571. return _internal_level();
  2572. }
  2573. inline void SysMsg::_internal_set_level(::globalmsg::logLevel value) {
  2574. assert(::globalmsg::logLevel_IsValid(value));
  2575. _has_bits_[0] |= 0x00000002u;
  2576. level_ = value;
  2577. }
  2578. inline void SysMsg::set_level(::globalmsg::logLevel value) {
  2579. _internal_set_level(value);
  2580. // @@protoc_insertion_point(field_set:globalmsg.SysMsg.level)
  2581. }
  2582. #ifdef __GNUC__
  2583. #pragma GCC diagnostic pop
  2584. #endif // __GNUC__
  2585. // -------------------------------------------------------------------
  2586. // -------------------------------------------------------------------
  2587. // -------------------------------------------------------------------
  2588. // -------------------------------------------------------------------
  2589. // -------------------------------------------------------------------
  2590. // @@protoc_insertion_point(namespace_scope)
  2591. } // namespace globalmsg
  2592. PROTOBUF_NAMESPACE_OPEN
  2593. template <> struct is_proto_enum< ::globalmsg::type> : ::std::true_type {};
  2594. template <>
  2595. inline const EnumDescriptor* GetEnumDescriptor< ::globalmsg::type>() {
  2596. return ::globalmsg::type_descriptor();
  2597. }
  2598. template <> struct is_proto_enum< ::globalmsg::laserStatus> : ::std::true_type {};
  2599. template <>
  2600. inline const EnumDescriptor* GetEnumDescriptor< ::globalmsg::laserStatus>() {
  2601. return ::globalmsg::laserStatus_descriptor();
  2602. }
  2603. template <> struct is_proto_enum< ::globalmsg::plcStatus> : ::std::true_type {};
  2604. template <>
  2605. inline const EnumDescriptor* GetEnumDescriptor< ::globalmsg::plcStatus>() {
  2606. return ::globalmsg::plcStatus_descriptor();
  2607. }
  2608. template <> struct is_proto_enum< ::globalmsg::logLevel> : ::std::true_type {};
  2609. template <>
  2610. inline const EnumDescriptor* GetEnumDescriptor< ::globalmsg::logLevel>() {
  2611. return ::globalmsg::logLevel_descriptor();
  2612. }
  2613. PROTOBUF_NAMESPACE_CLOSE
  2614. // @@protoc_insertion_point(global_scope)
  2615. #include <google/protobuf/port_undef.inc>
  2616. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_globalmsg_2eproto