measure_message.pb.h 147 KB

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