12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: notify_message.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_notify_5fmessage_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_notify_5fmessage_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3013000
- #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 3013000 < 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/port_undef.inc>
- #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_lite.h>
- #include <google/protobuf/generated_message_reflection.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/unknown_field_set.h>
- #include "message_base.pb.h"
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_notify_5fmessage_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_notify_5fmessage_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_notify_5fmessage_2eproto;
- namespace message {
- class Notify_request_msg;
- class Notify_request_msgDefaultTypeInternal;
- extern Notify_request_msgDefaultTypeInternal _Notify_request_msg_default_instance_;
- class Notify_response_msg;
- class Notify_response_msgDefaultTypeInternal;
- extern Notify_response_msgDefaultTypeInternal _Notify_response_msg_default_instance_;
- class Notify_status_msg;
- class Notify_status_msgDefaultTypeInternal;
- extern Notify_status_msgDefaultTypeInternal _Notify_status_msg_default_instance_;
- } // namespace message
- PROTOBUF_NAMESPACE_OPEN
- template<> ::message::Notify_request_msg* Arena::CreateMaybeMessage<::message::Notify_request_msg>(Arena*);
- template<> ::message::Notify_response_msg* Arena::CreateMaybeMessage<::message::Notify_response_msg>(Arena*);
- template<> ::message::Notify_status_msg* Arena::CreateMaybeMessage<::message::Notify_status_msg>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace message {
- // ===================================================================
- class Notify_request_msg PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Notify_request_msg) */ {
- public:
- inline Notify_request_msg() : Notify_request_msg(nullptr) {}
- virtual ~Notify_request_msg();
- Notify_request_msg(const Notify_request_msg& from);
- Notify_request_msg(Notify_request_msg&& from) noexcept
- : Notify_request_msg() {
- *this = ::std::move(from);
- }
- inline Notify_request_msg& operator=(const Notify_request_msg& from) {
- CopyFrom(from);
- return *this;
- }
- inline Notify_request_msg& operator=(Notify_request_msg&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const Notify_request_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Notify_request_msg* internal_default_instance() {
- return reinterpret_cast<const Notify_request_msg*>(
- &_Notify_request_msg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(Notify_request_msg& a, Notify_request_msg& b) {
- a.Swap(&b);
- }
- inline void Swap(Notify_request_msg* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Notify_request_msg* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline Notify_request_msg* New() const final {
- return CreateMaybeMessage<Notify_request_msg>(nullptr);
- }
- Notify_request_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<Notify_request_msg>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const Notify_request_msg& from);
- void MergeFrom(const Notify_request_msg& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Notify_request_msg* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "message.Notify_request_msg";
- }
- protected:
- explicit Notify_request_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_notify_5fmessage_2eproto);
- return ::descriptor_table_notify_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kCommandKeyFieldNumber = 2,
- kBaseInfoFieldNumber = 1,
- kCarInfoFieldNumber = 4,
- kTerminalIdFieldNumber = 3,
- };
- // required string command_key = 2;
- bool has_command_key() const;
- private:
- bool _internal_has_command_key() const;
- public:
- void clear_command_key();
- const std::string& command_key() const;
- void set_command_key(const std::string& value);
- void set_command_key(std::string&& value);
- void set_command_key(const char* value);
- void set_command_key(const char* value, size_t size);
- std::string* mutable_command_key();
- std::string* release_command_key();
- void set_allocated_command_key(std::string* command_key);
- private:
- const std::string& _internal_command_key() const;
- void _internal_set_command_key(const std::string& value);
- std::string* _internal_mutable_command_key();
- public:
- // required .message.Base_info base_info = 1;
- bool has_base_info() const;
- private:
- bool _internal_has_base_info() const;
- public:
- void clear_base_info();
- 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);
- private:
- const ::message::Base_info& _internal_base_info() const;
- ::message::Base_info* _internal_mutable_base_info();
- public:
- void unsafe_arena_set_allocated_base_info(
- ::message::Base_info* base_info);
- ::message::Base_info* unsafe_arena_release_base_info();
- // required .message.Car_info car_info = 4;
- bool has_car_info() const;
- private:
- bool _internal_has_car_info() const;
- public:
- void clear_car_info();
- 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);
- private:
- const ::message::Car_info& _internal_car_info() const;
- ::message::Car_info* _internal_mutable_car_info();
- public:
- void unsafe_arena_set_allocated_car_info(
- ::message::Car_info* car_info);
- ::message::Car_info* unsafe_arena_release_car_info();
- // required int32 terminal_id = 3;
- bool has_terminal_id() const;
- private:
- bool _internal_has_terminal_id() const;
- public:
- void clear_terminal_id();
- ::PROTOBUF_NAMESPACE_ID::int32 terminal_id() const;
- void set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_terminal_id() const;
- void _internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:message.Notify_request_msg)
- private:
- class _Internal;
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
- ::message::Base_info* base_info_;
- ::message::Car_info* car_info_;
- ::PROTOBUF_NAMESPACE_ID::int32 terminal_id_;
- friend struct ::TableStruct_notify_5fmessage_2eproto;
- };
- // -------------------------------------------------------------------
- class Notify_response_msg PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Notify_response_msg) */ {
- public:
- inline Notify_response_msg() : Notify_response_msg(nullptr) {}
- virtual ~Notify_response_msg();
- Notify_response_msg(const Notify_response_msg& from);
- Notify_response_msg(Notify_response_msg&& from) noexcept
- : Notify_response_msg() {
- *this = ::std::move(from);
- }
- inline Notify_response_msg& operator=(const Notify_response_msg& from) {
- CopyFrom(from);
- return *this;
- }
- inline Notify_response_msg& operator=(Notify_response_msg&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const Notify_response_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Notify_response_msg* internal_default_instance() {
- return reinterpret_cast<const Notify_response_msg*>(
- &_Notify_response_msg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(Notify_response_msg& a, Notify_response_msg& b) {
- a.Swap(&b);
- }
- inline void Swap(Notify_response_msg* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Notify_response_msg* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline Notify_response_msg* New() const final {
- return CreateMaybeMessage<Notify_response_msg>(nullptr);
- }
- Notify_response_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<Notify_response_msg>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const Notify_response_msg& from);
- void MergeFrom(const Notify_response_msg& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Notify_response_msg* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "message.Notify_response_msg";
- }
- protected:
- explicit Notify_response_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_notify_5fmessage_2eproto);
- return ::descriptor_table_notify_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kCommandKeyFieldNumber = 2,
- kBaseInfoFieldNumber = 1,
- kCodeFieldNumber = 4,
- kTerminalIdFieldNumber = 3,
- };
- // required string command_key = 2;
- bool has_command_key() const;
- private:
- bool _internal_has_command_key() const;
- public:
- void clear_command_key();
- const std::string& command_key() const;
- void set_command_key(const std::string& value);
- void set_command_key(std::string&& value);
- void set_command_key(const char* value);
- void set_command_key(const char* value, size_t size);
- std::string* mutable_command_key();
- std::string* release_command_key();
- void set_allocated_command_key(std::string* command_key);
- private:
- const std::string& _internal_command_key() const;
- void _internal_set_command_key(const std::string& value);
- std::string* _internal_mutable_command_key();
- public:
- // required .message.Base_info base_info = 1;
- bool has_base_info() const;
- private:
- bool _internal_has_base_info() const;
- public:
- void clear_base_info();
- 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);
- private:
- const ::message::Base_info& _internal_base_info() const;
- ::message::Base_info* _internal_mutable_base_info();
- public:
- void unsafe_arena_set_allocated_base_info(
- ::message::Base_info* base_info);
- ::message::Base_info* unsafe_arena_release_base_info();
- // required .message.Error_manager code = 4;
- bool has_code() const;
- private:
- bool _internal_has_code() const;
- public:
- void clear_code();
- const ::message::Error_manager& code() const;
- ::message::Error_manager* release_code();
- ::message::Error_manager* mutable_code();
- void set_allocated_code(::message::Error_manager* code);
- private:
- const ::message::Error_manager& _internal_code() const;
- ::message::Error_manager* _internal_mutable_code();
- public:
- void unsafe_arena_set_allocated_code(
- ::message::Error_manager* code);
- ::message::Error_manager* unsafe_arena_release_code();
- // required int32 terminal_id = 3;
- bool has_terminal_id() const;
- private:
- bool _internal_has_terminal_id() const;
- public:
- void clear_terminal_id();
- ::PROTOBUF_NAMESPACE_ID::int32 terminal_id() const;
- void set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_terminal_id() const;
- void _internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:message.Notify_response_msg)
- private:
- class _Internal;
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_key_;
- ::message::Base_info* base_info_;
- ::message::Error_manager* code_;
- ::PROTOBUF_NAMESPACE_ID::int32 terminal_id_;
- friend struct ::TableStruct_notify_5fmessage_2eproto;
- };
- // -------------------------------------------------------------------
- class Notify_status_msg PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:message.Notify_status_msg) */ {
- public:
- inline Notify_status_msg() : Notify_status_msg(nullptr) {}
- virtual ~Notify_status_msg();
- Notify_status_msg(const Notify_status_msg& from);
- Notify_status_msg(Notify_status_msg&& from) noexcept
- : Notify_status_msg() {
- *this = ::std::move(from);
- }
- inline Notify_status_msg& operator=(const Notify_status_msg& from) {
- CopyFrom(from);
- return *this;
- }
- inline Notify_status_msg& operator=(Notify_status_msg&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const Notify_status_msg& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Notify_status_msg* internal_default_instance() {
- return reinterpret_cast<const Notify_status_msg*>(
- &_Notify_status_msg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(Notify_status_msg& a, Notify_status_msg& b) {
- a.Swap(&b);
- }
- inline void Swap(Notify_status_msg* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Notify_status_msg* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline Notify_status_msg* New() const final {
- return CreateMaybeMessage<Notify_status_msg>(nullptr);
- }
- Notify_status_msg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<Notify_status_msg>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const Notify_status_msg& from);
- void MergeFrom(const Notify_status_msg& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Notify_status_msg* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "message.Notify_status_msg";
- }
- protected:
- explicit Notify_status_msg(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_notify_5fmessage_2eproto);
- return ::descriptor_table_notify_5fmessage_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kBaseInfoFieldNumber = 1,
- kErrorManagerFieldNumber = 3,
- kTerminalIdFieldNumber = 2,
- };
- // required .message.Base_info base_info = 1;
- bool has_base_info() const;
- private:
- bool _internal_has_base_info() const;
- public:
- void clear_base_info();
- 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);
- private:
- const ::message::Base_info& _internal_base_info() const;
- ::message::Base_info* _internal_mutable_base_info();
- public:
- void unsafe_arena_set_allocated_base_info(
- ::message::Base_info* base_info);
- ::message::Base_info* unsafe_arena_release_base_info();
- // required .message.Error_manager error_manager = 3;
- bool has_error_manager() const;
- private:
- bool _internal_has_error_manager() const;
- public:
- void clear_error_manager();
- 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);
- private:
- const ::message::Error_manager& _internal_error_manager() const;
- ::message::Error_manager* _internal_mutable_error_manager();
- public:
- void unsafe_arena_set_allocated_error_manager(
- ::message::Error_manager* error_manager);
- ::message::Error_manager* unsafe_arena_release_error_manager();
- // required int32 terminal_id = 2;
- bool has_terminal_id() const;
- private:
- bool _internal_has_terminal_id() const;
- public:
- void clear_terminal_id();
- ::PROTOBUF_NAMESPACE_ID::int32 terminal_id() const;
- void set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_terminal_id() const;
- void _internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:message.Notify_status_msg)
- private:
- class _Internal;
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::message::Base_info* base_info_;
- ::message::Error_manager* error_manager_;
- ::PROTOBUF_NAMESPACE_ID::int32 terminal_id_;
- friend struct ::TableStruct_notify_5fmessage_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Notify_request_msg
- // required .message.Base_info base_info = 1;
- inline bool Notify_request_msg::_internal_has_base_info() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || base_info_ != nullptr);
- return value;
- }
- inline bool Notify_request_msg::has_base_info() const {
- return _internal_has_base_info();
- }
- inline const ::message::Base_info& Notify_request_msg::_internal_base_info() const {
- const ::message::Base_info* p = base_info_;
- return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline const ::message::Base_info& Notify_request_msg::base_info() const {
- // @@protoc_insertion_point(field_get:message.Notify_request_msg.base_info)
- return _internal_base_info();
- }
- inline void Notify_request_msg::unsafe_arena_set_allocated_base_info(
- ::message::Base_info* base_info) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
- }
- base_info_ = base_info;
- if (base_info) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_request_msg.base_info)
- }
- inline ::message::Base_info* Notify_request_msg::release_base_info() {
- _has_bits_[0] &= ~0x00000002u;
- ::message::Base_info* temp = base_info_;
- base_info_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::message::Base_info* Notify_request_msg::unsafe_arena_release_base_info() {
- // @@protoc_insertion_point(field_release:message.Notify_request_msg.base_info)
- _has_bits_[0] &= ~0x00000002u;
- ::message::Base_info* temp = base_info_;
- base_info_ = nullptr;
- return temp;
- }
- inline ::message::Base_info* Notify_request_msg::_internal_mutable_base_info() {
- _has_bits_[0] |= 0x00000002u;
- if (base_info_ == nullptr) {
- auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
- base_info_ = p;
- }
- return base_info_;
- }
- inline ::message::Base_info* Notify_request_msg::mutable_base_info() {
- // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.base_info)
- return _internal_mutable_base_info();
- }
- inline void Notify_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
- }
- if (base_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
- if (message_arena != submessage_arena) {
- base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, base_info, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- base_info_ = base_info;
- // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.base_info)
- }
- // required string command_key = 2;
- inline bool Notify_request_msg::_internal_has_command_key() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool Notify_request_msg::has_command_key() const {
- return _internal_has_command_key();
- }
- inline void Notify_request_msg::clear_command_key() {
- command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& Notify_request_msg::command_key() const {
- // @@protoc_insertion_point(field_get:message.Notify_request_msg.command_key)
- return _internal_command_key();
- }
- inline void Notify_request_msg::set_command_key(const std::string& value) {
- _internal_set_command_key(value);
- // @@protoc_insertion_point(field_set:message.Notify_request_msg.command_key)
- }
- inline std::string* Notify_request_msg::mutable_command_key() {
- // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.command_key)
- return _internal_mutable_command_key();
- }
- inline const std::string& Notify_request_msg::_internal_command_key() const {
- return command_key_.Get();
- }
- inline void Notify_request_msg::_internal_set_command_key(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
- }
- inline void Notify_request_msg::set_command_key(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- command_key_.Set(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:message.Notify_request_msg.command_key)
- }
- inline void Notify_request_msg::set_command_key(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
- GetArena());
- // @@protoc_insertion_point(field_set_char:message.Notify_request_msg.command_key)
- }
- inline void Notify_request_msg::set_command_key(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:message.Notify_request_msg.command_key)
- }
- inline std::string* Notify_request_msg::_internal_mutable_command_key() {
- _has_bits_[0] |= 0x00000001u;
- return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline std::string* Notify_request_msg::release_command_key() {
- // @@protoc_insertion_point(field_release:message.Notify_request_msg.command_key)
- if (!_internal_has_command_key()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline void Notify_request_msg::set_allocated_command_key(std::string* command_key) {
- if (command_key != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
- GetArena());
- // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.command_key)
- }
- // required int32 terminal_id = 3;
- inline bool Notify_request_msg::_internal_has_terminal_id() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool Notify_request_msg::has_terminal_id() const {
- return _internal_has_terminal_id();
- }
- inline void Notify_request_msg::clear_terminal_id() {
- terminal_id_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 Notify_request_msg::_internal_terminal_id() const {
- return terminal_id_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 Notify_request_msg::terminal_id() const {
- // @@protoc_insertion_point(field_get:message.Notify_request_msg.terminal_id)
- return _internal_terminal_id();
- }
- inline void Notify_request_msg::_internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000008u;
- terminal_id_ = value;
- }
- inline void Notify_request_msg::set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_terminal_id(value);
- // @@protoc_insertion_point(field_set:message.Notify_request_msg.terminal_id)
- }
- // required .message.Car_info car_info = 4;
- inline bool Notify_request_msg::_internal_has_car_info() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || car_info_ != nullptr);
- return value;
- }
- inline bool Notify_request_msg::has_car_info() const {
- return _internal_has_car_info();
- }
- inline const ::message::Car_info& Notify_request_msg::_internal_car_info() const {
- const ::message::Car_info* p = car_info_;
- return p != nullptr ? *p : *reinterpret_cast<const ::message::Car_info*>(
- &::message::_Car_info_default_instance_);
- }
- inline const ::message::Car_info& Notify_request_msg::car_info() const {
- // @@protoc_insertion_point(field_get:message.Notify_request_msg.car_info)
- return _internal_car_info();
- }
- inline void Notify_request_msg::unsafe_arena_set_allocated_car_info(
- ::message::Car_info* car_info) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(car_info_);
- }
- car_info_ = car_info;
- if (car_info) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_request_msg.car_info)
- }
- inline ::message::Car_info* Notify_request_msg::release_car_info() {
- _has_bits_[0] &= ~0x00000004u;
- ::message::Car_info* temp = car_info_;
- car_info_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::message::Car_info* Notify_request_msg::unsafe_arena_release_car_info() {
- // @@protoc_insertion_point(field_release:message.Notify_request_msg.car_info)
- _has_bits_[0] &= ~0x00000004u;
- ::message::Car_info* temp = car_info_;
- car_info_ = nullptr;
- return temp;
- }
- inline ::message::Car_info* Notify_request_msg::_internal_mutable_car_info() {
- _has_bits_[0] |= 0x00000004u;
- if (car_info_ == nullptr) {
- auto* p = CreateMaybeMessage<::message::Car_info>(GetArena());
- car_info_ = p;
- }
- return car_info_;
- }
- inline ::message::Car_info* Notify_request_msg::mutable_car_info() {
- // @@protoc_insertion_point(field_mutable:message.Notify_request_msg.car_info)
- return _internal_mutable_car_info();
- }
- inline void Notify_request_msg::set_allocated_car_info(::message::Car_info* car_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(car_info_);
- }
- if (car_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(car_info)->GetArena();
- if (message_arena != submessage_arena) {
- car_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, car_info, submessage_arena);
- }
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- car_info_ = car_info;
- // @@protoc_insertion_point(field_set_allocated:message.Notify_request_msg.car_info)
- }
- // -------------------------------------------------------------------
- // Notify_response_msg
- // required .message.Base_info base_info = 1;
- inline bool Notify_response_msg::_internal_has_base_info() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || base_info_ != nullptr);
- return value;
- }
- inline bool Notify_response_msg::has_base_info() const {
- return _internal_has_base_info();
- }
- inline const ::message::Base_info& Notify_response_msg::_internal_base_info() const {
- const ::message::Base_info* p = base_info_;
- return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline const ::message::Base_info& Notify_response_msg::base_info() const {
- // @@protoc_insertion_point(field_get:message.Notify_response_msg.base_info)
- return _internal_base_info();
- }
- inline void Notify_response_msg::unsafe_arena_set_allocated_base_info(
- ::message::Base_info* base_info) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
- }
- base_info_ = base_info;
- if (base_info) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_response_msg.base_info)
- }
- inline ::message::Base_info* Notify_response_msg::release_base_info() {
- _has_bits_[0] &= ~0x00000002u;
- ::message::Base_info* temp = base_info_;
- base_info_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::message::Base_info* Notify_response_msg::unsafe_arena_release_base_info() {
- // @@protoc_insertion_point(field_release:message.Notify_response_msg.base_info)
- _has_bits_[0] &= ~0x00000002u;
- ::message::Base_info* temp = base_info_;
- base_info_ = nullptr;
- return temp;
- }
- inline ::message::Base_info* Notify_response_msg::_internal_mutable_base_info() {
- _has_bits_[0] |= 0x00000002u;
- if (base_info_ == nullptr) {
- auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
- base_info_ = p;
- }
- return base_info_;
- }
- inline ::message::Base_info* Notify_response_msg::mutable_base_info() {
- // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.base_info)
- return _internal_mutable_base_info();
- }
- inline void Notify_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
- }
- if (base_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
- if (message_arena != submessage_arena) {
- base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, base_info, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- base_info_ = base_info;
- // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.base_info)
- }
- // required string command_key = 2;
- inline bool Notify_response_msg::_internal_has_command_key() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool Notify_response_msg::has_command_key() const {
- return _internal_has_command_key();
- }
- inline void Notify_response_msg::clear_command_key() {
- command_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& Notify_response_msg::command_key() const {
- // @@protoc_insertion_point(field_get:message.Notify_response_msg.command_key)
- return _internal_command_key();
- }
- inline void Notify_response_msg::set_command_key(const std::string& value) {
- _internal_set_command_key(value);
- // @@protoc_insertion_point(field_set:message.Notify_response_msg.command_key)
- }
- inline std::string* Notify_response_msg::mutable_command_key() {
- // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.command_key)
- return _internal_mutable_command_key();
- }
- inline const std::string& Notify_response_msg::_internal_command_key() const {
- return command_key_.Get();
- }
- inline void Notify_response_msg::_internal_set_command_key(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
- }
- inline void Notify_response_msg::set_command_key(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- command_key_.Set(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:message.Notify_response_msg.command_key)
- }
- inline void Notify_response_msg::set_command_key(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
- GetArena());
- // @@protoc_insertion_point(field_set_char:message.Notify_response_msg.command_key)
- }
- inline void Notify_response_msg::set_command_key(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- command_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:message.Notify_response_msg.command_key)
- }
- inline std::string* Notify_response_msg::_internal_mutable_command_key() {
- _has_bits_[0] |= 0x00000001u;
- return command_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline std::string* Notify_response_msg::release_command_key() {
- // @@protoc_insertion_point(field_release:message.Notify_response_msg.command_key)
- if (!_internal_has_command_key()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- return command_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline void Notify_response_msg::set_allocated_command_key(std::string* command_key) {
- if (command_key != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- command_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command_key,
- GetArena());
- // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.command_key)
- }
- // required int32 terminal_id = 3;
- inline bool Notify_response_msg::_internal_has_terminal_id() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool Notify_response_msg::has_terminal_id() const {
- return _internal_has_terminal_id();
- }
- inline void Notify_response_msg::clear_terminal_id() {
- terminal_id_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 Notify_response_msg::_internal_terminal_id() const {
- return terminal_id_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 Notify_response_msg::terminal_id() const {
- // @@protoc_insertion_point(field_get:message.Notify_response_msg.terminal_id)
- return _internal_terminal_id();
- }
- inline void Notify_response_msg::_internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000008u;
- terminal_id_ = value;
- }
- inline void Notify_response_msg::set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_terminal_id(value);
- // @@protoc_insertion_point(field_set:message.Notify_response_msg.terminal_id)
- }
- // required .message.Error_manager code = 4;
- inline bool Notify_response_msg::_internal_has_code() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || code_ != nullptr);
- return value;
- }
- inline bool Notify_response_msg::has_code() const {
- return _internal_has_code();
- }
- inline const ::message::Error_manager& Notify_response_msg::_internal_code() const {
- const ::message::Error_manager* p = code_;
- return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
- &::message::_Error_manager_default_instance_);
- }
- inline const ::message::Error_manager& Notify_response_msg::code() const {
- // @@protoc_insertion_point(field_get:message.Notify_response_msg.code)
- return _internal_code();
- }
- inline void Notify_response_msg::unsafe_arena_set_allocated_code(
- ::message::Error_manager* code) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(code_);
- }
- code_ = code;
- if (code) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_response_msg.code)
- }
- inline ::message::Error_manager* Notify_response_msg::release_code() {
- _has_bits_[0] &= ~0x00000004u;
- ::message::Error_manager* temp = code_;
- code_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::message::Error_manager* Notify_response_msg::unsafe_arena_release_code() {
- // @@protoc_insertion_point(field_release:message.Notify_response_msg.code)
- _has_bits_[0] &= ~0x00000004u;
- ::message::Error_manager* temp = code_;
- code_ = nullptr;
- return temp;
- }
- inline ::message::Error_manager* Notify_response_msg::_internal_mutable_code() {
- _has_bits_[0] |= 0x00000004u;
- if (code_ == nullptr) {
- auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
- code_ = p;
- }
- return code_;
- }
- inline ::message::Error_manager* Notify_response_msg::mutable_code() {
- // @@protoc_insertion_point(field_mutable:message.Notify_response_msg.code)
- return _internal_mutable_code();
- }
- inline void Notify_response_msg::set_allocated_code(::message::Error_manager* code) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(code_);
- }
- if (code) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(code)->GetArena();
- if (message_arena != submessage_arena) {
- code = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, code, submessage_arena);
- }
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- code_ = code;
- // @@protoc_insertion_point(field_set_allocated:message.Notify_response_msg.code)
- }
- // -------------------------------------------------------------------
- // Notify_status_msg
- // required .message.Base_info base_info = 1;
- inline bool Notify_status_msg::_internal_has_base_info() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || base_info_ != nullptr);
- return value;
- }
- inline bool Notify_status_msg::has_base_info() const {
- return _internal_has_base_info();
- }
- inline const ::message::Base_info& Notify_status_msg::_internal_base_info() const {
- const ::message::Base_info* p = base_info_;
- return p != nullptr ? *p : *reinterpret_cast<const ::message::Base_info*>(
- &::message::_Base_info_default_instance_);
- }
- inline const ::message::Base_info& Notify_status_msg::base_info() const {
- // @@protoc_insertion_point(field_get:message.Notify_status_msg.base_info)
- return _internal_base_info();
- }
- inline void Notify_status_msg::unsafe_arena_set_allocated_base_info(
- ::message::Base_info* base_info) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
- }
- base_info_ = base_info;
- if (base_info) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_status_msg.base_info)
- }
- inline ::message::Base_info* Notify_status_msg::release_base_info() {
- _has_bits_[0] &= ~0x00000001u;
- ::message::Base_info* temp = base_info_;
- base_info_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::message::Base_info* Notify_status_msg::unsafe_arena_release_base_info() {
- // @@protoc_insertion_point(field_release:message.Notify_status_msg.base_info)
- _has_bits_[0] &= ~0x00000001u;
- ::message::Base_info* temp = base_info_;
- base_info_ = nullptr;
- return temp;
- }
- inline ::message::Base_info* Notify_status_msg::_internal_mutable_base_info() {
- _has_bits_[0] |= 0x00000001u;
- if (base_info_ == nullptr) {
- auto* p = CreateMaybeMessage<::message::Base_info>(GetArena());
- base_info_ = p;
- }
- return base_info_;
- }
- inline ::message::Base_info* Notify_status_msg::mutable_base_info() {
- // @@protoc_insertion_point(field_mutable:message.Notify_status_msg.base_info)
- return _internal_mutable_base_info();
- }
- inline void Notify_status_msg::set_allocated_base_info(::message::Base_info* base_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info_);
- }
- if (base_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_info)->GetArena();
- if (message_arena != submessage_arena) {
- base_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, base_info, submessage_arena);
- }
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- base_info_ = base_info;
- // @@protoc_insertion_point(field_set_allocated:message.Notify_status_msg.base_info)
- }
- // required int32 terminal_id = 2;
- inline bool Notify_status_msg::_internal_has_terminal_id() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool Notify_status_msg::has_terminal_id() const {
- return _internal_has_terminal_id();
- }
- inline void Notify_status_msg::clear_terminal_id() {
- terminal_id_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 Notify_status_msg::_internal_terminal_id() const {
- return terminal_id_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 Notify_status_msg::terminal_id() const {
- // @@protoc_insertion_point(field_get:message.Notify_status_msg.terminal_id)
- return _internal_terminal_id();
- }
- inline void Notify_status_msg::_internal_set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000004u;
- terminal_id_ = value;
- }
- inline void Notify_status_msg::set_terminal_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_terminal_id(value);
- // @@protoc_insertion_point(field_set:message.Notify_status_msg.terminal_id)
- }
- // required .message.Error_manager error_manager = 3;
- inline bool Notify_status_msg::_internal_has_error_manager() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || error_manager_ != nullptr);
- return value;
- }
- inline bool Notify_status_msg::has_error_manager() const {
- return _internal_has_error_manager();
- }
- inline const ::message::Error_manager& Notify_status_msg::_internal_error_manager() const {
- const ::message::Error_manager* p = error_manager_;
- return p != nullptr ? *p : *reinterpret_cast<const ::message::Error_manager*>(
- &::message::_Error_manager_default_instance_);
- }
- inline const ::message::Error_manager& Notify_status_msg::error_manager() const {
- // @@protoc_insertion_point(field_get:message.Notify_status_msg.error_manager)
- return _internal_error_manager();
- }
- inline void Notify_status_msg::unsafe_arena_set_allocated_error_manager(
- ::message::Error_manager* error_manager) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
- }
- error_manager_ = error_manager;
- if (error_manager) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:message.Notify_status_msg.error_manager)
- }
- inline ::message::Error_manager* Notify_status_msg::release_error_manager() {
- _has_bits_[0] &= ~0x00000002u;
- ::message::Error_manager* temp = error_manager_;
- error_manager_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::message::Error_manager* Notify_status_msg::unsafe_arena_release_error_manager() {
- // @@protoc_insertion_point(field_release:message.Notify_status_msg.error_manager)
- _has_bits_[0] &= ~0x00000002u;
- ::message::Error_manager* temp = error_manager_;
- error_manager_ = nullptr;
- return temp;
- }
- inline ::message::Error_manager* Notify_status_msg::_internal_mutable_error_manager() {
- _has_bits_[0] |= 0x00000002u;
- if (error_manager_ == nullptr) {
- auto* p = CreateMaybeMessage<::message::Error_manager>(GetArena());
- error_manager_ = p;
- }
- return error_manager_;
- }
- inline ::message::Error_manager* Notify_status_msg::mutable_error_manager() {
- // @@protoc_insertion_point(field_mutable:message.Notify_status_msg.error_manager)
- return _internal_mutable_error_manager();
- }
- inline void Notify_status_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager_);
- }
- if (error_manager) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(error_manager)->GetArena();
- if (message_arena != submessage_arena) {
- error_manager = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, error_manager, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- error_manager_ = error_manager;
- // @@protoc_insertion_point(field_set_allocated:message.Notify_status_msg.error_manager)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace message
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_notify_5fmessage_2eproto
|