measure_message.pb.h 144 KB

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