measure_message.pb.h 149 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: measure_message.proto
  3. #ifndef PROTOBUF_INCLUDED_measure_5fmessage_2eproto
  4. #define PROTOBUF_INCLUDED_measure_5fmessage_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/generated_enum_reflection.h>
  28. #include <google/protobuf/unknown_field_set.h>
  29. #include "message_base.pb.h"
  30. // @@protoc_insertion_point(includes)
  31. #define PROTOBUF_INTERNAL_EXPORT_protobuf_measure_5fmessage_2eproto
  32. namespace protobuf_measure_5fmessage_2eproto {
  33. // Internal implementation detail -- do not use these members.
  34. struct TableStruct {
  35. static const ::google::protobuf::internal::ParseTableField entries[];
  36. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  37. static const ::google::protobuf::internal::ParseTable schema[10];
  38. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  39. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  40. static const ::google::protobuf::uint32 offsets[];
  41. };
  42. void AddDescriptors();
  43. } // namespace protobuf_measure_5fmessage_2eproto
  44. namespace message {
  45. class Cloud_coordinate;
  46. class Cloud_coordinateDefaultTypeInternal;
  47. extern Cloud_coordinateDefaultTypeInternal _Cloud_coordinate_default_instance_;
  48. class Cloud_type;
  49. class Cloud_typeDefaultTypeInternal;
  50. extern Cloud_typeDefaultTypeInternal _Cloud_type_default_instance_;
  51. class Ground_detect_request_msg;
  52. class Ground_detect_request_msgDefaultTypeInternal;
  53. extern Ground_detect_request_msgDefaultTypeInternal _Ground_detect_request_msg_default_instance_;
  54. class Ground_detect_response_msg;
  55. class Ground_detect_response_msgDefaultTypeInternal;
  56. extern Ground_detect_response_msgDefaultTypeInternal _Ground_detect_response_msg_default_instance_;
  57. class Ground_status_msg;
  58. class Ground_status_msgDefaultTypeInternal;
  59. extern Ground_status_msgDefaultTypeInternal _Ground_status_msg_default_instance_;
  60. class Locate_sift_request_msg;
  61. class Locate_sift_request_msgDefaultTypeInternal;
  62. extern Locate_sift_request_msgDefaultTypeInternal _Locate_sift_request_msg_default_instance_;
  63. class Locate_sift_response_msg;
  64. class Locate_sift_response_msgDefaultTypeInternal;
  65. extern Locate_sift_response_msgDefaultTypeInternal _Locate_sift_response_msg_default_instance_;
  66. class Measure_request_msg;
  67. class Measure_request_msgDefaultTypeInternal;
  68. extern Measure_request_msgDefaultTypeInternal _Measure_request_msg_default_instance_;
  69. class Measure_response_msg;
  70. class Measure_response_msgDefaultTypeInternal;
  71. extern Measure_response_msgDefaultTypeInternal _Measure_response_msg_default_instance_;
  72. class Measure_status_msg;
  73. class Measure_status_msgDefaultTypeInternal;
  74. extern Measure_status_msgDefaultTypeInternal _Measure_status_msg_default_instance_;
  75. } // namespace message
  76. namespace google {
  77. namespace protobuf {
  78. template<> ::message::Cloud_coordinate* Arena::CreateMaybeMessage<::message::Cloud_coordinate>(Arena*);
  79. template<> ::message::Cloud_type* Arena::CreateMaybeMessage<::message::Cloud_type>(Arena*);
  80. template<> ::message::Ground_detect_request_msg* Arena::CreateMaybeMessage<::message::Ground_detect_request_msg>(Arena*);
  81. template<> ::message::Ground_detect_response_msg* Arena::CreateMaybeMessage<::message::Ground_detect_response_msg>(Arena*);
  82. template<> ::message::Ground_status_msg* Arena::CreateMaybeMessage<::message::Ground_status_msg>(Arena*);
  83. template<> ::message::Locate_sift_request_msg* Arena::CreateMaybeMessage<::message::Locate_sift_request_msg>(Arena*);
  84. template<> ::message::Locate_sift_response_msg* Arena::CreateMaybeMessage<::message::Locate_sift_response_msg>(Arena*);
  85. template<> ::message::Measure_request_msg* Arena::CreateMaybeMessage<::message::Measure_request_msg>(Arena*);
  86. template<> ::message::Measure_response_msg* Arena::CreateMaybeMessage<::message::Measure_response_msg>(Arena*);
  87. template<> ::message::Measure_status_msg* Arena::CreateMaybeMessage<::message::Measure_status_msg>(Arena*);
  88. } // namespace protobuf
  89. } // namespace google
  90. namespace message {
  91. enum Laser_manager_status {
  92. LASER_MANAGER_UNKNOW = 0,
  93. LASER_MANAGER_READY = 1,
  94. LASER_MANAGER_ISSUED_TASK = 2,
  95. LASER_MANAGER_WAIT_REPLY = 3,
  96. LASER_MANAGER_FAULT = 4
  97. };
  98. bool Laser_manager_status_IsValid(int value);
  99. const Laser_manager_status Laser_manager_status_MIN = LASER_MANAGER_UNKNOW;
  100. const Laser_manager_status Laser_manager_status_MAX = LASER_MANAGER_FAULT;
  101. const int Laser_manager_status_ARRAYSIZE = Laser_manager_status_MAX + 1;
  102. const ::google::protobuf::EnumDescriptor* Laser_manager_status_descriptor();
  103. inline const ::std::string& Laser_manager_status_Name(Laser_manager_status value) {
  104. return ::google::protobuf::internal::NameOfEnum(
  105. Laser_manager_status_descriptor(), value);
  106. }
  107. inline bool Laser_manager_status_Parse(
  108. const ::std::string& name, Laser_manager_status* value) {
  109. return ::google::protobuf::internal::ParseNamedEnum<Laser_manager_status>(
  110. Laser_manager_status_descriptor(), name, value);
  111. }
  112. enum Laser_statu {
  113. LASER_DISCONNECT = 0,
  114. LASER_READY = 1,
  115. LASER_BUSY = 2,
  116. LASER_FAULT = 3
  117. };
  118. bool Laser_statu_IsValid(int value);
  119. const Laser_statu Laser_statu_MIN = LASER_DISCONNECT;
  120. const Laser_statu Laser_statu_MAX = LASER_FAULT;
  121. const int Laser_statu_ARRAYSIZE = Laser_statu_MAX + 1;
  122. const ::google::protobuf::EnumDescriptor* Laser_statu_descriptor();
  123. inline const ::std::string& Laser_statu_Name(Laser_statu value) {
  124. return ::google::protobuf::internal::NameOfEnum(
  125. Laser_statu_descriptor(), value);
  126. }
  127. inline bool Laser_statu_Parse(
  128. const ::std::string& name, Laser_statu* value) {
  129. return ::google::protobuf::internal::ParseNamedEnum<Laser_statu>(
  130. Laser_statu_descriptor(), name, value);
  131. }
  132. enum Locate_manager_status {
  133. LOCATE_MANAGER_UNKNOW = 0,
  134. LOCATE_MANAGER_READY = 1,
  135. LOCATE_MANAGER_SIFT = 2,
  136. LOCATE_MANAGER_CAR = 3,
  137. LOCATE_MANAGER_WHEEL = 4,
  138. LOCATE_MANAGER_FAULT = 5
  139. };
  140. bool Locate_manager_status_IsValid(int value);
  141. const Locate_manager_status Locate_manager_status_MIN = LOCATE_MANAGER_UNKNOW;
  142. const Locate_manager_status Locate_manager_status_MAX = LOCATE_MANAGER_FAULT;
  143. const int Locate_manager_status_ARRAYSIZE = Locate_manager_status_MAX + 1;
  144. const ::google::protobuf::EnumDescriptor* Locate_manager_status_descriptor();
  145. inline const ::std::string& Locate_manager_status_Name(Locate_manager_status value) {
  146. return ::google::protobuf::internal::NameOfEnum(
  147. Locate_manager_status_descriptor(), value);
  148. }
  149. inline bool Locate_manager_status_Parse(
  150. const ::std::string& name, Locate_manager_status* value) {
  151. return ::google::protobuf::internal::ParseNamedEnum<Locate_manager_status>(
  152. Locate_manager_status_descriptor(), name, value);
  153. }
  154. enum Wanji_manager_status {
  155. WANJI_MANAGER_UNKNOWN = 0,
  156. WANJI_MANAGER_READY = 1,
  157. WANJI_MANAGER_BUSY = 2,
  158. WANJI_MANAGER_ISSUED_SCAN = 3,
  159. WANJI_MANAGER_WAIT_SCAN = 4,
  160. WANJI_MANAGER_ISSUED_DETECT = 5,
  161. WANJI_MANAGER_WAIT_DETECT = 6,
  162. WANJI_MANAGER_FAULT = 10
  163. };
  164. bool Wanji_manager_status_IsValid(int value);
  165. const Wanji_manager_status Wanji_manager_status_MIN = WANJI_MANAGER_UNKNOWN;
  166. const Wanji_manager_status Wanji_manager_status_MAX = WANJI_MANAGER_FAULT;
  167. const int Wanji_manager_status_ARRAYSIZE = Wanji_manager_status_MAX + 1;
  168. const ::google::protobuf::EnumDescriptor* Wanji_manager_status_descriptor();
  169. inline const ::std::string& Wanji_manager_status_Name(Wanji_manager_status value) {
  170. return ::google::protobuf::internal::NameOfEnum(
  171. Wanji_manager_status_descriptor(), value);
  172. }
  173. inline bool Wanji_manager_status_Parse(
  174. const ::std::string& name, Wanji_manager_status* value) {
  175. return ::google::protobuf::internal::ParseNamedEnum<Wanji_manager_status>(
  176. Wanji_manager_status_descriptor(), name, value);
  177. }
  178. enum Wanji_lidar_device_status {
  179. WANJI_LIDAR_DEVICE_UNKNOWN = 0,
  180. WANJI_LIDAR_DEVICE_READY = 1,
  181. WANJI_LIDAR_DEVICE_DISCONNECT = 2,
  182. WANJI_LIDAR_DEVICE_BUSY = 3,
  183. WANJI_LIDAR_DEVICE_FAULT = 10
  184. };
  185. bool Wanji_lidar_device_status_IsValid(int value);
  186. const Wanji_lidar_device_status Wanji_lidar_device_status_MIN = WANJI_LIDAR_DEVICE_UNKNOWN;
  187. const Wanji_lidar_device_status Wanji_lidar_device_status_MAX = WANJI_LIDAR_DEVICE_FAULT;
  188. const int Wanji_lidar_device_status_ARRAYSIZE = Wanji_lidar_device_status_MAX + 1;
  189. const ::google::protobuf::EnumDescriptor* Wanji_lidar_device_status_descriptor();
  190. inline const ::std::string& Wanji_lidar_device_status_Name(Wanji_lidar_device_status value) {
  191. return ::google::protobuf::internal::NameOfEnum(
  192. Wanji_lidar_device_status_descriptor(), value);
  193. }
  194. inline bool Wanji_lidar_device_status_Parse(
  195. const ::std::string& name, Wanji_lidar_device_status* value) {
  196. return ::google::protobuf::internal::ParseNamedEnum<Wanji_lidar_device_status>(
  197. Wanji_lidar_device_status_descriptor(), name, value);
  198. }
  199. enum Region_worker_status {
  200. REGION_WORKER_UNKNOWN = 0,
  201. REGION_WORKER_READY = 1,
  202. REGION_WORKER_BUSY = 2,
  203. REGION_WORKER_FAULT = 10
  204. };
  205. bool Region_worker_status_IsValid(int value);
  206. const Region_worker_status Region_worker_status_MIN = REGION_WORKER_UNKNOWN;
  207. const Region_worker_status Region_worker_status_MAX = REGION_WORKER_FAULT;
  208. const int Region_worker_status_ARRAYSIZE = Region_worker_status_MAX + 1;
  209. const ::google::protobuf::EnumDescriptor* Region_worker_status_descriptor();
  210. inline const ::std::string& Region_worker_status_Name(Region_worker_status value) {
  211. return ::google::protobuf::internal::NameOfEnum(
  212. Region_worker_status_descriptor(), value);
  213. }
  214. inline bool Region_worker_status_Parse(
  215. const ::std::string& name, Region_worker_status* value) {
  216. return ::google::protobuf::internal::ParseNamedEnum<Region_worker_status>(
  217. Region_worker_status_descriptor(), name, value);
  218. }
  219. enum Ground_statu {
  220. Nothing = 0,
  221. Noise = 1,
  222. Car_correct = 2,
  223. Car_left_out = 3,
  224. Car_right_out = 4,
  225. Car_top_out = 5,
  226. Car_bottom_out = 6
  227. };
  228. bool Ground_statu_IsValid(int value);
  229. const Ground_statu Ground_statu_MIN = Nothing;
  230. const Ground_statu Ground_statu_MAX = Car_bottom_out;
  231. const int Ground_statu_ARRAYSIZE = Ground_statu_MAX + 1;
  232. const ::google::protobuf::EnumDescriptor* Ground_statu_descriptor();
  233. inline const ::std::string& Ground_statu_Name(Ground_statu value) {
  234. return ::google::protobuf::internal::NameOfEnum(
  235. Ground_statu_descriptor(), value);
  236. }
  237. inline bool Ground_statu_Parse(
  238. const ::std::string& name, Ground_statu* value) {
  239. return ::google::protobuf::internal::ParseNamedEnum<Ground_statu>(
  240. Ground_statu_descriptor(), name, value);
  241. }
  242. // ===================================================================
  243. class Measure_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Measure_status_msg) */ {
  244. public:
  245. Measure_status_msg();
  246. virtual ~Measure_status_msg();
  247. Measure_status_msg(const Measure_status_msg& from);
  248. inline Measure_status_msg& operator=(const Measure_status_msg& from) {
  249. CopyFrom(from);
  250. return *this;
  251. }
  252. #if LANG_CXX11
  253. Measure_status_msg(Measure_status_msg&& from) noexcept
  254. : Measure_status_msg() {
  255. *this = ::std::move(from);
  256. }
  257. inline Measure_status_msg& operator=(Measure_status_msg&& from) noexcept {
  258. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  259. if (this != &from) InternalSwap(&from);
  260. } else {
  261. CopyFrom(from);
  262. }
  263. return *this;
  264. }
  265. #endif
  266. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  267. return _internal_metadata_.unknown_fields();
  268. }
  269. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  270. return _internal_metadata_.mutable_unknown_fields();
  271. }
  272. static const ::google::protobuf::Descriptor* descriptor();
  273. static const Measure_status_msg& default_instance();
  274. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  275. static inline const Measure_status_msg* internal_default_instance() {
  276. return reinterpret_cast<const Measure_status_msg*>(
  277. &_Measure_status_msg_default_instance_);
  278. }
  279. static constexpr int kIndexInFileMessages =
  280. 0;
  281. void Swap(Measure_status_msg* other);
  282. friend void swap(Measure_status_msg& a, Measure_status_msg& b) {
  283. a.Swap(&b);
  284. }
  285. // implements Message ----------------------------------------------
  286. inline Measure_status_msg* New() const final {
  287. return CreateMaybeMessage<Measure_status_msg>(NULL);
  288. }
  289. Measure_status_msg* New(::google::protobuf::Arena* arena) const final {
  290. return CreateMaybeMessage<Measure_status_msg>(arena);
  291. }
  292. void CopyFrom(const ::google::protobuf::Message& from) final;
  293. void MergeFrom(const ::google::protobuf::Message& from) final;
  294. void CopyFrom(const Measure_status_msg& from);
  295. void MergeFrom(const Measure_status_msg& from);
  296. void Clear() final;
  297. bool IsInitialized() const final;
  298. size_t ByteSizeLong() const final;
  299. bool MergePartialFromCodedStream(
  300. ::google::protobuf::io::CodedInputStream* input) final;
  301. void SerializeWithCachedSizes(
  302. ::google::protobuf::io::CodedOutputStream* output) const final;
  303. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  304. bool deterministic, ::google::protobuf::uint8* target) const final;
  305. int GetCachedSize() const final { return _cached_size_.Get(); }
  306. private:
  307. void SharedCtor();
  308. void SharedDtor();
  309. void SetCachedSize(int size) const final;
  310. void InternalSwap(Measure_status_msg* other);
  311. private:
  312. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  313. return NULL;
  314. }
  315. inline void* MaybeArenaPtr() const {
  316. return NULL;
  317. }
  318. public:
  319. ::google::protobuf::Metadata GetMetadata() const final;
  320. // nested types ----------------------------------------------------
  321. // accessors -------------------------------------------------------
  322. // repeated .message.Laser_statu laser_statu_vector = 4;
  323. int laser_statu_vector_size() const;
  324. void clear_laser_statu_vector();
  325. static const int kLaserStatuVectorFieldNumber = 4;
  326. ::message::Laser_statu laser_statu_vector(int index) const;
  327. void set_laser_statu_vector(int index, ::message::Laser_statu value);
  328. void add_laser_statu_vector(::message::Laser_statu value);
  329. const ::google::protobuf::RepeatedField<int>& laser_statu_vector() const;
  330. ::google::protobuf::RepeatedField<int>* mutable_laser_statu_vector();
  331. // required .message.Base_info base_info = 1;
  332. bool has_base_info() const;
  333. void clear_base_info();
  334. static const int kBaseInfoFieldNumber = 1;
  335. private:
  336. const ::message::Base_info& _internal_base_info() const;
  337. public:
  338. const ::message::Base_info& base_info() const;
  339. ::message::Base_info* release_base_info();
  340. ::message::Base_info* mutable_base_info();
  341. void set_allocated_base_info(::message::Base_info* base_info);
  342. // required .message.Error_manager error_manager = 6;
  343. bool has_error_manager() const;
  344. void clear_error_manager();
  345. static const int kErrorManagerFieldNumber = 6;
  346. private:
  347. const ::message::Error_manager& _internal_error_manager() const;
  348. public:
  349. const ::message::Error_manager& error_manager() const;
  350. ::message::Error_manager* release_error_manager();
  351. ::message::Error_manager* mutable_error_manager();
  352. void set_allocated_error_manager(::message::Error_manager* error_manager);
  353. // required int32 terminal_id = 2;
  354. bool has_terminal_id() const;
  355. void clear_terminal_id();
  356. static const int kTerminalIdFieldNumber = 2;
  357. ::google::protobuf::int32 terminal_id() const;
  358. void set_terminal_id(::google::protobuf::int32 value);
  359. // required .message.Laser_manager_status laser_manager_status = 3;
  360. bool has_laser_manager_status() const;
  361. void clear_laser_manager_status();
  362. static const int kLaserManagerStatusFieldNumber = 3;
  363. ::message::Laser_manager_status laser_manager_status() const;
  364. void set_laser_manager_status(::message::Laser_manager_status value);
  365. // required .message.Locate_manager_status locate_manager_status = 5;
  366. bool has_locate_manager_status() const;
  367. void clear_locate_manager_status();
  368. static const int kLocateManagerStatusFieldNumber = 5;
  369. ::message::Locate_manager_status locate_manager_status() const;
  370. void set_locate_manager_status(::message::Locate_manager_status value);
  371. // @@protoc_insertion_point(class_scope:message.Measure_status_msg)
  372. private:
  373. void set_has_base_info();
  374. void clear_has_base_info();
  375. void set_has_terminal_id();
  376. void clear_has_terminal_id();
  377. void set_has_laser_manager_status();
  378. void clear_has_laser_manager_status();
  379. void set_has_locate_manager_status();
  380. void clear_has_locate_manager_status();
  381. void set_has_error_manager();
  382. void clear_has_error_manager();
  383. // helper for ByteSizeLong()
  384. size_t RequiredFieldsByteSizeFallback() const;
  385. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  386. ::google::protobuf::internal::HasBits<1> _has_bits_;
  387. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  388. ::google::protobuf::RepeatedField<int> laser_statu_vector_;
  389. ::message::Base_info* base_info_;
  390. ::message::Error_manager* error_manager_;
  391. ::google::protobuf::int32 terminal_id_;
  392. int laser_manager_status_;
  393. int locate_manager_status_;
  394. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  395. };
  396. // -------------------------------------------------------------------
  397. class Measure_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Measure_request_msg) */ {
  398. public:
  399. Measure_request_msg();
  400. virtual ~Measure_request_msg();
  401. Measure_request_msg(const Measure_request_msg& from);
  402. inline Measure_request_msg& operator=(const Measure_request_msg& from) {
  403. CopyFrom(from);
  404. return *this;
  405. }
  406. #if LANG_CXX11
  407. Measure_request_msg(Measure_request_msg&& from) noexcept
  408. : Measure_request_msg() {
  409. *this = ::std::move(from);
  410. }
  411. inline Measure_request_msg& operator=(Measure_request_msg&& from) noexcept {
  412. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  413. if (this != &from) InternalSwap(&from);
  414. } else {
  415. CopyFrom(from);
  416. }
  417. return *this;
  418. }
  419. #endif
  420. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  421. return _internal_metadata_.unknown_fields();
  422. }
  423. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  424. return _internal_metadata_.mutable_unknown_fields();
  425. }
  426. static const ::google::protobuf::Descriptor* descriptor();
  427. static const Measure_request_msg& default_instance();
  428. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  429. static inline const Measure_request_msg* internal_default_instance() {
  430. return reinterpret_cast<const Measure_request_msg*>(
  431. &_Measure_request_msg_default_instance_);
  432. }
  433. static constexpr int kIndexInFileMessages =
  434. 1;
  435. void Swap(Measure_request_msg* other);
  436. friend void swap(Measure_request_msg& a, Measure_request_msg& b) {
  437. a.Swap(&b);
  438. }
  439. // implements Message ----------------------------------------------
  440. inline Measure_request_msg* New() const final {
  441. return CreateMaybeMessage<Measure_request_msg>(NULL);
  442. }
  443. Measure_request_msg* New(::google::protobuf::Arena* arena) const final {
  444. return CreateMaybeMessage<Measure_request_msg>(arena);
  445. }
  446. void CopyFrom(const ::google::protobuf::Message& from) final;
  447. void MergeFrom(const ::google::protobuf::Message& from) final;
  448. void CopyFrom(const Measure_request_msg& from);
  449. void MergeFrom(const Measure_request_msg& from);
  450. void Clear() final;
  451. bool IsInitialized() const final;
  452. size_t ByteSizeLong() const final;
  453. bool MergePartialFromCodedStream(
  454. ::google::protobuf::io::CodedInputStream* input) final;
  455. void SerializeWithCachedSizes(
  456. ::google::protobuf::io::CodedOutputStream* output) const final;
  457. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  458. bool deterministic, ::google::protobuf::uint8* target) const final;
  459. int GetCachedSize() const final { return _cached_size_.Get(); }
  460. private:
  461. void SharedCtor();
  462. void SharedDtor();
  463. void SetCachedSize(int size) const final;
  464. void InternalSwap(Measure_request_msg* other);
  465. private:
  466. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  467. return NULL;
  468. }
  469. inline void* MaybeArenaPtr() const {
  470. return NULL;
  471. }
  472. public:
  473. ::google::protobuf::Metadata GetMetadata() const final;
  474. // nested types ----------------------------------------------------
  475. // accessors -------------------------------------------------------
  476. // required string command_key = 2;
  477. bool has_command_key() const;
  478. void clear_command_key();
  479. static const int kCommandKeyFieldNumber = 2;
  480. const ::std::string& command_key() const;
  481. void set_command_key(const ::std::string& value);
  482. #if LANG_CXX11
  483. void set_command_key(::std::string&& value);
  484. #endif
  485. void set_command_key(const char* value);
  486. void set_command_key(const char* value, size_t size);
  487. ::std::string* mutable_command_key();
  488. ::std::string* release_command_key();
  489. void set_allocated_command_key(::std::string* command_key);
  490. // required .message.Base_info base_info = 1;
  491. bool has_base_info() const;
  492. void clear_base_info();
  493. static const int kBaseInfoFieldNumber = 1;
  494. private:
  495. const ::message::Base_info& _internal_base_info() const;
  496. public:
  497. const ::message::Base_info& base_info() const;
  498. ::message::Base_info* release_base_info();
  499. ::message::Base_info* mutable_base_info();
  500. void set_allocated_base_info(::message::Base_info* base_info);
  501. // required int32 terminal_id = 3;
  502. bool has_terminal_id() const;
  503. void clear_terminal_id();
  504. static const int kTerminalIdFieldNumber = 3;
  505. ::google::protobuf::int32 terminal_id() const;
  506. void set_terminal_id(::google::protobuf::int32 value);
  507. // @@protoc_insertion_point(class_scope:message.Measure_request_msg)
  508. private:
  509. void set_has_base_info();
  510. void clear_has_base_info();
  511. void set_has_command_key();
  512. void clear_has_command_key();
  513. void set_has_terminal_id();
  514. void clear_has_terminal_id();
  515. // helper for ByteSizeLong()
  516. size_t RequiredFieldsByteSizeFallback() const;
  517. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  518. ::google::protobuf::internal::HasBits<1> _has_bits_;
  519. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  520. ::google::protobuf::internal::ArenaStringPtr command_key_;
  521. ::message::Base_info* base_info_;
  522. ::google::protobuf::int32 terminal_id_;
  523. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  524. };
  525. // -------------------------------------------------------------------
  526. class Measure_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Measure_response_msg) */ {
  527. public:
  528. Measure_response_msg();
  529. virtual ~Measure_response_msg();
  530. Measure_response_msg(const Measure_response_msg& from);
  531. inline Measure_response_msg& operator=(const Measure_response_msg& from) {
  532. CopyFrom(from);
  533. return *this;
  534. }
  535. #if LANG_CXX11
  536. Measure_response_msg(Measure_response_msg&& from) noexcept
  537. : Measure_response_msg() {
  538. *this = ::std::move(from);
  539. }
  540. inline Measure_response_msg& operator=(Measure_response_msg&& from) noexcept {
  541. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  542. if (this != &from) InternalSwap(&from);
  543. } else {
  544. CopyFrom(from);
  545. }
  546. return *this;
  547. }
  548. #endif
  549. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  550. return _internal_metadata_.unknown_fields();
  551. }
  552. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  553. return _internal_metadata_.mutable_unknown_fields();
  554. }
  555. static const ::google::protobuf::Descriptor* descriptor();
  556. static const Measure_response_msg& default_instance();
  557. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  558. static inline const Measure_response_msg* internal_default_instance() {
  559. return reinterpret_cast<const Measure_response_msg*>(
  560. &_Measure_response_msg_default_instance_);
  561. }
  562. static constexpr int kIndexInFileMessages =
  563. 2;
  564. void Swap(Measure_response_msg* other);
  565. friend void swap(Measure_response_msg& a, Measure_response_msg& b) {
  566. a.Swap(&b);
  567. }
  568. // implements Message ----------------------------------------------
  569. inline Measure_response_msg* New() const final {
  570. return CreateMaybeMessage<Measure_response_msg>(NULL);
  571. }
  572. Measure_response_msg* New(::google::protobuf::Arena* arena) const final {
  573. return CreateMaybeMessage<Measure_response_msg>(arena);
  574. }
  575. void CopyFrom(const ::google::protobuf::Message& from) final;
  576. void MergeFrom(const ::google::protobuf::Message& from) final;
  577. void CopyFrom(const Measure_response_msg& from);
  578. void MergeFrom(const Measure_response_msg& from);
  579. void Clear() final;
  580. bool IsInitialized() const final;
  581. size_t ByteSizeLong() const final;
  582. bool MergePartialFromCodedStream(
  583. ::google::protobuf::io::CodedInputStream* input) final;
  584. void SerializeWithCachedSizes(
  585. ::google::protobuf::io::CodedOutputStream* output) const final;
  586. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  587. bool deterministic, ::google::protobuf::uint8* target) const final;
  588. int GetCachedSize() const final { return _cached_size_.Get(); }
  589. private:
  590. void SharedCtor();
  591. void SharedDtor();
  592. void SetCachedSize(int size) const final;
  593. void InternalSwap(Measure_response_msg* other);
  594. private:
  595. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  596. return NULL;
  597. }
  598. inline void* MaybeArenaPtr() const {
  599. return NULL;
  600. }
  601. public:
  602. ::google::protobuf::Metadata GetMetadata() const final;
  603. // nested types ----------------------------------------------------
  604. // accessors -------------------------------------------------------
  605. // required string command_key = 2;
  606. bool has_command_key() const;
  607. void clear_command_key();
  608. static const int kCommandKeyFieldNumber = 2;
  609. const ::std::string& command_key() const;
  610. void set_command_key(const ::std::string& value);
  611. #if LANG_CXX11
  612. void set_command_key(::std::string&& value);
  613. #endif
  614. void set_command_key(const char* value);
  615. void set_command_key(const char* value, size_t size);
  616. ::std::string* mutable_command_key();
  617. ::std::string* release_command_key();
  618. void set_allocated_command_key(::std::string* command_key);
  619. // required .message.Base_info base_info = 1;
  620. bool has_base_info() const;
  621. void clear_base_info();
  622. static const int kBaseInfoFieldNumber = 1;
  623. private:
  624. const ::message::Base_info& _internal_base_info() const;
  625. public:
  626. const ::message::Base_info& base_info() const;
  627. ::message::Base_info* release_base_info();
  628. ::message::Base_info* mutable_base_info();
  629. void set_allocated_base_info(::message::Base_info* base_info);
  630. // optional .message.Locate_information locate_information = 4;
  631. bool has_locate_information() const;
  632. void clear_locate_information();
  633. static const int kLocateInformationFieldNumber = 4;
  634. private:
  635. const ::message::Locate_information& _internal_locate_information() const;
  636. public:
  637. const ::message::Locate_information& locate_information() const;
  638. ::message::Locate_information* release_locate_information();
  639. ::message::Locate_information* mutable_locate_information();
  640. void set_allocated_locate_information(::message::Locate_information* locate_information);
  641. // required .message.Error_manager error_manager = 5;
  642. bool has_error_manager() const;
  643. void clear_error_manager();
  644. static const int kErrorManagerFieldNumber = 5;
  645. private:
  646. const ::message::Error_manager& _internal_error_manager() const;
  647. public:
  648. const ::message::Error_manager& error_manager() const;
  649. ::message::Error_manager* release_error_manager();
  650. ::message::Error_manager* mutable_error_manager();
  651. void set_allocated_error_manager(::message::Error_manager* error_manager);
  652. // required int32 terminal_id = 3;
  653. bool has_terminal_id() const;
  654. void clear_terminal_id();
  655. static const int kTerminalIdFieldNumber = 3;
  656. ::google::protobuf::int32 terminal_id() const;
  657. void set_terminal_id(::google::protobuf::int32 value);
  658. // @@protoc_insertion_point(class_scope:message.Measure_response_msg)
  659. private:
  660. void set_has_base_info();
  661. void clear_has_base_info();
  662. void set_has_command_key();
  663. void clear_has_command_key();
  664. void set_has_terminal_id();
  665. void clear_has_terminal_id();
  666. void set_has_locate_information();
  667. void clear_has_locate_information();
  668. void set_has_error_manager();
  669. void clear_has_error_manager();
  670. // helper for ByteSizeLong()
  671. size_t RequiredFieldsByteSizeFallback() const;
  672. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  673. ::google::protobuf::internal::HasBits<1> _has_bits_;
  674. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  675. ::google::protobuf::internal::ArenaStringPtr command_key_;
  676. ::message::Base_info* base_info_;
  677. ::message::Locate_information* locate_information_;
  678. ::message::Error_manager* error_manager_;
  679. ::google::protobuf::int32 terminal_id_;
  680. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  681. };
  682. // -------------------------------------------------------------------
  683. class Ground_detect_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Ground_detect_request_msg) */ {
  684. public:
  685. Ground_detect_request_msg();
  686. virtual ~Ground_detect_request_msg();
  687. Ground_detect_request_msg(const Ground_detect_request_msg& from);
  688. inline Ground_detect_request_msg& operator=(const Ground_detect_request_msg& from) {
  689. CopyFrom(from);
  690. return *this;
  691. }
  692. #if LANG_CXX11
  693. Ground_detect_request_msg(Ground_detect_request_msg&& from) noexcept
  694. : Ground_detect_request_msg() {
  695. *this = ::std::move(from);
  696. }
  697. inline Ground_detect_request_msg& operator=(Ground_detect_request_msg&& from) noexcept {
  698. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  699. if (this != &from) InternalSwap(&from);
  700. } else {
  701. CopyFrom(from);
  702. }
  703. return *this;
  704. }
  705. #endif
  706. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  707. return _internal_metadata_.unknown_fields();
  708. }
  709. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  710. return _internal_metadata_.mutable_unknown_fields();
  711. }
  712. static const ::google::protobuf::Descriptor* descriptor();
  713. static const Ground_detect_request_msg& default_instance();
  714. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  715. static inline const Ground_detect_request_msg* internal_default_instance() {
  716. return reinterpret_cast<const Ground_detect_request_msg*>(
  717. &_Ground_detect_request_msg_default_instance_);
  718. }
  719. static constexpr int kIndexInFileMessages =
  720. 3;
  721. void Swap(Ground_detect_request_msg* other);
  722. friend void swap(Ground_detect_request_msg& a, Ground_detect_request_msg& b) {
  723. a.Swap(&b);
  724. }
  725. // implements Message ----------------------------------------------
  726. inline Ground_detect_request_msg* New() const final {
  727. return CreateMaybeMessage<Ground_detect_request_msg>(NULL);
  728. }
  729. Ground_detect_request_msg* New(::google::protobuf::Arena* arena) const final {
  730. return CreateMaybeMessage<Ground_detect_request_msg>(arena);
  731. }
  732. void CopyFrom(const ::google::protobuf::Message& from) final;
  733. void MergeFrom(const ::google::protobuf::Message& from) final;
  734. void CopyFrom(const Ground_detect_request_msg& from);
  735. void MergeFrom(const Ground_detect_request_msg& from);
  736. void Clear() final;
  737. bool IsInitialized() const final;
  738. size_t ByteSizeLong() const final;
  739. bool MergePartialFromCodedStream(
  740. ::google::protobuf::io::CodedInputStream* input) final;
  741. void SerializeWithCachedSizes(
  742. ::google::protobuf::io::CodedOutputStream* output) const final;
  743. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  744. bool deterministic, ::google::protobuf::uint8* target) const final;
  745. int GetCachedSize() const final { return _cached_size_.Get(); }
  746. private:
  747. void SharedCtor();
  748. void SharedDtor();
  749. void SetCachedSize(int size) const final;
  750. void InternalSwap(Ground_detect_request_msg* other);
  751. private:
  752. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  753. return NULL;
  754. }
  755. inline void* MaybeArenaPtr() const {
  756. return NULL;
  757. }
  758. public:
  759. ::google::protobuf::Metadata GetMetadata() const final;
  760. // nested types ----------------------------------------------------
  761. // accessors -------------------------------------------------------
  762. // required string command_key = 2;
  763. bool has_command_key() const;
  764. void clear_command_key();
  765. static const int kCommandKeyFieldNumber = 2;
  766. const ::std::string& command_key() const;
  767. void set_command_key(const ::std::string& value);
  768. #if LANG_CXX11
  769. void set_command_key(::std::string&& value);
  770. #endif
  771. void set_command_key(const char* value);
  772. void set_command_key(const char* value, size_t size);
  773. ::std::string* mutable_command_key();
  774. ::std::string* release_command_key();
  775. void set_allocated_command_key(::std::string* command_key);
  776. // required .message.Base_info base_info = 1;
  777. bool has_base_info() const;
  778. void clear_base_info();
  779. static const int kBaseInfoFieldNumber = 1;
  780. private:
  781. const ::message::Base_info& _internal_base_info() const;
  782. public:
  783. const ::message::Base_info& base_info() const;
  784. ::message::Base_info* release_base_info();
  785. ::message::Base_info* mutable_base_info();
  786. void set_allocated_base_info(::message::Base_info* base_info);
  787. // required int32 terminal_id = 3;
  788. bool has_terminal_id() const;
  789. void clear_terminal_id();
  790. static const int kTerminalIdFieldNumber = 3;
  791. ::google::protobuf::int32 terminal_id() const;
  792. void set_terminal_id(::google::protobuf::int32 value);
  793. // @@protoc_insertion_point(class_scope:message.Ground_detect_request_msg)
  794. private:
  795. void set_has_base_info();
  796. void clear_has_base_info();
  797. void set_has_command_key();
  798. void clear_has_command_key();
  799. void set_has_terminal_id();
  800. void clear_has_terminal_id();
  801. // helper for ByteSizeLong()
  802. size_t RequiredFieldsByteSizeFallback() const;
  803. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  804. ::google::protobuf::internal::HasBits<1> _has_bits_;
  805. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  806. ::google::protobuf::internal::ArenaStringPtr command_key_;
  807. ::message::Base_info* base_info_;
  808. ::google::protobuf::int32 terminal_id_;
  809. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  810. };
  811. // -------------------------------------------------------------------
  812. class Ground_detect_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Ground_detect_response_msg) */ {
  813. public:
  814. Ground_detect_response_msg();
  815. virtual ~Ground_detect_response_msg();
  816. Ground_detect_response_msg(const Ground_detect_response_msg& from);
  817. inline Ground_detect_response_msg& operator=(const Ground_detect_response_msg& from) {
  818. CopyFrom(from);
  819. return *this;
  820. }
  821. #if LANG_CXX11
  822. Ground_detect_response_msg(Ground_detect_response_msg&& from) noexcept
  823. : Ground_detect_response_msg() {
  824. *this = ::std::move(from);
  825. }
  826. inline Ground_detect_response_msg& operator=(Ground_detect_response_msg&& from) noexcept {
  827. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  828. if (this != &from) InternalSwap(&from);
  829. } else {
  830. CopyFrom(from);
  831. }
  832. return *this;
  833. }
  834. #endif
  835. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  836. return _internal_metadata_.unknown_fields();
  837. }
  838. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  839. return _internal_metadata_.mutable_unknown_fields();
  840. }
  841. static const ::google::protobuf::Descriptor* descriptor();
  842. static const Ground_detect_response_msg& default_instance();
  843. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  844. static inline const Ground_detect_response_msg* internal_default_instance() {
  845. return reinterpret_cast<const Ground_detect_response_msg*>(
  846. &_Ground_detect_response_msg_default_instance_);
  847. }
  848. static constexpr int kIndexInFileMessages =
  849. 4;
  850. void Swap(Ground_detect_response_msg* other);
  851. friend void swap(Ground_detect_response_msg& a, Ground_detect_response_msg& b) {
  852. a.Swap(&b);
  853. }
  854. // implements Message ----------------------------------------------
  855. inline Ground_detect_response_msg* New() const final {
  856. return CreateMaybeMessage<Ground_detect_response_msg>(NULL);
  857. }
  858. Ground_detect_response_msg* New(::google::protobuf::Arena* arena) const final {
  859. return CreateMaybeMessage<Ground_detect_response_msg>(arena);
  860. }
  861. void CopyFrom(const ::google::protobuf::Message& from) final;
  862. void MergeFrom(const ::google::protobuf::Message& from) final;
  863. void CopyFrom(const Ground_detect_response_msg& from);
  864. void MergeFrom(const Ground_detect_response_msg& from);
  865. void Clear() final;
  866. bool IsInitialized() const final;
  867. size_t ByteSizeLong() const final;
  868. bool MergePartialFromCodedStream(
  869. ::google::protobuf::io::CodedInputStream* input) final;
  870. void SerializeWithCachedSizes(
  871. ::google::protobuf::io::CodedOutputStream* output) const final;
  872. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  873. bool deterministic, ::google::protobuf::uint8* target) const final;
  874. int GetCachedSize() const final { return _cached_size_.Get(); }
  875. private:
  876. void SharedCtor();
  877. void SharedDtor();
  878. void SetCachedSize(int size) const final;
  879. void InternalSwap(Ground_detect_response_msg* other);
  880. private:
  881. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  882. return NULL;
  883. }
  884. inline void* MaybeArenaPtr() const {
  885. return NULL;
  886. }
  887. public:
  888. ::google::protobuf::Metadata GetMetadata() const final;
  889. // nested types ----------------------------------------------------
  890. // accessors -------------------------------------------------------
  891. // required string command_key = 2;
  892. bool has_command_key() const;
  893. void clear_command_key();
  894. static const int kCommandKeyFieldNumber = 2;
  895. const ::std::string& command_key() const;
  896. void set_command_key(const ::std::string& value);
  897. #if LANG_CXX11
  898. void set_command_key(::std::string&& value);
  899. #endif
  900. void set_command_key(const char* value);
  901. void set_command_key(const char* value, size_t size);
  902. ::std::string* mutable_command_key();
  903. ::std::string* release_command_key();
  904. void set_allocated_command_key(::std::string* command_key);
  905. // required .message.Base_info base_info = 1;
  906. bool has_base_info() const;
  907. void clear_base_info();
  908. static const int kBaseInfoFieldNumber = 1;
  909. private:
  910. const ::message::Base_info& _internal_base_info() const;
  911. public:
  912. const ::message::Base_info& base_info() const;
  913. ::message::Base_info* release_base_info();
  914. ::message::Base_info* mutable_base_info();
  915. void set_allocated_base_info(::message::Base_info* base_info);
  916. // optional .message.Locate_information locate_information = 4;
  917. bool has_locate_information() const;
  918. void clear_locate_information();
  919. static const int kLocateInformationFieldNumber = 4;
  920. private:
  921. const ::message::Locate_information& _internal_locate_information() const;
  922. public:
  923. const ::message::Locate_information& locate_information() const;
  924. ::message::Locate_information* release_locate_information();
  925. ::message::Locate_information* mutable_locate_information();
  926. void set_allocated_locate_information(::message::Locate_information* locate_information);
  927. // required .message.Error_manager error_manager = 5;
  928. bool has_error_manager() const;
  929. void clear_error_manager();
  930. static const int kErrorManagerFieldNumber = 5;
  931. private:
  932. const ::message::Error_manager& _internal_error_manager() const;
  933. public:
  934. const ::message::Error_manager& error_manager() const;
  935. ::message::Error_manager* release_error_manager();
  936. ::message::Error_manager* mutable_error_manager();
  937. void set_allocated_error_manager(::message::Error_manager* error_manager);
  938. // required int32 terminal_id = 3;
  939. bool has_terminal_id() const;
  940. void clear_terminal_id();
  941. static const int kTerminalIdFieldNumber = 3;
  942. ::google::protobuf::int32 terminal_id() const;
  943. void set_terminal_id(::google::protobuf::int32 value);
  944. // @@protoc_insertion_point(class_scope:message.Ground_detect_response_msg)
  945. private:
  946. void set_has_base_info();
  947. void clear_has_base_info();
  948. void set_has_command_key();
  949. void clear_has_command_key();
  950. void set_has_terminal_id();
  951. void clear_has_terminal_id();
  952. void set_has_locate_information();
  953. void clear_has_locate_information();
  954. void set_has_error_manager();
  955. void clear_has_error_manager();
  956. // helper for ByteSizeLong()
  957. size_t RequiredFieldsByteSizeFallback() const;
  958. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  959. ::google::protobuf::internal::HasBits<1> _has_bits_;
  960. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  961. ::google::protobuf::internal::ArenaStringPtr command_key_;
  962. ::message::Base_info* base_info_;
  963. ::message::Locate_information* locate_information_;
  964. ::message::Error_manager* error_manager_;
  965. ::google::protobuf::int32 terminal_id_;
  966. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  967. };
  968. // -------------------------------------------------------------------
  969. class Ground_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Ground_status_msg) */ {
  970. public:
  971. Ground_status_msg();
  972. virtual ~Ground_status_msg();
  973. Ground_status_msg(const Ground_status_msg& from);
  974. inline Ground_status_msg& operator=(const Ground_status_msg& from) {
  975. CopyFrom(from);
  976. return *this;
  977. }
  978. #if LANG_CXX11
  979. Ground_status_msg(Ground_status_msg&& from) noexcept
  980. : Ground_status_msg() {
  981. *this = ::std::move(from);
  982. }
  983. inline Ground_status_msg& operator=(Ground_status_msg&& from) noexcept {
  984. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  985. if (this != &from) InternalSwap(&from);
  986. } else {
  987. CopyFrom(from);
  988. }
  989. return *this;
  990. }
  991. #endif
  992. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  993. return _internal_metadata_.unknown_fields();
  994. }
  995. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  996. return _internal_metadata_.mutable_unknown_fields();
  997. }
  998. static const ::google::protobuf::Descriptor* descriptor();
  999. static const Ground_status_msg& default_instance();
  1000. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1001. static inline const Ground_status_msg* internal_default_instance() {
  1002. return reinterpret_cast<const Ground_status_msg*>(
  1003. &_Ground_status_msg_default_instance_);
  1004. }
  1005. static constexpr int kIndexInFileMessages =
  1006. 5;
  1007. void Swap(Ground_status_msg* other);
  1008. friend void swap(Ground_status_msg& a, Ground_status_msg& b) {
  1009. a.Swap(&b);
  1010. }
  1011. // implements Message ----------------------------------------------
  1012. inline Ground_status_msg* New() const final {
  1013. return CreateMaybeMessage<Ground_status_msg>(NULL);
  1014. }
  1015. Ground_status_msg* New(::google::protobuf::Arena* arena) const final {
  1016. return CreateMaybeMessage<Ground_status_msg>(arena);
  1017. }
  1018. void CopyFrom(const ::google::protobuf::Message& from) final;
  1019. void MergeFrom(const ::google::protobuf::Message& from) final;
  1020. void CopyFrom(const Ground_status_msg& from);
  1021. void MergeFrom(const Ground_status_msg& from);
  1022. void Clear() final;
  1023. bool IsInitialized() const final;
  1024. size_t ByteSizeLong() const final;
  1025. bool MergePartialFromCodedStream(
  1026. ::google::protobuf::io::CodedInputStream* input) final;
  1027. void SerializeWithCachedSizes(
  1028. ::google::protobuf::io::CodedOutputStream* output) const final;
  1029. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1030. bool deterministic, ::google::protobuf::uint8* target) const final;
  1031. int GetCachedSize() const final { return _cached_size_.Get(); }
  1032. private:
  1033. void SharedCtor();
  1034. void SharedDtor();
  1035. void SetCachedSize(int size) const final;
  1036. void InternalSwap(Ground_status_msg* other);
  1037. private:
  1038. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1039. return NULL;
  1040. }
  1041. inline void* MaybeArenaPtr() const {
  1042. return NULL;
  1043. }
  1044. public:
  1045. ::google::protobuf::Metadata GetMetadata() const final;
  1046. // nested types ----------------------------------------------------
  1047. // accessors -------------------------------------------------------
  1048. // repeated .message.Wanji_lidar_device_status wanji_lidar_device_status = 4;
  1049. int wanji_lidar_device_status_size() const;
  1050. void clear_wanji_lidar_device_status();
  1051. static const int kWanjiLidarDeviceStatusFieldNumber = 4;
  1052. ::message::Wanji_lidar_device_status wanji_lidar_device_status(int index) const;
  1053. void set_wanji_lidar_device_status(int index, ::message::Wanji_lidar_device_status value);
  1054. void add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value);
  1055. const ::google::protobuf::RepeatedField<int>& wanji_lidar_device_status() const;
  1056. ::google::protobuf::RepeatedField<int>* mutable_wanji_lidar_device_status();
  1057. // repeated .message.Cloud_coordinate cloud = 9;
  1058. int cloud_size() const;
  1059. void clear_cloud();
  1060. static const int kCloudFieldNumber = 9;
  1061. ::message::Cloud_coordinate* mutable_cloud(int index);
  1062. ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >*
  1063. mutable_cloud();
  1064. const ::message::Cloud_coordinate& cloud(int index) const;
  1065. ::message::Cloud_coordinate* add_cloud();
  1066. const ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >&
  1067. cloud() const;
  1068. // required .message.Base_info base_info = 1;
  1069. bool has_base_info() const;
  1070. void clear_base_info();
  1071. static const int kBaseInfoFieldNumber = 1;
  1072. private:
  1073. const ::message::Base_info& _internal_base_info() const;
  1074. public:
  1075. const ::message::Base_info& base_info() const;
  1076. ::message::Base_info* release_base_info();
  1077. ::message::Base_info* mutable_base_info();
  1078. void set_allocated_base_info(::message::Base_info* base_info);
  1079. // required .message.Locate_information locate_information_realtime = 6;
  1080. bool has_locate_information_realtime() const;
  1081. void clear_locate_information_realtime();
  1082. static const int kLocateInformationRealtimeFieldNumber = 6;
  1083. private:
  1084. const ::message::Locate_information& _internal_locate_information_realtime() const;
  1085. public:
  1086. const ::message::Locate_information& locate_information_realtime() const;
  1087. ::message::Locate_information* release_locate_information_realtime();
  1088. ::message::Locate_information* mutable_locate_information_realtime();
  1089. void set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime);
  1090. // required .message.Error_manager error_manager = 8;
  1091. bool has_error_manager() const;
  1092. void clear_error_manager();
  1093. static const int kErrorManagerFieldNumber = 8;
  1094. private:
  1095. const ::message::Error_manager& _internal_error_manager() const;
  1096. public:
  1097. const ::message::Error_manager& error_manager() const;
  1098. ::message::Error_manager* release_error_manager();
  1099. ::message::Error_manager* mutable_error_manager();
  1100. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1101. // required int32 terminal_id = 2;
  1102. bool has_terminal_id() const;
  1103. void clear_terminal_id();
  1104. static const int kTerminalIdFieldNumber = 2;
  1105. ::google::protobuf::int32 terminal_id() const;
  1106. void set_terminal_id(::google::protobuf::int32 value);
  1107. // required .message.Wanji_manager_status wanji_manager_status = 3;
  1108. bool has_wanji_manager_status() const;
  1109. void clear_wanji_manager_status();
  1110. static const int kWanjiManagerStatusFieldNumber = 3;
  1111. ::message::Wanji_manager_status wanji_manager_status() const;
  1112. void set_wanji_manager_status(::message::Wanji_manager_status value);
  1113. // required .message.Region_worker_status region_worker_status = 5;
  1114. bool has_region_worker_status() const;
  1115. void clear_region_worker_status();
  1116. static const int kRegionWorkerStatusFieldNumber = 5;
  1117. ::message::Region_worker_status region_worker_status() const;
  1118. void set_region_worker_status(::message::Region_worker_status value);
  1119. // required .message.Ground_statu ground_status = 7;
  1120. bool has_ground_status() const;
  1121. void clear_ground_status();
  1122. static const int kGroundStatusFieldNumber = 7;
  1123. ::message::Ground_statu ground_status() const;
  1124. void set_ground_status(::message::Ground_statu value);
  1125. // @@protoc_insertion_point(class_scope:message.Ground_status_msg)
  1126. private:
  1127. void set_has_base_info();
  1128. void clear_has_base_info();
  1129. void set_has_terminal_id();
  1130. void clear_has_terminal_id();
  1131. void set_has_wanji_manager_status();
  1132. void clear_has_wanji_manager_status();
  1133. void set_has_region_worker_status();
  1134. void clear_has_region_worker_status();
  1135. void set_has_locate_information_realtime();
  1136. void clear_has_locate_information_realtime();
  1137. void set_has_ground_status();
  1138. void clear_has_ground_status();
  1139. void set_has_error_manager();
  1140. void clear_has_error_manager();
  1141. // helper for ByteSizeLong()
  1142. size_t RequiredFieldsByteSizeFallback() const;
  1143. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1144. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1145. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1146. ::google::protobuf::RepeatedField<int> wanji_lidar_device_status_;
  1147. ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate > cloud_;
  1148. ::message::Base_info* base_info_;
  1149. ::message::Locate_information* locate_information_realtime_;
  1150. ::message::Error_manager* error_manager_;
  1151. ::google::protobuf::int32 terminal_id_;
  1152. int wanji_manager_status_;
  1153. int region_worker_status_;
  1154. int ground_status_;
  1155. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  1156. };
  1157. // -------------------------------------------------------------------
  1158. class Cloud_coordinate : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Cloud_coordinate) */ {
  1159. public:
  1160. Cloud_coordinate();
  1161. virtual ~Cloud_coordinate();
  1162. Cloud_coordinate(const Cloud_coordinate& from);
  1163. inline Cloud_coordinate& operator=(const Cloud_coordinate& from) {
  1164. CopyFrom(from);
  1165. return *this;
  1166. }
  1167. #if LANG_CXX11
  1168. Cloud_coordinate(Cloud_coordinate&& from) noexcept
  1169. : Cloud_coordinate() {
  1170. *this = ::std::move(from);
  1171. }
  1172. inline Cloud_coordinate& operator=(Cloud_coordinate&& from) noexcept {
  1173. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1174. if (this != &from) InternalSwap(&from);
  1175. } else {
  1176. CopyFrom(from);
  1177. }
  1178. return *this;
  1179. }
  1180. #endif
  1181. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1182. return _internal_metadata_.unknown_fields();
  1183. }
  1184. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1185. return _internal_metadata_.mutable_unknown_fields();
  1186. }
  1187. static const ::google::protobuf::Descriptor* descriptor();
  1188. static const Cloud_coordinate& default_instance();
  1189. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1190. static inline const Cloud_coordinate* internal_default_instance() {
  1191. return reinterpret_cast<const Cloud_coordinate*>(
  1192. &_Cloud_coordinate_default_instance_);
  1193. }
  1194. static constexpr int kIndexInFileMessages =
  1195. 6;
  1196. void Swap(Cloud_coordinate* other);
  1197. friend void swap(Cloud_coordinate& a, Cloud_coordinate& b) {
  1198. a.Swap(&b);
  1199. }
  1200. // implements Message ----------------------------------------------
  1201. inline Cloud_coordinate* New() const final {
  1202. return CreateMaybeMessage<Cloud_coordinate>(NULL);
  1203. }
  1204. Cloud_coordinate* New(::google::protobuf::Arena* arena) const final {
  1205. return CreateMaybeMessage<Cloud_coordinate>(arena);
  1206. }
  1207. void CopyFrom(const ::google::protobuf::Message& from) final;
  1208. void MergeFrom(const ::google::protobuf::Message& from) final;
  1209. void CopyFrom(const Cloud_coordinate& from);
  1210. void MergeFrom(const Cloud_coordinate& from);
  1211. void Clear() final;
  1212. bool IsInitialized() const final;
  1213. size_t ByteSizeLong() const final;
  1214. bool MergePartialFromCodedStream(
  1215. ::google::protobuf::io::CodedInputStream* input) final;
  1216. void SerializeWithCachedSizes(
  1217. ::google::protobuf::io::CodedOutputStream* output) const final;
  1218. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1219. bool deterministic, ::google::protobuf::uint8* target) const final;
  1220. int GetCachedSize() const final { return _cached_size_.Get(); }
  1221. private:
  1222. void SharedCtor();
  1223. void SharedDtor();
  1224. void SetCachedSize(int size) const final;
  1225. void InternalSwap(Cloud_coordinate* other);
  1226. private:
  1227. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1228. return NULL;
  1229. }
  1230. inline void* MaybeArenaPtr() const {
  1231. return NULL;
  1232. }
  1233. public:
  1234. ::google::protobuf::Metadata GetMetadata() const final;
  1235. // nested types ----------------------------------------------------
  1236. // accessors -------------------------------------------------------
  1237. // required float x = 1;
  1238. bool has_x() const;
  1239. void clear_x();
  1240. static const int kXFieldNumber = 1;
  1241. float x() const;
  1242. void set_x(float value);
  1243. // required float y = 2;
  1244. bool has_y() const;
  1245. void clear_y();
  1246. static const int kYFieldNumber = 2;
  1247. float y() const;
  1248. void set_y(float value);
  1249. // required float z = 3;
  1250. bool has_z() const;
  1251. void clear_z();
  1252. static const int kZFieldNumber = 3;
  1253. float z() const;
  1254. void set_z(float value);
  1255. // @@protoc_insertion_point(class_scope:message.Cloud_coordinate)
  1256. private:
  1257. void set_has_x();
  1258. void clear_has_x();
  1259. void set_has_y();
  1260. void clear_has_y();
  1261. void set_has_z();
  1262. void clear_has_z();
  1263. // helper for ByteSizeLong()
  1264. size_t RequiredFieldsByteSizeFallback() const;
  1265. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1266. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1267. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1268. float x_;
  1269. float y_;
  1270. float z_;
  1271. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  1272. };
  1273. // -------------------------------------------------------------------
  1274. class Cloud_type : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Cloud_type) */ {
  1275. public:
  1276. Cloud_type();
  1277. virtual ~Cloud_type();
  1278. Cloud_type(const Cloud_type& from);
  1279. inline Cloud_type& operator=(const Cloud_type& from) {
  1280. CopyFrom(from);
  1281. return *this;
  1282. }
  1283. #if LANG_CXX11
  1284. Cloud_type(Cloud_type&& from) noexcept
  1285. : Cloud_type() {
  1286. *this = ::std::move(from);
  1287. }
  1288. inline Cloud_type& operator=(Cloud_type&& from) noexcept {
  1289. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1290. if (this != &from) InternalSwap(&from);
  1291. } else {
  1292. CopyFrom(from);
  1293. }
  1294. return *this;
  1295. }
  1296. #endif
  1297. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1298. return _internal_metadata_.unknown_fields();
  1299. }
  1300. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1301. return _internal_metadata_.mutable_unknown_fields();
  1302. }
  1303. static const ::google::protobuf::Descriptor* descriptor();
  1304. static const Cloud_type& default_instance();
  1305. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1306. static inline const Cloud_type* internal_default_instance() {
  1307. return reinterpret_cast<const Cloud_type*>(
  1308. &_Cloud_type_default_instance_);
  1309. }
  1310. static constexpr int kIndexInFileMessages =
  1311. 7;
  1312. void Swap(Cloud_type* other);
  1313. friend void swap(Cloud_type& a, Cloud_type& b) {
  1314. a.Swap(&b);
  1315. }
  1316. // implements Message ----------------------------------------------
  1317. inline Cloud_type* New() const final {
  1318. return CreateMaybeMessage<Cloud_type>(NULL);
  1319. }
  1320. Cloud_type* New(::google::protobuf::Arena* arena) const final {
  1321. return CreateMaybeMessage<Cloud_type>(arena);
  1322. }
  1323. void CopyFrom(const ::google::protobuf::Message& from) final;
  1324. void MergeFrom(const ::google::protobuf::Message& from) final;
  1325. void CopyFrom(const Cloud_type& from);
  1326. void MergeFrom(const Cloud_type& from);
  1327. void Clear() final;
  1328. bool IsInitialized() const final;
  1329. size_t ByteSizeLong() const final;
  1330. bool MergePartialFromCodedStream(
  1331. ::google::protobuf::io::CodedInputStream* input) final;
  1332. void SerializeWithCachedSizes(
  1333. ::google::protobuf::io::CodedOutputStream* output) const final;
  1334. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1335. bool deterministic, ::google::protobuf::uint8* target) const final;
  1336. int GetCachedSize() const final { return _cached_size_.Get(); }
  1337. private:
  1338. void SharedCtor();
  1339. void SharedDtor();
  1340. void SetCachedSize(int size) const final;
  1341. void InternalSwap(Cloud_type* other);
  1342. private:
  1343. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1344. return NULL;
  1345. }
  1346. inline void* MaybeArenaPtr() const {
  1347. return NULL;
  1348. }
  1349. public:
  1350. ::google::protobuf::Metadata GetMetadata() const final;
  1351. // nested types ----------------------------------------------------
  1352. // accessors -------------------------------------------------------
  1353. // required int32 type = 1;
  1354. bool has_type() const;
  1355. void clear_type();
  1356. static const int kTypeFieldNumber = 1;
  1357. ::google::protobuf::int32 type() const;
  1358. void set_type(::google::protobuf::int32 value);
  1359. // @@protoc_insertion_point(class_scope:message.Cloud_type)
  1360. private:
  1361. void set_has_type();
  1362. void clear_has_type();
  1363. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1364. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1365. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1366. ::google::protobuf::int32 type_;
  1367. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  1368. };
  1369. // -------------------------------------------------------------------
  1370. class Locate_sift_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_sift_request_msg) */ {
  1371. public:
  1372. Locate_sift_request_msg();
  1373. virtual ~Locate_sift_request_msg();
  1374. Locate_sift_request_msg(const Locate_sift_request_msg& from);
  1375. inline Locate_sift_request_msg& operator=(const Locate_sift_request_msg& from) {
  1376. CopyFrom(from);
  1377. return *this;
  1378. }
  1379. #if LANG_CXX11
  1380. Locate_sift_request_msg(Locate_sift_request_msg&& from) noexcept
  1381. : Locate_sift_request_msg() {
  1382. *this = ::std::move(from);
  1383. }
  1384. inline Locate_sift_request_msg& operator=(Locate_sift_request_msg&& from) noexcept {
  1385. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1386. if (this != &from) InternalSwap(&from);
  1387. } else {
  1388. CopyFrom(from);
  1389. }
  1390. return *this;
  1391. }
  1392. #endif
  1393. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1394. return _internal_metadata_.unknown_fields();
  1395. }
  1396. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1397. return _internal_metadata_.mutable_unknown_fields();
  1398. }
  1399. static const ::google::protobuf::Descriptor* descriptor();
  1400. static const Locate_sift_request_msg& default_instance();
  1401. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1402. static inline const Locate_sift_request_msg* internal_default_instance() {
  1403. return reinterpret_cast<const Locate_sift_request_msg*>(
  1404. &_Locate_sift_request_msg_default_instance_);
  1405. }
  1406. static constexpr int kIndexInFileMessages =
  1407. 8;
  1408. void Swap(Locate_sift_request_msg* other);
  1409. friend void swap(Locate_sift_request_msg& a, Locate_sift_request_msg& b) {
  1410. a.Swap(&b);
  1411. }
  1412. // implements Message ----------------------------------------------
  1413. inline Locate_sift_request_msg* New() const final {
  1414. return CreateMaybeMessage<Locate_sift_request_msg>(NULL);
  1415. }
  1416. Locate_sift_request_msg* New(::google::protobuf::Arena* arena) const final {
  1417. return CreateMaybeMessage<Locate_sift_request_msg>(arena);
  1418. }
  1419. void CopyFrom(const ::google::protobuf::Message& from) final;
  1420. void MergeFrom(const ::google::protobuf::Message& from) final;
  1421. void CopyFrom(const Locate_sift_request_msg& from);
  1422. void MergeFrom(const Locate_sift_request_msg& from);
  1423. void Clear() final;
  1424. bool IsInitialized() const final;
  1425. size_t ByteSizeLong() const final;
  1426. bool MergePartialFromCodedStream(
  1427. ::google::protobuf::io::CodedInputStream* input) final;
  1428. void SerializeWithCachedSizes(
  1429. ::google::protobuf::io::CodedOutputStream* output) const final;
  1430. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1431. bool deterministic, ::google::protobuf::uint8* target) const final;
  1432. int GetCachedSize() const final { return _cached_size_.Get(); }
  1433. private:
  1434. void SharedCtor();
  1435. void SharedDtor();
  1436. void SetCachedSize(int size) const final;
  1437. void InternalSwap(Locate_sift_request_msg* other);
  1438. private:
  1439. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1440. return NULL;
  1441. }
  1442. inline void* MaybeArenaPtr() const {
  1443. return NULL;
  1444. }
  1445. public:
  1446. ::google::protobuf::Metadata GetMetadata() const final;
  1447. // nested types ----------------------------------------------------
  1448. // accessors -------------------------------------------------------
  1449. // repeated .message.Cloud_coordinate cloud_coordinates = 5;
  1450. int cloud_coordinates_size() const;
  1451. void clear_cloud_coordinates();
  1452. static const int kCloudCoordinatesFieldNumber = 5;
  1453. ::message::Cloud_coordinate* mutable_cloud_coordinates(int index);
  1454. ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >*
  1455. mutable_cloud_coordinates();
  1456. const ::message::Cloud_coordinate& cloud_coordinates(int index) const;
  1457. ::message::Cloud_coordinate* add_cloud_coordinates();
  1458. const ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >&
  1459. cloud_coordinates() const;
  1460. // required string command_key = 2;
  1461. bool has_command_key() const;
  1462. void clear_command_key();
  1463. static const int kCommandKeyFieldNumber = 2;
  1464. const ::std::string& command_key() const;
  1465. void set_command_key(const ::std::string& value);
  1466. #if LANG_CXX11
  1467. void set_command_key(::std::string&& value);
  1468. #endif
  1469. void set_command_key(const char* value);
  1470. void set_command_key(const char* value, size_t size);
  1471. ::std::string* mutable_command_key();
  1472. ::std::string* release_command_key();
  1473. void set_allocated_command_key(::std::string* command_key);
  1474. // required .message.Base_info base_info = 1;
  1475. bool has_base_info() const;
  1476. void clear_base_info();
  1477. static const int kBaseInfoFieldNumber = 1;
  1478. private:
  1479. const ::message::Base_info& _internal_base_info() const;
  1480. public:
  1481. const ::message::Base_info& base_info() const;
  1482. ::message::Base_info* release_base_info();
  1483. ::message::Base_info* mutable_base_info();
  1484. void set_allocated_base_info(::message::Base_info* base_info);
  1485. // required int32 terminal_id = 3;
  1486. bool has_terminal_id() const;
  1487. void clear_terminal_id();
  1488. static const int kTerminalIdFieldNumber = 3;
  1489. ::google::protobuf::int32 terminal_id() const;
  1490. void set_terminal_id(::google::protobuf::int32 value);
  1491. // required int32 lidar_id = 4;
  1492. bool has_lidar_id() const;
  1493. void clear_lidar_id();
  1494. static const int kLidarIdFieldNumber = 4;
  1495. ::google::protobuf::int32 lidar_id() const;
  1496. void set_lidar_id(::google::protobuf::int32 value);
  1497. // @@protoc_insertion_point(class_scope:message.Locate_sift_request_msg)
  1498. private:
  1499. void set_has_base_info();
  1500. void clear_has_base_info();
  1501. void set_has_command_key();
  1502. void clear_has_command_key();
  1503. void set_has_terminal_id();
  1504. void clear_has_terminal_id();
  1505. void set_has_lidar_id();
  1506. void clear_has_lidar_id();
  1507. // helper for ByteSizeLong()
  1508. size_t RequiredFieldsByteSizeFallback() const;
  1509. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1510. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1511. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1512. ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate > cloud_coordinates_;
  1513. ::google::protobuf::internal::ArenaStringPtr command_key_;
  1514. ::message::Base_info* base_info_;
  1515. ::google::protobuf::int32 terminal_id_;
  1516. ::google::protobuf::int32 lidar_id_;
  1517. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  1518. };
  1519. // -------------------------------------------------------------------
  1520. class Locate_sift_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_sift_response_msg) */ {
  1521. public:
  1522. Locate_sift_response_msg();
  1523. virtual ~Locate_sift_response_msg();
  1524. Locate_sift_response_msg(const Locate_sift_response_msg& from);
  1525. inline Locate_sift_response_msg& operator=(const Locate_sift_response_msg& from) {
  1526. CopyFrom(from);
  1527. return *this;
  1528. }
  1529. #if LANG_CXX11
  1530. Locate_sift_response_msg(Locate_sift_response_msg&& from) noexcept
  1531. : Locate_sift_response_msg() {
  1532. *this = ::std::move(from);
  1533. }
  1534. inline Locate_sift_response_msg& operator=(Locate_sift_response_msg&& from) noexcept {
  1535. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1536. if (this != &from) InternalSwap(&from);
  1537. } else {
  1538. CopyFrom(from);
  1539. }
  1540. return *this;
  1541. }
  1542. #endif
  1543. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1544. return _internal_metadata_.unknown_fields();
  1545. }
  1546. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1547. return _internal_metadata_.mutable_unknown_fields();
  1548. }
  1549. static const ::google::protobuf::Descriptor* descriptor();
  1550. static const Locate_sift_response_msg& default_instance();
  1551. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1552. static inline const Locate_sift_response_msg* internal_default_instance() {
  1553. return reinterpret_cast<const Locate_sift_response_msg*>(
  1554. &_Locate_sift_response_msg_default_instance_);
  1555. }
  1556. static constexpr int kIndexInFileMessages =
  1557. 9;
  1558. void Swap(Locate_sift_response_msg* other);
  1559. friend void swap(Locate_sift_response_msg& a, Locate_sift_response_msg& b) {
  1560. a.Swap(&b);
  1561. }
  1562. // implements Message ----------------------------------------------
  1563. inline Locate_sift_response_msg* New() const final {
  1564. return CreateMaybeMessage<Locate_sift_response_msg>(NULL);
  1565. }
  1566. Locate_sift_response_msg* New(::google::protobuf::Arena* arena) const final {
  1567. return CreateMaybeMessage<Locate_sift_response_msg>(arena);
  1568. }
  1569. void CopyFrom(const ::google::protobuf::Message& from) final;
  1570. void MergeFrom(const ::google::protobuf::Message& from) final;
  1571. void CopyFrom(const Locate_sift_response_msg& from);
  1572. void MergeFrom(const Locate_sift_response_msg& from);
  1573. void Clear() final;
  1574. bool IsInitialized() const final;
  1575. size_t ByteSizeLong() const final;
  1576. bool MergePartialFromCodedStream(
  1577. ::google::protobuf::io::CodedInputStream* input) final;
  1578. void SerializeWithCachedSizes(
  1579. ::google::protobuf::io::CodedOutputStream* output) const final;
  1580. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1581. bool deterministic, ::google::protobuf::uint8* target) const final;
  1582. int GetCachedSize() const final { return _cached_size_.Get(); }
  1583. private:
  1584. void SharedCtor();
  1585. void SharedDtor();
  1586. void SetCachedSize(int size) const final;
  1587. void InternalSwap(Locate_sift_response_msg* other);
  1588. private:
  1589. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1590. return NULL;
  1591. }
  1592. inline void* MaybeArenaPtr() const {
  1593. return NULL;
  1594. }
  1595. public:
  1596. ::google::protobuf::Metadata GetMetadata() const final;
  1597. // nested types ----------------------------------------------------
  1598. // accessors -------------------------------------------------------
  1599. // repeated .message.Cloud_type cloud_type = 5;
  1600. int cloud_type_size() const;
  1601. void clear_cloud_type();
  1602. static const int kCloudTypeFieldNumber = 5;
  1603. ::message::Cloud_type* mutable_cloud_type(int index);
  1604. ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >*
  1605. mutable_cloud_type();
  1606. const ::message::Cloud_type& cloud_type(int index) const;
  1607. ::message::Cloud_type* add_cloud_type();
  1608. const ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >&
  1609. cloud_type() const;
  1610. // required string command_key = 2;
  1611. bool has_command_key() const;
  1612. void clear_command_key();
  1613. static const int kCommandKeyFieldNumber = 2;
  1614. const ::std::string& command_key() const;
  1615. void set_command_key(const ::std::string& value);
  1616. #if LANG_CXX11
  1617. void set_command_key(::std::string&& value);
  1618. #endif
  1619. void set_command_key(const char* value);
  1620. void set_command_key(const char* value, size_t size);
  1621. ::std::string* mutable_command_key();
  1622. ::std::string* release_command_key();
  1623. void set_allocated_command_key(::std::string* command_key);
  1624. // required .message.Base_info base_info = 1;
  1625. bool has_base_info() const;
  1626. void clear_base_info();
  1627. static const int kBaseInfoFieldNumber = 1;
  1628. private:
  1629. const ::message::Base_info& _internal_base_info() const;
  1630. public:
  1631. const ::message::Base_info& base_info() const;
  1632. ::message::Base_info* release_base_info();
  1633. ::message::Base_info* mutable_base_info();
  1634. void set_allocated_base_info(::message::Base_info* base_info);
  1635. // required .message.Error_manager error_manager = 6;
  1636. bool has_error_manager() const;
  1637. void clear_error_manager();
  1638. static const int kErrorManagerFieldNumber = 6;
  1639. private:
  1640. const ::message::Error_manager& _internal_error_manager() const;
  1641. public:
  1642. const ::message::Error_manager& error_manager() const;
  1643. ::message::Error_manager* release_error_manager();
  1644. ::message::Error_manager* mutable_error_manager();
  1645. void set_allocated_error_manager(::message::Error_manager* error_manager);
  1646. // required int32 terminal_id = 3;
  1647. bool has_terminal_id() const;
  1648. void clear_terminal_id();
  1649. static const int kTerminalIdFieldNumber = 3;
  1650. ::google::protobuf::int32 terminal_id() const;
  1651. void set_terminal_id(::google::protobuf::int32 value);
  1652. // required int32 lidar_id = 4;
  1653. bool has_lidar_id() const;
  1654. void clear_lidar_id();
  1655. static const int kLidarIdFieldNumber = 4;
  1656. ::google::protobuf::int32 lidar_id() const;
  1657. void set_lidar_id(::google::protobuf::int32 value);
  1658. // @@protoc_insertion_point(class_scope:message.Locate_sift_response_msg)
  1659. private:
  1660. void set_has_base_info();
  1661. void clear_has_base_info();
  1662. void set_has_command_key();
  1663. void clear_has_command_key();
  1664. void set_has_terminal_id();
  1665. void clear_has_terminal_id();
  1666. void set_has_lidar_id();
  1667. void clear_has_lidar_id();
  1668. void set_has_error_manager();
  1669. void clear_has_error_manager();
  1670. // helper for ByteSizeLong()
  1671. size_t RequiredFieldsByteSizeFallback() const;
  1672. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1673. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1674. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1675. ::google::protobuf::RepeatedPtrField< ::message::Cloud_type > cloud_type_;
  1676. ::google::protobuf::internal::ArenaStringPtr command_key_;
  1677. ::message::Base_info* base_info_;
  1678. ::message::Error_manager* error_manager_;
  1679. ::google::protobuf::int32 terminal_id_;
  1680. ::google::protobuf::int32 lidar_id_;
  1681. friend struct ::protobuf_measure_5fmessage_2eproto::TableStruct;
  1682. };
  1683. // ===================================================================
  1684. // ===================================================================
  1685. #ifdef __GNUC__
  1686. #pragma GCC diagnostic push
  1687. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1688. #endif // __GNUC__
  1689. // Measure_status_msg
  1690. // required .message.Base_info base_info = 1;
  1691. inline bool Measure_status_msg::has_base_info() const {
  1692. return (_has_bits_[0] & 0x00000001u) != 0;
  1693. }
  1694. inline void Measure_status_msg::set_has_base_info() {
  1695. _has_bits_[0] |= 0x00000001u;
  1696. }
  1697. inline void Measure_status_msg::clear_has_base_info() {
  1698. _has_bits_[0] &= ~0x00000001u;
  1699. }
  1700. inline const ::message::Base_info& Measure_status_msg::_internal_base_info() const {
  1701. return *base_info_;
  1702. }
  1703. inline const ::message::Base_info& Measure_status_msg::base_info() const {
  1704. const ::message::Base_info* p = base_info_;
  1705. // @@protoc_insertion_point(field_get:message.Measure_status_msg.base_info)
  1706. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1707. &::message::_Base_info_default_instance_);
  1708. }
  1709. inline ::message::Base_info* Measure_status_msg::release_base_info() {
  1710. // @@protoc_insertion_point(field_release:message.Measure_status_msg.base_info)
  1711. clear_has_base_info();
  1712. ::message::Base_info* temp = base_info_;
  1713. base_info_ = NULL;
  1714. return temp;
  1715. }
  1716. inline ::message::Base_info* Measure_status_msg::mutable_base_info() {
  1717. set_has_base_info();
  1718. if (base_info_ == NULL) {
  1719. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1720. base_info_ = p;
  1721. }
  1722. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.base_info)
  1723. return base_info_;
  1724. }
  1725. inline void Measure_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1726. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1727. if (message_arena == NULL) {
  1728. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1729. }
  1730. if (base_info) {
  1731. ::google::protobuf::Arena* submessage_arena = NULL;
  1732. if (message_arena != submessage_arena) {
  1733. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1734. message_arena, base_info, submessage_arena);
  1735. }
  1736. set_has_base_info();
  1737. } else {
  1738. clear_has_base_info();
  1739. }
  1740. base_info_ = base_info;
  1741. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.base_info)
  1742. }
  1743. // required int32 terminal_id = 2;
  1744. inline bool Measure_status_msg::has_terminal_id() const {
  1745. return (_has_bits_[0] & 0x00000004u) != 0;
  1746. }
  1747. inline void Measure_status_msg::set_has_terminal_id() {
  1748. _has_bits_[0] |= 0x00000004u;
  1749. }
  1750. inline void Measure_status_msg::clear_has_terminal_id() {
  1751. _has_bits_[0] &= ~0x00000004u;
  1752. }
  1753. inline void Measure_status_msg::clear_terminal_id() {
  1754. terminal_id_ = 0;
  1755. clear_has_terminal_id();
  1756. }
  1757. inline ::google::protobuf::int32 Measure_status_msg::terminal_id() const {
  1758. // @@protoc_insertion_point(field_get:message.Measure_status_msg.terminal_id)
  1759. return terminal_id_;
  1760. }
  1761. inline void Measure_status_msg::set_terminal_id(::google::protobuf::int32 value) {
  1762. set_has_terminal_id();
  1763. terminal_id_ = value;
  1764. // @@protoc_insertion_point(field_set:message.Measure_status_msg.terminal_id)
  1765. }
  1766. // required .message.Laser_manager_status laser_manager_status = 3;
  1767. inline bool Measure_status_msg::has_laser_manager_status() const {
  1768. return (_has_bits_[0] & 0x00000008u) != 0;
  1769. }
  1770. inline void Measure_status_msg::set_has_laser_manager_status() {
  1771. _has_bits_[0] |= 0x00000008u;
  1772. }
  1773. inline void Measure_status_msg::clear_has_laser_manager_status() {
  1774. _has_bits_[0] &= ~0x00000008u;
  1775. }
  1776. inline void Measure_status_msg::clear_laser_manager_status() {
  1777. laser_manager_status_ = 0;
  1778. clear_has_laser_manager_status();
  1779. }
  1780. inline ::message::Laser_manager_status Measure_status_msg::laser_manager_status() const {
  1781. // @@protoc_insertion_point(field_get:message.Measure_status_msg.laser_manager_status)
  1782. return static_cast< ::message::Laser_manager_status >(laser_manager_status_);
  1783. }
  1784. inline void Measure_status_msg::set_laser_manager_status(::message::Laser_manager_status value) {
  1785. assert(::message::Laser_manager_status_IsValid(value));
  1786. set_has_laser_manager_status();
  1787. laser_manager_status_ = value;
  1788. // @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_manager_status)
  1789. }
  1790. // repeated .message.Laser_statu laser_statu_vector = 4;
  1791. inline int Measure_status_msg::laser_statu_vector_size() const {
  1792. return laser_statu_vector_.size();
  1793. }
  1794. inline void Measure_status_msg::clear_laser_statu_vector() {
  1795. laser_statu_vector_.Clear();
  1796. }
  1797. inline ::message::Laser_statu Measure_status_msg::laser_statu_vector(int index) const {
  1798. // @@protoc_insertion_point(field_get:message.Measure_status_msg.laser_statu_vector)
  1799. return static_cast< ::message::Laser_statu >(laser_statu_vector_.Get(index));
  1800. }
  1801. inline void Measure_status_msg::set_laser_statu_vector(int index, ::message::Laser_statu value) {
  1802. assert(::message::Laser_statu_IsValid(value));
  1803. laser_statu_vector_.Set(index, value);
  1804. // @@protoc_insertion_point(field_set:message.Measure_status_msg.laser_statu_vector)
  1805. }
  1806. inline void Measure_status_msg::add_laser_statu_vector(::message::Laser_statu value) {
  1807. assert(::message::Laser_statu_IsValid(value));
  1808. laser_statu_vector_.Add(value);
  1809. // @@protoc_insertion_point(field_add:message.Measure_status_msg.laser_statu_vector)
  1810. }
  1811. inline const ::google::protobuf::RepeatedField<int>&
  1812. Measure_status_msg::laser_statu_vector() const {
  1813. // @@protoc_insertion_point(field_list:message.Measure_status_msg.laser_statu_vector)
  1814. return laser_statu_vector_;
  1815. }
  1816. inline ::google::protobuf::RepeatedField<int>*
  1817. Measure_status_msg::mutable_laser_statu_vector() {
  1818. // @@protoc_insertion_point(field_mutable_list:message.Measure_status_msg.laser_statu_vector)
  1819. return &laser_statu_vector_;
  1820. }
  1821. // required .message.Locate_manager_status locate_manager_status = 5;
  1822. inline bool Measure_status_msg::has_locate_manager_status() const {
  1823. return (_has_bits_[0] & 0x00000010u) != 0;
  1824. }
  1825. inline void Measure_status_msg::set_has_locate_manager_status() {
  1826. _has_bits_[0] |= 0x00000010u;
  1827. }
  1828. inline void Measure_status_msg::clear_has_locate_manager_status() {
  1829. _has_bits_[0] &= ~0x00000010u;
  1830. }
  1831. inline void Measure_status_msg::clear_locate_manager_status() {
  1832. locate_manager_status_ = 0;
  1833. clear_has_locate_manager_status();
  1834. }
  1835. inline ::message::Locate_manager_status Measure_status_msg::locate_manager_status() const {
  1836. // @@protoc_insertion_point(field_get:message.Measure_status_msg.locate_manager_status)
  1837. return static_cast< ::message::Locate_manager_status >(locate_manager_status_);
  1838. }
  1839. inline void Measure_status_msg::set_locate_manager_status(::message::Locate_manager_status value) {
  1840. assert(::message::Locate_manager_status_IsValid(value));
  1841. set_has_locate_manager_status();
  1842. locate_manager_status_ = value;
  1843. // @@protoc_insertion_point(field_set:message.Measure_status_msg.locate_manager_status)
  1844. }
  1845. // required .message.Error_manager error_manager = 6;
  1846. inline bool Measure_status_msg::has_error_manager() const {
  1847. return (_has_bits_[0] & 0x00000002u) != 0;
  1848. }
  1849. inline void Measure_status_msg::set_has_error_manager() {
  1850. _has_bits_[0] |= 0x00000002u;
  1851. }
  1852. inline void Measure_status_msg::clear_has_error_manager() {
  1853. _has_bits_[0] &= ~0x00000002u;
  1854. }
  1855. inline const ::message::Error_manager& Measure_status_msg::_internal_error_manager() const {
  1856. return *error_manager_;
  1857. }
  1858. inline const ::message::Error_manager& Measure_status_msg::error_manager() const {
  1859. const ::message::Error_manager* p = error_manager_;
  1860. // @@protoc_insertion_point(field_get:message.Measure_status_msg.error_manager)
  1861. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1862. &::message::_Error_manager_default_instance_);
  1863. }
  1864. inline ::message::Error_manager* Measure_status_msg::release_error_manager() {
  1865. // @@protoc_insertion_point(field_release:message.Measure_status_msg.error_manager)
  1866. clear_has_error_manager();
  1867. ::message::Error_manager* temp = error_manager_;
  1868. error_manager_ = NULL;
  1869. return temp;
  1870. }
  1871. inline ::message::Error_manager* Measure_status_msg::mutable_error_manager() {
  1872. set_has_error_manager();
  1873. if (error_manager_ == NULL) {
  1874. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  1875. error_manager_ = p;
  1876. }
  1877. // @@protoc_insertion_point(field_mutable:message.Measure_status_msg.error_manager)
  1878. return error_manager_;
  1879. }
  1880. inline void Measure_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1881. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1882. if (message_arena == NULL) {
  1883. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1884. }
  1885. if (error_manager) {
  1886. ::google::protobuf::Arena* submessage_arena = NULL;
  1887. if (message_arena != submessage_arena) {
  1888. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1889. message_arena, error_manager, submessage_arena);
  1890. }
  1891. set_has_error_manager();
  1892. } else {
  1893. clear_has_error_manager();
  1894. }
  1895. error_manager_ = error_manager;
  1896. // @@protoc_insertion_point(field_set_allocated:message.Measure_status_msg.error_manager)
  1897. }
  1898. // -------------------------------------------------------------------
  1899. // Measure_request_msg
  1900. // required .message.Base_info base_info = 1;
  1901. inline bool Measure_request_msg::has_base_info() const {
  1902. return (_has_bits_[0] & 0x00000002u) != 0;
  1903. }
  1904. inline void Measure_request_msg::set_has_base_info() {
  1905. _has_bits_[0] |= 0x00000002u;
  1906. }
  1907. inline void Measure_request_msg::clear_has_base_info() {
  1908. _has_bits_[0] &= ~0x00000002u;
  1909. }
  1910. inline const ::message::Base_info& Measure_request_msg::_internal_base_info() const {
  1911. return *base_info_;
  1912. }
  1913. inline const ::message::Base_info& Measure_request_msg::base_info() const {
  1914. const ::message::Base_info* p = base_info_;
  1915. // @@protoc_insertion_point(field_get:message.Measure_request_msg.base_info)
  1916. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1917. &::message::_Base_info_default_instance_);
  1918. }
  1919. inline ::message::Base_info* Measure_request_msg::release_base_info() {
  1920. // @@protoc_insertion_point(field_release:message.Measure_request_msg.base_info)
  1921. clear_has_base_info();
  1922. ::message::Base_info* temp = base_info_;
  1923. base_info_ = NULL;
  1924. return temp;
  1925. }
  1926. inline ::message::Base_info* Measure_request_msg::mutable_base_info() {
  1927. set_has_base_info();
  1928. if (base_info_ == NULL) {
  1929. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  1930. base_info_ = p;
  1931. }
  1932. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.base_info)
  1933. return base_info_;
  1934. }
  1935. inline void Measure_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1936. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1937. if (message_arena == NULL) {
  1938. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1939. }
  1940. if (base_info) {
  1941. ::google::protobuf::Arena* submessage_arena = NULL;
  1942. if (message_arena != submessage_arena) {
  1943. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1944. message_arena, base_info, submessage_arena);
  1945. }
  1946. set_has_base_info();
  1947. } else {
  1948. clear_has_base_info();
  1949. }
  1950. base_info_ = base_info;
  1951. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.base_info)
  1952. }
  1953. // required string command_key = 2;
  1954. inline bool Measure_request_msg::has_command_key() const {
  1955. return (_has_bits_[0] & 0x00000001u) != 0;
  1956. }
  1957. inline void Measure_request_msg::set_has_command_key() {
  1958. _has_bits_[0] |= 0x00000001u;
  1959. }
  1960. inline void Measure_request_msg::clear_has_command_key() {
  1961. _has_bits_[0] &= ~0x00000001u;
  1962. }
  1963. inline void Measure_request_msg::clear_command_key() {
  1964. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1965. clear_has_command_key();
  1966. }
  1967. inline const ::std::string& Measure_request_msg::command_key() const {
  1968. // @@protoc_insertion_point(field_get:message.Measure_request_msg.command_key)
  1969. return command_key_.GetNoArena();
  1970. }
  1971. inline void Measure_request_msg::set_command_key(const ::std::string& value) {
  1972. set_has_command_key();
  1973. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1974. // @@protoc_insertion_point(field_set:message.Measure_request_msg.command_key)
  1975. }
  1976. #if LANG_CXX11
  1977. inline void Measure_request_msg::set_command_key(::std::string&& value) {
  1978. set_has_command_key();
  1979. command_key_.SetNoArena(
  1980. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1981. // @@protoc_insertion_point(field_set_rvalue:message.Measure_request_msg.command_key)
  1982. }
  1983. #endif
  1984. inline void Measure_request_msg::set_command_key(const char* value) {
  1985. GOOGLE_DCHECK(value != NULL);
  1986. set_has_command_key();
  1987. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1988. // @@protoc_insertion_point(field_set_char:message.Measure_request_msg.command_key)
  1989. }
  1990. inline void Measure_request_msg::set_command_key(const char* value, size_t size) {
  1991. set_has_command_key();
  1992. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1993. ::std::string(reinterpret_cast<const char*>(value), size));
  1994. // @@protoc_insertion_point(field_set_pointer:message.Measure_request_msg.command_key)
  1995. }
  1996. inline ::std::string* Measure_request_msg::mutable_command_key() {
  1997. set_has_command_key();
  1998. // @@protoc_insertion_point(field_mutable:message.Measure_request_msg.command_key)
  1999. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2000. }
  2001. inline ::std::string* Measure_request_msg::release_command_key() {
  2002. // @@protoc_insertion_point(field_release:message.Measure_request_msg.command_key)
  2003. if (!has_command_key()) {
  2004. return NULL;
  2005. }
  2006. clear_has_command_key();
  2007. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2008. }
  2009. inline void Measure_request_msg::set_allocated_command_key(::std::string* command_key) {
  2010. if (command_key != NULL) {
  2011. set_has_command_key();
  2012. } else {
  2013. clear_has_command_key();
  2014. }
  2015. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2016. // @@protoc_insertion_point(field_set_allocated:message.Measure_request_msg.command_key)
  2017. }
  2018. // required int32 terminal_id = 3;
  2019. inline bool Measure_request_msg::has_terminal_id() const {
  2020. return (_has_bits_[0] & 0x00000004u) != 0;
  2021. }
  2022. inline void Measure_request_msg::set_has_terminal_id() {
  2023. _has_bits_[0] |= 0x00000004u;
  2024. }
  2025. inline void Measure_request_msg::clear_has_terminal_id() {
  2026. _has_bits_[0] &= ~0x00000004u;
  2027. }
  2028. inline void Measure_request_msg::clear_terminal_id() {
  2029. terminal_id_ = 0;
  2030. clear_has_terminal_id();
  2031. }
  2032. inline ::google::protobuf::int32 Measure_request_msg::terminal_id() const {
  2033. // @@protoc_insertion_point(field_get:message.Measure_request_msg.terminal_id)
  2034. return terminal_id_;
  2035. }
  2036. inline void Measure_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  2037. set_has_terminal_id();
  2038. terminal_id_ = value;
  2039. // @@protoc_insertion_point(field_set:message.Measure_request_msg.terminal_id)
  2040. }
  2041. // -------------------------------------------------------------------
  2042. // Measure_response_msg
  2043. // required .message.Base_info base_info = 1;
  2044. inline bool Measure_response_msg::has_base_info() const {
  2045. return (_has_bits_[0] & 0x00000002u) != 0;
  2046. }
  2047. inline void Measure_response_msg::set_has_base_info() {
  2048. _has_bits_[0] |= 0x00000002u;
  2049. }
  2050. inline void Measure_response_msg::clear_has_base_info() {
  2051. _has_bits_[0] &= ~0x00000002u;
  2052. }
  2053. inline const ::message::Base_info& Measure_response_msg::_internal_base_info() const {
  2054. return *base_info_;
  2055. }
  2056. inline const ::message::Base_info& Measure_response_msg::base_info() const {
  2057. const ::message::Base_info* p = base_info_;
  2058. // @@protoc_insertion_point(field_get:message.Measure_response_msg.base_info)
  2059. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2060. &::message::_Base_info_default_instance_);
  2061. }
  2062. inline ::message::Base_info* Measure_response_msg::release_base_info() {
  2063. // @@protoc_insertion_point(field_release:message.Measure_response_msg.base_info)
  2064. clear_has_base_info();
  2065. ::message::Base_info* temp = base_info_;
  2066. base_info_ = NULL;
  2067. return temp;
  2068. }
  2069. inline ::message::Base_info* Measure_response_msg::mutable_base_info() {
  2070. set_has_base_info();
  2071. if (base_info_ == NULL) {
  2072. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  2073. base_info_ = p;
  2074. }
  2075. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.base_info)
  2076. return base_info_;
  2077. }
  2078. inline void Measure_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2079. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2080. if (message_arena == NULL) {
  2081. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2082. }
  2083. if (base_info) {
  2084. ::google::protobuf::Arena* submessage_arena = NULL;
  2085. if (message_arena != submessage_arena) {
  2086. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2087. message_arena, base_info, submessage_arena);
  2088. }
  2089. set_has_base_info();
  2090. } else {
  2091. clear_has_base_info();
  2092. }
  2093. base_info_ = base_info;
  2094. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.base_info)
  2095. }
  2096. // required string command_key = 2;
  2097. inline bool Measure_response_msg::has_command_key() const {
  2098. return (_has_bits_[0] & 0x00000001u) != 0;
  2099. }
  2100. inline void Measure_response_msg::set_has_command_key() {
  2101. _has_bits_[0] |= 0x00000001u;
  2102. }
  2103. inline void Measure_response_msg::clear_has_command_key() {
  2104. _has_bits_[0] &= ~0x00000001u;
  2105. }
  2106. inline void Measure_response_msg::clear_command_key() {
  2107. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2108. clear_has_command_key();
  2109. }
  2110. inline const ::std::string& Measure_response_msg::command_key() const {
  2111. // @@protoc_insertion_point(field_get:message.Measure_response_msg.command_key)
  2112. return command_key_.GetNoArena();
  2113. }
  2114. inline void Measure_response_msg::set_command_key(const ::std::string& value) {
  2115. set_has_command_key();
  2116. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2117. // @@protoc_insertion_point(field_set:message.Measure_response_msg.command_key)
  2118. }
  2119. #if LANG_CXX11
  2120. inline void Measure_response_msg::set_command_key(::std::string&& value) {
  2121. set_has_command_key();
  2122. command_key_.SetNoArena(
  2123. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2124. // @@protoc_insertion_point(field_set_rvalue:message.Measure_response_msg.command_key)
  2125. }
  2126. #endif
  2127. inline void Measure_response_msg::set_command_key(const char* value) {
  2128. GOOGLE_DCHECK(value != NULL);
  2129. set_has_command_key();
  2130. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2131. // @@protoc_insertion_point(field_set_char:message.Measure_response_msg.command_key)
  2132. }
  2133. inline void Measure_response_msg::set_command_key(const char* value, size_t size) {
  2134. set_has_command_key();
  2135. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2136. ::std::string(reinterpret_cast<const char*>(value), size));
  2137. // @@protoc_insertion_point(field_set_pointer:message.Measure_response_msg.command_key)
  2138. }
  2139. inline ::std::string* Measure_response_msg::mutable_command_key() {
  2140. set_has_command_key();
  2141. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.command_key)
  2142. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2143. }
  2144. inline ::std::string* Measure_response_msg::release_command_key() {
  2145. // @@protoc_insertion_point(field_release:message.Measure_response_msg.command_key)
  2146. if (!has_command_key()) {
  2147. return NULL;
  2148. }
  2149. clear_has_command_key();
  2150. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2151. }
  2152. inline void Measure_response_msg::set_allocated_command_key(::std::string* command_key) {
  2153. if (command_key != NULL) {
  2154. set_has_command_key();
  2155. } else {
  2156. clear_has_command_key();
  2157. }
  2158. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2159. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.command_key)
  2160. }
  2161. // required int32 terminal_id = 3;
  2162. inline bool Measure_response_msg::has_terminal_id() const {
  2163. return (_has_bits_[0] & 0x00000010u) != 0;
  2164. }
  2165. inline void Measure_response_msg::set_has_terminal_id() {
  2166. _has_bits_[0] |= 0x00000010u;
  2167. }
  2168. inline void Measure_response_msg::clear_has_terminal_id() {
  2169. _has_bits_[0] &= ~0x00000010u;
  2170. }
  2171. inline void Measure_response_msg::clear_terminal_id() {
  2172. terminal_id_ = 0;
  2173. clear_has_terminal_id();
  2174. }
  2175. inline ::google::protobuf::int32 Measure_response_msg::terminal_id() const {
  2176. // @@protoc_insertion_point(field_get:message.Measure_response_msg.terminal_id)
  2177. return terminal_id_;
  2178. }
  2179. inline void Measure_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  2180. set_has_terminal_id();
  2181. terminal_id_ = value;
  2182. // @@protoc_insertion_point(field_set:message.Measure_response_msg.terminal_id)
  2183. }
  2184. // optional .message.Locate_information locate_information = 4;
  2185. inline bool Measure_response_msg::has_locate_information() const {
  2186. return (_has_bits_[0] & 0x00000004u) != 0;
  2187. }
  2188. inline void Measure_response_msg::set_has_locate_information() {
  2189. _has_bits_[0] |= 0x00000004u;
  2190. }
  2191. inline void Measure_response_msg::clear_has_locate_information() {
  2192. _has_bits_[0] &= ~0x00000004u;
  2193. }
  2194. inline const ::message::Locate_information& Measure_response_msg::_internal_locate_information() const {
  2195. return *locate_information_;
  2196. }
  2197. inline const ::message::Locate_information& Measure_response_msg::locate_information() const {
  2198. const ::message::Locate_information* p = locate_information_;
  2199. // @@protoc_insertion_point(field_get:message.Measure_response_msg.locate_information)
  2200. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  2201. &::message::_Locate_information_default_instance_);
  2202. }
  2203. inline ::message::Locate_information* Measure_response_msg::release_locate_information() {
  2204. // @@protoc_insertion_point(field_release:message.Measure_response_msg.locate_information)
  2205. clear_has_locate_information();
  2206. ::message::Locate_information* temp = locate_information_;
  2207. locate_information_ = NULL;
  2208. return temp;
  2209. }
  2210. inline ::message::Locate_information* Measure_response_msg::mutable_locate_information() {
  2211. set_has_locate_information();
  2212. if (locate_information_ == NULL) {
  2213. auto* p = CreateMaybeMessage<::message::Locate_information>(GetArenaNoVirtual());
  2214. locate_information_ = p;
  2215. }
  2216. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.locate_information)
  2217. return locate_information_;
  2218. }
  2219. inline void Measure_response_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  2220. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2221. if (message_arena == NULL) {
  2222. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  2223. }
  2224. if (locate_information) {
  2225. ::google::protobuf::Arena* submessage_arena = NULL;
  2226. if (message_arena != submessage_arena) {
  2227. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  2228. message_arena, locate_information, submessage_arena);
  2229. }
  2230. set_has_locate_information();
  2231. } else {
  2232. clear_has_locate_information();
  2233. }
  2234. locate_information_ = locate_information;
  2235. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.locate_information)
  2236. }
  2237. // required .message.Error_manager error_manager = 5;
  2238. inline bool Measure_response_msg::has_error_manager() const {
  2239. return (_has_bits_[0] & 0x00000008u) != 0;
  2240. }
  2241. inline void Measure_response_msg::set_has_error_manager() {
  2242. _has_bits_[0] |= 0x00000008u;
  2243. }
  2244. inline void Measure_response_msg::clear_has_error_manager() {
  2245. _has_bits_[0] &= ~0x00000008u;
  2246. }
  2247. inline const ::message::Error_manager& Measure_response_msg::_internal_error_manager() const {
  2248. return *error_manager_;
  2249. }
  2250. inline const ::message::Error_manager& Measure_response_msg::error_manager() const {
  2251. const ::message::Error_manager* p = error_manager_;
  2252. // @@protoc_insertion_point(field_get:message.Measure_response_msg.error_manager)
  2253. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2254. &::message::_Error_manager_default_instance_);
  2255. }
  2256. inline ::message::Error_manager* Measure_response_msg::release_error_manager() {
  2257. // @@protoc_insertion_point(field_release:message.Measure_response_msg.error_manager)
  2258. clear_has_error_manager();
  2259. ::message::Error_manager* temp = error_manager_;
  2260. error_manager_ = NULL;
  2261. return temp;
  2262. }
  2263. inline ::message::Error_manager* Measure_response_msg::mutable_error_manager() {
  2264. set_has_error_manager();
  2265. if (error_manager_ == NULL) {
  2266. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  2267. error_manager_ = p;
  2268. }
  2269. // @@protoc_insertion_point(field_mutable:message.Measure_response_msg.error_manager)
  2270. return error_manager_;
  2271. }
  2272. inline void Measure_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2273. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2274. if (message_arena == NULL) {
  2275. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2276. }
  2277. if (error_manager) {
  2278. ::google::protobuf::Arena* submessage_arena = NULL;
  2279. if (message_arena != submessage_arena) {
  2280. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2281. message_arena, error_manager, submessage_arena);
  2282. }
  2283. set_has_error_manager();
  2284. } else {
  2285. clear_has_error_manager();
  2286. }
  2287. error_manager_ = error_manager;
  2288. // @@protoc_insertion_point(field_set_allocated:message.Measure_response_msg.error_manager)
  2289. }
  2290. // -------------------------------------------------------------------
  2291. // Ground_detect_request_msg
  2292. // required .message.Base_info base_info = 1;
  2293. inline bool Ground_detect_request_msg::has_base_info() const {
  2294. return (_has_bits_[0] & 0x00000002u) != 0;
  2295. }
  2296. inline void Ground_detect_request_msg::set_has_base_info() {
  2297. _has_bits_[0] |= 0x00000002u;
  2298. }
  2299. inline void Ground_detect_request_msg::clear_has_base_info() {
  2300. _has_bits_[0] &= ~0x00000002u;
  2301. }
  2302. inline const ::message::Base_info& Ground_detect_request_msg::_internal_base_info() const {
  2303. return *base_info_;
  2304. }
  2305. inline const ::message::Base_info& Ground_detect_request_msg::base_info() const {
  2306. const ::message::Base_info* p = base_info_;
  2307. // @@protoc_insertion_point(field_get:message.Ground_detect_request_msg.base_info)
  2308. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2309. &::message::_Base_info_default_instance_);
  2310. }
  2311. inline ::message::Base_info* Ground_detect_request_msg::release_base_info() {
  2312. // @@protoc_insertion_point(field_release:message.Ground_detect_request_msg.base_info)
  2313. clear_has_base_info();
  2314. ::message::Base_info* temp = base_info_;
  2315. base_info_ = NULL;
  2316. return temp;
  2317. }
  2318. inline ::message::Base_info* Ground_detect_request_msg::mutable_base_info() {
  2319. set_has_base_info();
  2320. if (base_info_ == NULL) {
  2321. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  2322. base_info_ = p;
  2323. }
  2324. // @@protoc_insertion_point(field_mutable:message.Ground_detect_request_msg.base_info)
  2325. return base_info_;
  2326. }
  2327. inline void Ground_detect_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2328. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2329. if (message_arena == NULL) {
  2330. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2331. }
  2332. if (base_info) {
  2333. ::google::protobuf::Arena* submessage_arena = NULL;
  2334. if (message_arena != submessage_arena) {
  2335. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2336. message_arena, base_info, submessage_arena);
  2337. }
  2338. set_has_base_info();
  2339. } else {
  2340. clear_has_base_info();
  2341. }
  2342. base_info_ = base_info;
  2343. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_request_msg.base_info)
  2344. }
  2345. // required string command_key = 2;
  2346. inline bool Ground_detect_request_msg::has_command_key() const {
  2347. return (_has_bits_[0] & 0x00000001u) != 0;
  2348. }
  2349. inline void Ground_detect_request_msg::set_has_command_key() {
  2350. _has_bits_[0] |= 0x00000001u;
  2351. }
  2352. inline void Ground_detect_request_msg::clear_has_command_key() {
  2353. _has_bits_[0] &= ~0x00000001u;
  2354. }
  2355. inline void Ground_detect_request_msg::clear_command_key() {
  2356. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2357. clear_has_command_key();
  2358. }
  2359. inline const ::std::string& Ground_detect_request_msg::command_key() const {
  2360. // @@protoc_insertion_point(field_get:message.Ground_detect_request_msg.command_key)
  2361. return command_key_.GetNoArena();
  2362. }
  2363. inline void Ground_detect_request_msg::set_command_key(const ::std::string& value) {
  2364. set_has_command_key();
  2365. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2366. // @@protoc_insertion_point(field_set:message.Ground_detect_request_msg.command_key)
  2367. }
  2368. #if LANG_CXX11
  2369. inline void Ground_detect_request_msg::set_command_key(::std::string&& value) {
  2370. set_has_command_key();
  2371. command_key_.SetNoArena(
  2372. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2373. // @@protoc_insertion_point(field_set_rvalue:message.Ground_detect_request_msg.command_key)
  2374. }
  2375. #endif
  2376. inline void Ground_detect_request_msg::set_command_key(const char* value) {
  2377. GOOGLE_DCHECK(value != NULL);
  2378. set_has_command_key();
  2379. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2380. // @@protoc_insertion_point(field_set_char:message.Ground_detect_request_msg.command_key)
  2381. }
  2382. inline void Ground_detect_request_msg::set_command_key(const char* value, size_t size) {
  2383. set_has_command_key();
  2384. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2385. ::std::string(reinterpret_cast<const char*>(value), size));
  2386. // @@protoc_insertion_point(field_set_pointer:message.Ground_detect_request_msg.command_key)
  2387. }
  2388. inline ::std::string* Ground_detect_request_msg::mutable_command_key() {
  2389. set_has_command_key();
  2390. // @@protoc_insertion_point(field_mutable:message.Ground_detect_request_msg.command_key)
  2391. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2392. }
  2393. inline ::std::string* Ground_detect_request_msg::release_command_key() {
  2394. // @@protoc_insertion_point(field_release:message.Ground_detect_request_msg.command_key)
  2395. if (!has_command_key()) {
  2396. return NULL;
  2397. }
  2398. clear_has_command_key();
  2399. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2400. }
  2401. inline void Ground_detect_request_msg::set_allocated_command_key(::std::string* command_key) {
  2402. if (command_key != NULL) {
  2403. set_has_command_key();
  2404. } else {
  2405. clear_has_command_key();
  2406. }
  2407. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2408. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_request_msg.command_key)
  2409. }
  2410. // required int32 terminal_id = 3;
  2411. inline bool Ground_detect_request_msg::has_terminal_id() const {
  2412. return (_has_bits_[0] & 0x00000004u) != 0;
  2413. }
  2414. inline void Ground_detect_request_msg::set_has_terminal_id() {
  2415. _has_bits_[0] |= 0x00000004u;
  2416. }
  2417. inline void Ground_detect_request_msg::clear_has_terminal_id() {
  2418. _has_bits_[0] &= ~0x00000004u;
  2419. }
  2420. inline void Ground_detect_request_msg::clear_terminal_id() {
  2421. terminal_id_ = 0;
  2422. clear_has_terminal_id();
  2423. }
  2424. inline ::google::protobuf::int32 Ground_detect_request_msg::terminal_id() const {
  2425. // @@protoc_insertion_point(field_get:message.Ground_detect_request_msg.terminal_id)
  2426. return terminal_id_;
  2427. }
  2428. inline void Ground_detect_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  2429. set_has_terminal_id();
  2430. terminal_id_ = value;
  2431. // @@protoc_insertion_point(field_set:message.Ground_detect_request_msg.terminal_id)
  2432. }
  2433. // -------------------------------------------------------------------
  2434. // Ground_detect_response_msg
  2435. // required .message.Base_info base_info = 1;
  2436. inline bool Ground_detect_response_msg::has_base_info() const {
  2437. return (_has_bits_[0] & 0x00000002u) != 0;
  2438. }
  2439. inline void Ground_detect_response_msg::set_has_base_info() {
  2440. _has_bits_[0] |= 0x00000002u;
  2441. }
  2442. inline void Ground_detect_response_msg::clear_has_base_info() {
  2443. _has_bits_[0] &= ~0x00000002u;
  2444. }
  2445. inline const ::message::Base_info& Ground_detect_response_msg::_internal_base_info() const {
  2446. return *base_info_;
  2447. }
  2448. inline const ::message::Base_info& Ground_detect_response_msg::base_info() const {
  2449. const ::message::Base_info* p = base_info_;
  2450. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.base_info)
  2451. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2452. &::message::_Base_info_default_instance_);
  2453. }
  2454. inline ::message::Base_info* Ground_detect_response_msg::release_base_info() {
  2455. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.base_info)
  2456. clear_has_base_info();
  2457. ::message::Base_info* temp = base_info_;
  2458. base_info_ = NULL;
  2459. return temp;
  2460. }
  2461. inline ::message::Base_info* Ground_detect_response_msg::mutable_base_info() {
  2462. set_has_base_info();
  2463. if (base_info_ == NULL) {
  2464. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  2465. base_info_ = p;
  2466. }
  2467. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.base_info)
  2468. return base_info_;
  2469. }
  2470. inline void Ground_detect_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2471. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2472. if (message_arena == NULL) {
  2473. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2474. }
  2475. if (base_info) {
  2476. ::google::protobuf::Arena* submessage_arena = NULL;
  2477. if (message_arena != submessage_arena) {
  2478. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2479. message_arena, base_info, submessage_arena);
  2480. }
  2481. set_has_base_info();
  2482. } else {
  2483. clear_has_base_info();
  2484. }
  2485. base_info_ = base_info;
  2486. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.base_info)
  2487. }
  2488. // required string command_key = 2;
  2489. inline bool Ground_detect_response_msg::has_command_key() const {
  2490. return (_has_bits_[0] & 0x00000001u) != 0;
  2491. }
  2492. inline void Ground_detect_response_msg::set_has_command_key() {
  2493. _has_bits_[0] |= 0x00000001u;
  2494. }
  2495. inline void Ground_detect_response_msg::clear_has_command_key() {
  2496. _has_bits_[0] &= ~0x00000001u;
  2497. }
  2498. inline void Ground_detect_response_msg::clear_command_key() {
  2499. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2500. clear_has_command_key();
  2501. }
  2502. inline const ::std::string& Ground_detect_response_msg::command_key() const {
  2503. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.command_key)
  2504. return command_key_.GetNoArena();
  2505. }
  2506. inline void Ground_detect_response_msg::set_command_key(const ::std::string& value) {
  2507. set_has_command_key();
  2508. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2509. // @@protoc_insertion_point(field_set:message.Ground_detect_response_msg.command_key)
  2510. }
  2511. #if LANG_CXX11
  2512. inline void Ground_detect_response_msg::set_command_key(::std::string&& value) {
  2513. set_has_command_key();
  2514. command_key_.SetNoArena(
  2515. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2516. // @@protoc_insertion_point(field_set_rvalue:message.Ground_detect_response_msg.command_key)
  2517. }
  2518. #endif
  2519. inline void Ground_detect_response_msg::set_command_key(const char* value) {
  2520. GOOGLE_DCHECK(value != NULL);
  2521. set_has_command_key();
  2522. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2523. // @@protoc_insertion_point(field_set_char:message.Ground_detect_response_msg.command_key)
  2524. }
  2525. inline void Ground_detect_response_msg::set_command_key(const char* value, size_t size) {
  2526. set_has_command_key();
  2527. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2528. ::std::string(reinterpret_cast<const char*>(value), size));
  2529. // @@protoc_insertion_point(field_set_pointer:message.Ground_detect_response_msg.command_key)
  2530. }
  2531. inline ::std::string* Ground_detect_response_msg::mutable_command_key() {
  2532. set_has_command_key();
  2533. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.command_key)
  2534. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2535. }
  2536. inline ::std::string* Ground_detect_response_msg::release_command_key() {
  2537. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.command_key)
  2538. if (!has_command_key()) {
  2539. return NULL;
  2540. }
  2541. clear_has_command_key();
  2542. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2543. }
  2544. inline void Ground_detect_response_msg::set_allocated_command_key(::std::string* command_key) {
  2545. if (command_key != NULL) {
  2546. set_has_command_key();
  2547. } else {
  2548. clear_has_command_key();
  2549. }
  2550. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  2551. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.command_key)
  2552. }
  2553. // required int32 terminal_id = 3;
  2554. inline bool Ground_detect_response_msg::has_terminal_id() const {
  2555. return (_has_bits_[0] & 0x00000010u) != 0;
  2556. }
  2557. inline void Ground_detect_response_msg::set_has_terminal_id() {
  2558. _has_bits_[0] |= 0x00000010u;
  2559. }
  2560. inline void Ground_detect_response_msg::clear_has_terminal_id() {
  2561. _has_bits_[0] &= ~0x00000010u;
  2562. }
  2563. inline void Ground_detect_response_msg::clear_terminal_id() {
  2564. terminal_id_ = 0;
  2565. clear_has_terminal_id();
  2566. }
  2567. inline ::google::protobuf::int32 Ground_detect_response_msg::terminal_id() const {
  2568. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.terminal_id)
  2569. return terminal_id_;
  2570. }
  2571. inline void Ground_detect_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  2572. set_has_terminal_id();
  2573. terminal_id_ = value;
  2574. // @@protoc_insertion_point(field_set:message.Ground_detect_response_msg.terminal_id)
  2575. }
  2576. // optional .message.Locate_information locate_information = 4;
  2577. inline bool Ground_detect_response_msg::has_locate_information() const {
  2578. return (_has_bits_[0] & 0x00000004u) != 0;
  2579. }
  2580. inline void Ground_detect_response_msg::set_has_locate_information() {
  2581. _has_bits_[0] |= 0x00000004u;
  2582. }
  2583. inline void Ground_detect_response_msg::clear_has_locate_information() {
  2584. _has_bits_[0] &= ~0x00000004u;
  2585. }
  2586. inline const ::message::Locate_information& Ground_detect_response_msg::_internal_locate_information() const {
  2587. return *locate_information_;
  2588. }
  2589. inline const ::message::Locate_information& Ground_detect_response_msg::locate_information() const {
  2590. const ::message::Locate_information* p = locate_information_;
  2591. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.locate_information)
  2592. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  2593. &::message::_Locate_information_default_instance_);
  2594. }
  2595. inline ::message::Locate_information* Ground_detect_response_msg::release_locate_information() {
  2596. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.locate_information)
  2597. clear_has_locate_information();
  2598. ::message::Locate_information* temp = locate_information_;
  2599. locate_information_ = NULL;
  2600. return temp;
  2601. }
  2602. inline ::message::Locate_information* Ground_detect_response_msg::mutable_locate_information() {
  2603. set_has_locate_information();
  2604. if (locate_information_ == NULL) {
  2605. auto* p = CreateMaybeMessage<::message::Locate_information>(GetArenaNoVirtual());
  2606. locate_information_ = p;
  2607. }
  2608. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.locate_information)
  2609. return locate_information_;
  2610. }
  2611. inline void Ground_detect_response_msg::set_allocated_locate_information(::message::Locate_information* locate_information) {
  2612. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2613. if (message_arena == NULL) {
  2614. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_);
  2615. }
  2616. if (locate_information) {
  2617. ::google::protobuf::Arena* submessage_arena = NULL;
  2618. if (message_arena != submessage_arena) {
  2619. locate_information = ::google::protobuf::internal::GetOwnedMessage(
  2620. message_arena, locate_information, submessage_arena);
  2621. }
  2622. set_has_locate_information();
  2623. } else {
  2624. clear_has_locate_information();
  2625. }
  2626. locate_information_ = locate_information;
  2627. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.locate_information)
  2628. }
  2629. // required .message.Error_manager error_manager = 5;
  2630. inline bool Ground_detect_response_msg::has_error_manager() const {
  2631. return (_has_bits_[0] & 0x00000008u) != 0;
  2632. }
  2633. inline void Ground_detect_response_msg::set_has_error_manager() {
  2634. _has_bits_[0] |= 0x00000008u;
  2635. }
  2636. inline void Ground_detect_response_msg::clear_has_error_manager() {
  2637. _has_bits_[0] &= ~0x00000008u;
  2638. }
  2639. inline const ::message::Error_manager& Ground_detect_response_msg::_internal_error_manager() const {
  2640. return *error_manager_;
  2641. }
  2642. inline const ::message::Error_manager& Ground_detect_response_msg::error_manager() const {
  2643. const ::message::Error_manager* p = error_manager_;
  2644. // @@protoc_insertion_point(field_get:message.Ground_detect_response_msg.error_manager)
  2645. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2646. &::message::_Error_manager_default_instance_);
  2647. }
  2648. inline ::message::Error_manager* Ground_detect_response_msg::release_error_manager() {
  2649. // @@protoc_insertion_point(field_release:message.Ground_detect_response_msg.error_manager)
  2650. clear_has_error_manager();
  2651. ::message::Error_manager* temp = error_manager_;
  2652. error_manager_ = NULL;
  2653. return temp;
  2654. }
  2655. inline ::message::Error_manager* Ground_detect_response_msg::mutable_error_manager() {
  2656. set_has_error_manager();
  2657. if (error_manager_ == NULL) {
  2658. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  2659. error_manager_ = p;
  2660. }
  2661. // @@protoc_insertion_point(field_mutable:message.Ground_detect_response_msg.error_manager)
  2662. return error_manager_;
  2663. }
  2664. inline void Ground_detect_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2665. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2666. if (message_arena == NULL) {
  2667. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2668. }
  2669. if (error_manager) {
  2670. ::google::protobuf::Arena* submessage_arena = NULL;
  2671. if (message_arena != submessage_arena) {
  2672. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2673. message_arena, error_manager, submessage_arena);
  2674. }
  2675. set_has_error_manager();
  2676. } else {
  2677. clear_has_error_manager();
  2678. }
  2679. error_manager_ = error_manager;
  2680. // @@protoc_insertion_point(field_set_allocated:message.Ground_detect_response_msg.error_manager)
  2681. }
  2682. // -------------------------------------------------------------------
  2683. // Ground_status_msg
  2684. // required .message.Base_info base_info = 1;
  2685. inline bool Ground_status_msg::has_base_info() const {
  2686. return (_has_bits_[0] & 0x00000001u) != 0;
  2687. }
  2688. inline void Ground_status_msg::set_has_base_info() {
  2689. _has_bits_[0] |= 0x00000001u;
  2690. }
  2691. inline void Ground_status_msg::clear_has_base_info() {
  2692. _has_bits_[0] &= ~0x00000001u;
  2693. }
  2694. inline const ::message::Base_info& Ground_status_msg::_internal_base_info() const {
  2695. return *base_info_;
  2696. }
  2697. inline const ::message::Base_info& Ground_status_msg::base_info() const {
  2698. const ::message::Base_info* p = base_info_;
  2699. // @@protoc_insertion_point(field_get:message.Ground_status_msg.base_info)
  2700. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  2701. &::message::_Base_info_default_instance_);
  2702. }
  2703. inline ::message::Base_info* Ground_status_msg::release_base_info() {
  2704. // @@protoc_insertion_point(field_release:message.Ground_status_msg.base_info)
  2705. clear_has_base_info();
  2706. ::message::Base_info* temp = base_info_;
  2707. base_info_ = NULL;
  2708. return temp;
  2709. }
  2710. inline ::message::Base_info* Ground_status_msg::mutable_base_info() {
  2711. set_has_base_info();
  2712. if (base_info_ == NULL) {
  2713. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  2714. base_info_ = p;
  2715. }
  2716. // @@protoc_insertion_point(field_mutable:message.Ground_status_msg.base_info)
  2717. return base_info_;
  2718. }
  2719. inline void Ground_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
  2720. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2721. if (message_arena == NULL) {
  2722. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  2723. }
  2724. if (base_info) {
  2725. ::google::protobuf::Arena* submessage_arena = NULL;
  2726. if (message_arena != submessage_arena) {
  2727. base_info = ::google::protobuf::internal::GetOwnedMessage(
  2728. message_arena, base_info, submessage_arena);
  2729. }
  2730. set_has_base_info();
  2731. } else {
  2732. clear_has_base_info();
  2733. }
  2734. base_info_ = base_info;
  2735. // @@protoc_insertion_point(field_set_allocated:message.Ground_status_msg.base_info)
  2736. }
  2737. // required int32 terminal_id = 2;
  2738. inline bool Ground_status_msg::has_terminal_id() const {
  2739. return (_has_bits_[0] & 0x00000008u) != 0;
  2740. }
  2741. inline void Ground_status_msg::set_has_terminal_id() {
  2742. _has_bits_[0] |= 0x00000008u;
  2743. }
  2744. inline void Ground_status_msg::clear_has_terminal_id() {
  2745. _has_bits_[0] &= ~0x00000008u;
  2746. }
  2747. inline void Ground_status_msg::clear_terminal_id() {
  2748. terminal_id_ = 0;
  2749. clear_has_terminal_id();
  2750. }
  2751. inline ::google::protobuf::int32 Ground_status_msg::terminal_id() const {
  2752. // @@protoc_insertion_point(field_get:message.Ground_status_msg.terminal_id)
  2753. return terminal_id_;
  2754. }
  2755. inline void Ground_status_msg::set_terminal_id(::google::protobuf::int32 value) {
  2756. set_has_terminal_id();
  2757. terminal_id_ = value;
  2758. // @@protoc_insertion_point(field_set:message.Ground_status_msg.terminal_id)
  2759. }
  2760. // required .message.Wanji_manager_status wanji_manager_status = 3;
  2761. inline bool Ground_status_msg::has_wanji_manager_status() const {
  2762. return (_has_bits_[0] & 0x00000010u) != 0;
  2763. }
  2764. inline void Ground_status_msg::set_has_wanji_manager_status() {
  2765. _has_bits_[0] |= 0x00000010u;
  2766. }
  2767. inline void Ground_status_msg::clear_has_wanji_manager_status() {
  2768. _has_bits_[0] &= ~0x00000010u;
  2769. }
  2770. inline void Ground_status_msg::clear_wanji_manager_status() {
  2771. wanji_manager_status_ = 0;
  2772. clear_has_wanji_manager_status();
  2773. }
  2774. inline ::message::Wanji_manager_status Ground_status_msg::wanji_manager_status() const {
  2775. // @@protoc_insertion_point(field_get:message.Ground_status_msg.wanji_manager_status)
  2776. return static_cast< ::message::Wanji_manager_status >(wanji_manager_status_);
  2777. }
  2778. inline void Ground_status_msg::set_wanji_manager_status(::message::Wanji_manager_status value) {
  2779. assert(::message::Wanji_manager_status_IsValid(value));
  2780. set_has_wanji_manager_status();
  2781. wanji_manager_status_ = value;
  2782. // @@protoc_insertion_point(field_set:message.Ground_status_msg.wanji_manager_status)
  2783. }
  2784. // repeated .message.Wanji_lidar_device_status wanji_lidar_device_status = 4;
  2785. inline int Ground_status_msg::wanji_lidar_device_status_size() const {
  2786. return wanji_lidar_device_status_.size();
  2787. }
  2788. inline void Ground_status_msg::clear_wanji_lidar_device_status() {
  2789. wanji_lidar_device_status_.Clear();
  2790. }
  2791. inline ::message::Wanji_lidar_device_status Ground_status_msg::wanji_lidar_device_status(int index) const {
  2792. // @@protoc_insertion_point(field_get:message.Ground_status_msg.wanji_lidar_device_status)
  2793. return static_cast< ::message::Wanji_lidar_device_status >(wanji_lidar_device_status_.Get(index));
  2794. }
  2795. inline void Ground_status_msg::set_wanji_lidar_device_status(int index, ::message::Wanji_lidar_device_status value) {
  2796. assert(::message::Wanji_lidar_device_status_IsValid(value));
  2797. wanji_lidar_device_status_.Set(index, value);
  2798. // @@protoc_insertion_point(field_set:message.Ground_status_msg.wanji_lidar_device_status)
  2799. }
  2800. inline void Ground_status_msg::add_wanji_lidar_device_status(::message::Wanji_lidar_device_status value) {
  2801. assert(::message::Wanji_lidar_device_status_IsValid(value));
  2802. wanji_lidar_device_status_.Add(value);
  2803. // @@protoc_insertion_point(field_add:message.Ground_status_msg.wanji_lidar_device_status)
  2804. }
  2805. inline const ::google::protobuf::RepeatedField<int>&
  2806. Ground_status_msg::wanji_lidar_device_status() const {
  2807. // @@protoc_insertion_point(field_list:message.Ground_status_msg.wanji_lidar_device_status)
  2808. return wanji_lidar_device_status_;
  2809. }
  2810. inline ::google::protobuf::RepeatedField<int>*
  2811. Ground_status_msg::mutable_wanji_lidar_device_status() {
  2812. // @@protoc_insertion_point(field_mutable_list:message.Ground_status_msg.wanji_lidar_device_status)
  2813. return &wanji_lidar_device_status_;
  2814. }
  2815. // required .message.Region_worker_status region_worker_status = 5;
  2816. inline bool Ground_status_msg::has_region_worker_status() const {
  2817. return (_has_bits_[0] & 0x00000020u) != 0;
  2818. }
  2819. inline void Ground_status_msg::set_has_region_worker_status() {
  2820. _has_bits_[0] |= 0x00000020u;
  2821. }
  2822. inline void Ground_status_msg::clear_has_region_worker_status() {
  2823. _has_bits_[0] &= ~0x00000020u;
  2824. }
  2825. inline void Ground_status_msg::clear_region_worker_status() {
  2826. region_worker_status_ = 0;
  2827. clear_has_region_worker_status();
  2828. }
  2829. inline ::message::Region_worker_status Ground_status_msg::region_worker_status() const {
  2830. // @@protoc_insertion_point(field_get:message.Ground_status_msg.region_worker_status)
  2831. return static_cast< ::message::Region_worker_status >(region_worker_status_);
  2832. }
  2833. inline void Ground_status_msg::set_region_worker_status(::message::Region_worker_status value) {
  2834. assert(::message::Region_worker_status_IsValid(value));
  2835. set_has_region_worker_status();
  2836. region_worker_status_ = value;
  2837. // @@protoc_insertion_point(field_set:message.Ground_status_msg.region_worker_status)
  2838. }
  2839. // required .message.Locate_information locate_information_realtime = 6;
  2840. inline bool Ground_status_msg::has_locate_information_realtime() const {
  2841. return (_has_bits_[0] & 0x00000002u) != 0;
  2842. }
  2843. inline void Ground_status_msg::set_has_locate_information_realtime() {
  2844. _has_bits_[0] |= 0x00000002u;
  2845. }
  2846. inline void Ground_status_msg::clear_has_locate_information_realtime() {
  2847. _has_bits_[0] &= ~0x00000002u;
  2848. }
  2849. inline const ::message::Locate_information& Ground_status_msg::_internal_locate_information_realtime() const {
  2850. return *locate_information_realtime_;
  2851. }
  2852. inline const ::message::Locate_information& Ground_status_msg::locate_information_realtime() const {
  2853. const ::message::Locate_information* p = locate_information_realtime_;
  2854. // @@protoc_insertion_point(field_get:message.Ground_status_msg.locate_information_realtime)
  2855. return p != NULL ? *p : *reinterpret_cast<const ::message::Locate_information*>(
  2856. &::message::_Locate_information_default_instance_);
  2857. }
  2858. inline ::message::Locate_information* Ground_status_msg::release_locate_information_realtime() {
  2859. // @@protoc_insertion_point(field_release:message.Ground_status_msg.locate_information_realtime)
  2860. clear_has_locate_information_realtime();
  2861. ::message::Locate_information* temp = locate_information_realtime_;
  2862. locate_information_realtime_ = NULL;
  2863. return temp;
  2864. }
  2865. inline ::message::Locate_information* Ground_status_msg::mutable_locate_information_realtime() {
  2866. set_has_locate_information_realtime();
  2867. if (locate_information_realtime_ == NULL) {
  2868. auto* p = CreateMaybeMessage<::message::Locate_information>(GetArenaNoVirtual());
  2869. locate_information_realtime_ = p;
  2870. }
  2871. // @@protoc_insertion_point(field_mutable:message.Ground_status_msg.locate_information_realtime)
  2872. return locate_information_realtime_;
  2873. }
  2874. inline void Ground_status_msg::set_allocated_locate_information_realtime(::message::Locate_information* locate_information_realtime) {
  2875. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2876. if (message_arena == NULL) {
  2877. delete reinterpret_cast< ::google::protobuf::MessageLite*>(locate_information_realtime_);
  2878. }
  2879. if (locate_information_realtime) {
  2880. ::google::protobuf::Arena* submessage_arena = NULL;
  2881. if (message_arena != submessage_arena) {
  2882. locate_information_realtime = ::google::protobuf::internal::GetOwnedMessage(
  2883. message_arena, locate_information_realtime, submessage_arena);
  2884. }
  2885. set_has_locate_information_realtime();
  2886. } else {
  2887. clear_has_locate_information_realtime();
  2888. }
  2889. locate_information_realtime_ = locate_information_realtime;
  2890. // @@protoc_insertion_point(field_set_allocated:message.Ground_status_msg.locate_information_realtime)
  2891. }
  2892. // required .message.Ground_statu ground_status = 7;
  2893. inline bool Ground_status_msg::has_ground_status() const {
  2894. return (_has_bits_[0] & 0x00000040u) != 0;
  2895. }
  2896. inline void Ground_status_msg::set_has_ground_status() {
  2897. _has_bits_[0] |= 0x00000040u;
  2898. }
  2899. inline void Ground_status_msg::clear_has_ground_status() {
  2900. _has_bits_[0] &= ~0x00000040u;
  2901. }
  2902. inline void Ground_status_msg::clear_ground_status() {
  2903. ground_status_ = 0;
  2904. clear_has_ground_status();
  2905. }
  2906. inline ::message::Ground_statu Ground_status_msg::ground_status() const {
  2907. // @@protoc_insertion_point(field_get:message.Ground_status_msg.ground_status)
  2908. return static_cast< ::message::Ground_statu >(ground_status_);
  2909. }
  2910. inline void Ground_status_msg::set_ground_status(::message::Ground_statu value) {
  2911. assert(::message::Ground_statu_IsValid(value));
  2912. set_has_ground_status();
  2913. ground_status_ = value;
  2914. // @@protoc_insertion_point(field_set:message.Ground_status_msg.ground_status)
  2915. }
  2916. // required .message.Error_manager error_manager = 8;
  2917. inline bool Ground_status_msg::has_error_manager() const {
  2918. return (_has_bits_[0] & 0x00000004u) != 0;
  2919. }
  2920. inline void Ground_status_msg::set_has_error_manager() {
  2921. _has_bits_[0] |= 0x00000004u;
  2922. }
  2923. inline void Ground_status_msg::clear_has_error_manager() {
  2924. _has_bits_[0] &= ~0x00000004u;
  2925. }
  2926. inline const ::message::Error_manager& Ground_status_msg::_internal_error_manager() const {
  2927. return *error_manager_;
  2928. }
  2929. inline const ::message::Error_manager& Ground_status_msg::error_manager() const {
  2930. const ::message::Error_manager* p = error_manager_;
  2931. // @@protoc_insertion_point(field_get:message.Ground_status_msg.error_manager)
  2932. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  2933. &::message::_Error_manager_default_instance_);
  2934. }
  2935. inline ::message::Error_manager* Ground_status_msg::release_error_manager() {
  2936. // @@protoc_insertion_point(field_release:message.Ground_status_msg.error_manager)
  2937. clear_has_error_manager();
  2938. ::message::Error_manager* temp = error_manager_;
  2939. error_manager_ = NULL;
  2940. return temp;
  2941. }
  2942. inline ::message::Error_manager* Ground_status_msg::mutable_error_manager() {
  2943. set_has_error_manager();
  2944. if (error_manager_ == NULL) {
  2945. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  2946. error_manager_ = p;
  2947. }
  2948. // @@protoc_insertion_point(field_mutable:message.Ground_status_msg.error_manager)
  2949. return error_manager_;
  2950. }
  2951. inline void Ground_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  2952. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2953. if (message_arena == NULL) {
  2954. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  2955. }
  2956. if (error_manager) {
  2957. ::google::protobuf::Arena* submessage_arena = NULL;
  2958. if (message_arena != submessage_arena) {
  2959. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  2960. message_arena, error_manager, submessage_arena);
  2961. }
  2962. set_has_error_manager();
  2963. } else {
  2964. clear_has_error_manager();
  2965. }
  2966. error_manager_ = error_manager;
  2967. // @@protoc_insertion_point(field_set_allocated:message.Ground_status_msg.error_manager)
  2968. }
  2969. // repeated .message.Cloud_coordinate cloud = 9;
  2970. inline int Ground_status_msg::cloud_size() const {
  2971. return cloud_.size();
  2972. }
  2973. inline void Ground_status_msg::clear_cloud() {
  2974. cloud_.Clear();
  2975. }
  2976. inline ::message::Cloud_coordinate* Ground_status_msg::mutable_cloud(int index) {
  2977. // @@protoc_insertion_point(field_mutable:message.Ground_status_msg.cloud)
  2978. return cloud_.Mutable(index);
  2979. }
  2980. inline ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >*
  2981. Ground_status_msg::mutable_cloud() {
  2982. // @@protoc_insertion_point(field_mutable_list:message.Ground_status_msg.cloud)
  2983. return &cloud_;
  2984. }
  2985. inline const ::message::Cloud_coordinate& Ground_status_msg::cloud(int index) const {
  2986. // @@protoc_insertion_point(field_get:message.Ground_status_msg.cloud)
  2987. return cloud_.Get(index);
  2988. }
  2989. inline ::message::Cloud_coordinate* Ground_status_msg::add_cloud() {
  2990. // @@protoc_insertion_point(field_add:message.Ground_status_msg.cloud)
  2991. return cloud_.Add();
  2992. }
  2993. inline const ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >&
  2994. Ground_status_msg::cloud() const {
  2995. // @@protoc_insertion_point(field_list:message.Ground_status_msg.cloud)
  2996. return cloud_;
  2997. }
  2998. // -------------------------------------------------------------------
  2999. // Cloud_coordinate
  3000. // required float x = 1;
  3001. inline bool Cloud_coordinate::has_x() const {
  3002. return (_has_bits_[0] & 0x00000001u) != 0;
  3003. }
  3004. inline void Cloud_coordinate::set_has_x() {
  3005. _has_bits_[0] |= 0x00000001u;
  3006. }
  3007. inline void Cloud_coordinate::clear_has_x() {
  3008. _has_bits_[0] &= ~0x00000001u;
  3009. }
  3010. inline void Cloud_coordinate::clear_x() {
  3011. x_ = 0;
  3012. clear_has_x();
  3013. }
  3014. inline float Cloud_coordinate::x() const {
  3015. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.x)
  3016. return x_;
  3017. }
  3018. inline void Cloud_coordinate::set_x(float value) {
  3019. set_has_x();
  3020. x_ = value;
  3021. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.x)
  3022. }
  3023. // required float y = 2;
  3024. inline bool Cloud_coordinate::has_y() const {
  3025. return (_has_bits_[0] & 0x00000002u) != 0;
  3026. }
  3027. inline void Cloud_coordinate::set_has_y() {
  3028. _has_bits_[0] |= 0x00000002u;
  3029. }
  3030. inline void Cloud_coordinate::clear_has_y() {
  3031. _has_bits_[0] &= ~0x00000002u;
  3032. }
  3033. inline void Cloud_coordinate::clear_y() {
  3034. y_ = 0;
  3035. clear_has_y();
  3036. }
  3037. inline float Cloud_coordinate::y() const {
  3038. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.y)
  3039. return y_;
  3040. }
  3041. inline void Cloud_coordinate::set_y(float value) {
  3042. set_has_y();
  3043. y_ = value;
  3044. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.y)
  3045. }
  3046. // required float z = 3;
  3047. inline bool Cloud_coordinate::has_z() const {
  3048. return (_has_bits_[0] & 0x00000004u) != 0;
  3049. }
  3050. inline void Cloud_coordinate::set_has_z() {
  3051. _has_bits_[0] |= 0x00000004u;
  3052. }
  3053. inline void Cloud_coordinate::clear_has_z() {
  3054. _has_bits_[0] &= ~0x00000004u;
  3055. }
  3056. inline void Cloud_coordinate::clear_z() {
  3057. z_ = 0;
  3058. clear_has_z();
  3059. }
  3060. inline float Cloud_coordinate::z() const {
  3061. // @@protoc_insertion_point(field_get:message.Cloud_coordinate.z)
  3062. return z_;
  3063. }
  3064. inline void Cloud_coordinate::set_z(float value) {
  3065. set_has_z();
  3066. z_ = value;
  3067. // @@protoc_insertion_point(field_set:message.Cloud_coordinate.z)
  3068. }
  3069. // -------------------------------------------------------------------
  3070. // Cloud_type
  3071. // required int32 type = 1;
  3072. inline bool Cloud_type::has_type() const {
  3073. return (_has_bits_[0] & 0x00000001u) != 0;
  3074. }
  3075. inline void Cloud_type::set_has_type() {
  3076. _has_bits_[0] |= 0x00000001u;
  3077. }
  3078. inline void Cloud_type::clear_has_type() {
  3079. _has_bits_[0] &= ~0x00000001u;
  3080. }
  3081. inline void Cloud_type::clear_type() {
  3082. type_ = 0;
  3083. clear_has_type();
  3084. }
  3085. inline ::google::protobuf::int32 Cloud_type::type() const {
  3086. // @@protoc_insertion_point(field_get:message.Cloud_type.type)
  3087. return type_;
  3088. }
  3089. inline void Cloud_type::set_type(::google::protobuf::int32 value) {
  3090. set_has_type();
  3091. type_ = value;
  3092. // @@protoc_insertion_point(field_set:message.Cloud_type.type)
  3093. }
  3094. // -------------------------------------------------------------------
  3095. // Locate_sift_request_msg
  3096. // required .message.Base_info base_info = 1;
  3097. inline bool Locate_sift_request_msg::has_base_info() const {
  3098. return (_has_bits_[0] & 0x00000002u) != 0;
  3099. }
  3100. inline void Locate_sift_request_msg::set_has_base_info() {
  3101. _has_bits_[0] |= 0x00000002u;
  3102. }
  3103. inline void Locate_sift_request_msg::clear_has_base_info() {
  3104. _has_bits_[0] &= ~0x00000002u;
  3105. }
  3106. inline const ::message::Base_info& Locate_sift_request_msg::_internal_base_info() const {
  3107. return *base_info_;
  3108. }
  3109. inline const ::message::Base_info& Locate_sift_request_msg::base_info() const {
  3110. const ::message::Base_info* p = base_info_;
  3111. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.base_info)
  3112. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3113. &::message::_Base_info_default_instance_);
  3114. }
  3115. inline ::message::Base_info* Locate_sift_request_msg::release_base_info() {
  3116. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.base_info)
  3117. clear_has_base_info();
  3118. ::message::Base_info* temp = base_info_;
  3119. base_info_ = NULL;
  3120. return temp;
  3121. }
  3122. inline ::message::Base_info* Locate_sift_request_msg::mutable_base_info() {
  3123. set_has_base_info();
  3124. if (base_info_ == NULL) {
  3125. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  3126. base_info_ = p;
  3127. }
  3128. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.base_info)
  3129. return base_info_;
  3130. }
  3131. inline void Locate_sift_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3132. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3133. if (message_arena == NULL) {
  3134. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3135. }
  3136. if (base_info) {
  3137. ::google::protobuf::Arena* submessage_arena = NULL;
  3138. if (message_arena != submessage_arena) {
  3139. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3140. message_arena, base_info, submessage_arena);
  3141. }
  3142. set_has_base_info();
  3143. } else {
  3144. clear_has_base_info();
  3145. }
  3146. base_info_ = base_info;
  3147. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.base_info)
  3148. }
  3149. // required string command_key = 2;
  3150. inline bool Locate_sift_request_msg::has_command_key() const {
  3151. return (_has_bits_[0] & 0x00000001u) != 0;
  3152. }
  3153. inline void Locate_sift_request_msg::set_has_command_key() {
  3154. _has_bits_[0] |= 0x00000001u;
  3155. }
  3156. inline void Locate_sift_request_msg::clear_has_command_key() {
  3157. _has_bits_[0] &= ~0x00000001u;
  3158. }
  3159. inline void Locate_sift_request_msg::clear_command_key() {
  3160. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3161. clear_has_command_key();
  3162. }
  3163. inline const ::std::string& Locate_sift_request_msg::command_key() const {
  3164. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.command_key)
  3165. return command_key_.GetNoArena();
  3166. }
  3167. inline void Locate_sift_request_msg::set_command_key(const ::std::string& value) {
  3168. set_has_command_key();
  3169. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  3170. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.command_key)
  3171. }
  3172. #if LANG_CXX11
  3173. inline void Locate_sift_request_msg::set_command_key(::std::string&& value) {
  3174. set_has_command_key();
  3175. command_key_.SetNoArena(
  3176. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  3177. // @@protoc_insertion_point(field_set_rvalue:message.Locate_sift_request_msg.command_key)
  3178. }
  3179. #endif
  3180. inline void Locate_sift_request_msg::set_command_key(const char* value) {
  3181. GOOGLE_DCHECK(value != NULL);
  3182. set_has_command_key();
  3183. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  3184. // @@protoc_insertion_point(field_set_char:message.Locate_sift_request_msg.command_key)
  3185. }
  3186. inline void Locate_sift_request_msg::set_command_key(const char* value, size_t size) {
  3187. set_has_command_key();
  3188. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3189. ::std::string(reinterpret_cast<const char*>(value), size));
  3190. // @@protoc_insertion_point(field_set_pointer:message.Locate_sift_request_msg.command_key)
  3191. }
  3192. inline ::std::string* Locate_sift_request_msg::mutable_command_key() {
  3193. set_has_command_key();
  3194. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.command_key)
  3195. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3196. }
  3197. inline ::std::string* Locate_sift_request_msg::release_command_key() {
  3198. // @@protoc_insertion_point(field_release:message.Locate_sift_request_msg.command_key)
  3199. if (!has_command_key()) {
  3200. return NULL;
  3201. }
  3202. clear_has_command_key();
  3203. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3204. }
  3205. inline void Locate_sift_request_msg::set_allocated_command_key(::std::string* command_key) {
  3206. if (command_key != NULL) {
  3207. set_has_command_key();
  3208. } else {
  3209. clear_has_command_key();
  3210. }
  3211. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  3212. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_request_msg.command_key)
  3213. }
  3214. // required int32 terminal_id = 3;
  3215. inline bool Locate_sift_request_msg::has_terminal_id() const {
  3216. return (_has_bits_[0] & 0x00000004u) != 0;
  3217. }
  3218. inline void Locate_sift_request_msg::set_has_terminal_id() {
  3219. _has_bits_[0] |= 0x00000004u;
  3220. }
  3221. inline void Locate_sift_request_msg::clear_has_terminal_id() {
  3222. _has_bits_[0] &= ~0x00000004u;
  3223. }
  3224. inline void Locate_sift_request_msg::clear_terminal_id() {
  3225. terminal_id_ = 0;
  3226. clear_has_terminal_id();
  3227. }
  3228. inline ::google::protobuf::int32 Locate_sift_request_msg::terminal_id() const {
  3229. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.terminal_id)
  3230. return terminal_id_;
  3231. }
  3232. inline void Locate_sift_request_msg::set_terminal_id(::google::protobuf::int32 value) {
  3233. set_has_terminal_id();
  3234. terminal_id_ = value;
  3235. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.terminal_id)
  3236. }
  3237. // required int32 lidar_id = 4;
  3238. inline bool Locate_sift_request_msg::has_lidar_id() const {
  3239. return (_has_bits_[0] & 0x00000008u) != 0;
  3240. }
  3241. inline void Locate_sift_request_msg::set_has_lidar_id() {
  3242. _has_bits_[0] |= 0x00000008u;
  3243. }
  3244. inline void Locate_sift_request_msg::clear_has_lidar_id() {
  3245. _has_bits_[0] &= ~0x00000008u;
  3246. }
  3247. inline void Locate_sift_request_msg::clear_lidar_id() {
  3248. lidar_id_ = 0;
  3249. clear_has_lidar_id();
  3250. }
  3251. inline ::google::protobuf::int32 Locate_sift_request_msg::lidar_id() const {
  3252. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.lidar_id)
  3253. return lidar_id_;
  3254. }
  3255. inline void Locate_sift_request_msg::set_lidar_id(::google::protobuf::int32 value) {
  3256. set_has_lidar_id();
  3257. lidar_id_ = value;
  3258. // @@protoc_insertion_point(field_set:message.Locate_sift_request_msg.lidar_id)
  3259. }
  3260. // repeated .message.Cloud_coordinate cloud_coordinates = 5;
  3261. inline int Locate_sift_request_msg::cloud_coordinates_size() const {
  3262. return cloud_coordinates_.size();
  3263. }
  3264. inline void Locate_sift_request_msg::clear_cloud_coordinates() {
  3265. cloud_coordinates_.Clear();
  3266. }
  3267. inline ::message::Cloud_coordinate* Locate_sift_request_msg::mutable_cloud_coordinates(int index) {
  3268. // @@protoc_insertion_point(field_mutable:message.Locate_sift_request_msg.cloud_coordinates)
  3269. return cloud_coordinates_.Mutable(index);
  3270. }
  3271. inline ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >*
  3272. Locate_sift_request_msg::mutable_cloud_coordinates() {
  3273. // @@protoc_insertion_point(field_mutable_list:message.Locate_sift_request_msg.cloud_coordinates)
  3274. return &cloud_coordinates_;
  3275. }
  3276. inline const ::message::Cloud_coordinate& Locate_sift_request_msg::cloud_coordinates(int index) const {
  3277. // @@protoc_insertion_point(field_get:message.Locate_sift_request_msg.cloud_coordinates)
  3278. return cloud_coordinates_.Get(index);
  3279. }
  3280. inline ::message::Cloud_coordinate* Locate_sift_request_msg::add_cloud_coordinates() {
  3281. // @@protoc_insertion_point(field_add:message.Locate_sift_request_msg.cloud_coordinates)
  3282. return cloud_coordinates_.Add();
  3283. }
  3284. inline const ::google::protobuf::RepeatedPtrField< ::message::Cloud_coordinate >&
  3285. Locate_sift_request_msg::cloud_coordinates() const {
  3286. // @@protoc_insertion_point(field_list:message.Locate_sift_request_msg.cloud_coordinates)
  3287. return cloud_coordinates_;
  3288. }
  3289. // -------------------------------------------------------------------
  3290. // Locate_sift_response_msg
  3291. // required .message.Base_info base_info = 1;
  3292. inline bool Locate_sift_response_msg::has_base_info() const {
  3293. return (_has_bits_[0] & 0x00000002u) != 0;
  3294. }
  3295. inline void Locate_sift_response_msg::set_has_base_info() {
  3296. _has_bits_[0] |= 0x00000002u;
  3297. }
  3298. inline void Locate_sift_response_msg::clear_has_base_info() {
  3299. _has_bits_[0] &= ~0x00000002u;
  3300. }
  3301. inline const ::message::Base_info& Locate_sift_response_msg::_internal_base_info() const {
  3302. return *base_info_;
  3303. }
  3304. inline const ::message::Base_info& Locate_sift_response_msg::base_info() const {
  3305. const ::message::Base_info* p = base_info_;
  3306. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.base_info)
  3307. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  3308. &::message::_Base_info_default_instance_);
  3309. }
  3310. inline ::message::Base_info* Locate_sift_response_msg::release_base_info() {
  3311. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.base_info)
  3312. clear_has_base_info();
  3313. ::message::Base_info* temp = base_info_;
  3314. base_info_ = NULL;
  3315. return temp;
  3316. }
  3317. inline ::message::Base_info* Locate_sift_response_msg::mutable_base_info() {
  3318. set_has_base_info();
  3319. if (base_info_ == NULL) {
  3320. auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
  3321. base_info_ = p;
  3322. }
  3323. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.base_info)
  3324. return base_info_;
  3325. }
  3326. inline void Locate_sift_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  3327. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3328. if (message_arena == NULL) {
  3329. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  3330. }
  3331. if (base_info) {
  3332. ::google::protobuf::Arena* submessage_arena = NULL;
  3333. if (message_arena != submessage_arena) {
  3334. base_info = ::google::protobuf::internal::GetOwnedMessage(
  3335. message_arena, base_info, submessage_arena);
  3336. }
  3337. set_has_base_info();
  3338. } else {
  3339. clear_has_base_info();
  3340. }
  3341. base_info_ = base_info;
  3342. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.base_info)
  3343. }
  3344. // required string command_key = 2;
  3345. inline bool Locate_sift_response_msg::has_command_key() const {
  3346. return (_has_bits_[0] & 0x00000001u) != 0;
  3347. }
  3348. inline void Locate_sift_response_msg::set_has_command_key() {
  3349. _has_bits_[0] |= 0x00000001u;
  3350. }
  3351. inline void Locate_sift_response_msg::clear_has_command_key() {
  3352. _has_bits_[0] &= ~0x00000001u;
  3353. }
  3354. inline void Locate_sift_response_msg::clear_command_key() {
  3355. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3356. clear_has_command_key();
  3357. }
  3358. inline const ::std::string& Locate_sift_response_msg::command_key() const {
  3359. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.command_key)
  3360. return command_key_.GetNoArena();
  3361. }
  3362. inline void Locate_sift_response_msg::set_command_key(const ::std::string& value) {
  3363. set_has_command_key();
  3364. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  3365. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.command_key)
  3366. }
  3367. #if LANG_CXX11
  3368. inline void Locate_sift_response_msg::set_command_key(::std::string&& value) {
  3369. set_has_command_key();
  3370. command_key_.SetNoArena(
  3371. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  3372. // @@protoc_insertion_point(field_set_rvalue:message.Locate_sift_response_msg.command_key)
  3373. }
  3374. #endif
  3375. inline void Locate_sift_response_msg::set_command_key(const char* value) {
  3376. GOOGLE_DCHECK(value != NULL);
  3377. set_has_command_key();
  3378. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  3379. // @@protoc_insertion_point(field_set_char:message.Locate_sift_response_msg.command_key)
  3380. }
  3381. inline void Locate_sift_response_msg::set_command_key(const char* value, size_t size) {
  3382. set_has_command_key();
  3383. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3384. ::std::string(reinterpret_cast<const char*>(value), size));
  3385. // @@protoc_insertion_point(field_set_pointer:message.Locate_sift_response_msg.command_key)
  3386. }
  3387. inline ::std::string* Locate_sift_response_msg::mutable_command_key() {
  3388. set_has_command_key();
  3389. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.command_key)
  3390. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3391. }
  3392. inline ::std::string* Locate_sift_response_msg::release_command_key() {
  3393. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.command_key)
  3394. if (!has_command_key()) {
  3395. return NULL;
  3396. }
  3397. clear_has_command_key();
  3398. return command_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3399. }
  3400. inline void Locate_sift_response_msg::set_allocated_command_key(::std::string* command_key) {
  3401. if (command_key != NULL) {
  3402. set_has_command_key();
  3403. } else {
  3404. clear_has_command_key();
  3405. }
  3406. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  3407. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.command_key)
  3408. }
  3409. // required int32 terminal_id = 3;
  3410. inline bool Locate_sift_response_msg::has_terminal_id() const {
  3411. return (_has_bits_[0] & 0x00000008u) != 0;
  3412. }
  3413. inline void Locate_sift_response_msg::set_has_terminal_id() {
  3414. _has_bits_[0] |= 0x00000008u;
  3415. }
  3416. inline void Locate_sift_response_msg::clear_has_terminal_id() {
  3417. _has_bits_[0] &= ~0x00000008u;
  3418. }
  3419. inline void Locate_sift_response_msg::clear_terminal_id() {
  3420. terminal_id_ = 0;
  3421. clear_has_terminal_id();
  3422. }
  3423. inline ::google::protobuf::int32 Locate_sift_response_msg::terminal_id() const {
  3424. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.terminal_id)
  3425. return terminal_id_;
  3426. }
  3427. inline void Locate_sift_response_msg::set_terminal_id(::google::protobuf::int32 value) {
  3428. set_has_terminal_id();
  3429. terminal_id_ = value;
  3430. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.terminal_id)
  3431. }
  3432. // required int32 lidar_id = 4;
  3433. inline bool Locate_sift_response_msg::has_lidar_id() const {
  3434. return (_has_bits_[0] & 0x00000010u) != 0;
  3435. }
  3436. inline void Locate_sift_response_msg::set_has_lidar_id() {
  3437. _has_bits_[0] |= 0x00000010u;
  3438. }
  3439. inline void Locate_sift_response_msg::clear_has_lidar_id() {
  3440. _has_bits_[0] &= ~0x00000010u;
  3441. }
  3442. inline void Locate_sift_response_msg::clear_lidar_id() {
  3443. lidar_id_ = 0;
  3444. clear_has_lidar_id();
  3445. }
  3446. inline ::google::protobuf::int32 Locate_sift_response_msg::lidar_id() const {
  3447. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.lidar_id)
  3448. return lidar_id_;
  3449. }
  3450. inline void Locate_sift_response_msg::set_lidar_id(::google::protobuf::int32 value) {
  3451. set_has_lidar_id();
  3452. lidar_id_ = value;
  3453. // @@protoc_insertion_point(field_set:message.Locate_sift_response_msg.lidar_id)
  3454. }
  3455. // repeated .message.Cloud_type cloud_type = 5;
  3456. inline int Locate_sift_response_msg::cloud_type_size() const {
  3457. return cloud_type_.size();
  3458. }
  3459. inline void Locate_sift_response_msg::clear_cloud_type() {
  3460. cloud_type_.Clear();
  3461. }
  3462. inline ::message::Cloud_type* Locate_sift_response_msg::mutable_cloud_type(int index) {
  3463. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.cloud_type)
  3464. return cloud_type_.Mutable(index);
  3465. }
  3466. inline ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >*
  3467. Locate_sift_response_msg::mutable_cloud_type() {
  3468. // @@protoc_insertion_point(field_mutable_list:message.Locate_sift_response_msg.cloud_type)
  3469. return &cloud_type_;
  3470. }
  3471. inline const ::message::Cloud_type& Locate_sift_response_msg::cloud_type(int index) const {
  3472. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.cloud_type)
  3473. return cloud_type_.Get(index);
  3474. }
  3475. inline ::message::Cloud_type* Locate_sift_response_msg::add_cloud_type() {
  3476. // @@protoc_insertion_point(field_add:message.Locate_sift_response_msg.cloud_type)
  3477. return cloud_type_.Add();
  3478. }
  3479. inline const ::google::protobuf::RepeatedPtrField< ::message::Cloud_type >&
  3480. Locate_sift_response_msg::cloud_type() const {
  3481. // @@protoc_insertion_point(field_list:message.Locate_sift_response_msg.cloud_type)
  3482. return cloud_type_;
  3483. }
  3484. // required .message.Error_manager error_manager = 6;
  3485. inline bool Locate_sift_response_msg::has_error_manager() const {
  3486. return (_has_bits_[0] & 0x00000004u) != 0;
  3487. }
  3488. inline void Locate_sift_response_msg::set_has_error_manager() {
  3489. _has_bits_[0] |= 0x00000004u;
  3490. }
  3491. inline void Locate_sift_response_msg::clear_has_error_manager() {
  3492. _has_bits_[0] &= ~0x00000004u;
  3493. }
  3494. inline const ::message::Error_manager& Locate_sift_response_msg::_internal_error_manager() const {
  3495. return *error_manager_;
  3496. }
  3497. inline const ::message::Error_manager& Locate_sift_response_msg::error_manager() const {
  3498. const ::message::Error_manager* p = error_manager_;
  3499. // @@protoc_insertion_point(field_get:message.Locate_sift_response_msg.error_manager)
  3500. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  3501. &::message::_Error_manager_default_instance_);
  3502. }
  3503. inline ::message::Error_manager* Locate_sift_response_msg::release_error_manager() {
  3504. // @@protoc_insertion_point(field_release:message.Locate_sift_response_msg.error_manager)
  3505. clear_has_error_manager();
  3506. ::message::Error_manager* temp = error_manager_;
  3507. error_manager_ = NULL;
  3508. return temp;
  3509. }
  3510. inline ::message::Error_manager* Locate_sift_response_msg::mutable_error_manager() {
  3511. set_has_error_manager();
  3512. if (error_manager_ == NULL) {
  3513. auto* p = CreateMaybeMessage<::message::Error_manager>(GetArenaNoVirtual());
  3514. error_manager_ = p;
  3515. }
  3516. // @@protoc_insertion_point(field_mutable:message.Locate_sift_response_msg.error_manager)
  3517. return error_manager_;
  3518. }
  3519. inline void Locate_sift_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  3520. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  3521. if (message_arena == NULL) {
  3522. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  3523. }
  3524. if (error_manager) {
  3525. ::google::protobuf::Arena* submessage_arena = NULL;
  3526. if (message_arena != submessage_arena) {
  3527. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  3528. message_arena, error_manager, submessage_arena);
  3529. }
  3530. set_has_error_manager();
  3531. } else {
  3532. clear_has_error_manager();
  3533. }
  3534. error_manager_ = error_manager;
  3535. // @@protoc_insertion_point(field_set_allocated:message.Locate_sift_response_msg.error_manager)
  3536. }
  3537. #ifdef __GNUC__
  3538. #pragma GCC diagnostic pop
  3539. #endif // __GNUC__
  3540. // -------------------------------------------------------------------
  3541. // -------------------------------------------------------------------
  3542. // -------------------------------------------------------------------
  3543. // -------------------------------------------------------------------
  3544. // -------------------------------------------------------------------
  3545. // -------------------------------------------------------------------
  3546. // -------------------------------------------------------------------
  3547. // -------------------------------------------------------------------
  3548. // -------------------------------------------------------------------
  3549. // @@protoc_insertion_point(namespace_scope)
  3550. } // namespace message
  3551. namespace google {
  3552. namespace protobuf {
  3553. template <> struct is_proto_enum< ::message::Laser_manager_status> : ::std::true_type {};
  3554. template <>
  3555. inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_manager_status>() {
  3556. return ::message::Laser_manager_status_descriptor();
  3557. }
  3558. template <> struct is_proto_enum< ::message::Laser_statu> : ::std::true_type {};
  3559. template <>
  3560. inline const EnumDescriptor* GetEnumDescriptor< ::message::Laser_statu>() {
  3561. return ::message::Laser_statu_descriptor();
  3562. }
  3563. template <> struct is_proto_enum< ::message::Locate_manager_status> : ::std::true_type {};
  3564. template <>
  3565. inline const EnumDescriptor* GetEnumDescriptor< ::message::Locate_manager_status>() {
  3566. return ::message::Locate_manager_status_descriptor();
  3567. }
  3568. template <> struct is_proto_enum< ::message::Wanji_manager_status> : ::std::true_type {};
  3569. template <>
  3570. inline const EnumDescriptor* GetEnumDescriptor< ::message::Wanji_manager_status>() {
  3571. return ::message::Wanji_manager_status_descriptor();
  3572. }
  3573. template <> struct is_proto_enum< ::message::Wanji_lidar_device_status> : ::std::true_type {};
  3574. template <>
  3575. inline const EnumDescriptor* GetEnumDescriptor< ::message::Wanji_lidar_device_status>() {
  3576. return ::message::Wanji_lidar_device_status_descriptor();
  3577. }
  3578. template <> struct is_proto_enum< ::message::Region_worker_status> : ::std::true_type {};
  3579. template <>
  3580. inline const EnumDescriptor* GetEnumDescriptor< ::message::Region_worker_status>() {
  3581. return ::message::Region_worker_status_descriptor();
  3582. }
  3583. template <> struct is_proto_enum< ::message::Ground_statu> : ::std::true_type {};
  3584. template <>
  3585. inline const EnumDescriptor* GetEnumDescriptor< ::message::Ground_statu>() {
  3586. return ::message::Ground_statu_descriptor();
  3587. }
  3588. } // namespace protobuf
  3589. } // namespace google
  3590. // @@protoc_insertion_point(global_scope)
  3591. #endif // PROTOBUF_INCLUDED_measure_5fmessage_2eproto