log_process.pb.h 71 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: log_process.proto
  3. #ifndef PROTOBUF_INCLUDED_log_5fprocess_2eproto
  4. #define PROTOBUF_INCLUDED_log_5fprocess_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/generated_enum_reflection.h>
  28. #include <google/protobuf/unknown_field_set.h>
  29. #include "message_base.pb.h"
  30. #include "parkspace_allocation_message.pb.h"
  31. #include "measure_message.pb.h"
  32. #include "dispatch_message.pb.h"
  33. #include "central_control_message.pb.h"
  34. // @@protoc_insertion_point(includes)
  35. #define PROTOBUF_INTERNAL_EXPORT_protobuf_log_5fprocess_2eproto
  36. namespace protobuf_log_5fprocess_2eproto {
  37. // Internal implementation detail -- do not use these members.
  38. struct TableStruct {
  39. static const ::google::protobuf::internal::ParseTableField entries[];
  40. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  41. static const ::google::protobuf::internal::ParseTable schema[4];
  42. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  43. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  44. static const ::google::protobuf::uint32 offsets[];
  45. };
  46. void AddDescriptors();
  47. } // namespace protobuf_log_5fprocess_2eproto
  48. namespace message {
  49. class Log_data;
  50. class Log_dataDefaultTypeInternal;
  51. extern Log_dataDefaultTypeInternal _Log_data_default_instance_;
  52. class Manual_operation_log;
  53. class Manual_operation_logDefaultTypeInternal;
  54. extern Manual_operation_logDefaultTypeInternal _Manual_operation_log_default_instance_;
  55. class Node_log;
  56. class Node_logDefaultTypeInternal;
  57. extern Node_logDefaultTypeInternal _Node_log_default_instance_;
  58. class Process_log;
  59. class Process_logDefaultTypeInternal;
  60. extern Process_logDefaultTypeInternal _Process_log_default_instance_;
  61. } // namespace message
  62. namespace google {
  63. namespace protobuf {
  64. template<> ::message::Log_data* Arena::CreateMaybeMessage<::message::Log_data>(Arena*);
  65. template<> ::message::Manual_operation_log* Arena::CreateMaybeMessage<::message::Manual_operation_log>(Arena*);
  66. template<> ::message::Node_log* Arena::CreateMaybeMessage<::message::Node_log>(Arena*);
  67. template<> ::message::Process_log* Arena::CreateMaybeMessage<::message::Process_log>(Arena*);
  68. } // namespace protobuf
  69. } // namespace google
  70. namespace message {
  71. enum Log_data_Severity {
  72. Log_data_Severity_INFO = 0,
  73. Log_data_Severity_WARNING = 1,
  74. Log_data_Severity_ERROR = 2
  75. };
  76. bool Log_data_Severity_IsValid(int value);
  77. const Log_data_Severity Log_data_Severity_Severity_MIN = Log_data_Severity_INFO;
  78. const Log_data_Severity Log_data_Severity_Severity_MAX = Log_data_Severity_ERROR;
  79. const int Log_data_Severity_Severity_ARRAYSIZE = Log_data_Severity_Severity_MAX + 1;
  80. const ::google::protobuf::EnumDescriptor* Log_data_Severity_descriptor();
  81. inline const ::std::string& Log_data_Severity_Name(Log_data_Severity value) {
  82. return ::google::protobuf::internal::NameOfEnum(
  83. Log_data_Severity_descriptor(), value);
  84. }
  85. inline bool Log_data_Severity_Parse(
  86. const ::std::string& name, Log_data_Severity* value) {
  87. return ::google::protobuf::internal::ParseNamedEnum<Log_data_Severity>(
  88. Log_data_Severity_descriptor(), name, value);
  89. }
  90. // ===================================================================
  91. class Node_log : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Node_log) */ {
  92. public:
  93. Node_log();
  94. virtual ~Node_log();
  95. Node_log(const Node_log& from);
  96. inline Node_log& operator=(const Node_log& from) {
  97. CopyFrom(from);
  98. return *this;
  99. }
  100. #if LANG_CXX11
  101. Node_log(Node_log&& from) noexcept
  102. : Node_log() {
  103. *this = ::std::move(from);
  104. }
  105. inline Node_log& operator=(Node_log&& from) noexcept {
  106. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  107. if (this != &from) InternalSwap(&from);
  108. } else {
  109. CopyFrom(from);
  110. }
  111. return *this;
  112. }
  113. #endif
  114. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  115. return _internal_metadata_.unknown_fields();
  116. }
  117. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  118. return _internal_metadata_.mutable_unknown_fields();
  119. }
  120. static const ::google::protobuf::Descriptor* descriptor();
  121. static const Node_log& default_instance();
  122. enum RequestCase {
  123. kAllocRequest = 1,
  124. kSearchRequest = 3,
  125. kReleaseRequest = 5,
  126. kConfirmRequest = 7,
  127. kMeasureRequest = 9,
  128. kDispatchRequest = 11,
  129. REQUEST_NOT_SET = 0,
  130. };
  131. enum ResponseCase {
  132. kAllocResponse = 2,
  133. kSearchResponse = 4,
  134. kReleaseResponse = 6,
  135. kConfirmResponse = 8,
  136. kMeasureResponse = 10,
  137. kDispatchResponse = 12,
  138. RESPONSE_NOT_SET = 0,
  139. };
  140. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  141. static inline const Node_log* internal_default_instance() {
  142. return reinterpret_cast<const Node_log*>(
  143. &_Node_log_default_instance_);
  144. }
  145. static constexpr int kIndexInFileMessages =
  146. 0;
  147. void Swap(Node_log* other);
  148. friend void swap(Node_log& a, Node_log& b) {
  149. a.Swap(&b);
  150. }
  151. // implements Message ----------------------------------------------
  152. inline Node_log* New() const final {
  153. return CreateMaybeMessage<Node_log>(NULL);
  154. }
  155. Node_log* New(::google::protobuf::Arena* arena) const final {
  156. return CreateMaybeMessage<Node_log>(arena);
  157. }
  158. void CopyFrom(const ::google::protobuf::Message& from) final;
  159. void MergeFrom(const ::google::protobuf::Message& from) final;
  160. void CopyFrom(const Node_log& from);
  161. void MergeFrom(const Node_log& from);
  162. void Clear() final;
  163. bool IsInitialized() const final;
  164. size_t ByteSizeLong() const final;
  165. bool MergePartialFromCodedStream(
  166. ::google::protobuf::io::CodedInputStream* input) final;
  167. void SerializeWithCachedSizes(
  168. ::google::protobuf::io::CodedOutputStream* output) const final;
  169. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  170. bool deterministic, ::google::protobuf::uint8* target) const final;
  171. int GetCachedSize() const final { return _cached_size_.Get(); }
  172. private:
  173. void SharedCtor();
  174. void SharedDtor();
  175. void SetCachedSize(int size) const final;
  176. void InternalSwap(Node_log* other);
  177. private:
  178. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  179. return NULL;
  180. }
  181. inline void* MaybeArenaPtr() const {
  182. return NULL;
  183. }
  184. public:
  185. ::google::protobuf::Metadata GetMetadata() const final;
  186. // nested types ----------------------------------------------------
  187. // accessors -------------------------------------------------------
  188. // optional string description = 13;
  189. bool has_description() const;
  190. void clear_description();
  191. static const int kDescriptionFieldNumber = 13;
  192. const ::std::string& description() const;
  193. void set_description(const ::std::string& value);
  194. #if LANG_CXX11
  195. void set_description(::std::string&& value);
  196. #endif
  197. void set_description(const char* value);
  198. void set_description(const char* value, size_t size);
  199. ::std::string* mutable_description();
  200. ::std::string* release_description();
  201. void set_allocated_description(::std::string* description);
  202. // optional .message.Parkspace_allocation_request_msg alloc_request = 1;
  203. bool has_alloc_request() const;
  204. void clear_alloc_request();
  205. static const int kAllocRequestFieldNumber = 1;
  206. private:
  207. const ::message::Parkspace_allocation_request_msg& _internal_alloc_request() const;
  208. public:
  209. const ::message::Parkspace_allocation_request_msg& alloc_request() const;
  210. ::message::Parkspace_allocation_request_msg* release_alloc_request();
  211. ::message::Parkspace_allocation_request_msg* mutable_alloc_request();
  212. void set_allocated_alloc_request(::message::Parkspace_allocation_request_msg* alloc_request);
  213. // optional .message.Parkspace_search_request_msg search_request = 3;
  214. bool has_search_request() const;
  215. void clear_search_request();
  216. static const int kSearchRequestFieldNumber = 3;
  217. private:
  218. const ::message::Parkspace_search_request_msg& _internal_search_request() const;
  219. public:
  220. const ::message::Parkspace_search_request_msg& search_request() const;
  221. ::message::Parkspace_search_request_msg* release_search_request();
  222. ::message::Parkspace_search_request_msg* mutable_search_request();
  223. void set_allocated_search_request(::message::Parkspace_search_request_msg* search_request);
  224. // optional .message.Parkspace_release_request_msg release_request = 5;
  225. bool has_release_request() const;
  226. void clear_release_request();
  227. static const int kReleaseRequestFieldNumber = 5;
  228. private:
  229. const ::message::Parkspace_release_request_msg& _internal_release_request() const;
  230. public:
  231. const ::message::Parkspace_release_request_msg& release_request() const;
  232. ::message::Parkspace_release_request_msg* release_release_request();
  233. ::message::Parkspace_release_request_msg* mutable_release_request();
  234. void set_allocated_release_request(::message::Parkspace_release_request_msg* release_request);
  235. // optional .message.Parkspace_confirm_alloc_request_msg confirm_request = 7;
  236. bool has_confirm_request() const;
  237. void clear_confirm_request();
  238. static const int kConfirmRequestFieldNumber = 7;
  239. private:
  240. const ::message::Parkspace_confirm_alloc_request_msg& _internal_confirm_request() const;
  241. public:
  242. const ::message::Parkspace_confirm_alloc_request_msg& confirm_request() const;
  243. ::message::Parkspace_confirm_alloc_request_msg* release_confirm_request();
  244. ::message::Parkspace_confirm_alloc_request_msg* mutable_confirm_request();
  245. void set_allocated_confirm_request(::message::Parkspace_confirm_alloc_request_msg* confirm_request);
  246. // optional .message.Measure_request_msg measure_request = 9;
  247. bool has_measure_request() const;
  248. void clear_measure_request();
  249. static const int kMeasureRequestFieldNumber = 9;
  250. private:
  251. const ::message::Measure_request_msg& _internal_measure_request() const;
  252. public:
  253. const ::message::Measure_request_msg& measure_request() const;
  254. ::message::Measure_request_msg* release_measure_request();
  255. ::message::Measure_request_msg* mutable_measure_request();
  256. void set_allocated_measure_request(::message::Measure_request_msg* measure_request);
  257. // optional .message.Dispatch_request_msg dispatch_request = 11;
  258. bool has_dispatch_request() const;
  259. void clear_dispatch_request();
  260. static const int kDispatchRequestFieldNumber = 11;
  261. private:
  262. const ::message::Dispatch_request_msg& _internal_dispatch_request() const;
  263. public:
  264. const ::message::Dispatch_request_msg& dispatch_request() const;
  265. ::message::Dispatch_request_msg* release_dispatch_request();
  266. ::message::Dispatch_request_msg* mutable_dispatch_request();
  267. void set_allocated_dispatch_request(::message::Dispatch_request_msg* dispatch_request);
  268. // optional .message.Parkspace_allocation_response_msg alloc_response = 2;
  269. bool has_alloc_response() const;
  270. void clear_alloc_response();
  271. static const int kAllocResponseFieldNumber = 2;
  272. private:
  273. const ::message::Parkspace_allocation_response_msg& _internal_alloc_response() const;
  274. public:
  275. const ::message::Parkspace_allocation_response_msg& alloc_response() const;
  276. ::message::Parkspace_allocation_response_msg* release_alloc_response();
  277. ::message::Parkspace_allocation_response_msg* mutable_alloc_response();
  278. void set_allocated_alloc_response(::message::Parkspace_allocation_response_msg* alloc_response);
  279. // optional .message.Parkspace_search_response_msg search_response = 4;
  280. bool has_search_response() const;
  281. void clear_search_response();
  282. static const int kSearchResponseFieldNumber = 4;
  283. private:
  284. const ::message::Parkspace_search_response_msg& _internal_search_response() const;
  285. public:
  286. const ::message::Parkspace_search_response_msg& search_response() const;
  287. ::message::Parkspace_search_response_msg* release_search_response();
  288. ::message::Parkspace_search_response_msg* mutable_search_response();
  289. void set_allocated_search_response(::message::Parkspace_search_response_msg* search_response);
  290. // optional .message.Parkspace_release_response_msg release_response = 6;
  291. bool has_release_response() const;
  292. void clear_release_response();
  293. static const int kReleaseResponseFieldNumber = 6;
  294. private:
  295. const ::message::Parkspace_release_response_msg& _internal_release_response() const;
  296. public:
  297. const ::message::Parkspace_release_response_msg& release_response() const;
  298. ::message::Parkspace_release_response_msg* release_release_response();
  299. ::message::Parkspace_release_response_msg* mutable_release_response();
  300. void set_allocated_release_response(::message::Parkspace_release_response_msg* release_response);
  301. // optional .message.Parkspace_confirm_alloc_response_msg confirm_response = 8;
  302. bool has_confirm_response() const;
  303. void clear_confirm_response();
  304. static const int kConfirmResponseFieldNumber = 8;
  305. private:
  306. const ::message::Parkspace_confirm_alloc_response_msg& _internal_confirm_response() const;
  307. public:
  308. const ::message::Parkspace_confirm_alloc_response_msg& confirm_response() const;
  309. ::message::Parkspace_confirm_alloc_response_msg* release_confirm_response();
  310. ::message::Parkspace_confirm_alloc_response_msg* mutable_confirm_response();
  311. void set_allocated_confirm_response(::message::Parkspace_confirm_alloc_response_msg* confirm_response);
  312. // optional .message.Measure_response_msg measure_response = 10;
  313. bool has_measure_response() const;
  314. void clear_measure_response();
  315. static const int kMeasureResponseFieldNumber = 10;
  316. private:
  317. const ::message::Measure_response_msg& _internal_measure_response() const;
  318. public:
  319. const ::message::Measure_response_msg& measure_response() const;
  320. ::message::Measure_response_msg* release_measure_response();
  321. ::message::Measure_response_msg* mutable_measure_response();
  322. void set_allocated_measure_response(::message::Measure_response_msg* measure_response);
  323. // optional .message.Dispatch_response_msg dispatch_response = 12;
  324. bool has_dispatch_response() const;
  325. void clear_dispatch_response();
  326. static const int kDispatchResponseFieldNumber = 12;
  327. private:
  328. const ::message::Dispatch_response_msg& _internal_dispatch_response() const;
  329. public:
  330. const ::message::Dispatch_response_msg& dispatch_response() const;
  331. ::message::Dispatch_response_msg* release_dispatch_response();
  332. ::message::Dispatch_response_msg* mutable_dispatch_response();
  333. void set_allocated_dispatch_response(::message::Dispatch_response_msg* dispatch_response);
  334. void clear_request();
  335. RequestCase request_case() const;
  336. void clear_response();
  337. ResponseCase response_case() const;
  338. // @@protoc_insertion_point(class_scope:message.Node_log)
  339. private:
  340. void set_has_alloc_request();
  341. void set_has_search_request();
  342. void set_has_release_request();
  343. void set_has_confirm_request();
  344. void set_has_measure_request();
  345. void set_has_dispatch_request();
  346. void set_has_alloc_response();
  347. void set_has_search_response();
  348. void set_has_release_response();
  349. void set_has_confirm_response();
  350. void set_has_measure_response();
  351. void set_has_dispatch_response();
  352. void set_has_description();
  353. void clear_has_description();
  354. inline bool has_request() const;
  355. inline void clear_has_request();
  356. inline bool has_response() const;
  357. inline void clear_has_response();
  358. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  359. ::google::protobuf::internal::HasBits<1> _has_bits_;
  360. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  361. ::google::protobuf::internal::ArenaStringPtr description_;
  362. union RequestUnion {
  363. RequestUnion() {}
  364. ::message::Parkspace_allocation_request_msg* alloc_request_;
  365. ::message::Parkspace_search_request_msg* search_request_;
  366. ::message::Parkspace_release_request_msg* release_request_;
  367. ::message::Parkspace_confirm_alloc_request_msg* confirm_request_;
  368. ::message::Measure_request_msg* measure_request_;
  369. ::message::Dispatch_request_msg* dispatch_request_;
  370. } request_;
  371. union ResponseUnion {
  372. ResponseUnion() {}
  373. ::message::Parkspace_allocation_response_msg* alloc_response_;
  374. ::message::Parkspace_search_response_msg* search_response_;
  375. ::message::Parkspace_release_response_msg* release_response_;
  376. ::message::Parkspace_confirm_alloc_response_msg* confirm_response_;
  377. ::message::Measure_response_msg* measure_response_;
  378. ::message::Dispatch_response_msg* dispatch_response_;
  379. } response_;
  380. ::google::protobuf::uint32 _oneof_case_[2];
  381. friend struct ::protobuf_log_5fprocess_2eproto::TableStruct;
  382. };
  383. // -------------------------------------------------------------------
  384. class Manual_operation_log : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Manual_operation_log) */ {
  385. public:
  386. Manual_operation_log();
  387. virtual ~Manual_operation_log();
  388. Manual_operation_log(const Manual_operation_log& from);
  389. inline Manual_operation_log& operator=(const Manual_operation_log& from) {
  390. CopyFrom(from);
  391. return *this;
  392. }
  393. #if LANG_CXX11
  394. Manual_operation_log(Manual_operation_log&& from) noexcept
  395. : Manual_operation_log() {
  396. *this = ::std::move(from);
  397. }
  398. inline Manual_operation_log& operator=(Manual_operation_log&& from) noexcept {
  399. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  400. if (this != &from) InternalSwap(&from);
  401. } else {
  402. CopyFrom(from);
  403. }
  404. return *this;
  405. }
  406. #endif
  407. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  408. return _internal_metadata_.unknown_fields();
  409. }
  410. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  411. return _internal_metadata_.mutable_unknown_fields();
  412. }
  413. static const ::google::protobuf::Descriptor* descriptor();
  414. static const Manual_operation_log& default_instance();
  415. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  416. static inline const Manual_operation_log* internal_default_instance() {
  417. return reinterpret_cast<const Manual_operation_log*>(
  418. &_Manual_operation_log_default_instance_);
  419. }
  420. static constexpr int kIndexInFileMessages =
  421. 1;
  422. void Swap(Manual_operation_log* other);
  423. friend void swap(Manual_operation_log& a, Manual_operation_log& b) {
  424. a.Swap(&b);
  425. }
  426. // implements Message ----------------------------------------------
  427. inline Manual_operation_log* New() const final {
  428. return CreateMaybeMessage<Manual_operation_log>(NULL);
  429. }
  430. Manual_operation_log* New(::google::protobuf::Arena* arena) const final {
  431. return CreateMaybeMessage<Manual_operation_log>(arena);
  432. }
  433. void CopyFrom(const ::google::protobuf::Message& from) final;
  434. void MergeFrom(const ::google::protobuf::Message& from) final;
  435. void CopyFrom(const Manual_operation_log& from);
  436. void MergeFrom(const Manual_operation_log& from);
  437. void Clear() final;
  438. bool IsInitialized() const final;
  439. size_t ByteSizeLong() const final;
  440. bool MergePartialFromCodedStream(
  441. ::google::protobuf::io::CodedInputStream* input) final;
  442. void SerializeWithCachedSizes(
  443. ::google::protobuf::io::CodedOutputStream* output) const final;
  444. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  445. bool deterministic, ::google::protobuf::uint8* target) const final;
  446. int GetCachedSize() const final { return _cached_size_.Get(); }
  447. private:
  448. void SharedCtor();
  449. void SharedDtor();
  450. void SetCachedSize(int size) const final;
  451. void InternalSwap(Manual_operation_log* other);
  452. private:
  453. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  454. return NULL;
  455. }
  456. inline void* MaybeArenaPtr() const {
  457. return NULL;
  458. }
  459. public:
  460. ::google::protobuf::Metadata GetMetadata() const final;
  461. // nested types ----------------------------------------------------
  462. // accessors -------------------------------------------------------
  463. // optional string description = 2;
  464. bool has_description() const;
  465. void clear_description();
  466. static const int kDescriptionFieldNumber = 2;
  467. const ::std::string& description() const;
  468. void set_description(const ::std::string& value);
  469. #if LANG_CXX11
  470. void set_description(::std::string&& value);
  471. #endif
  472. void set_description(const char* value);
  473. void set_description(const char* value, size_t size);
  474. ::std::string* mutable_description();
  475. ::std::string* release_description();
  476. void set_allocated_description(::std::string* description);
  477. // required .message.Process_manual_operation_msg manual_operation = 1;
  478. bool has_manual_operation() const;
  479. void clear_manual_operation();
  480. static const int kManualOperationFieldNumber = 1;
  481. private:
  482. const ::message::Process_manual_operation_msg& _internal_manual_operation() const;
  483. public:
  484. const ::message::Process_manual_operation_msg& manual_operation() const;
  485. ::message::Process_manual_operation_msg* release_manual_operation();
  486. ::message::Process_manual_operation_msg* mutable_manual_operation();
  487. void set_allocated_manual_operation(::message::Process_manual_operation_msg* manual_operation);
  488. // @@protoc_insertion_point(class_scope:message.Manual_operation_log)
  489. private:
  490. void set_has_manual_operation();
  491. void clear_has_manual_operation();
  492. void set_has_description();
  493. void clear_has_description();
  494. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  495. ::google::protobuf::internal::HasBits<1> _has_bits_;
  496. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  497. ::google::protobuf::internal::ArenaStringPtr description_;
  498. ::message::Process_manual_operation_msg* manual_operation_;
  499. friend struct ::protobuf_log_5fprocess_2eproto::TableStruct;
  500. };
  501. // -------------------------------------------------------------------
  502. class Log_data : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Log_data) */ {
  503. public:
  504. Log_data();
  505. virtual ~Log_data();
  506. Log_data(const Log_data& from);
  507. inline Log_data& operator=(const Log_data& from) {
  508. CopyFrom(from);
  509. return *this;
  510. }
  511. #if LANG_CXX11
  512. Log_data(Log_data&& from) noexcept
  513. : Log_data() {
  514. *this = ::std::move(from);
  515. }
  516. inline Log_data& operator=(Log_data&& from) noexcept {
  517. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  518. if (this != &from) InternalSwap(&from);
  519. } else {
  520. CopyFrom(from);
  521. }
  522. return *this;
  523. }
  524. #endif
  525. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  526. return _internal_metadata_.unknown_fields();
  527. }
  528. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  529. return _internal_metadata_.mutable_unknown_fields();
  530. }
  531. static const ::google::protobuf::Descriptor* descriptor();
  532. static const Log_data& default_instance();
  533. enum DataCase {
  534. kStrLog = 2,
  535. kNodeLog = 3,
  536. kManualOperatorLog = 4,
  537. DATA_NOT_SET = 0,
  538. };
  539. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  540. static inline const Log_data* internal_default_instance() {
  541. return reinterpret_cast<const Log_data*>(
  542. &_Log_data_default_instance_);
  543. }
  544. static constexpr int kIndexInFileMessages =
  545. 2;
  546. void Swap(Log_data* other);
  547. friend void swap(Log_data& a, Log_data& b) {
  548. a.Swap(&b);
  549. }
  550. // implements Message ----------------------------------------------
  551. inline Log_data* New() const final {
  552. return CreateMaybeMessage<Log_data>(NULL);
  553. }
  554. Log_data* New(::google::protobuf::Arena* arena) const final {
  555. return CreateMaybeMessage<Log_data>(arena);
  556. }
  557. void CopyFrom(const ::google::protobuf::Message& from) final;
  558. void MergeFrom(const ::google::protobuf::Message& from) final;
  559. void CopyFrom(const Log_data& from);
  560. void MergeFrom(const Log_data& from);
  561. void Clear() final;
  562. bool IsInitialized() const final;
  563. size_t ByteSizeLong() const final;
  564. bool MergePartialFromCodedStream(
  565. ::google::protobuf::io::CodedInputStream* input) final;
  566. void SerializeWithCachedSizes(
  567. ::google::protobuf::io::CodedOutputStream* output) const final;
  568. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  569. bool deterministic, ::google::protobuf::uint8* target) const final;
  570. int GetCachedSize() const final { return _cached_size_.Get(); }
  571. private:
  572. void SharedCtor();
  573. void SharedDtor();
  574. void SetCachedSize(int size) const final;
  575. void InternalSwap(Log_data* other);
  576. private:
  577. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  578. return NULL;
  579. }
  580. inline void* MaybeArenaPtr() const {
  581. return NULL;
  582. }
  583. public:
  584. ::google::protobuf::Metadata GetMetadata() const final;
  585. // nested types ----------------------------------------------------
  586. typedef Log_data_Severity Severity;
  587. static const Severity INFO =
  588. Log_data_Severity_INFO;
  589. static const Severity WARNING =
  590. Log_data_Severity_WARNING;
  591. static const Severity ERROR =
  592. Log_data_Severity_ERROR;
  593. static inline bool Severity_IsValid(int value) {
  594. return Log_data_Severity_IsValid(value);
  595. }
  596. static const Severity Severity_MIN =
  597. Log_data_Severity_Severity_MIN;
  598. static const Severity Severity_MAX =
  599. Log_data_Severity_Severity_MAX;
  600. static const int Severity_ARRAYSIZE =
  601. Log_data_Severity_Severity_ARRAYSIZE;
  602. static inline const ::google::protobuf::EnumDescriptor*
  603. Severity_descriptor() {
  604. return Log_data_Severity_descriptor();
  605. }
  606. static inline const ::std::string& Severity_Name(Severity value) {
  607. return Log_data_Severity_Name(value);
  608. }
  609. static inline bool Severity_Parse(const ::std::string& name,
  610. Severity* value) {
  611. return Log_data_Severity_Parse(name, value);
  612. }
  613. // accessors -------------------------------------------------------
  614. // required .message.Log_data.Severity log_severity = 1;
  615. bool has_log_severity() const;
  616. void clear_log_severity();
  617. static const int kLogSeverityFieldNumber = 1;
  618. ::message::Log_data_Severity log_severity() const;
  619. void set_log_severity(::message::Log_data_Severity value);
  620. // optional string str_log = 2;
  621. bool has_str_log() const;
  622. void clear_str_log();
  623. static const int kStrLogFieldNumber = 2;
  624. const ::std::string& str_log() const;
  625. void set_str_log(const ::std::string& value);
  626. #if LANG_CXX11
  627. void set_str_log(::std::string&& value);
  628. #endif
  629. void set_str_log(const char* value);
  630. void set_str_log(const char* value, size_t size);
  631. ::std::string* mutable_str_log();
  632. ::std::string* release_str_log();
  633. void set_allocated_str_log(::std::string* str_log);
  634. // optional .message.Node_log node_log = 3;
  635. bool has_node_log() const;
  636. void clear_node_log();
  637. static const int kNodeLogFieldNumber = 3;
  638. private:
  639. const ::message::Node_log& _internal_node_log() const;
  640. public:
  641. const ::message::Node_log& node_log() const;
  642. ::message::Node_log* release_node_log();
  643. ::message::Node_log* mutable_node_log();
  644. void set_allocated_node_log(::message::Node_log* node_log);
  645. // optional .message.Manual_operation_log manual_operator_log = 4;
  646. bool has_manual_operator_log() const;
  647. void clear_manual_operator_log();
  648. static const int kManualOperatorLogFieldNumber = 4;
  649. private:
  650. const ::message::Manual_operation_log& _internal_manual_operator_log() const;
  651. public:
  652. const ::message::Manual_operation_log& manual_operator_log() const;
  653. ::message::Manual_operation_log* release_manual_operator_log();
  654. ::message::Manual_operation_log* mutable_manual_operator_log();
  655. void set_allocated_manual_operator_log(::message::Manual_operation_log* manual_operator_log);
  656. void clear_data();
  657. DataCase data_case() const;
  658. // @@protoc_insertion_point(class_scope:message.Log_data)
  659. private:
  660. void set_has_log_severity();
  661. void clear_has_log_severity();
  662. void set_has_str_log();
  663. void set_has_node_log();
  664. void set_has_manual_operator_log();
  665. inline bool has_data() const;
  666. inline void clear_has_data();
  667. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  668. ::google::protobuf::internal::HasBits<1> _has_bits_;
  669. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  670. int log_severity_;
  671. union DataUnion {
  672. DataUnion() {}
  673. ::google::protobuf::internal::ArenaStringPtr str_log_;
  674. ::message::Node_log* node_log_;
  675. ::message::Manual_operation_log* manual_operator_log_;
  676. } data_;
  677. ::google::protobuf::uint32 _oneof_case_[1];
  678. friend struct ::protobuf_log_5fprocess_2eproto::TableStruct;
  679. };
  680. // -------------------------------------------------------------------
  681. class Process_log : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Process_log) */ {
  682. public:
  683. Process_log();
  684. virtual ~Process_log();
  685. Process_log(const Process_log& from);
  686. inline Process_log& operator=(const Process_log& from) {
  687. CopyFrom(from);
  688. return *this;
  689. }
  690. #if LANG_CXX11
  691. Process_log(Process_log&& from) noexcept
  692. : Process_log() {
  693. *this = ::std::move(from);
  694. }
  695. inline Process_log& operator=(Process_log&& from) noexcept {
  696. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  697. if (this != &from) InternalSwap(&from);
  698. } else {
  699. CopyFrom(from);
  700. }
  701. return *this;
  702. }
  703. #endif
  704. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  705. return _internal_metadata_.unknown_fields();
  706. }
  707. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  708. return _internal_metadata_.mutable_unknown_fields();
  709. }
  710. static const ::google::protobuf::Descriptor* descriptor();
  711. static const Process_log& default_instance();
  712. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  713. static inline const Process_log* internal_default_instance() {
  714. return reinterpret_cast<const Process_log*>(
  715. &_Process_log_default_instance_);
  716. }
  717. static constexpr int kIndexInFileMessages =
  718. 3;
  719. void Swap(Process_log* other);
  720. friend void swap(Process_log& a, Process_log& b) {
  721. a.Swap(&b);
  722. }
  723. // implements Message ----------------------------------------------
  724. inline Process_log* New() const final {
  725. return CreateMaybeMessage<Process_log>(NULL);
  726. }
  727. Process_log* New(::google::protobuf::Arena* arena) const final {
  728. return CreateMaybeMessage<Process_log>(arena);
  729. }
  730. void CopyFrom(const ::google::protobuf::Message& from) final;
  731. void MergeFrom(const ::google::protobuf::Message& from) final;
  732. void CopyFrom(const Process_log& from);
  733. void MergeFrom(const Process_log& from);
  734. void Clear() final;
  735. bool IsInitialized() const final;
  736. size_t ByteSizeLong() const final;
  737. bool MergePartialFromCodedStream(
  738. ::google::protobuf::io::CodedInputStream* input) final;
  739. void SerializeWithCachedSizes(
  740. ::google::protobuf::io::CodedOutputStream* output) const final;
  741. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  742. bool deterministic, ::google::protobuf::uint8* target) const final;
  743. int GetCachedSize() const final { return _cached_size_.Get(); }
  744. private:
  745. void SharedCtor();
  746. void SharedDtor();
  747. void SetCachedSize(int size) const final;
  748. void InternalSwap(Process_log* other);
  749. private:
  750. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  751. return NULL;
  752. }
  753. inline void* MaybeArenaPtr() const {
  754. return NULL;
  755. }
  756. public:
  757. ::google::protobuf::Metadata GetMetadata() const final;
  758. // nested types ----------------------------------------------------
  759. // accessors -------------------------------------------------------
  760. // repeated .message.Log_data log_data = 2;
  761. int log_data_size() const;
  762. void clear_log_data();
  763. static const int kLogDataFieldNumber = 2;
  764. ::message::Log_data* mutable_log_data(int index);
  765. ::google::protobuf::RepeatedPtrField< ::message::Log_data >*
  766. mutable_log_data();
  767. const ::message::Log_data& log_data(int index) const;
  768. ::message::Log_data* add_log_data();
  769. const ::google::protobuf::RepeatedPtrField< ::message::Log_data >&
  770. log_data() const;
  771. // required .message.Process_type process_type = 1;
  772. bool has_process_type() const;
  773. void clear_process_type();
  774. static const int kProcessTypeFieldNumber = 1;
  775. ::message::Process_type process_type() const;
  776. void set_process_type(::message::Process_type value);
  777. // @@protoc_insertion_point(class_scope:message.Process_log)
  778. private:
  779. void set_has_process_type();
  780. void clear_has_process_type();
  781. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  782. ::google::protobuf::internal::HasBits<1> _has_bits_;
  783. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  784. ::google::protobuf::RepeatedPtrField< ::message::Log_data > log_data_;
  785. int process_type_;
  786. friend struct ::protobuf_log_5fprocess_2eproto::TableStruct;
  787. };
  788. // ===================================================================
  789. // ===================================================================
  790. #ifdef __GNUC__
  791. #pragma GCC diagnostic push
  792. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  793. #endif // __GNUC__
  794. // Node_log
  795. // optional .message.Parkspace_allocation_request_msg alloc_request = 1;
  796. inline bool Node_log::has_alloc_request() const {
  797. return request_case() == kAllocRequest;
  798. }
  799. inline void Node_log::set_has_alloc_request() {
  800. _oneof_case_[0] = kAllocRequest;
  801. }
  802. inline const ::message::Parkspace_allocation_request_msg& Node_log::_internal_alloc_request() const {
  803. return *request_.alloc_request_;
  804. }
  805. inline ::message::Parkspace_allocation_request_msg* Node_log::release_alloc_request() {
  806. // @@protoc_insertion_point(field_release:message.Node_log.alloc_request)
  807. if (has_alloc_request()) {
  808. clear_has_request();
  809. ::message::Parkspace_allocation_request_msg* temp = request_.alloc_request_;
  810. request_.alloc_request_ = NULL;
  811. return temp;
  812. } else {
  813. return NULL;
  814. }
  815. }
  816. inline const ::message::Parkspace_allocation_request_msg& Node_log::alloc_request() const {
  817. // @@protoc_insertion_point(field_get:message.Node_log.alloc_request)
  818. return has_alloc_request()
  819. ? *request_.alloc_request_
  820. : *reinterpret_cast< ::message::Parkspace_allocation_request_msg*>(&::message::_Parkspace_allocation_request_msg_default_instance_);
  821. }
  822. inline ::message::Parkspace_allocation_request_msg* Node_log::mutable_alloc_request() {
  823. if (!has_alloc_request()) {
  824. clear_request();
  825. set_has_alloc_request();
  826. request_.alloc_request_ = CreateMaybeMessage< ::message::Parkspace_allocation_request_msg >(
  827. GetArenaNoVirtual());
  828. }
  829. // @@protoc_insertion_point(field_mutable:message.Node_log.alloc_request)
  830. return request_.alloc_request_;
  831. }
  832. // optional .message.Parkspace_search_request_msg search_request = 3;
  833. inline bool Node_log::has_search_request() const {
  834. return request_case() == kSearchRequest;
  835. }
  836. inline void Node_log::set_has_search_request() {
  837. _oneof_case_[0] = kSearchRequest;
  838. }
  839. inline const ::message::Parkspace_search_request_msg& Node_log::_internal_search_request() const {
  840. return *request_.search_request_;
  841. }
  842. inline ::message::Parkspace_search_request_msg* Node_log::release_search_request() {
  843. // @@protoc_insertion_point(field_release:message.Node_log.search_request)
  844. if (has_search_request()) {
  845. clear_has_request();
  846. ::message::Parkspace_search_request_msg* temp = request_.search_request_;
  847. request_.search_request_ = NULL;
  848. return temp;
  849. } else {
  850. return NULL;
  851. }
  852. }
  853. inline const ::message::Parkspace_search_request_msg& Node_log::search_request() const {
  854. // @@protoc_insertion_point(field_get:message.Node_log.search_request)
  855. return has_search_request()
  856. ? *request_.search_request_
  857. : *reinterpret_cast< ::message::Parkspace_search_request_msg*>(&::message::_Parkspace_search_request_msg_default_instance_);
  858. }
  859. inline ::message::Parkspace_search_request_msg* Node_log::mutable_search_request() {
  860. if (!has_search_request()) {
  861. clear_request();
  862. set_has_search_request();
  863. request_.search_request_ = CreateMaybeMessage< ::message::Parkspace_search_request_msg >(
  864. GetArenaNoVirtual());
  865. }
  866. // @@protoc_insertion_point(field_mutable:message.Node_log.search_request)
  867. return request_.search_request_;
  868. }
  869. // optional .message.Parkspace_release_request_msg release_request = 5;
  870. inline bool Node_log::has_release_request() const {
  871. return request_case() == kReleaseRequest;
  872. }
  873. inline void Node_log::set_has_release_request() {
  874. _oneof_case_[0] = kReleaseRequest;
  875. }
  876. inline const ::message::Parkspace_release_request_msg& Node_log::_internal_release_request() const {
  877. return *request_.release_request_;
  878. }
  879. inline ::message::Parkspace_release_request_msg* Node_log::release_release_request() {
  880. // @@protoc_insertion_point(field_release:message.Node_log.release_request)
  881. if (has_release_request()) {
  882. clear_has_request();
  883. ::message::Parkspace_release_request_msg* temp = request_.release_request_;
  884. request_.release_request_ = NULL;
  885. return temp;
  886. } else {
  887. return NULL;
  888. }
  889. }
  890. inline const ::message::Parkspace_release_request_msg& Node_log::release_request() const {
  891. // @@protoc_insertion_point(field_get:message.Node_log.release_request)
  892. return has_release_request()
  893. ? *request_.release_request_
  894. : *reinterpret_cast< ::message::Parkspace_release_request_msg*>(&::message::_Parkspace_release_request_msg_default_instance_);
  895. }
  896. inline ::message::Parkspace_release_request_msg* Node_log::mutable_release_request() {
  897. if (!has_release_request()) {
  898. clear_request();
  899. set_has_release_request();
  900. request_.release_request_ = CreateMaybeMessage< ::message::Parkspace_release_request_msg >(
  901. GetArenaNoVirtual());
  902. }
  903. // @@protoc_insertion_point(field_mutable:message.Node_log.release_request)
  904. return request_.release_request_;
  905. }
  906. // optional .message.Parkspace_confirm_alloc_request_msg confirm_request = 7;
  907. inline bool Node_log::has_confirm_request() const {
  908. return request_case() == kConfirmRequest;
  909. }
  910. inline void Node_log::set_has_confirm_request() {
  911. _oneof_case_[0] = kConfirmRequest;
  912. }
  913. inline const ::message::Parkspace_confirm_alloc_request_msg& Node_log::_internal_confirm_request() const {
  914. return *request_.confirm_request_;
  915. }
  916. inline ::message::Parkspace_confirm_alloc_request_msg* Node_log::release_confirm_request() {
  917. // @@protoc_insertion_point(field_release:message.Node_log.confirm_request)
  918. if (has_confirm_request()) {
  919. clear_has_request();
  920. ::message::Parkspace_confirm_alloc_request_msg* temp = request_.confirm_request_;
  921. request_.confirm_request_ = NULL;
  922. return temp;
  923. } else {
  924. return NULL;
  925. }
  926. }
  927. inline const ::message::Parkspace_confirm_alloc_request_msg& Node_log::confirm_request() const {
  928. // @@protoc_insertion_point(field_get:message.Node_log.confirm_request)
  929. return has_confirm_request()
  930. ? *request_.confirm_request_
  931. : *reinterpret_cast< ::message::Parkspace_confirm_alloc_request_msg*>(&::message::_Parkspace_confirm_alloc_request_msg_default_instance_);
  932. }
  933. inline ::message::Parkspace_confirm_alloc_request_msg* Node_log::mutable_confirm_request() {
  934. if (!has_confirm_request()) {
  935. clear_request();
  936. set_has_confirm_request();
  937. request_.confirm_request_ = CreateMaybeMessage< ::message::Parkspace_confirm_alloc_request_msg >(
  938. GetArenaNoVirtual());
  939. }
  940. // @@protoc_insertion_point(field_mutable:message.Node_log.confirm_request)
  941. return request_.confirm_request_;
  942. }
  943. // optional .message.Measure_request_msg measure_request = 9;
  944. inline bool Node_log::has_measure_request() const {
  945. return request_case() == kMeasureRequest;
  946. }
  947. inline void Node_log::set_has_measure_request() {
  948. _oneof_case_[0] = kMeasureRequest;
  949. }
  950. inline const ::message::Measure_request_msg& Node_log::_internal_measure_request() const {
  951. return *request_.measure_request_;
  952. }
  953. inline ::message::Measure_request_msg* Node_log::release_measure_request() {
  954. // @@protoc_insertion_point(field_release:message.Node_log.measure_request)
  955. if (has_measure_request()) {
  956. clear_has_request();
  957. ::message::Measure_request_msg* temp = request_.measure_request_;
  958. request_.measure_request_ = NULL;
  959. return temp;
  960. } else {
  961. return NULL;
  962. }
  963. }
  964. inline const ::message::Measure_request_msg& Node_log::measure_request() const {
  965. // @@protoc_insertion_point(field_get:message.Node_log.measure_request)
  966. return has_measure_request()
  967. ? *request_.measure_request_
  968. : *reinterpret_cast< ::message::Measure_request_msg*>(&::message::_Measure_request_msg_default_instance_);
  969. }
  970. inline ::message::Measure_request_msg* Node_log::mutable_measure_request() {
  971. if (!has_measure_request()) {
  972. clear_request();
  973. set_has_measure_request();
  974. request_.measure_request_ = CreateMaybeMessage< ::message::Measure_request_msg >(
  975. GetArenaNoVirtual());
  976. }
  977. // @@protoc_insertion_point(field_mutable:message.Node_log.measure_request)
  978. return request_.measure_request_;
  979. }
  980. // optional .message.Dispatch_request_msg dispatch_request = 11;
  981. inline bool Node_log::has_dispatch_request() const {
  982. return request_case() == kDispatchRequest;
  983. }
  984. inline void Node_log::set_has_dispatch_request() {
  985. _oneof_case_[0] = kDispatchRequest;
  986. }
  987. inline const ::message::Dispatch_request_msg& Node_log::_internal_dispatch_request() const {
  988. return *request_.dispatch_request_;
  989. }
  990. inline ::message::Dispatch_request_msg* Node_log::release_dispatch_request() {
  991. // @@protoc_insertion_point(field_release:message.Node_log.dispatch_request)
  992. if (has_dispatch_request()) {
  993. clear_has_request();
  994. ::message::Dispatch_request_msg* temp = request_.dispatch_request_;
  995. request_.dispatch_request_ = NULL;
  996. return temp;
  997. } else {
  998. return NULL;
  999. }
  1000. }
  1001. inline const ::message::Dispatch_request_msg& Node_log::dispatch_request() const {
  1002. // @@protoc_insertion_point(field_get:message.Node_log.dispatch_request)
  1003. return has_dispatch_request()
  1004. ? *request_.dispatch_request_
  1005. : *reinterpret_cast< ::message::Dispatch_request_msg*>(&::message::_Dispatch_request_msg_default_instance_);
  1006. }
  1007. inline ::message::Dispatch_request_msg* Node_log::mutable_dispatch_request() {
  1008. if (!has_dispatch_request()) {
  1009. clear_request();
  1010. set_has_dispatch_request();
  1011. request_.dispatch_request_ = CreateMaybeMessage< ::message::Dispatch_request_msg >(
  1012. GetArenaNoVirtual());
  1013. }
  1014. // @@protoc_insertion_point(field_mutable:message.Node_log.dispatch_request)
  1015. return request_.dispatch_request_;
  1016. }
  1017. // optional .message.Parkspace_allocation_response_msg alloc_response = 2;
  1018. inline bool Node_log::has_alloc_response() const {
  1019. return response_case() == kAllocResponse;
  1020. }
  1021. inline void Node_log::set_has_alloc_response() {
  1022. _oneof_case_[1] = kAllocResponse;
  1023. }
  1024. inline const ::message::Parkspace_allocation_response_msg& Node_log::_internal_alloc_response() const {
  1025. return *response_.alloc_response_;
  1026. }
  1027. inline ::message::Parkspace_allocation_response_msg* Node_log::release_alloc_response() {
  1028. // @@protoc_insertion_point(field_release:message.Node_log.alloc_response)
  1029. if (has_alloc_response()) {
  1030. clear_has_response();
  1031. ::message::Parkspace_allocation_response_msg* temp = response_.alloc_response_;
  1032. response_.alloc_response_ = NULL;
  1033. return temp;
  1034. } else {
  1035. return NULL;
  1036. }
  1037. }
  1038. inline const ::message::Parkspace_allocation_response_msg& Node_log::alloc_response() const {
  1039. // @@protoc_insertion_point(field_get:message.Node_log.alloc_response)
  1040. return has_alloc_response()
  1041. ? *response_.alloc_response_
  1042. : *reinterpret_cast< ::message::Parkspace_allocation_response_msg*>(&::message::_Parkspace_allocation_response_msg_default_instance_);
  1043. }
  1044. inline ::message::Parkspace_allocation_response_msg* Node_log::mutable_alloc_response() {
  1045. if (!has_alloc_response()) {
  1046. clear_response();
  1047. set_has_alloc_response();
  1048. response_.alloc_response_ = CreateMaybeMessage< ::message::Parkspace_allocation_response_msg >(
  1049. GetArenaNoVirtual());
  1050. }
  1051. // @@protoc_insertion_point(field_mutable:message.Node_log.alloc_response)
  1052. return response_.alloc_response_;
  1053. }
  1054. // optional .message.Parkspace_search_response_msg search_response = 4;
  1055. inline bool Node_log::has_search_response() const {
  1056. return response_case() == kSearchResponse;
  1057. }
  1058. inline void Node_log::set_has_search_response() {
  1059. _oneof_case_[1] = kSearchResponse;
  1060. }
  1061. inline const ::message::Parkspace_search_response_msg& Node_log::_internal_search_response() const {
  1062. return *response_.search_response_;
  1063. }
  1064. inline ::message::Parkspace_search_response_msg* Node_log::release_search_response() {
  1065. // @@protoc_insertion_point(field_release:message.Node_log.search_response)
  1066. if (has_search_response()) {
  1067. clear_has_response();
  1068. ::message::Parkspace_search_response_msg* temp = response_.search_response_;
  1069. response_.search_response_ = NULL;
  1070. return temp;
  1071. } else {
  1072. return NULL;
  1073. }
  1074. }
  1075. inline const ::message::Parkspace_search_response_msg& Node_log::search_response() const {
  1076. // @@protoc_insertion_point(field_get:message.Node_log.search_response)
  1077. return has_search_response()
  1078. ? *response_.search_response_
  1079. : *reinterpret_cast< ::message::Parkspace_search_response_msg*>(&::message::_Parkspace_search_response_msg_default_instance_);
  1080. }
  1081. inline ::message::Parkspace_search_response_msg* Node_log::mutable_search_response() {
  1082. if (!has_search_response()) {
  1083. clear_response();
  1084. set_has_search_response();
  1085. response_.search_response_ = CreateMaybeMessage< ::message::Parkspace_search_response_msg >(
  1086. GetArenaNoVirtual());
  1087. }
  1088. // @@protoc_insertion_point(field_mutable:message.Node_log.search_response)
  1089. return response_.search_response_;
  1090. }
  1091. // optional .message.Parkspace_release_response_msg release_response = 6;
  1092. inline bool Node_log::has_release_response() const {
  1093. return response_case() == kReleaseResponse;
  1094. }
  1095. inline void Node_log::set_has_release_response() {
  1096. _oneof_case_[1] = kReleaseResponse;
  1097. }
  1098. inline const ::message::Parkspace_release_response_msg& Node_log::_internal_release_response() const {
  1099. return *response_.release_response_;
  1100. }
  1101. inline ::message::Parkspace_release_response_msg* Node_log::release_release_response() {
  1102. // @@protoc_insertion_point(field_release:message.Node_log.release_response)
  1103. if (has_release_response()) {
  1104. clear_has_response();
  1105. ::message::Parkspace_release_response_msg* temp = response_.release_response_;
  1106. response_.release_response_ = NULL;
  1107. return temp;
  1108. } else {
  1109. return NULL;
  1110. }
  1111. }
  1112. inline const ::message::Parkspace_release_response_msg& Node_log::release_response() const {
  1113. // @@protoc_insertion_point(field_get:message.Node_log.release_response)
  1114. return has_release_response()
  1115. ? *response_.release_response_
  1116. : *reinterpret_cast< ::message::Parkspace_release_response_msg*>(&::message::_Parkspace_release_response_msg_default_instance_);
  1117. }
  1118. inline ::message::Parkspace_release_response_msg* Node_log::mutable_release_response() {
  1119. if (!has_release_response()) {
  1120. clear_response();
  1121. set_has_release_response();
  1122. response_.release_response_ = CreateMaybeMessage< ::message::Parkspace_release_response_msg >(
  1123. GetArenaNoVirtual());
  1124. }
  1125. // @@protoc_insertion_point(field_mutable:message.Node_log.release_response)
  1126. return response_.release_response_;
  1127. }
  1128. // optional .message.Parkspace_confirm_alloc_response_msg confirm_response = 8;
  1129. inline bool Node_log::has_confirm_response() const {
  1130. return response_case() == kConfirmResponse;
  1131. }
  1132. inline void Node_log::set_has_confirm_response() {
  1133. _oneof_case_[1] = kConfirmResponse;
  1134. }
  1135. inline const ::message::Parkspace_confirm_alloc_response_msg& Node_log::_internal_confirm_response() const {
  1136. return *response_.confirm_response_;
  1137. }
  1138. inline ::message::Parkspace_confirm_alloc_response_msg* Node_log::release_confirm_response() {
  1139. // @@protoc_insertion_point(field_release:message.Node_log.confirm_response)
  1140. if (has_confirm_response()) {
  1141. clear_has_response();
  1142. ::message::Parkspace_confirm_alloc_response_msg* temp = response_.confirm_response_;
  1143. response_.confirm_response_ = NULL;
  1144. return temp;
  1145. } else {
  1146. return NULL;
  1147. }
  1148. }
  1149. inline const ::message::Parkspace_confirm_alloc_response_msg& Node_log::confirm_response() const {
  1150. // @@protoc_insertion_point(field_get:message.Node_log.confirm_response)
  1151. return has_confirm_response()
  1152. ? *response_.confirm_response_
  1153. : *reinterpret_cast< ::message::Parkspace_confirm_alloc_response_msg*>(&::message::_Parkspace_confirm_alloc_response_msg_default_instance_);
  1154. }
  1155. inline ::message::Parkspace_confirm_alloc_response_msg* Node_log::mutable_confirm_response() {
  1156. if (!has_confirm_response()) {
  1157. clear_response();
  1158. set_has_confirm_response();
  1159. response_.confirm_response_ = CreateMaybeMessage< ::message::Parkspace_confirm_alloc_response_msg >(
  1160. GetArenaNoVirtual());
  1161. }
  1162. // @@protoc_insertion_point(field_mutable:message.Node_log.confirm_response)
  1163. return response_.confirm_response_;
  1164. }
  1165. // optional .message.Measure_response_msg measure_response = 10;
  1166. inline bool Node_log::has_measure_response() const {
  1167. return response_case() == kMeasureResponse;
  1168. }
  1169. inline void Node_log::set_has_measure_response() {
  1170. _oneof_case_[1] = kMeasureResponse;
  1171. }
  1172. inline const ::message::Measure_response_msg& Node_log::_internal_measure_response() const {
  1173. return *response_.measure_response_;
  1174. }
  1175. inline ::message::Measure_response_msg* Node_log::release_measure_response() {
  1176. // @@protoc_insertion_point(field_release:message.Node_log.measure_response)
  1177. if (has_measure_response()) {
  1178. clear_has_response();
  1179. ::message::Measure_response_msg* temp = response_.measure_response_;
  1180. response_.measure_response_ = NULL;
  1181. return temp;
  1182. } else {
  1183. return NULL;
  1184. }
  1185. }
  1186. inline const ::message::Measure_response_msg& Node_log::measure_response() const {
  1187. // @@protoc_insertion_point(field_get:message.Node_log.measure_response)
  1188. return has_measure_response()
  1189. ? *response_.measure_response_
  1190. : *reinterpret_cast< ::message::Measure_response_msg*>(&::message::_Measure_response_msg_default_instance_);
  1191. }
  1192. inline ::message::Measure_response_msg* Node_log::mutable_measure_response() {
  1193. if (!has_measure_response()) {
  1194. clear_response();
  1195. set_has_measure_response();
  1196. response_.measure_response_ = CreateMaybeMessage< ::message::Measure_response_msg >(
  1197. GetArenaNoVirtual());
  1198. }
  1199. // @@protoc_insertion_point(field_mutable:message.Node_log.measure_response)
  1200. return response_.measure_response_;
  1201. }
  1202. // optional .message.Dispatch_response_msg dispatch_response = 12;
  1203. inline bool Node_log::has_dispatch_response() const {
  1204. return response_case() == kDispatchResponse;
  1205. }
  1206. inline void Node_log::set_has_dispatch_response() {
  1207. _oneof_case_[1] = kDispatchResponse;
  1208. }
  1209. inline const ::message::Dispatch_response_msg& Node_log::_internal_dispatch_response() const {
  1210. return *response_.dispatch_response_;
  1211. }
  1212. inline ::message::Dispatch_response_msg* Node_log::release_dispatch_response() {
  1213. // @@protoc_insertion_point(field_release:message.Node_log.dispatch_response)
  1214. if (has_dispatch_response()) {
  1215. clear_has_response();
  1216. ::message::Dispatch_response_msg* temp = response_.dispatch_response_;
  1217. response_.dispatch_response_ = NULL;
  1218. return temp;
  1219. } else {
  1220. return NULL;
  1221. }
  1222. }
  1223. inline const ::message::Dispatch_response_msg& Node_log::dispatch_response() const {
  1224. // @@protoc_insertion_point(field_get:message.Node_log.dispatch_response)
  1225. return has_dispatch_response()
  1226. ? *response_.dispatch_response_
  1227. : *reinterpret_cast< ::message::Dispatch_response_msg*>(&::message::_Dispatch_response_msg_default_instance_);
  1228. }
  1229. inline ::message::Dispatch_response_msg* Node_log::mutable_dispatch_response() {
  1230. if (!has_dispatch_response()) {
  1231. clear_response();
  1232. set_has_dispatch_response();
  1233. response_.dispatch_response_ = CreateMaybeMessage< ::message::Dispatch_response_msg >(
  1234. GetArenaNoVirtual());
  1235. }
  1236. // @@protoc_insertion_point(field_mutable:message.Node_log.dispatch_response)
  1237. return response_.dispatch_response_;
  1238. }
  1239. // optional string description = 13;
  1240. inline bool Node_log::has_description() const {
  1241. return (_has_bits_[0] & 0x00000001u) != 0;
  1242. }
  1243. inline void Node_log::set_has_description() {
  1244. _has_bits_[0] |= 0x00000001u;
  1245. }
  1246. inline void Node_log::clear_has_description() {
  1247. _has_bits_[0] &= ~0x00000001u;
  1248. }
  1249. inline void Node_log::clear_description() {
  1250. description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1251. clear_has_description();
  1252. }
  1253. inline const ::std::string& Node_log::description() const {
  1254. // @@protoc_insertion_point(field_get:message.Node_log.description)
  1255. return description_.GetNoArena();
  1256. }
  1257. inline void Node_log::set_description(const ::std::string& value) {
  1258. set_has_description();
  1259. description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1260. // @@protoc_insertion_point(field_set:message.Node_log.description)
  1261. }
  1262. #if LANG_CXX11
  1263. inline void Node_log::set_description(::std::string&& value) {
  1264. set_has_description();
  1265. description_.SetNoArena(
  1266. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1267. // @@protoc_insertion_point(field_set_rvalue:message.Node_log.description)
  1268. }
  1269. #endif
  1270. inline void Node_log::set_description(const char* value) {
  1271. GOOGLE_DCHECK(value != NULL);
  1272. set_has_description();
  1273. description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1274. // @@protoc_insertion_point(field_set_char:message.Node_log.description)
  1275. }
  1276. inline void Node_log::set_description(const char* value, size_t size) {
  1277. set_has_description();
  1278. description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1279. ::std::string(reinterpret_cast<const char*>(value), size));
  1280. // @@protoc_insertion_point(field_set_pointer:message.Node_log.description)
  1281. }
  1282. inline ::std::string* Node_log::mutable_description() {
  1283. set_has_description();
  1284. // @@protoc_insertion_point(field_mutable:message.Node_log.description)
  1285. return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1286. }
  1287. inline ::std::string* Node_log::release_description() {
  1288. // @@protoc_insertion_point(field_release:message.Node_log.description)
  1289. if (!has_description()) {
  1290. return NULL;
  1291. }
  1292. clear_has_description();
  1293. return description_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1294. }
  1295. inline void Node_log::set_allocated_description(::std::string* description) {
  1296. if (description != NULL) {
  1297. set_has_description();
  1298. } else {
  1299. clear_has_description();
  1300. }
  1301. description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
  1302. // @@protoc_insertion_point(field_set_allocated:message.Node_log.description)
  1303. }
  1304. inline bool Node_log::has_request() const {
  1305. return request_case() != REQUEST_NOT_SET;
  1306. }
  1307. inline void Node_log::clear_has_request() {
  1308. _oneof_case_[0] = REQUEST_NOT_SET;
  1309. }
  1310. inline bool Node_log::has_response() const {
  1311. return response_case() != RESPONSE_NOT_SET;
  1312. }
  1313. inline void Node_log::clear_has_response() {
  1314. _oneof_case_[1] = RESPONSE_NOT_SET;
  1315. }
  1316. inline Node_log::RequestCase Node_log::request_case() const {
  1317. return Node_log::RequestCase(_oneof_case_[0]);
  1318. }
  1319. inline Node_log::ResponseCase Node_log::response_case() const {
  1320. return Node_log::ResponseCase(_oneof_case_[1]);
  1321. }
  1322. // -------------------------------------------------------------------
  1323. // Manual_operation_log
  1324. // required .message.Process_manual_operation_msg manual_operation = 1;
  1325. inline bool Manual_operation_log::has_manual_operation() const {
  1326. return (_has_bits_[0] & 0x00000002u) != 0;
  1327. }
  1328. inline void Manual_operation_log::set_has_manual_operation() {
  1329. _has_bits_[0] |= 0x00000002u;
  1330. }
  1331. inline void Manual_operation_log::clear_has_manual_operation() {
  1332. _has_bits_[0] &= ~0x00000002u;
  1333. }
  1334. inline const ::message::Process_manual_operation_msg& Manual_operation_log::_internal_manual_operation() const {
  1335. return *manual_operation_;
  1336. }
  1337. inline const ::message::Process_manual_operation_msg& Manual_operation_log::manual_operation() const {
  1338. const ::message::Process_manual_operation_msg* p = manual_operation_;
  1339. // @@protoc_insertion_point(field_get:message.Manual_operation_log.manual_operation)
  1340. return p != NULL ? *p : *reinterpret_cast<const ::message::Process_manual_operation_msg*>(
  1341. &::message::_Process_manual_operation_msg_default_instance_);
  1342. }
  1343. inline ::message::Process_manual_operation_msg* Manual_operation_log::release_manual_operation() {
  1344. // @@protoc_insertion_point(field_release:message.Manual_operation_log.manual_operation)
  1345. clear_has_manual_operation();
  1346. ::message::Process_manual_operation_msg* temp = manual_operation_;
  1347. manual_operation_ = NULL;
  1348. return temp;
  1349. }
  1350. inline ::message::Process_manual_operation_msg* Manual_operation_log::mutable_manual_operation() {
  1351. set_has_manual_operation();
  1352. if (manual_operation_ == NULL) {
  1353. auto* p = CreateMaybeMessage<::message::Process_manual_operation_msg>(GetArenaNoVirtual());
  1354. manual_operation_ = p;
  1355. }
  1356. // @@protoc_insertion_point(field_mutable:message.Manual_operation_log.manual_operation)
  1357. return manual_operation_;
  1358. }
  1359. inline void Manual_operation_log::set_allocated_manual_operation(::message::Process_manual_operation_msg* manual_operation) {
  1360. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1361. if (message_arena == NULL) {
  1362. delete reinterpret_cast< ::google::protobuf::MessageLite*>(manual_operation_);
  1363. }
  1364. if (manual_operation) {
  1365. ::google::protobuf::Arena* submessage_arena = NULL;
  1366. if (message_arena != submessage_arena) {
  1367. manual_operation = ::google::protobuf::internal::GetOwnedMessage(
  1368. message_arena, manual_operation, submessage_arena);
  1369. }
  1370. set_has_manual_operation();
  1371. } else {
  1372. clear_has_manual_operation();
  1373. }
  1374. manual_operation_ = manual_operation;
  1375. // @@protoc_insertion_point(field_set_allocated:message.Manual_operation_log.manual_operation)
  1376. }
  1377. // optional string description = 2;
  1378. inline bool Manual_operation_log::has_description() const {
  1379. return (_has_bits_[0] & 0x00000001u) != 0;
  1380. }
  1381. inline void Manual_operation_log::set_has_description() {
  1382. _has_bits_[0] |= 0x00000001u;
  1383. }
  1384. inline void Manual_operation_log::clear_has_description() {
  1385. _has_bits_[0] &= ~0x00000001u;
  1386. }
  1387. inline void Manual_operation_log::clear_description() {
  1388. description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1389. clear_has_description();
  1390. }
  1391. inline const ::std::string& Manual_operation_log::description() const {
  1392. // @@protoc_insertion_point(field_get:message.Manual_operation_log.description)
  1393. return description_.GetNoArena();
  1394. }
  1395. inline void Manual_operation_log::set_description(const ::std::string& value) {
  1396. set_has_description();
  1397. description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1398. // @@protoc_insertion_point(field_set:message.Manual_operation_log.description)
  1399. }
  1400. #if LANG_CXX11
  1401. inline void Manual_operation_log::set_description(::std::string&& value) {
  1402. set_has_description();
  1403. description_.SetNoArena(
  1404. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1405. // @@protoc_insertion_point(field_set_rvalue:message.Manual_operation_log.description)
  1406. }
  1407. #endif
  1408. inline void Manual_operation_log::set_description(const char* value) {
  1409. GOOGLE_DCHECK(value != NULL);
  1410. set_has_description();
  1411. description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1412. // @@protoc_insertion_point(field_set_char:message.Manual_operation_log.description)
  1413. }
  1414. inline void Manual_operation_log::set_description(const char* value, size_t size) {
  1415. set_has_description();
  1416. description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1417. ::std::string(reinterpret_cast<const char*>(value), size));
  1418. // @@protoc_insertion_point(field_set_pointer:message.Manual_operation_log.description)
  1419. }
  1420. inline ::std::string* Manual_operation_log::mutable_description() {
  1421. set_has_description();
  1422. // @@protoc_insertion_point(field_mutable:message.Manual_operation_log.description)
  1423. return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1424. }
  1425. inline ::std::string* Manual_operation_log::release_description() {
  1426. // @@protoc_insertion_point(field_release:message.Manual_operation_log.description)
  1427. if (!has_description()) {
  1428. return NULL;
  1429. }
  1430. clear_has_description();
  1431. return description_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1432. }
  1433. inline void Manual_operation_log::set_allocated_description(::std::string* description) {
  1434. if (description != NULL) {
  1435. set_has_description();
  1436. } else {
  1437. clear_has_description();
  1438. }
  1439. description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
  1440. // @@protoc_insertion_point(field_set_allocated:message.Manual_operation_log.description)
  1441. }
  1442. // -------------------------------------------------------------------
  1443. // Log_data
  1444. // required .message.Log_data.Severity log_severity = 1;
  1445. inline bool Log_data::has_log_severity() const {
  1446. return (_has_bits_[0] & 0x00000001u) != 0;
  1447. }
  1448. inline void Log_data::set_has_log_severity() {
  1449. _has_bits_[0] |= 0x00000001u;
  1450. }
  1451. inline void Log_data::clear_has_log_severity() {
  1452. _has_bits_[0] &= ~0x00000001u;
  1453. }
  1454. inline void Log_data::clear_log_severity() {
  1455. log_severity_ = 0;
  1456. clear_has_log_severity();
  1457. }
  1458. inline ::message::Log_data_Severity Log_data::log_severity() const {
  1459. // @@protoc_insertion_point(field_get:message.Log_data.log_severity)
  1460. return static_cast< ::message::Log_data_Severity >(log_severity_);
  1461. }
  1462. inline void Log_data::set_log_severity(::message::Log_data_Severity value) {
  1463. assert(::message::Log_data_Severity_IsValid(value));
  1464. set_has_log_severity();
  1465. log_severity_ = value;
  1466. // @@protoc_insertion_point(field_set:message.Log_data.log_severity)
  1467. }
  1468. // optional string str_log = 2;
  1469. inline bool Log_data::has_str_log() const {
  1470. return data_case() == kStrLog;
  1471. }
  1472. inline void Log_data::set_has_str_log() {
  1473. _oneof_case_[0] = kStrLog;
  1474. }
  1475. inline void Log_data::clear_str_log() {
  1476. if (has_str_log()) {
  1477. data_.str_log_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1478. clear_has_data();
  1479. }
  1480. }
  1481. inline const ::std::string& Log_data::str_log() const {
  1482. // @@protoc_insertion_point(field_get:message.Log_data.str_log)
  1483. if (has_str_log()) {
  1484. return data_.str_log_.GetNoArena();
  1485. }
  1486. return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
  1487. }
  1488. inline void Log_data::set_str_log(const ::std::string& value) {
  1489. // @@protoc_insertion_point(field_set:message.Log_data.str_log)
  1490. if (!has_str_log()) {
  1491. clear_data();
  1492. set_has_str_log();
  1493. data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1494. }
  1495. data_.str_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1496. // @@protoc_insertion_point(field_set:message.Log_data.str_log)
  1497. }
  1498. #if LANG_CXX11
  1499. inline void Log_data::set_str_log(::std::string&& value) {
  1500. // @@protoc_insertion_point(field_set:message.Log_data.str_log)
  1501. if (!has_str_log()) {
  1502. clear_data();
  1503. set_has_str_log();
  1504. data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1505. }
  1506. data_.str_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1507. // @@protoc_insertion_point(field_set_rvalue:message.Log_data.str_log)
  1508. }
  1509. #endif
  1510. inline void Log_data::set_str_log(const char* value) {
  1511. GOOGLE_DCHECK(value != NULL);
  1512. if (!has_str_log()) {
  1513. clear_data();
  1514. set_has_str_log();
  1515. data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1516. }
  1517. data_.str_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1518. ::std::string(value));
  1519. // @@protoc_insertion_point(field_set_char:message.Log_data.str_log)
  1520. }
  1521. inline void Log_data::set_str_log(const char* value, size_t size) {
  1522. if (!has_str_log()) {
  1523. clear_data();
  1524. set_has_str_log();
  1525. data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1526. }
  1527. data_.str_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1528. reinterpret_cast<const char*>(value), size));
  1529. // @@protoc_insertion_point(field_set_pointer:message.Log_data.str_log)
  1530. }
  1531. inline ::std::string* Log_data::mutable_str_log() {
  1532. if (!has_str_log()) {
  1533. clear_data();
  1534. set_has_str_log();
  1535. data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1536. }
  1537. // @@protoc_insertion_point(field_mutable:message.Log_data.str_log)
  1538. return data_.str_log_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1539. }
  1540. inline ::std::string* Log_data::release_str_log() {
  1541. // @@protoc_insertion_point(field_release:message.Log_data.str_log)
  1542. if (has_str_log()) {
  1543. clear_has_data();
  1544. return data_.str_log_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1545. } else {
  1546. return NULL;
  1547. }
  1548. }
  1549. inline void Log_data::set_allocated_str_log(::std::string* str_log) {
  1550. if (!has_str_log()) {
  1551. data_.str_log_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1552. }
  1553. clear_data();
  1554. if (str_log != NULL) {
  1555. set_has_str_log();
  1556. data_.str_log_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str_log);
  1557. }
  1558. // @@protoc_insertion_point(field_set_allocated:message.Log_data.str_log)
  1559. }
  1560. // optional .message.Node_log node_log = 3;
  1561. inline bool Log_data::has_node_log() const {
  1562. return data_case() == kNodeLog;
  1563. }
  1564. inline void Log_data::set_has_node_log() {
  1565. _oneof_case_[0] = kNodeLog;
  1566. }
  1567. inline void Log_data::clear_node_log() {
  1568. if (has_node_log()) {
  1569. delete data_.node_log_;
  1570. clear_has_data();
  1571. }
  1572. }
  1573. inline const ::message::Node_log& Log_data::_internal_node_log() const {
  1574. return *data_.node_log_;
  1575. }
  1576. inline ::message::Node_log* Log_data::release_node_log() {
  1577. // @@protoc_insertion_point(field_release:message.Log_data.node_log)
  1578. if (has_node_log()) {
  1579. clear_has_data();
  1580. ::message::Node_log* temp = data_.node_log_;
  1581. data_.node_log_ = NULL;
  1582. return temp;
  1583. } else {
  1584. return NULL;
  1585. }
  1586. }
  1587. inline const ::message::Node_log& Log_data::node_log() const {
  1588. // @@protoc_insertion_point(field_get:message.Log_data.node_log)
  1589. return has_node_log()
  1590. ? *data_.node_log_
  1591. : *reinterpret_cast< ::message::Node_log*>(&::message::_Node_log_default_instance_);
  1592. }
  1593. inline ::message::Node_log* Log_data::mutable_node_log() {
  1594. if (!has_node_log()) {
  1595. clear_data();
  1596. set_has_node_log();
  1597. data_.node_log_ = CreateMaybeMessage< ::message::Node_log >(
  1598. GetArenaNoVirtual());
  1599. }
  1600. // @@protoc_insertion_point(field_mutable:message.Log_data.node_log)
  1601. return data_.node_log_;
  1602. }
  1603. // optional .message.Manual_operation_log manual_operator_log = 4;
  1604. inline bool Log_data::has_manual_operator_log() const {
  1605. return data_case() == kManualOperatorLog;
  1606. }
  1607. inline void Log_data::set_has_manual_operator_log() {
  1608. _oneof_case_[0] = kManualOperatorLog;
  1609. }
  1610. inline void Log_data::clear_manual_operator_log() {
  1611. if (has_manual_operator_log()) {
  1612. delete data_.manual_operator_log_;
  1613. clear_has_data();
  1614. }
  1615. }
  1616. inline const ::message::Manual_operation_log& Log_data::_internal_manual_operator_log() const {
  1617. return *data_.manual_operator_log_;
  1618. }
  1619. inline ::message::Manual_operation_log* Log_data::release_manual_operator_log() {
  1620. // @@protoc_insertion_point(field_release:message.Log_data.manual_operator_log)
  1621. if (has_manual_operator_log()) {
  1622. clear_has_data();
  1623. ::message::Manual_operation_log* temp = data_.manual_operator_log_;
  1624. data_.manual_operator_log_ = NULL;
  1625. return temp;
  1626. } else {
  1627. return NULL;
  1628. }
  1629. }
  1630. inline const ::message::Manual_operation_log& Log_data::manual_operator_log() const {
  1631. // @@protoc_insertion_point(field_get:message.Log_data.manual_operator_log)
  1632. return has_manual_operator_log()
  1633. ? *data_.manual_operator_log_
  1634. : *reinterpret_cast< ::message::Manual_operation_log*>(&::message::_Manual_operation_log_default_instance_);
  1635. }
  1636. inline ::message::Manual_operation_log* Log_data::mutable_manual_operator_log() {
  1637. if (!has_manual_operator_log()) {
  1638. clear_data();
  1639. set_has_manual_operator_log();
  1640. data_.manual_operator_log_ = CreateMaybeMessage< ::message::Manual_operation_log >(
  1641. GetArenaNoVirtual());
  1642. }
  1643. // @@protoc_insertion_point(field_mutable:message.Log_data.manual_operator_log)
  1644. return data_.manual_operator_log_;
  1645. }
  1646. inline bool Log_data::has_data() const {
  1647. return data_case() != DATA_NOT_SET;
  1648. }
  1649. inline void Log_data::clear_has_data() {
  1650. _oneof_case_[0] = DATA_NOT_SET;
  1651. }
  1652. inline Log_data::DataCase Log_data::data_case() const {
  1653. return Log_data::DataCase(_oneof_case_[0]);
  1654. }
  1655. // -------------------------------------------------------------------
  1656. // Process_log
  1657. // required .message.Process_type process_type = 1;
  1658. inline bool Process_log::has_process_type() const {
  1659. return (_has_bits_[0] & 0x00000001u) != 0;
  1660. }
  1661. inline void Process_log::set_has_process_type() {
  1662. _has_bits_[0] |= 0x00000001u;
  1663. }
  1664. inline void Process_log::clear_has_process_type() {
  1665. _has_bits_[0] &= ~0x00000001u;
  1666. }
  1667. inline void Process_log::clear_process_type() {
  1668. process_type_ = 1;
  1669. clear_has_process_type();
  1670. }
  1671. inline ::message::Process_type Process_log::process_type() const {
  1672. // @@protoc_insertion_point(field_get:message.Process_log.process_type)
  1673. return static_cast< ::message::Process_type >(process_type_);
  1674. }
  1675. inline void Process_log::set_process_type(::message::Process_type value) {
  1676. assert(::message::Process_type_IsValid(value));
  1677. set_has_process_type();
  1678. process_type_ = value;
  1679. // @@protoc_insertion_point(field_set:message.Process_log.process_type)
  1680. }
  1681. // repeated .message.Log_data log_data = 2;
  1682. inline int Process_log::log_data_size() const {
  1683. return log_data_.size();
  1684. }
  1685. inline void Process_log::clear_log_data() {
  1686. log_data_.Clear();
  1687. }
  1688. inline ::message::Log_data* Process_log::mutable_log_data(int index) {
  1689. // @@protoc_insertion_point(field_mutable:message.Process_log.log_data)
  1690. return log_data_.Mutable(index);
  1691. }
  1692. inline ::google::protobuf::RepeatedPtrField< ::message::Log_data >*
  1693. Process_log::mutable_log_data() {
  1694. // @@protoc_insertion_point(field_mutable_list:message.Process_log.log_data)
  1695. return &log_data_;
  1696. }
  1697. inline const ::message::Log_data& Process_log::log_data(int index) const {
  1698. // @@protoc_insertion_point(field_get:message.Process_log.log_data)
  1699. return log_data_.Get(index);
  1700. }
  1701. inline ::message::Log_data* Process_log::add_log_data() {
  1702. // @@protoc_insertion_point(field_add:message.Process_log.log_data)
  1703. return log_data_.Add();
  1704. }
  1705. inline const ::google::protobuf::RepeatedPtrField< ::message::Log_data >&
  1706. Process_log::log_data() const {
  1707. // @@protoc_insertion_point(field_list:message.Process_log.log_data)
  1708. return log_data_;
  1709. }
  1710. #ifdef __GNUC__
  1711. #pragma GCC diagnostic pop
  1712. #endif // __GNUC__
  1713. // -------------------------------------------------------------------
  1714. // -------------------------------------------------------------------
  1715. // -------------------------------------------------------------------
  1716. // @@protoc_insertion_point(namespace_scope)
  1717. } // namespace message
  1718. namespace google {
  1719. namespace protobuf {
  1720. template <> struct is_proto_enum< ::message::Log_data_Severity> : ::std::true_type {};
  1721. template <>
  1722. inline const EnumDescriptor* GetEnumDescriptor< ::message::Log_data_Severity>() {
  1723. return ::message::Log_data_Severity_descriptor();
  1724. }
  1725. } // namespace protobuf
  1726. } // namespace google
  1727. // @@protoc_insertion_point(global_scope)
  1728. #endif // PROTOBUF_INCLUDED_log_5fprocess_2eproto