message_base.pb.h 101 KB

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