1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: message_base.proto
- #ifndef PROTOBUF_INCLUDED_message_5fbase_2eproto
- #define PROTOBUF_INCLUDED_message_5fbase_2eproto
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3006001
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/inlined_string_field.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #define PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto
- namespace protobuf_message_5fbase_2eproto {
- // Internal implementation detail -- do not use these members.
- struct TableStruct {
- static const ::google::protobuf::internal::ParseTableField entries[];
- static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
- static const ::google::protobuf::internal::ParseTable schema[6];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- } // namespace protobuf_message_5fbase_2eproto
- namespace message {
- class Base_info;
- class Base_infoDefaultTypeInternal;
- extern Base_infoDefaultTypeInternal _Base_info_default_instance_;
- class Base_msg;
- class Base_msgDefaultTypeInternal;
- extern Base_msgDefaultTypeInternal _Base_msg_default_instance_;
- class Car_info;
- class Car_infoDefaultTypeInternal;
- extern Car_infoDefaultTypeInternal _Car_info_default_instance_;
- class Error_manager;
- class Error_managerDefaultTypeInternal;
- extern Error_managerDefaultTypeInternal _Error_manager_default_instance_;
- class Locate_information;
- class Locate_informationDefaultTypeInternal;
- extern Locate_informationDefaultTypeInternal _Locate_information_default_instance_;
- class Parkspace_info;
- class Parkspace_infoDefaultTypeInternal;
- extern Parkspace_infoDefaultTypeInternal _Parkspace_info_default_instance_;
- } // namespace message
- namespace google {
- namespace protobuf {
- template<> ::message::Base_info* Arena::CreateMaybeMessage<::message::Base_info>(Arena*);
- template<> ::message::Base_msg* Arena::CreateMaybeMessage<::message::Base_msg>(Arena*);
- template<> ::message::Car_info* Arena::CreateMaybeMessage<::message::Car_info>(Arena*);
- template<> ::message::Error_manager* Arena::CreateMaybeMessage<::message::Error_manager>(Arena*);
- template<> ::message::Locate_information* Arena::CreateMaybeMessage<::message::Locate_information>(Arena*);
- template<> ::message::Parkspace_info* Arena::CreateMaybeMessage<::message::Parkspace_info>(Arena*);
- } // namespace protobuf
- } // namespace google
- namespace message {
- enum Message_type {
- eBase_msg = 0,
- eCommand_msg = 1,
- eLocate_status_msg = 17,
- eLocate_request_msg = 18,
- eLocate_response_msg = 19,
- eLocate_sift_request_msg = 20,
- eLocate_sift_response_msg = 21,
- eDispatch_status_msg = 33,
- eDispatch_request_msg = 34,
- eDispatch_response_msg = 35,
- eParkspace_allocation_status_msg = 49,
- eParkspace_allocation_request_msg = 50,
- eParkspace_allocation_response_msg = 51,
- eParkspace_search_request_msg = 52,
- eParkspace_search_response_msg = 53,
- eParkspace_release_request_msg = 54,
- eParkspace_release_response_msg = 55,
- eParkspace_force_update_request_msg = 56,
- eParkspace_force_update_response_msg = 57,
- eParkspace_confirm_alloc_request_msg = 58,
- eParkspace_confirm_alloc_response_msg = 59,
- eParkspace_allocation_data_msg = 60,
- eParkspace_allocation_data_response_msg = 61,
- eStore_command_request_msg = 65,
- eStore_command_response_msg = 66,
- ePickup_command_request_msg = 67,
- ePickup_command_response_msg = 68,
- eStoring_process_statu_msg = 144,
- ePicking_process_statu_msg = 145,
- eCentral_controller_statu_msg = 160,
- eEntrance_manual_operation_msg = 176,
- eProcess_manual_operation_msg = 177,
- eDispatch_plan_request_msg = 224,
- eDispatch_plan_response_msg = 225,
- eDispatch_control_request_msg = 226,
- eDispatch_control_response_msg = 227,
- eDispatch_manager_status_msg = 234,
- eDispatch_manager_data_msg = 235,
- eGround_detect_request_msg = 240,
- eGround_detect_response_msg = 241,
- eGround_status_msg = 242
- };
- bool Message_type_IsValid(int value);
- const Message_type Message_type_MIN = eBase_msg;
- const Message_type Message_type_MAX = eGround_status_msg;
- const int Message_type_ARRAYSIZE = Message_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Message_type_descriptor();
- inline const ::std::string& Message_type_Name(Message_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Message_type_descriptor(), value);
- }
- inline bool Message_type_Parse(
- const ::std::string& name, Message_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Message_type>(
- Message_type_descriptor(), name, value);
- }
- enum Communicator {
- eEmpty = 0,
- eMain = 1,
- eTerminor = 256,
- eParkspace = 512,
- eMeasurer = 768,
- eMeasurer_sift_server = 769,
- eDispatch_manager = 1024,
- eDispatch_control = 1025,
- eGround_measurer = 3840
- };
- bool Communicator_IsValid(int value);
- const Communicator Communicator_MIN = eEmpty;
- const Communicator Communicator_MAX = eGround_measurer;
- const int Communicator_ARRAYSIZE = Communicator_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Communicator_descriptor();
- inline const ::std::string& Communicator_Name(Communicator value) {
- return ::google::protobuf::internal::NameOfEnum(
- Communicator_descriptor(), value);
- }
- inline bool Communicator_Parse(
- const ::std::string& name, Communicator* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Communicator>(
- Communicator_descriptor(), name, value);
- }
- enum Process_type {
- eStoring = 1,
- ePicking = 2
- };
- bool Process_type_IsValid(int value);
- const Process_type Process_type_MIN = eStoring;
- const Process_type Process_type_MAX = ePicking;
- const int Process_type_ARRAYSIZE = Process_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Process_type_descriptor();
- inline const ::std::string& Process_type_Name(Process_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Process_type_descriptor(), value);
- }
- inline bool Process_type_Parse(
- const ::std::string& name, Process_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Process_type>(
- Process_type_descriptor(), name, value);
- }
- enum Error_level {
- NORMAL = 0,
- NEGLIGIBLE_ERROR = 1,
- MINOR_ERROR = 2,
- MAJOR_ERROR = 3,
- CRITICAL_ERROR = 4
- };
- bool Error_level_IsValid(int value);
- const Error_level Error_level_MIN = NORMAL;
- const Error_level Error_level_MAX = CRITICAL_ERROR;
- const int Error_level_ARRAYSIZE = Error_level_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Error_level_descriptor();
- inline const ::std::string& Error_level_Name(Error_level value) {
- return ::google::protobuf::internal::NameOfEnum(
- Error_level_descriptor(), value);
- }
- inline bool Error_level_Parse(
- const ::std::string& name, Error_level* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Error_level>(
- Error_level_descriptor(), name, value);
- }
- enum Parkspace_status {
- eParkspace_status_unknow = 0,
- eParkspace_empty = 1,
- eParkspace_occupied = 2,
- eParkspace_reserved = 3,
- eParkspace_locked = 4,
- eParkspace_error = 5
- };
- bool Parkspace_status_IsValid(int value);
- const Parkspace_status Parkspace_status_MIN = eParkspace_status_unknow;
- const Parkspace_status Parkspace_status_MAX = eParkspace_error;
- const int Parkspace_status_ARRAYSIZE = Parkspace_status_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Parkspace_status_descriptor();
- inline const ::std::string& Parkspace_status_Name(Parkspace_status value) {
- return ::google::protobuf::internal::NameOfEnum(
- Parkspace_status_descriptor(), value);
- }
- inline bool Parkspace_status_Parse(
- const ::std::string& name, Parkspace_status* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Parkspace_status>(
- Parkspace_status_descriptor(), name, value);
- }
- enum Direction {
- eDirection_unknow = 0,
- eForward = 1,
- eBackward = 2
- };
- bool Direction_IsValid(int value);
- const Direction Direction_MIN = eDirection_unknow;
- const Direction Direction_MAX = eBackward;
- const int Direction_ARRAYSIZE = Direction_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Direction_descriptor();
- inline const ::std::string& Direction_Name(Direction value) {
- return ::google::protobuf::internal::NameOfEnum(
- Direction_descriptor(), value);
- }
- inline bool Direction_Parse(
- const ::std::string& name, Direction* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Direction>(
- Direction_descriptor(), name, value);
- }
- enum Parkspace_path {
- UNKNOW_PATH = 0,
- OPTIMAL_PATH = 1,
- LEFT_PATH = 2,
- RIGHT_PATH = 3,
- TEMPORARY_CACHE_PATH = 4
- };
- bool Parkspace_path_IsValid(int value);
- const Parkspace_path Parkspace_path_MIN = UNKNOW_PATH;
- const Parkspace_path Parkspace_path_MAX = TEMPORARY_CACHE_PATH;
- const int Parkspace_path_ARRAYSIZE = Parkspace_path_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Parkspace_path_descriptor();
- inline const ::std::string& Parkspace_path_Name(Parkspace_path value) {
- return ::google::protobuf::internal::NameOfEnum(
- Parkspace_path_descriptor(), value);
- }
- inline bool Parkspace_path_Parse(
- const ::std::string& name, Parkspace_path* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Parkspace_path>(
- Parkspace_path_descriptor(), name, value);
- }
- enum Parkspace_type {
- UNKNOW_PARKSPACE_TYPE = 0,
- MIN_PARKINGSPACE = 1,
- MID_PARKINGSPACE = 2,
- BIG_PARKINGSPACE = 3
- };
- bool Parkspace_type_IsValid(int value);
- const Parkspace_type Parkspace_type_MIN = UNKNOW_PARKSPACE_TYPE;
- const Parkspace_type Parkspace_type_MAX = BIG_PARKINGSPACE;
- const int Parkspace_type_ARRAYSIZE = Parkspace_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Parkspace_type_descriptor();
- inline const ::std::string& Parkspace_type_Name(Parkspace_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Parkspace_type_descriptor(), value);
- }
- inline bool Parkspace_type_Parse(
- const ::std::string& name, Parkspace_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Parkspace_type>(
- Parkspace_type_descriptor(), name, value);
- }
- enum Car_type {
- UNKNOW_CAR_TYPE = 0,
- MIN_CAR = 1,
- MID_CAR = 2,
- BIG_CAR = 3
- };
- bool Car_type_IsValid(int value);
- const Car_type Car_type_MIN = UNKNOW_CAR_TYPE;
- const Car_type Car_type_MAX = BIG_CAR;
- const int Car_type_ARRAYSIZE = Car_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Car_type_descriptor();
- inline const ::std::string& Car_type_Name(Car_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Car_type_descriptor(), value);
- }
- inline bool Car_type_Parse(
- const ::std::string& name, Car_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Car_type>(
- Car_type_descriptor(), name, value);
- }
- enum Step_type {
- eAlloc_step = 0,
- eMeasure_step = 1,
- eCompare_step = 2,
- eDispatch_step = 3,
- eConfirm_step = 4,
- eSearch_step = 5,
- eWait_step = 6,
- eRelease_step = 7,
- eComplete = 8,
- eBackConfirm_step = 9,
- eBack_compare_step = 10,
- eBackMeasure_step = 11,
- eBackAlloc_step = 12,
- eBackWait_step = 13,
- eBackDispatch_step = 14,
- eBackSearch_step = 15,
- eBackComplete = 16
- };
- bool Step_type_IsValid(int value);
- const Step_type Step_type_MIN = eAlloc_step;
- const Step_type Step_type_MAX = eBackComplete;
- const int Step_type_ARRAYSIZE = Step_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Step_type_descriptor();
- inline const ::std::string& Step_type_Name(Step_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Step_type_descriptor(), value);
- }
- inline bool Step_type_Parse(
- const ::std::string& name, Step_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Step_type>(
- Step_type_descriptor(), name, value);
- }
- enum Step_statu {
- eWaiting = 0,
- eWorking = 1,
- eError = 2,
- eFinished = 3
- };
- bool Step_statu_IsValid(int value);
- const Step_statu Step_statu_MIN = eWaiting;
- const Step_statu Step_statu_MAX = eFinished;
- const int Step_statu_ARRAYSIZE = Step_statu_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Step_statu_descriptor();
- inline const ::std::string& Step_statu_Name(Step_statu value) {
- return ::google::protobuf::internal::NameOfEnum(
- Step_statu_descriptor(), value);
- }
- inline bool Step_statu_Parse(
- const ::std::string& name, Step_statu* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Step_statu>(
- Step_statu_descriptor(), name, value);
- }
- enum Dispatch_device_type {
- ROBOT_1 = 101,
- ROBOT_2 = 102,
- CARRIER_1 = 200,
- CARRIER_2 = 207,
- CARRIER_3 = 203,
- PASSAGEWAY_0 = 300,
- PASSAGEWAY_1 = 301,
- PASSAGEWAY_2 = 302,
- PASSAGEWAY_3 = 303,
- PASSAGEWAY_4 = 304,
- PASSAGEWAY_5 = 305,
- PASSAGEWAY_6 = 306,
- PASSAGEWAY_7 = 307
- };
- bool Dispatch_device_type_IsValid(int value);
- const Dispatch_device_type Dispatch_device_type_MIN = ROBOT_1;
- const Dispatch_device_type Dispatch_device_type_MAX = PASSAGEWAY_7;
- const int Dispatch_device_type_ARRAYSIZE = Dispatch_device_type_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Dispatch_device_type_descriptor();
- inline const ::std::string& Dispatch_device_type_Name(Dispatch_device_type value) {
- return ::google::protobuf::internal::NameOfEnum(
- Dispatch_device_type_descriptor(), value);
- }
- inline bool Dispatch_device_type_Parse(
- const ::std::string& name, Dispatch_device_type* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Dispatch_device_type>(
- Dispatch_device_type_descriptor(), name, value);
- }
- // ===================================================================
- class Base_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Base_info) */ {
- public:
- Base_info();
- virtual ~Base_info();
- Base_info(const Base_info& from);
- inline Base_info& operator=(const Base_info& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Base_info(Base_info&& from) noexcept
- : Base_info() {
- *this = ::std::move(from);
- }
- inline Base_info& operator=(Base_info&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Base_info& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Base_info* internal_default_instance() {
- return reinterpret_cast<const Base_info*>(
- &_Base_info_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- void Swap(Base_info* other);
- friend void swap(Base_info& a, Base_info& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Base_info* New() const final {
- return CreateMaybeMessage<Base_info>(NULL);
- }
- Base_info* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Base_info>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Base_info& from);
- void MergeFrom(const Base_info& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Base_info* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .message.Message_type msg_type = 1 [default = eBase_msg];
- bool has_msg_type() const;
- void clear_msg_type();
- static const int kMsgTypeFieldNumber = 1;
- ::message::Message_type msg_type() const;
- void set_msg_type(::message::Message_type value);
- // optional int32 timeout_ms = 2 [default = 0];
- bool has_timeout_ms() const;
- void clear_timeout_ms();
- static const int kTimeoutMsFieldNumber = 2;
- ::google::protobuf::int32 timeout_ms() const;
- void set_timeout_ms(::google::protobuf::int32 value);
- // required .message.Communicator sender = 3 [default = eEmpty];
- bool has_sender() const;
- void clear_sender();
- static const int kSenderFieldNumber = 3;
- ::message::Communicator sender() const;
- void set_sender(::message::Communicator value);
- // required .message.Communicator receiver = 4 [default = eEmpty];
- bool has_receiver() const;
- void clear_receiver();
- static const int kReceiverFieldNumber = 4;
- ::message::Communicator receiver() const;
- void set_receiver(::message::Communicator value);
- // @@protoc_insertion_point(class_scope:message.Base_info)
- private:
- void set_has_msg_type();
- void clear_has_msg_type();
- void set_has_timeout_ms();
- void clear_has_timeout_ms();
- void set_has_sender();
- void clear_has_sender();
- void set_has_receiver();
- void clear_has_receiver();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- int msg_type_;
- ::google::protobuf::int32 timeout_ms_;
- int sender_;
- int receiver_;
- friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Base_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Base_msg) */ {
- public:
- Base_msg();
- virtual ~Base_msg();
- Base_msg(const Base_msg& from);
- inline Base_msg& operator=(const Base_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Base_msg(Base_msg&& from) noexcept
- : Base_msg() {
- *this = ::std::move(from);
- }
- inline Base_msg& operator=(Base_msg&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Base_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Base_msg* internal_default_instance() {
- return reinterpret_cast<const Base_msg*>(
- &_Base_msg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- void Swap(Base_msg* other);
- friend void swap(Base_msg& a, Base_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Base_msg* New() const final {
- return CreateMaybeMessage<Base_msg>(NULL);
- }
- Base_msg* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Base_msg>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Base_msg& from);
- void MergeFrom(const Base_msg& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Base_msg* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .message.Base_info base_info = 1;
- bool has_base_info() const;
- void clear_base_info();
- static const int kBaseInfoFieldNumber = 1;
- private:
- const ::message::Base_info& _internal_base_info() const;
- public:
- const ::message::Base_info& base_info() const;
- ::message::Base_info* release_base_info();
- ::message::Base_info* mutable_base_info();
- void set_allocated_base_info(::message::Base_info* base_info);
- // @@protoc_insertion_point(class_scope:message.Base_msg)
- private:
- void set_has_base_info();
- void clear_has_base_info();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::message::Base_info* base_info_;
- friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Error_manager : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Error_manager) */ {
- public:
- Error_manager();
- virtual ~Error_manager();
- Error_manager(const Error_manager& from);
- inline Error_manager& operator=(const Error_manager& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Error_manager(Error_manager&& from) noexcept
- : Error_manager() {
- *this = ::std::move(from);
- }
- inline Error_manager& operator=(Error_manager&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Error_manager& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Error_manager* internal_default_instance() {
- return reinterpret_cast<const Error_manager*>(
- &_Error_manager_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- void Swap(Error_manager* other);
- friend void swap(Error_manager& a, Error_manager& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Error_manager* New() const final {
- return CreateMaybeMessage<Error_manager>(NULL);
- }
- Error_manager* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Error_manager>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Error_manager& from);
- void MergeFrom(const Error_manager& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Error_manager* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional string error_description = 3 [default = ""];
- bool has_error_description() const;
- void clear_error_description();
- static const int kErrorDescriptionFieldNumber = 3;
- const ::std::string& error_description() const;
- void set_error_description(const ::std::string& value);
- #if LANG_CXX11
- void set_error_description(::std::string&& value);
- #endif
- void set_error_description(const char* value);
- void set_error_description(const char* value, size_t size);
- ::std::string* mutable_error_description();
- ::std::string* release_error_description();
- void set_allocated_error_description(::std::string* error_description);
- // required int32 error_code = 1 [default = 0];
- bool has_error_code() const;
- void clear_error_code();
- static const int kErrorCodeFieldNumber = 1;
- ::google::protobuf::int32 error_code() const;
- void set_error_code(::google::protobuf::int32 value);
- // optional .message.Error_level error_level = 2 [default = NORMAL];
- bool has_error_level() const;
- void clear_error_level();
- static const int kErrorLevelFieldNumber = 2;
- ::message::Error_level error_level() const;
- void set_error_level(::message::Error_level value);
- // @@protoc_insertion_point(class_scope:message.Error_manager)
- private:
- void set_has_error_code();
- void clear_has_error_code();
- void set_has_error_level();
- void clear_has_error_level();
- void set_has_error_description();
- void clear_has_error_description();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr error_description_;
- ::google::protobuf::int32 error_code_;
- int error_level_;
- friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Locate_information : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Locate_information) */ {
- public:
- Locate_information();
- virtual ~Locate_information();
- Locate_information(const Locate_information& from);
- inline Locate_information& operator=(const Locate_information& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Locate_information(Locate_information&& from) noexcept
- : Locate_information() {
- *this = ::std::move(from);
- }
- inline Locate_information& operator=(Locate_information&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Locate_information& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Locate_information* internal_default_instance() {
- return reinterpret_cast<const Locate_information*>(
- &_Locate_information_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- void Swap(Locate_information* other);
- friend void swap(Locate_information& a, Locate_information& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Locate_information* New() const final {
- return CreateMaybeMessage<Locate_information>(NULL);
- }
- Locate_information* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Locate_information>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Locate_information& from);
- void MergeFrom(const Locate_information& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Locate_information* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional float locate_x = 1 [default = 0];
- bool has_locate_x() const;
- void clear_locate_x();
- static const int kLocateXFieldNumber = 1;
- float locate_x() const;
- void set_locate_x(float value);
- // optional float locate_y = 2 [default = 0];
- bool has_locate_y() const;
- void clear_locate_y();
- static const int kLocateYFieldNumber = 2;
- float locate_y() const;
- void set_locate_y(float value);
- // optional float locate_angle = 3 [default = 0];
- bool has_locate_angle() const;
- void clear_locate_angle();
- static const int kLocateAngleFieldNumber = 3;
- float locate_angle() const;
- void set_locate_angle(float value);
- // optional float locate_length = 4 [default = 0];
- bool has_locate_length() const;
- void clear_locate_length();
- static const int kLocateLengthFieldNumber = 4;
- float locate_length() const;
- void set_locate_length(float value);
- // optional float locate_width = 5 [default = 0];
- bool has_locate_width() const;
- void clear_locate_width();
- static const int kLocateWidthFieldNumber = 5;
- float locate_width() const;
- void set_locate_width(float value);
- // optional float locate_height = 6 [default = 0];
- bool has_locate_height() const;
- void clear_locate_height();
- static const int kLocateHeightFieldNumber = 6;
- float locate_height() const;
- void set_locate_height(float value);
- // optional float locate_wheel_base = 7 [default = 0];
- bool has_locate_wheel_base() const;
- void clear_locate_wheel_base();
- static const int kLocateWheelBaseFieldNumber = 7;
- float locate_wheel_base() const;
- void set_locate_wheel_base(float value);
- // optional float locate_wheel_width = 8 [default = 0];
- bool has_locate_wheel_width() const;
- void clear_locate_wheel_width();
- static const int kLocateWheelWidthFieldNumber = 8;
- float locate_wheel_width() const;
- void set_locate_wheel_width(float value);
- // optional bool locate_correct = 9 [default = false];
- bool has_locate_correct() const;
- void clear_locate_correct();
- static const int kLocateCorrectFieldNumber = 9;
- bool locate_correct() const;
- void set_locate_correct(bool value);
- // optional float locate_front_theta = 10 [default = 0];
- bool has_locate_front_theta() const;
- void clear_locate_front_theta();
- static const int kLocateFrontThetaFieldNumber = 10;
- float locate_front_theta() const;
- void set_locate_front_theta(float value);
- // optional float uniformed_car_x = 11;
- bool has_uniformed_car_x() const;
- void clear_uniformed_car_x();
- static const int kUniformedCarXFieldNumber = 11;
- float uniformed_car_x() const;
- void set_uniformed_car_x(float value);
- // optional float uniformed_car_y = 12;
- bool has_uniformed_car_y() const;
- void clear_uniformed_car_y();
- static const int kUniformedCarYFieldNumber = 12;
- float uniformed_car_y() const;
- void set_uniformed_car_y(float value);
- // @@protoc_insertion_point(class_scope:message.Locate_information)
- private:
- void set_has_locate_x();
- void clear_has_locate_x();
- void set_has_locate_y();
- void clear_has_locate_y();
- void set_has_locate_angle();
- void clear_has_locate_angle();
- void set_has_locate_length();
- void clear_has_locate_length();
- void set_has_locate_width();
- void clear_has_locate_width();
- void set_has_locate_height();
- void clear_has_locate_height();
- void set_has_locate_wheel_base();
- void clear_has_locate_wheel_base();
- void set_has_locate_wheel_width();
- void clear_has_locate_wheel_width();
- void set_has_locate_correct();
- void clear_has_locate_correct();
- void set_has_locate_front_theta();
- void clear_has_locate_front_theta();
- void set_has_uniformed_car_x();
- void clear_has_uniformed_car_x();
- void set_has_uniformed_car_y();
- void clear_has_uniformed_car_y();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- float locate_x_;
- float locate_y_;
- float locate_angle_;
- float locate_length_;
- float locate_width_;
- float locate_height_;
- float locate_wheel_base_;
- float locate_wheel_width_;
- bool locate_correct_;
- float locate_front_theta_;
- float uniformed_car_x_;
- float uniformed_car_y_;
- friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Car_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Car_info) */ {
- public:
- Car_info();
- virtual ~Car_info();
- Car_info(const Car_info& from);
- inline Car_info& operator=(const Car_info& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Car_info(Car_info&& from) noexcept
- : Car_info() {
- *this = ::std::move(from);
- }
- inline Car_info& operator=(Car_info&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Car_info& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Car_info* internal_default_instance() {
- return reinterpret_cast<const Car_info*>(
- &_Car_info_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- void Swap(Car_info* other);
- friend void swap(Car_info& a, Car_info& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Car_info* New() const final {
- return CreateMaybeMessage<Car_info>(NULL);
- }
- Car_info* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Car_info>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Car_info& from);
- void MergeFrom(const Car_info& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Car_info* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional string license = 4 [default = ""];
- bool has_license() const;
- void clear_license();
- static const int kLicenseFieldNumber = 4;
- const ::std::string& license() const;
- void set_license(const ::std::string& value);
- #if LANG_CXX11
- void set_license(::std::string&& value);
- #endif
- void set_license(const char* value);
- void set_license(const char* value, size_t size);
- ::std::string* mutable_license();
- ::std::string* release_license();
- void set_allocated_license(::std::string* license);
- // optional float car_length = 1 [default = 0];
- bool has_car_length() const;
- void clear_car_length();
- static const int kCarLengthFieldNumber = 1;
- float car_length() const;
- void set_car_length(float value);
- // optional float car_width = 2 [default = 0];
- bool has_car_width() const;
- void clear_car_width();
- static const int kCarWidthFieldNumber = 2;
- float car_width() const;
- void set_car_width(float value);
- // optional float car_height = 3 [default = 0];
- bool has_car_height() const;
- void clear_car_height();
- static const int kCarHeightFieldNumber = 3;
- float car_height() const;
- void set_car_height(float value);
- // optional float car_wheel_base = 5 [default = 0];
- bool has_car_wheel_base() const;
- void clear_car_wheel_base();
- static const int kCarWheelBaseFieldNumber = 5;
- float car_wheel_base() const;
- void set_car_wheel_base(float value);
- // optional float car_wheel_width = 6 [default = 0];
- bool has_car_wheel_width() const;
- void clear_car_wheel_width();
- static const int kCarWheelWidthFieldNumber = 6;
- float car_wheel_width() const;
- void set_car_wheel_width(float value);
- // @@protoc_insertion_point(class_scope:message.Car_info)
- private:
- void set_has_car_length();
- void clear_has_car_length();
- void set_has_car_width();
- void clear_has_car_width();
- void set_has_car_height();
- void clear_has_car_height();
- void set_has_license();
- void clear_has_license();
- void set_has_car_wheel_base();
- void clear_has_car_wheel_base();
- void set_has_car_wheel_width();
- void clear_has_car_wheel_width();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr license_;
- float car_length_;
- float car_width_;
- float car_height_;
- float car_wheel_base_;
- float car_wheel_width_;
- friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Parkspace_info : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_info) */ {
- public:
- Parkspace_info();
- virtual ~Parkspace_info();
- Parkspace_info(const Parkspace_info& from);
- inline Parkspace_info& operator=(const Parkspace_info& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Parkspace_info(Parkspace_info&& from) noexcept
- : Parkspace_info() {
- *this = ::std::move(from);
- }
- inline Parkspace_info& operator=(Parkspace_info&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- static const Parkspace_info& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Parkspace_info* internal_default_instance() {
- return reinterpret_cast<const Parkspace_info*>(
- &_Parkspace_info_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- void Swap(Parkspace_info* other);
- friend void swap(Parkspace_info& a, Parkspace_info& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Parkspace_info* New() const final {
- return CreateMaybeMessage<Parkspace_info>(NULL);
- }
- Parkspace_info* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Parkspace_info>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Parkspace_info& from);
- void MergeFrom(const Parkspace_info& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Parkspace_info* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional string entry_time = 12;
- bool has_entry_time() const;
- void clear_entry_time();
- static const int kEntryTimeFieldNumber = 12;
- const ::std::string& entry_time() const;
- void set_entry_time(const ::std::string& value);
- #if LANG_CXX11
- void set_entry_time(::std::string&& value);
- #endif
- void set_entry_time(const char* value);
- void set_entry_time(const char* value, size_t size);
- ::std::string* mutable_entry_time();
- ::std::string* release_entry_time();
- void set_allocated_entry_time(::std::string* entry_time);
- // optional string leave_time = 13;
- bool has_leave_time() const;
- void clear_leave_time();
- static const int kLeaveTimeFieldNumber = 13;
- const ::std::string& leave_time() const;
- void set_leave_time(const ::std::string& value);
- #if LANG_CXX11
- void set_leave_time(::std::string&& value);
- #endif
- void set_leave_time(const char* value);
- void set_leave_time(const char* value, size_t size);
- ::std::string* mutable_leave_time();
- ::std::string* release_leave_time();
- void set_allocated_leave_time(::std::string* leave_time);
- // optional .message.Car_info car_info = 11;
- bool has_car_info() const;
- void clear_car_info();
- static const int kCarInfoFieldNumber = 11;
- private:
- const ::message::Car_info& _internal_car_info() const;
- public:
- const ::message::Car_info& car_info() const;
- ::message::Car_info* release_car_info();
- ::message::Car_info* mutable_car_info();
- void set_allocated_car_info(::message::Car_info* car_info);
- // optional int32 parkingspace_index_id = 1;
- bool has_parkingspace_index_id() const;
- void clear_parkingspace_index_id();
- static const int kParkingspaceIndexIdFieldNumber = 1;
- ::google::protobuf::int32 parkingspace_index_id() const;
- void set_parkingspace_index_id(::google::protobuf::int32 value);
- // optional .message.Parkspace_type parkingspace_type = 2;
- bool has_parkingspace_type() const;
- void clear_parkingspace_type();
- static const int kParkingspaceTypeFieldNumber = 2;
- ::message::Parkspace_type parkingspace_type() const;
- void set_parkingspace_type(::message::Parkspace_type value);
- // optional int32 parkingspace_unit_id = 3;
- bool has_parkingspace_unit_id() const;
- void clear_parkingspace_unit_id();
- static const int kParkingspaceUnitIdFieldNumber = 3;
- ::google::protobuf::int32 parkingspace_unit_id() const;
- void set_parkingspace_unit_id(::google::protobuf::int32 value);
- // optional int32 parkingspace_label_id = 4;
- bool has_parkingspace_label_id() const;
- void clear_parkingspace_label_id();
- static const int kParkingspaceLabelIdFieldNumber = 4;
- ::google::protobuf::int32 parkingspace_label_id() const;
- void set_parkingspace_label_id(::google::protobuf::int32 value);
- // optional int32 parkingspace_room_id = 5;
- bool has_parkingspace_room_id() const;
- void clear_parkingspace_room_id();
- static const int kParkingspaceRoomIdFieldNumber = 5;
- ::google::protobuf::int32 parkingspace_room_id() const;
- void set_parkingspace_room_id(::google::protobuf::int32 value);
- // optional .message.Direction parkingspace_direction = 6;
- bool has_parkingspace_direction() const;
- void clear_parkingspace_direction();
- static const int kParkingspaceDirectionFieldNumber = 6;
- ::message::Direction parkingspace_direction() const;
- void set_parkingspace_direction(::message::Direction value);
- // optional int32 parkingspace_floor_id = 7;
- bool has_parkingspace_floor_id() const;
- void clear_parkingspace_floor_id();
- static const int kParkingspaceFloorIdFieldNumber = 7;
- ::google::protobuf::int32 parkingspace_floor_id() const;
- void set_parkingspace_floor_id(::google::protobuf::int32 value);
- // optional float parkingspace_width = 8;
- bool has_parkingspace_width() const;
- void clear_parkingspace_width();
- static const int kParkingspaceWidthFieldNumber = 8;
- float parkingspace_width() const;
- void set_parkingspace_width(float value);
- // optional float parkingspace_height = 9;
- bool has_parkingspace_height() const;
- void clear_parkingspace_height();
- static const int kParkingspaceHeightFieldNumber = 9;
- float parkingspace_height() const;
- void set_parkingspace_height(float value);
- // optional .message.Parkspace_status parkingspace_status = 10;
- bool has_parkingspace_status() const;
- void clear_parkingspace_status();
- static const int kParkingspaceStatusFieldNumber = 10;
- ::message::Parkspace_status parkingspace_status() const;
- void set_parkingspace_status(::message::Parkspace_status value);
- // optional .message.Parkspace_path parkspace_path = 14;
- bool has_parkspace_path() const;
- void clear_parkspace_path();
- static const int kParkspacePathFieldNumber = 14;
- ::message::Parkspace_path parkspace_path() const;
- void set_parkspace_path(::message::Parkspace_path value);
- // optional float path_estimate_time = 15;
- bool has_path_estimate_time() const;
- void clear_path_estimate_time();
- static const int kPathEstimateTimeFieldNumber = 15;
- float path_estimate_time() const;
- void set_path_estimate_time(float value);
- // optional .message.Parkspace_status parkspace_status_target = 16;
- bool has_parkspace_status_target() const;
- void clear_parkspace_status_target();
- static const int kParkspaceStatusTargetFieldNumber = 16;
- ::message::Parkspace_status parkspace_status_target() const;
- void set_parkspace_status_target(::message::Parkspace_status value);
- // optional .message.Car_type car_type = 17;
- bool has_car_type() const;
- void clear_car_type();
- static const int kCarTypeFieldNumber = 17;
- ::message::Car_type car_type() const;
- void set_car_type(::message::Car_type value);
- // @@protoc_insertion_point(class_scope:message.Parkspace_info)
- private:
- void set_has_parkingspace_index_id();
- void clear_has_parkingspace_index_id();
- void set_has_parkingspace_type();
- void clear_has_parkingspace_type();
- void set_has_parkingspace_unit_id();
- void clear_has_parkingspace_unit_id();
- void set_has_parkingspace_label_id();
- void clear_has_parkingspace_label_id();
- void set_has_parkingspace_room_id();
- void clear_has_parkingspace_room_id();
- void set_has_parkingspace_direction();
- void clear_has_parkingspace_direction();
- void set_has_parkingspace_floor_id();
- void clear_has_parkingspace_floor_id();
- void set_has_parkingspace_width();
- void clear_has_parkingspace_width();
- void set_has_parkingspace_height();
- void clear_has_parkingspace_height();
- void set_has_parkingspace_status();
- void clear_has_parkingspace_status();
- void set_has_car_info();
- void clear_has_car_info();
- void set_has_entry_time();
- void clear_has_entry_time();
- void set_has_leave_time();
- void clear_has_leave_time();
- void set_has_parkspace_path();
- void clear_has_parkspace_path();
- void set_has_path_estimate_time();
- void clear_has_path_estimate_time();
- void set_has_parkspace_status_target();
- void clear_has_parkspace_status_target();
- void set_has_car_type();
- void clear_has_car_type();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr entry_time_;
- ::google::protobuf::internal::ArenaStringPtr leave_time_;
- ::message::Car_info* car_info_;
- ::google::protobuf::int32 parkingspace_index_id_;
- int parkingspace_type_;
- ::google::protobuf::int32 parkingspace_unit_id_;
- ::google::protobuf::int32 parkingspace_label_id_;
- ::google::protobuf::int32 parkingspace_room_id_;
- int parkingspace_direction_;
- ::google::protobuf::int32 parkingspace_floor_id_;
- float parkingspace_width_;
- float parkingspace_height_;
- int parkingspace_status_;
- int parkspace_path_;
- float path_estimate_time_;
- int parkspace_status_target_;
- int car_type_;
- friend struct ::protobuf_message_5fbase_2eproto::TableStruct;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Base_info
- // required .message.Message_type msg_type = 1 [default = eBase_msg];
- inline bool Base_info::has_msg_type() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Base_info::set_has_msg_type() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Base_info::clear_has_msg_type() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Base_info::clear_msg_type() {
- msg_type_ = 0;
- clear_has_msg_type();
- }
- inline ::message::Message_type Base_info::msg_type() const {
- // @@protoc_insertion_point(field_get:message.Base_info.msg_type)
- return static_cast< ::message::Message_type >(msg_type_);
- }
- inline void Base_info::set_msg_type(::message::Message_type value) {
- assert(::message::Message_type_IsValid(value));
- set_has_msg_type();
- msg_type_ = value;
- // @@protoc_insertion_point(field_set:message.Base_info.msg_type)
- }
- // optional int32 timeout_ms = 2 [default = 0];
- inline bool Base_info::has_timeout_ms() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Base_info::set_has_timeout_ms() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Base_info::clear_has_timeout_ms() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Base_info::clear_timeout_ms() {
- timeout_ms_ = 0;
- clear_has_timeout_ms();
- }
- inline ::google::protobuf::int32 Base_info::timeout_ms() const {
- // @@protoc_insertion_point(field_get:message.Base_info.timeout_ms)
- return timeout_ms_;
- }
- inline void Base_info::set_timeout_ms(::google::protobuf::int32 value) {
- set_has_timeout_ms();
- timeout_ms_ = value;
- // @@protoc_insertion_point(field_set:message.Base_info.timeout_ms)
- }
- // required .message.Communicator sender = 3 [default = eEmpty];
- inline bool Base_info::has_sender() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Base_info::set_has_sender() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Base_info::clear_has_sender() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Base_info::clear_sender() {
- sender_ = 0;
- clear_has_sender();
- }
- inline ::message::Communicator Base_info::sender() const {
- // @@protoc_insertion_point(field_get:message.Base_info.sender)
- return static_cast< ::message::Communicator >(sender_);
- }
- inline void Base_info::set_sender(::message::Communicator value) {
- assert(::message::Communicator_IsValid(value));
- set_has_sender();
- sender_ = value;
- // @@protoc_insertion_point(field_set:message.Base_info.sender)
- }
- // required .message.Communicator receiver = 4 [default = eEmpty];
- inline bool Base_info::has_receiver() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Base_info::set_has_receiver() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Base_info::clear_has_receiver() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Base_info::clear_receiver() {
- receiver_ = 0;
- clear_has_receiver();
- }
- inline ::message::Communicator Base_info::receiver() const {
- // @@protoc_insertion_point(field_get:message.Base_info.receiver)
- return static_cast< ::message::Communicator >(receiver_);
- }
- inline void Base_info::set_receiver(::message::Communicator value) {
- assert(::message::Communicator_IsValid(value));
- set_has_receiver();
- receiver_ = value;
- // @@protoc_insertion_point(field_set:message.Base_info.receiver)
- }
- // -------------------------------------------------------------------
- // Base_msg
- // required .message.Base_info base_info = 1;
- inline bool Base_msg::has_base_info() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Base_msg::set_has_base_info() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Base_msg::clear_has_base_info() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Base_msg::clear_base_info() {
- if (base_info_ != NULL) base_info_->Clear();
- clear_has_base_info();
- }
- inline const ::message::Base_info& Base_msg::_internal_base_info() const {
- return *base_info_;
- }
- inline const ::message::Base_info& Base_msg::base_info() const {
- const ::message::Base_info* p = base_info_;
- // @@protoc_insertion_point(field_get:message.Base_msg.base_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline ::message::Base_info* Base_msg::release_base_info() {
- // @@protoc_insertion_point(field_release:message.Base_msg.base_info)
- clear_has_base_info();
- ::message::Base_info* temp = base_info_;
- base_info_ = NULL;
- return temp;
- }
- inline ::message::Base_info* Base_msg::mutable_base_info() {
- set_has_base_info();
- if (base_info_ == NULL) {
- auto* p = CreateMaybeMessage<::message::Base_info>(GetArenaNoVirtual());
- base_info_ = p;
- }
- // @@protoc_insertion_point(field_mutable:message.Base_msg.base_info)
- return base_info_;
- }
- inline void Base_msg::set_allocated_base_info(::message::Base_info* base_info) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete base_info_;
- }
- if (base_info) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- base_info = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, base_info, submessage_arena);
- }
- set_has_base_info();
- } else {
- clear_has_base_info();
- }
- base_info_ = base_info;
- // @@protoc_insertion_point(field_set_allocated:message.Base_msg.base_info)
- }
- // -------------------------------------------------------------------
- // Error_manager
- // required int32 error_code = 1 [default = 0];
- inline bool Error_manager::has_error_code() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Error_manager::set_has_error_code() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Error_manager::clear_has_error_code() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Error_manager::clear_error_code() {
- error_code_ = 0;
- clear_has_error_code();
- }
- inline ::google::protobuf::int32 Error_manager::error_code() const {
- // @@protoc_insertion_point(field_get:message.Error_manager.error_code)
- return error_code_;
- }
- inline void Error_manager::set_error_code(::google::protobuf::int32 value) {
- set_has_error_code();
- error_code_ = value;
- // @@protoc_insertion_point(field_set:message.Error_manager.error_code)
- }
- // optional .message.Error_level error_level = 2 [default = NORMAL];
- inline bool Error_manager::has_error_level() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Error_manager::set_has_error_level() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Error_manager::clear_has_error_level() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Error_manager::clear_error_level() {
- error_level_ = 0;
- clear_has_error_level();
- }
- inline ::message::Error_level Error_manager::error_level() const {
- // @@protoc_insertion_point(field_get:message.Error_manager.error_level)
- return static_cast< ::message::Error_level >(error_level_);
- }
- inline void Error_manager::set_error_level(::message::Error_level value) {
- assert(::message::Error_level_IsValid(value));
- set_has_error_level();
- error_level_ = value;
- // @@protoc_insertion_point(field_set:message.Error_manager.error_level)
- }
- // optional string error_description = 3 [default = ""];
- inline bool Error_manager::has_error_description() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Error_manager::set_has_error_description() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Error_manager::clear_has_error_description() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Error_manager::clear_error_description() {
- error_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_error_description();
- }
- inline const ::std::string& Error_manager::error_description() const {
- // @@protoc_insertion_point(field_get:message.Error_manager.error_description)
- return error_description_.GetNoArena();
- }
- inline void Error_manager::set_error_description(const ::std::string& value) {
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Error_manager.error_description)
- }
- #if LANG_CXX11
- inline void Error_manager::set_error_description(::std::string&& value) {
- set_has_error_description();
- error_description_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Error_manager.error_description)
- }
- #endif
- inline void Error_manager::set_error_description(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Error_manager.error_description)
- }
- inline void Error_manager::set_error_description(const char* value, size_t size) {
- set_has_error_description();
- error_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Error_manager.error_description)
- }
- inline ::std::string* Error_manager::mutable_error_description() {
- set_has_error_description();
- // @@protoc_insertion_point(field_mutable:message.Error_manager.error_description)
- return error_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Error_manager::release_error_description() {
- // @@protoc_insertion_point(field_release:message.Error_manager.error_description)
- if (!has_error_description()) {
- return NULL;
- }
- clear_has_error_description();
- return error_description_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Error_manager::set_allocated_error_description(::std::string* error_description) {
- if (error_description != NULL) {
- set_has_error_description();
- } else {
- clear_has_error_description();
- }
- error_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_description);
- // @@protoc_insertion_point(field_set_allocated:message.Error_manager.error_description)
- }
- // -------------------------------------------------------------------
- // Locate_information
- // optional float locate_x = 1 [default = 0];
- inline bool Locate_information::has_locate_x() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Locate_information::set_has_locate_x() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Locate_information::clear_has_locate_x() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Locate_information::clear_locate_x() {
- locate_x_ = 0;
- clear_has_locate_x();
- }
- inline float Locate_information::locate_x() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_x)
- return locate_x_;
- }
- inline void Locate_information::set_locate_x(float value) {
- set_has_locate_x();
- locate_x_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_x)
- }
- // optional float locate_y = 2 [default = 0];
- inline bool Locate_information::has_locate_y() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Locate_information::set_has_locate_y() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Locate_information::clear_has_locate_y() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Locate_information::clear_locate_y() {
- locate_y_ = 0;
- clear_has_locate_y();
- }
- inline float Locate_information::locate_y() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_y)
- return locate_y_;
- }
- inline void Locate_information::set_locate_y(float value) {
- set_has_locate_y();
- locate_y_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_y)
- }
- // optional float locate_angle = 3 [default = 0];
- inline bool Locate_information::has_locate_angle() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Locate_information::set_has_locate_angle() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Locate_information::clear_has_locate_angle() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Locate_information::clear_locate_angle() {
- locate_angle_ = 0;
- clear_has_locate_angle();
- }
- inline float Locate_information::locate_angle() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_angle)
- return locate_angle_;
- }
- inline void Locate_information::set_locate_angle(float value) {
- set_has_locate_angle();
- locate_angle_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_angle)
- }
- // optional float locate_length = 4 [default = 0];
- inline bool Locate_information::has_locate_length() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Locate_information::set_has_locate_length() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Locate_information::clear_has_locate_length() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Locate_information::clear_locate_length() {
- locate_length_ = 0;
- clear_has_locate_length();
- }
- inline float Locate_information::locate_length() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_length)
- return locate_length_;
- }
- inline void Locate_information::set_locate_length(float value) {
- set_has_locate_length();
- locate_length_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_length)
- }
- // optional float locate_width = 5 [default = 0];
- inline bool Locate_information::has_locate_width() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Locate_information::set_has_locate_width() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Locate_information::clear_has_locate_width() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Locate_information::clear_locate_width() {
- locate_width_ = 0;
- clear_has_locate_width();
- }
- inline float Locate_information::locate_width() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_width)
- return locate_width_;
- }
- inline void Locate_information::set_locate_width(float value) {
- set_has_locate_width();
- locate_width_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_width)
- }
- // optional float locate_height = 6 [default = 0];
- inline bool Locate_information::has_locate_height() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Locate_information::set_has_locate_height() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Locate_information::clear_has_locate_height() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Locate_information::clear_locate_height() {
- locate_height_ = 0;
- clear_has_locate_height();
- }
- inline float Locate_information::locate_height() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_height)
- return locate_height_;
- }
- inline void Locate_information::set_locate_height(float value) {
- set_has_locate_height();
- locate_height_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_height)
- }
- // optional float locate_wheel_base = 7 [default = 0];
- inline bool Locate_information::has_locate_wheel_base() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void Locate_information::set_has_locate_wheel_base() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void Locate_information::clear_has_locate_wheel_base() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void Locate_information::clear_locate_wheel_base() {
- locate_wheel_base_ = 0;
- clear_has_locate_wheel_base();
- }
- inline float Locate_information::locate_wheel_base() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_wheel_base)
- return locate_wheel_base_;
- }
- inline void Locate_information::set_locate_wheel_base(float value) {
- set_has_locate_wheel_base();
- locate_wheel_base_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_wheel_base)
- }
- // optional float locate_wheel_width = 8 [default = 0];
- inline bool Locate_information::has_locate_wheel_width() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
- }
- inline void Locate_information::set_has_locate_wheel_width() {
- _has_bits_[0] |= 0x00000080u;
- }
- inline void Locate_information::clear_has_locate_wheel_width() {
- _has_bits_[0] &= ~0x00000080u;
- }
- inline void Locate_information::clear_locate_wheel_width() {
- locate_wheel_width_ = 0;
- clear_has_locate_wheel_width();
- }
- inline float Locate_information::locate_wheel_width() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_wheel_width)
- return locate_wheel_width_;
- }
- inline void Locate_information::set_locate_wheel_width(float value) {
- set_has_locate_wheel_width();
- locate_wheel_width_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_wheel_width)
- }
- // optional bool locate_correct = 9 [default = false];
- inline bool Locate_information::has_locate_correct() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void Locate_information::set_has_locate_correct() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void Locate_information::clear_has_locate_correct() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void Locate_information::clear_locate_correct() {
- locate_correct_ = false;
- clear_has_locate_correct();
- }
- inline bool Locate_information::locate_correct() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_correct)
- return locate_correct_;
- }
- inline void Locate_information::set_locate_correct(bool value) {
- set_has_locate_correct();
- locate_correct_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_correct)
- }
- // optional float locate_front_theta = 10 [default = 0];
- inline bool Locate_information::has_locate_front_theta() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
- }
- inline void Locate_information::set_has_locate_front_theta() {
- _has_bits_[0] |= 0x00000200u;
- }
- inline void Locate_information::clear_has_locate_front_theta() {
- _has_bits_[0] &= ~0x00000200u;
- }
- inline void Locate_information::clear_locate_front_theta() {
- locate_front_theta_ = 0;
- clear_has_locate_front_theta();
- }
- inline float Locate_information::locate_front_theta() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.locate_front_theta)
- return locate_front_theta_;
- }
- inline void Locate_information::set_locate_front_theta(float value) {
- set_has_locate_front_theta();
- locate_front_theta_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.locate_front_theta)
- }
- // optional float uniformed_car_x = 11;
- inline bool Locate_information::has_uniformed_car_x() const {
- return (_has_bits_[0] & 0x00000400u) != 0;
- }
- inline void Locate_information::set_has_uniformed_car_x() {
- _has_bits_[0] |= 0x00000400u;
- }
- inline void Locate_information::clear_has_uniformed_car_x() {
- _has_bits_[0] &= ~0x00000400u;
- }
- inline void Locate_information::clear_uniformed_car_x() {
- uniformed_car_x_ = 0;
- clear_has_uniformed_car_x();
- }
- inline float Locate_information::uniformed_car_x() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.uniformed_car_x)
- return uniformed_car_x_;
- }
- inline void Locate_information::set_uniformed_car_x(float value) {
- set_has_uniformed_car_x();
- uniformed_car_x_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.uniformed_car_x)
- }
- // optional float uniformed_car_y = 12;
- inline bool Locate_information::has_uniformed_car_y() const {
- return (_has_bits_[0] & 0x00000800u) != 0;
- }
- inline void Locate_information::set_has_uniformed_car_y() {
- _has_bits_[0] |= 0x00000800u;
- }
- inline void Locate_information::clear_has_uniformed_car_y() {
- _has_bits_[0] &= ~0x00000800u;
- }
- inline void Locate_information::clear_uniformed_car_y() {
- uniformed_car_y_ = 0;
- clear_has_uniformed_car_y();
- }
- inline float Locate_information::uniformed_car_y() const {
- // @@protoc_insertion_point(field_get:message.Locate_information.uniformed_car_y)
- return uniformed_car_y_;
- }
- inline void Locate_information::set_uniformed_car_y(float value) {
- set_has_uniformed_car_y();
- uniformed_car_y_ = value;
- // @@protoc_insertion_point(field_set:message.Locate_information.uniformed_car_y)
- }
- // -------------------------------------------------------------------
- // Car_info
- // optional float car_length = 1 [default = 0];
- inline bool Car_info::has_car_length() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Car_info::set_has_car_length() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Car_info::clear_has_car_length() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Car_info::clear_car_length() {
- car_length_ = 0;
- clear_has_car_length();
- }
- inline float Car_info::car_length() const {
- // @@protoc_insertion_point(field_get:message.Car_info.car_length)
- return car_length_;
- }
- inline void Car_info::set_car_length(float value) {
- set_has_car_length();
- car_length_ = value;
- // @@protoc_insertion_point(field_set:message.Car_info.car_length)
- }
- // optional float car_width = 2 [default = 0];
- inline bool Car_info::has_car_width() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Car_info::set_has_car_width() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Car_info::clear_has_car_width() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Car_info::clear_car_width() {
- car_width_ = 0;
- clear_has_car_width();
- }
- inline float Car_info::car_width() const {
- // @@protoc_insertion_point(field_get:message.Car_info.car_width)
- return car_width_;
- }
- inline void Car_info::set_car_width(float value) {
- set_has_car_width();
- car_width_ = value;
- // @@protoc_insertion_point(field_set:message.Car_info.car_width)
- }
- // optional float car_height = 3 [default = 0];
- inline bool Car_info::has_car_height() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Car_info::set_has_car_height() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Car_info::clear_has_car_height() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Car_info::clear_car_height() {
- car_height_ = 0;
- clear_has_car_height();
- }
- inline float Car_info::car_height() const {
- // @@protoc_insertion_point(field_get:message.Car_info.car_height)
- return car_height_;
- }
- inline void Car_info::set_car_height(float value) {
- set_has_car_height();
- car_height_ = value;
- // @@protoc_insertion_point(field_set:message.Car_info.car_height)
- }
- // optional string license = 4 [default = ""];
- inline bool Car_info::has_license() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Car_info::set_has_license() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Car_info::clear_has_license() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Car_info::clear_license() {
- license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_license();
- }
- inline const ::std::string& Car_info::license() const {
- // @@protoc_insertion_point(field_get:message.Car_info.license)
- return license_.GetNoArena();
- }
- inline void Car_info::set_license(const ::std::string& value) {
- set_has_license();
- license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Car_info.license)
- }
- #if LANG_CXX11
- inline void Car_info::set_license(::std::string&& value) {
- set_has_license();
- license_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Car_info.license)
- }
- #endif
- inline void Car_info::set_license(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_license();
- license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Car_info.license)
- }
- inline void Car_info::set_license(const char* value, size_t size) {
- set_has_license();
- license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Car_info.license)
- }
- inline ::std::string* Car_info::mutable_license() {
- set_has_license();
- // @@protoc_insertion_point(field_mutable:message.Car_info.license)
- return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Car_info::release_license() {
- // @@protoc_insertion_point(field_release:message.Car_info.license)
- if (!has_license()) {
- return NULL;
- }
- clear_has_license();
- return license_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Car_info::set_allocated_license(::std::string* license) {
- if (license != NULL) {
- set_has_license();
- } else {
- clear_has_license();
- }
- license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
- // @@protoc_insertion_point(field_set_allocated:message.Car_info.license)
- }
- // optional float car_wheel_base = 5 [default = 0];
- inline bool Car_info::has_car_wheel_base() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Car_info::set_has_car_wheel_base() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Car_info::clear_has_car_wheel_base() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Car_info::clear_car_wheel_base() {
- car_wheel_base_ = 0;
- clear_has_car_wheel_base();
- }
- inline float Car_info::car_wheel_base() const {
- // @@protoc_insertion_point(field_get:message.Car_info.car_wheel_base)
- return car_wheel_base_;
- }
- inline void Car_info::set_car_wheel_base(float value) {
- set_has_car_wheel_base();
- car_wheel_base_ = value;
- // @@protoc_insertion_point(field_set:message.Car_info.car_wheel_base)
- }
- // optional float car_wheel_width = 6 [default = 0];
- inline bool Car_info::has_car_wheel_width() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Car_info::set_has_car_wheel_width() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Car_info::clear_has_car_wheel_width() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Car_info::clear_car_wheel_width() {
- car_wheel_width_ = 0;
- clear_has_car_wheel_width();
- }
- inline float Car_info::car_wheel_width() const {
- // @@protoc_insertion_point(field_get:message.Car_info.car_wheel_width)
- return car_wheel_width_;
- }
- inline void Car_info::set_car_wheel_width(float value) {
- set_has_car_wheel_width();
- car_wheel_width_ = value;
- // @@protoc_insertion_point(field_set:message.Car_info.car_wheel_width)
- }
- // -------------------------------------------------------------------
- // Parkspace_info
- // optional int32 parkingspace_index_id = 1;
- inline bool Parkspace_info::has_parkingspace_index_id() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_index_id() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Parkspace_info::clear_has_parkingspace_index_id() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Parkspace_info::clear_parkingspace_index_id() {
- parkingspace_index_id_ = 0;
- clear_has_parkingspace_index_id();
- }
- inline ::google::protobuf::int32 Parkspace_info::parkingspace_index_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_index_id)
- return parkingspace_index_id_;
- }
- inline void Parkspace_info::set_parkingspace_index_id(::google::protobuf::int32 value) {
- set_has_parkingspace_index_id();
- parkingspace_index_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_index_id)
- }
- // optional .message.Parkspace_type parkingspace_type = 2;
- inline bool Parkspace_info::has_parkingspace_type() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_type() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Parkspace_info::clear_has_parkingspace_type() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Parkspace_info::clear_parkingspace_type() {
- parkingspace_type_ = 0;
- clear_has_parkingspace_type();
- }
- inline ::message::Parkspace_type Parkspace_info::parkingspace_type() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_type)
- return static_cast< ::message::Parkspace_type >(parkingspace_type_);
- }
- inline void Parkspace_info::set_parkingspace_type(::message::Parkspace_type value) {
- assert(::message::Parkspace_type_IsValid(value));
- set_has_parkingspace_type();
- parkingspace_type_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_type)
- }
- // optional int32 parkingspace_unit_id = 3;
- inline bool Parkspace_info::has_parkingspace_unit_id() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_unit_id() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Parkspace_info::clear_has_parkingspace_unit_id() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Parkspace_info::clear_parkingspace_unit_id() {
- parkingspace_unit_id_ = 0;
- clear_has_parkingspace_unit_id();
- }
- inline ::google::protobuf::int32 Parkspace_info::parkingspace_unit_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_unit_id)
- return parkingspace_unit_id_;
- }
- inline void Parkspace_info::set_parkingspace_unit_id(::google::protobuf::int32 value) {
- set_has_parkingspace_unit_id();
- parkingspace_unit_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_unit_id)
- }
- // optional int32 parkingspace_label_id = 4;
- inline bool Parkspace_info::has_parkingspace_label_id() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_label_id() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void Parkspace_info::clear_has_parkingspace_label_id() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void Parkspace_info::clear_parkingspace_label_id() {
- parkingspace_label_id_ = 0;
- clear_has_parkingspace_label_id();
- }
- inline ::google::protobuf::int32 Parkspace_info::parkingspace_label_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_label_id)
- return parkingspace_label_id_;
- }
- inline void Parkspace_info::set_parkingspace_label_id(::google::protobuf::int32 value) {
- set_has_parkingspace_label_id();
- parkingspace_label_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_label_id)
- }
- // optional int32 parkingspace_room_id = 5;
- inline bool Parkspace_info::has_parkingspace_room_id() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_room_id() {
- _has_bits_[0] |= 0x00000080u;
- }
- inline void Parkspace_info::clear_has_parkingspace_room_id() {
- _has_bits_[0] &= ~0x00000080u;
- }
- inline void Parkspace_info::clear_parkingspace_room_id() {
- parkingspace_room_id_ = 0;
- clear_has_parkingspace_room_id();
- }
- inline ::google::protobuf::int32 Parkspace_info::parkingspace_room_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_room_id)
- return parkingspace_room_id_;
- }
- inline void Parkspace_info::set_parkingspace_room_id(::google::protobuf::int32 value) {
- set_has_parkingspace_room_id();
- parkingspace_room_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_room_id)
- }
- // optional .message.Direction parkingspace_direction = 6;
- inline bool Parkspace_info::has_parkingspace_direction() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_direction() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void Parkspace_info::clear_has_parkingspace_direction() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void Parkspace_info::clear_parkingspace_direction() {
- parkingspace_direction_ = 0;
- clear_has_parkingspace_direction();
- }
- inline ::message::Direction Parkspace_info::parkingspace_direction() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_direction)
- return static_cast< ::message::Direction >(parkingspace_direction_);
- }
- inline void Parkspace_info::set_parkingspace_direction(::message::Direction value) {
- assert(::message::Direction_IsValid(value));
- set_has_parkingspace_direction();
- parkingspace_direction_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_direction)
- }
- // optional int32 parkingspace_floor_id = 7;
- inline bool Parkspace_info::has_parkingspace_floor_id() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_floor_id() {
- _has_bits_[0] |= 0x00000200u;
- }
- inline void Parkspace_info::clear_has_parkingspace_floor_id() {
- _has_bits_[0] &= ~0x00000200u;
- }
- inline void Parkspace_info::clear_parkingspace_floor_id() {
- parkingspace_floor_id_ = 0;
- clear_has_parkingspace_floor_id();
- }
- inline ::google::protobuf::int32 Parkspace_info::parkingspace_floor_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_floor_id)
- return parkingspace_floor_id_;
- }
- inline void Parkspace_info::set_parkingspace_floor_id(::google::protobuf::int32 value) {
- set_has_parkingspace_floor_id();
- parkingspace_floor_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_floor_id)
- }
- // optional float parkingspace_width = 8;
- inline bool Parkspace_info::has_parkingspace_width() const {
- return (_has_bits_[0] & 0x00000400u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_width() {
- _has_bits_[0] |= 0x00000400u;
- }
- inline void Parkspace_info::clear_has_parkingspace_width() {
- _has_bits_[0] &= ~0x00000400u;
- }
- inline void Parkspace_info::clear_parkingspace_width() {
- parkingspace_width_ = 0;
- clear_has_parkingspace_width();
- }
- inline float Parkspace_info::parkingspace_width() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_width)
- return parkingspace_width_;
- }
- inline void Parkspace_info::set_parkingspace_width(float value) {
- set_has_parkingspace_width();
- parkingspace_width_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_width)
- }
- // optional float parkingspace_height = 9;
- inline bool Parkspace_info::has_parkingspace_height() const {
- return (_has_bits_[0] & 0x00000800u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_height() {
- _has_bits_[0] |= 0x00000800u;
- }
- inline void Parkspace_info::clear_has_parkingspace_height() {
- _has_bits_[0] &= ~0x00000800u;
- }
- inline void Parkspace_info::clear_parkingspace_height() {
- parkingspace_height_ = 0;
- clear_has_parkingspace_height();
- }
- inline float Parkspace_info::parkingspace_height() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_height)
- return parkingspace_height_;
- }
- inline void Parkspace_info::set_parkingspace_height(float value) {
- set_has_parkingspace_height();
- parkingspace_height_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_height)
- }
- // optional .message.Parkspace_status parkingspace_status = 10;
- inline bool Parkspace_info::has_parkingspace_status() const {
- return (_has_bits_[0] & 0x00001000u) != 0;
- }
- inline void Parkspace_info::set_has_parkingspace_status() {
- _has_bits_[0] |= 0x00001000u;
- }
- inline void Parkspace_info::clear_has_parkingspace_status() {
- _has_bits_[0] &= ~0x00001000u;
- }
- inline void Parkspace_info::clear_parkingspace_status() {
- parkingspace_status_ = 0;
- clear_has_parkingspace_status();
- }
- inline ::message::Parkspace_status Parkspace_info::parkingspace_status() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkingspace_status)
- return static_cast< ::message::Parkspace_status >(parkingspace_status_);
- }
- inline void Parkspace_info::set_parkingspace_status(::message::Parkspace_status value) {
- assert(::message::Parkspace_status_IsValid(value));
- set_has_parkingspace_status();
- parkingspace_status_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkingspace_status)
- }
- // optional .message.Car_info car_info = 11;
- inline bool Parkspace_info::has_car_info() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Parkspace_info::set_has_car_info() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Parkspace_info::clear_has_car_info() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Parkspace_info::clear_car_info() {
- if (car_info_ != NULL) car_info_->Clear();
- clear_has_car_info();
- }
- inline const ::message::Car_info& Parkspace_info::_internal_car_info() const {
- return *car_info_;
- }
- inline const ::message::Car_info& Parkspace_info::car_info() const {
- const ::message::Car_info* p = car_info_;
- // @@protoc_insertion_point(field_get:message.Parkspace_info.car_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Car_info*>(
- &::message::_Car_info_default_instance_);
- }
- inline ::message::Car_info* Parkspace_info::release_car_info() {
- // @@protoc_insertion_point(field_release:message.Parkspace_info.car_info)
- clear_has_car_info();
- ::message::Car_info* temp = car_info_;
- car_info_ = NULL;
- return temp;
- }
- inline ::message::Car_info* Parkspace_info::mutable_car_info() {
- set_has_car_info();
- if (car_info_ == NULL) {
- auto* p = CreateMaybeMessage<::message::Car_info>(GetArenaNoVirtual());
- car_info_ = p;
- }
- // @@protoc_insertion_point(field_mutable:message.Parkspace_info.car_info)
- return car_info_;
- }
- inline void Parkspace_info::set_allocated_car_info(::message::Car_info* car_info) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete car_info_;
- }
- if (car_info) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- car_info = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, car_info, submessage_arena);
- }
- set_has_car_info();
- } else {
- clear_has_car_info();
- }
- car_info_ = car_info;
- // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.car_info)
- }
- // optional string entry_time = 12;
- inline bool Parkspace_info::has_entry_time() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Parkspace_info::set_has_entry_time() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Parkspace_info::clear_has_entry_time() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Parkspace_info::clear_entry_time() {
- entry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_entry_time();
- }
- inline const ::std::string& Parkspace_info::entry_time() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.entry_time)
- return entry_time_.GetNoArena();
- }
- inline void Parkspace_info::set_entry_time(const ::std::string& value) {
- set_has_entry_time();
- entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Parkspace_info.entry_time)
- }
- #if LANG_CXX11
- inline void Parkspace_info::set_entry_time(::std::string&& value) {
- set_has_entry_time();
- entry_time_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.entry_time)
- }
- #endif
- inline void Parkspace_info::set_entry_time(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_entry_time();
- entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Parkspace_info.entry_time)
- }
- inline void Parkspace_info::set_entry_time(const char* value, size_t size) {
- set_has_entry_time();
- entry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.entry_time)
- }
- inline ::std::string* Parkspace_info::mutable_entry_time() {
- set_has_entry_time();
- // @@protoc_insertion_point(field_mutable:message.Parkspace_info.entry_time)
- return entry_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Parkspace_info::release_entry_time() {
- // @@protoc_insertion_point(field_release:message.Parkspace_info.entry_time)
- if (!has_entry_time()) {
- return NULL;
- }
- clear_has_entry_time();
- return entry_time_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Parkspace_info::set_allocated_entry_time(::std::string* entry_time) {
- if (entry_time != NULL) {
- set_has_entry_time();
- } else {
- clear_has_entry_time();
- }
- entry_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), entry_time);
- // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.entry_time)
- }
- // optional string leave_time = 13;
- inline bool Parkspace_info::has_leave_time() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Parkspace_info::set_has_leave_time() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Parkspace_info::clear_has_leave_time() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Parkspace_info::clear_leave_time() {
- leave_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_leave_time();
- }
- inline const ::std::string& Parkspace_info::leave_time() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.leave_time)
- return leave_time_.GetNoArena();
- }
- inline void Parkspace_info::set_leave_time(const ::std::string& value) {
- set_has_leave_time();
- leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Parkspace_info.leave_time)
- }
- #if LANG_CXX11
- inline void Parkspace_info::set_leave_time(::std::string&& value) {
- set_has_leave_time();
- leave_time_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Parkspace_info.leave_time)
- }
- #endif
- inline void Parkspace_info::set_leave_time(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_leave_time();
- leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Parkspace_info.leave_time)
- }
- inline void Parkspace_info::set_leave_time(const char* value, size_t size) {
- set_has_leave_time();
- leave_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Parkspace_info.leave_time)
- }
- inline ::std::string* Parkspace_info::mutable_leave_time() {
- set_has_leave_time();
- // @@protoc_insertion_point(field_mutable:message.Parkspace_info.leave_time)
- return leave_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Parkspace_info::release_leave_time() {
- // @@protoc_insertion_point(field_release:message.Parkspace_info.leave_time)
- if (!has_leave_time()) {
- return NULL;
- }
- clear_has_leave_time();
- return leave_time_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Parkspace_info::set_allocated_leave_time(::std::string* leave_time) {
- if (leave_time != NULL) {
- set_has_leave_time();
- } else {
- clear_has_leave_time();
- }
- leave_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leave_time);
- // @@protoc_insertion_point(field_set_allocated:message.Parkspace_info.leave_time)
- }
- // optional .message.Parkspace_path parkspace_path = 14;
- inline bool Parkspace_info::has_parkspace_path() const {
- return (_has_bits_[0] & 0x00002000u) != 0;
- }
- inline void Parkspace_info::set_has_parkspace_path() {
- _has_bits_[0] |= 0x00002000u;
- }
- inline void Parkspace_info::clear_has_parkspace_path() {
- _has_bits_[0] &= ~0x00002000u;
- }
- inline void Parkspace_info::clear_parkspace_path() {
- parkspace_path_ = 0;
- clear_has_parkspace_path();
- }
- inline ::message::Parkspace_path Parkspace_info::parkspace_path() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_path)
- return static_cast< ::message::Parkspace_path >(parkspace_path_);
- }
- inline void Parkspace_info::set_parkspace_path(::message::Parkspace_path value) {
- assert(::message::Parkspace_path_IsValid(value));
- set_has_parkspace_path();
- parkspace_path_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_path)
- }
- // optional float path_estimate_time = 15;
- inline bool Parkspace_info::has_path_estimate_time() const {
- return (_has_bits_[0] & 0x00004000u) != 0;
- }
- inline void Parkspace_info::set_has_path_estimate_time() {
- _has_bits_[0] |= 0x00004000u;
- }
- inline void Parkspace_info::clear_has_path_estimate_time() {
- _has_bits_[0] &= ~0x00004000u;
- }
- inline void Parkspace_info::clear_path_estimate_time() {
- path_estimate_time_ = 0;
- clear_has_path_estimate_time();
- }
- inline float Parkspace_info::path_estimate_time() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.path_estimate_time)
- return path_estimate_time_;
- }
- inline void Parkspace_info::set_path_estimate_time(float value) {
- set_has_path_estimate_time();
- path_estimate_time_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.path_estimate_time)
- }
- // optional .message.Parkspace_status parkspace_status_target = 16;
- inline bool Parkspace_info::has_parkspace_status_target() const {
- return (_has_bits_[0] & 0x00008000u) != 0;
- }
- inline void Parkspace_info::set_has_parkspace_status_target() {
- _has_bits_[0] |= 0x00008000u;
- }
- inline void Parkspace_info::clear_has_parkspace_status_target() {
- _has_bits_[0] &= ~0x00008000u;
- }
- inline void Parkspace_info::clear_parkspace_status_target() {
- parkspace_status_target_ = 0;
- clear_has_parkspace_status_target();
- }
- inline ::message::Parkspace_status Parkspace_info::parkspace_status_target() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_status_target)
- return static_cast< ::message::Parkspace_status >(parkspace_status_target_);
- }
- inline void Parkspace_info::set_parkspace_status_target(::message::Parkspace_status value) {
- assert(::message::Parkspace_status_IsValid(value));
- set_has_parkspace_status_target();
- parkspace_status_target_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_status_target)
- }
- // optional .message.Car_type car_type = 17;
- inline bool Parkspace_info::has_car_type() const {
- return (_has_bits_[0] & 0x00010000u) != 0;
- }
- inline void Parkspace_info::set_has_car_type() {
- _has_bits_[0] |= 0x00010000u;
- }
- inline void Parkspace_info::clear_has_car_type() {
- _has_bits_[0] &= ~0x00010000u;
- }
- inline void Parkspace_info::clear_car_type() {
- car_type_ = 0;
- clear_has_car_type();
- }
- inline ::message::Car_type Parkspace_info::car_type() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.car_type)
- return static_cast< ::message::Car_type >(car_type_);
- }
- inline void Parkspace_info::set_car_type(::message::Car_type value) {
- assert(::message::Car_type_IsValid(value));
- set_has_car_type();
- car_type_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.car_type)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace message
- namespace google {
- namespace protobuf {
- template <> struct is_proto_enum< ::message::Message_type> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Message_type>() {
- return ::message::Message_type_descriptor();
- }
- template <> struct is_proto_enum< ::message::Communicator> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Communicator>() {
- return ::message::Communicator_descriptor();
- }
- template <> struct is_proto_enum< ::message::Process_type> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Process_type>() {
- return ::message::Process_type_descriptor();
- }
- template <> struct is_proto_enum< ::message::Error_level> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Error_level>() {
- return ::message::Error_level_descriptor();
- }
- template <> struct is_proto_enum< ::message::Parkspace_status> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_status>() {
- return ::message::Parkspace_status_descriptor();
- }
- template <> struct is_proto_enum< ::message::Direction> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Direction>() {
- return ::message::Direction_descriptor();
- }
- template <> struct is_proto_enum< ::message::Parkspace_path> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_path>() {
- return ::message::Parkspace_path_descriptor();
- }
- template <> struct is_proto_enum< ::message::Parkspace_type> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_type>() {
- return ::message::Parkspace_type_descriptor();
- }
- template <> struct is_proto_enum< ::message::Car_type> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Car_type>() {
- return ::message::Car_type_descriptor();
- }
- template <> struct is_proto_enum< ::message::Step_type> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Step_type>() {
- return ::message::Step_type_descriptor();
- }
- template <> struct is_proto_enum< ::message::Step_statu> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Step_statu>() {
- return ::message::Step_statu_descriptor();
- }
- template <> struct is_proto_enum< ::message::Dispatch_device_type> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_device_type>() {
- return ::message::Dispatch_device_type_descriptor();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_INCLUDED_message_5fbase_2eproto
|