message_base.pb.h 96 KB

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