message_base.pb.h 101 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: message_base.proto
  3. #ifndef PROTOBUF_message_5fbase_2eproto__INCLUDED
  4. #define PROTOBUF_message_5fbase_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. // @@protoc_insertion_point(includes)
  29. namespace protobuf_message_5fbase_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[6];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. void InitDefaultsBase_infoImpl();
  41. void InitDefaultsBase_info();
  42. void InitDefaultsBase_msgImpl();
  43. void InitDefaultsBase_msg();
  44. void InitDefaultsError_managerImpl();
  45. void InitDefaultsError_manager();
  46. void InitDefaultsLocate_informationImpl();
  47. void InitDefaultsLocate_information();
  48. void InitDefaultsCar_infoImpl();
  49. void InitDefaultsCar_info();
  50. void InitDefaultsParkspace_infoImpl();
  51. void InitDefaultsParkspace_info();
  52. inline void InitDefaults() {
  53. InitDefaultsBase_info();
  54. InitDefaultsBase_msg();
  55. InitDefaultsError_manager();
  56. InitDefaultsLocate_information();
  57. InitDefaultsCar_info();
  58. InitDefaultsParkspace_info();
  59. }
  60. } // namespace protobuf_message_5fbase_2eproto
  61. namespace message {
  62. class Base_info;
  63. class Base_infoDefaultTypeInternal;
  64. extern Base_infoDefaultTypeInternal _Base_info_default_instance_;
  65. class Base_msg;
  66. class Base_msgDefaultTypeInternal;
  67. extern Base_msgDefaultTypeInternal _Base_msg_default_instance_;
  68. class Car_info;
  69. class Car_infoDefaultTypeInternal;
  70. extern Car_infoDefaultTypeInternal _Car_info_default_instance_;
  71. class Error_manager;
  72. class Error_managerDefaultTypeInternal;
  73. extern Error_managerDefaultTypeInternal _Error_manager_default_instance_;
  74. class Locate_information;
  75. class Locate_informationDefaultTypeInternal;
  76. extern Locate_informationDefaultTypeInternal _Locate_information_default_instance_;
  77. class Parkspace_info;
  78. class Parkspace_infoDefaultTypeInternal;
  79. extern Parkspace_infoDefaultTypeInternal _Parkspace_info_default_instance_;
  80. } // namespace message
  81. namespace message {
  82. enum Message_type {
  83. eBase_msg = 0,
  84. eCommand_msg = 1,
  85. eLocate_status_msg = 17,
  86. eLocate_request_msg = 18,
  87. eLocate_response_msg = 19,
  88. eLocate_sift_request_msg = 20,
  89. eLocate_sift_response_msg = 21,
  90. eDispatch_status_msg = 33,
  91. eDispatch_request_msg = 34,
  92. eDispatch_response_msg = 35,
  93. eParkspace_allocation_status_msg = 49,
  94. eParkspace_allocation_request_msg = 50,
  95. eParkspace_allocation_response_msg = 51,
  96. eParkspace_search_request_msg = 52,
  97. eParkspace_search_response_msg = 53,
  98. eParkspace_release_request_msg = 54,
  99. eParkspace_release_response_msg = 55,
  100. eParkspace_force_update_request_msg = 56,
  101. eParkspace_force_update_response_msg = 57,
  102. eParkspace_confirm_alloc_request_msg = 58,
  103. eParkspace_confirm_alloc_response_msg = 59,
  104. eParkspace_allocation_data_msg = 60,
  105. eParkspace_allocation_data_response_msg = 61,
  106. eStore_command_request_msg = 65,
  107. eStore_command_response_msg = 66,
  108. ePickup_command_request_msg = 67,
  109. ePickup_command_response_msg = 68,
  110. eStoring_process_statu_msg = 144,
  111. ePicking_process_statu_msg = 145,
  112. eCentral_controller_statu_msg = 160,
  113. eEntrance_manual_operation_msg = 176,
  114. eProcess_manual_operation_msg = 177,
  115. eDispatch_plan_request_msg = 224,
  116. eDispatch_plan_response_msg = 225,
  117. eDispatch_control_request_msg = 226,
  118. eDispatch_control_response_msg = 227,
  119. eDispatch_manager_status_msg = 234,
  120. eDispatch_manager_data_msg = 235,
  121. eGround_detect_request_msg = 240,
  122. eGround_detect_response_msg = 241,
  123. eGround_status_msg = 242
  124. };
  125. bool Message_type_IsValid(int value);
  126. const Message_type Message_type_MIN = eBase_msg;
  127. const Message_type Message_type_MAX = eGround_status_msg;
  128. const int Message_type_ARRAYSIZE = Message_type_MAX + 1;
  129. const ::google::protobuf::EnumDescriptor* Message_type_descriptor();
  130. inline const ::std::string& Message_type_Name(Message_type value) {
  131. return ::google::protobuf::internal::NameOfEnum(
  132. Message_type_descriptor(), value);
  133. }
  134. inline bool Message_type_Parse(
  135. const ::std::string& name, Message_type* value) {
  136. return ::google::protobuf::internal::ParseNamedEnum<Message_type>(
  137. Message_type_descriptor(), name, value);
  138. }
  139. enum Communicator {
  140. eEmpty = 0,
  141. eMain = 1,
  142. eTerminor = 256,
  143. eParkspace = 512,
  144. eMeasurer = 768,
  145. eMeasurer_sift_server = 769,
  146. eDispatch_manager = 1024,
  147. eDispatch_control = 1025,
  148. eGround_measurer = 3840
  149. };
  150. bool Communicator_IsValid(int value);
  151. const Communicator Communicator_MIN = eEmpty;
  152. const Communicator Communicator_MAX = eGround_measurer;
  153. const int Communicator_ARRAYSIZE = Communicator_MAX + 1;
  154. const ::google::protobuf::EnumDescriptor* Communicator_descriptor();
  155. inline const ::std::string& Communicator_Name(Communicator value) {
  156. return ::google::protobuf::internal::NameOfEnum(
  157. Communicator_descriptor(), value);
  158. }
  159. inline bool Communicator_Parse(
  160. const ::std::string& name, Communicator* value) {
  161. return ::google::protobuf::internal::ParseNamedEnum<Communicator>(
  162. Communicator_descriptor(), name, value);
  163. }
  164. enum Process_type {
  165. eStoring = 1,
  166. ePicking = 2
  167. };
  168. bool Process_type_IsValid(int value);
  169. const Process_type Process_type_MIN = eStoring;
  170. const Process_type Process_type_MAX = ePicking;
  171. const int Process_type_ARRAYSIZE = Process_type_MAX + 1;
  172. const ::google::protobuf::EnumDescriptor* Process_type_descriptor();
  173. inline const ::std::string& Process_type_Name(Process_type value) {
  174. return ::google::protobuf::internal::NameOfEnum(
  175. Process_type_descriptor(), value);
  176. }
  177. inline bool Process_type_Parse(
  178. const ::std::string& name, Process_type* value) {
  179. return ::google::protobuf::internal::ParseNamedEnum<Process_type>(
  180. Process_type_descriptor(), name, value);
  181. }
  182. enum Error_level {
  183. NORMAL = 0,
  184. NEGLIGIBLE_ERROR = 1,
  185. MINOR_ERROR = 2,
  186. MAJOR_ERROR = 3,
  187. CRITICAL_ERROR = 4
  188. };
  189. bool Error_level_IsValid(int value);
  190. const Error_level Error_level_MIN = NORMAL;
  191. const Error_level Error_level_MAX = CRITICAL_ERROR;
  192. const int Error_level_ARRAYSIZE = Error_level_MAX + 1;
  193. const ::google::protobuf::EnumDescriptor* Error_level_descriptor();
  194. inline const ::std::string& Error_level_Name(Error_level value) {
  195. return ::google::protobuf::internal::NameOfEnum(
  196. Error_level_descriptor(), value);
  197. }
  198. inline bool Error_level_Parse(
  199. const ::std::string& name, Error_level* value) {
  200. return ::google::protobuf::internal::ParseNamedEnum<Error_level>(
  201. Error_level_descriptor(), name, value);
  202. }
  203. enum Parkspace_status {
  204. eParkspace_status_unknow = 0,
  205. eParkspace_empty = 1,
  206. eParkspace_occupied = 2,
  207. eParkspace_reserved = 3,
  208. eParkspace_locked = 4,
  209. eParkspace_error = 5
  210. };
  211. bool Parkspace_status_IsValid(int value);
  212. const Parkspace_status Parkspace_status_MIN = eParkspace_status_unknow;
  213. const Parkspace_status Parkspace_status_MAX = eParkspace_error;
  214. const int Parkspace_status_ARRAYSIZE = Parkspace_status_MAX + 1;
  215. const ::google::protobuf::EnumDescriptor* Parkspace_status_descriptor();
  216. inline const ::std::string& Parkspace_status_Name(Parkspace_status value) {
  217. return ::google::protobuf::internal::NameOfEnum(
  218. Parkspace_status_descriptor(), value);
  219. }
  220. inline bool Parkspace_status_Parse(
  221. const ::std::string& name, Parkspace_status* value) {
  222. return ::google::protobuf::internal::ParseNamedEnum<Parkspace_status>(
  223. Parkspace_status_descriptor(), name, value);
  224. }
  225. enum Direction {
  226. eDirection_unknow = 0,
  227. eForward = 1,
  228. eBackward = 2
  229. };
  230. bool Direction_IsValid(int value);
  231. const Direction Direction_MIN = eDirection_unknow;
  232. const Direction Direction_MAX = eBackward;
  233. const int Direction_ARRAYSIZE = Direction_MAX + 1;
  234. const ::google::protobuf::EnumDescriptor* Direction_descriptor();
  235. inline const ::std::string& Direction_Name(Direction value) {
  236. return ::google::protobuf::internal::NameOfEnum(
  237. Direction_descriptor(), value);
  238. }
  239. inline bool Direction_Parse(
  240. const ::std::string& name, Direction* value) {
  241. return ::google::protobuf::internal::ParseNamedEnum<Direction>(
  242. Direction_descriptor(), name, value);
  243. }
  244. enum Parkspace_path {
  245. UNKNOW_PATH = 0,
  246. OPTIMAL_PATH = 1,
  247. LEFT_PATH = 2,
  248. RIGHT_PATH = 3,
  249. TEMPORARY_CACHE_PATH = 4
  250. };
  251. bool Parkspace_path_IsValid(int value);
  252. const Parkspace_path Parkspace_path_MIN = UNKNOW_PATH;
  253. const Parkspace_path Parkspace_path_MAX = TEMPORARY_CACHE_PATH;
  254. const int Parkspace_path_ARRAYSIZE = Parkspace_path_MAX + 1;
  255. const ::google::protobuf::EnumDescriptor* Parkspace_path_descriptor();
  256. inline const ::std::string& Parkspace_path_Name(Parkspace_path value) {
  257. return ::google::protobuf::internal::NameOfEnum(
  258. Parkspace_path_descriptor(), value);
  259. }
  260. inline bool Parkspace_path_Parse(
  261. const ::std::string& name, Parkspace_path* value) {
  262. return ::google::protobuf::internal::ParseNamedEnum<Parkspace_path>(
  263. Parkspace_path_descriptor(), name, value);
  264. }
  265. enum Parkspace_type {
  266. UNKNOW_PARKSPACE_TYPE = 0,
  267. MIN_PARKINGSPACE = 1,
  268. MID_PARKINGSPACE = 2,
  269. BIG_PARKINGSPACE = 3
  270. };
  271. bool Parkspace_type_IsValid(int value);
  272. const Parkspace_type Parkspace_type_MIN = UNKNOW_PARKSPACE_TYPE;
  273. const Parkspace_type Parkspace_type_MAX = BIG_PARKINGSPACE;
  274. const int Parkspace_type_ARRAYSIZE = Parkspace_type_MAX + 1;
  275. const ::google::protobuf::EnumDescriptor* Parkspace_type_descriptor();
  276. inline const ::std::string& Parkspace_type_Name(Parkspace_type value) {
  277. return ::google::protobuf::internal::NameOfEnum(
  278. Parkspace_type_descriptor(), value);
  279. }
  280. inline bool Parkspace_type_Parse(
  281. const ::std::string& name, Parkspace_type* value) {
  282. return ::google::protobuf::internal::ParseNamedEnum<Parkspace_type>(
  283. Parkspace_type_descriptor(), name, value);
  284. }
  285. enum Car_type {
  286. UNKNOW_CAR_TYPE = 0,
  287. MIN_CAR = 1,
  288. MID_CAR = 2,
  289. BIG_CAR = 3
  290. };
  291. bool Car_type_IsValid(int value);
  292. const Car_type Car_type_MIN = UNKNOW_CAR_TYPE;
  293. const Car_type Car_type_MAX = BIG_CAR;
  294. const int Car_type_ARRAYSIZE = Car_type_MAX + 1;
  295. const ::google::protobuf::EnumDescriptor* Car_type_descriptor();
  296. inline const ::std::string& Car_type_Name(Car_type value) {
  297. return ::google::protobuf::internal::NameOfEnum(
  298. Car_type_descriptor(), value);
  299. }
  300. inline bool Car_type_Parse(
  301. const ::std::string& name, Car_type* value) {
  302. return ::google::protobuf::internal::ParseNamedEnum<Car_type>(
  303. Car_type_descriptor(), name, value);
  304. }
  305. enum Step_type {
  306. eAlloc_step = 0,
  307. eMeasure_step = 1,
  308. eCompare_step = 2,
  309. eDispatch_step = 3,
  310. eConfirm_step = 4,
  311. eSearch_step = 5,
  312. eWait_step = 6,
  313. eRelease_step = 7,
  314. eComplete = 8,
  315. eBackConfirm_step = 9,
  316. eBack_compare_step = 10,
  317. eBackMeasure_step = 11,
  318. eBackAlloc_step = 12,
  319. eBackWait_step = 13,
  320. eBackDispatch_step = 14,
  321. eBackSearch_step = 15,
  322. eBackComplete = 16
  323. };
  324. bool Step_type_IsValid(int value);
  325. const Step_type Step_type_MIN = eAlloc_step;
  326. const Step_type Step_type_MAX = eBackComplete;
  327. const int Step_type_ARRAYSIZE = Step_type_MAX + 1;
  328. const ::google::protobuf::EnumDescriptor* Step_type_descriptor();
  329. inline const ::std::string& Step_type_Name(Step_type value) {
  330. return ::google::protobuf::internal::NameOfEnum(
  331. Step_type_descriptor(), value);
  332. }
  333. inline bool Step_type_Parse(
  334. const ::std::string& name, Step_type* value) {
  335. return ::google::protobuf::internal::ParseNamedEnum<Step_type>(
  336. Step_type_descriptor(), name, value);
  337. }
  338. enum Step_statu {
  339. eWaiting = 0,
  340. eWorking = 1,
  341. eError = 2,
  342. eFinished = 3
  343. };
  344. bool Step_statu_IsValid(int value);
  345. const Step_statu Step_statu_MIN = eWaiting;
  346. const Step_statu Step_statu_MAX = eFinished;
  347. const int Step_statu_ARRAYSIZE = Step_statu_MAX + 1;
  348. const ::google::protobuf::EnumDescriptor* Step_statu_descriptor();
  349. inline const ::std::string& Step_statu_Name(Step_statu value) {
  350. return ::google::protobuf::internal::NameOfEnum(
  351. Step_statu_descriptor(), value);
  352. }
  353. inline bool Step_statu_Parse(
  354. const ::std::string& name, Step_statu* value) {
  355. return ::google::protobuf::internal::ParseNamedEnum<Step_statu>(
  356. Step_statu_descriptor(), name, value);
  357. }
  358. enum Dispatch_device_type {
  359. ROBOT_1 = 101,
  360. ROBOT_2 = 102,
  361. CARRIER_1 = 200,
  362. CARRIER_2 = 207,
  363. CARRIER_3 = 203,
  364. PASSAGEWAY_0 = 300,
  365. PASSAGEWAY_1 = 301,
  366. PASSAGEWAY_2 = 302,
  367. PASSAGEWAY_3 = 303,
  368. PASSAGEWAY_4 = 304,
  369. PASSAGEWAY_5 = 305,
  370. PASSAGEWAY_6 = 306,
  371. PASSAGEWAY_7 = 307
  372. };
  373. bool Dispatch_device_type_IsValid(int value);
  374. const Dispatch_device_type Dispatch_device_type_MIN = ROBOT_1;
  375. const Dispatch_device_type Dispatch_device_type_MAX = PASSAGEWAY_7;
  376. const int Dispatch_device_type_ARRAYSIZE = Dispatch_device_type_MAX + 1;
  377. const ::google::protobuf::EnumDescriptor* Dispatch_device_type_descriptor();
  378. inline const ::std::string& Dispatch_device_type_Name(Dispatch_device_type value) {
  379. return ::google::protobuf::internal::NameOfEnum(
  380. Dispatch_device_type_descriptor(), value);
  381. }
  382. inline bool Dispatch_device_type_Parse(
  383. const ::std::string& name, Dispatch_device_type* value) {
  384. return ::google::protobuf::internal::ParseNamedEnum<Dispatch_device_type>(
  385. Dispatch_device_type_descriptor(), name, value);
  386. }
  387. // ===================================================================
  388. class Base_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Base_info) */ {
  389. public:
  390. Base_info();
  391. virtual ~Base_info();
  392. Base_info(const Base_info& from);
  393. inline Base_info& operator=(const Base_info& from) {
  394. CopyFrom(from);
  395. return *this;
  396. }
  397. #if LANG_CXX11
  398. Base_info(Base_info&& from) noexcept
  399. : Base_info() {
  400. *this = ::std::move(from);
  401. }
  402. inline Base_info& operator=(Base_info&& from) noexcept {
  403. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  404. if (this != &from) InternalSwap(&from);
  405. } else {
  406. CopyFrom(from);
  407. }
  408. return *this;
  409. }
  410. #endif
  411. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  412. return _internal_metadata_.unknown_fields();
  413. }
  414. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  415. return _internal_metadata_.mutable_unknown_fields();
  416. }
  417. static const ::google::protobuf::Descriptor* descriptor();
  418. static const Base_info& default_instance();
  419. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  420. static inline const Base_info* internal_default_instance() {
  421. return reinterpret_cast<const Base_info*>(
  422. &_Base_info_default_instance_);
  423. }
  424. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  425. 0;
  426. void Swap(Base_info* other);
  427. friend void swap(Base_info& a, Base_info& b) {
  428. a.Swap(&b);
  429. }
  430. // implements Message ----------------------------------------------
  431. inline Base_info* New() const PROTOBUF_FINAL { return New(NULL); }
  432. Base_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  433. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  434. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  435. void CopyFrom(const Base_info& from);
  436. void MergeFrom(const Base_info& from);
  437. void Clear() PROTOBUF_FINAL;
  438. bool IsInitialized() const PROTOBUF_FINAL;
  439. size_t ByteSizeLong() const PROTOBUF_FINAL;
  440. bool MergePartialFromCodedStream(
  441. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  442. void SerializeWithCachedSizes(
  443. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  444. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  445. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  446. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  447. private:
  448. void SharedCtor();
  449. void SharedDtor();
  450. void SetCachedSize(int size) const PROTOBUF_FINAL;
  451. void InternalSwap(Base_info* other);
  452. private:
  453. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  454. return NULL;
  455. }
  456. inline void* MaybeArenaPtr() const {
  457. return NULL;
  458. }
  459. public:
  460. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  461. // nested types ----------------------------------------------------
  462. // accessors -------------------------------------------------------
  463. // required .message.Message_type msg_type = 1 [default = eBase_msg];
  464. bool has_msg_type() const;
  465. void clear_msg_type();
  466. static const int kMsgTypeFieldNumber = 1;
  467. ::message::Message_type msg_type() const;
  468. void set_msg_type(::message::Message_type value);
  469. // optional int32 timeout_ms = 2 [default = 0];
  470. bool has_timeout_ms() const;
  471. void clear_timeout_ms();
  472. static const int kTimeoutMsFieldNumber = 2;
  473. ::google::protobuf::int32 timeout_ms() const;
  474. void set_timeout_ms(::google::protobuf::int32 value);
  475. // required .message.Communicator sender = 3 [default = eEmpty];
  476. bool has_sender() const;
  477. void clear_sender();
  478. static const int kSenderFieldNumber = 3;
  479. ::message::Communicator sender() const;
  480. void set_sender(::message::Communicator value);
  481. // required .message.Communicator receiver = 4 [default = eEmpty];
  482. bool has_receiver() const;
  483. void clear_receiver();
  484. static const int kReceiverFieldNumber = 4;
  485. ::message::Communicator receiver() const;
  486. void set_receiver(::message::Communicator value);
  487. // @@protoc_insertion_point(class_scope:message.Base_info)
  488. private:
  489. void set_has_msg_type();
  490. void clear_has_msg_type();
  491. void set_has_timeout_ms();
  492. void clear_has_timeout_ms();
  493. void set_has_sender();
  494. void clear_has_sender();
  495. void set_has_receiver();
  496. void clear_has_receiver();
  497. // helper for ByteSizeLong()
  498. size_t RequiredFieldsByteSizeFallback() const;
  499. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  500. ::google::protobuf::internal::HasBits<1> _has_bits_;
  501. mutable int _cached_size_;
  502. int msg_type_;
  503. ::google::protobuf::int32 timeout_ms_;
  504. int sender_;
  505. int receiver_;
  506. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  507. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsBase_infoImpl();
  508. };
  509. // -------------------------------------------------------------------
  510. class Base_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Base_msg) */ {
  511. public:
  512. Base_msg();
  513. virtual ~Base_msg();
  514. Base_msg(const Base_msg& from);
  515. inline Base_msg& operator=(const Base_msg& from) {
  516. CopyFrom(from);
  517. return *this;
  518. }
  519. #if LANG_CXX11
  520. Base_msg(Base_msg&& from) noexcept
  521. : Base_msg() {
  522. *this = ::std::move(from);
  523. }
  524. inline Base_msg& operator=(Base_msg&& from) noexcept {
  525. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  526. if (this != &from) InternalSwap(&from);
  527. } else {
  528. CopyFrom(from);
  529. }
  530. return *this;
  531. }
  532. #endif
  533. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  534. return _internal_metadata_.unknown_fields();
  535. }
  536. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  537. return _internal_metadata_.mutable_unknown_fields();
  538. }
  539. static const ::google::protobuf::Descriptor* descriptor();
  540. static const Base_msg& default_instance();
  541. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  542. static inline const Base_msg* internal_default_instance() {
  543. return reinterpret_cast<const Base_msg*>(
  544. &_Base_msg_default_instance_);
  545. }
  546. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  547. 1;
  548. void Swap(Base_msg* other);
  549. friend void swap(Base_msg& a, Base_msg& b) {
  550. a.Swap(&b);
  551. }
  552. // implements Message ----------------------------------------------
  553. inline Base_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  554. Base_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  555. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  556. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  557. void CopyFrom(const Base_msg& from);
  558. void MergeFrom(const Base_msg& from);
  559. void Clear() PROTOBUF_FINAL;
  560. bool IsInitialized() const PROTOBUF_FINAL;
  561. size_t ByteSizeLong() const PROTOBUF_FINAL;
  562. bool MergePartialFromCodedStream(
  563. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  564. void SerializeWithCachedSizes(
  565. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  566. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  567. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  568. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  569. private:
  570. void SharedCtor();
  571. void SharedDtor();
  572. void SetCachedSize(int size) const PROTOBUF_FINAL;
  573. void InternalSwap(Base_msg* other);
  574. private:
  575. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  576. return NULL;
  577. }
  578. inline void* MaybeArenaPtr() const {
  579. return NULL;
  580. }
  581. public:
  582. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  583. // nested types ----------------------------------------------------
  584. // accessors -------------------------------------------------------
  585. // required .message.Base_info base_info = 1;
  586. bool has_base_info() const;
  587. void clear_base_info();
  588. static const int kBaseInfoFieldNumber = 1;
  589. const ::message::Base_info& base_info() const;
  590. ::message::Base_info* release_base_info();
  591. ::message::Base_info* mutable_base_info();
  592. void set_allocated_base_info(::message::Base_info* base_info);
  593. // @@protoc_insertion_point(class_scope:message.Base_msg)
  594. private:
  595. void set_has_base_info();
  596. void clear_has_base_info();
  597. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  598. ::google::protobuf::internal::HasBits<1> _has_bits_;
  599. mutable int _cached_size_;
  600. ::message::Base_info* base_info_;
  601. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  602. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsBase_msgImpl();
  603. };
  604. // -------------------------------------------------------------------
  605. class Error_manager : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Error_manager) */ {
  606. public:
  607. Error_manager();
  608. virtual ~Error_manager();
  609. Error_manager(const Error_manager& from);
  610. inline Error_manager& operator=(const Error_manager& from) {
  611. CopyFrom(from);
  612. return *this;
  613. }
  614. #if LANG_CXX11
  615. Error_manager(Error_manager&& from) noexcept
  616. : Error_manager() {
  617. *this = ::std::move(from);
  618. }
  619. inline Error_manager& operator=(Error_manager&& from) noexcept {
  620. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  621. if (this != &from) InternalSwap(&from);
  622. } else {
  623. CopyFrom(from);
  624. }
  625. return *this;
  626. }
  627. #endif
  628. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  629. return _internal_metadata_.unknown_fields();
  630. }
  631. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  632. return _internal_metadata_.mutable_unknown_fields();
  633. }
  634. static const ::google::protobuf::Descriptor* descriptor();
  635. static const Error_manager& default_instance();
  636. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  637. static inline const Error_manager* internal_default_instance() {
  638. return reinterpret_cast<const Error_manager*>(
  639. &_Error_manager_default_instance_);
  640. }
  641. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  642. 2;
  643. void Swap(Error_manager* other);
  644. friend void swap(Error_manager& a, Error_manager& b) {
  645. a.Swap(&b);
  646. }
  647. // implements Message ----------------------------------------------
  648. inline Error_manager* New() const PROTOBUF_FINAL { return New(NULL); }
  649. Error_manager* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  650. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  651. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  652. void CopyFrom(const Error_manager& from);
  653. void MergeFrom(const Error_manager& from);
  654. void Clear() PROTOBUF_FINAL;
  655. bool IsInitialized() const PROTOBUF_FINAL;
  656. size_t ByteSizeLong() const PROTOBUF_FINAL;
  657. bool MergePartialFromCodedStream(
  658. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  659. void SerializeWithCachedSizes(
  660. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  661. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  662. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  663. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  664. private:
  665. void SharedCtor();
  666. void SharedDtor();
  667. void SetCachedSize(int size) const PROTOBUF_FINAL;
  668. void InternalSwap(Error_manager* other);
  669. private:
  670. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  671. return NULL;
  672. }
  673. inline void* MaybeArenaPtr() const {
  674. return NULL;
  675. }
  676. public:
  677. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  678. // nested types ----------------------------------------------------
  679. // accessors -------------------------------------------------------
  680. // optional string error_description = 3 [default = ""];
  681. bool has_error_description() const;
  682. void clear_error_description();
  683. static const int kErrorDescriptionFieldNumber = 3;
  684. const ::std::string& error_description() const;
  685. void set_error_description(const ::std::string& value);
  686. #if LANG_CXX11
  687. void set_error_description(::std::string&& value);
  688. #endif
  689. void set_error_description(const char* value);
  690. void set_error_description(const char* value, size_t size);
  691. ::std::string* mutable_error_description();
  692. ::std::string* release_error_description();
  693. void set_allocated_error_description(::std::string* error_description);
  694. // required int32 error_code = 1 [default = 0];
  695. bool has_error_code() const;
  696. void clear_error_code();
  697. static const int kErrorCodeFieldNumber = 1;
  698. ::google::protobuf::int32 error_code() const;
  699. void set_error_code(::google::protobuf::int32 value);
  700. // optional .message.Error_level error_level = 2 [default = NORMAL];
  701. bool has_error_level() const;
  702. void clear_error_level();
  703. static const int kErrorLevelFieldNumber = 2;
  704. ::message::Error_level error_level() const;
  705. void set_error_level(::message::Error_level value);
  706. // @@protoc_insertion_point(class_scope:message.Error_manager)
  707. private:
  708. void set_has_error_code();
  709. void clear_has_error_code();
  710. void set_has_error_level();
  711. void clear_has_error_level();
  712. void set_has_error_description();
  713. void clear_has_error_description();
  714. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  715. ::google::protobuf::internal::HasBits<1> _has_bits_;
  716. mutable int _cached_size_;
  717. ::google::protobuf::internal::ArenaStringPtr error_description_;
  718. ::google::protobuf::int32 error_code_;
  719. int error_level_;
  720. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  721. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsError_managerImpl();
  722. };
  723. // -------------------------------------------------------------------
  724. class Locate_information : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_information) */ {
  725. public:
  726. Locate_information();
  727. virtual ~Locate_information();
  728. Locate_information(const Locate_information& from);
  729. inline Locate_information& operator=(const Locate_information& from) {
  730. CopyFrom(from);
  731. return *this;
  732. }
  733. #if LANG_CXX11
  734. Locate_information(Locate_information&& from) noexcept
  735. : Locate_information() {
  736. *this = ::std::move(from);
  737. }
  738. inline Locate_information& operator=(Locate_information&& from) noexcept {
  739. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  740. if (this != &from) InternalSwap(&from);
  741. } else {
  742. CopyFrom(from);
  743. }
  744. return *this;
  745. }
  746. #endif
  747. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  748. return _internal_metadata_.unknown_fields();
  749. }
  750. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  751. return _internal_metadata_.mutable_unknown_fields();
  752. }
  753. static const ::google::protobuf::Descriptor* descriptor();
  754. static const Locate_information& default_instance();
  755. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  756. static inline const Locate_information* internal_default_instance() {
  757. return reinterpret_cast<const Locate_information*>(
  758. &_Locate_information_default_instance_);
  759. }
  760. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  761. 3;
  762. void Swap(Locate_information* other);
  763. friend void swap(Locate_information& a, Locate_information& b) {
  764. a.Swap(&b);
  765. }
  766. // implements Message ----------------------------------------------
  767. inline Locate_information* New() const PROTOBUF_FINAL { return New(NULL); }
  768. Locate_information* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  769. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  770. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  771. void CopyFrom(const Locate_information& from);
  772. void MergeFrom(const Locate_information& from);
  773. void Clear() PROTOBUF_FINAL;
  774. bool IsInitialized() const PROTOBUF_FINAL;
  775. size_t ByteSizeLong() const PROTOBUF_FINAL;
  776. bool MergePartialFromCodedStream(
  777. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  778. void SerializeWithCachedSizes(
  779. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  780. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  781. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  782. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  783. private:
  784. void SharedCtor();
  785. void SharedDtor();
  786. void SetCachedSize(int size) const PROTOBUF_FINAL;
  787. void InternalSwap(Locate_information* other);
  788. private:
  789. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  790. return NULL;
  791. }
  792. inline void* MaybeArenaPtr() const {
  793. return NULL;
  794. }
  795. public:
  796. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  797. // nested types ----------------------------------------------------
  798. // accessors -------------------------------------------------------
  799. // optional float locate_x = 1 [default = 0];
  800. bool has_locate_x() const;
  801. void clear_locate_x();
  802. static const int kLocateXFieldNumber = 1;
  803. float locate_x() const;
  804. void set_locate_x(float value);
  805. // optional float locate_y = 2 [default = 0];
  806. bool has_locate_y() const;
  807. void clear_locate_y();
  808. static const int kLocateYFieldNumber = 2;
  809. float locate_y() const;
  810. void set_locate_y(float value);
  811. // optional float locate_angle = 3 [default = 0];
  812. bool has_locate_angle() const;
  813. void clear_locate_angle();
  814. static const int kLocateAngleFieldNumber = 3;
  815. float locate_angle() const;
  816. void set_locate_angle(float value);
  817. // optional float locate_length = 4 [default = 0];
  818. bool has_locate_length() const;
  819. void clear_locate_length();
  820. static const int kLocateLengthFieldNumber = 4;
  821. float locate_length() const;
  822. void set_locate_length(float value);
  823. // optional float locate_width = 5 [default = 0];
  824. bool has_locate_width() const;
  825. void clear_locate_width();
  826. static const int kLocateWidthFieldNumber = 5;
  827. float locate_width() const;
  828. void set_locate_width(float value);
  829. // optional float locate_height = 6 [default = 0];
  830. bool has_locate_height() const;
  831. void clear_locate_height();
  832. static const int kLocateHeightFieldNumber = 6;
  833. float locate_height() const;
  834. void set_locate_height(float value);
  835. // optional float locate_wheel_base = 7 [default = 0];
  836. bool has_locate_wheel_base() const;
  837. void clear_locate_wheel_base();
  838. static const int kLocateWheelBaseFieldNumber = 7;
  839. float locate_wheel_base() const;
  840. void set_locate_wheel_base(float value);
  841. // optional float locate_wheel_width = 8 [default = 0];
  842. bool has_locate_wheel_width() const;
  843. void clear_locate_wheel_width();
  844. static const int kLocateWheelWidthFieldNumber = 8;
  845. float locate_wheel_width() const;
  846. void set_locate_wheel_width(float value);
  847. // optional bool locate_correct = 9 [default = false];
  848. bool has_locate_correct() const;
  849. void clear_locate_correct();
  850. static const int kLocateCorrectFieldNumber = 9;
  851. bool locate_correct() const;
  852. void set_locate_correct(bool value);
  853. // optional float locate_front_theta = 10 [default = 0];
  854. bool has_locate_front_theta() const;
  855. void clear_locate_front_theta();
  856. static const int kLocateFrontThetaFieldNumber = 10;
  857. float locate_front_theta() const;
  858. void set_locate_front_theta(float value);
  859. // optional float uniformed_car_x = 11;
  860. bool has_uniformed_car_x() const;
  861. void clear_uniformed_car_x();
  862. static const int kUniformedCarXFieldNumber = 11;
  863. float uniformed_car_x() const;
  864. void set_uniformed_car_x(float value);
  865. // optional float uniformed_car_y = 12;
  866. bool has_uniformed_car_y() const;
  867. void clear_uniformed_car_y();
  868. static const int kUniformedCarYFieldNumber = 12;
  869. float uniformed_car_y() const;
  870. void set_uniformed_car_y(float value);
  871. // @@protoc_insertion_point(class_scope:message.Locate_information)
  872. private:
  873. void set_has_locate_x();
  874. void clear_has_locate_x();
  875. void set_has_locate_y();
  876. void clear_has_locate_y();
  877. void set_has_locate_angle();
  878. void clear_has_locate_angle();
  879. void set_has_locate_length();
  880. void clear_has_locate_length();
  881. void set_has_locate_width();
  882. void clear_has_locate_width();
  883. void set_has_locate_height();
  884. void clear_has_locate_height();
  885. void set_has_locate_wheel_base();
  886. void clear_has_locate_wheel_base();
  887. void set_has_locate_wheel_width();
  888. void clear_has_locate_wheel_width();
  889. void set_has_locate_correct();
  890. void clear_has_locate_correct();
  891. void set_has_locate_front_theta();
  892. void clear_has_locate_front_theta();
  893. void set_has_uniformed_car_x();
  894. void clear_has_uniformed_car_x();
  895. void set_has_uniformed_car_y();
  896. void clear_has_uniformed_car_y();
  897. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  898. ::google::protobuf::internal::HasBits<1> _has_bits_;
  899. mutable int _cached_size_;
  900. float locate_x_;
  901. float locate_y_;
  902. float locate_angle_;
  903. float locate_length_;
  904. float locate_width_;
  905. float locate_height_;
  906. float locate_wheel_base_;
  907. float locate_wheel_width_;
  908. bool locate_correct_;
  909. float locate_front_theta_;
  910. float uniformed_car_x_;
  911. float uniformed_car_y_;
  912. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  913. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsLocate_informationImpl();
  914. };
  915. // -------------------------------------------------------------------
  916. class Car_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Car_info) */ {
  917. public:
  918. Car_info();
  919. virtual ~Car_info();
  920. Car_info(const Car_info& from);
  921. inline Car_info& operator=(const Car_info& from) {
  922. CopyFrom(from);
  923. return *this;
  924. }
  925. #if LANG_CXX11
  926. Car_info(Car_info&& from) noexcept
  927. : Car_info() {
  928. *this = ::std::move(from);
  929. }
  930. inline Car_info& operator=(Car_info&& from) noexcept {
  931. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  932. if (this != &from) InternalSwap(&from);
  933. } else {
  934. CopyFrom(from);
  935. }
  936. return *this;
  937. }
  938. #endif
  939. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  940. return _internal_metadata_.unknown_fields();
  941. }
  942. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  943. return _internal_metadata_.mutable_unknown_fields();
  944. }
  945. static const ::google::protobuf::Descriptor* descriptor();
  946. static const Car_info& default_instance();
  947. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  948. static inline const Car_info* internal_default_instance() {
  949. return reinterpret_cast<const Car_info*>(
  950. &_Car_info_default_instance_);
  951. }
  952. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  953. 4;
  954. void Swap(Car_info* other);
  955. friend void swap(Car_info& a, Car_info& b) {
  956. a.Swap(&b);
  957. }
  958. // implements Message ----------------------------------------------
  959. inline Car_info* New() const PROTOBUF_FINAL { return New(NULL); }
  960. Car_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  961. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  962. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  963. void CopyFrom(const Car_info& from);
  964. void MergeFrom(const Car_info& from);
  965. void Clear() PROTOBUF_FINAL;
  966. bool IsInitialized() const PROTOBUF_FINAL;
  967. size_t ByteSizeLong() const PROTOBUF_FINAL;
  968. bool MergePartialFromCodedStream(
  969. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  970. void SerializeWithCachedSizes(
  971. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  972. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  973. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  974. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  975. private:
  976. void SharedCtor();
  977. void SharedDtor();
  978. void SetCachedSize(int size) const PROTOBUF_FINAL;
  979. void InternalSwap(Car_info* other);
  980. private:
  981. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  982. return NULL;
  983. }
  984. inline void* MaybeArenaPtr() const {
  985. return NULL;
  986. }
  987. public:
  988. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  989. // nested types ----------------------------------------------------
  990. // accessors -------------------------------------------------------
  991. // optional string license = 4 [default = ""];
  992. bool has_license() const;
  993. void clear_license();
  994. static const int kLicenseFieldNumber = 4;
  995. const ::std::string& license() const;
  996. void set_license(const ::std::string& value);
  997. #if LANG_CXX11
  998. void set_license(::std::string&& value);
  999. #endif
  1000. void set_license(const char* value);
  1001. void set_license(const char* value, size_t size);
  1002. ::std::string* mutable_license();
  1003. ::std::string* release_license();
  1004. void set_allocated_license(::std::string* license);
  1005. // optional float car_length = 1 [default = 0];
  1006. bool has_car_length() const;
  1007. void clear_car_length();
  1008. static const int kCarLengthFieldNumber = 1;
  1009. float car_length() const;
  1010. void set_car_length(float value);
  1011. // optional float car_width = 2 [default = 0];
  1012. bool has_car_width() const;
  1013. void clear_car_width();
  1014. static const int kCarWidthFieldNumber = 2;
  1015. float car_width() const;
  1016. void set_car_width(float value);
  1017. // optional float car_height = 3 [default = 0];
  1018. bool has_car_height() const;
  1019. void clear_car_height();
  1020. static const int kCarHeightFieldNumber = 3;
  1021. float car_height() const;
  1022. void set_car_height(float value);
  1023. // optional float car_wheel_base = 5 [default = 0];
  1024. bool has_car_wheel_base() const;
  1025. void clear_car_wheel_base();
  1026. static const int kCarWheelBaseFieldNumber = 5;
  1027. float car_wheel_base() const;
  1028. void set_car_wheel_base(float value);
  1029. // optional float car_wheel_width = 6 [default = 0];
  1030. bool has_car_wheel_width() const;
  1031. void clear_car_wheel_width();
  1032. static const int kCarWheelWidthFieldNumber = 6;
  1033. float car_wheel_width() const;
  1034. void set_car_wheel_width(float value);
  1035. // @@protoc_insertion_point(class_scope:message.Car_info)
  1036. private:
  1037. void set_has_car_length();
  1038. void clear_has_car_length();
  1039. void set_has_car_width();
  1040. void clear_has_car_width();
  1041. void set_has_car_height();
  1042. void clear_has_car_height();
  1043. void set_has_license();
  1044. void clear_has_license();
  1045. void set_has_car_wheel_base();
  1046. void clear_has_car_wheel_base();
  1047. void set_has_car_wheel_width();
  1048. void clear_has_car_wheel_width();
  1049. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1050. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1051. mutable int _cached_size_;
  1052. ::google::protobuf::internal::ArenaStringPtr license_;
  1053. float car_length_;
  1054. float car_width_;
  1055. float car_height_;
  1056. float car_wheel_base_;
  1057. float car_wheel_width_;
  1058. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  1059. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsCar_infoImpl();
  1060. };
  1061. // -------------------------------------------------------------------
  1062. class Parkspace_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_info) */ {
  1063. public:
  1064. Parkspace_info();
  1065. virtual ~Parkspace_info();
  1066. Parkspace_info(const Parkspace_info& from);
  1067. inline Parkspace_info& operator=(const Parkspace_info& from) {
  1068. CopyFrom(from);
  1069. return *this;
  1070. }
  1071. #if LANG_CXX11
  1072. Parkspace_info(Parkspace_info&& from) noexcept
  1073. : Parkspace_info() {
  1074. *this = ::std::move(from);
  1075. }
  1076. inline Parkspace_info& operator=(Parkspace_info&& from) noexcept {
  1077. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  1078. if (this != &from) InternalSwap(&from);
  1079. } else {
  1080. CopyFrom(from);
  1081. }
  1082. return *this;
  1083. }
  1084. #endif
  1085. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1086. return _internal_metadata_.unknown_fields();
  1087. }
  1088. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1089. return _internal_metadata_.mutable_unknown_fields();
  1090. }
  1091. static const ::google::protobuf::Descriptor* descriptor();
  1092. static const Parkspace_info& default_instance();
  1093. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  1094. static inline const Parkspace_info* internal_default_instance() {
  1095. return reinterpret_cast<const Parkspace_info*>(
  1096. &_Parkspace_info_default_instance_);
  1097. }
  1098. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  1099. 5;
  1100. void Swap(Parkspace_info* other);
  1101. friend void swap(Parkspace_info& a, Parkspace_info& b) {
  1102. a.Swap(&b);
  1103. }
  1104. // implements Message ----------------------------------------------
  1105. inline Parkspace_info* New() const PROTOBUF_FINAL { return New(NULL); }
  1106. Parkspace_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  1107. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1108. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  1109. void CopyFrom(const Parkspace_info& from);
  1110. void MergeFrom(const Parkspace_info& from);
  1111. void Clear() PROTOBUF_FINAL;
  1112. bool IsInitialized() const PROTOBUF_FINAL;
  1113. size_t ByteSizeLong() const PROTOBUF_FINAL;
  1114. bool MergePartialFromCodedStream(
  1115. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  1116. void SerializeWithCachedSizes(
  1117. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  1118. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  1119. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  1120. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  1121. private:
  1122. void SharedCtor();
  1123. void SharedDtor();
  1124. void SetCachedSize(int size) const PROTOBUF_FINAL;
  1125. void InternalSwap(Parkspace_info* other);
  1126. private:
  1127. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  1128. return NULL;
  1129. }
  1130. inline void* MaybeArenaPtr() const {
  1131. return NULL;
  1132. }
  1133. public:
  1134. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  1135. // nested types ----------------------------------------------------
  1136. // accessors -------------------------------------------------------
  1137. // optional string entry_time = 12;
  1138. bool has_entry_time() const;
  1139. void clear_entry_time();
  1140. static const int kEntryTimeFieldNumber = 12;
  1141. const ::std::string& entry_time() const;
  1142. void set_entry_time(const ::std::string& value);
  1143. #if LANG_CXX11
  1144. void set_entry_time(::std::string&& value);
  1145. #endif
  1146. void set_entry_time(const char* value);
  1147. void set_entry_time(const char* value, size_t size);
  1148. ::std::string* mutable_entry_time();
  1149. ::std::string* release_entry_time();
  1150. void set_allocated_entry_time(::std::string* entry_time);
  1151. // optional string leave_time = 13;
  1152. bool has_leave_time() const;
  1153. void clear_leave_time();
  1154. static const int kLeaveTimeFieldNumber = 13;
  1155. const ::std::string& leave_time() const;
  1156. void set_leave_time(const ::std::string& value);
  1157. #if LANG_CXX11
  1158. void set_leave_time(::std::string&& value);
  1159. #endif
  1160. void set_leave_time(const char* value);
  1161. void set_leave_time(const char* value, size_t size);
  1162. ::std::string* mutable_leave_time();
  1163. ::std::string* release_leave_time();
  1164. void set_allocated_leave_time(::std::string* leave_time);
  1165. // optional .message.Car_info car_info = 11;
  1166. bool has_car_info() const;
  1167. void clear_car_info();
  1168. static const int kCarInfoFieldNumber = 11;
  1169. const ::message::Car_info& car_info() const;
  1170. ::message::Car_info* release_car_info();
  1171. ::message::Car_info* mutable_car_info();
  1172. void set_allocated_car_info(::message::Car_info* car_info);
  1173. // optional int32 parkingspace_index_id = 1;
  1174. bool has_parkingspace_index_id() const;
  1175. void clear_parkingspace_index_id();
  1176. static const int kParkingspaceIndexIdFieldNumber = 1;
  1177. ::google::protobuf::int32 parkingspace_index_id() const;
  1178. void set_parkingspace_index_id(::google::protobuf::int32 value);
  1179. // optional .message.Parkspace_type parkingspace_type = 2;
  1180. bool has_parkingspace_type() const;
  1181. void clear_parkingspace_type();
  1182. static const int kParkingspaceTypeFieldNumber = 2;
  1183. ::message::Parkspace_type parkingspace_type() const;
  1184. void set_parkingspace_type(::message::Parkspace_type value);
  1185. // optional int32 parkingspace_unit_id = 3;
  1186. bool has_parkingspace_unit_id() const;
  1187. void clear_parkingspace_unit_id();
  1188. static const int kParkingspaceUnitIdFieldNumber = 3;
  1189. ::google::protobuf::int32 parkingspace_unit_id() const;
  1190. void set_parkingspace_unit_id(::google::protobuf::int32 value);
  1191. // optional int32 parkingspace_label_id = 4;
  1192. bool has_parkingspace_label_id() const;
  1193. void clear_parkingspace_label_id();
  1194. static const int kParkingspaceLabelIdFieldNumber = 4;
  1195. ::google::protobuf::int32 parkingspace_label_id() const;
  1196. void set_parkingspace_label_id(::google::protobuf::int32 value);
  1197. // optional int32 parkingspace_room_id = 5;
  1198. bool has_parkingspace_room_id() const;
  1199. void clear_parkingspace_room_id();
  1200. static const int kParkingspaceRoomIdFieldNumber = 5;
  1201. ::google::protobuf::int32 parkingspace_room_id() const;
  1202. void set_parkingspace_room_id(::google::protobuf::int32 value);
  1203. // optional .message.Direction parkingspace_direction = 6;
  1204. bool has_parkingspace_direction() const;
  1205. void clear_parkingspace_direction();
  1206. static const int kParkingspaceDirectionFieldNumber = 6;
  1207. ::message::Direction parkingspace_direction() const;
  1208. void set_parkingspace_direction(::message::Direction value);
  1209. // optional int32 parkingspace_floor_id = 7;
  1210. bool has_parkingspace_floor_id() const;
  1211. void clear_parkingspace_floor_id();
  1212. static const int kParkingspaceFloorIdFieldNumber = 7;
  1213. ::google::protobuf::int32 parkingspace_floor_id() const;
  1214. void set_parkingspace_floor_id(::google::protobuf::int32 value);
  1215. // optional float parkingspace_width = 8;
  1216. bool has_parkingspace_width() const;
  1217. void clear_parkingspace_width();
  1218. static const int kParkingspaceWidthFieldNumber = 8;
  1219. float parkingspace_width() const;
  1220. void set_parkingspace_width(float value);
  1221. // optional float parkingspace_height = 9;
  1222. bool has_parkingspace_height() const;
  1223. void clear_parkingspace_height();
  1224. static const int kParkingspaceHeightFieldNumber = 9;
  1225. float parkingspace_height() const;
  1226. void set_parkingspace_height(float value);
  1227. // optional .message.Parkspace_status parkingspace_status = 10;
  1228. bool has_parkingspace_status() const;
  1229. void clear_parkingspace_status();
  1230. static const int kParkingspaceStatusFieldNumber = 10;
  1231. ::message::Parkspace_status parkingspace_status() const;
  1232. void set_parkingspace_status(::message::Parkspace_status value);
  1233. // optional .message.Parkspace_path parkspace_path = 14;
  1234. bool has_parkspace_path() const;
  1235. void clear_parkspace_path();
  1236. static const int kParkspacePathFieldNumber = 14;
  1237. ::message::Parkspace_path parkspace_path() const;
  1238. void set_parkspace_path(::message::Parkspace_path value);
  1239. // optional float path_estimate_time = 15;
  1240. bool has_path_estimate_time() const;
  1241. void clear_path_estimate_time();
  1242. static const int kPathEstimateTimeFieldNumber = 15;
  1243. float path_estimate_time() const;
  1244. void set_path_estimate_time(float value);
  1245. // optional .message.Parkspace_status parkspace_status_target = 16;
  1246. bool has_parkspace_status_target() const;
  1247. void clear_parkspace_status_target();
  1248. static const int kParkspaceStatusTargetFieldNumber = 16;
  1249. ::message::Parkspace_status parkspace_status_target() const;
  1250. void set_parkspace_status_target(::message::Parkspace_status value);
  1251. // optional .message.Car_type car_type = 17;
  1252. bool has_car_type() const;
  1253. void clear_car_type();
  1254. static const int kCarTypeFieldNumber = 17;
  1255. ::message::Car_type car_type() const;
  1256. void set_car_type(::message::Car_type value);
  1257. // @@protoc_insertion_point(class_scope:message.Parkspace_info)
  1258. private:
  1259. void set_has_parkingspace_index_id();
  1260. void clear_has_parkingspace_index_id();
  1261. void set_has_parkingspace_type();
  1262. void clear_has_parkingspace_type();
  1263. void set_has_parkingspace_unit_id();
  1264. void clear_has_parkingspace_unit_id();
  1265. void set_has_parkingspace_label_id();
  1266. void clear_has_parkingspace_label_id();
  1267. void set_has_parkingspace_room_id();
  1268. void clear_has_parkingspace_room_id();
  1269. void set_has_parkingspace_direction();
  1270. void clear_has_parkingspace_direction();
  1271. void set_has_parkingspace_floor_id();
  1272. void clear_has_parkingspace_floor_id();
  1273. void set_has_parkingspace_width();
  1274. void clear_has_parkingspace_width();
  1275. void set_has_parkingspace_height();
  1276. void clear_has_parkingspace_height();
  1277. void set_has_parkingspace_status();
  1278. void clear_has_parkingspace_status();
  1279. void set_has_car_info();
  1280. void clear_has_car_info();
  1281. void set_has_entry_time();
  1282. void clear_has_entry_time();
  1283. void set_has_leave_time();
  1284. void clear_has_leave_time();
  1285. void set_has_parkspace_path();
  1286. void clear_has_parkspace_path();
  1287. void set_has_path_estimate_time();
  1288. void clear_has_path_estimate_time();
  1289. void set_has_parkspace_status_target();
  1290. void clear_has_parkspace_status_target();
  1291. void set_has_car_type();
  1292. void clear_has_car_type();
  1293. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1294. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1295. mutable int _cached_size_;
  1296. ::google::protobuf::internal::ArenaStringPtr entry_time_;
  1297. ::google::protobuf::internal::ArenaStringPtr leave_time_;
  1298. ::message::Car_info* car_info_;
  1299. ::google::protobuf::int32 parkingspace_index_id_;
  1300. int parkingspace_type_;
  1301. ::google::protobuf::int32 parkingspace_unit_id_;
  1302. ::google::protobuf::int32 parkingspace_label_id_;
  1303. ::google::protobuf::int32 parkingspace_room_id_;
  1304. int parkingspace_direction_;
  1305. ::google::protobuf::int32 parkingspace_floor_id_;
  1306. float parkingspace_width_;
  1307. float parkingspace_height_;
  1308. int parkingspace_status_;
  1309. int parkspace_path_;
  1310. float path_estimate_time_;
  1311. int parkspace_status_target_;
  1312. int car_type_;
  1313. friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
  1314. friend void ::protobuf_message_5fbase_2eproto::InitDefaultsParkspace_infoImpl();
  1315. };
  1316. // ===================================================================
  1317. // ===================================================================
  1318. #ifdef __GNUC__
  1319. #pragma GCC diagnostic push
  1320. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1321. #endif // __GNUC__
  1322. // Base_info
  1323. // required .message.Message_type msg_type = 1 [default = eBase_msg];
  1324. inline bool Base_info::has_msg_type() const {
  1325. return (_has_bits_[0] & 0x00000001u) != 0;
  1326. }
  1327. inline void Base_info::set_has_msg_type() {
  1328. _has_bits_[0] |= 0x00000001u;
  1329. }
  1330. inline void Base_info::clear_has_msg_type() {
  1331. _has_bits_[0] &= ~0x00000001u;
  1332. }
  1333. inline void Base_info::clear_msg_type() {
  1334. msg_type_ = 0;
  1335. clear_has_msg_type();
  1336. }
  1337. inline ::message::Message_type Base_info::msg_type() const {
  1338. // @@protoc_insertion_point(field_get:message.Base_info.msg_type)
  1339. return static_cast< ::message::Message_type >(msg_type_);
  1340. }
  1341. inline void Base_info::set_msg_type(::message::Message_type value) {
  1342. assert(::message::Message_type_IsValid(value));
  1343. set_has_msg_type();
  1344. msg_type_ = value;
  1345. // @@protoc_insertion_point(field_set:message.Base_info.msg_type)
  1346. }
  1347. // optional int32 timeout_ms = 2 [default = 0];
  1348. inline bool Base_info::has_timeout_ms() const {
  1349. return (_has_bits_[0] & 0x00000002u) != 0;
  1350. }
  1351. inline void Base_info::set_has_timeout_ms() {
  1352. _has_bits_[0] |= 0x00000002u;
  1353. }
  1354. inline void Base_info::clear_has_timeout_ms() {
  1355. _has_bits_[0] &= ~0x00000002u;
  1356. }
  1357. inline void Base_info::clear_timeout_ms() {
  1358. timeout_ms_ = 0;
  1359. clear_has_timeout_ms();
  1360. }
  1361. inline ::google::protobuf::int32 Base_info::timeout_ms() const {
  1362. // @@protoc_insertion_point(field_get:message.Base_info.timeout_ms)
  1363. return timeout_ms_;
  1364. }
  1365. inline void Base_info::set_timeout_ms(::google::protobuf::int32 value) {
  1366. set_has_timeout_ms();
  1367. timeout_ms_ = value;
  1368. // @@protoc_insertion_point(field_set:message.Base_info.timeout_ms)
  1369. }
  1370. // required .message.Communicator sender = 3 [default = eEmpty];
  1371. inline bool Base_info::has_sender() const {
  1372. return (_has_bits_[0] & 0x00000004u) != 0;
  1373. }
  1374. inline void Base_info::set_has_sender() {
  1375. _has_bits_[0] |= 0x00000004u;
  1376. }
  1377. inline void Base_info::clear_has_sender() {
  1378. _has_bits_[0] &= ~0x00000004u;
  1379. }
  1380. inline void Base_info::clear_sender() {
  1381. sender_ = 0;
  1382. clear_has_sender();
  1383. }
  1384. inline ::message::Communicator Base_info::sender() const {
  1385. // @@protoc_insertion_point(field_get:message.Base_info.sender)
  1386. return static_cast< ::message::Communicator >(sender_);
  1387. }
  1388. inline void Base_info::set_sender(::message::Communicator value) {
  1389. assert(::message::Communicator_IsValid(value));
  1390. set_has_sender();
  1391. sender_ = value;
  1392. // @@protoc_insertion_point(field_set:message.Base_info.sender)
  1393. }
  1394. // required .message.Communicator receiver = 4 [default = eEmpty];
  1395. inline bool Base_info::has_receiver() const {
  1396. return (_has_bits_[0] & 0x00000008u) != 0;
  1397. }
  1398. inline void Base_info::set_has_receiver() {
  1399. _has_bits_[0] |= 0x00000008u;
  1400. }
  1401. inline void Base_info::clear_has_receiver() {
  1402. _has_bits_[0] &= ~0x00000008u;
  1403. }
  1404. inline void Base_info::clear_receiver() {
  1405. receiver_ = 0;
  1406. clear_has_receiver();
  1407. }
  1408. inline ::message::Communicator Base_info::receiver() const {
  1409. // @@protoc_insertion_point(field_get:message.Base_info.receiver)
  1410. return static_cast< ::message::Communicator >(receiver_);
  1411. }
  1412. inline void Base_info::set_receiver(::message::Communicator value) {
  1413. assert(::message::Communicator_IsValid(value));
  1414. set_has_receiver();
  1415. receiver_ = value;
  1416. // @@protoc_insertion_point(field_set:message.Base_info.receiver)
  1417. }
  1418. // -------------------------------------------------------------------
  1419. // Base_msg
  1420. // required .message.Base_info base_info = 1;
  1421. inline bool Base_msg::has_base_info() const {
  1422. return (_has_bits_[0] & 0x00000001u) != 0;
  1423. }
  1424. inline void Base_msg::set_has_base_info() {
  1425. _has_bits_[0] |= 0x00000001u;
  1426. }
  1427. inline void Base_msg::clear_has_base_info() {
  1428. _has_bits_[0] &= ~0x00000001u;
  1429. }
  1430. inline void Base_msg::clear_base_info() {
  1431. if (base_info_ != NULL) base_info_->Clear();
  1432. clear_has_base_info();
  1433. }
  1434. inline const ::message::Base_info& Base_msg::base_info() const {
  1435. const ::message::Base_info* p = base_info_;
  1436. // @@protoc_insertion_point(field_get:message.Base_msg.base_info)
  1437. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1438. &::message::_Base_info_default_instance_);
  1439. }
  1440. inline ::message::Base_info* Base_msg::release_base_info() {
  1441. // @@protoc_insertion_point(field_release:message.Base_msg.base_info)
  1442. clear_has_base_info();
  1443. ::message::Base_info* temp = base_info_;
  1444. base_info_ = NULL;
  1445. return temp;
  1446. }
  1447. inline ::message::Base_info* Base_msg::mutable_base_info() {
  1448. set_has_base_info();
  1449. if (base_info_ == NULL) {
  1450. base_info_ = new ::message::Base_info;
  1451. }
  1452. // @@protoc_insertion_point(field_mutable:message.Base_msg.base_info)
  1453. return base_info_;
  1454. }
  1455. inline void Base_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1456. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1457. if (message_arena == NULL) {
  1458. delete base_info_;
  1459. }
  1460. if (base_info) {
  1461. ::google::protobuf::Arena* submessage_arena = NULL;
  1462. if (message_arena != submessage_arena) {
  1463. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1464. message_arena, base_info, submessage_arena);
  1465. }
  1466. set_has_base_info();
  1467. } else {
  1468. clear_has_base_info();
  1469. }
  1470. base_info_ = base_info;
  1471. // @@protoc_insertion_point(field_set_allocated:message.Base_msg.base_info)
  1472. }
  1473. // -------------------------------------------------------------------
  1474. // Error_manager
  1475. // required int32 error_code = 1 [default = 0];
  1476. inline bool Error_manager::has_error_code() const {
  1477. return (_has_bits_[0] & 0x00000002u) != 0;
  1478. }
  1479. inline void Error_manager::set_has_error_code() {
  1480. _has_bits_[0] |= 0x00000002u;
  1481. }
  1482. inline void Error_manager::clear_has_error_code() {
  1483. _has_bits_[0] &= ~0x00000002u;
  1484. }
  1485. inline void Error_manager::clear_error_code() {
  1486. error_code_ = 0;
  1487. clear_has_error_code();
  1488. }
  1489. inline ::google::protobuf::int32 Error_manager::error_code() const {
  1490. // @@protoc_insertion_point(field_get:message.Error_manager.error_code)
  1491. return error_code_;
  1492. }
  1493. inline void Error_manager::set_error_code(::google::protobuf::int32 value) {
  1494. set_has_error_code();
  1495. error_code_ = value;
  1496. // @@protoc_insertion_point(field_set:message.Error_manager.error_code)
  1497. }
  1498. // optional .message.Error_level error_level = 2 [default = NORMAL];
  1499. inline bool Error_manager::has_error_level() const {
  1500. return (_has_bits_[0] & 0x00000004u) != 0;
  1501. }
  1502. inline void Error_manager::set_has_error_level() {
  1503. _has_bits_[0] |= 0x00000004u;
  1504. }
  1505. inline void Error_manager::clear_has_error_level() {
  1506. _has_bits_[0] &= ~0x00000004u;
  1507. }
  1508. inline void Error_manager::clear_error_level() {
  1509. error_level_ = 0;
  1510. clear_has_error_level();
  1511. }
  1512. inline ::message::Error_level Error_manager::error_level() const {
  1513. // @@protoc_insertion_point(field_get:message.Error_manager.error_level)
  1514. return static_cast< ::message::Error_level >(error_level_);
  1515. }
  1516. inline void Error_manager::set_error_level(::message::Error_level value) {
  1517. assert(::message::Error_level_IsValid(value));
  1518. set_has_error_level();
  1519. error_level_ = value;
  1520. // @@protoc_insertion_point(field_set:message.Error_manager.error_level)
  1521. }
  1522. // optional string error_description = 3 [default = ""];
  1523. inline bool Error_manager::has_error_description() const {
  1524. return (_has_bits_[0] & 0x00000001u) != 0;
  1525. }
  1526. inline void Error_manager::set_has_error_description() {
  1527. _has_bits_[0] |= 0x00000001u;
  1528. }
  1529. inline void Error_manager::clear_has_error_description() {
  1530. _has_bits_[0] &= ~0x00000001u;
  1531. }
  1532. inline void Error_manager::clear_error_description() {
  1533. error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1534. clear_has_error_description();
  1535. }
  1536. inline const ::std::string& Error_manager::error_description() const {
  1537. // @@protoc_insertion_point(field_get:message.Error_manager.error_description)
  1538. return error_description_.GetNoArena();
  1539. }
  1540. inline void Error_manager::set_error_description(const ::std::string& value) {
  1541. set_has_error_description();
  1542. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1543. // @@protoc_insertion_point(field_set:message.Error_manager.error_description)
  1544. }
  1545. #if LANG_CXX11
  1546. inline void Error_manager::set_error_description(::std::string&& value) {
  1547. set_has_error_description();
  1548. error_description_.SetNoArena(
  1549. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1550. // @@protoc_insertion_point(field_set_rvalue:message.Error_manager.error_description)
  1551. }
  1552. #endif
  1553. inline void Error_manager::set_error_description(const char* value) {
  1554. GOOGLE_DCHECK(value != NULL);
  1555. set_has_error_description();
  1556. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1557. // @@protoc_insertion_point(field_set_char:message.Error_manager.error_description)
  1558. }
  1559. inline void Error_manager::set_error_description(const char* value, size_t size) {
  1560. set_has_error_description();
  1561. error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1562. ::std::string(reinterpret_cast<const char*>(value), size));
  1563. // @@protoc_insertion_point(field_set_pointer:message.Error_manager.error_description)
  1564. }
  1565. inline ::std::string* Error_manager::mutable_error_description() {
  1566. set_has_error_description();
  1567. // @@protoc_insertion_point(field_mutable:message.Error_manager.error_description)
  1568. return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1569. }
  1570. inline ::std::string* Error_manager::release_error_description() {
  1571. // @@protoc_insertion_point(field_release:message.Error_manager.error_description)
  1572. clear_has_error_description();
  1573. return error_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1574. }
  1575. inline void Error_manager::set_allocated_error_description(::std::string* error_description) {
  1576. if (error_description != NULL) {
  1577. set_has_error_description();
  1578. } else {
  1579. clear_has_error_description();
  1580. }
  1581. error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
  1582. // @@protoc_insertion_point(field_set_allocated:message.Error_manager.error_description)
  1583. }
  1584. // -------------------------------------------------------------------
  1585. // Locate_information
  1586. // optional float locate_x = 1 [default = 0];
  1587. inline bool Locate_information::has_locate_x() const {
  1588. return (_has_bits_[0] & 0x00000001u) != 0;
  1589. }
  1590. inline void Locate_information::set_has_locate_x() {
  1591. _has_bits_[0] |= 0x00000001u;
  1592. }
  1593. inline void Locate_information::clear_has_locate_x() {
  1594. _has_bits_[0] &= ~0x00000001u;
  1595. }
  1596. inline void Locate_information::clear_locate_x() {
  1597. locate_x_ = 0;
  1598. clear_has_locate_x();
  1599. }
  1600. inline float Locate_information::locate_x() const {
  1601. // @@protoc_insertion_point(field_get:message.Locate_information.locate_x)
  1602. return locate_x_;
  1603. }
  1604. inline void Locate_information::set_locate_x(float value) {
  1605. set_has_locate_x();
  1606. locate_x_ = value;
  1607. // @@protoc_insertion_point(field_set:message.Locate_information.locate_x)
  1608. }
  1609. // optional float locate_y = 2 [default = 0];
  1610. inline bool Locate_information::has_locate_y() const {
  1611. return (_has_bits_[0] & 0x00000002u) != 0;
  1612. }
  1613. inline void Locate_information::set_has_locate_y() {
  1614. _has_bits_[0] |= 0x00000002u;
  1615. }
  1616. inline void Locate_information::clear_has_locate_y() {
  1617. _has_bits_[0] &= ~0x00000002u;
  1618. }
  1619. inline void Locate_information::clear_locate_y() {
  1620. locate_y_ = 0;
  1621. clear_has_locate_y();
  1622. }
  1623. inline float Locate_information::locate_y() const {
  1624. // @@protoc_insertion_point(field_get:message.Locate_information.locate_y)
  1625. return locate_y_;
  1626. }
  1627. inline void Locate_information::set_locate_y(float value) {
  1628. set_has_locate_y();
  1629. locate_y_ = value;
  1630. // @@protoc_insertion_point(field_set:message.Locate_information.locate_y)
  1631. }
  1632. // optional float locate_angle = 3 [default = 0];
  1633. inline bool Locate_information::has_locate_angle() const {
  1634. return (_has_bits_[0] & 0x00000004u) != 0;
  1635. }
  1636. inline void Locate_information::set_has_locate_angle() {
  1637. _has_bits_[0] |= 0x00000004u;
  1638. }
  1639. inline void Locate_information::clear_has_locate_angle() {
  1640. _has_bits_[0] &= ~0x00000004u;
  1641. }
  1642. inline void Locate_information::clear_locate_angle() {
  1643. locate_angle_ = 0;
  1644. clear_has_locate_angle();
  1645. }
  1646. inline float Locate_information::locate_angle() const {
  1647. // @@protoc_insertion_point(field_get:message.Locate_information.locate_angle)
  1648. return locate_angle_;
  1649. }
  1650. inline void Locate_information::set_locate_angle(float value) {
  1651. set_has_locate_angle();
  1652. locate_angle_ = value;
  1653. // @@protoc_insertion_point(field_set:message.Locate_information.locate_angle)
  1654. }
  1655. // optional float locate_length = 4 [default = 0];
  1656. inline bool Locate_information::has_locate_length() const {
  1657. return (_has_bits_[0] & 0x00000008u) != 0;
  1658. }
  1659. inline void Locate_information::set_has_locate_length() {
  1660. _has_bits_[0] |= 0x00000008u;
  1661. }
  1662. inline void Locate_information::clear_has_locate_length() {
  1663. _has_bits_[0] &= ~0x00000008u;
  1664. }
  1665. inline void Locate_information::clear_locate_length() {
  1666. locate_length_ = 0;
  1667. clear_has_locate_length();
  1668. }
  1669. inline float Locate_information::locate_length() const {
  1670. // @@protoc_insertion_point(field_get:message.Locate_information.locate_length)
  1671. return locate_length_;
  1672. }
  1673. inline void Locate_information::set_locate_length(float value) {
  1674. set_has_locate_length();
  1675. locate_length_ = value;
  1676. // @@protoc_insertion_point(field_set:message.Locate_information.locate_length)
  1677. }
  1678. // optional float locate_width = 5 [default = 0];
  1679. inline bool Locate_information::has_locate_width() const {
  1680. return (_has_bits_[0] & 0x00000010u) != 0;
  1681. }
  1682. inline void Locate_information::set_has_locate_width() {
  1683. _has_bits_[0] |= 0x00000010u;
  1684. }
  1685. inline void Locate_information::clear_has_locate_width() {
  1686. _has_bits_[0] &= ~0x00000010u;
  1687. }
  1688. inline void Locate_information::clear_locate_width() {
  1689. locate_width_ = 0;
  1690. clear_has_locate_width();
  1691. }
  1692. inline float Locate_information::locate_width() const {
  1693. // @@protoc_insertion_point(field_get:message.Locate_information.locate_width)
  1694. return locate_width_;
  1695. }
  1696. inline void Locate_information::set_locate_width(float value) {
  1697. set_has_locate_width();
  1698. locate_width_ = value;
  1699. // @@protoc_insertion_point(field_set:message.Locate_information.locate_width)
  1700. }
  1701. // optional float locate_height = 6 [default = 0];
  1702. inline bool Locate_information::has_locate_height() const {
  1703. return (_has_bits_[0] & 0x00000020u) != 0;
  1704. }
  1705. inline void Locate_information::set_has_locate_height() {
  1706. _has_bits_[0] |= 0x00000020u;
  1707. }
  1708. inline void Locate_information::clear_has_locate_height() {
  1709. _has_bits_[0] &= ~0x00000020u;
  1710. }
  1711. inline void Locate_information::clear_locate_height() {
  1712. locate_height_ = 0;
  1713. clear_has_locate_height();
  1714. }
  1715. inline float Locate_information::locate_height() const {
  1716. // @@protoc_insertion_point(field_get:message.Locate_information.locate_height)
  1717. return locate_height_;
  1718. }
  1719. inline void Locate_information::set_locate_height(float value) {
  1720. set_has_locate_height();
  1721. locate_height_ = value;
  1722. // @@protoc_insertion_point(field_set:message.Locate_information.locate_height)
  1723. }
  1724. // optional float locate_wheel_base = 7 [default = 0];
  1725. inline bool Locate_information::has_locate_wheel_base() const {
  1726. return (_has_bits_[0] & 0x00000040u) != 0;
  1727. }
  1728. inline void Locate_information::set_has_locate_wheel_base() {
  1729. _has_bits_[0] |= 0x00000040u;
  1730. }
  1731. inline void Locate_information::clear_has_locate_wheel_base() {
  1732. _has_bits_[0] &= ~0x00000040u;
  1733. }
  1734. inline void Locate_information::clear_locate_wheel_base() {
  1735. locate_wheel_base_ = 0;
  1736. clear_has_locate_wheel_base();
  1737. }
  1738. inline float Locate_information::locate_wheel_base() const {
  1739. // @@protoc_insertion_point(field_get:message.Locate_information.locate_wheel_base)
  1740. return locate_wheel_base_;
  1741. }
  1742. inline void Locate_information::set_locate_wheel_base(float value) {
  1743. set_has_locate_wheel_base();
  1744. locate_wheel_base_ = value;
  1745. // @@protoc_insertion_point(field_set:message.Locate_information.locate_wheel_base)
  1746. }
  1747. // optional float locate_wheel_width = 8 [default = 0];
  1748. inline bool Locate_information::has_locate_wheel_width() const {
  1749. return (_has_bits_[0] & 0x00000080u) != 0;
  1750. }
  1751. inline void Locate_information::set_has_locate_wheel_width() {
  1752. _has_bits_[0] |= 0x00000080u;
  1753. }
  1754. inline void Locate_information::clear_has_locate_wheel_width() {
  1755. _has_bits_[0] &= ~0x00000080u;
  1756. }
  1757. inline void Locate_information::clear_locate_wheel_width() {
  1758. locate_wheel_width_ = 0;
  1759. clear_has_locate_wheel_width();
  1760. }
  1761. inline float Locate_information::locate_wheel_width() const {
  1762. // @@protoc_insertion_point(field_get:message.Locate_information.locate_wheel_width)
  1763. return locate_wheel_width_;
  1764. }
  1765. inline void Locate_information::set_locate_wheel_width(float value) {
  1766. set_has_locate_wheel_width();
  1767. locate_wheel_width_ = value;
  1768. // @@protoc_insertion_point(field_set:message.Locate_information.locate_wheel_width)
  1769. }
  1770. // optional bool locate_correct = 9 [default = false];
  1771. inline bool Locate_information::has_locate_correct() const {
  1772. return (_has_bits_[0] & 0x00000100u) != 0;
  1773. }
  1774. inline void Locate_information::set_has_locate_correct() {
  1775. _has_bits_[0] |= 0x00000100u;
  1776. }
  1777. inline void Locate_information::clear_has_locate_correct() {
  1778. _has_bits_[0] &= ~0x00000100u;
  1779. }
  1780. inline void Locate_information::clear_locate_correct() {
  1781. locate_correct_ = false;
  1782. clear_has_locate_correct();
  1783. }
  1784. inline bool Locate_information::locate_correct() const {
  1785. // @@protoc_insertion_point(field_get:message.Locate_information.locate_correct)
  1786. return locate_correct_;
  1787. }
  1788. inline void Locate_information::set_locate_correct(bool value) {
  1789. set_has_locate_correct();
  1790. locate_correct_ = value;
  1791. // @@protoc_insertion_point(field_set:message.Locate_information.locate_correct)
  1792. }
  1793. // optional float locate_front_theta = 10 [default = 0];
  1794. inline bool Locate_information::has_locate_front_theta() const {
  1795. return (_has_bits_[0] & 0x00000200u) != 0;
  1796. }
  1797. inline void Locate_information::set_has_locate_front_theta() {
  1798. _has_bits_[0] |= 0x00000200u;
  1799. }
  1800. inline void Locate_information::clear_has_locate_front_theta() {
  1801. _has_bits_[0] &= ~0x00000200u;
  1802. }
  1803. inline void Locate_information::clear_locate_front_theta() {
  1804. locate_front_theta_ = 0;
  1805. clear_has_locate_front_theta();
  1806. }
  1807. inline float Locate_information::locate_front_theta() const {
  1808. // @@protoc_insertion_point(field_get:message.Locate_information.locate_front_theta)
  1809. return locate_front_theta_;
  1810. }
  1811. inline void Locate_information::set_locate_front_theta(float value) {
  1812. set_has_locate_front_theta();
  1813. locate_front_theta_ = value;
  1814. // @@protoc_insertion_point(field_set:message.Locate_information.locate_front_theta)
  1815. }
  1816. // optional float uniformed_car_x = 11;
  1817. inline bool Locate_information::has_uniformed_car_x() const {
  1818. return (_has_bits_[0] & 0x00000400u) != 0;
  1819. }
  1820. inline void Locate_information::set_has_uniformed_car_x() {
  1821. _has_bits_[0] |= 0x00000400u;
  1822. }
  1823. inline void Locate_information::clear_has_uniformed_car_x() {
  1824. _has_bits_[0] &= ~0x00000400u;
  1825. }
  1826. inline void Locate_information::clear_uniformed_car_x() {
  1827. uniformed_car_x_ = 0;
  1828. clear_has_uniformed_car_x();
  1829. }
  1830. inline float Locate_information::uniformed_car_x() const {
  1831. // @@protoc_insertion_point(field_get:message.Locate_information.uniformed_car_x)
  1832. return uniformed_car_x_;
  1833. }
  1834. inline void Locate_information::set_uniformed_car_x(float value) {
  1835. set_has_uniformed_car_x();
  1836. uniformed_car_x_ = value;
  1837. // @@protoc_insertion_point(field_set:message.Locate_information.uniformed_car_x)
  1838. }
  1839. // optional float uniformed_car_y = 12;
  1840. inline bool Locate_information::has_uniformed_car_y() const {
  1841. return (_has_bits_[0] & 0x00000800u) != 0;
  1842. }
  1843. inline void Locate_information::set_has_uniformed_car_y() {
  1844. _has_bits_[0] |= 0x00000800u;
  1845. }
  1846. inline void Locate_information::clear_has_uniformed_car_y() {
  1847. _has_bits_[0] &= ~0x00000800u;
  1848. }
  1849. inline void Locate_information::clear_uniformed_car_y() {
  1850. uniformed_car_y_ = 0;
  1851. clear_has_uniformed_car_y();
  1852. }
  1853. inline float Locate_information::uniformed_car_y() const {
  1854. // @@protoc_insertion_point(field_get:message.Locate_information.uniformed_car_y)
  1855. return uniformed_car_y_;
  1856. }
  1857. inline void Locate_information::set_uniformed_car_y(float value) {
  1858. set_has_uniformed_car_y();
  1859. uniformed_car_y_ = value;
  1860. // @@protoc_insertion_point(field_set:message.Locate_information.uniformed_car_y)
  1861. }
  1862. // -------------------------------------------------------------------
  1863. // Car_info
  1864. // optional float car_length = 1 [default = 0];
  1865. inline bool Car_info::has_car_length() const {
  1866. return (_has_bits_[0] & 0x00000002u) != 0;
  1867. }
  1868. inline void Car_info::set_has_car_length() {
  1869. _has_bits_[0] |= 0x00000002u;
  1870. }
  1871. inline void Car_info::clear_has_car_length() {
  1872. _has_bits_[0] &= ~0x00000002u;
  1873. }
  1874. inline void Car_info::clear_car_length() {
  1875. car_length_ = 0;
  1876. clear_has_car_length();
  1877. }
  1878. inline float Car_info::car_length() const {
  1879. // @@protoc_insertion_point(field_get:message.Car_info.car_length)
  1880. return car_length_;
  1881. }
  1882. inline void Car_info::set_car_length(float value) {
  1883. set_has_car_length();
  1884. car_length_ = value;
  1885. // @@protoc_insertion_point(field_set:message.Car_info.car_length)
  1886. }
  1887. // optional float car_width = 2 [default = 0];
  1888. inline bool Car_info::has_car_width() const {
  1889. return (_has_bits_[0] & 0x00000004u) != 0;
  1890. }
  1891. inline void Car_info::set_has_car_width() {
  1892. _has_bits_[0] |= 0x00000004u;
  1893. }
  1894. inline void Car_info::clear_has_car_width() {
  1895. _has_bits_[0] &= ~0x00000004u;
  1896. }
  1897. inline void Car_info::clear_car_width() {
  1898. car_width_ = 0;
  1899. clear_has_car_width();
  1900. }
  1901. inline float Car_info::car_width() const {
  1902. // @@protoc_insertion_point(field_get:message.Car_info.car_width)
  1903. return car_width_;
  1904. }
  1905. inline void Car_info::set_car_width(float value) {
  1906. set_has_car_width();
  1907. car_width_ = value;
  1908. // @@protoc_insertion_point(field_set:message.Car_info.car_width)
  1909. }
  1910. // optional float car_height = 3 [default = 0];
  1911. inline bool Car_info::has_car_height() const {
  1912. return (_has_bits_[0] & 0x00000008u) != 0;
  1913. }
  1914. inline void Car_info::set_has_car_height() {
  1915. _has_bits_[0] |= 0x00000008u;
  1916. }
  1917. inline void Car_info::clear_has_car_height() {
  1918. _has_bits_[0] &= ~0x00000008u;
  1919. }
  1920. inline void Car_info::clear_car_height() {
  1921. car_height_ = 0;
  1922. clear_has_car_height();
  1923. }
  1924. inline float Car_info::car_height() const {
  1925. // @@protoc_insertion_point(field_get:message.Car_info.car_height)
  1926. return car_height_;
  1927. }
  1928. inline void Car_info::set_car_height(float value) {
  1929. set_has_car_height();
  1930. car_height_ = value;
  1931. // @@protoc_insertion_point(field_set:message.Car_info.car_height)
  1932. }
  1933. // optional string license = 4 [default = ""];
  1934. inline bool Car_info::has_license() const {
  1935. return (_has_bits_[0] & 0x00000001u) != 0;
  1936. }
  1937. inline void Car_info::set_has_license() {
  1938. _has_bits_[0] |= 0x00000001u;
  1939. }
  1940. inline void Car_info::clear_has_license() {
  1941. _has_bits_[0] &= ~0x00000001u;
  1942. }
  1943. inline void Car_info::clear_license() {
  1944. license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1945. clear_has_license();
  1946. }
  1947. inline const ::std::string& Car_info::license() const {
  1948. // @@protoc_insertion_point(field_get:message.Car_info.license)
  1949. return license_.GetNoArena();
  1950. }
  1951. inline void Car_info::set_license(const ::std::string& value) {
  1952. set_has_license();
  1953. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1954. // @@protoc_insertion_point(field_set:message.Car_info.license)
  1955. }
  1956. #if LANG_CXX11
  1957. inline void Car_info::set_license(::std::string&& value) {
  1958. set_has_license();
  1959. license_.SetNoArena(
  1960. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1961. // @@protoc_insertion_point(field_set_rvalue:message.Car_info.license)
  1962. }
  1963. #endif
  1964. inline void Car_info::set_license(const char* value) {
  1965. GOOGLE_DCHECK(value != NULL);
  1966. set_has_license();
  1967. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1968. // @@protoc_insertion_point(field_set_char:message.Car_info.license)
  1969. }
  1970. inline void Car_info::set_license(const char* value, size_t size) {
  1971. set_has_license();
  1972. license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1973. ::std::string(reinterpret_cast<const char*>(value), size));
  1974. // @@protoc_insertion_point(field_set_pointer:message.Car_info.license)
  1975. }
  1976. inline ::std::string* Car_info::mutable_license() {
  1977. set_has_license();
  1978. // @@protoc_insertion_point(field_mutable:message.Car_info.license)
  1979. return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1980. }
  1981. inline ::std::string* Car_info::release_license() {
  1982. // @@protoc_insertion_point(field_release:message.Car_info.license)
  1983. clear_has_license();
  1984. return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1985. }
  1986. inline void Car_info::set_allocated_license(::std::string* license) {
  1987. if (license != NULL) {
  1988. set_has_license();
  1989. } else {
  1990. clear_has_license();
  1991. }
  1992. license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
  1993. // @@protoc_insertion_point(field_set_allocated:message.Car_info.license)
  1994. }
  1995. // optional float car_wheel_base = 5 [default = 0];
  1996. inline bool Car_info::has_car_wheel_base() const {
  1997. return (_has_bits_[0] & 0x00000010u) != 0;
  1998. }
  1999. inline void Car_info::set_has_car_wheel_base() {
  2000. _has_bits_[0] |= 0x00000010u;
  2001. }
  2002. inline void Car_info::clear_has_car_wheel_base() {
  2003. _has_bits_[0] &= ~0x00000010u;
  2004. }
  2005. inline void Car_info::clear_car_wheel_base() {
  2006. car_wheel_base_ = 0;
  2007. clear_has_car_wheel_base();
  2008. }
  2009. inline float Car_info::car_wheel_base() const {
  2010. // @@protoc_insertion_point(field_get:message.Car_info.car_wheel_base)
  2011. return car_wheel_base_;
  2012. }
  2013. inline void Car_info::set_car_wheel_base(float value) {
  2014. set_has_car_wheel_base();
  2015. car_wheel_base_ = value;
  2016. // @@protoc_insertion_point(field_set:message.Car_info.car_wheel_base)
  2017. }
  2018. // optional float car_wheel_width = 6 [default = 0];
  2019. inline bool Car_info::has_car_wheel_width() const {
  2020. return (_has_bits_[0] & 0x00000020u) != 0;
  2021. }
  2022. inline void Car_info::set_has_car_wheel_width() {
  2023. _has_bits_[0] |= 0x00000020u;
  2024. }
  2025. inline void Car_info::clear_has_car_wheel_width() {
  2026. _has_bits_[0] &= ~0x00000020u;
  2027. }
  2028. inline void Car_info::clear_car_wheel_width() {
  2029. car_wheel_width_ = 0;
  2030. clear_has_car_wheel_width();
  2031. }
  2032. inline float Car_info::car_wheel_width() const {
  2033. // @@protoc_insertion_point(field_get:message.Car_info.car_wheel_width)
  2034. return car_wheel_width_;
  2035. }
  2036. inline void Car_info::set_car_wheel_width(float value) {
  2037. set_has_car_wheel_width();
  2038. car_wheel_width_ = value;
  2039. // @@protoc_insertion_point(field_set:message.Car_info.car_wheel_width)
  2040. }
  2041. // -------------------------------------------------------------------
  2042. // Parkspace_info
  2043. // optional int32 parkingspace_index_id = 1;
  2044. inline bool Parkspace_info::has_parkingspace_index_id() const {
  2045. return (_has_bits_[0] & 0x00000008u) != 0;
  2046. }
  2047. inline void Parkspace_info::set_has_parkingspace_index_id() {
  2048. _has_bits_[0] |= 0x00000008u;
  2049. }
  2050. inline void Parkspace_info::clear_has_parkingspace_index_id() {
  2051. _has_bits_[0] &= ~0x00000008u;
  2052. }
  2053. inline void Parkspace_info::clear_parkingspace_index_id() {
  2054. parkingspace_index_id_ = 0;
  2055. clear_has_parkingspace_index_id();
  2056. }
  2057. inline ::google::protobuf::int32 Parkspace_info::parkingspace_index_id() const {
  2058. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_index_id)
  2059. return parkingspace_index_id_;
  2060. }
  2061. inline void Parkspace_info::set_parkingspace_index_id(::google::protobuf::int32 value) {
  2062. set_has_parkingspace_index_id();
  2063. parkingspace_index_id_ = value;
  2064. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_index_id)
  2065. }
  2066. // optional .message.Parkspace_type parkingspace_type = 2;
  2067. inline bool Parkspace_info::has_parkingspace_type() const {
  2068. return (_has_bits_[0] & 0x00000010u) != 0;
  2069. }
  2070. inline void Parkspace_info::set_has_parkingspace_type() {
  2071. _has_bits_[0] |= 0x00000010u;
  2072. }
  2073. inline void Parkspace_info::clear_has_parkingspace_type() {
  2074. _has_bits_[0] &= ~0x00000010u;
  2075. }
  2076. inline void Parkspace_info::clear_parkingspace_type() {
  2077. parkingspace_type_ = 0;
  2078. clear_has_parkingspace_type();
  2079. }
  2080. inline ::message::Parkspace_type Parkspace_info::parkingspace_type() const {
  2081. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_type)
  2082. return static_cast< ::message::Parkspace_type >(parkingspace_type_);
  2083. }
  2084. inline void Parkspace_info::set_parkingspace_type(::message::Parkspace_type value) {
  2085. assert(::message::Parkspace_type_IsValid(value));
  2086. set_has_parkingspace_type();
  2087. parkingspace_type_ = value;
  2088. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_type)
  2089. }
  2090. // optional int32 parkingspace_unit_id = 3;
  2091. inline bool Parkspace_info::has_parkingspace_unit_id() const {
  2092. return (_has_bits_[0] & 0x00000020u) != 0;
  2093. }
  2094. inline void Parkspace_info::set_has_parkingspace_unit_id() {
  2095. _has_bits_[0] |= 0x00000020u;
  2096. }
  2097. inline void Parkspace_info::clear_has_parkingspace_unit_id() {
  2098. _has_bits_[0] &= ~0x00000020u;
  2099. }
  2100. inline void Parkspace_info::clear_parkingspace_unit_id() {
  2101. parkingspace_unit_id_ = 0;
  2102. clear_has_parkingspace_unit_id();
  2103. }
  2104. inline ::google::protobuf::int32 Parkspace_info::parkingspace_unit_id() const {
  2105. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_unit_id)
  2106. return parkingspace_unit_id_;
  2107. }
  2108. inline void Parkspace_info::set_parkingspace_unit_id(::google::protobuf::int32 value) {
  2109. set_has_parkingspace_unit_id();
  2110. parkingspace_unit_id_ = value;
  2111. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_unit_id)
  2112. }
  2113. // optional int32 parkingspace_label_id = 4;
  2114. inline bool Parkspace_info::has_parkingspace_label_id() const {
  2115. return (_has_bits_[0] & 0x00000040u) != 0;
  2116. }
  2117. inline void Parkspace_info::set_has_parkingspace_label_id() {
  2118. _has_bits_[0] |= 0x00000040u;
  2119. }
  2120. inline void Parkspace_info::clear_has_parkingspace_label_id() {
  2121. _has_bits_[0] &= ~0x00000040u;
  2122. }
  2123. inline void Parkspace_info::clear_parkingspace_label_id() {
  2124. parkingspace_label_id_ = 0;
  2125. clear_has_parkingspace_label_id();
  2126. }
  2127. inline ::google::protobuf::int32 Parkspace_info::parkingspace_label_id() const {
  2128. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_label_id)
  2129. return parkingspace_label_id_;
  2130. }
  2131. inline void Parkspace_info::set_parkingspace_label_id(::google::protobuf::int32 value) {
  2132. set_has_parkingspace_label_id();
  2133. parkingspace_label_id_ = value;
  2134. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_label_id)
  2135. }
  2136. // optional int32 parkingspace_room_id = 5;
  2137. inline bool Parkspace_info::has_parkingspace_room_id() const {
  2138. return (_has_bits_[0] & 0x00000080u) != 0;
  2139. }
  2140. inline void Parkspace_info::set_has_parkingspace_room_id() {
  2141. _has_bits_[0] |= 0x00000080u;
  2142. }
  2143. inline void Parkspace_info::clear_has_parkingspace_room_id() {
  2144. _has_bits_[0] &= ~0x00000080u;
  2145. }
  2146. inline void Parkspace_info::clear_parkingspace_room_id() {
  2147. parkingspace_room_id_ = 0;
  2148. clear_has_parkingspace_room_id();
  2149. }
  2150. inline ::google::protobuf::int32 Parkspace_info::parkingspace_room_id() const {
  2151. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_room_id)
  2152. return parkingspace_room_id_;
  2153. }
  2154. inline void Parkspace_info::set_parkingspace_room_id(::google::protobuf::int32 value) {
  2155. set_has_parkingspace_room_id();
  2156. parkingspace_room_id_ = value;
  2157. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_room_id)
  2158. }
  2159. // optional .message.Direction parkingspace_direction = 6;
  2160. inline bool Parkspace_info::has_parkingspace_direction() const {
  2161. return (_has_bits_[0] & 0x00000100u) != 0;
  2162. }
  2163. inline void Parkspace_info::set_has_parkingspace_direction() {
  2164. _has_bits_[0] |= 0x00000100u;
  2165. }
  2166. inline void Parkspace_info::clear_has_parkingspace_direction() {
  2167. _has_bits_[0] &= ~0x00000100u;
  2168. }
  2169. inline void Parkspace_info::clear_parkingspace_direction() {
  2170. parkingspace_direction_ = 0;
  2171. clear_has_parkingspace_direction();
  2172. }
  2173. inline ::message::Direction Parkspace_info::parkingspace_direction() const {
  2174. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_direction)
  2175. return static_cast< ::message::Direction >(parkingspace_direction_);
  2176. }
  2177. inline void Parkspace_info::set_parkingspace_direction(::message::Direction value) {
  2178. assert(::message::Direction_IsValid(value));
  2179. set_has_parkingspace_direction();
  2180. parkingspace_direction_ = value;
  2181. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_direction)
  2182. }
  2183. // optional int32 parkingspace_floor_id = 7;
  2184. inline bool Parkspace_info::has_parkingspace_floor_id() const {
  2185. return (_has_bits_[0] & 0x00000200u) != 0;
  2186. }
  2187. inline void Parkspace_info::set_has_parkingspace_floor_id() {
  2188. _has_bits_[0] |= 0x00000200u;
  2189. }
  2190. inline void Parkspace_info::clear_has_parkingspace_floor_id() {
  2191. _has_bits_[0] &= ~0x00000200u;
  2192. }
  2193. inline void Parkspace_info::clear_parkingspace_floor_id() {
  2194. parkingspace_floor_id_ = 0;
  2195. clear_has_parkingspace_floor_id();
  2196. }
  2197. inline ::google::protobuf::int32 Parkspace_info::parkingspace_floor_id() const {
  2198. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_floor_id)
  2199. return parkingspace_floor_id_;
  2200. }
  2201. inline void Parkspace_info::set_parkingspace_floor_id(::google::protobuf::int32 value) {
  2202. set_has_parkingspace_floor_id();
  2203. parkingspace_floor_id_ = value;
  2204. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_floor_id)
  2205. }
  2206. // optional float parkingspace_width = 8;
  2207. inline bool Parkspace_info::has_parkingspace_width() const {
  2208. return (_has_bits_[0] & 0x00000400u) != 0;
  2209. }
  2210. inline void Parkspace_info::set_has_parkingspace_width() {
  2211. _has_bits_[0] |= 0x00000400u;
  2212. }
  2213. inline void Parkspace_info::clear_has_parkingspace_width() {
  2214. _has_bits_[0] &= ~0x00000400u;
  2215. }
  2216. inline void Parkspace_info::clear_parkingspace_width() {
  2217. parkingspace_width_ = 0;
  2218. clear_has_parkingspace_width();
  2219. }
  2220. inline float Parkspace_info::parkingspace_width() const {
  2221. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_width)
  2222. return parkingspace_width_;
  2223. }
  2224. inline void Parkspace_info::set_parkingspace_width(float value) {
  2225. set_has_parkingspace_width();
  2226. parkingspace_width_ = value;
  2227. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_width)
  2228. }
  2229. // optional float parkingspace_height = 9;
  2230. inline bool Parkspace_info::has_parkingspace_height() const {
  2231. return (_has_bits_[0] & 0x00000800u) != 0;
  2232. }
  2233. inline void Parkspace_info::set_has_parkingspace_height() {
  2234. _has_bits_[0] |= 0x00000800u;
  2235. }
  2236. inline void Parkspace_info::clear_has_parkingspace_height() {
  2237. _has_bits_[0] &= ~0x00000800u;
  2238. }
  2239. inline void Parkspace_info::clear_parkingspace_height() {
  2240. parkingspace_height_ = 0;
  2241. clear_has_parkingspace_height();
  2242. }
  2243. inline float Parkspace_info::parkingspace_height() const {
  2244. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_height)
  2245. return parkingspace_height_;
  2246. }
  2247. inline void Parkspace_info::set_parkingspace_height(float value) {
  2248. set_has_parkingspace_height();
  2249. parkingspace_height_ = value;
  2250. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_height)
  2251. }
  2252. // optional .message.Parkspace_status parkingspace_status = 10;
  2253. inline bool Parkspace_info::has_parkingspace_status() const {
  2254. return (_has_bits_[0] & 0x00001000u) != 0;
  2255. }
  2256. inline void Parkspace_info::set_has_parkingspace_status() {
  2257. _has_bits_[0] |= 0x00001000u;
  2258. }
  2259. inline void Parkspace_info::clear_has_parkingspace_status() {
  2260. _has_bits_[0] &= ~0x00001000u;
  2261. }
  2262. inline void Parkspace_info::clear_parkingspace_status() {
  2263. parkingspace_status_ = 0;
  2264. clear_has_parkingspace_status();
  2265. }
  2266. inline ::message::Parkspace_status Parkspace_info::parkingspace_status() const {
  2267. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_status)
  2268. return static_cast< ::message::Parkspace_status >(parkingspace_status_);
  2269. }
  2270. inline void Parkspace_info::set_parkingspace_status(::message::Parkspace_status value) {
  2271. assert(::message::Parkspace_status_IsValid(value));
  2272. set_has_parkingspace_status();
  2273. parkingspace_status_ = value;
  2274. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_status)
  2275. }
  2276. // optional .message.Car_info car_info = 11;
  2277. inline bool Parkspace_info::has_car_info() const {
  2278. return (_has_bits_[0] & 0x00000004u) != 0;
  2279. }
  2280. inline void Parkspace_info::set_has_car_info() {
  2281. _has_bits_[0] |= 0x00000004u;
  2282. }
  2283. inline void Parkspace_info::clear_has_car_info() {
  2284. _has_bits_[0] &= ~0x00000004u;
  2285. }
  2286. inline void Parkspace_info::clear_car_info() {
  2287. if (car_info_ != NULL) car_info_->Clear();
  2288. clear_has_car_info();
  2289. }
  2290. inline const ::message::Car_info& Parkspace_info::car_info() const {
  2291. const ::message::Car_info* p = car_info_;
  2292. // @@protoc_insertion_point(field_get:message.Parkspace_info.car_info)
  2293. return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
  2294. &::message::_Car_info_default_instance_);
  2295. }
  2296. inline ::message::Car_info* Parkspace_info::release_car_info() {
  2297. // @@protoc_insertion_point(field_release:message.Parkspace_info.car_info)
  2298. clear_has_car_info();
  2299. ::message::Car_info* temp = car_info_;
  2300. car_info_ = NULL;
  2301. return temp;
  2302. }
  2303. inline ::message::Car_info* Parkspace_info::mutable_car_info() {
  2304. set_has_car_info();
  2305. if (car_info_ == NULL) {
  2306. car_info_ = new ::message::Car_info;
  2307. }
  2308. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.car_info)
  2309. return car_info_;
  2310. }
  2311. inline void Parkspace_info::set_allocated_car_info(::message::Car_info* car_info) {
  2312. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  2313. if (message_arena == NULL) {
  2314. delete car_info_;
  2315. }
  2316. if (car_info) {
  2317. ::google::protobuf::Arena* submessage_arena = NULL;
  2318. if (message_arena != submessage_arena) {
  2319. car_info = ::google::protobuf::internal::GetOwnedMessage(
  2320. message_arena, car_info, submessage_arena);
  2321. }
  2322. set_has_car_info();
  2323. } else {
  2324. clear_has_car_info();
  2325. }
  2326. car_info_ = car_info;
  2327. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.car_info)
  2328. }
  2329. // optional string entry_time = 12;
  2330. inline bool Parkspace_info::has_entry_time() const {
  2331. return (_has_bits_[0] & 0x00000001u) != 0;
  2332. }
  2333. inline void Parkspace_info::set_has_entry_time() {
  2334. _has_bits_[0] |= 0x00000001u;
  2335. }
  2336. inline void Parkspace_info::clear_has_entry_time() {
  2337. _has_bits_[0] &= ~0x00000001u;
  2338. }
  2339. inline void Parkspace_info::clear_entry_time() {
  2340. entry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2341. clear_has_entry_time();
  2342. }
  2343. inline const ::std::string& Parkspace_info::entry_time() const {
  2344. // @@protoc_insertion_point(field_get:message.Parkspace_info.entry_time)
  2345. return entry_time_.GetNoArena();
  2346. }
  2347. inline void Parkspace_info::set_entry_time(const ::std::string& value) {
  2348. set_has_entry_time();
  2349. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2350. // @@protoc_insertion_point(field_set:message.Parkspace_info.entry_time)
  2351. }
  2352. #if LANG_CXX11
  2353. inline void Parkspace_info::set_entry_time(::std::string&& value) {
  2354. set_has_entry_time();
  2355. entry_time_.SetNoArena(
  2356. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2357. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.entry_time)
  2358. }
  2359. #endif
  2360. inline void Parkspace_info::set_entry_time(const char* value) {
  2361. GOOGLE_DCHECK(value != NULL);
  2362. set_has_entry_time();
  2363. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2364. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.entry_time)
  2365. }
  2366. inline void Parkspace_info::set_entry_time(const char* value, size_t size) {
  2367. set_has_entry_time();
  2368. entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2369. ::std::string(reinterpret_cast<const char*>(value), size));
  2370. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.entry_time)
  2371. }
  2372. inline ::std::string* Parkspace_info::mutable_entry_time() {
  2373. set_has_entry_time();
  2374. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.entry_time)
  2375. return entry_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2376. }
  2377. inline ::std::string* Parkspace_info::release_entry_time() {
  2378. // @@protoc_insertion_point(field_release:message.Parkspace_info.entry_time)
  2379. clear_has_entry_time();
  2380. return entry_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2381. }
  2382. inline void Parkspace_info::set_allocated_entry_time(::std::string* entry_time) {
  2383. if (entry_time != NULL) {
  2384. set_has_entry_time();
  2385. } else {
  2386. clear_has_entry_time();
  2387. }
  2388. entry_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), entry_time);
  2389. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.entry_time)
  2390. }
  2391. // optional string leave_time = 13;
  2392. inline bool Parkspace_info::has_leave_time() const {
  2393. return (_has_bits_[0] & 0x00000002u) != 0;
  2394. }
  2395. inline void Parkspace_info::set_has_leave_time() {
  2396. _has_bits_[0] |= 0x00000002u;
  2397. }
  2398. inline void Parkspace_info::clear_has_leave_time() {
  2399. _has_bits_[0] &= ~0x00000002u;
  2400. }
  2401. inline void Parkspace_info::clear_leave_time() {
  2402. leave_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2403. clear_has_leave_time();
  2404. }
  2405. inline const ::std::string& Parkspace_info::leave_time() const {
  2406. // @@protoc_insertion_point(field_get:message.Parkspace_info.leave_time)
  2407. return leave_time_.GetNoArena();
  2408. }
  2409. inline void Parkspace_info::set_leave_time(const ::std::string& value) {
  2410. set_has_leave_time();
  2411. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2412. // @@protoc_insertion_point(field_set:message.Parkspace_info.leave_time)
  2413. }
  2414. #if LANG_CXX11
  2415. inline void Parkspace_info::set_leave_time(::std::string&& value) {
  2416. set_has_leave_time();
  2417. leave_time_.SetNoArena(
  2418. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  2419. // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.leave_time)
  2420. }
  2421. #endif
  2422. inline void Parkspace_info::set_leave_time(const char* value) {
  2423. GOOGLE_DCHECK(value != NULL);
  2424. set_has_leave_time();
  2425. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2426. // @@protoc_insertion_point(field_set_char:message.Parkspace_info.leave_time)
  2427. }
  2428. inline void Parkspace_info::set_leave_time(const char* value, size_t size) {
  2429. set_has_leave_time();
  2430. leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2431. ::std::string(reinterpret_cast<const char*>(value), size));
  2432. // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.leave_time)
  2433. }
  2434. inline ::std::string* Parkspace_info::mutable_leave_time() {
  2435. set_has_leave_time();
  2436. // @@protoc_insertion_point(field_mutable:message.Parkspace_info.leave_time)
  2437. return leave_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2438. }
  2439. inline ::std::string* Parkspace_info::release_leave_time() {
  2440. // @@protoc_insertion_point(field_release:message.Parkspace_info.leave_time)
  2441. clear_has_leave_time();
  2442. return leave_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2443. }
  2444. inline void Parkspace_info::set_allocated_leave_time(::std::string* leave_time) {
  2445. if (leave_time != NULL) {
  2446. set_has_leave_time();
  2447. } else {
  2448. clear_has_leave_time();
  2449. }
  2450. leave_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leave_time);
  2451. // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.leave_time)
  2452. }
  2453. // optional .message.Parkspace_path parkspace_path = 14;
  2454. inline bool Parkspace_info::has_parkspace_path() const {
  2455. return (_has_bits_[0] & 0x00002000u) != 0;
  2456. }
  2457. inline void Parkspace_info::set_has_parkspace_path() {
  2458. _has_bits_[0] |= 0x00002000u;
  2459. }
  2460. inline void Parkspace_info::clear_has_parkspace_path() {
  2461. _has_bits_[0] &= ~0x00002000u;
  2462. }
  2463. inline void Parkspace_info::clear_parkspace_path() {
  2464. parkspace_path_ = 0;
  2465. clear_has_parkspace_path();
  2466. }
  2467. inline ::message::Parkspace_path Parkspace_info::parkspace_path() const {
  2468. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_path)
  2469. return static_cast< ::message::Parkspace_path >(parkspace_path_);
  2470. }
  2471. inline void Parkspace_info::set_parkspace_path(::message::Parkspace_path value) {
  2472. assert(::message::Parkspace_path_IsValid(value));
  2473. set_has_parkspace_path();
  2474. parkspace_path_ = value;
  2475. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_path)
  2476. }
  2477. // optional float path_estimate_time = 15;
  2478. inline bool Parkspace_info::has_path_estimate_time() const {
  2479. return (_has_bits_[0] & 0x00004000u) != 0;
  2480. }
  2481. inline void Parkspace_info::set_has_path_estimate_time() {
  2482. _has_bits_[0] |= 0x00004000u;
  2483. }
  2484. inline void Parkspace_info::clear_has_path_estimate_time() {
  2485. _has_bits_[0] &= ~0x00004000u;
  2486. }
  2487. inline void Parkspace_info::clear_path_estimate_time() {
  2488. path_estimate_time_ = 0;
  2489. clear_has_path_estimate_time();
  2490. }
  2491. inline float Parkspace_info::path_estimate_time() const {
  2492. // @@protoc_insertion_point(field_get:message.Parkspace_info.path_estimate_time)
  2493. return path_estimate_time_;
  2494. }
  2495. inline void Parkspace_info::set_path_estimate_time(float value) {
  2496. set_has_path_estimate_time();
  2497. path_estimate_time_ = value;
  2498. // @@protoc_insertion_point(field_set:message.Parkspace_info.path_estimate_time)
  2499. }
  2500. // optional .message.Parkspace_status parkspace_status_target = 16;
  2501. inline bool Parkspace_info::has_parkspace_status_target() const {
  2502. return (_has_bits_[0] & 0x00008000u) != 0;
  2503. }
  2504. inline void Parkspace_info::set_has_parkspace_status_target() {
  2505. _has_bits_[0] |= 0x00008000u;
  2506. }
  2507. inline void Parkspace_info::clear_has_parkspace_status_target() {
  2508. _has_bits_[0] &= ~0x00008000u;
  2509. }
  2510. inline void Parkspace_info::clear_parkspace_status_target() {
  2511. parkspace_status_target_ = 0;
  2512. clear_has_parkspace_status_target();
  2513. }
  2514. inline ::message::Parkspace_status Parkspace_info::parkspace_status_target() const {
  2515. // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_status_target)
  2516. return static_cast< ::message::Parkspace_status >(parkspace_status_target_);
  2517. }
  2518. inline void Parkspace_info::set_parkspace_status_target(::message::Parkspace_status value) {
  2519. assert(::message::Parkspace_status_IsValid(value));
  2520. set_has_parkspace_status_target();
  2521. parkspace_status_target_ = value;
  2522. // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_status_target)
  2523. }
  2524. // optional .message.Car_type car_type = 17;
  2525. inline bool Parkspace_info::has_car_type() const {
  2526. return (_has_bits_[0] & 0x00010000u) != 0;
  2527. }
  2528. inline void Parkspace_info::set_has_car_type() {
  2529. _has_bits_[0] |= 0x00010000u;
  2530. }
  2531. inline void Parkspace_info::clear_has_car_type() {
  2532. _has_bits_[0] &= ~0x00010000u;
  2533. }
  2534. inline void Parkspace_info::clear_car_type() {
  2535. car_type_ = 0;
  2536. clear_has_car_type();
  2537. }
  2538. inline ::message::Car_type Parkspace_info::car_type() const {
  2539. // @@protoc_insertion_point(field_get:message.Parkspace_info.car_type)
  2540. return static_cast< ::message::Car_type >(car_type_);
  2541. }
  2542. inline void Parkspace_info::set_car_type(::message::Car_type value) {
  2543. assert(::message::Car_type_IsValid(value));
  2544. set_has_car_type();
  2545. car_type_ = value;
  2546. // @@protoc_insertion_point(field_set:message.Parkspace_info.car_type)
  2547. }
  2548. #ifdef __GNUC__
  2549. #pragma GCC diagnostic pop
  2550. #endif // __GNUC__
  2551. // -------------------------------------------------------------------
  2552. // -------------------------------------------------------------------
  2553. // -------------------------------------------------------------------
  2554. // -------------------------------------------------------------------
  2555. // -------------------------------------------------------------------
  2556. // @@protoc_insertion_point(namespace_scope)
  2557. } // namespace message
  2558. namespace google {
  2559. namespace protobuf {
  2560. template <> struct is_proto_enum< ::message::Message_type> : ::google::protobuf::internal::true_type {};
  2561. template <>
  2562. inline const EnumDescriptor* GetEnumDescriptor< ::message::Message_type>() {
  2563. return ::message::Message_type_descriptor();
  2564. }
  2565. template <> struct is_proto_enum< ::message::Communicator> : ::google::protobuf::internal::true_type {};
  2566. template <>
  2567. inline const EnumDescriptor* GetEnumDescriptor< ::message::Communicator>() {
  2568. return ::message::Communicator_descriptor();
  2569. }
  2570. template <> struct is_proto_enum< ::message::Process_type> : ::google::protobuf::internal::true_type {};
  2571. template <>
  2572. inline const EnumDescriptor* GetEnumDescriptor< ::message::Process_type>() {
  2573. return ::message::Process_type_descriptor();
  2574. }
  2575. template <> struct is_proto_enum< ::message::Error_level> : ::google::protobuf::internal::true_type {};
  2576. template <>
  2577. inline const EnumDescriptor* GetEnumDescriptor< ::message::Error_level>() {
  2578. return ::message::Error_level_descriptor();
  2579. }
  2580. template <> struct is_proto_enum< ::message::Parkspace_status> : ::google::protobuf::internal::true_type {};
  2581. template <>
  2582. inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_status>() {
  2583. return ::message::Parkspace_status_descriptor();
  2584. }
  2585. template <> struct is_proto_enum< ::message::Direction> : ::google::protobuf::internal::true_type {};
  2586. template <>
  2587. inline const EnumDescriptor* GetEnumDescriptor< ::message::Direction>() {
  2588. return ::message::Direction_descriptor();
  2589. }
  2590. template <> struct is_proto_enum< ::message::Parkspace_path> : ::google::protobuf::internal::true_type {};
  2591. template <>
  2592. inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_path>() {
  2593. return ::message::Parkspace_path_descriptor();
  2594. }
  2595. template <> struct is_proto_enum< ::message::Parkspace_type> : ::google::protobuf::internal::true_type {};
  2596. template <>
  2597. inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_type>() {
  2598. return ::message::Parkspace_type_descriptor();
  2599. }
  2600. template <> struct is_proto_enum< ::message::Car_type> : ::google::protobuf::internal::true_type {};
  2601. template <>
  2602. inline const EnumDescriptor* GetEnumDescriptor< ::message::Car_type>() {
  2603. return ::message::Car_type_descriptor();
  2604. }
  2605. template <> struct is_proto_enum< ::message::Step_type> : ::google::protobuf::internal::true_type {};
  2606. template <>
  2607. inline const EnumDescriptor* GetEnumDescriptor< ::message::Step_type>() {
  2608. return ::message::Step_type_descriptor();
  2609. }
  2610. template <> struct is_proto_enum< ::message::Step_statu> : ::google::protobuf::internal::true_type {};
  2611. template <>
  2612. inline const EnumDescriptor* GetEnumDescriptor< ::message::Step_statu>() {
  2613. return ::message::Step_statu_descriptor();
  2614. }
  2615. template <> struct is_proto_enum< ::message::Dispatch_device_type> : ::google::protobuf::internal::true_type {};
  2616. template <>
  2617. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_device_type>() {
  2618. return ::message::Dispatch_device_type_descriptor();
  2619. }
  2620. } // namespace protobuf
  2621. } // namespace google
  2622. // @@protoc_insertion_point(global_scope)
  2623. #endif // PROTOBUF_message_5fbase_2eproto__INCLUDED