measure_message.pb.h 142 KB

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