12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384 |
- // 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 < 3006000
- #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 3006000 < 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,
- 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_refresh_request_msg = 60,
- eParkspace_allocation_data_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
- };
- bool Message_type_IsValid(int value);
- const Message_type Message_type_MIN = eBase_msg;
- const Message_type Message_type_MAX = eProcess_manual_operation_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,
- eDispatch = 1024
- };
- bool Communicator_IsValid(int value);
- const Communicator Communicator_MIN = eEmpty;
- const Communicator Communicator_MAX = eDispatch;
- 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_empty = 0,
- eParkspace_occupied = 1,
- eParkspace_reserverd = 2,
- eParkspace_error = 3
- };
- bool Parkspace_status_IsValid(int value);
- const Parkspace_status Parkspace_status_MIN = eParkspace_empty;
- 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 {
- eForward = 1,
- eBackward = 2
- };
- bool Direction_IsValid(int value);
- const Direction Direction_MIN = eForward;
- 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 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);
- }
- // ===================================================================
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- bool has_locate_correct() const;
- void clear_locate_correct();
- static const int kLocateCorrectFieldNumber = 9;
- bool locate_correct() const;
- void set_locate_correct(bool 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();
- ::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_;
- 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;
- 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;
- 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;
- 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;
- bool has_car_height() const;
- void clear_car_height();
- static const int kCarHeightFieldNumber = 3;
- float car_height() const;
- void set_car_height(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();
- ::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_;
- 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 = 10;
- bool has_entry_time() const;
- void clear_entry_time();
- static const int kEntryTimeFieldNumber = 10;
- 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 = 11;
- bool has_leave_time() const;
- void clear_leave_time();
- static const int kLeaveTimeFieldNumber = 11;
- 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 = 9;
- bool has_car_info() const;
- void clear_car_info();
- static const int kCarInfoFieldNumber = 9;
- 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 parkspace_id = 1;
- bool has_parkspace_id() const;
- void clear_parkspace_id();
- static const int kParkspaceIdFieldNumber = 1;
- ::google::protobuf::int32 parkspace_id() const;
- void set_parkspace_id(::google::protobuf::int32 value);
- // optional int32 index = 2;
- bool has_index() const;
- void clear_index();
- static const int kIndexFieldNumber = 2;
- ::google::protobuf::int32 index() const;
- void set_index(::google::protobuf::int32 value);
- // optional int32 floor = 4;
- bool has_floor() const;
- void clear_floor();
- static const int kFloorFieldNumber = 4;
- ::google::protobuf::int32 floor() const;
- void set_floor(::google::protobuf::int32 value);
- // optional float length = 5;
- bool has_length() const;
- void clear_length();
- static const int kLengthFieldNumber = 5;
- float length() const;
- void set_length(float value);
- // optional float width = 6;
- bool has_width() const;
- void clear_width();
- static const int kWidthFieldNumber = 6;
- float width() const;
- void set_width(float value);
- // optional float height = 7;
- bool has_height() const;
- void clear_height();
- static const int kHeightFieldNumber = 7;
- float height() const;
- void set_height(float value);
- // optional .message.Parkspace_status parkspace_status = 8;
- bool has_parkspace_status() const;
- void clear_parkspace_status();
- static const int kParkspaceStatusFieldNumber = 8;
- ::message::Parkspace_status parkspace_status() const;
- void set_parkspace_status(::message::Parkspace_status value);
- // optional .message.Direction direction = 3;
- bool has_direction() const;
- void clear_direction();
- static const int kDirectionFieldNumber = 3;
- ::message::Direction direction() const;
- void set_direction(::message::Direction value);
- // @@protoc_insertion_point(class_scope:message.Parkspace_info)
- private:
- void set_has_parkspace_id();
- void clear_has_parkspace_id();
- void set_has_index();
- void clear_has_index();
- void set_has_direction();
- void clear_has_direction();
- void set_has_floor();
- void clear_has_floor();
- void set_has_length();
- void clear_has_length();
- void set_has_width();
- void clear_has_width();
- void set_has_height();
- void clear_has_height();
- void set_has_parkspace_status();
- void clear_has_parkspace_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();
- ::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 parkspace_id_;
- ::google::protobuf::int32 index_;
- ::google::protobuf::int32 floor_;
- float length_;
- float width_;
- float height_;
- int parkspace_status_;
- int direction_;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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)
- }
- // -------------------------------------------------------------------
- // Car_info
- // optional float car_length = 1;
- 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;
- 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;
- 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;
- 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)
- }
- // -------------------------------------------------------------------
- // Parkspace_info
- // optional int32 parkspace_id = 1;
- inline bool Parkspace_info::has_parkspace_id() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Parkspace_info::set_has_parkspace_id() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Parkspace_info::clear_has_parkspace_id() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Parkspace_info::clear_parkspace_id() {
- parkspace_id_ = 0;
- clear_has_parkspace_id();
- }
- inline ::google::protobuf::int32 Parkspace_info::parkspace_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_id)
- return parkspace_id_;
- }
- inline void Parkspace_info::set_parkspace_id(::google::protobuf::int32 value) {
- set_has_parkspace_id();
- parkspace_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_id)
- }
- // optional int32 index = 2;
- inline bool Parkspace_info::has_index() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Parkspace_info::set_has_index() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Parkspace_info::clear_has_index() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Parkspace_info::clear_index() {
- index_ = 0;
- clear_has_index();
- }
- inline ::google::protobuf::int32 Parkspace_info::index() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.index)
- return index_;
- }
- inline void Parkspace_info::set_index(::google::protobuf::int32 value) {
- set_has_index();
- index_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.index)
- }
- // optional .message.Direction direction = 3;
- inline bool Parkspace_info::has_direction() const {
- return (_has_bits_[0] & 0x00000400u) != 0;
- }
- inline void Parkspace_info::set_has_direction() {
- _has_bits_[0] |= 0x00000400u;
- }
- inline void Parkspace_info::clear_has_direction() {
- _has_bits_[0] &= ~0x00000400u;
- }
- inline void Parkspace_info::clear_direction() {
- direction_ = 1;
- clear_has_direction();
- }
- inline ::message::Direction Parkspace_info::direction() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.direction)
- return static_cast< ::message::Direction >(direction_);
- }
- inline void Parkspace_info::set_direction(::message::Direction value) {
- assert(::message::Direction_IsValid(value));
- set_has_direction();
- direction_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.direction)
- }
- // optional int32 floor = 4;
- inline bool Parkspace_info::has_floor() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Parkspace_info::set_has_floor() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Parkspace_info::clear_has_floor() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Parkspace_info::clear_floor() {
- floor_ = 0;
- clear_has_floor();
- }
- inline ::google::protobuf::int32 Parkspace_info::floor() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.floor)
- return floor_;
- }
- inline void Parkspace_info::set_floor(::google::protobuf::int32 value) {
- set_has_floor();
- floor_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.floor)
- }
- // optional float length = 5;
- inline bool Parkspace_info::has_length() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void Parkspace_info::set_has_length() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void Parkspace_info::clear_has_length() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void Parkspace_info::clear_length() {
- length_ = 0;
- clear_has_length();
- }
- inline float Parkspace_info::length() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.length)
- return length_;
- }
- inline void Parkspace_info::set_length(float value) {
- set_has_length();
- length_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.length)
- }
- // optional float width = 6;
- inline bool Parkspace_info::has_width() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
- }
- inline void Parkspace_info::set_has_width() {
- _has_bits_[0] |= 0x00000080u;
- }
- inline void Parkspace_info::clear_has_width() {
- _has_bits_[0] &= ~0x00000080u;
- }
- inline void Parkspace_info::clear_width() {
- width_ = 0;
- clear_has_width();
- }
- inline float Parkspace_info::width() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.width)
- return width_;
- }
- inline void Parkspace_info::set_width(float value) {
- set_has_width();
- width_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.width)
- }
- // optional float height = 7;
- inline bool Parkspace_info::has_height() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void Parkspace_info::set_has_height() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void Parkspace_info::clear_has_height() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void Parkspace_info::clear_height() {
- height_ = 0;
- clear_has_height();
- }
- inline float Parkspace_info::height() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.height)
- return height_;
- }
- inline void Parkspace_info::set_height(float value) {
- set_has_height();
- height_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.height)
- }
- // optional .message.Parkspace_status parkspace_status = 8;
- inline bool Parkspace_info::has_parkspace_status() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
- }
- inline void Parkspace_info::set_has_parkspace_status() {
- _has_bits_[0] |= 0x00000200u;
- }
- inline void Parkspace_info::clear_has_parkspace_status() {
- _has_bits_[0] &= ~0x00000200u;
- }
- inline void Parkspace_info::clear_parkspace_status() {
- parkspace_status_ = 0;
- clear_has_parkspace_status();
- }
- inline ::message::Parkspace_status Parkspace_info::parkspace_status() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.parkspace_status)
- return static_cast< ::message::Parkspace_status >(parkspace_status_);
- }
- inline void Parkspace_info::set_parkspace_status(::message::Parkspace_status value) {
- assert(::message::Parkspace_status_IsValid(value));
- set_has_parkspace_status();
- parkspace_status_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.parkspace_status)
- }
- // optional .message.Car_info car_info = 9;
- 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 = 10;
- 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 = 11;
- 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)
- }
- #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::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();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_INCLUDED_message_5fbase_2eproto
|