1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: parkspace_allocation_message.proto
- #ifndef PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED
- #define PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3005000
- #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 3005000 < 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/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>
- #include "message_base.pb.h"
- // @@protoc_insertion_point(includes)
- namespace protobuf_parkspace_5fallocation_5fmessage_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[4];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- void InitDefaultsParkspace_allocation_request_msgImpl();
- void InitDefaultsParkspace_allocation_request_msg();
- void InitDefaultsParkspace_allocation_response_msgImpl();
- void InitDefaultsParkspace_allocation_response_msg();
- void InitDefaultsParkspace_allocation_status_msgImpl();
- void InitDefaultsParkspace_allocation_status_msg();
- void InitDefaultsParkspace_infoImpl();
- void InitDefaultsParkspace_info();
- inline void InitDefaults() {
- InitDefaultsParkspace_allocation_request_msg();
- InitDefaultsParkspace_allocation_response_msg();
- InitDefaultsParkspace_allocation_status_msg();
- InitDefaultsParkspace_info();
- }
- } // namespace protobuf_parkspace_5fallocation_5fmessage_2eproto
- namespace message {
- class Parkspace_allocation_request_msg;
- class Parkspace_allocation_request_msgDefaultTypeInternal;
- extern Parkspace_allocation_request_msgDefaultTypeInternal _Parkspace_allocation_request_msg_default_instance_;
- class Parkspace_allocation_response_msg;
- class Parkspace_allocation_response_msgDefaultTypeInternal;
- extern Parkspace_allocation_response_msgDefaultTypeInternal _Parkspace_allocation_response_msg_default_instance_;
- class Parkspace_allocation_status_msg;
- class Parkspace_allocation_status_msgDefaultTypeInternal;
- extern Parkspace_allocation_status_msgDefaultTypeInternal _Parkspace_allocation_status_msg_default_instance_;
- class Parkspace_info;
- class Parkspace_infoDefaultTypeInternal;
- extern Parkspace_infoDefaultTypeInternal _Parkspace_info_default_instance_;
- } // namespace message
- namespace message {
- 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);
- }
- // ===================================================================
- class Parkspace_allocation_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_request_msg) */ {
- public:
- Parkspace_allocation_request_msg();
- virtual ~Parkspace_allocation_request_msg();
- Parkspace_allocation_request_msg(const Parkspace_allocation_request_msg& from);
- inline Parkspace_allocation_request_msg& operator=(const Parkspace_allocation_request_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Parkspace_allocation_request_msg(Parkspace_allocation_request_msg&& from) noexcept
- : Parkspace_allocation_request_msg() {
- *this = ::std::move(from);
- }
- inline Parkspace_allocation_request_msg& operator=(Parkspace_allocation_request_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 Parkspace_allocation_request_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Parkspace_allocation_request_msg* internal_default_instance() {
- return reinterpret_cast<const Parkspace_allocation_request_msg*>(
- &_Parkspace_allocation_request_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 0;
- void Swap(Parkspace_allocation_request_msg* other);
- friend void swap(Parkspace_allocation_request_msg& a, Parkspace_allocation_request_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Parkspace_allocation_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Parkspace_allocation_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Parkspace_allocation_request_msg& from);
- void MergeFrom(const Parkspace_allocation_request_msg& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Parkspace_allocation_request_msg* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_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;
- 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);
- // required int32 command_id = 2;
- bool has_command_id() const;
- void clear_command_id();
- static const int kCommandIdFieldNumber = 2;
- ::google::protobuf::int32 command_id() const;
- void set_command_id(::google::protobuf::int32 value);
- // required int32 car_length = 3;
- bool has_car_length() const;
- void clear_car_length();
- static const int kCarLengthFieldNumber = 3;
- ::google::protobuf::int32 car_length() const;
- void set_car_length(::google::protobuf::int32 value);
- // required int32 car_width = 4;
- bool has_car_width() const;
- void clear_car_width();
- static const int kCarWidthFieldNumber = 4;
- ::google::protobuf::int32 car_width() const;
- void set_car_width(::google::protobuf::int32 value);
- // required int32 car_height = 5;
- bool has_car_height() const;
- void clear_car_height();
- static const int kCarHeightFieldNumber = 5;
- ::google::protobuf::int32 car_height() const;
- void set_car_height(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_request_msg)
- private:
- void set_has_base_info();
- void clear_has_base_info();
- void set_has_command_id();
- void clear_has_command_id();
- 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();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::message::Base_info* base_info_;
- ::google::protobuf::int32 command_id_;
- ::google::protobuf::int32 car_length_;
- ::google::protobuf::int32 car_width_;
- ::google::protobuf::int32 car_height_;
- friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_request_msgImpl();
- };
- // -------------------------------------------------------------------
- class Parkspace_allocation_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_response_msg) */ {
- public:
- Parkspace_allocation_response_msg();
- virtual ~Parkspace_allocation_response_msg();
- Parkspace_allocation_response_msg(const Parkspace_allocation_response_msg& from);
- inline Parkspace_allocation_response_msg& operator=(const Parkspace_allocation_response_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Parkspace_allocation_response_msg(Parkspace_allocation_response_msg&& from) noexcept
- : Parkspace_allocation_response_msg() {
- *this = ::std::move(from);
- }
- inline Parkspace_allocation_response_msg& operator=(Parkspace_allocation_response_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 Parkspace_allocation_response_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Parkspace_allocation_response_msg* internal_default_instance() {
- return reinterpret_cast<const Parkspace_allocation_response_msg*>(
- &_Parkspace_allocation_response_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 1;
- void Swap(Parkspace_allocation_response_msg* other);
- friend void swap(Parkspace_allocation_response_msg& a, Parkspace_allocation_response_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Parkspace_allocation_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Parkspace_allocation_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Parkspace_allocation_response_msg& from);
- void MergeFrom(const Parkspace_allocation_response_msg& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Parkspace_allocation_response_msg* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_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;
- 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);
- // required .message.Error_manager error_manager = 3;
- bool has_error_manager() const;
- void clear_error_manager();
- static const int kErrorManagerFieldNumber = 3;
- const ::message::Error_manager& error_manager() const;
- ::message::Error_manager* release_error_manager();
- ::message::Error_manager* mutable_error_manager();
- void set_allocated_error_manager(::message::Error_manager* error_manager);
- // required int32 command_id = 2;
- bool has_command_id() const;
- void clear_command_id();
- static const int kCommandIdFieldNumber = 2;
- ::google::protobuf::int32 command_id() const;
- void set_command_id(::google::protobuf::int32 value);
- // required int32 allocated_space_id = 4;
- bool has_allocated_space_id() const;
- void clear_allocated_space_id();
- static const int kAllocatedSpaceIdFieldNumber = 4;
- ::google::protobuf::int32 allocated_space_id() const;
- void set_allocated_space_id(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_response_msg)
- private:
- void set_has_base_info();
- void clear_has_base_info();
- void set_has_command_id();
- void clear_has_command_id();
- void set_has_error_manager();
- void clear_has_error_manager();
- void set_has_allocated_space_id();
- void clear_has_allocated_space_id();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::message::Base_info* base_info_;
- ::message::Error_manager* error_manager_;
- ::google::protobuf::int32 command_id_;
- ::google::protobuf::int32 allocated_space_id_;
- friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_response_msgImpl();
- };
- // -------------------------------------------------------------------
- class Parkspace_allocation_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Parkspace_allocation_status_msg) */ {
- public:
- Parkspace_allocation_status_msg();
- virtual ~Parkspace_allocation_status_msg();
- Parkspace_allocation_status_msg(const Parkspace_allocation_status_msg& from);
- inline Parkspace_allocation_status_msg& operator=(const Parkspace_allocation_status_msg& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Parkspace_allocation_status_msg(Parkspace_allocation_status_msg&& from) noexcept
- : Parkspace_allocation_status_msg() {
- *this = ::std::move(from);
- }
- inline Parkspace_allocation_status_msg& operator=(Parkspace_allocation_status_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 Parkspace_allocation_status_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Parkspace_allocation_status_msg* internal_default_instance() {
- return reinterpret_cast<const Parkspace_allocation_status_msg*>(
- &_Parkspace_allocation_status_msg_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 2;
- void Swap(Parkspace_allocation_status_msg* other);
- friend void swap(Parkspace_allocation_status_msg& a, Parkspace_allocation_status_msg& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Parkspace_allocation_status_msg* New() const PROTOBUF_FINAL { return New(NULL); }
- Parkspace_allocation_status_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Parkspace_allocation_status_msg& from);
- void MergeFrom(const Parkspace_allocation_status_msg& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Parkspace_allocation_status_msg* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated .message.Parkspace_info parkspace_info = 3;
- int parkspace_info_size() const;
- void clear_parkspace_info();
- static const int kParkspaceInfoFieldNumber = 3;
- const ::message::Parkspace_info& parkspace_info(int index) const;
- ::message::Parkspace_info* mutable_parkspace_info(int index);
- ::message::Parkspace_info* add_parkspace_info();
- ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
- mutable_parkspace_info();
- const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
- parkspace_info() const;
- // required .message.Base_info base_info = 1;
- bool has_base_info() const;
- void clear_base_info();
- static const int kBaseInfoFieldNumber = 1;
- 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);
- // required .message.Error_manager error_manager = 2;
- bool has_error_manager() const;
- void clear_error_manager();
- static const int kErrorManagerFieldNumber = 2;
- const ::message::Error_manager& error_manager() const;
- ::message::Error_manager* release_error_manager();
- ::message::Error_manager* mutable_error_manager();
- void set_allocated_error_manager(::message::Error_manager* error_manager);
- // @@protoc_insertion_point(class_scope:message.Parkspace_allocation_status_msg)
- private:
- void set_has_base_info();
- void clear_has_base_info();
- void set_has_error_manager();
- void clear_has_error_manager();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info > parkspace_info_;
- ::message::Base_info* base_info_;
- ::message::Error_manager* error_manager_;
- friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_allocation_status_msgImpl();
- };
- // -------------------------------------------------------------------
- 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 PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 3;
- void Swap(Parkspace_info* other);
- friend void swap(Parkspace_info& a, Parkspace_info& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Parkspace_info* New() const PROTOBUF_FINAL { return New(NULL); }
- Parkspace_info* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Parkspace_info& from);
- void MergeFrom(const Parkspace_info& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_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 PROTOBUF_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);
- // required 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);
- // required int32 x_coordinate = 2;
- bool has_x_coordinate() const;
- void clear_x_coordinate();
- static const int kXCoordinateFieldNumber = 2;
- ::google::protobuf::int32 x_coordinate() const;
- void set_x_coordinate(::google::protobuf::int32 value);
- // required int32 y_coordinate = 3;
- bool has_y_coordinate() const;
- void clear_y_coordinate();
- static const int kYCoordinateFieldNumber = 3;
- ::google::protobuf::int32 y_coordinate() const;
- void set_y_coordinate(::google::protobuf::int32 value);
- // required int32 z_coordinate = 4;
- bool has_z_coordinate() const;
- void clear_z_coordinate();
- static const int kZCoordinateFieldNumber = 4;
- ::google::protobuf::int32 z_coordinate() const;
- void set_z_coordinate(::google::protobuf::int32 value);
- // required int32 length = 5;
- bool has_length() const;
- void clear_length();
- static const int kLengthFieldNumber = 5;
- ::google::protobuf::int32 length() const;
- void set_length(::google::protobuf::int32 value);
- // required int32 width = 6;
- bool has_width() const;
- void clear_width();
- static const int kWidthFieldNumber = 6;
- ::google::protobuf::int32 width() const;
- void set_width(::google::protobuf::int32 value);
- // required int32 height = 7;
- bool has_height() const;
- void clear_height();
- static const int kHeightFieldNumber = 7;
- ::google::protobuf::int32 height() const;
- void set_height(::google::protobuf::int32 value);
- // required .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 int32 license = 9;
- bool has_license() const;
- void clear_license();
- static const int kLicenseFieldNumber = 9;
- ::google::protobuf::int32 license() const;
- void set_license(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:message.Parkspace_info)
- private:
- void set_has_parkspace_id();
- void clear_has_parkspace_id();
- void set_has_x_coordinate();
- void clear_has_x_coordinate();
- void set_has_y_coordinate();
- void clear_has_y_coordinate();
- void set_has_z_coordinate();
- void clear_has_z_coordinate();
- 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_license();
- void clear_has_license();
- void set_has_entry_time();
- void clear_has_entry_time();
- void set_has_leave_time();
- void clear_has_leave_time();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr entry_time_;
- ::google::protobuf::internal::ArenaStringPtr leave_time_;
- ::google::protobuf::int32 parkspace_id_;
- ::google::protobuf::int32 x_coordinate_;
- ::google::protobuf::int32 y_coordinate_;
- ::google::protobuf::int32 z_coordinate_;
- ::google::protobuf::int32 length_;
- ::google::protobuf::int32 width_;
- ::google::protobuf::int32 height_;
- int parkspace_status_;
- ::google::protobuf::int32 license_;
- friend struct ::protobuf_parkspace_5fallocation_5fmessage_2eproto::TableStruct;
- friend void ::protobuf_parkspace_5fallocation_5fmessage_2eproto::InitDefaultsParkspace_infoImpl();
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Parkspace_allocation_request_msg
- // required .message.Base_info base_info = 1;
- inline bool Parkspace_allocation_request_msg::has_base_info() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Parkspace_allocation_request_msg::set_has_base_info() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Parkspace_allocation_request_msg::clear_has_base_info() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::message::Base_info& Parkspace_allocation_request_msg::base_info() const {
- const ::message::Base_info* p = base_info_;
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.base_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline ::message::Base_info* Parkspace_allocation_request_msg::release_base_info() {
- // @@protoc_insertion_point(field_release:message.Parkspace_allocation_request_msg.base_info)
- clear_has_base_info();
- ::message::Base_info* temp = base_info_;
- base_info_ = NULL;
- return temp;
- }
- inline ::message::Base_info* Parkspace_allocation_request_msg::mutable_base_info() {
- set_has_base_info();
- if (base_info_ == NULL) {
- base_info_ = new ::message::Base_info;
- }
- // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_request_msg.base_info)
- return base_info_;
- }
- inline void Parkspace_allocation_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(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.Parkspace_allocation_request_msg.base_info)
- }
- // required int32 command_id = 2;
- inline bool Parkspace_allocation_request_msg::has_command_id() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Parkspace_allocation_request_msg::set_has_command_id() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Parkspace_allocation_request_msg::clear_has_command_id() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Parkspace_allocation_request_msg::clear_command_id() {
- command_id_ = 0;
- clear_has_command_id();
- }
- inline ::google::protobuf::int32 Parkspace_allocation_request_msg::command_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.command_id)
- return command_id_;
- }
- inline void Parkspace_allocation_request_msg::set_command_id(::google::protobuf::int32 value) {
- set_has_command_id();
- command_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.command_id)
- }
- // required int32 car_length = 3;
- inline bool Parkspace_allocation_request_msg::has_car_length() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Parkspace_allocation_request_msg::set_has_car_length() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Parkspace_allocation_request_msg::clear_has_car_length() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Parkspace_allocation_request_msg::clear_car_length() {
- car_length_ = 0;
- clear_has_car_length();
- }
- inline ::google::protobuf::int32 Parkspace_allocation_request_msg::car_length() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_length)
- return car_length_;
- }
- inline void Parkspace_allocation_request_msg::set_car_length(::google::protobuf::int32 value) {
- set_has_car_length();
- car_length_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.car_length)
- }
- // required int32 car_width = 4;
- inline bool Parkspace_allocation_request_msg::has_car_width() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Parkspace_allocation_request_msg::set_has_car_width() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Parkspace_allocation_request_msg::clear_has_car_width() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Parkspace_allocation_request_msg::clear_car_width() {
- car_width_ = 0;
- clear_has_car_width();
- }
- inline ::google::protobuf::int32 Parkspace_allocation_request_msg::car_width() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_width)
- return car_width_;
- }
- inline void Parkspace_allocation_request_msg::set_car_width(::google::protobuf::int32 value) {
- set_has_car_width();
- car_width_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.car_width)
- }
- // required int32 car_height = 5;
- inline bool Parkspace_allocation_request_msg::has_car_height() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Parkspace_allocation_request_msg::set_has_car_height() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Parkspace_allocation_request_msg::clear_has_car_height() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Parkspace_allocation_request_msg::clear_car_height() {
- car_height_ = 0;
- clear_has_car_height();
- }
- inline ::google::protobuf::int32 Parkspace_allocation_request_msg::car_height() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_request_msg.car_height)
- return car_height_;
- }
- inline void Parkspace_allocation_request_msg::set_car_height(::google::protobuf::int32 value) {
- set_has_car_height();
- car_height_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_allocation_request_msg.car_height)
- }
- // -------------------------------------------------------------------
- // Parkspace_allocation_response_msg
- // required .message.Base_info base_info = 1;
- inline bool Parkspace_allocation_response_msg::has_base_info() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Parkspace_allocation_response_msg::set_has_base_info() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Parkspace_allocation_response_msg::clear_has_base_info() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::message::Base_info& Parkspace_allocation_response_msg::base_info() const {
- const ::message::Base_info* p = base_info_;
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.base_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline ::message::Base_info* Parkspace_allocation_response_msg::release_base_info() {
- // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.base_info)
- clear_has_base_info();
- ::message::Base_info* temp = base_info_;
- base_info_ = NULL;
- return temp;
- }
- inline ::message::Base_info* Parkspace_allocation_response_msg::mutable_base_info() {
- set_has_base_info();
- if (base_info_ == NULL) {
- base_info_ = new ::message::Base_info;
- }
- // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.base_info)
- return base_info_;
- }
- inline void Parkspace_allocation_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(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.Parkspace_allocation_response_msg.base_info)
- }
- // required int32 command_id = 2;
- inline bool Parkspace_allocation_response_msg::has_command_id() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Parkspace_allocation_response_msg::set_has_command_id() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Parkspace_allocation_response_msg::clear_has_command_id() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Parkspace_allocation_response_msg::clear_command_id() {
- command_id_ = 0;
- clear_has_command_id();
- }
- inline ::google::protobuf::int32 Parkspace_allocation_response_msg::command_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.command_id)
- return command_id_;
- }
- inline void Parkspace_allocation_response_msg::set_command_id(::google::protobuf::int32 value) {
- set_has_command_id();
- command_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_allocation_response_msg.command_id)
- }
- // required .message.Error_manager error_manager = 3;
- inline bool Parkspace_allocation_response_msg::has_error_manager() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Parkspace_allocation_response_msg::set_has_error_manager() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Parkspace_allocation_response_msg::clear_has_error_manager() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::message::Error_manager& Parkspace_allocation_response_msg::error_manager() const {
- const ::message::Error_manager* p = error_manager_;
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.error_manager)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
- &::message::_Error_manager_default_instance_);
- }
- inline ::message::Error_manager* Parkspace_allocation_response_msg::release_error_manager() {
- // @@protoc_insertion_point(field_release:message.Parkspace_allocation_response_msg.error_manager)
- clear_has_error_manager();
- ::message::Error_manager* temp = error_manager_;
- error_manager_ = NULL;
- return temp;
- }
- inline ::message::Error_manager* Parkspace_allocation_response_msg::mutable_error_manager() {
- set_has_error_manager();
- if (error_manager_ == NULL) {
- error_manager_ = new ::message::Error_manager;
- }
- // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_response_msg.error_manager)
- return error_manager_;
- }
- inline void Parkspace_allocation_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
- }
- if (error_manager) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- error_manager = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, error_manager, submessage_arena);
- }
- set_has_error_manager();
- } else {
- clear_has_error_manager();
- }
- error_manager_ = error_manager;
- // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_response_msg.error_manager)
- }
- // required int32 allocated_space_id = 4;
- inline bool Parkspace_allocation_response_msg::has_allocated_space_id() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Parkspace_allocation_response_msg::set_has_allocated_space_id() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Parkspace_allocation_response_msg::clear_has_allocated_space_id() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Parkspace_allocation_response_msg::clear_allocated_space_id() {
- allocated_space_id_ = 0;
- clear_has_allocated_space_id();
- }
- inline ::google::protobuf::int32 Parkspace_allocation_response_msg::allocated_space_id() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_response_msg.allocated_space_id)
- return allocated_space_id_;
- }
- inline void Parkspace_allocation_response_msg::set_allocated_space_id(::google::protobuf::int32 value) {
- set_has_allocated_space_id();
- allocated_space_id_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_allocation_response_msg.allocated_space_id)
- }
- // -------------------------------------------------------------------
- // Parkspace_allocation_status_msg
- // required .message.Base_info base_info = 1;
- inline bool Parkspace_allocation_status_msg::has_base_info() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Parkspace_allocation_status_msg::set_has_base_info() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Parkspace_allocation_status_msg::clear_has_base_info() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::message::Base_info& Parkspace_allocation_status_msg::base_info() const {
- const ::message::Base_info* p = base_info_;
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.base_info)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline ::message::Base_info* Parkspace_allocation_status_msg::release_base_info() {
- // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.base_info)
- clear_has_base_info();
- ::message::Base_info* temp = base_info_;
- base_info_ = NULL;
- return temp;
- }
- inline ::message::Base_info* Parkspace_allocation_status_msg::mutable_base_info() {
- set_has_base_info();
- if (base_info_ == NULL) {
- base_info_ = new ::message::Base_info;
- }
- // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.base_info)
- return base_info_;
- }
- inline void Parkspace_allocation_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(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.Parkspace_allocation_status_msg.base_info)
- }
- // required .message.Error_manager error_manager = 2;
- inline bool Parkspace_allocation_status_msg::has_error_manager() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Parkspace_allocation_status_msg::set_has_error_manager() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Parkspace_allocation_status_msg::clear_has_error_manager() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::message::Error_manager& Parkspace_allocation_status_msg::error_manager() const {
- const ::message::Error_manager* p = error_manager_;
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.error_manager)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
- &::message::_Error_manager_default_instance_);
- }
- inline ::message::Error_manager* Parkspace_allocation_status_msg::release_error_manager() {
- // @@protoc_insertion_point(field_release:message.Parkspace_allocation_status_msg.error_manager)
- clear_has_error_manager();
- ::message::Error_manager* temp = error_manager_;
- error_manager_ = NULL;
- return temp;
- }
- inline ::message::Error_manager* Parkspace_allocation_status_msg::mutable_error_manager() {
- set_has_error_manager();
- if (error_manager_ == NULL) {
- error_manager_ = new ::message::Error_manager;
- }
- // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.error_manager)
- return error_manager_;
- }
- inline void Parkspace_allocation_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
- }
- if (error_manager) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- error_manager = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, error_manager, submessage_arena);
- }
- set_has_error_manager();
- } else {
- clear_has_error_manager();
- }
- error_manager_ = error_manager;
- // @@protoc_insertion_point(field_set_allocated:message.Parkspace_allocation_status_msg.error_manager)
- }
- // repeated .message.Parkspace_info parkspace_info = 3;
- inline int Parkspace_allocation_status_msg::parkspace_info_size() const {
- return parkspace_info_.size();
- }
- inline void Parkspace_allocation_status_msg::clear_parkspace_info() {
- parkspace_info_.Clear();
- }
- inline const ::message::Parkspace_info& Parkspace_allocation_status_msg::parkspace_info(int index) const {
- // @@protoc_insertion_point(field_get:message.Parkspace_allocation_status_msg.parkspace_info)
- return parkspace_info_.Get(index);
- }
- inline ::message::Parkspace_info* Parkspace_allocation_status_msg::mutable_parkspace_info(int index) {
- // @@protoc_insertion_point(field_mutable:message.Parkspace_allocation_status_msg.parkspace_info)
- return parkspace_info_.Mutable(index);
- }
- inline ::message::Parkspace_info* Parkspace_allocation_status_msg::add_parkspace_info() {
- // @@protoc_insertion_point(field_add:message.Parkspace_allocation_status_msg.parkspace_info)
- return parkspace_info_.Add();
- }
- inline ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >*
- Parkspace_allocation_status_msg::mutable_parkspace_info() {
- // @@protoc_insertion_point(field_mutable_list:message.Parkspace_allocation_status_msg.parkspace_info)
- return &parkspace_info_;
- }
- inline const ::google::protobuf::RepeatedPtrField< ::message::Parkspace_info >&
- Parkspace_allocation_status_msg::parkspace_info() const {
- // @@protoc_insertion_point(field_list:message.Parkspace_allocation_status_msg.parkspace_info)
- return parkspace_info_;
- }
- // -------------------------------------------------------------------
- // Parkspace_info
- // required int32 parkspace_id = 1;
- inline bool Parkspace_info::has_parkspace_id() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Parkspace_info::set_has_parkspace_id() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Parkspace_info::clear_has_parkspace_id() {
- _has_bits_[0] &= ~0x00000004u;
- }
- 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)
- }
- // required int32 x_coordinate = 2;
- inline bool Parkspace_info::has_x_coordinate() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void Parkspace_info::set_has_x_coordinate() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void Parkspace_info::clear_has_x_coordinate() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void Parkspace_info::clear_x_coordinate() {
- x_coordinate_ = 0;
- clear_has_x_coordinate();
- }
- inline ::google::protobuf::int32 Parkspace_info::x_coordinate() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.x_coordinate)
- return x_coordinate_;
- }
- inline void Parkspace_info::set_x_coordinate(::google::protobuf::int32 value) {
- set_has_x_coordinate();
- x_coordinate_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.x_coordinate)
- }
- // required int32 y_coordinate = 3;
- inline bool Parkspace_info::has_y_coordinate() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void Parkspace_info::set_has_y_coordinate() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void Parkspace_info::clear_has_y_coordinate() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void Parkspace_info::clear_y_coordinate() {
- y_coordinate_ = 0;
- clear_has_y_coordinate();
- }
- inline ::google::protobuf::int32 Parkspace_info::y_coordinate() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.y_coordinate)
- return y_coordinate_;
- }
- inline void Parkspace_info::set_y_coordinate(::google::protobuf::int32 value) {
- set_has_y_coordinate();
- y_coordinate_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.y_coordinate)
- }
- // required int32 z_coordinate = 4;
- inline bool Parkspace_info::has_z_coordinate() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void Parkspace_info::set_has_z_coordinate() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void Parkspace_info::clear_has_z_coordinate() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void Parkspace_info::clear_z_coordinate() {
- z_coordinate_ = 0;
- clear_has_z_coordinate();
- }
- inline ::google::protobuf::int32 Parkspace_info::z_coordinate() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.z_coordinate)
- return z_coordinate_;
- }
- inline void Parkspace_info::set_z_coordinate(::google::protobuf::int32 value) {
- set_has_z_coordinate();
- z_coordinate_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.z_coordinate)
- }
- // required int32 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 ::google::protobuf::int32 Parkspace_info::length() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.length)
- return length_;
- }
- inline void Parkspace_info::set_length(::google::protobuf::int32 value) {
- set_has_length();
- length_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.length)
- }
- // required int32 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 ::google::protobuf::int32 Parkspace_info::width() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.width)
- return width_;
- }
- inline void Parkspace_info::set_width(::google::protobuf::int32 value) {
- set_has_width();
- width_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.width)
- }
- // required int32 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 ::google::protobuf::int32 Parkspace_info::height() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.height)
- return height_;
- }
- inline void Parkspace_info::set_height(::google::protobuf::int32 value) {
- set_has_height();
- height_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.height)
- }
- // required .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 int32 license = 9;
- inline bool Parkspace_info::has_license() const {
- return (_has_bits_[0] & 0x00000400u) != 0;
- }
- inline void Parkspace_info::set_has_license() {
- _has_bits_[0] |= 0x00000400u;
- }
- inline void Parkspace_info::clear_has_license() {
- _has_bits_[0] &= ~0x00000400u;
- }
- inline void Parkspace_info::clear_license() {
- license_ = 0;
- clear_has_license();
- }
- inline ::google::protobuf::int32 Parkspace_info::license() const {
- // @@protoc_insertion_point(field_get:message.Parkspace_info.license)
- return license_;
- }
- inline void Parkspace_info::set_license(::google::protobuf::int32 value) {
- set_has_license();
- license_ = value;
- // @@protoc_insertion_point(field_set:message.Parkspace_info.license)
- }
- // 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)
- clear_has_entry_time();
- return entry_time_.ReleaseNoArena(&::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)
- clear_has_leave_time();
- return leave_time_.ReleaseNoArena(&::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::Parkspace_status> : ::google::protobuf::internal::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Parkspace_status>() {
- return ::message::Parkspace_status_descriptor();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_parkspace_5fallocation_5fmessage_2eproto__INCLUDED
|