measure_message.pb.h 156 KB

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