123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: log_process.proto
- #ifndef PROTOBUF_INCLUDED_log_5fprocess_2eproto
- #define PROTOBUF_INCLUDED_log_5fprocess_2eproto
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3006000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/inlined_string_field.h>
- #include <google/protobuf/metadata.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- #include <google/protobuf/unknown_field_set.h>
- #include "message_base.pb.h"
- #include "parkspace_allocation_message.pb.h"
- #include "measure_message.pb.h"
- #include "dispatch_message.pb.h"
- #include "central_control_message.pb.h"
- // @@protoc_insertion_point(includes)
- #define PROTOBUF_INTERNAL_EXPORT_protobuf_log_5fprocess_2eproto
- namespace protobuf_log_5fprocess_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();
- } // namespace protobuf_log_5fprocess_2eproto
- namespace message {
- class Log_data;
- class Log_dataDefaultTypeInternal;
- extern Log_dataDefaultTypeInternal _Log_data_default_instance_;
- class Manual_operation_log;
- class Manual_operation_logDefaultTypeInternal;
- extern Manual_operation_logDefaultTypeInternal _Manual_operation_log_default_instance_;
- class Node_log;
- class Node_logDefaultTypeInternal;
- extern Node_logDefaultTypeInternal _Node_log_default_instance_;
- class Process_log;
- class Process_logDefaultTypeInternal;
- extern Process_logDefaultTypeInternal _Process_log_default_instance_;
- } // namespace message
- namespace google {
- namespace protobuf {
- template<> ::message::Log_data* Arena::CreateMaybeMessage<::message::Log_data>(Arena*);
- template<> ::message::Manual_operation_log* Arena::CreateMaybeMessage<::message::Manual_operation_log>(Arena*);
- template<> ::message::Node_log* Arena::CreateMaybeMessage<::message::Node_log>(Arena*);
- template<> ::message::Process_log* Arena::CreateMaybeMessage<::message::Process_log>(Arena*);
- } // namespace protobuf
- } // namespace google
- namespace message {
- enum Log_data_Severity {
- Log_data_Severity_INFO = 0,
- Log_data_Severity_WARNING = 1,
- Log_data_Severity_ERROR = 2
- };
- bool Log_data_Severity_IsValid(int value);
- const Log_data_Severity Log_data_Severity_Severity_MIN = Log_data_Severity_INFO;
- const Log_data_Severity Log_data_Severity_Severity_MAX = Log_data_Severity_ERROR;
- const int Log_data_Severity_Severity_ARRAYSIZE = Log_data_Severity_Severity_MAX + 1;
- const ::google::protobuf::EnumDescriptor* Log_data_Severity_descriptor();
- inline const ::std::string& Log_data_Severity_Name(Log_data_Severity value) {
- return ::google::protobuf::internal::NameOfEnum(
- Log_data_Severity_descriptor(), value);
- }
- inline bool Log_data_Severity_Parse(
- const ::std::string& name, Log_data_Severity* value) {
- return ::google::protobuf::internal::ParseNamedEnum<Log_data_Severity>(
- Log_data_Severity_descriptor(), name, value);
- }
- // ===================================================================
- class Node_log : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Node_log) */ {
- public:
- Node_log();
- virtual ~Node_log();
- Node_log(const Node_log& from);
- inline Node_log& operator=(const Node_log& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Node_log(Node_log&& from) noexcept
- : Node_log() {
- *this = ::std::move(from);
- }
- inline Node_log& operator=(Node_log&& 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 Node_log& default_instance();
- enum RequestCase {
- kAllocRequest = 1,
- kSearchRequest = 3,
- kReleaseRequest = 5,
- kConfirmRequest = 7,
- kMeasureRequest = 9,
- kDispatchRequest = 11,
- REQUEST_NOT_SET = 0,
- };
- enum ResponseCase {
- kAllocResponse = 2,
- kSearchResponse = 4,
- kReleaseResponse = 6,
- kConfirmResponse = 8,
- kMeasureResponse = 10,
- kDispatchResponse = 12,
- RESPONSE_NOT_SET = 0,
- };
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Node_log* internal_default_instance() {
- return reinterpret_cast<const Node_log*>(
- &_Node_log_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- void Swap(Node_log* other);
- friend void swap(Node_log& a, Node_log& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Node_log* New() const final {
- return CreateMaybeMessage<Node_log>(NULL);
- }
- Node_log* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Node_log>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Node_log& from);
- void MergeFrom(const Node_log& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Node_log* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional string description = 13;
- bool has_description() const;
- void clear_description();
- static const int kDescriptionFieldNumber = 13;
- const ::std::string& description() const;
- void set_description(const ::std::string& value);
- #if LANG_CXX11
- void set_description(::std::string&& value);
- #endif
- void set_description(const char* value);
- void set_description(const char* value, size_t size);
- ::std::string* mutable_description();
- ::std::string* release_description();
- void set_allocated_description(::std::string* description);
- // optional .message.Parkspace_allocation_request_msg alloc_request = 1;
- bool has_alloc_request() const;
- void clear_alloc_request();
- static const int kAllocRequestFieldNumber = 1;
- private:
- const ::message::Parkspace_allocation_request_msg& _internal_alloc_request() const;
- public:
- const ::message::Parkspace_allocation_request_msg& alloc_request() const;
- ::message::Parkspace_allocation_request_msg* release_alloc_request();
- ::message::Parkspace_allocation_request_msg* mutable_alloc_request();
- void set_allocated_alloc_request(::message::Parkspace_allocation_request_msg* alloc_request);
- // optional .message.Parkspace_search_request_msg search_request = 3;
- bool has_search_request() const;
- void clear_search_request();
- static const int kSearchRequestFieldNumber = 3;
- private:
- const ::message::Parkspace_search_request_msg& _internal_search_request() const;
- public:
- const ::message::Parkspace_search_request_msg& search_request() const;
- ::message::Parkspace_search_request_msg* release_search_request();
- ::message::Parkspace_search_request_msg* mutable_search_request();
- void set_allocated_search_request(::message::Parkspace_search_request_msg* search_request);
- // optional .message.Parkspace_release_request_msg release_request = 5;
- bool has_release_request() const;
- void clear_release_request();
- static const int kReleaseRequestFieldNumber = 5;
- private:
- const ::message::Parkspace_release_request_msg& _internal_release_request() const;
- public:
- const ::message::Parkspace_release_request_msg& release_request() const;
- ::message::Parkspace_release_request_msg* release_release_request();
- ::message::Parkspace_release_request_msg* mutable_release_request();
- void set_allocated_release_request(::message::Parkspace_release_request_msg* release_request);
- // optional .message.Parkspace_confirm_alloc_request_msg confirm_request = 7;
- bool has_confirm_request() const;
- void clear_confirm_request();
- static const int kConfirmRequestFieldNumber = 7;
- private:
- const ::message::Parkspace_confirm_alloc_request_msg& _internal_confirm_request() const;
- public:
- const ::message::Parkspace_confirm_alloc_request_msg& confirm_request() const;
- ::message::Parkspace_confirm_alloc_request_msg* release_confirm_request();
- ::message::Parkspace_confirm_alloc_request_msg* mutable_confirm_request();
- void set_allocated_confirm_request(::message::Parkspace_confirm_alloc_request_msg* confirm_request);
- // optional .message.Measure_request_msg measure_request = 9;
- bool has_measure_request() const;
- void clear_measure_request();
- static const int kMeasureRequestFieldNumber = 9;
- private:
- const ::message::Measure_request_msg& _internal_measure_request() const;
- public:
- const ::message::Measure_request_msg& measure_request() const;
- ::message::Measure_request_msg* release_measure_request();
- ::message::Measure_request_msg* mutable_measure_request();
- void set_allocated_measure_request(::message::Measure_request_msg* measure_request);
- // optional .message.Dispatch_request_msg dispatch_request = 11;
- bool has_dispatch_request() const;
- void clear_dispatch_request();
- static const int kDispatchRequestFieldNumber = 11;
- private:
- const ::message::Dispatch_request_msg& _internal_dispatch_request() const;
- public:
- const ::message::Dispatch_request_msg& dispatch_request() const;
- ::message::Dispatch_request_msg* release_dispatch_request();
- ::message::Dispatch_request_msg* mutable_dispatch_request();
- void set_allocated_dispatch_request(::message::Dispatch_request_msg* dispatch_request);
- // optional .message.Parkspace_allocation_response_msg alloc_response = 2;
- bool has_alloc_response() const;
- void clear_alloc_response();
- static const int kAllocResponseFieldNumber = 2;
- private:
- const ::message::Parkspace_allocation_response_msg& _internal_alloc_response() const;
- public:
- const ::message::Parkspace_allocation_response_msg& alloc_response() const;
- ::message::Parkspace_allocation_response_msg* release_alloc_response();
- ::message::Parkspace_allocation_response_msg* mutable_alloc_response();
- void set_allocated_alloc_response(::message::Parkspace_allocation_response_msg* alloc_response);
- // optional .message.Parkspace_search_response_msg search_response = 4;
- bool has_search_response() const;
- void clear_search_response();
- static const int kSearchResponseFieldNumber = 4;
- private:
- const ::message::Parkspace_search_response_msg& _internal_search_response() const;
- public:
- const ::message::Parkspace_search_response_msg& search_response() const;
- ::message::Parkspace_search_response_msg* release_search_response();
- ::message::Parkspace_search_response_msg* mutable_search_response();
- void set_allocated_search_response(::message::Parkspace_search_response_msg* search_response);
- // optional .message.Parkspace_release_response_msg release_response = 6;
- bool has_release_response() const;
- void clear_release_response();
- static const int kReleaseResponseFieldNumber = 6;
- private:
- const ::message::Parkspace_release_response_msg& _internal_release_response() const;
- public:
- const ::message::Parkspace_release_response_msg& release_response() const;
- ::message::Parkspace_release_response_msg* release_release_response();
- ::message::Parkspace_release_response_msg* mutable_release_response();
- void set_allocated_release_response(::message::Parkspace_release_response_msg* release_response);
- // optional .message.Parkspace_confirm_alloc_response_msg confirm_response = 8;
- bool has_confirm_response() const;
- void clear_confirm_response();
- static const int kConfirmResponseFieldNumber = 8;
- private:
- const ::message::Parkspace_confirm_alloc_response_msg& _internal_confirm_response() const;
- public:
- const ::message::Parkspace_confirm_alloc_response_msg& confirm_response() const;
- ::message::Parkspace_confirm_alloc_response_msg* release_confirm_response();
- ::message::Parkspace_confirm_alloc_response_msg* mutable_confirm_response();
- void set_allocated_confirm_response(::message::Parkspace_confirm_alloc_response_msg* confirm_response);
- // optional .message.Measure_response_msg measure_response = 10;
- bool has_measure_response() const;
- void clear_measure_response();
- static const int kMeasureResponseFieldNumber = 10;
- private:
- const ::message::Measure_response_msg& _internal_measure_response() const;
- public:
- const ::message::Measure_response_msg& measure_response() const;
- ::message::Measure_response_msg* release_measure_response();
- ::message::Measure_response_msg* mutable_measure_response();
- void set_allocated_measure_response(::message::Measure_response_msg* measure_response);
- // optional .message.Dispatch_response_msg dispatch_response = 12;
- bool has_dispatch_response() const;
- void clear_dispatch_response();
- static const int kDispatchResponseFieldNumber = 12;
- private:
- const ::message::Dispatch_response_msg& _internal_dispatch_response() const;
- public:
- const ::message::Dispatch_response_msg& dispatch_response() const;
- ::message::Dispatch_response_msg* release_dispatch_response();
- ::message::Dispatch_response_msg* mutable_dispatch_response();
- void set_allocated_dispatch_response(::message::Dispatch_response_msg* dispatch_response);
- void clear_request();
- RequestCase request_case() const;
- void clear_response();
- ResponseCase response_case() const;
- // @@protoc_insertion_point(class_scope:message.Node_log)
- private:
- void set_has_alloc_request();
- void set_has_search_request();
- void set_has_release_request();
- void set_has_confirm_request();
- void set_has_measure_request();
- void set_has_dispatch_request();
- void set_has_alloc_response();
- void set_has_search_response();
- void set_has_release_response();
- void set_has_confirm_response();
- void set_has_measure_response();
- void set_has_dispatch_response();
- void set_has_description();
- void clear_has_description();
- inline bool has_request() const;
- inline void clear_has_request();
- inline bool has_response() const;
- inline void clear_has_response();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr description_;
- union RequestUnion {
- RequestUnion() {}
- ::message::Parkspace_allocation_request_msg* alloc_request_;
- ::message::Parkspace_search_request_msg* search_request_;
- ::message::Parkspace_release_request_msg* release_request_;
- ::message::Parkspace_confirm_alloc_request_msg* confirm_request_;
- ::message::Measure_request_msg* measure_request_;
- ::message::Dispatch_request_msg* dispatch_request_;
- } request_;
- union ResponseUnion {
- ResponseUnion() {}
- ::message::Parkspace_allocation_response_msg* alloc_response_;
- ::message::Parkspace_search_response_msg* search_response_;
- ::message::Parkspace_release_response_msg* release_response_;
- ::message::Parkspace_confirm_alloc_response_msg* confirm_response_;
- ::message::Measure_response_msg* measure_response_;
- ::message::Dispatch_response_msg* dispatch_response_;
- } response_;
- ::google::protobuf::uint32 _oneof_case_[2];
- friend struct ::protobuf_log_5fprocess_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Manual_operation_log : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Manual_operation_log) */ {
- public:
- Manual_operation_log();
- virtual ~Manual_operation_log();
- Manual_operation_log(const Manual_operation_log& from);
- inline Manual_operation_log& operator=(const Manual_operation_log& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Manual_operation_log(Manual_operation_log&& from) noexcept
- : Manual_operation_log() {
- *this = ::std::move(from);
- }
- inline Manual_operation_log& operator=(Manual_operation_log&& 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 Manual_operation_log& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Manual_operation_log* internal_default_instance() {
- return reinterpret_cast<const Manual_operation_log*>(
- &_Manual_operation_log_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- void Swap(Manual_operation_log* other);
- friend void swap(Manual_operation_log& a, Manual_operation_log& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Manual_operation_log* New() const final {
- return CreateMaybeMessage<Manual_operation_log>(NULL);
- }
- Manual_operation_log* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Manual_operation_log>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Manual_operation_log& from);
- void MergeFrom(const Manual_operation_log& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Manual_operation_log* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional string description = 2;
- bool has_description() const;
- void clear_description();
- static const int kDescriptionFieldNumber = 2;
- const ::std::string& description() const;
- void set_description(const ::std::string& value);
- #if LANG_CXX11
- void set_description(::std::string&& value);
- #endif
- void set_description(const char* value);
- void set_description(const char* value, size_t size);
- ::std::string* mutable_description();
- ::std::string* release_description();
- void set_allocated_description(::std::string* description);
- // required .message.Process_manual_operation_msg manual_operation = 1;
- bool has_manual_operation() const;
- void clear_manual_operation();
- static const int kManualOperationFieldNumber = 1;
- private:
- const ::message::Process_manual_operation_msg& _internal_manual_operation() const;
- public:
- const ::message::Process_manual_operation_msg& manual_operation() const;
- ::message::Process_manual_operation_msg* release_manual_operation();
- ::message::Process_manual_operation_msg* mutable_manual_operation();
- void set_allocated_manual_operation(::message::Process_manual_operation_msg* manual_operation);
- // @@protoc_insertion_point(class_scope:message.Manual_operation_log)
- private:
- void set_has_manual_operation();
- void clear_has_manual_operation();
- void set_has_description();
- void clear_has_description();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr description_;
- ::message::Process_manual_operation_msg* manual_operation_;
- friend struct ::protobuf_log_5fprocess_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Log_data : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Log_data) */ {
- public:
- Log_data();
- virtual ~Log_data();
- Log_data(const Log_data& from);
- inline Log_data& operator=(const Log_data& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Log_data(Log_data&& from) noexcept
- : Log_data() {
- *this = ::std::move(from);
- }
- inline Log_data& operator=(Log_data&& 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 Log_data& default_instance();
- enum DataCase {
- kStrLog = 2,
- kNodeLog = 3,
- kManualOperatorLog = 4,
- DATA_NOT_SET = 0,
- };
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Log_data* internal_default_instance() {
- return reinterpret_cast<const Log_data*>(
- &_Log_data_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- void Swap(Log_data* other);
- friend void swap(Log_data& a, Log_data& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Log_data* New() const final {
- return CreateMaybeMessage<Log_data>(NULL);
- }
- Log_data* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Log_data>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Log_data& from);
- void MergeFrom(const Log_data& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Log_data* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef Log_data_Severity Severity;
- static const Severity INFO =
- Log_data_Severity_INFO;
- static const Severity WARNING =
- Log_data_Severity_WARNING;
- static const Severity ERROR =
- Log_data_Severity_ERROR;
- static inline bool Severity_IsValid(int value) {
- return Log_data_Severity_IsValid(value);
- }
- static const Severity Severity_MIN =
- Log_data_Severity_Severity_MIN;
- static const Severity Severity_MAX =
- Log_data_Severity_Severity_MAX;
- static const int Severity_ARRAYSIZE =
- Log_data_Severity_Severity_ARRAYSIZE;
- static inline const ::google::protobuf::EnumDescriptor*
- Severity_descriptor() {
- return Log_data_Severity_descriptor();
- }
- static inline const ::std::string& Severity_Name(Severity value) {
- return Log_data_Severity_Name(value);
- }
- static inline bool Severity_Parse(const ::std::string& name,
- Severity* value) {
- return Log_data_Severity_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- // required .message.Log_data.Severity log_severity = 1;
- bool has_log_severity() const;
- void clear_log_severity();
- static const int kLogSeverityFieldNumber = 1;
- ::message::Log_data_Severity log_severity() const;
- void set_log_severity(::message::Log_data_Severity value);
- // optional string str_log = 2;
- bool has_str_log() const;
- void clear_str_log();
- static const int kStrLogFieldNumber = 2;
- const ::std::string& str_log() const;
- void set_str_log(const ::std::string& value);
- #if LANG_CXX11
- void set_str_log(::std::string&& value);
- #endif
- void set_str_log(const char* value);
- void set_str_log(const char* value, size_t size);
- ::std::string* mutable_str_log();
- ::std::string* release_str_log();
- void set_allocated_str_log(::std::string* str_log);
- // optional .message.Node_log node_log = 3;
- bool has_node_log() const;
- void clear_node_log();
- static const int kNodeLogFieldNumber = 3;
- private:
- const ::message::Node_log& _internal_node_log() const;
- public:
- const ::message::Node_log& node_log() const;
- ::message::Node_log* release_node_log();
- ::message::Node_log* mutable_node_log();
- void set_allocated_node_log(::message::Node_log* node_log);
- // optional .message.Manual_operation_log manual_operator_log = 4;
- bool has_manual_operator_log() const;
- void clear_manual_operator_log();
- static const int kManualOperatorLogFieldNumber = 4;
- private:
- const ::message::Manual_operation_log& _internal_manual_operator_log() const;
- public:
- const ::message::Manual_operation_log& manual_operator_log() const;
- ::message::Manual_operation_log* release_manual_operator_log();
- ::message::Manual_operation_log* mutable_manual_operator_log();
- void set_allocated_manual_operator_log(::message::Manual_operation_log* manual_operator_log);
- void clear_data();
- DataCase data_case() const;
- // @@protoc_insertion_point(class_scope:message.Log_data)
- private:
- void set_has_log_severity();
- void clear_has_log_severity();
- void set_has_str_log();
- void set_has_node_log();
- void set_has_manual_operator_log();
- inline bool has_data() const;
- inline void clear_has_data();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- int log_severity_;
- union DataUnion {
- DataUnion() {}
- ::google::protobuf::internal::ArenaStringPtr str_log_;
- ::message::Node_log* node_log_;
- ::message::Manual_operation_log* manual_operator_log_;
- } data_;
- ::google::protobuf::uint32 _oneof_case_[1];
- friend struct ::protobuf_log_5fprocess_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Process_log : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Process_log) */ {
- public:
- Process_log();
- virtual ~Process_log();
- Process_log(const Process_log& from);
- inline Process_log& operator=(const Process_log& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Process_log(Process_log&& from) noexcept
- : Process_log() {
- *this = ::std::move(from);
- }
- inline Process_log& operator=(Process_log&& 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 Process_log& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Process_log* internal_default_instance() {
- return reinterpret_cast<const Process_log*>(
- &_Process_log_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- void Swap(Process_log* other);
- friend void swap(Process_log& a, Process_log& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Process_log* New() const final {
- return CreateMaybeMessage<Process_log>(NULL);
- }
- Process_log* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Process_log>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Process_log& from);
- void MergeFrom(const Process_log& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Process_log* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated .message.Log_data log_data = 2;
- int log_data_size() const;
- void clear_log_data();
- static const int kLogDataFieldNumber = 2;
- ::message::Log_data* mutable_log_data(int index);
- ::google::protobuf::RepeatedPtrField< ::message::Log_data >*
- mutable_log_data();
- const ::message::Log_data& log_data(int index) const;
- ::message::Log_data* add_log_data();
- const ::google::protobuf::RepeatedPtrField< ::message::Log_data >&
- log_data() const;
- // required .message.Process_type process_type = 1;
- bool has_process_type() const;
- void clear_process_type();
- static const int kProcessTypeFieldNumber = 1;
- ::message::Process_type process_type() const;
- void set_process_type(::message::Process_type value);
- // @@protoc_insertion_point(class_scope:message.Process_log)
- private:
- void set_has_process_type();
- void clear_has_process_type();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::message::Log_data > log_data_;
- int process_type_;
- friend struct ::protobuf_log_5fprocess_2eproto::TableStruct;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Node_log
- // optional .message.Parkspace_allocation_request_msg alloc_request = 1;
- inline bool Node_log::has_alloc_request() const {
- return request_case() == kAllocRequest;
- }
- inline void Node_log::set_has_alloc_request() {
- _oneof_case_[0] = kAllocRequest;
- }
- inline const ::message::Parkspace_allocation_request_msg& Node_log::_internal_alloc_request() const {
- return *request_.alloc_request_;
- }
- inline ::message::Parkspace_allocation_request_msg* Node_log::release_alloc_request() {
- // @@protoc_insertion_point(field_release:message.Node_log.alloc_request)
- if (has_alloc_request()) {
- clear_has_request();
- ::message::Parkspace_allocation_request_msg* temp = request_.alloc_request_;
- request_.alloc_request_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Parkspace_allocation_request_msg& Node_log::alloc_request() const {
- // @@protoc_insertion_point(field_get:message.Node_log.alloc_request)
- return has_alloc_request()
- ? *request_.alloc_request_
- : *reinterpret_cast< ::message::Parkspace_allocation_request_msg*>(&::message::_Parkspace_allocation_request_msg_default_instance_);
- }
- inline ::message::Parkspace_allocation_request_msg* Node_log::mutable_alloc_request() {
- if (!has_alloc_request()) {
- clear_request();
- set_has_alloc_request();
- request_.alloc_request_ = CreateMaybeMessage< ::message::Parkspace_allocation_request_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.alloc_request)
- return request_.alloc_request_;
- }
- // optional .message.Parkspace_search_request_msg search_request = 3;
- inline bool Node_log::has_search_request() const {
- return request_case() == kSearchRequest;
- }
- inline void Node_log::set_has_search_request() {
- _oneof_case_[0] = kSearchRequest;
- }
- inline const ::message::Parkspace_search_request_msg& Node_log::_internal_search_request() const {
- return *request_.search_request_;
- }
- inline ::message::Parkspace_search_request_msg* Node_log::release_search_request() {
- // @@protoc_insertion_point(field_release:message.Node_log.search_request)
- if (has_search_request()) {
- clear_has_request();
- ::message::Parkspace_search_request_msg* temp = request_.search_request_;
- request_.search_request_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Parkspace_search_request_msg& Node_log::search_request() const {
- // @@protoc_insertion_point(field_get:message.Node_log.search_request)
- return has_search_request()
- ? *request_.search_request_
- : *reinterpret_cast< ::message::Parkspace_search_request_msg*>(&::message::_Parkspace_search_request_msg_default_instance_);
- }
- inline ::message::Parkspace_search_request_msg* Node_log::mutable_search_request() {
- if (!has_search_request()) {
- clear_request();
- set_has_search_request();
- request_.search_request_ = CreateMaybeMessage< ::message::Parkspace_search_request_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.search_request)
- return request_.search_request_;
- }
- // optional .message.Parkspace_release_request_msg release_request = 5;
- inline bool Node_log::has_release_request() const {
- return request_case() == kReleaseRequest;
- }
- inline void Node_log::set_has_release_request() {
- _oneof_case_[0] = kReleaseRequest;
- }
- inline const ::message::Parkspace_release_request_msg& Node_log::_internal_release_request() const {
- return *request_.release_request_;
- }
- inline ::message::Parkspace_release_request_msg* Node_log::release_release_request() {
- // @@protoc_insertion_point(field_release:message.Node_log.release_request)
- if (has_release_request()) {
- clear_has_request();
- ::message::Parkspace_release_request_msg* temp = request_.release_request_;
- request_.release_request_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Parkspace_release_request_msg& Node_log::release_request() const {
- // @@protoc_insertion_point(field_get:message.Node_log.release_request)
- return has_release_request()
- ? *request_.release_request_
- : *reinterpret_cast< ::message::Parkspace_release_request_msg*>(&::message::_Parkspace_release_request_msg_default_instance_);
- }
- inline ::message::Parkspace_release_request_msg* Node_log::mutable_release_request() {
- if (!has_release_request()) {
- clear_request();
- set_has_release_request();
- request_.release_request_ = CreateMaybeMessage< ::message::Parkspace_release_request_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.release_request)
- return request_.release_request_;
- }
- // optional .message.Parkspace_confirm_alloc_request_msg confirm_request = 7;
- inline bool Node_log::has_confirm_request() const {
- return request_case() == kConfirmRequest;
- }
- inline void Node_log::set_has_confirm_request() {
- _oneof_case_[0] = kConfirmRequest;
- }
- inline const ::message::Parkspace_confirm_alloc_request_msg& Node_log::_internal_confirm_request() const {
- return *request_.confirm_request_;
- }
- inline ::message::Parkspace_confirm_alloc_request_msg* Node_log::release_confirm_request() {
- // @@protoc_insertion_point(field_release:message.Node_log.confirm_request)
- if (has_confirm_request()) {
- clear_has_request();
- ::message::Parkspace_confirm_alloc_request_msg* temp = request_.confirm_request_;
- request_.confirm_request_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Parkspace_confirm_alloc_request_msg& Node_log::confirm_request() const {
- // @@protoc_insertion_point(field_get:message.Node_log.confirm_request)
- return has_confirm_request()
- ? *request_.confirm_request_
- : *reinterpret_cast< ::message::Parkspace_confirm_alloc_request_msg*>(&::message::_Parkspace_confirm_alloc_request_msg_default_instance_);
- }
- inline ::message::Parkspace_confirm_alloc_request_msg* Node_log::mutable_confirm_request() {
- if (!has_confirm_request()) {
- clear_request();
- set_has_confirm_request();
- request_.confirm_request_ = CreateMaybeMessage< ::message::Parkspace_confirm_alloc_request_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.confirm_request)
- return request_.confirm_request_;
- }
- // optional .message.Measure_request_msg measure_request = 9;
- inline bool Node_log::has_measure_request() const {
- return request_case() == kMeasureRequest;
- }
- inline void Node_log::set_has_measure_request() {
- _oneof_case_[0] = kMeasureRequest;
- }
- inline const ::message::Measure_request_msg& Node_log::_internal_measure_request() const {
- return *request_.measure_request_;
- }
- inline ::message::Measure_request_msg* Node_log::release_measure_request() {
- // @@protoc_insertion_point(field_release:message.Node_log.measure_request)
- if (has_measure_request()) {
- clear_has_request();
- ::message::Measure_request_msg* temp = request_.measure_request_;
- request_.measure_request_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Measure_request_msg& Node_log::measure_request() const {
- // @@protoc_insertion_point(field_get:message.Node_log.measure_request)
- return has_measure_request()
- ? *request_.measure_request_
- : *reinterpret_cast< ::message::Measure_request_msg*>(&::message::_Measure_request_msg_default_instance_);
- }
- inline ::message::Measure_request_msg* Node_log::mutable_measure_request() {
- if (!has_measure_request()) {
- clear_request();
- set_has_measure_request();
- request_.measure_request_ = CreateMaybeMessage< ::message::Measure_request_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.measure_request)
- return request_.measure_request_;
- }
- // optional .message.Dispatch_request_msg dispatch_request = 11;
- inline bool Node_log::has_dispatch_request() const {
- return request_case() == kDispatchRequest;
- }
- inline void Node_log::set_has_dispatch_request() {
- _oneof_case_[0] = kDispatchRequest;
- }
- inline const ::message::Dispatch_request_msg& Node_log::_internal_dispatch_request() const {
- return *request_.dispatch_request_;
- }
- inline ::message::Dispatch_request_msg* Node_log::release_dispatch_request() {
- // @@protoc_insertion_point(field_release:message.Node_log.dispatch_request)
- if (has_dispatch_request()) {
- clear_has_request();
- ::message::Dispatch_request_msg* temp = request_.dispatch_request_;
- request_.dispatch_request_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Dispatch_request_msg& Node_log::dispatch_request() const {
- // @@protoc_insertion_point(field_get:message.Node_log.dispatch_request)
- return has_dispatch_request()
- ? *request_.dispatch_request_
- : *reinterpret_cast< ::message::Dispatch_request_msg*>(&::message::_Dispatch_request_msg_default_instance_);
- }
- inline ::message::Dispatch_request_msg* Node_log::mutable_dispatch_request() {
- if (!has_dispatch_request()) {
- clear_request();
- set_has_dispatch_request();
- request_.dispatch_request_ = CreateMaybeMessage< ::message::Dispatch_request_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.dispatch_request)
- return request_.dispatch_request_;
- }
- // optional .message.Parkspace_allocation_response_msg alloc_response = 2;
- inline bool Node_log::has_alloc_response() const {
- return response_case() == kAllocResponse;
- }
- inline void Node_log::set_has_alloc_response() {
- _oneof_case_[1] = kAllocResponse;
- }
- inline const ::message::Parkspace_allocation_response_msg& Node_log::_internal_alloc_response() const {
- return *response_.alloc_response_;
- }
- inline ::message::Parkspace_allocation_response_msg* Node_log::release_alloc_response() {
- // @@protoc_insertion_point(field_release:message.Node_log.alloc_response)
- if (has_alloc_response()) {
- clear_has_response();
- ::message::Parkspace_allocation_response_msg* temp = response_.alloc_response_;
- response_.alloc_response_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Parkspace_allocation_response_msg& Node_log::alloc_response() const {
- // @@protoc_insertion_point(field_get:message.Node_log.alloc_response)
- return has_alloc_response()
- ? *response_.alloc_response_
- : *reinterpret_cast< ::message::Parkspace_allocation_response_msg*>(&::message::_Parkspace_allocation_response_msg_default_instance_);
- }
- inline ::message::Parkspace_allocation_response_msg* Node_log::mutable_alloc_response() {
- if (!has_alloc_response()) {
- clear_response();
- set_has_alloc_response();
- response_.alloc_response_ = CreateMaybeMessage< ::message::Parkspace_allocation_response_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.alloc_response)
- return response_.alloc_response_;
- }
- // optional .message.Parkspace_search_response_msg search_response = 4;
- inline bool Node_log::has_search_response() const {
- return response_case() == kSearchResponse;
- }
- inline void Node_log::set_has_search_response() {
- _oneof_case_[1] = kSearchResponse;
- }
- inline const ::message::Parkspace_search_response_msg& Node_log::_internal_search_response() const {
- return *response_.search_response_;
- }
- inline ::message::Parkspace_search_response_msg* Node_log::release_search_response() {
- // @@protoc_insertion_point(field_release:message.Node_log.search_response)
- if (has_search_response()) {
- clear_has_response();
- ::message::Parkspace_search_response_msg* temp = response_.search_response_;
- response_.search_response_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Parkspace_search_response_msg& Node_log::search_response() const {
- // @@protoc_insertion_point(field_get:message.Node_log.search_response)
- return has_search_response()
- ? *response_.search_response_
- : *reinterpret_cast< ::message::Parkspace_search_response_msg*>(&::message::_Parkspace_search_response_msg_default_instance_);
- }
- inline ::message::Parkspace_search_response_msg* Node_log::mutable_search_response() {
- if (!has_search_response()) {
- clear_response();
- set_has_search_response();
- response_.search_response_ = CreateMaybeMessage< ::message::Parkspace_search_response_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.search_response)
- return response_.search_response_;
- }
- // optional .message.Parkspace_release_response_msg release_response = 6;
- inline bool Node_log::has_release_response() const {
- return response_case() == kReleaseResponse;
- }
- inline void Node_log::set_has_release_response() {
- _oneof_case_[1] = kReleaseResponse;
- }
- inline const ::message::Parkspace_release_response_msg& Node_log::_internal_release_response() const {
- return *response_.release_response_;
- }
- inline ::message::Parkspace_release_response_msg* Node_log::release_release_response() {
- // @@protoc_insertion_point(field_release:message.Node_log.release_response)
- if (has_release_response()) {
- clear_has_response();
- ::message::Parkspace_release_response_msg* temp = response_.release_response_;
- response_.release_response_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Parkspace_release_response_msg& Node_log::release_response() const {
- // @@protoc_insertion_point(field_get:message.Node_log.release_response)
- return has_release_response()
- ? *response_.release_response_
- : *reinterpret_cast< ::message::Parkspace_release_response_msg*>(&::message::_Parkspace_release_response_msg_default_instance_);
- }
- inline ::message::Parkspace_release_response_msg* Node_log::mutable_release_response() {
- if (!has_release_response()) {
- clear_response();
- set_has_release_response();
- response_.release_response_ = CreateMaybeMessage< ::message::Parkspace_release_response_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.release_response)
- return response_.release_response_;
- }
- // optional .message.Parkspace_confirm_alloc_response_msg confirm_response = 8;
- inline bool Node_log::has_confirm_response() const {
- return response_case() == kConfirmResponse;
- }
- inline void Node_log::set_has_confirm_response() {
- _oneof_case_[1] = kConfirmResponse;
- }
- inline const ::message::Parkspace_confirm_alloc_response_msg& Node_log::_internal_confirm_response() const {
- return *response_.confirm_response_;
- }
- inline ::message::Parkspace_confirm_alloc_response_msg* Node_log::release_confirm_response() {
- // @@protoc_insertion_point(field_release:message.Node_log.confirm_response)
- if (has_confirm_response()) {
- clear_has_response();
- ::message::Parkspace_confirm_alloc_response_msg* temp = response_.confirm_response_;
- response_.confirm_response_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Parkspace_confirm_alloc_response_msg& Node_log::confirm_response() const {
- // @@protoc_insertion_point(field_get:message.Node_log.confirm_response)
- return has_confirm_response()
- ? *response_.confirm_response_
- : *reinterpret_cast< ::message::Parkspace_confirm_alloc_response_msg*>(&::message::_Parkspace_confirm_alloc_response_msg_default_instance_);
- }
- inline ::message::Parkspace_confirm_alloc_response_msg* Node_log::mutable_confirm_response() {
- if (!has_confirm_response()) {
- clear_response();
- set_has_confirm_response();
- response_.confirm_response_ = CreateMaybeMessage< ::message::Parkspace_confirm_alloc_response_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.confirm_response)
- return response_.confirm_response_;
- }
- // optional .message.Measure_response_msg measure_response = 10;
- inline bool Node_log::has_measure_response() const {
- return response_case() == kMeasureResponse;
- }
- inline void Node_log::set_has_measure_response() {
- _oneof_case_[1] = kMeasureResponse;
- }
- inline const ::message::Measure_response_msg& Node_log::_internal_measure_response() const {
- return *response_.measure_response_;
- }
- inline ::message::Measure_response_msg* Node_log::release_measure_response() {
- // @@protoc_insertion_point(field_release:message.Node_log.measure_response)
- if (has_measure_response()) {
- clear_has_response();
- ::message::Measure_response_msg* temp = response_.measure_response_;
- response_.measure_response_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Measure_response_msg& Node_log::measure_response() const {
- // @@protoc_insertion_point(field_get:message.Node_log.measure_response)
- return has_measure_response()
- ? *response_.measure_response_
- : *reinterpret_cast< ::message::Measure_response_msg*>(&::message::_Measure_response_msg_default_instance_);
- }
- inline ::message::Measure_response_msg* Node_log::mutable_measure_response() {
- if (!has_measure_response()) {
- clear_response();
- set_has_measure_response();
- response_.measure_response_ = CreateMaybeMessage< ::message::Measure_response_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.measure_response)
- return response_.measure_response_;
- }
- // optional .message.Dispatch_response_msg dispatch_response = 12;
- inline bool Node_log::has_dispatch_response() const {
- return response_case() == kDispatchResponse;
- }
- inline void Node_log::set_has_dispatch_response() {
- _oneof_case_[1] = kDispatchResponse;
- }
- inline const ::message::Dispatch_response_msg& Node_log::_internal_dispatch_response() const {
- return *response_.dispatch_response_;
- }
- inline ::message::Dispatch_response_msg* Node_log::release_dispatch_response() {
- // @@protoc_insertion_point(field_release:message.Node_log.dispatch_response)
- if (has_dispatch_response()) {
- clear_has_response();
- ::message::Dispatch_response_msg* temp = response_.dispatch_response_;
- response_.dispatch_response_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Dispatch_response_msg& Node_log::dispatch_response() const {
- // @@protoc_insertion_point(field_get:message.Node_log.dispatch_response)
- return has_dispatch_response()
- ? *response_.dispatch_response_
- : *reinterpret_cast< ::message::Dispatch_response_msg*>(&::message::_Dispatch_response_msg_default_instance_);
- }
- inline ::message::Dispatch_response_msg* Node_log::mutable_dispatch_response() {
- if (!has_dispatch_response()) {
- clear_response();
- set_has_dispatch_response();
- response_.dispatch_response_ = CreateMaybeMessage< ::message::Dispatch_response_msg >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Node_log.dispatch_response)
- return response_.dispatch_response_;
- }
- // optional string description = 13;
- inline bool Node_log::has_description() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Node_log::set_has_description() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Node_log::clear_has_description() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Node_log::clear_description() {
- description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_description();
- }
- inline const ::std::string& Node_log::description() const {
- // @@protoc_insertion_point(field_get:message.Node_log.description)
- return description_.GetNoArena();
- }
- inline void Node_log::set_description(const ::std::string& value) {
- set_has_description();
- description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Node_log.description)
- }
- #if LANG_CXX11
- inline void Node_log::set_description(::std::string&& value) {
- set_has_description();
- description_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Node_log.description)
- }
- #endif
- inline void Node_log::set_description(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_description();
- description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Node_log.description)
- }
- inline void Node_log::set_description(const char* value, size_t size) {
- set_has_description();
- description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Node_log.description)
- }
- inline ::std::string* Node_log::mutable_description() {
- set_has_description();
- // @@protoc_insertion_point(field_mutable:message.Node_log.description)
- return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Node_log::release_description() {
- // @@protoc_insertion_point(field_release:message.Node_log.description)
- if (!has_description()) {
- return NULL;
- }
- clear_has_description();
- return description_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Node_log::set_allocated_description(::std::string* description) {
- if (description != NULL) {
- set_has_description();
- } else {
- clear_has_description();
- }
- description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
- // @@protoc_insertion_point(field_set_allocated:message.Node_log.description)
- }
- inline bool Node_log::has_request() const {
- return request_case() != REQUEST_NOT_SET;
- }
- inline void Node_log::clear_has_request() {
- _oneof_case_[0] = REQUEST_NOT_SET;
- }
- inline bool Node_log::has_response() const {
- return response_case() != RESPONSE_NOT_SET;
- }
- inline void Node_log::clear_has_response() {
- _oneof_case_[1] = RESPONSE_NOT_SET;
- }
- inline Node_log::RequestCase Node_log::request_case() const {
- return Node_log::RequestCase(_oneof_case_[0]);
- }
- inline Node_log::ResponseCase Node_log::response_case() const {
- return Node_log::ResponseCase(_oneof_case_[1]);
- }
- // -------------------------------------------------------------------
- // Manual_operation_log
- // required .message.Process_manual_operation_msg manual_operation = 1;
- inline bool Manual_operation_log::has_manual_operation() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Manual_operation_log::set_has_manual_operation() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Manual_operation_log::clear_has_manual_operation() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::message::Process_manual_operation_msg& Manual_operation_log::_internal_manual_operation() const {
- return *manual_operation_;
- }
- inline const ::message::Process_manual_operation_msg& Manual_operation_log::manual_operation() const {
- const ::message::Process_manual_operation_msg* p = manual_operation_;
- // @@protoc_insertion_point(field_get:message.Manual_operation_log.manual_operation)
- return p != NULL ? *p : *reinterpret_cast<const ::message::Process_manual_operation_msg*>(
- &::message::_Process_manual_operation_msg_default_instance_);
- }
- inline ::message::Process_manual_operation_msg* Manual_operation_log::release_manual_operation() {
- // @@protoc_insertion_point(field_release:message.Manual_operation_log.manual_operation)
- clear_has_manual_operation();
- ::message::Process_manual_operation_msg* temp = manual_operation_;
- manual_operation_ = NULL;
- return temp;
- }
- inline ::message::Process_manual_operation_msg* Manual_operation_log::mutable_manual_operation() {
- set_has_manual_operation();
- if (manual_operation_ == NULL) {
- auto* p = CreateMaybeMessage<::message::Process_manual_operation_msg>(GetArenaNoVirtual());
- manual_operation_ = p;
- }
- // @@protoc_insertion_point(field_mutable:message.Manual_operation_log.manual_operation)
- return manual_operation_;
- }
- inline void Manual_operation_log::set_allocated_manual_operation(::message::Process_manual_operation_msg* manual_operation) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(manual_operation_);
- }
- if (manual_operation) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- manual_operation = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, manual_operation, submessage_arena);
- }
- set_has_manual_operation();
- } else {
- clear_has_manual_operation();
- }
- manual_operation_ = manual_operation;
- // @@protoc_insertion_point(field_set_allocated:message.Manual_operation_log.manual_operation)
- }
- // optional string description = 2;
- inline bool Manual_operation_log::has_description() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Manual_operation_log::set_has_description() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Manual_operation_log::clear_has_description() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Manual_operation_log::clear_description() {
- description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_description();
- }
- inline const ::std::string& Manual_operation_log::description() const {
- // @@protoc_insertion_point(field_get:message.Manual_operation_log.description)
- return description_.GetNoArena();
- }
- inline void Manual_operation_log::set_description(const ::std::string& value) {
- set_has_description();
- description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Manual_operation_log.description)
- }
- #if LANG_CXX11
- inline void Manual_operation_log::set_description(::std::string&& value) {
- set_has_description();
- description_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Manual_operation_log.description)
- }
- #endif
- inline void Manual_operation_log::set_description(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_description();
- description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Manual_operation_log.description)
- }
- inline void Manual_operation_log::set_description(const char* value, size_t size) {
- set_has_description();
- description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Manual_operation_log.description)
- }
- inline ::std::string* Manual_operation_log::mutable_description() {
- set_has_description();
- // @@protoc_insertion_point(field_mutable:message.Manual_operation_log.description)
- return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Manual_operation_log::release_description() {
- // @@protoc_insertion_point(field_release:message.Manual_operation_log.description)
- if (!has_description()) {
- return NULL;
- }
- clear_has_description();
- return description_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Manual_operation_log::set_allocated_description(::std::string* description) {
- if (description != NULL) {
- set_has_description();
- } else {
- clear_has_description();
- }
- description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
- // @@protoc_insertion_point(field_set_allocated:message.Manual_operation_log.description)
- }
- // -------------------------------------------------------------------
- // Log_data
- // required .message.Log_data.Severity log_severity = 1;
- inline bool Log_data::has_log_severity() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Log_data::set_has_log_severity() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Log_data::clear_has_log_severity() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Log_data::clear_log_severity() {
- log_severity_ = 0;
- clear_has_log_severity();
- }
- inline ::message::Log_data_Severity Log_data::log_severity() const {
- // @@protoc_insertion_point(field_get:message.Log_data.log_severity)
- return static_cast< ::message::Log_data_Severity >(log_severity_);
- }
- inline void Log_data::set_log_severity(::message::Log_data_Severity value) {
- assert(::message::Log_data_Severity_IsValid(value));
- set_has_log_severity();
- log_severity_ = value;
- // @@protoc_insertion_point(field_set:message.Log_data.log_severity)
- }
- // optional string str_log = 2;
- inline bool Log_data::has_str_log() const {
- return data_case() == kStrLog;
- }
- inline void Log_data::set_has_str_log() {
- _oneof_case_[0] = kStrLog;
- }
- inline void Log_data::clear_str_log() {
- if (has_str_log()) {
- data_.str_log_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_data();
- }
- }
- inline const ::std::string& Log_data::str_log() const {
- // @@protoc_insertion_point(field_get:message.Log_data.str_log)
- if (has_str_log()) {
- return data_.str_log_.GetNoArena();
- }
- return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
- }
- inline void Log_data::set_str_log(const ::std::string& value) {
- // @@protoc_insertion_point(field_set:message.Log_data.str_log)
- if (!has_str_log()) {
- clear_data();
- set_has_str_log();
- data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- data_.str_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:message.Log_data.str_log)
- }
- #if LANG_CXX11
- inline void Log_data::set_str_log(::std::string&& value) {
- // @@protoc_insertion_point(field_set:message.Log_data.str_log)
- if (!has_str_log()) {
- clear_data();
- set_has_str_log();
- data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- data_.str_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:message.Log_data.str_log)
- }
- #endif
- inline void Log_data::set_str_log(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- if (!has_str_log()) {
- clear_data();
- set_has_str_log();
- data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- data_.str_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(value));
- // @@protoc_insertion_point(field_set_char:message.Log_data.str_log)
- }
- inline void Log_data::set_str_log(const char* value, size_t size) {
- if (!has_str_log()) {
- clear_data();
- set_has_str_log();
- data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- data_.str_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
- reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:message.Log_data.str_log)
- }
- inline ::std::string* Log_data::mutable_str_log() {
- if (!has_str_log()) {
- clear_data();
- set_has_str_log();
- data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_mutable:message.Log_data.str_log)
- return data_.str_log_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Log_data::release_str_log() {
- // @@protoc_insertion_point(field_release:message.Log_data.str_log)
- if (has_str_log()) {
- clear_has_data();
- return data_.str_log_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- } else {
- return NULL;
- }
- }
- inline void Log_data::set_allocated_str_log(::std::string* str_log) {
- if (!has_str_log()) {
- data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- clear_data();
- if (str_log != NULL) {
- set_has_str_log();
- data_.str_log_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str_log);
- }
- // @@protoc_insertion_point(field_set_allocated:message.Log_data.str_log)
- }
- // optional .message.Node_log node_log = 3;
- inline bool Log_data::has_node_log() const {
- return data_case() == kNodeLog;
- }
- inline void Log_data::set_has_node_log() {
- _oneof_case_[0] = kNodeLog;
- }
- inline void Log_data::clear_node_log() {
- if (has_node_log()) {
- delete data_.node_log_;
- clear_has_data();
- }
- }
- inline const ::message::Node_log& Log_data::_internal_node_log() const {
- return *data_.node_log_;
- }
- inline ::message::Node_log* Log_data::release_node_log() {
- // @@protoc_insertion_point(field_release:message.Log_data.node_log)
- if (has_node_log()) {
- clear_has_data();
- ::message::Node_log* temp = data_.node_log_;
- data_.node_log_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Node_log& Log_data::node_log() const {
- // @@protoc_insertion_point(field_get:message.Log_data.node_log)
- return has_node_log()
- ? *data_.node_log_
- : *reinterpret_cast< ::message::Node_log*>(&::message::_Node_log_default_instance_);
- }
- inline ::message::Node_log* Log_data::mutable_node_log() {
- if (!has_node_log()) {
- clear_data();
- set_has_node_log();
- data_.node_log_ = CreateMaybeMessage< ::message::Node_log >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Log_data.node_log)
- return data_.node_log_;
- }
- // optional .message.Manual_operation_log manual_operator_log = 4;
- inline bool Log_data::has_manual_operator_log() const {
- return data_case() == kManualOperatorLog;
- }
- inline void Log_data::set_has_manual_operator_log() {
- _oneof_case_[0] = kManualOperatorLog;
- }
- inline void Log_data::clear_manual_operator_log() {
- if (has_manual_operator_log()) {
- delete data_.manual_operator_log_;
- clear_has_data();
- }
- }
- inline const ::message::Manual_operation_log& Log_data::_internal_manual_operator_log() const {
- return *data_.manual_operator_log_;
- }
- inline ::message::Manual_operation_log* Log_data::release_manual_operator_log() {
- // @@protoc_insertion_point(field_release:message.Log_data.manual_operator_log)
- if (has_manual_operator_log()) {
- clear_has_data();
- ::message::Manual_operation_log* temp = data_.manual_operator_log_;
- data_.manual_operator_log_ = NULL;
- return temp;
- } else {
- return NULL;
- }
- }
- inline const ::message::Manual_operation_log& Log_data::manual_operator_log() const {
- // @@protoc_insertion_point(field_get:message.Log_data.manual_operator_log)
- return has_manual_operator_log()
- ? *data_.manual_operator_log_
- : *reinterpret_cast< ::message::Manual_operation_log*>(&::message::_Manual_operation_log_default_instance_);
- }
- inline ::message::Manual_operation_log* Log_data::mutable_manual_operator_log() {
- if (!has_manual_operator_log()) {
- clear_data();
- set_has_manual_operator_log();
- data_.manual_operator_log_ = CreateMaybeMessage< ::message::Manual_operation_log >(
- GetArenaNoVirtual());
- }
- // @@protoc_insertion_point(field_mutable:message.Log_data.manual_operator_log)
- return data_.manual_operator_log_;
- }
- inline bool Log_data::has_data() const {
- return data_case() != DATA_NOT_SET;
- }
- inline void Log_data::clear_has_data() {
- _oneof_case_[0] = DATA_NOT_SET;
- }
- inline Log_data::DataCase Log_data::data_case() const {
- return Log_data::DataCase(_oneof_case_[0]);
- }
- // -------------------------------------------------------------------
- // Process_log
- // required .message.Process_type process_type = 1;
- inline bool Process_log::has_process_type() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Process_log::set_has_process_type() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Process_log::clear_has_process_type() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Process_log::clear_process_type() {
- process_type_ = 1;
- clear_has_process_type();
- }
- inline ::message::Process_type Process_log::process_type() const {
- // @@protoc_insertion_point(field_get:message.Process_log.process_type)
- return static_cast< ::message::Process_type >(process_type_);
- }
- inline void Process_log::set_process_type(::message::Process_type value) {
- assert(::message::Process_type_IsValid(value));
- set_has_process_type();
- process_type_ = value;
- // @@protoc_insertion_point(field_set:message.Process_log.process_type)
- }
- // repeated .message.Log_data log_data = 2;
- inline int Process_log::log_data_size() const {
- return log_data_.size();
- }
- inline void Process_log::clear_log_data() {
- log_data_.Clear();
- }
- inline ::message::Log_data* Process_log::mutable_log_data(int index) {
- // @@protoc_insertion_point(field_mutable:message.Process_log.log_data)
- return log_data_.Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField< ::message::Log_data >*
- Process_log::mutable_log_data() {
- // @@protoc_insertion_point(field_mutable_list:message.Process_log.log_data)
- return &log_data_;
- }
- inline const ::message::Log_data& Process_log::log_data(int index) const {
- // @@protoc_insertion_point(field_get:message.Process_log.log_data)
- return log_data_.Get(index);
- }
- inline ::message::Log_data* Process_log::add_log_data() {
- // @@protoc_insertion_point(field_add:message.Process_log.log_data)
- return log_data_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::message::Log_data >&
- Process_log::log_data() const {
- // @@protoc_insertion_point(field_list:message.Process_log.log_data)
- return log_data_;
- }
- #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::Log_data_Severity> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::message::Log_data_Severity>() {
- return ::message::Log_data_Severity_descriptor();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_INCLUDED_log_5fprocess_2eproto
|