dispatch_control.pb.h 87 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: dispatch_control.proto
  3. #ifndef PROTOBUF_dispatch_5fcontrol_2eproto__INCLUDED
  4. #define PROTOBUF_dispatch_5fcontrol_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3005000
  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 3005000 < 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/metadata.h>
  23. #include <google/protobuf/message.h>
  24. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/generated_enum_reflection.h>
  27. #include <google/protobuf/unknown_field_set.h>
  28. #include "message_base.pb.h"
  29. // @@protoc_insertion_point(includes)
  30. namespace protobuf_dispatch_5fcontrol_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[4];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. void InitDefaultsDispatch_plan_request_msgImpl();
  42. void InitDefaultsDispatch_plan_request_msg();
  43. void InitDefaultsDispatch_plan_response_msgImpl();
  44. void InitDefaultsDispatch_plan_response_msg();
  45. void InitDefaultsDispatch_control_request_msgImpl();
  46. void InitDefaultsDispatch_control_request_msg();
  47. void InitDefaultsDispatch_control_response_msgImpl();
  48. void InitDefaultsDispatch_control_response_msg();
  49. inline void InitDefaults() {
  50. InitDefaultsDispatch_plan_request_msg();
  51. InitDefaultsDispatch_plan_response_msg();
  52. InitDefaultsDispatch_control_request_msg();
  53. InitDefaultsDispatch_control_response_msg();
  54. }
  55. } // namespace protobuf_dispatch_5fcontrol_2eproto
  56. namespace message {
  57. class Dispatch_control_request_msg;
  58. class Dispatch_control_request_msgDefaultTypeInternal;
  59. extern Dispatch_control_request_msgDefaultTypeInternal _Dispatch_control_request_msg_default_instance_;
  60. class Dispatch_control_response_msg;
  61. class Dispatch_control_response_msgDefaultTypeInternal;
  62. extern Dispatch_control_response_msgDefaultTypeInternal _Dispatch_control_response_msg_default_instance_;
  63. class Dispatch_plan_request_msg;
  64. class Dispatch_plan_request_msgDefaultTypeInternal;
  65. extern Dispatch_plan_request_msgDefaultTypeInternal _Dispatch_plan_request_msg_default_instance_;
  66. class Dispatch_plan_response_msg;
  67. class Dispatch_plan_response_msgDefaultTypeInternal;
  68. extern Dispatch_plan_response_msgDefaultTypeInternal _Dispatch_plan_response_msg_default_instance_;
  69. } // namespace message
  70. namespace message {
  71. enum Dispatch_task_type {
  72. DISPATCH_TASK_TYPE_UNKNOW = 0,
  73. DISPATCH_PLAN_STORE = 101,
  74. DISPATCH_PLAN_PICKUP = 102,
  75. ROBOT_CATCH_CAR_FROM_INLET = 1,
  76. ROBOT_PUT_CAR_TO_CARRIER = 2,
  77. ROBOT_CATCH_CAR_FROM_CARRIER = 3,
  78. ROBOT_PUT_CAR_TO_OUTLET = 4,
  79. ROBOT_MOVE = 5,
  80. CARRIER_RECEIVE_CAR_FROM_ROBOT = 11,
  81. CARRIER_STORE_CAR_TO_PARKINGSPACE = 12,
  82. CARRIER_STORE_CAR_TO_PARKINGSPACE_EX = 122,
  83. CARRIER_PICKUP_CAR_FROM_PARKINGSPACE = 13,
  84. CARRIER_PICKUP_CAR_FROM_PARKINGSPACE_EX = 133,
  85. CARRIER_DELIVER_CAR_TO_ROBOT = 14,
  86. CARRIER_MOVE = 15,
  87. PASSAGEWAY_OPEN_OUTSIDE_DOOR = 21,
  88. PASSAGEWAY_CLOSE_OUTSIDE_DOOR = 22,
  89. PASSAGEWAY_OPEN_INSIDE_DOOR = 23,
  90. PASSAGEWAY_CLOSE_INSIDE_DOOR = 24,
  91. PASSAGEWAY_ROTATE_TURNTABLE_TO_CARRIER = 25,
  92. PASSAGEWAY_ROTATE_TURNTABLE_TO_OUTLET = 26,
  93. DISPATCH_FINISH = 30,
  94. DISPATCH_CANCEL = 31,
  95. DISPATCH_PAUSE = 40,
  96. DISPATCH_RESERVED = 50
  97. };
  98. bool Dispatch_task_type_IsValid(int value);
  99. const Dispatch_task_type Dispatch_task_type_MIN = DISPATCH_TASK_TYPE_UNKNOW;
  100. const Dispatch_task_type Dispatch_task_type_MAX = CARRIER_PICKUP_CAR_FROM_PARKINGSPACE_EX;
  101. const int Dispatch_task_type_ARRAYSIZE = Dispatch_task_type_MAX + 1;
  102. const ::google::protobuf::EnumDescriptor* Dispatch_task_type_descriptor();
  103. inline const ::std::string& Dispatch_task_type_Name(Dispatch_task_type value) {
  104. return ::google::protobuf::internal::NameOfEnum(
  105. Dispatch_task_type_descriptor(), value);
  106. }
  107. inline bool Dispatch_task_type_Parse(
  108. const ::std::string& name, Dispatch_task_type* value) {
  109. return ::google::protobuf::internal::ParseNamedEnum<Dispatch_task_type>(
  110. Dispatch_task_type_descriptor(), name, value);
  111. }
  112. enum Dispatch_device_target_status {
  113. E_TARGET_STATUS_UNKNOW = 0,
  114. E_TARGET_STATUS_IDLE = 1,
  115. E_TARGET_STATUS_BUSY = 2,
  116. E_TARGET_STATUS_READY = 3,
  117. E_TARGET_STATUS_WAIT = 4
  118. };
  119. bool Dispatch_device_target_status_IsValid(int value);
  120. const Dispatch_device_target_status Dispatch_device_target_status_MIN = E_TARGET_STATUS_UNKNOW;
  121. const Dispatch_device_target_status Dispatch_device_target_status_MAX = E_TARGET_STATUS_WAIT;
  122. const int Dispatch_device_target_status_ARRAYSIZE = Dispatch_device_target_status_MAX + 1;
  123. const ::google::protobuf::EnumDescriptor* Dispatch_device_target_status_descriptor();
  124. inline const ::std::string& Dispatch_device_target_status_Name(Dispatch_device_target_status value) {
  125. return ::google::protobuf::internal::NameOfEnum(
  126. Dispatch_device_target_status_descriptor(), value);
  127. }
  128. inline bool Dispatch_device_target_status_Parse(
  129. const ::std::string& name, Dispatch_device_target_status* value) {
  130. return ::google::protobuf::internal::ParseNamedEnum<Dispatch_device_target_status>(
  131. Dispatch_device_target_status_descriptor(), name, value);
  132. }
  133. enum Dispatch_device_task_status {
  134. E_TASK_CREATED = 0,
  135. E_TASK_ISSUE = 1,
  136. E_TASK_SIGNED = 2,
  137. E_TASK_WORKING = 3,
  138. E_TASK_OVER = 4,
  139. E_TASK_STOP = 5,
  140. E_TASK_ERROR = 11,
  141. E_TASK_CANCEL = 21,
  142. E_TASK_DEAD = 22,
  143. E_TASK_WITHDRAW = 31,
  144. E_TASK_FREE = 32
  145. };
  146. bool Dispatch_device_task_status_IsValid(int value);
  147. const Dispatch_device_task_status Dispatch_device_task_status_MIN = E_TASK_CREATED;
  148. const Dispatch_device_task_status Dispatch_device_task_status_MAX = E_TASK_FREE;
  149. const int Dispatch_device_task_status_ARRAYSIZE = Dispatch_device_task_status_MAX + 1;
  150. const ::google::protobuf::EnumDescriptor* Dispatch_device_task_status_descriptor();
  151. inline const ::std::string& Dispatch_device_task_status_Name(Dispatch_device_task_status value) {
  152. return ::google::protobuf::internal::NameOfEnum(
  153. Dispatch_device_task_status_descriptor(), value);
  154. }
  155. inline bool Dispatch_device_task_status_Parse(
  156. const ::std::string& name, Dispatch_device_task_status* value) {
  157. return ::google::protobuf::internal::ParseNamedEnum<Dispatch_device_task_status>(
  158. Dispatch_device_task_status_descriptor(), name, value);
  159. }
  160. // ===================================================================
  161. class Dispatch_plan_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_plan_request_msg) */ {
  162. public:
  163. Dispatch_plan_request_msg();
  164. virtual ~Dispatch_plan_request_msg();
  165. Dispatch_plan_request_msg(const Dispatch_plan_request_msg& from);
  166. inline Dispatch_plan_request_msg& operator=(const Dispatch_plan_request_msg& from) {
  167. CopyFrom(from);
  168. return *this;
  169. }
  170. #if LANG_CXX11
  171. Dispatch_plan_request_msg(Dispatch_plan_request_msg&& from) noexcept
  172. : Dispatch_plan_request_msg() {
  173. *this = ::std::move(from);
  174. }
  175. inline Dispatch_plan_request_msg& operator=(Dispatch_plan_request_msg&& from) noexcept {
  176. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  177. if (this != &from) InternalSwap(&from);
  178. } else {
  179. CopyFrom(from);
  180. }
  181. return *this;
  182. }
  183. #endif
  184. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  185. return _internal_metadata_.unknown_fields();
  186. }
  187. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  188. return _internal_metadata_.mutable_unknown_fields();
  189. }
  190. static const ::google::protobuf::Descriptor* descriptor();
  191. static const Dispatch_plan_request_msg& default_instance();
  192. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  193. static inline const Dispatch_plan_request_msg* internal_default_instance() {
  194. return reinterpret_cast<const Dispatch_plan_request_msg*>(
  195. &_Dispatch_plan_request_msg_default_instance_);
  196. }
  197. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  198. 0;
  199. void Swap(Dispatch_plan_request_msg* other);
  200. friend void swap(Dispatch_plan_request_msg& a, Dispatch_plan_request_msg& b) {
  201. a.Swap(&b);
  202. }
  203. // implements Message ----------------------------------------------
  204. inline Dispatch_plan_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  205. Dispatch_plan_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  206. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  207. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  208. void CopyFrom(const Dispatch_plan_request_msg& from);
  209. void MergeFrom(const Dispatch_plan_request_msg& from);
  210. void Clear() PROTOBUF_FINAL;
  211. bool IsInitialized() const PROTOBUF_FINAL;
  212. size_t ByteSizeLong() const PROTOBUF_FINAL;
  213. bool MergePartialFromCodedStream(
  214. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  215. void SerializeWithCachedSizes(
  216. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  217. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  218. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  219. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  220. private:
  221. void SharedCtor();
  222. void SharedDtor();
  223. void SetCachedSize(int size) const PROTOBUF_FINAL;
  224. void InternalSwap(Dispatch_plan_request_msg* other);
  225. private:
  226. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  227. return NULL;
  228. }
  229. inline void* MaybeArenaPtr() const {
  230. return NULL;
  231. }
  232. public:
  233. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  234. // nested types ----------------------------------------------------
  235. // accessors -------------------------------------------------------
  236. // required string command_key = 2;
  237. bool has_command_key() const;
  238. void clear_command_key();
  239. static const int kCommandKeyFieldNumber = 2;
  240. const ::std::string& command_key() const;
  241. void set_command_key(const ::std::string& value);
  242. #if LANG_CXX11
  243. void set_command_key(::std::string&& value);
  244. #endif
  245. void set_command_key(const char* value);
  246. void set_command_key(const char* value, size_t size);
  247. ::std::string* mutable_command_key();
  248. ::std::string* release_command_key();
  249. void set_allocated_command_key(::std::string* command_key);
  250. // required .message.Base_info base_info = 1;
  251. bool has_base_info() const;
  252. void clear_base_info();
  253. static const int kBaseInfoFieldNumber = 1;
  254. const ::message::Base_info& base_info() const;
  255. ::message::Base_info* release_base_info();
  256. ::message::Base_info* mutable_base_info();
  257. void set_allocated_base_info(::message::Base_info* base_info);
  258. // optional .message.Error_manager error_manager = 6;
  259. bool has_error_manager() const;
  260. void clear_error_manager();
  261. static const int kErrorManagerFieldNumber = 6;
  262. const ::message::Error_manager& error_manager() const;
  263. ::message::Error_manager* release_error_manager();
  264. ::message::Error_manager* mutable_error_manager();
  265. void set_allocated_error_manager(::message::Error_manager* error_manager);
  266. // optional .message.Dispatch_task_type dispatch_task_type = 3;
  267. bool has_dispatch_task_type() const;
  268. void clear_dispatch_task_type();
  269. static const int kDispatchTaskTypeFieldNumber = 3;
  270. ::message::Dispatch_task_type dispatch_task_type() const;
  271. void set_dispatch_task_type(::message::Dispatch_task_type value);
  272. // optional int32 dispatch_source = 4;
  273. bool has_dispatch_source() const;
  274. void clear_dispatch_source();
  275. static const int kDispatchSourceFieldNumber = 4;
  276. ::google::protobuf::int32 dispatch_source() const;
  277. void set_dispatch_source(::google::protobuf::int32 value);
  278. // optional int32 dispatch_destination = 5;
  279. bool has_dispatch_destination() const;
  280. void clear_dispatch_destination();
  281. static const int kDispatchDestinationFieldNumber = 5;
  282. ::google::protobuf::int32 dispatch_destination() const;
  283. void set_dispatch_destination(::google::protobuf::int32 value);
  284. // @@protoc_insertion_point(class_scope:message.Dispatch_plan_request_msg)
  285. private:
  286. void set_has_base_info();
  287. void clear_has_base_info();
  288. void set_has_command_key();
  289. void clear_has_command_key();
  290. void set_has_dispatch_task_type();
  291. void clear_has_dispatch_task_type();
  292. void set_has_dispatch_source();
  293. void clear_has_dispatch_source();
  294. void set_has_dispatch_destination();
  295. void clear_has_dispatch_destination();
  296. void set_has_error_manager();
  297. void clear_has_error_manager();
  298. // helper for ByteSizeLong()
  299. size_t RequiredFieldsByteSizeFallback() const;
  300. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  301. ::google::protobuf::internal::HasBits<1> _has_bits_;
  302. mutable int _cached_size_;
  303. ::google::protobuf::internal::ArenaStringPtr command_key_;
  304. ::message::Base_info* base_info_;
  305. ::message::Error_manager* error_manager_;
  306. int dispatch_task_type_;
  307. ::google::protobuf::int32 dispatch_source_;
  308. ::google::protobuf::int32 dispatch_destination_;
  309. friend struct ::protobuf_dispatch_5fcontrol_2eproto::TableStruct;
  310. friend void ::protobuf_dispatch_5fcontrol_2eproto::InitDefaultsDispatch_plan_request_msgImpl();
  311. };
  312. // -------------------------------------------------------------------
  313. class Dispatch_plan_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_plan_response_msg) */ {
  314. public:
  315. Dispatch_plan_response_msg();
  316. virtual ~Dispatch_plan_response_msg();
  317. Dispatch_plan_response_msg(const Dispatch_plan_response_msg& from);
  318. inline Dispatch_plan_response_msg& operator=(const Dispatch_plan_response_msg& from) {
  319. CopyFrom(from);
  320. return *this;
  321. }
  322. #if LANG_CXX11
  323. Dispatch_plan_response_msg(Dispatch_plan_response_msg&& from) noexcept
  324. : Dispatch_plan_response_msg() {
  325. *this = ::std::move(from);
  326. }
  327. inline Dispatch_plan_response_msg& operator=(Dispatch_plan_response_msg&& from) noexcept {
  328. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  329. if (this != &from) InternalSwap(&from);
  330. } else {
  331. CopyFrom(from);
  332. }
  333. return *this;
  334. }
  335. #endif
  336. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  337. return _internal_metadata_.unknown_fields();
  338. }
  339. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  340. return _internal_metadata_.mutable_unknown_fields();
  341. }
  342. static const ::google::protobuf::Descriptor* descriptor();
  343. static const Dispatch_plan_response_msg& default_instance();
  344. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  345. static inline const Dispatch_plan_response_msg* internal_default_instance() {
  346. return reinterpret_cast<const Dispatch_plan_response_msg*>(
  347. &_Dispatch_plan_response_msg_default_instance_);
  348. }
  349. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  350. 1;
  351. void Swap(Dispatch_plan_response_msg* other);
  352. friend void swap(Dispatch_plan_response_msg& a, Dispatch_plan_response_msg& b) {
  353. a.Swap(&b);
  354. }
  355. // implements Message ----------------------------------------------
  356. inline Dispatch_plan_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  357. Dispatch_plan_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  358. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  359. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  360. void CopyFrom(const Dispatch_plan_response_msg& from);
  361. void MergeFrom(const Dispatch_plan_response_msg& from);
  362. void Clear() PROTOBUF_FINAL;
  363. bool IsInitialized() const PROTOBUF_FINAL;
  364. size_t ByteSizeLong() const PROTOBUF_FINAL;
  365. bool MergePartialFromCodedStream(
  366. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  367. void SerializeWithCachedSizes(
  368. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  369. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  370. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  371. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  372. private:
  373. void SharedCtor();
  374. void SharedDtor();
  375. void SetCachedSize(int size) const PROTOBUF_FINAL;
  376. void InternalSwap(Dispatch_plan_response_msg* other);
  377. private:
  378. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  379. return NULL;
  380. }
  381. inline void* MaybeArenaPtr() const {
  382. return NULL;
  383. }
  384. public:
  385. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  386. // nested types ----------------------------------------------------
  387. // accessors -------------------------------------------------------
  388. // required string command_key = 2;
  389. bool has_command_key() const;
  390. void clear_command_key();
  391. static const int kCommandKeyFieldNumber = 2;
  392. const ::std::string& command_key() const;
  393. void set_command_key(const ::std::string& value);
  394. #if LANG_CXX11
  395. void set_command_key(::std::string&& value);
  396. #endif
  397. void set_command_key(const char* value);
  398. void set_command_key(const char* value, size_t size);
  399. ::std::string* mutable_command_key();
  400. ::std::string* release_command_key();
  401. void set_allocated_command_key(::std::string* command_key);
  402. // required .message.Base_info base_info = 1;
  403. bool has_base_info() const;
  404. void clear_base_info();
  405. static const int kBaseInfoFieldNumber = 1;
  406. const ::message::Base_info& base_info() const;
  407. ::message::Base_info* release_base_info();
  408. ::message::Base_info* mutable_base_info();
  409. void set_allocated_base_info(::message::Base_info* base_info);
  410. // optional .message.Error_manager error_manager = 6;
  411. bool has_error_manager() const;
  412. void clear_error_manager();
  413. static const int kErrorManagerFieldNumber = 6;
  414. const ::message::Error_manager& error_manager() const;
  415. ::message::Error_manager* release_error_manager();
  416. ::message::Error_manager* mutable_error_manager();
  417. void set_allocated_error_manager(::message::Error_manager* error_manager);
  418. // optional .message.Dispatch_task_type dispatch_task_type = 3;
  419. bool has_dispatch_task_type() const;
  420. void clear_dispatch_task_type();
  421. static const int kDispatchTaskTypeFieldNumber = 3;
  422. ::message::Dispatch_task_type dispatch_task_type() const;
  423. void set_dispatch_task_type(::message::Dispatch_task_type value);
  424. // optional int32 dispatch_source = 4;
  425. bool has_dispatch_source() const;
  426. void clear_dispatch_source();
  427. static const int kDispatchSourceFieldNumber = 4;
  428. ::google::protobuf::int32 dispatch_source() const;
  429. void set_dispatch_source(::google::protobuf::int32 value);
  430. // optional int32 dispatch_destination = 5;
  431. bool has_dispatch_destination() const;
  432. void clear_dispatch_destination();
  433. static const int kDispatchDestinationFieldNumber = 5;
  434. ::google::protobuf::int32 dispatch_destination() const;
  435. void set_dispatch_destination(::google::protobuf::int32 value);
  436. // @@protoc_insertion_point(class_scope:message.Dispatch_plan_response_msg)
  437. private:
  438. void set_has_base_info();
  439. void clear_has_base_info();
  440. void set_has_command_key();
  441. void clear_has_command_key();
  442. void set_has_dispatch_task_type();
  443. void clear_has_dispatch_task_type();
  444. void set_has_dispatch_source();
  445. void clear_has_dispatch_source();
  446. void set_has_dispatch_destination();
  447. void clear_has_dispatch_destination();
  448. void set_has_error_manager();
  449. void clear_has_error_manager();
  450. // helper for ByteSizeLong()
  451. size_t RequiredFieldsByteSizeFallback() const;
  452. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  453. ::google::protobuf::internal::HasBits<1> _has_bits_;
  454. mutable int _cached_size_;
  455. ::google::protobuf::internal::ArenaStringPtr command_key_;
  456. ::message::Base_info* base_info_;
  457. ::message::Error_manager* error_manager_;
  458. int dispatch_task_type_;
  459. ::google::protobuf::int32 dispatch_source_;
  460. ::google::protobuf::int32 dispatch_destination_;
  461. friend struct ::protobuf_dispatch_5fcontrol_2eproto::TableStruct;
  462. friend void ::protobuf_dispatch_5fcontrol_2eproto::InitDefaultsDispatch_plan_response_msgImpl();
  463. };
  464. // -------------------------------------------------------------------
  465. class Dispatch_control_request_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_control_request_msg) */ {
  466. public:
  467. Dispatch_control_request_msg();
  468. virtual ~Dispatch_control_request_msg();
  469. Dispatch_control_request_msg(const Dispatch_control_request_msg& from);
  470. inline Dispatch_control_request_msg& operator=(const Dispatch_control_request_msg& from) {
  471. CopyFrom(from);
  472. return *this;
  473. }
  474. #if LANG_CXX11
  475. Dispatch_control_request_msg(Dispatch_control_request_msg&& from) noexcept
  476. : Dispatch_control_request_msg() {
  477. *this = ::std::move(from);
  478. }
  479. inline Dispatch_control_request_msg& operator=(Dispatch_control_request_msg&& from) noexcept {
  480. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  481. if (this != &from) InternalSwap(&from);
  482. } else {
  483. CopyFrom(from);
  484. }
  485. return *this;
  486. }
  487. #endif
  488. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  489. return _internal_metadata_.unknown_fields();
  490. }
  491. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  492. return _internal_metadata_.mutable_unknown_fields();
  493. }
  494. static const ::google::protobuf::Descriptor* descriptor();
  495. static const Dispatch_control_request_msg& default_instance();
  496. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  497. static inline const Dispatch_control_request_msg* internal_default_instance() {
  498. return reinterpret_cast<const Dispatch_control_request_msg*>(
  499. &_Dispatch_control_request_msg_default_instance_);
  500. }
  501. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  502. 2;
  503. void Swap(Dispatch_control_request_msg* other);
  504. friend void swap(Dispatch_control_request_msg& a, Dispatch_control_request_msg& b) {
  505. a.Swap(&b);
  506. }
  507. // implements Message ----------------------------------------------
  508. inline Dispatch_control_request_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  509. Dispatch_control_request_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  510. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  511. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  512. void CopyFrom(const Dispatch_control_request_msg& from);
  513. void MergeFrom(const Dispatch_control_request_msg& from);
  514. void Clear() PROTOBUF_FINAL;
  515. bool IsInitialized() const PROTOBUF_FINAL;
  516. size_t ByteSizeLong() const PROTOBUF_FINAL;
  517. bool MergePartialFromCodedStream(
  518. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  519. void SerializeWithCachedSizes(
  520. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  521. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  522. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  523. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  524. private:
  525. void SharedCtor();
  526. void SharedDtor();
  527. void SetCachedSize(int size) const PROTOBUF_FINAL;
  528. void InternalSwap(Dispatch_control_request_msg* other);
  529. private:
  530. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  531. return NULL;
  532. }
  533. inline void* MaybeArenaPtr() const {
  534. return NULL;
  535. }
  536. public:
  537. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  538. // nested types ----------------------------------------------------
  539. // accessors -------------------------------------------------------
  540. // required string command_key = 2;
  541. bool has_command_key() const;
  542. void clear_command_key();
  543. static const int kCommandKeyFieldNumber = 2;
  544. const ::std::string& command_key() const;
  545. void set_command_key(const ::std::string& value);
  546. #if LANG_CXX11
  547. void set_command_key(::std::string&& value);
  548. #endif
  549. void set_command_key(const char* value);
  550. void set_command_key(const char* value, size_t size);
  551. ::std::string* mutable_command_key();
  552. ::std::string* release_command_key();
  553. void set_allocated_command_key(::std::string* command_key);
  554. // required .message.Base_info base_info = 1;
  555. bool has_base_info() const;
  556. void clear_base_info();
  557. static const int kBaseInfoFieldNumber = 1;
  558. const ::message::Base_info& base_info() const;
  559. ::message::Base_info* release_base_info();
  560. ::message::Base_info* mutable_base_info();
  561. void set_allocated_base_info(::message::Base_info* base_info);
  562. // optional .message.Error_manager error_manager = 7;
  563. bool has_error_manager() const;
  564. void clear_error_manager();
  565. static const int kErrorManagerFieldNumber = 7;
  566. const ::message::Error_manager& error_manager() const;
  567. ::message::Error_manager* release_error_manager();
  568. ::message::Error_manager* mutable_error_manager();
  569. void set_allocated_error_manager(::message::Error_manager* error_manager);
  570. // required .message.Dispatch_task_type dispatch_task_type = 3;
  571. bool has_dispatch_task_type() const;
  572. void clear_dispatch_task_type();
  573. static const int kDispatchTaskTypeFieldNumber = 3;
  574. ::message::Dispatch_task_type dispatch_task_type() const;
  575. void set_dispatch_task_type(::message::Dispatch_task_type value);
  576. // optional int32 dispatch_source = 5;
  577. bool has_dispatch_source() const;
  578. void clear_dispatch_source();
  579. static const int kDispatchSourceFieldNumber = 5;
  580. ::google::protobuf::int32 dispatch_source() const;
  581. void set_dispatch_source(::google::protobuf::int32 value);
  582. // optional int32 dispatch_destination = 6;
  583. bool has_dispatch_destination() const;
  584. void clear_dispatch_destination();
  585. static const int kDispatchDestinationFieldNumber = 6;
  586. ::google::protobuf::int32 dispatch_destination() const;
  587. void set_dispatch_destination(::google::protobuf::int32 value);
  588. // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
  589. bool has_dispatch_device_target_status() const;
  590. void clear_dispatch_device_target_status();
  591. static const int kDispatchDeviceTargetStatusFieldNumber = 8;
  592. ::message::Dispatch_device_target_status dispatch_device_target_status() const;
  593. void set_dispatch_device_target_status(::message::Dispatch_device_target_status value);
  594. // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
  595. bool has_dispatch_device_task_status() const;
  596. void clear_dispatch_device_task_status();
  597. static const int kDispatchDeviceTaskStatusFieldNumber = 9;
  598. ::message::Dispatch_device_task_status dispatch_device_task_status() const;
  599. void set_dispatch_device_task_status(::message::Dispatch_device_task_status value);
  600. // optional .message.Dispatch_device_type dispatch_device_type = 4;
  601. bool has_dispatch_device_type() const;
  602. void clear_dispatch_device_type();
  603. static const int kDispatchDeviceTypeFieldNumber = 4;
  604. ::message::Dispatch_device_type dispatch_device_type() const;
  605. void set_dispatch_device_type(::message::Dispatch_device_type value);
  606. // @@protoc_insertion_point(class_scope:message.Dispatch_control_request_msg)
  607. private:
  608. void set_has_base_info();
  609. void clear_has_base_info();
  610. void set_has_command_key();
  611. void clear_has_command_key();
  612. void set_has_dispatch_task_type();
  613. void clear_has_dispatch_task_type();
  614. void set_has_dispatch_device_type();
  615. void clear_has_dispatch_device_type();
  616. void set_has_dispatch_source();
  617. void clear_has_dispatch_source();
  618. void set_has_dispatch_destination();
  619. void clear_has_dispatch_destination();
  620. void set_has_error_manager();
  621. void clear_has_error_manager();
  622. void set_has_dispatch_device_target_status();
  623. void clear_has_dispatch_device_target_status();
  624. void set_has_dispatch_device_task_status();
  625. void clear_has_dispatch_device_task_status();
  626. // helper for ByteSizeLong()
  627. size_t RequiredFieldsByteSizeFallback() const;
  628. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  629. ::google::protobuf::internal::HasBits<1> _has_bits_;
  630. mutable int _cached_size_;
  631. ::google::protobuf::internal::ArenaStringPtr command_key_;
  632. ::message::Base_info* base_info_;
  633. ::message::Error_manager* error_manager_;
  634. int dispatch_task_type_;
  635. ::google::protobuf::int32 dispatch_source_;
  636. ::google::protobuf::int32 dispatch_destination_;
  637. int dispatch_device_target_status_;
  638. int dispatch_device_task_status_;
  639. int dispatch_device_type_;
  640. friend struct ::protobuf_dispatch_5fcontrol_2eproto::TableStruct;
  641. friend void ::protobuf_dispatch_5fcontrol_2eproto::InitDefaultsDispatch_control_request_msgImpl();
  642. };
  643. // -------------------------------------------------------------------
  644. class Dispatch_control_response_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_control_response_msg) */ {
  645. public:
  646. Dispatch_control_response_msg();
  647. virtual ~Dispatch_control_response_msg();
  648. Dispatch_control_response_msg(const Dispatch_control_response_msg& from);
  649. inline Dispatch_control_response_msg& operator=(const Dispatch_control_response_msg& from) {
  650. CopyFrom(from);
  651. return *this;
  652. }
  653. #if LANG_CXX11
  654. Dispatch_control_response_msg(Dispatch_control_response_msg&& from) noexcept
  655. : Dispatch_control_response_msg() {
  656. *this = ::std::move(from);
  657. }
  658. inline Dispatch_control_response_msg& operator=(Dispatch_control_response_msg&& from) noexcept {
  659. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  660. if (this != &from) InternalSwap(&from);
  661. } else {
  662. CopyFrom(from);
  663. }
  664. return *this;
  665. }
  666. #endif
  667. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  668. return _internal_metadata_.unknown_fields();
  669. }
  670. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  671. return _internal_metadata_.mutable_unknown_fields();
  672. }
  673. static const ::google::protobuf::Descriptor* descriptor();
  674. static const Dispatch_control_response_msg& default_instance();
  675. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  676. static inline const Dispatch_control_response_msg* internal_default_instance() {
  677. return reinterpret_cast<const Dispatch_control_response_msg*>(
  678. &_Dispatch_control_response_msg_default_instance_);
  679. }
  680. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  681. 3;
  682. void Swap(Dispatch_control_response_msg* other);
  683. friend void swap(Dispatch_control_response_msg& a, Dispatch_control_response_msg& b) {
  684. a.Swap(&b);
  685. }
  686. // implements Message ----------------------------------------------
  687. inline Dispatch_control_response_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  688. Dispatch_control_response_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  689. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  690. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  691. void CopyFrom(const Dispatch_control_response_msg& from);
  692. void MergeFrom(const Dispatch_control_response_msg& from);
  693. void Clear() PROTOBUF_FINAL;
  694. bool IsInitialized() const PROTOBUF_FINAL;
  695. size_t ByteSizeLong() const PROTOBUF_FINAL;
  696. bool MergePartialFromCodedStream(
  697. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  698. void SerializeWithCachedSizes(
  699. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  700. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  701. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  702. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  703. private:
  704. void SharedCtor();
  705. void SharedDtor();
  706. void SetCachedSize(int size) const PROTOBUF_FINAL;
  707. void InternalSwap(Dispatch_control_response_msg* other);
  708. private:
  709. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  710. return NULL;
  711. }
  712. inline void* MaybeArenaPtr() const {
  713. return NULL;
  714. }
  715. public:
  716. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  717. // nested types ----------------------------------------------------
  718. // accessors -------------------------------------------------------
  719. // required string command_key = 2;
  720. bool has_command_key() const;
  721. void clear_command_key();
  722. static const int kCommandKeyFieldNumber = 2;
  723. const ::std::string& command_key() const;
  724. void set_command_key(const ::std::string& value);
  725. #if LANG_CXX11
  726. void set_command_key(::std::string&& value);
  727. #endif
  728. void set_command_key(const char* value);
  729. void set_command_key(const char* value, size_t size);
  730. ::std::string* mutable_command_key();
  731. ::std::string* release_command_key();
  732. void set_allocated_command_key(::std::string* command_key);
  733. // required .message.Base_info base_info = 1;
  734. bool has_base_info() const;
  735. void clear_base_info();
  736. static const int kBaseInfoFieldNumber = 1;
  737. const ::message::Base_info& base_info() const;
  738. ::message::Base_info* release_base_info();
  739. ::message::Base_info* mutable_base_info();
  740. void set_allocated_base_info(::message::Base_info* base_info);
  741. // optional .message.Error_manager error_manager = 7;
  742. bool has_error_manager() const;
  743. void clear_error_manager();
  744. static const int kErrorManagerFieldNumber = 7;
  745. const ::message::Error_manager& error_manager() const;
  746. ::message::Error_manager* release_error_manager();
  747. ::message::Error_manager* mutable_error_manager();
  748. void set_allocated_error_manager(::message::Error_manager* error_manager);
  749. // optional .message.Dispatch_task_type dispatch_task_type = 3;
  750. bool has_dispatch_task_type() const;
  751. void clear_dispatch_task_type();
  752. static const int kDispatchTaskTypeFieldNumber = 3;
  753. ::message::Dispatch_task_type dispatch_task_type() const;
  754. void set_dispatch_task_type(::message::Dispatch_task_type value);
  755. // optional int32 dispatch_source = 5;
  756. bool has_dispatch_source() const;
  757. void clear_dispatch_source();
  758. static const int kDispatchSourceFieldNumber = 5;
  759. ::google::protobuf::int32 dispatch_source() const;
  760. void set_dispatch_source(::google::protobuf::int32 value);
  761. // optional int32 dispatch_destination = 6;
  762. bool has_dispatch_destination() const;
  763. void clear_dispatch_destination();
  764. static const int kDispatchDestinationFieldNumber = 6;
  765. ::google::protobuf::int32 dispatch_destination() const;
  766. void set_dispatch_destination(::google::protobuf::int32 value);
  767. // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
  768. bool has_dispatch_device_target_status() const;
  769. void clear_dispatch_device_target_status();
  770. static const int kDispatchDeviceTargetStatusFieldNumber = 8;
  771. ::message::Dispatch_device_target_status dispatch_device_target_status() const;
  772. void set_dispatch_device_target_status(::message::Dispatch_device_target_status value);
  773. // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
  774. bool has_dispatch_device_task_status() const;
  775. void clear_dispatch_device_task_status();
  776. static const int kDispatchDeviceTaskStatusFieldNumber = 9;
  777. ::message::Dispatch_device_task_status dispatch_device_task_status() const;
  778. void set_dispatch_device_task_status(::message::Dispatch_device_task_status value);
  779. // optional .message.Dispatch_device_type dispatch_device_type = 4;
  780. bool has_dispatch_device_type() const;
  781. void clear_dispatch_device_type();
  782. static const int kDispatchDeviceTypeFieldNumber = 4;
  783. ::message::Dispatch_device_type dispatch_device_type() const;
  784. void set_dispatch_device_type(::message::Dispatch_device_type value);
  785. // @@protoc_insertion_point(class_scope:message.Dispatch_control_response_msg)
  786. private:
  787. void set_has_base_info();
  788. void clear_has_base_info();
  789. void set_has_command_key();
  790. void clear_has_command_key();
  791. void set_has_dispatch_task_type();
  792. void clear_has_dispatch_task_type();
  793. void set_has_dispatch_device_type();
  794. void clear_has_dispatch_device_type();
  795. void set_has_dispatch_source();
  796. void clear_has_dispatch_source();
  797. void set_has_dispatch_destination();
  798. void clear_has_dispatch_destination();
  799. void set_has_error_manager();
  800. void clear_has_error_manager();
  801. void set_has_dispatch_device_target_status();
  802. void clear_has_dispatch_device_target_status();
  803. void set_has_dispatch_device_task_status();
  804. void clear_has_dispatch_device_task_status();
  805. // helper for ByteSizeLong()
  806. size_t RequiredFieldsByteSizeFallback() const;
  807. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  808. ::google::protobuf::internal::HasBits<1> _has_bits_;
  809. mutable int _cached_size_;
  810. ::google::protobuf::internal::ArenaStringPtr command_key_;
  811. ::message::Base_info* base_info_;
  812. ::message::Error_manager* error_manager_;
  813. int dispatch_task_type_;
  814. ::google::protobuf::int32 dispatch_source_;
  815. ::google::protobuf::int32 dispatch_destination_;
  816. int dispatch_device_target_status_;
  817. int dispatch_device_task_status_;
  818. int dispatch_device_type_;
  819. friend struct ::protobuf_dispatch_5fcontrol_2eproto::TableStruct;
  820. friend void ::protobuf_dispatch_5fcontrol_2eproto::InitDefaultsDispatch_control_response_msgImpl();
  821. };
  822. // ===================================================================
  823. // ===================================================================
  824. #ifdef __GNUC__
  825. #pragma GCC diagnostic push
  826. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  827. #endif // __GNUC__
  828. // Dispatch_plan_request_msg
  829. // required .message.Base_info base_info = 1;
  830. inline bool Dispatch_plan_request_msg::has_base_info() const {
  831. return (_has_bits_[0] & 0x00000002u) != 0;
  832. }
  833. inline void Dispatch_plan_request_msg::set_has_base_info() {
  834. _has_bits_[0] |= 0x00000002u;
  835. }
  836. inline void Dispatch_plan_request_msg::clear_has_base_info() {
  837. _has_bits_[0] &= ~0x00000002u;
  838. }
  839. inline const ::message::Base_info& Dispatch_plan_request_msg::base_info() const {
  840. const ::message::Base_info* p = base_info_;
  841. // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.base_info)
  842. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  843. &::message::_Base_info_default_instance_);
  844. }
  845. inline ::message::Base_info* Dispatch_plan_request_msg::release_base_info() {
  846. // @@protoc_insertion_point(field_release:message.Dispatch_plan_request_msg.base_info)
  847. clear_has_base_info();
  848. ::message::Base_info* temp = base_info_;
  849. base_info_ = NULL;
  850. return temp;
  851. }
  852. inline ::message::Base_info* Dispatch_plan_request_msg::mutable_base_info() {
  853. set_has_base_info();
  854. if (base_info_ == NULL) {
  855. base_info_ = new ::message::Base_info;
  856. }
  857. // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_request_msg.base_info)
  858. return base_info_;
  859. }
  860. inline void Dispatch_plan_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  861. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  862. if (message_arena == NULL) {
  863. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  864. }
  865. if (base_info) {
  866. ::google::protobuf::Arena* submessage_arena = NULL;
  867. if (message_arena != submessage_arena) {
  868. base_info = ::google::protobuf::internal::GetOwnedMessage(
  869. message_arena, base_info, submessage_arena);
  870. }
  871. set_has_base_info();
  872. } else {
  873. clear_has_base_info();
  874. }
  875. base_info_ = base_info;
  876. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_request_msg.base_info)
  877. }
  878. // required string command_key = 2;
  879. inline bool Dispatch_plan_request_msg::has_command_key() const {
  880. return (_has_bits_[0] & 0x00000001u) != 0;
  881. }
  882. inline void Dispatch_plan_request_msg::set_has_command_key() {
  883. _has_bits_[0] |= 0x00000001u;
  884. }
  885. inline void Dispatch_plan_request_msg::clear_has_command_key() {
  886. _has_bits_[0] &= ~0x00000001u;
  887. }
  888. inline void Dispatch_plan_request_msg::clear_command_key() {
  889. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  890. clear_has_command_key();
  891. }
  892. inline const ::std::string& Dispatch_plan_request_msg::command_key() const {
  893. // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.command_key)
  894. return command_key_.GetNoArena();
  895. }
  896. inline void Dispatch_plan_request_msg::set_command_key(const ::std::string& value) {
  897. set_has_command_key();
  898. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  899. // @@protoc_insertion_point(field_set:message.Dispatch_plan_request_msg.command_key)
  900. }
  901. #if LANG_CXX11
  902. inline void Dispatch_plan_request_msg::set_command_key(::std::string&& value) {
  903. set_has_command_key();
  904. command_key_.SetNoArena(
  905. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  906. // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_plan_request_msg.command_key)
  907. }
  908. #endif
  909. inline void Dispatch_plan_request_msg::set_command_key(const char* value) {
  910. GOOGLE_DCHECK(value != NULL);
  911. set_has_command_key();
  912. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  913. // @@protoc_insertion_point(field_set_char:message.Dispatch_plan_request_msg.command_key)
  914. }
  915. inline void Dispatch_plan_request_msg::set_command_key(const char* value, size_t size) {
  916. set_has_command_key();
  917. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  918. ::std::string(reinterpret_cast<const char*>(value), size));
  919. // @@protoc_insertion_point(field_set_pointer:message.Dispatch_plan_request_msg.command_key)
  920. }
  921. inline ::std::string* Dispatch_plan_request_msg::mutable_command_key() {
  922. set_has_command_key();
  923. // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_request_msg.command_key)
  924. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  925. }
  926. inline ::std::string* Dispatch_plan_request_msg::release_command_key() {
  927. // @@protoc_insertion_point(field_release:message.Dispatch_plan_request_msg.command_key)
  928. clear_has_command_key();
  929. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  930. }
  931. inline void Dispatch_plan_request_msg::set_allocated_command_key(::std::string* command_key) {
  932. if (command_key != NULL) {
  933. set_has_command_key();
  934. } else {
  935. clear_has_command_key();
  936. }
  937. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  938. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_request_msg.command_key)
  939. }
  940. // optional .message.Dispatch_task_type dispatch_task_type = 3;
  941. inline bool Dispatch_plan_request_msg::has_dispatch_task_type() const {
  942. return (_has_bits_[0] & 0x00000008u) != 0;
  943. }
  944. inline void Dispatch_plan_request_msg::set_has_dispatch_task_type() {
  945. _has_bits_[0] |= 0x00000008u;
  946. }
  947. inline void Dispatch_plan_request_msg::clear_has_dispatch_task_type() {
  948. _has_bits_[0] &= ~0x00000008u;
  949. }
  950. inline void Dispatch_plan_request_msg::clear_dispatch_task_type() {
  951. dispatch_task_type_ = 0;
  952. clear_has_dispatch_task_type();
  953. }
  954. inline ::message::Dispatch_task_type Dispatch_plan_request_msg::dispatch_task_type() const {
  955. // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.dispatch_task_type)
  956. return static_cast< ::message::Dispatch_task_type >(dispatch_task_type_);
  957. }
  958. inline void Dispatch_plan_request_msg::set_dispatch_task_type(::message::Dispatch_task_type value) {
  959. assert(::message::Dispatch_task_type_IsValid(value));
  960. set_has_dispatch_task_type();
  961. dispatch_task_type_ = value;
  962. // @@protoc_insertion_point(field_set:message.Dispatch_plan_request_msg.dispatch_task_type)
  963. }
  964. // optional int32 dispatch_source = 4;
  965. inline bool Dispatch_plan_request_msg::has_dispatch_source() const {
  966. return (_has_bits_[0] & 0x00000010u) != 0;
  967. }
  968. inline void Dispatch_plan_request_msg::set_has_dispatch_source() {
  969. _has_bits_[0] |= 0x00000010u;
  970. }
  971. inline void Dispatch_plan_request_msg::clear_has_dispatch_source() {
  972. _has_bits_[0] &= ~0x00000010u;
  973. }
  974. inline void Dispatch_plan_request_msg::clear_dispatch_source() {
  975. dispatch_source_ = 0;
  976. clear_has_dispatch_source();
  977. }
  978. inline ::google::protobuf::int32 Dispatch_plan_request_msg::dispatch_source() const {
  979. // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.dispatch_source)
  980. return dispatch_source_;
  981. }
  982. inline void Dispatch_plan_request_msg::set_dispatch_source(::google::protobuf::int32 value) {
  983. set_has_dispatch_source();
  984. dispatch_source_ = value;
  985. // @@protoc_insertion_point(field_set:message.Dispatch_plan_request_msg.dispatch_source)
  986. }
  987. // optional int32 dispatch_destination = 5;
  988. inline bool Dispatch_plan_request_msg::has_dispatch_destination() const {
  989. return (_has_bits_[0] & 0x00000020u) != 0;
  990. }
  991. inline void Dispatch_plan_request_msg::set_has_dispatch_destination() {
  992. _has_bits_[0] |= 0x00000020u;
  993. }
  994. inline void Dispatch_plan_request_msg::clear_has_dispatch_destination() {
  995. _has_bits_[0] &= ~0x00000020u;
  996. }
  997. inline void Dispatch_plan_request_msg::clear_dispatch_destination() {
  998. dispatch_destination_ = 0;
  999. clear_has_dispatch_destination();
  1000. }
  1001. inline ::google::protobuf::int32 Dispatch_plan_request_msg::dispatch_destination() const {
  1002. // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.dispatch_destination)
  1003. return dispatch_destination_;
  1004. }
  1005. inline void Dispatch_plan_request_msg::set_dispatch_destination(::google::protobuf::int32 value) {
  1006. set_has_dispatch_destination();
  1007. dispatch_destination_ = value;
  1008. // @@protoc_insertion_point(field_set:message.Dispatch_plan_request_msg.dispatch_destination)
  1009. }
  1010. // optional .message.Error_manager error_manager = 6;
  1011. inline bool Dispatch_plan_request_msg::has_error_manager() const {
  1012. return (_has_bits_[0] & 0x00000004u) != 0;
  1013. }
  1014. inline void Dispatch_plan_request_msg::set_has_error_manager() {
  1015. _has_bits_[0] |= 0x00000004u;
  1016. }
  1017. inline void Dispatch_plan_request_msg::clear_has_error_manager() {
  1018. _has_bits_[0] &= ~0x00000004u;
  1019. }
  1020. inline const ::message::Error_manager& Dispatch_plan_request_msg::error_manager() const {
  1021. const ::message::Error_manager* p = error_manager_;
  1022. // @@protoc_insertion_point(field_get:message.Dispatch_plan_request_msg.error_manager)
  1023. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1024. &::message::_Error_manager_default_instance_);
  1025. }
  1026. inline ::message::Error_manager* Dispatch_plan_request_msg::release_error_manager() {
  1027. // @@protoc_insertion_point(field_release:message.Dispatch_plan_request_msg.error_manager)
  1028. clear_has_error_manager();
  1029. ::message::Error_manager* temp = error_manager_;
  1030. error_manager_ = NULL;
  1031. return temp;
  1032. }
  1033. inline ::message::Error_manager* Dispatch_plan_request_msg::mutable_error_manager() {
  1034. set_has_error_manager();
  1035. if (error_manager_ == NULL) {
  1036. error_manager_ = new ::message::Error_manager;
  1037. }
  1038. // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_request_msg.error_manager)
  1039. return error_manager_;
  1040. }
  1041. inline void Dispatch_plan_request_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1042. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1043. if (message_arena == NULL) {
  1044. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1045. }
  1046. if (error_manager) {
  1047. ::google::protobuf::Arena* submessage_arena = NULL;
  1048. if (message_arena != submessage_arena) {
  1049. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1050. message_arena, error_manager, submessage_arena);
  1051. }
  1052. set_has_error_manager();
  1053. } else {
  1054. clear_has_error_manager();
  1055. }
  1056. error_manager_ = error_manager;
  1057. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_request_msg.error_manager)
  1058. }
  1059. // -------------------------------------------------------------------
  1060. // Dispatch_plan_response_msg
  1061. // required .message.Base_info base_info = 1;
  1062. inline bool Dispatch_plan_response_msg::has_base_info() const {
  1063. return (_has_bits_[0] & 0x00000002u) != 0;
  1064. }
  1065. inline void Dispatch_plan_response_msg::set_has_base_info() {
  1066. _has_bits_[0] |= 0x00000002u;
  1067. }
  1068. inline void Dispatch_plan_response_msg::clear_has_base_info() {
  1069. _has_bits_[0] &= ~0x00000002u;
  1070. }
  1071. inline const ::message::Base_info& Dispatch_plan_response_msg::base_info() const {
  1072. const ::message::Base_info* p = base_info_;
  1073. // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.base_info)
  1074. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1075. &::message::_Base_info_default_instance_);
  1076. }
  1077. inline ::message::Base_info* Dispatch_plan_response_msg::release_base_info() {
  1078. // @@protoc_insertion_point(field_release:message.Dispatch_plan_response_msg.base_info)
  1079. clear_has_base_info();
  1080. ::message::Base_info* temp = base_info_;
  1081. base_info_ = NULL;
  1082. return temp;
  1083. }
  1084. inline ::message::Base_info* Dispatch_plan_response_msg::mutable_base_info() {
  1085. set_has_base_info();
  1086. if (base_info_ == NULL) {
  1087. base_info_ = new ::message::Base_info;
  1088. }
  1089. // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_response_msg.base_info)
  1090. return base_info_;
  1091. }
  1092. inline void Dispatch_plan_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1093. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1094. if (message_arena == NULL) {
  1095. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1096. }
  1097. if (base_info) {
  1098. ::google::protobuf::Arena* submessage_arena = NULL;
  1099. if (message_arena != submessage_arena) {
  1100. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1101. message_arena, base_info, submessage_arena);
  1102. }
  1103. set_has_base_info();
  1104. } else {
  1105. clear_has_base_info();
  1106. }
  1107. base_info_ = base_info;
  1108. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_response_msg.base_info)
  1109. }
  1110. // required string command_key = 2;
  1111. inline bool Dispatch_plan_response_msg::has_command_key() const {
  1112. return (_has_bits_[0] & 0x00000001u) != 0;
  1113. }
  1114. inline void Dispatch_plan_response_msg::set_has_command_key() {
  1115. _has_bits_[0] |= 0x00000001u;
  1116. }
  1117. inline void Dispatch_plan_response_msg::clear_has_command_key() {
  1118. _has_bits_[0] &= ~0x00000001u;
  1119. }
  1120. inline void Dispatch_plan_response_msg::clear_command_key() {
  1121. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1122. clear_has_command_key();
  1123. }
  1124. inline const ::std::string& Dispatch_plan_response_msg::command_key() const {
  1125. // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.command_key)
  1126. return command_key_.GetNoArena();
  1127. }
  1128. inline void Dispatch_plan_response_msg::set_command_key(const ::std::string& value) {
  1129. set_has_command_key();
  1130. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1131. // @@protoc_insertion_point(field_set:message.Dispatch_plan_response_msg.command_key)
  1132. }
  1133. #if LANG_CXX11
  1134. inline void Dispatch_plan_response_msg::set_command_key(::std::string&& value) {
  1135. set_has_command_key();
  1136. command_key_.SetNoArena(
  1137. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1138. // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_plan_response_msg.command_key)
  1139. }
  1140. #endif
  1141. inline void Dispatch_plan_response_msg::set_command_key(const char* value) {
  1142. GOOGLE_DCHECK(value != NULL);
  1143. set_has_command_key();
  1144. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1145. // @@protoc_insertion_point(field_set_char:message.Dispatch_plan_response_msg.command_key)
  1146. }
  1147. inline void Dispatch_plan_response_msg::set_command_key(const char* value, size_t size) {
  1148. set_has_command_key();
  1149. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1150. ::std::string(reinterpret_cast<const char*>(value), size));
  1151. // @@protoc_insertion_point(field_set_pointer:message.Dispatch_plan_response_msg.command_key)
  1152. }
  1153. inline ::std::string* Dispatch_plan_response_msg::mutable_command_key() {
  1154. set_has_command_key();
  1155. // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_response_msg.command_key)
  1156. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1157. }
  1158. inline ::std::string* Dispatch_plan_response_msg::release_command_key() {
  1159. // @@protoc_insertion_point(field_release:message.Dispatch_plan_response_msg.command_key)
  1160. clear_has_command_key();
  1161. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1162. }
  1163. inline void Dispatch_plan_response_msg::set_allocated_command_key(::std::string* command_key) {
  1164. if (command_key != NULL) {
  1165. set_has_command_key();
  1166. } else {
  1167. clear_has_command_key();
  1168. }
  1169. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1170. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_response_msg.command_key)
  1171. }
  1172. // optional .message.Dispatch_task_type dispatch_task_type = 3;
  1173. inline bool Dispatch_plan_response_msg::has_dispatch_task_type() const {
  1174. return (_has_bits_[0] & 0x00000008u) != 0;
  1175. }
  1176. inline void Dispatch_plan_response_msg::set_has_dispatch_task_type() {
  1177. _has_bits_[0] |= 0x00000008u;
  1178. }
  1179. inline void Dispatch_plan_response_msg::clear_has_dispatch_task_type() {
  1180. _has_bits_[0] &= ~0x00000008u;
  1181. }
  1182. inline void Dispatch_plan_response_msg::clear_dispatch_task_type() {
  1183. dispatch_task_type_ = 0;
  1184. clear_has_dispatch_task_type();
  1185. }
  1186. inline ::message::Dispatch_task_type Dispatch_plan_response_msg::dispatch_task_type() const {
  1187. // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.dispatch_task_type)
  1188. return static_cast< ::message::Dispatch_task_type >(dispatch_task_type_);
  1189. }
  1190. inline void Dispatch_plan_response_msg::set_dispatch_task_type(::message::Dispatch_task_type value) {
  1191. assert(::message::Dispatch_task_type_IsValid(value));
  1192. set_has_dispatch_task_type();
  1193. dispatch_task_type_ = value;
  1194. // @@protoc_insertion_point(field_set:message.Dispatch_plan_response_msg.dispatch_task_type)
  1195. }
  1196. // optional int32 dispatch_source = 4;
  1197. inline bool Dispatch_plan_response_msg::has_dispatch_source() const {
  1198. return (_has_bits_[0] & 0x00000010u) != 0;
  1199. }
  1200. inline void Dispatch_plan_response_msg::set_has_dispatch_source() {
  1201. _has_bits_[0] |= 0x00000010u;
  1202. }
  1203. inline void Dispatch_plan_response_msg::clear_has_dispatch_source() {
  1204. _has_bits_[0] &= ~0x00000010u;
  1205. }
  1206. inline void Dispatch_plan_response_msg::clear_dispatch_source() {
  1207. dispatch_source_ = 0;
  1208. clear_has_dispatch_source();
  1209. }
  1210. inline ::google::protobuf::int32 Dispatch_plan_response_msg::dispatch_source() const {
  1211. // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.dispatch_source)
  1212. return dispatch_source_;
  1213. }
  1214. inline void Dispatch_plan_response_msg::set_dispatch_source(::google::protobuf::int32 value) {
  1215. set_has_dispatch_source();
  1216. dispatch_source_ = value;
  1217. // @@protoc_insertion_point(field_set:message.Dispatch_plan_response_msg.dispatch_source)
  1218. }
  1219. // optional int32 dispatch_destination = 5;
  1220. inline bool Dispatch_plan_response_msg::has_dispatch_destination() const {
  1221. return (_has_bits_[0] & 0x00000020u) != 0;
  1222. }
  1223. inline void Dispatch_plan_response_msg::set_has_dispatch_destination() {
  1224. _has_bits_[0] |= 0x00000020u;
  1225. }
  1226. inline void Dispatch_plan_response_msg::clear_has_dispatch_destination() {
  1227. _has_bits_[0] &= ~0x00000020u;
  1228. }
  1229. inline void Dispatch_plan_response_msg::clear_dispatch_destination() {
  1230. dispatch_destination_ = 0;
  1231. clear_has_dispatch_destination();
  1232. }
  1233. inline ::google::protobuf::int32 Dispatch_plan_response_msg::dispatch_destination() const {
  1234. // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.dispatch_destination)
  1235. return dispatch_destination_;
  1236. }
  1237. inline void Dispatch_plan_response_msg::set_dispatch_destination(::google::protobuf::int32 value) {
  1238. set_has_dispatch_destination();
  1239. dispatch_destination_ = value;
  1240. // @@protoc_insertion_point(field_set:message.Dispatch_plan_response_msg.dispatch_destination)
  1241. }
  1242. // optional .message.Error_manager error_manager = 6;
  1243. inline bool Dispatch_plan_response_msg::has_error_manager() const {
  1244. return (_has_bits_[0] & 0x00000004u) != 0;
  1245. }
  1246. inline void Dispatch_plan_response_msg::set_has_error_manager() {
  1247. _has_bits_[0] |= 0x00000004u;
  1248. }
  1249. inline void Dispatch_plan_response_msg::clear_has_error_manager() {
  1250. _has_bits_[0] &= ~0x00000004u;
  1251. }
  1252. inline const ::message::Error_manager& Dispatch_plan_response_msg::error_manager() const {
  1253. const ::message::Error_manager* p = error_manager_;
  1254. // @@protoc_insertion_point(field_get:message.Dispatch_plan_response_msg.error_manager)
  1255. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1256. &::message::_Error_manager_default_instance_);
  1257. }
  1258. inline ::message::Error_manager* Dispatch_plan_response_msg::release_error_manager() {
  1259. // @@protoc_insertion_point(field_release:message.Dispatch_plan_response_msg.error_manager)
  1260. clear_has_error_manager();
  1261. ::message::Error_manager* temp = error_manager_;
  1262. error_manager_ = NULL;
  1263. return temp;
  1264. }
  1265. inline ::message::Error_manager* Dispatch_plan_response_msg::mutable_error_manager() {
  1266. set_has_error_manager();
  1267. if (error_manager_ == NULL) {
  1268. error_manager_ = new ::message::Error_manager;
  1269. }
  1270. // @@protoc_insertion_point(field_mutable:message.Dispatch_plan_response_msg.error_manager)
  1271. return error_manager_;
  1272. }
  1273. inline void Dispatch_plan_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1274. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1275. if (message_arena == NULL) {
  1276. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1277. }
  1278. if (error_manager) {
  1279. ::google::protobuf::Arena* submessage_arena = NULL;
  1280. if (message_arena != submessage_arena) {
  1281. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1282. message_arena, error_manager, submessage_arena);
  1283. }
  1284. set_has_error_manager();
  1285. } else {
  1286. clear_has_error_manager();
  1287. }
  1288. error_manager_ = error_manager;
  1289. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_plan_response_msg.error_manager)
  1290. }
  1291. // -------------------------------------------------------------------
  1292. // Dispatch_control_request_msg
  1293. // required .message.Base_info base_info = 1;
  1294. inline bool Dispatch_control_request_msg::has_base_info() const {
  1295. return (_has_bits_[0] & 0x00000002u) != 0;
  1296. }
  1297. inline void Dispatch_control_request_msg::set_has_base_info() {
  1298. _has_bits_[0] |= 0x00000002u;
  1299. }
  1300. inline void Dispatch_control_request_msg::clear_has_base_info() {
  1301. _has_bits_[0] &= ~0x00000002u;
  1302. }
  1303. inline const ::message::Base_info& Dispatch_control_request_msg::base_info() const {
  1304. const ::message::Base_info* p = base_info_;
  1305. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.base_info)
  1306. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1307. &::message::_Base_info_default_instance_);
  1308. }
  1309. inline ::message::Base_info* Dispatch_control_request_msg::release_base_info() {
  1310. // @@protoc_insertion_point(field_release:message.Dispatch_control_request_msg.base_info)
  1311. clear_has_base_info();
  1312. ::message::Base_info* temp = base_info_;
  1313. base_info_ = NULL;
  1314. return temp;
  1315. }
  1316. inline ::message::Base_info* Dispatch_control_request_msg::mutable_base_info() {
  1317. set_has_base_info();
  1318. if (base_info_ == NULL) {
  1319. base_info_ = new ::message::Base_info;
  1320. }
  1321. // @@protoc_insertion_point(field_mutable:message.Dispatch_control_request_msg.base_info)
  1322. return base_info_;
  1323. }
  1324. inline void Dispatch_control_request_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1325. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1326. if (message_arena == NULL) {
  1327. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1328. }
  1329. if (base_info) {
  1330. ::google::protobuf::Arena* submessage_arena = NULL;
  1331. if (message_arena != submessage_arena) {
  1332. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1333. message_arena, base_info, submessage_arena);
  1334. }
  1335. set_has_base_info();
  1336. } else {
  1337. clear_has_base_info();
  1338. }
  1339. base_info_ = base_info;
  1340. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_request_msg.base_info)
  1341. }
  1342. // required string command_key = 2;
  1343. inline bool Dispatch_control_request_msg::has_command_key() const {
  1344. return (_has_bits_[0] & 0x00000001u) != 0;
  1345. }
  1346. inline void Dispatch_control_request_msg::set_has_command_key() {
  1347. _has_bits_[0] |= 0x00000001u;
  1348. }
  1349. inline void Dispatch_control_request_msg::clear_has_command_key() {
  1350. _has_bits_[0] &= ~0x00000001u;
  1351. }
  1352. inline void Dispatch_control_request_msg::clear_command_key() {
  1353. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1354. clear_has_command_key();
  1355. }
  1356. inline const ::std::string& Dispatch_control_request_msg::command_key() const {
  1357. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.command_key)
  1358. return command_key_.GetNoArena();
  1359. }
  1360. inline void Dispatch_control_request_msg::set_command_key(const ::std::string& value) {
  1361. set_has_command_key();
  1362. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1363. // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.command_key)
  1364. }
  1365. #if LANG_CXX11
  1366. inline void Dispatch_control_request_msg::set_command_key(::std::string&& value) {
  1367. set_has_command_key();
  1368. command_key_.SetNoArena(
  1369. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1370. // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_control_request_msg.command_key)
  1371. }
  1372. #endif
  1373. inline void Dispatch_control_request_msg::set_command_key(const char* value) {
  1374. GOOGLE_DCHECK(value != NULL);
  1375. set_has_command_key();
  1376. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1377. // @@protoc_insertion_point(field_set_char:message.Dispatch_control_request_msg.command_key)
  1378. }
  1379. inline void Dispatch_control_request_msg::set_command_key(const char* value, size_t size) {
  1380. set_has_command_key();
  1381. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1382. ::std::string(reinterpret_cast<const char*>(value), size));
  1383. // @@protoc_insertion_point(field_set_pointer:message.Dispatch_control_request_msg.command_key)
  1384. }
  1385. inline ::std::string* Dispatch_control_request_msg::mutable_command_key() {
  1386. set_has_command_key();
  1387. // @@protoc_insertion_point(field_mutable:message.Dispatch_control_request_msg.command_key)
  1388. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1389. }
  1390. inline ::std::string* Dispatch_control_request_msg::release_command_key() {
  1391. // @@protoc_insertion_point(field_release:message.Dispatch_control_request_msg.command_key)
  1392. clear_has_command_key();
  1393. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1394. }
  1395. inline void Dispatch_control_request_msg::set_allocated_command_key(::std::string* command_key) {
  1396. if (command_key != NULL) {
  1397. set_has_command_key();
  1398. } else {
  1399. clear_has_command_key();
  1400. }
  1401. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1402. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_request_msg.command_key)
  1403. }
  1404. // required .message.Dispatch_task_type dispatch_task_type = 3;
  1405. inline bool Dispatch_control_request_msg::has_dispatch_task_type() const {
  1406. return (_has_bits_[0] & 0x00000008u) != 0;
  1407. }
  1408. inline void Dispatch_control_request_msg::set_has_dispatch_task_type() {
  1409. _has_bits_[0] |= 0x00000008u;
  1410. }
  1411. inline void Dispatch_control_request_msg::clear_has_dispatch_task_type() {
  1412. _has_bits_[0] &= ~0x00000008u;
  1413. }
  1414. inline void Dispatch_control_request_msg::clear_dispatch_task_type() {
  1415. dispatch_task_type_ = 0;
  1416. clear_has_dispatch_task_type();
  1417. }
  1418. inline ::message::Dispatch_task_type Dispatch_control_request_msg::dispatch_task_type() const {
  1419. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_task_type)
  1420. return static_cast< ::message::Dispatch_task_type >(dispatch_task_type_);
  1421. }
  1422. inline void Dispatch_control_request_msg::set_dispatch_task_type(::message::Dispatch_task_type value) {
  1423. assert(::message::Dispatch_task_type_IsValid(value));
  1424. set_has_dispatch_task_type();
  1425. dispatch_task_type_ = value;
  1426. // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_task_type)
  1427. }
  1428. // optional .message.Dispatch_device_type dispatch_device_type = 4;
  1429. inline bool Dispatch_control_request_msg::has_dispatch_device_type() const {
  1430. return (_has_bits_[0] & 0x00000100u) != 0;
  1431. }
  1432. inline void Dispatch_control_request_msg::set_has_dispatch_device_type() {
  1433. _has_bits_[0] |= 0x00000100u;
  1434. }
  1435. inline void Dispatch_control_request_msg::clear_has_dispatch_device_type() {
  1436. _has_bits_[0] &= ~0x00000100u;
  1437. }
  1438. inline void Dispatch_control_request_msg::clear_dispatch_device_type() {
  1439. dispatch_device_type_ = 101;
  1440. clear_has_dispatch_device_type();
  1441. }
  1442. inline ::message::Dispatch_device_type Dispatch_control_request_msg::dispatch_device_type() const {
  1443. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_device_type)
  1444. return static_cast< ::message::Dispatch_device_type >(dispatch_device_type_);
  1445. }
  1446. inline void Dispatch_control_request_msg::set_dispatch_device_type(::message::Dispatch_device_type value) {
  1447. assert(::message::Dispatch_device_type_IsValid(value));
  1448. set_has_dispatch_device_type();
  1449. dispatch_device_type_ = value;
  1450. // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_device_type)
  1451. }
  1452. // optional int32 dispatch_source = 5;
  1453. inline bool Dispatch_control_request_msg::has_dispatch_source() const {
  1454. return (_has_bits_[0] & 0x00000010u) != 0;
  1455. }
  1456. inline void Dispatch_control_request_msg::set_has_dispatch_source() {
  1457. _has_bits_[0] |= 0x00000010u;
  1458. }
  1459. inline void Dispatch_control_request_msg::clear_has_dispatch_source() {
  1460. _has_bits_[0] &= ~0x00000010u;
  1461. }
  1462. inline void Dispatch_control_request_msg::clear_dispatch_source() {
  1463. dispatch_source_ = 0;
  1464. clear_has_dispatch_source();
  1465. }
  1466. inline ::google::protobuf::int32 Dispatch_control_request_msg::dispatch_source() const {
  1467. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_source)
  1468. return dispatch_source_;
  1469. }
  1470. inline void Dispatch_control_request_msg::set_dispatch_source(::google::protobuf::int32 value) {
  1471. set_has_dispatch_source();
  1472. dispatch_source_ = value;
  1473. // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_source)
  1474. }
  1475. // optional int32 dispatch_destination = 6;
  1476. inline bool Dispatch_control_request_msg::has_dispatch_destination() const {
  1477. return (_has_bits_[0] & 0x00000020u) != 0;
  1478. }
  1479. inline void Dispatch_control_request_msg::set_has_dispatch_destination() {
  1480. _has_bits_[0] |= 0x00000020u;
  1481. }
  1482. inline void Dispatch_control_request_msg::clear_has_dispatch_destination() {
  1483. _has_bits_[0] &= ~0x00000020u;
  1484. }
  1485. inline void Dispatch_control_request_msg::clear_dispatch_destination() {
  1486. dispatch_destination_ = 0;
  1487. clear_has_dispatch_destination();
  1488. }
  1489. inline ::google::protobuf::int32 Dispatch_control_request_msg::dispatch_destination() const {
  1490. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_destination)
  1491. return dispatch_destination_;
  1492. }
  1493. inline void Dispatch_control_request_msg::set_dispatch_destination(::google::protobuf::int32 value) {
  1494. set_has_dispatch_destination();
  1495. dispatch_destination_ = value;
  1496. // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_destination)
  1497. }
  1498. // optional .message.Error_manager error_manager = 7;
  1499. inline bool Dispatch_control_request_msg::has_error_manager() const {
  1500. return (_has_bits_[0] & 0x00000004u) != 0;
  1501. }
  1502. inline void Dispatch_control_request_msg::set_has_error_manager() {
  1503. _has_bits_[0] |= 0x00000004u;
  1504. }
  1505. inline void Dispatch_control_request_msg::clear_has_error_manager() {
  1506. _has_bits_[0] &= ~0x00000004u;
  1507. }
  1508. inline const ::message::Error_manager& Dispatch_control_request_msg::error_manager() const {
  1509. const ::message::Error_manager* p = error_manager_;
  1510. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.error_manager)
  1511. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1512. &::message::_Error_manager_default_instance_);
  1513. }
  1514. inline ::message::Error_manager* Dispatch_control_request_msg::release_error_manager() {
  1515. // @@protoc_insertion_point(field_release:message.Dispatch_control_request_msg.error_manager)
  1516. clear_has_error_manager();
  1517. ::message::Error_manager* temp = error_manager_;
  1518. error_manager_ = NULL;
  1519. return temp;
  1520. }
  1521. inline ::message::Error_manager* Dispatch_control_request_msg::mutable_error_manager() {
  1522. set_has_error_manager();
  1523. if (error_manager_ == NULL) {
  1524. error_manager_ = new ::message::Error_manager;
  1525. }
  1526. // @@protoc_insertion_point(field_mutable:message.Dispatch_control_request_msg.error_manager)
  1527. return error_manager_;
  1528. }
  1529. inline void Dispatch_control_request_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1530. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1531. if (message_arena == NULL) {
  1532. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1533. }
  1534. if (error_manager) {
  1535. ::google::protobuf::Arena* submessage_arena = NULL;
  1536. if (message_arena != submessage_arena) {
  1537. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1538. message_arena, error_manager, submessage_arena);
  1539. }
  1540. set_has_error_manager();
  1541. } else {
  1542. clear_has_error_manager();
  1543. }
  1544. error_manager_ = error_manager;
  1545. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_request_msg.error_manager)
  1546. }
  1547. // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
  1548. inline bool Dispatch_control_request_msg::has_dispatch_device_target_status() const {
  1549. return (_has_bits_[0] & 0x00000040u) != 0;
  1550. }
  1551. inline void Dispatch_control_request_msg::set_has_dispatch_device_target_status() {
  1552. _has_bits_[0] |= 0x00000040u;
  1553. }
  1554. inline void Dispatch_control_request_msg::clear_has_dispatch_device_target_status() {
  1555. _has_bits_[0] &= ~0x00000040u;
  1556. }
  1557. inline void Dispatch_control_request_msg::clear_dispatch_device_target_status() {
  1558. dispatch_device_target_status_ = 0;
  1559. clear_has_dispatch_device_target_status();
  1560. }
  1561. inline ::message::Dispatch_device_target_status Dispatch_control_request_msg::dispatch_device_target_status() const {
  1562. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_device_target_status)
  1563. return static_cast< ::message::Dispatch_device_target_status >(dispatch_device_target_status_);
  1564. }
  1565. inline void Dispatch_control_request_msg::set_dispatch_device_target_status(::message::Dispatch_device_target_status value) {
  1566. assert(::message::Dispatch_device_target_status_IsValid(value));
  1567. set_has_dispatch_device_target_status();
  1568. dispatch_device_target_status_ = value;
  1569. // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_device_target_status)
  1570. }
  1571. // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
  1572. inline bool Dispatch_control_request_msg::has_dispatch_device_task_status() const {
  1573. return (_has_bits_[0] & 0x00000080u) != 0;
  1574. }
  1575. inline void Dispatch_control_request_msg::set_has_dispatch_device_task_status() {
  1576. _has_bits_[0] |= 0x00000080u;
  1577. }
  1578. inline void Dispatch_control_request_msg::clear_has_dispatch_device_task_status() {
  1579. _has_bits_[0] &= ~0x00000080u;
  1580. }
  1581. inline void Dispatch_control_request_msg::clear_dispatch_device_task_status() {
  1582. dispatch_device_task_status_ = 0;
  1583. clear_has_dispatch_device_task_status();
  1584. }
  1585. inline ::message::Dispatch_device_task_status Dispatch_control_request_msg::dispatch_device_task_status() const {
  1586. // @@protoc_insertion_point(field_get:message.Dispatch_control_request_msg.dispatch_device_task_status)
  1587. return static_cast< ::message::Dispatch_device_task_status >(dispatch_device_task_status_);
  1588. }
  1589. inline void Dispatch_control_request_msg::set_dispatch_device_task_status(::message::Dispatch_device_task_status value) {
  1590. assert(::message::Dispatch_device_task_status_IsValid(value));
  1591. set_has_dispatch_device_task_status();
  1592. dispatch_device_task_status_ = value;
  1593. // @@protoc_insertion_point(field_set:message.Dispatch_control_request_msg.dispatch_device_task_status)
  1594. }
  1595. // -------------------------------------------------------------------
  1596. // Dispatch_control_response_msg
  1597. // required .message.Base_info base_info = 1;
  1598. inline bool Dispatch_control_response_msg::has_base_info() const {
  1599. return (_has_bits_[0] & 0x00000002u) != 0;
  1600. }
  1601. inline void Dispatch_control_response_msg::set_has_base_info() {
  1602. _has_bits_[0] |= 0x00000002u;
  1603. }
  1604. inline void Dispatch_control_response_msg::clear_has_base_info() {
  1605. _has_bits_[0] &= ~0x00000002u;
  1606. }
  1607. inline const ::message::Base_info& Dispatch_control_response_msg::base_info() const {
  1608. const ::message::Base_info* p = base_info_;
  1609. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.base_info)
  1610. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1611. &::message::_Base_info_default_instance_);
  1612. }
  1613. inline ::message::Base_info* Dispatch_control_response_msg::release_base_info() {
  1614. // @@protoc_insertion_point(field_release:message.Dispatch_control_response_msg.base_info)
  1615. clear_has_base_info();
  1616. ::message::Base_info* temp = base_info_;
  1617. base_info_ = NULL;
  1618. return temp;
  1619. }
  1620. inline ::message::Base_info* Dispatch_control_response_msg::mutable_base_info() {
  1621. set_has_base_info();
  1622. if (base_info_ == NULL) {
  1623. base_info_ = new ::message::Base_info;
  1624. }
  1625. // @@protoc_insertion_point(field_mutable:message.Dispatch_control_response_msg.base_info)
  1626. return base_info_;
  1627. }
  1628. inline void Dispatch_control_response_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1629. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1630. if (message_arena == NULL) {
  1631. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1632. }
  1633. if (base_info) {
  1634. ::google::protobuf::Arena* submessage_arena = NULL;
  1635. if (message_arena != submessage_arena) {
  1636. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1637. message_arena, base_info, submessage_arena);
  1638. }
  1639. set_has_base_info();
  1640. } else {
  1641. clear_has_base_info();
  1642. }
  1643. base_info_ = base_info;
  1644. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_response_msg.base_info)
  1645. }
  1646. // required string command_key = 2;
  1647. inline bool Dispatch_control_response_msg::has_command_key() const {
  1648. return (_has_bits_[0] & 0x00000001u) != 0;
  1649. }
  1650. inline void Dispatch_control_response_msg::set_has_command_key() {
  1651. _has_bits_[0] |= 0x00000001u;
  1652. }
  1653. inline void Dispatch_control_response_msg::clear_has_command_key() {
  1654. _has_bits_[0] &= ~0x00000001u;
  1655. }
  1656. inline void Dispatch_control_response_msg::clear_command_key() {
  1657. command_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1658. clear_has_command_key();
  1659. }
  1660. inline const ::std::string& Dispatch_control_response_msg::command_key() const {
  1661. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.command_key)
  1662. return command_key_.GetNoArena();
  1663. }
  1664. inline void Dispatch_control_response_msg::set_command_key(const ::std::string& value) {
  1665. set_has_command_key();
  1666. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1667. // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.command_key)
  1668. }
  1669. #if LANG_CXX11
  1670. inline void Dispatch_control_response_msg::set_command_key(::std::string&& value) {
  1671. set_has_command_key();
  1672. command_key_.SetNoArena(
  1673. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1674. // @@protoc_insertion_point(field_set_rvalue:message.Dispatch_control_response_msg.command_key)
  1675. }
  1676. #endif
  1677. inline void Dispatch_control_response_msg::set_command_key(const char* value) {
  1678. GOOGLE_DCHECK(value != NULL);
  1679. set_has_command_key();
  1680. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1681. // @@protoc_insertion_point(field_set_char:message.Dispatch_control_response_msg.command_key)
  1682. }
  1683. inline void Dispatch_control_response_msg::set_command_key(const char* value, size_t size) {
  1684. set_has_command_key();
  1685. command_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1686. ::std::string(reinterpret_cast<const char*>(value), size));
  1687. // @@protoc_insertion_point(field_set_pointer:message.Dispatch_control_response_msg.command_key)
  1688. }
  1689. inline ::std::string* Dispatch_control_response_msg::mutable_command_key() {
  1690. set_has_command_key();
  1691. // @@protoc_insertion_point(field_mutable:message.Dispatch_control_response_msg.command_key)
  1692. return command_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1693. }
  1694. inline ::std::string* Dispatch_control_response_msg::release_command_key() {
  1695. // @@protoc_insertion_point(field_release:message.Dispatch_control_response_msg.command_key)
  1696. clear_has_command_key();
  1697. return command_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1698. }
  1699. inline void Dispatch_control_response_msg::set_allocated_command_key(::std::string* command_key) {
  1700. if (command_key != NULL) {
  1701. set_has_command_key();
  1702. } else {
  1703. clear_has_command_key();
  1704. }
  1705. command_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), command_key);
  1706. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_response_msg.command_key)
  1707. }
  1708. // optional .message.Dispatch_task_type dispatch_task_type = 3;
  1709. inline bool Dispatch_control_response_msg::has_dispatch_task_type() const {
  1710. return (_has_bits_[0] & 0x00000008u) != 0;
  1711. }
  1712. inline void Dispatch_control_response_msg::set_has_dispatch_task_type() {
  1713. _has_bits_[0] |= 0x00000008u;
  1714. }
  1715. inline void Dispatch_control_response_msg::clear_has_dispatch_task_type() {
  1716. _has_bits_[0] &= ~0x00000008u;
  1717. }
  1718. inline void Dispatch_control_response_msg::clear_dispatch_task_type() {
  1719. dispatch_task_type_ = 0;
  1720. clear_has_dispatch_task_type();
  1721. }
  1722. inline ::message::Dispatch_task_type Dispatch_control_response_msg::dispatch_task_type() const {
  1723. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_task_type)
  1724. return static_cast< ::message::Dispatch_task_type >(dispatch_task_type_);
  1725. }
  1726. inline void Dispatch_control_response_msg::set_dispatch_task_type(::message::Dispatch_task_type value) {
  1727. assert(::message::Dispatch_task_type_IsValid(value));
  1728. set_has_dispatch_task_type();
  1729. dispatch_task_type_ = value;
  1730. // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_task_type)
  1731. }
  1732. // optional .message.Dispatch_device_type dispatch_device_type = 4;
  1733. inline bool Dispatch_control_response_msg::has_dispatch_device_type() const {
  1734. return (_has_bits_[0] & 0x00000100u) != 0;
  1735. }
  1736. inline void Dispatch_control_response_msg::set_has_dispatch_device_type() {
  1737. _has_bits_[0] |= 0x00000100u;
  1738. }
  1739. inline void Dispatch_control_response_msg::clear_has_dispatch_device_type() {
  1740. _has_bits_[0] &= ~0x00000100u;
  1741. }
  1742. inline void Dispatch_control_response_msg::clear_dispatch_device_type() {
  1743. dispatch_device_type_ = 101;
  1744. clear_has_dispatch_device_type();
  1745. }
  1746. inline ::message::Dispatch_device_type Dispatch_control_response_msg::dispatch_device_type() const {
  1747. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_device_type)
  1748. return static_cast< ::message::Dispatch_device_type >(dispatch_device_type_);
  1749. }
  1750. inline void Dispatch_control_response_msg::set_dispatch_device_type(::message::Dispatch_device_type value) {
  1751. assert(::message::Dispatch_device_type_IsValid(value));
  1752. set_has_dispatch_device_type();
  1753. dispatch_device_type_ = value;
  1754. // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_device_type)
  1755. }
  1756. // optional int32 dispatch_source = 5;
  1757. inline bool Dispatch_control_response_msg::has_dispatch_source() const {
  1758. return (_has_bits_[0] & 0x00000010u) != 0;
  1759. }
  1760. inline void Dispatch_control_response_msg::set_has_dispatch_source() {
  1761. _has_bits_[0] |= 0x00000010u;
  1762. }
  1763. inline void Dispatch_control_response_msg::clear_has_dispatch_source() {
  1764. _has_bits_[0] &= ~0x00000010u;
  1765. }
  1766. inline void Dispatch_control_response_msg::clear_dispatch_source() {
  1767. dispatch_source_ = 0;
  1768. clear_has_dispatch_source();
  1769. }
  1770. inline ::google::protobuf::int32 Dispatch_control_response_msg::dispatch_source() const {
  1771. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_source)
  1772. return dispatch_source_;
  1773. }
  1774. inline void Dispatch_control_response_msg::set_dispatch_source(::google::protobuf::int32 value) {
  1775. set_has_dispatch_source();
  1776. dispatch_source_ = value;
  1777. // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_source)
  1778. }
  1779. // optional int32 dispatch_destination = 6;
  1780. inline bool Dispatch_control_response_msg::has_dispatch_destination() const {
  1781. return (_has_bits_[0] & 0x00000020u) != 0;
  1782. }
  1783. inline void Dispatch_control_response_msg::set_has_dispatch_destination() {
  1784. _has_bits_[0] |= 0x00000020u;
  1785. }
  1786. inline void Dispatch_control_response_msg::clear_has_dispatch_destination() {
  1787. _has_bits_[0] &= ~0x00000020u;
  1788. }
  1789. inline void Dispatch_control_response_msg::clear_dispatch_destination() {
  1790. dispatch_destination_ = 0;
  1791. clear_has_dispatch_destination();
  1792. }
  1793. inline ::google::protobuf::int32 Dispatch_control_response_msg::dispatch_destination() const {
  1794. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_destination)
  1795. return dispatch_destination_;
  1796. }
  1797. inline void Dispatch_control_response_msg::set_dispatch_destination(::google::protobuf::int32 value) {
  1798. set_has_dispatch_destination();
  1799. dispatch_destination_ = value;
  1800. // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_destination)
  1801. }
  1802. // optional .message.Error_manager error_manager = 7;
  1803. inline bool Dispatch_control_response_msg::has_error_manager() const {
  1804. return (_has_bits_[0] & 0x00000004u) != 0;
  1805. }
  1806. inline void Dispatch_control_response_msg::set_has_error_manager() {
  1807. _has_bits_[0] |= 0x00000004u;
  1808. }
  1809. inline void Dispatch_control_response_msg::clear_has_error_manager() {
  1810. _has_bits_[0] &= ~0x00000004u;
  1811. }
  1812. inline const ::message::Error_manager& Dispatch_control_response_msg::error_manager() const {
  1813. const ::message::Error_manager* p = error_manager_;
  1814. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.error_manager)
  1815. return p != NULL ? *p : *reinterpret_cast<const ::message::Error_manager*>(
  1816. &::message::_Error_manager_default_instance_);
  1817. }
  1818. inline ::message::Error_manager* Dispatch_control_response_msg::release_error_manager() {
  1819. // @@protoc_insertion_point(field_release:message.Dispatch_control_response_msg.error_manager)
  1820. clear_has_error_manager();
  1821. ::message::Error_manager* temp = error_manager_;
  1822. error_manager_ = NULL;
  1823. return temp;
  1824. }
  1825. inline ::message::Error_manager* Dispatch_control_response_msg::mutable_error_manager() {
  1826. set_has_error_manager();
  1827. if (error_manager_ == NULL) {
  1828. error_manager_ = new ::message::Error_manager;
  1829. }
  1830. // @@protoc_insertion_point(field_mutable:message.Dispatch_control_response_msg.error_manager)
  1831. return error_manager_;
  1832. }
  1833. inline void Dispatch_control_response_msg::set_allocated_error_manager(::message::Error_manager* error_manager) {
  1834. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1835. if (message_arena == NULL) {
  1836. delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_manager_);
  1837. }
  1838. if (error_manager) {
  1839. ::google::protobuf::Arena* submessage_arena = NULL;
  1840. if (message_arena != submessage_arena) {
  1841. error_manager = ::google::protobuf::internal::GetOwnedMessage(
  1842. message_arena, error_manager, submessage_arena);
  1843. }
  1844. set_has_error_manager();
  1845. } else {
  1846. clear_has_error_manager();
  1847. }
  1848. error_manager_ = error_manager;
  1849. // @@protoc_insertion_point(field_set_allocated:message.Dispatch_control_response_msg.error_manager)
  1850. }
  1851. // optional .message.Dispatch_device_target_status dispatch_device_target_status = 8;
  1852. inline bool Dispatch_control_response_msg::has_dispatch_device_target_status() const {
  1853. return (_has_bits_[0] & 0x00000040u) != 0;
  1854. }
  1855. inline void Dispatch_control_response_msg::set_has_dispatch_device_target_status() {
  1856. _has_bits_[0] |= 0x00000040u;
  1857. }
  1858. inline void Dispatch_control_response_msg::clear_has_dispatch_device_target_status() {
  1859. _has_bits_[0] &= ~0x00000040u;
  1860. }
  1861. inline void Dispatch_control_response_msg::clear_dispatch_device_target_status() {
  1862. dispatch_device_target_status_ = 0;
  1863. clear_has_dispatch_device_target_status();
  1864. }
  1865. inline ::message::Dispatch_device_target_status Dispatch_control_response_msg::dispatch_device_target_status() const {
  1866. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_device_target_status)
  1867. return static_cast< ::message::Dispatch_device_target_status >(dispatch_device_target_status_);
  1868. }
  1869. inline void Dispatch_control_response_msg::set_dispatch_device_target_status(::message::Dispatch_device_target_status value) {
  1870. assert(::message::Dispatch_device_target_status_IsValid(value));
  1871. set_has_dispatch_device_target_status();
  1872. dispatch_device_target_status_ = value;
  1873. // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_device_target_status)
  1874. }
  1875. // optional .message.Dispatch_device_task_status dispatch_device_task_status = 9;
  1876. inline bool Dispatch_control_response_msg::has_dispatch_device_task_status() const {
  1877. return (_has_bits_[0] & 0x00000080u) != 0;
  1878. }
  1879. inline void Dispatch_control_response_msg::set_has_dispatch_device_task_status() {
  1880. _has_bits_[0] |= 0x00000080u;
  1881. }
  1882. inline void Dispatch_control_response_msg::clear_has_dispatch_device_task_status() {
  1883. _has_bits_[0] &= ~0x00000080u;
  1884. }
  1885. inline void Dispatch_control_response_msg::clear_dispatch_device_task_status() {
  1886. dispatch_device_task_status_ = 0;
  1887. clear_has_dispatch_device_task_status();
  1888. }
  1889. inline ::message::Dispatch_device_task_status Dispatch_control_response_msg::dispatch_device_task_status() const {
  1890. // @@protoc_insertion_point(field_get:message.Dispatch_control_response_msg.dispatch_device_task_status)
  1891. return static_cast< ::message::Dispatch_device_task_status >(dispatch_device_task_status_);
  1892. }
  1893. inline void Dispatch_control_response_msg::set_dispatch_device_task_status(::message::Dispatch_device_task_status value) {
  1894. assert(::message::Dispatch_device_task_status_IsValid(value));
  1895. set_has_dispatch_device_task_status();
  1896. dispatch_device_task_status_ = value;
  1897. // @@protoc_insertion_point(field_set:message.Dispatch_control_response_msg.dispatch_device_task_status)
  1898. }
  1899. #ifdef __GNUC__
  1900. #pragma GCC diagnostic pop
  1901. #endif // __GNUC__
  1902. // -------------------------------------------------------------------
  1903. // -------------------------------------------------------------------
  1904. // -------------------------------------------------------------------
  1905. // @@protoc_insertion_point(namespace_scope)
  1906. } // namespace message
  1907. namespace google {
  1908. namespace protobuf {
  1909. template <> struct is_proto_enum< ::message::Dispatch_task_type> : ::google::protobuf::internal::true_type {};
  1910. template <>
  1911. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_task_type>() {
  1912. return ::message::Dispatch_task_type_descriptor();
  1913. }
  1914. template <> struct is_proto_enum< ::message::Dispatch_device_target_status> : ::google::protobuf::internal::true_type {};
  1915. template <>
  1916. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_device_target_status>() {
  1917. return ::message::Dispatch_device_target_status_descriptor();
  1918. }
  1919. template <> struct is_proto_enum< ::message::Dispatch_device_task_status> : ::google::protobuf::internal::true_type {};
  1920. template <>
  1921. inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_device_task_status>() {
  1922. return ::message::Dispatch_device_task_status_descriptor();
  1923. }
  1924. } // namespace protobuf
  1925. } // namespace google
  1926. // @@protoc_insertion_point(global_scope)
  1927. #endif // PROTOBUF_dispatch_5fcontrol_2eproto__INCLUDED