dispatch_control.pb.h 88 KB

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