message_base.pb.h 95 KB

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