central_control_message.pb.cc 58 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: central_control_message.proto
  3. #include "central_control_message.pb.h"
  4. #include <algorithm>
  5. #include <google/protobuf/stubs/common.h>
  6. #include <google/protobuf/stubs/port.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // This is a temporary google only hack
  15. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  16. #include "third_party/protobuf/version.h"
  17. #endif
  18. // @@protoc_insertion_point(includes)
  19. namespace message {
  20. class Central_controller_statu_msgDefaultTypeInternal {
  21. public:
  22. ::google::protobuf::internal::ExplicitlyConstructed<Central_controller_statu_msg>
  23. _instance;
  24. } _Central_controller_statu_msg_default_instance_;
  25. class Entrance_manual_operation_msgDefaultTypeInternal {
  26. public:
  27. ::google::protobuf::internal::ExplicitlyConstructed<Entrance_manual_operation_msg>
  28. _instance;
  29. } _Entrance_manual_operation_msg_default_instance_;
  30. class Process_manual_operation_msgDefaultTypeInternal {
  31. public:
  32. ::google::protobuf::internal::ExplicitlyConstructed<Process_manual_operation_msg>
  33. _instance;
  34. } _Process_manual_operation_msg_default_instance_;
  35. } // namespace message
  36. namespace protobuf_central_5fcontrol_5fmessage_2eproto {
  37. void InitDefaultsCentral_controller_statu_msgImpl() {
  38. GOOGLE_PROTOBUF_VERIFY_VERSION;
  39. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  40. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  41. #else
  42. ::google::protobuf::internal::InitProtobufDefaults();
  43. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  44. protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
  45. {
  46. void* ptr = &::message::_Central_controller_statu_msg_default_instance_;
  47. new (ptr) ::message::Central_controller_statu_msg();
  48. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  49. }
  50. ::message::Central_controller_statu_msg::InitAsDefaultInstance();
  51. }
  52. void InitDefaultsCentral_controller_statu_msg() {
  53. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  54. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCentral_controller_statu_msgImpl);
  55. }
  56. void InitDefaultsEntrance_manual_operation_msgImpl() {
  57. GOOGLE_PROTOBUF_VERIFY_VERSION;
  58. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  59. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  60. #else
  61. ::google::protobuf::internal::InitProtobufDefaults();
  62. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  63. protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
  64. {
  65. void* ptr = &::message::_Entrance_manual_operation_msg_default_instance_;
  66. new (ptr) ::message::Entrance_manual_operation_msg();
  67. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  68. }
  69. ::message::Entrance_manual_operation_msg::InitAsDefaultInstance();
  70. }
  71. void InitDefaultsEntrance_manual_operation_msg() {
  72. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  73. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEntrance_manual_operation_msgImpl);
  74. }
  75. void InitDefaultsProcess_manual_operation_msgImpl() {
  76. GOOGLE_PROTOBUF_VERIFY_VERSION;
  77. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  78. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  79. #else
  80. ::google::protobuf::internal::InitProtobufDefaults();
  81. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  82. protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
  83. {
  84. void* ptr = &::message::_Process_manual_operation_msg_default_instance_;
  85. new (ptr) ::message::Process_manual_operation_msg();
  86. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  87. }
  88. ::message::Process_manual_operation_msg::InitAsDefaultInstance();
  89. }
  90. void InitDefaultsProcess_manual_operation_msg() {
  91. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  92. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsProcess_manual_operation_msgImpl);
  93. }
  94. ::google::protobuf::Metadata file_level_metadata[3];
  95. const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
  96. const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  97. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Central_controller_statu_msg, _has_bits_),
  98. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Central_controller_statu_msg, _internal_metadata_),
  99. ~0u, // no _extensions_
  100. ~0u, // no _oneof_case_
  101. ~0u, // no _weak_field_map_
  102. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Central_controller_statu_msg, base_info_),
  103. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Central_controller_statu_msg, entrance_statu_vector_),
  104. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Central_controller_statu_msg, export_statu_vector_),
  105. 0,
  106. ~0u,
  107. ~0u,
  108. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, _has_bits_),
  109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, _internal_metadata_),
  110. ~0u, // no _extensions_
  111. ~0u, // no _oneof_case_
  112. ~0u, // no _weak_field_map_
  113. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, base_info_),
  114. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, terminal_id_),
  115. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, process_type_),
  116. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, entrance_statu_),
  117. 0,
  118. 1,
  119. 3,
  120. 2,
  121. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_manual_operation_msg, _has_bits_),
  122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_manual_operation_msg, _internal_metadata_),
  123. ~0u, // no _extensions_
  124. ~0u, // no _oneof_case_
  125. ~0u, // no _weak_field_map_
  126. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_manual_operation_msg, base_info_),
  127. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_manual_operation_msg, license_),
  128. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_manual_operation_msg, step_type_),
  129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Process_manual_operation_msg, operate_type_),
  130. 1,
  131. 0,
  132. 2,
  133. 3,
  134. };
  135. static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  136. { 0, 8, sizeof(::message::Central_controller_statu_msg)},
  137. { 11, 20, sizeof(::message::Entrance_manual_operation_msg)},
  138. { 24, 33, sizeof(::message::Process_manual_operation_msg)},
  139. };
  140. static ::google::protobuf::Message const * const file_default_instances[] = {
  141. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Central_controller_statu_msg_default_instance_),
  142. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Entrance_manual_operation_msg_default_instance_),
  143. reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Process_manual_operation_msg_default_instance_),
  144. };
  145. void protobuf_AssignDescriptors() {
  146. AddDescriptors();
  147. ::google::protobuf::MessageFactory* factory = NULL;
  148. AssignDescriptors(
  149. "central_control_message.proto", schemas, file_default_instances, TableStruct::offsets, factory,
  150. file_level_metadata, file_level_enum_descriptors, NULL);
  151. }
  152. void protobuf_AssignDescriptorsOnce() {
  153. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  154. ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
  155. }
  156. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  157. void protobuf_RegisterTypes(const ::std::string&) {
  158. protobuf_AssignDescriptorsOnce();
  159. ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 3);
  160. }
  161. void AddDescriptorsImpl() {
  162. InitDefaults();
  163. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  164. "\n\035central_control_message.proto\022\007message"
  165. "\032\022message_base.proto\"\263\001\n\034Central_control"
  166. "ler_statu_msg\022%\n\tbase_info\030\001 \002(\0132\022.messa"
  167. "ge.Base_info\0226\n\025entrance_statu_vector\030\002 "
  168. "\003(\0162\027.message.Entrance_statu\0224\n\023export_s"
  169. "tatu_vector\030\003 \003(\0162\027.message.Entrance_sta"
  170. "tu\"\271\001\n\035Entrance_manual_operation_msg\022%\n\t"
  171. "base_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013t"
  172. "erminal_id\030\002 \002(\005\022+\n\014process_type\030\003 \002(\0162\025"
  173. ".message.Process_type\022/\n\016entrance_statu\030"
  174. "\004 \002(\0162\027.message.Entrance_statu\"\264\001\n\034Proce"
  175. "ss_manual_operation_msg\022%\n\tbase_info\030\001 \002"
  176. "(\0132\022.message.Base_info\022\017\n\007license\030\002 \002(\t\022"
  177. "%\n\tstep_type\030\003 \002(\0162\022.message.Step_type\0225"
  178. "\n\014operate_type\030\004 \002(\0162\037.message.Process_o"
  179. "peration_type*8\n\016Entrance_statu\022\013\n\007eEnab"
  180. "le\020\000\022\014\n\010eDisable\020\001\022\013\n\007ePaused\020\002*S\n\026Proce"
  181. "ss_operation_type\022\022\n\016eManual_cancel\020\000\022\021\n"
  182. "\reManual_retry\020\001\022\022\n\016eManual_ignore\020\002"
  183. };
  184. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  185. descriptor, 756);
  186. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  187. "central_control_message.proto", &protobuf_RegisterTypes);
  188. ::protobuf_message_5fbase_2eproto::AddDescriptors();
  189. }
  190. void AddDescriptors() {
  191. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  192. ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
  193. }
  194. // Force AddDescriptors() to be called at dynamic initialization time.
  195. struct StaticDescriptorInitializer {
  196. StaticDescriptorInitializer() {
  197. AddDescriptors();
  198. }
  199. } static_descriptor_initializer;
  200. } // namespace protobuf_central_5fcontrol_5fmessage_2eproto
  201. namespace message {
  202. const ::google::protobuf::EnumDescriptor* Entrance_statu_descriptor() {
  203. protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  204. return protobuf_central_5fcontrol_5fmessage_2eproto::file_level_enum_descriptors[0];
  205. }
  206. bool Entrance_statu_IsValid(int value) {
  207. switch (value) {
  208. case 0:
  209. case 1:
  210. case 2:
  211. return true;
  212. default:
  213. return false;
  214. }
  215. }
  216. const ::google::protobuf::EnumDescriptor* Process_operation_type_descriptor() {
  217. protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  218. return protobuf_central_5fcontrol_5fmessage_2eproto::file_level_enum_descriptors[1];
  219. }
  220. bool Process_operation_type_IsValid(int value) {
  221. switch (value) {
  222. case 0:
  223. case 1:
  224. case 2:
  225. return true;
  226. default:
  227. return false;
  228. }
  229. }
  230. // ===================================================================
  231. void Central_controller_statu_msg::InitAsDefaultInstance() {
  232. ::message::_Central_controller_statu_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  233. ::message::Base_info::internal_default_instance());
  234. }
  235. void Central_controller_statu_msg::clear_base_info() {
  236. if (base_info_ != NULL) base_info_->Clear();
  237. clear_has_base_info();
  238. }
  239. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  240. const int Central_controller_statu_msg::kBaseInfoFieldNumber;
  241. const int Central_controller_statu_msg::kEntranceStatuVectorFieldNumber;
  242. const int Central_controller_statu_msg::kExportStatuVectorFieldNumber;
  243. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  244. Central_controller_statu_msg::Central_controller_statu_msg()
  245. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  246. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  247. ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsCentral_controller_statu_msg();
  248. }
  249. SharedCtor();
  250. // @@protoc_insertion_point(constructor:message.Central_controller_statu_msg)
  251. }
  252. Central_controller_statu_msg::Central_controller_statu_msg(const Central_controller_statu_msg& from)
  253. : ::google::protobuf::Message(),
  254. _internal_metadata_(NULL),
  255. _has_bits_(from._has_bits_),
  256. _cached_size_(0),
  257. entrance_statu_vector_(from.entrance_statu_vector_),
  258. export_statu_vector_(from.export_statu_vector_) {
  259. _internal_metadata_.MergeFrom(from._internal_metadata_);
  260. if (from.has_base_info()) {
  261. base_info_ = new ::message::Base_info(*from.base_info_);
  262. } else {
  263. base_info_ = NULL;
  264. }
  265. // @@protoc_insertion_point(copy_constructor:message.Central_controller_statu_msg)
  266. }
  267. void Central_controller_statu_msg::SharedCtor() {
  268. _cached_size_ = 0;
  269. base_info_ = NULL;
  270. }
  271. Central_controller_statu_msg::~Central_controller_statu_msg() {
  272. // @@protoc_insertion_point(destructor:message.Central_controller_statu_msg)
  273. SharedDtor();
  274. }
  275. void Central_controller_statu_msg::SharedDtor() {
  276. if (this != internal_default_instance()) delete base_info_;
  277. }
  278. void Central_controller_statu_msg::SetCachedSize(int size) const {
  279. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  280. _cached_size_ = size;
  281. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  282. }
  283. const ::google::protobuf::Descriptor* Central_controller_statu_msg::descriptor() {
  284. ::protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  285. return ::protobuf_central_5fcontrol_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  286. }
  287. const Central_controller_statu_msg& Central_controller_statu_msg::default_instance() {
  288. ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsCentral_controller_statu_msg();
  289. return *internal_default_instance();
  290. }
  291. Central_controller_statu_msg* Central_controller_statu_msg::New(::google::protobuf::Arena* arena) const {
  292. Central_controller_statu_msg* n = new Central_controller_statu_msg;
  293. if (arena != NULL) {
  294. arena->Own(n);
  295. }
  296. return n;
  297. }
  298. void Central_controller_statu_msg::Clear() {
  299. // @@protoc_insertion_point(message_clear_start:message.Central_controller_statu_msg)
  300. ::google::protobuf::uint32 cached_has_bits = 0;
  301. // Prevent compiler warnings about cached_has_bits being unused
  302. (void) cached_has_bits;
  303. entrance_statu_vector_.Clear();
  304. export_statu_vector_.Clear();
  305. cached_has_bits = _has_bits_[0];
  306. if (cached_has_bits & 0x00000001u) {
  307. GOOGLE_DCHECK(base_info_ != NULL);
  308. base_info_->Clear();
  309. }
  310. _has_bits_.Clear();
  311. _internal_metadata_.Clear();
  312. }
  313. bool Central_controller_statu_msg::MergePartialFromCodedStream(
  314. ::google::protobuf::io::CodedInputStream* input) {
  315. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  316. ::google::protobuf::uint32 tag;
  317. // @@protoc_insertion_point(parse_start:message.Central_controller_statu_msg)
  318. for (;;) {
  319. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  320. tag = p.first;
  321. if (!p.second) goto handle_unusual;
  322. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  323. // required .message.Base_info base_info = 1;
  324. case 1: {
  325. if (static_cast< ::google::protobuf::uint8>(tag) ==
  326. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  327. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  328. input, mutable_base_info()));
  329. } else {
  330. goto handle_unusual;
  331. }
  332. break;
  333. }
  334. // repeated .message.Entrance_statu entrance_statu_vector = 2;
  335. case 2: {
  336. if (static_cast< ::google::protobuf::uint8>(tag) ==
  337. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  338. int value;
  339. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  340. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  341. input, &value)));
  342. if (::message::Entrance_statu_IsValid(value)) {
  343. add_entrance_statu_vector(static_cast< ::message::Entrance_statu >(value));
  344. } else {
  345. mutable_unknown_fields()->AddVarint(
  346. 2, static_cast< ::google::protobuf::uint64>(value));
  347. }
  348. } else if (
  349. static_cast< ::google::protobuf::uint8>(tag) ==
  350. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  351. DO_((::google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(
  352. input,
  353. 2,
  354. ::message::Entrance_statu_IsValid,
  355. mutable_unknown_fields(),
  356. this->mutable_entrance_statu_vector())));
  357. } else {
  358. goto handle_unusual;
  359. }
  360. break;
  361. }
  362. // repeated .message.Entrance_statu export_statu_vector = 3;
  363. case 3: {
  364. if (static_cast< ::google::protobuf::uint8>(tag) ==
  365. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  366. int value;
  367. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  368. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  369. input, &value)));
  370. if (::message::Entrance_statu_IsValid(value)) {
  371. add_export_statu_vector(static_cast< ::message::Entrance_statu >(value));
  372. } else {
  373. mutable_unknown_fields()->AddVarint(
  374. 3, static_cast< ::google::protobuf::uint64>(value));
  375. }
  376. } else if (
  377. static_cast< ::google::protobuf::uint8>(tag) ==
  378. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  379. DO_((::google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(
  380. input,
  381. 3,
  382. ::message::Entrance_statu_IsValid,
  383. mutable_unknown_fields(),
  384. this->mutable_export_statu_vector())));
  385. } else {
  386. goto handle_unusual;
  387. }
  388. break;
  389. }
  390. default: {
  391. handle_unusual:
  392. if (tag == 0) {
  393. goto success;
  394. }
  395. DO_(::google::protobuf::internal::WireFormat::SkipField(
  396. input, tag, _internal_metadata_.mutable_unknown_fields()));
  397. break;
  398. }
  399. }
  400. }
  401. success:
  402. // @@protoc_insertion_point(parse_success:message.Central_controller_statu_msg)
  403. return true;
  404. failure:
  405. // @@protoc_insertion_point(parse_failure:message.Central_controller_statu_msg)
  406. return false;
  407. #undef DO_
  408. }
  409. void Central_controller_statu_msg::SerializeWithCachedSizes(
  410. ::google::protobuf::io::CodedOutputStream* output) const {
  411. // @@protoc_insertion_point(serialize_start:message.Central_controller_statu_msg)
  412. ::google::protobuf::uint32 cached_has_bits = 0;
  413. (void) cached_has_bits;
  414. cached_has_bits = _has_bits_[0];
  415. // required .message.Base_info base_info = 1;
  416. if (cached_has_bits & 0x00000001u) {
  417. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  418. 1, *this->base_info_, output);
  419. }
  420. // repeated .message.Entrance_statu entrance_statu_vector = 2;
  421. for (int i = 0, n = this->entrance_statu_vector_size(); i < n; i++) {
  422. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  423. 2, this->entrance_statu_vector(i), output);
  424. }
  425. // repeated .message.Entrance_statu export_statu_vector = 3;
  426. for (int i = 0, n = this->export_statu_vector_size(); i < n; i++) {
  427. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  428. 3, this->export_statu_vector(i), output);
  429. }
  430. if (_internal_metadata_.have_unknown_fields()) {
  431. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  432. _internal_metadata_.unknown_fields(), output);
  433. }
  434. // @@protoc_insertion_point(serialize_end:message.Central_controller_statu_msg)
  435. }
  436. ::google::protobuf::uint8* Central_controller_statu_msg::InternalSerializeWithCachedSizesToArray(
  437. bool deterministic, ::google::protobuf::uint8* target) const {
  438. (void)deterministic; // Unused
  439. // @@protoc_insertion_point(serialize_to_array_start:message.Central_controller_statu_msg)
  440. ::google::protobuf::uint32 cached_has_bits = 0;
  441. (void) cached_has_bits;
  442. cached_has_bits = _has_bits_[0];
  443. // required .message.Base_info base_info = 1;
  444. if (cached_has_bits & 0x00000001u) {
  445. target = ::google::protobuf::internal::WireFormatLite::
  446. InternalWriteMessageToArray(
  447. 1, *this->base_info_, deterministic, target);
  448. }
  449. // repeated .message.Entrance_statu entrance_statu_vector = 2;
  450. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  451. 2, this->entrance_statu_vector_, target);
  452. // repeated .message.Entrance_statu export_statu_vector = 3;
  453. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  454. 3, this->export_statu_vector_, target);
  455. if (_internal_metadata_.have_unknown_fields()) {
  456. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  457. _internal_metadata_.unknown_fields(), target);
  458. }
  459. // @@protoc_insertion_point(serialize_to_array_end:message.Central_controller_statu_msg)
  460. return target;
  461. }
  462. size_t Central_controller_statu_msg::ByteSizeLong() const {
  463. // @@protoc_insertion_point(message_byte_size_start:message.Central_controller_statu_msg)
  464. size_t total_size = 0;
  465. if (_internal_metadata_.have_unknown_fields()) {
  466. total_size +=
  467. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  468. _internal_metadata_.unknown_fields());
  469. }
  470. // required .message.Base_info base_info = 1;
  471. if (has_base_info()) {
  472. total_size += 1 +
  473. ::google::protobuf::internal::WireFormatLite::MessageSize(
  474. *this->base_info_);
  475. }
  476. // repeated .message.Entrance_statu entrance_statu_vector = 2;
  477. {
  478. size_t data_size = 0;
  479. unsigned int count = static_cast<unsigned int>(this->entrance_statu_vector_size());for (unsigned int i = 0; i < count; i++) {
  480. data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
  481. this->entrance_statu_vector(static_cast<int>(i)));
  482. }
  483. total_size += (1UL * count) + data_size;
  484. }
  485. // repeated .message.Entrance_statu export_statu_vector = 3;
  486. {
  487. size_t data_size = 0;
  488. unsigned int count = static_cast<unsigned int>(this->export_statu_vector_size());for (unsigned int i = 0; i < count; i++) {
  489. data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
  490. this->export_statu_vector(static_cast<int>(i)));
  491. }
  492. total_size += (1UL * count) + data_size;
  493. }
  494. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  495. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  496. _cached_size_ = cached_size;
  497. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  498. return total_size;
  499. }
  500. void Central_controller_statu_msg::MergeFrom(const ::google::protobuf::Message& from) {
  501. // @@protoc_insertion_point(generalized_merge_from_start:message.Central_controller_statu_msg)
  502. GOOGLE_DCHECK_NE(&from, this);
  503. const Central_controller_statu_msg* source =
  504. ::google::protobuf::internal::DynamicCastToGenerated<const Central_controller_statu_msg>(
  505. &from);
  506. if (source == NULL) {
  507. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Central_controller_statu_msg)
  508. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  509. } else {
  510. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Central_controller_statu_msg)
  511. MergeFrom(*source);
  512. }
  513. }
  514. void Central_controller_statu_msg::MergeFrom(const Central_controller_statu_msg& from) {
  515. // @@protoc_insertion_point(class_specific_merge_from_start:message.Central_controller_statu_msg)
  516. GOOGLE_DCHECK_NE(&from, this);
  517. _internal_metadata_.MergeFrom(from._internal_metadata_);
  518. ::google::protobuf::uint32 cached_has_bits = 0;
  519. (void) cached_has_bits;
  520. entrance_statu_vector_.MergeFrom(from.entrance_statu_vector_);
  521. export_statu_vector_.MergeFrom(from.export_statu_vector_);
  522. if (from.has_base_info()) {
  523. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  524. }
  525. }
  526. void Central_controller_statu_msg::CopyFrom(const ::google::protobuf::Message& from) {
  527. // @@protoc_insertion_point(generalized_copy_from_start:message.Central_controller_statu_msg)
  528. if (&from == this) return;
  529. Clear();
  530. MergeFrom(from);
  531. }
  532. void Central_controller_statu_msg::CopyFrom(const Central_controller_statu_msg& from) {
  533. // @@protoc_insertion_point(class_specific_copy_from_start:message.Central_controller_statu_msg)
  534. if (&from == this) return;
  535. Clear();
  536. MergeFrom(from);
  537. }
  538. bool Central_controller_statu_msg::IsInitialized() const {
  539. if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
  540. if (has_base_info()) {
  541. if (!this->base_info_->IsInitialized()) return false;
  542. }
  543. return true;
  544. }
  545. void Central_controller_statu_msg::Swap(Central_controller_statu_msg* other) {
  546. if (other == this) return;
  547. InternalSwap(other);
  548. }
  549. void Central_controller_statu_msg::InternalSwap(Central_controller_statu_msg* other) {
  550. using std::swap;
  551. entrance_statu_vector_.InternalSwap(&other->entrance_statu_vector_);
  552. export_statu_vector_.InternalSwap(&other->export_statu_vector_);
  553. swap(base_info_, other->base_info_);
  554. swap(_has_bits_[0], other->_has_bits_[0]);
  555. _internal_metadata_.Swap(&other->_internal_metadata_);
  556. swap(_cached_size_, other->_cached_size_);
  557. }
  558. ::google::protobuf::Metadata Central_controller_statu_msg::GetMetadata() const {
  559. protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  560. return ::protobuf_central_5fcontrol_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  561. }
  562. // ===================================================================
  563. void Entrance_manual_operation_msg::InitAsDefaultInstance() {
  564. ::message::_Entrance_manual_operation_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  565. ::message::Base_info::internal_default_instance());
  566. }
  567. void Entrance_manual_operation_msg::clear_base_info() {
  568. if (base_info_ != NULL) base_info_->Clear();
  569. clear_has_base_info();
  570. }
  571. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  572. const int Entrance_manual_operation_msg::kBaseInfoFieldNumber;
  573. const int Entrance_manual_operation_msg::kTerminalIdFieldNumber;
  574. const int Entrance_manual_operation_msg::kProcessTypeFieldNumber;
  575. const int Entrance_manual_operation_msg::kEntranceStatuFieldNumber;
  576. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  577. Entrance_manual_operation_msg::Entrance_manual_operation_msg()
  578. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  579. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  580. ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsEntrance_manual_operation_msg();
  581. }
  582. SharedCtor();
  583. // @@protoc_insertion_point(constructor:message.Entrance_manual_operation_msg)
  584. }
  585. Entrance_manual_operation_msg::Entrance_manual_operation_msg(const Entrance_manual_operation_msg& from)
  586. : ::google::protobuf::Message(),
  587. _internal_metadata_(NULL),
  588. _has_bits_(from._has_bits_),
  589. _cached_size_(0) {
  590. _internal_metadata_.MergeFrom(from._internal_metadata_);
  591. if (from.has_base_info()) {
  592. base_info_ = new ::message::Base_info(*from.base_info_);
  593. } else {
  594. base_info_ = NULL;
  595. }
  596. ::memcpy(&terminal_id_, &from.terminal_id_,
  597. static_cast<size_t>(reinterpret_cast<char*>(&process_type_) -
  598. reinterpret_cast<char*>(&terminal_id_)) + sizeof(process_type_));
  599. // @@protoc_insertion_point(copy_constructor:message.Entrance_manual_operation_msg)
  600. }
  601. void Entrance_manual_operation_msg::SharedCtor() {
  602. _cached_size_ = 0;
  603. ::memset(&base_info_, 0, static_cast<size_t>(
  604. reinterpret_cast<char*>(&entrance_statu_) -
  605. reinterpret_cast<char*>(&base_info_)) + sizeof(entrance_statu_));
  606. process_type_ = 1;
  607. }
  608. Entrance_manual_operation_msg::~Entrance_manual_operation_msg() {
  609. // @@protoc_insertion_point(destructor:message.Entrance_manual_operation_msg)
  610. SharedDtor();
  611. }
  612. void Entrance_manual_operation_msg::SharedDtor() {
  613. if (this != internal_default_instance()) delete base_info_;
  614. }
  615. void Entrance_manual_operation_msg::SetCachedSize(int size) const {
  616. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  617. _cached_size_ = size;
  618. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  619. }
  620. const ::google::protobuf::Descriptor* Entrance_manual_operation_msg::descriptor() {
  621. ::protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  622. return ::protobuf_central_5fcontrol_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  623. }
  624. const Entrance_manual_operation_msg& Entrance_manual_operation_msg::default_instance() {
  625. ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsEntrance_manual_operation_msg();
  626. return *internal_default_instance();
  627. }
  628. Entrance_manual_operation_msg* Entrance_manual_operation_msg::New(::google::protobuf::Arena* arena) const {
  629. Entrance_manual_operation_msg* n = new Entrance_manual_operation_msg;
  630. if (arena != NULL) {
  631. arena->Own(n);
  632. }
  633. return n;
  634. }
  635. void Entrance_manual_operation_msg::Clear() {
  636. // @@protoc_insertion_point(message_clear_start:message.Entrance_manual_operation_msg)
  637. ::google::protobuf::uint32 cached_has_bits = 0;
  638. // Prevent compiler warnings about cached_has_bits being unused
  639. (void) cached_has_bits;
  640. cached_has_bits = _has_bits_[0];
  641. if (cached_has_bits & 0x00000001u) {
  642. GOOGLE_DCHECK(base_info_ != NULL);
  643. base_info_->Clear();
  644. }
  645. if (cached_has_bits & 14u) {
  646. ::memset(&terminal_id_, 0, static_cast<size_t>(
  647. reinterpret_cast<char*>(&entrance_statu_) -
  648. reinterpret_cast<char*>(&terminal_id_)) + sizeof(entrance_statu_));
  649. process_type_ = 1;
  650. }
  651. _has_bits_.Clear();
  652. _internal_metadata_.Clear();
  653. }
  654. bool Entrance_manual_operation_msg::MergePartialFromCodedStream(
  655. ::google::protobuf::io::CodedInputStream* input) {
  656. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  657. ::google::protobuf::uint32 tag;
  658. // @@protoc_insertion_point(parse_start:message.Entrance_manual_operation_msg)
  659. for (;;) {
  660. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  661. tag = p.first;
  662. if (!p.second) goto handle_unusual;
  663. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  664. // required .message.Base_info base_info = 1;
  665. case 1: {
  666. if (static_cast< ::google::protobuf::uint8>(tag) ==
  667. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  668. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  669. input, mutable_base_info()));
  670. } else {
  671. goto handle_unusual;
  672. }
  673. break;
  674. }
  675. // required int32 terminal_id = 2;
  676. case 2: {
  677. if (static_cast< ::google::protobuf::uint8>(tag) ==
  678. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  679. set_has_terminal_id();
  680. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  681. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  682. input, &terminal_id_)));
  683. } else {
  684. goto handle_unusual;
  685. }
  686. break;
  687. }
  688. // required .message.Process_type process_type = 3;
  689. case 3: {
  690. if (static_cast< ::google::protobuf::uint8>(tag) ==
  691. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  692. int value;
  693. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  694. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  695. input, &value)));
  696. if (::message::Process_type_IsValid(value)) {
  697. set_process_type(static_cast< ::message::Process_type >(value));
  698. } else {
  699. mutable_unknown_fields()->AddVarint(
  700. 3, static_cast< ::google::protobuf::uint64>(value));
  701. }
  702. } else {
  703. goto handle_unusual;
  704. }
  705. break;
  706. }
  707. // required .message.Entrance_statu entrance_statu = 4;
  708. case 4: {
  709. if (static_cast< ::google::protobuf::uint8>(tag) ==
  710. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  711. int value;
  712. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  713. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  714. input, &value)));
  715. if (::message::Entrance_statu_IsValid(value)) {
  716. set_entrance_statu(static_cast< ::message::Entrance_statu >(value));
  717. } else {
  718. mutable_unknown_fields()->AddVarint(
  719. 4, static_cast< ::google::protobuf::uint64>(value));
  720. }
  721. } else {
  722. goto handle_unusual;
  723. }
  724. break;
  725. }
  726. default: {
  727. handle_unusual:
  728. if (tag == 0) {
  729. goto success;
  730. }
  731. DO_(::google::protobuf::internal::WireFormat::SkipField(
  732. input, tag, _internal_metadata_.mutable_unknown_fields()));
  733. break;
  734. }
  735. }
  736. }
  737. success:
  738. // @@protoc_insertion_point(parse_success:message.Entrance_manual_operation_msg)
  739. return true;
  740. failure:
  741. // @@protoc_insertion_point(parse_failure:message.Entrance_manual_operation_msg)
  742. return false;
  743. #undef DO_
  744. }
  745. void Entrance_manual_operation_msg::SerializeWithCachedSizes(
  746. ::google::protobuf::io::CodedOutputStream* output) const {
  747. // @@protoc_insertion_point(serialize_start:message.Entrance_manual_operation_msg)
  748. ::google::protobuf::uint32 cached_has_bits = 0;
  749. (void) cached_has_bits;
  750. cached_has_bits = _has_bits_[0];
  751. // required .message.Base_info base_info = 1;
  752. if (cached_has_bits & 0x00000001u) {
  753. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  754. 1, *this->base_info_, output);
  755. }
  756. // required int32 terminal_id = 2;
  757. if (cached_has_bits & 0x00000002u) {
  758. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->terminal_id(), output);
  759. }
  760. // required .message.Process_type process_type = 3;
  761. if (cached_has_bits & 0x00000008u) {
  762. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  763. 3, this->process_type(), output);
  764. }
  765. // required .message.Entrance_statu entrance_statu = 4;
  766. if (cached_has_bits & 0x00000004u) {
  767. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  768. 4, this->entrance_statu(), output);
  769. }
  770. if (_internal_metadata_.have_unknown_fields()) {
  771. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  772. _internal_metadata_.unknown_fields(), output);
  773. }
  774. // @@protoc_insertion_point(serialize_end:message.Entrance_manual_operation_msg)
  775. }
  776. ::google::protobuf::uint8* Entrance_manual_operation_msg::InternalSerializeWithCachedSizesToArray(
  777. bool deterministic, ::google::protobuf::uint8* target) const {
  778. (void)deterministic; // Unused
  779. // @@protoc_insertion_point(serialize_to_array_start:message.Entrance_manual_operation_msg)
  780. ::google::protobuf::uint32 cached_has_bits = 0;
  781. (void) cached_has_bits;
  782. cached_has_bits = _has_bits_[0];
  783. // required .message.Base_info base_info = 1;
  784. if (cached_has_bits & 0x00000001u) {
  785. target = ::google::protobuf::internal::WireFormatLite::
  786. InternalWriteMessageToArray(
  787. 1, *this->base_info_, deterministic, target);
  788. }
  789. // required int32 terminal_id = 2;
  790. if (cached_has_bits & 0x00000002u) {
  791. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->terminal_id(), target);
  792. }
  793. // required .message.Process_type process_type = 3;
  794. if (cached_has_bits & 0x00000008u) {
  795. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  796. 3, this->process_type(), target);
  797. }
  798. // required .message.Entrance_statu entrance_statu = 4;
  799. if (cached_has_bits & 0x00000004u) {
  800. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  801. 4, this->entrance_statu(), target);
  802. }
  803. if (_internal_metadata_.have_unknown_fields()) {
  804. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  805. _internal_metadata_.unknown_fields(), target);
  806. }
  807. // @@protoc_insertion_point(serialize_to_array_end:message.Entrance_manual_operation_msg)
  808. return target;
  809. }
  810. size_t Entrance_manual_operation_msg::RequiredFieldsByteSizeFallback() const {
  811. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Entrance_manual_operation_msg)
  812. size_t total_size = 0;
  813. if (has_base_info()) {
  814. // required .message.Base_info base_info = 1;
  815. total_size += 1 +
  816. ::google::protobuf::internal::WireFormatLite::MessageSize(
  817. *this->base_info_);
  818. }
  819. if (has_terminal_id()) {
  820. // required int32 terminal_id = 2;
  821. total_size += 1 +
  822. ::google::protobuf::internal::WireFormatLite::Int32Size(
  823. this->terminal_id());
  824. }
  825. if (has_entrance_statu()) {
  826. // required .message.Entrance_statu entrance_statu = 4;
  827. total_size += 1 +
  828. ::google::protobuf::internal::WireFormatLite::EnumSize(this->entrance_statu());
  829. }
  830. if (has_process_type()) {
  831. // required .message.Process_type process_type = 3;
  832. total_size += 1 +
  833. ::google::protobuf::internal::WireFormatLite::EnumSize(this->process_type());
  834. }
  835. return total_size;
  836. }
  837. size_t Entrance_manual_operation_msg::ByteSizeLong() const {
  838. // @@protoc_insertion_point(message_byte_size_start:message.Entrance_manual_operation_msg)
  839. size_t total_size = 0;
  840. if (_internal_metadata_.have_unknown_fields()) {
  841. total_size +=
  842. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  843. _internal_metadata_.unknown_fields());
  844. }
  845. if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
  846. // required .message.Base_info base_info = 1;
  847. total_size += 1 +
  848. ::google::protobuf::internal::WireFormatLite::MessageSize(
  849. *this->base_info_);
  850. // required int32 terminal_id = 2;
  851. total_size += 1 +
  852. ::google::protobuf::internal::WireFormatLite::Int32Size(
  853. this->terminal_id());
  854. // required .message.Entrance_statu entrance_statu = 4;
  855. total_size += 1 +
  856. ::google::protobuf::internal::WireFormatLite::EnumSize(this->entrance_statu());
  857. // required .message.Process_type process_type = 3;
  858. total_size += 1 +
  859. ::google::protobuf::internal::WireFormatLite::EnumSize(this->process_type());
  860. } else {
  861. total_size += RequiredFieldsByteSizeFallback();
  862. }
  863. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  864. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  865. _cached_size_ = cached_size;
  866. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  867. return total_size;
  868. }
  869. void Entrance_manual_operation_msg::MergeFrom(const ::google::protobuf::Message& from) {
  870. // @@protoc_insertion_point(generalized_merge_from_start:message.Entrance_manual_operation_msg)
  871. GOOGLE_DCHECK_NE(&from, this);
  872. const Entrance_manual_operation_msg* source =
  873. ::google::protobuf::internal::DynamicCastToGenerated<const Entrance_manual_operation_msg>(
  874. &from);
  875. if (source == NULL) {
  876. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Entrance_manual_operation_msg)
  877. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  878. } else {
  879. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Entrance_manual_operation_msg)
  880. MergeFrom(*source);
  881. }
  882. }
  883. void Entrance_manual_operation_msg::MergeFrom(const Entrance_manual_operation_msg& from) {
  884. // @@protoc_insertion_point(class_specific_merge_from_start:message.Entrance_manual_operation_msg)
  885. GOOGLE_DCHECK_NE(&from, this);
  886. _internal_metadata_.MergeFrom(from._internal_metadata_);
  887. ::google::protobuf::uint32 cached_has_bits = 0;
  888. (void) cached_has_bits;
  889. cached_has_bits = from._has_bits_[0];
  890. if (cached_has_bits & 15u) {
  891. if (cached_has_bits & 0x00000001u) {
  892. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  893. }
  894. if (cached_has_bits & 0x00000002u) {
  895. terminal_id_ = from.terminal_id_;
  896. }
  897. if (cached_has_bits & 0x00000004u) {
  898. entrance_statu_ = from.entrance_statu_;
  899. }
  900. if (cached_has_bits & 0x00000008u) {
  901. process_type_ = from.process_type_;
  902. }
  903. _has_bits_[0] |= cached_has_bits;
  904. }
  905. }
  906. void Entrance_manual_operation_msg::CopyFrom(const ::google::protobuf::Message& from) {
  907. // @@protoc_insertion_point(generalized_copy_from_start:message.Entrance_manual_operation_msg)
  908. if (&from == this) return;
  909. Clear();
  910. MergeFrom(from);
  911. }
  912. void Entrance_manual_operation_msg::CopyFrom(const Entrance_manual_operation_msg& from) {
  913. // @@protoc_insertion_point(class_specific_copy_from_start:message.Entrance_manual_operation_msg)
  914. if (&from == this) return;
  915. Clear();
  916. MergeFrom(from);
  917. }
  918. bool Entrance_manual_operation_msg::IsInitialized() const {
  919. if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
  920. if (has_base_info()) {
  921. if (!this->base_info_->IsInitialized()) return false;
  922. }
  923. return true;
  924. }
  925. void Entrance_manual_operation_msg::Swap(Entrance_manual_operation_msg* other) {
  926. if (other == this) return;
  927. InternalSwap(other);
  928. }
  929. void Entrance_manual_operation_msg::InternalSwap(Entrance_manual_operation_msg* other) {
  930. using std::swap;
  931. swap(base_info_, other->base_info_);
  932. swap(terminal_id_, other->terminal_id_);
  933. swap(entrance_statu_, other->entrance_statu_);
  934. swap(process_type_, other->process_type_);
  935. swap(_has_bits_[0], other->_has_bits_[0]);
  936. _internal_metadata_.Swap(&other->_internal_metadata_);
  937. swap(_cached_size_, other->_cached_size_);
  938. }
  939. ::google::protobuf::Metadata Entrance_manual_operation_msg::GetMetadata() const {
  940. protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  941. return ::protobuf_central_5fcontrol_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  942. }
  943. // ===================================================================
  944. void Process_manual_operation_msg::InitAsDefaultInstance() {
  945. ::message::_Process_manual_operation_msg_default_instance_._instance.get_mutable()->base_info_ = const_cast< ::message::Base_info*>(
  946. ::message::Base_info::internal_default_instance());
  947. }
  948. void Process_manual_operation_msg::clear_base_info() {
  949. if (base_info_ != NULL) base_info_->Clear();
  950. clear_has_base_info();
  951. }
  952. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  953. const int Process_manual_operation_msg::kBaseInfoFieldNumber;
  954. const int Process_manual_operation_msg::kLicenseFieldNumber;
  955. const int Process_manual_operation_msg::kStepTypeFieldNumber;
  956. const int Process_manual_operation_msg::kOperateTypeFieldNumber;
  957. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  958. Process_manual_operation_msg::Process_manual_operation_msg()
  959. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  960. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  961. ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsProcess_manual_operation_msg();
  962. }
  963. SharedCtor();
  964. // @@protoc_insertion_point(constructor:message.Process_manual_operation_msg)
  965. }
  966. Process_manual_operation_msg::Process_manual_operation_msg(const Process_manual_operation_msg& from)
  967. : ::google::protobuf::Message(),
  968. _internal_metadata_(NULL),
  969. _has_bits_(from._has_bits_),
  970. _cached_size_(0) {
  971. _internal_metadata_.MergeFrom(from._internal_metadata_);
  972. license_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  973. if (from.has_license()) {
  974. license_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.license_);
  975. }
  976. if (from.has_base_info()) {
  977. base_info_ = new ::message::Base_info(*from.base_info_);
  978. } else {
  979. base_info_ = NULL;
  980. }
  981. ::memcpy(&step_type_, &from.step_type_,
  982. static_cast<size_t>(reinterpret_cast<char*>(&operate_type_) -
  983. reinterpret_cast<char*>(&step_type_)) + sizeof(operate_type_));
  984. // @@protoc_insertion_point(copy_constructor:message.Process_manual_operation_msg)
  985. }
  986. void Process_manual_operation_msg::SharedCtor() {
  987. _cached_size_ = 0;
  988. license_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  989. ::memset(&base_info_, 0, static_cast<size_t>(
  990. reinterpret_cast<char*>(&operate_type_) -
  991. reinterpret_cast<char*>(&base_info_)) + sizeof(operate_type_));
  992. }
  993. Process_manual_operation_msg::~Process_manual_operation_msg() {
  994. // @@protoc_insertion_point(destructor:message.Process_manual_operation_msg)
  995. SharedDtor();
  996. }
  997. void Process_manual_operation_msg::SharedDtor() {
  998. license_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  999. if (this != internal_default_instance()) delete base_info_;
  1000. }
  1001. void Process_manual_operation_msg::SetCachedSize(int size) const {
  1002. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1003. _cached_size_ = size;
  1004. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1005. }
  1006. const ::google::protobuf::Descriptor* Process_manual_operation_msg::descriptor() {
  1007. ::protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1008. return ::protobuf_central_5fcontrol_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1009. }
  1010. const Process_manual_operation_msg& Process_manual_operation_msg::default_instance() {
  1011. ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsProcess_manual_operation_msg();
  1012. return *internal_default_instance();
  1013. }
  1014. Process_manual_operation_msg* Process_manual_operation_msg::New(::google::protobuf::Arena* arena) const {
  1015. Process_manual_operation_msg* n = new Process_manual_operation_msg;
  1016. if (arena != NULL) {
  1017. arena->Own(n);
  1018. }
  1019. return n;
  1020. }
  1021. void Process_manual_operation_msg::Clear() {
  1022. // @@protoc_insertion_point(message_clear_start:message.Process_manual_operation_msg)
  1023. ::google::protobuf::uint32 cached_has_bits = 0;
  1024. // Prevent compiler warnings about cached_has_bits being unused
  1025. (void) cached_has_bits;
  1026. cached_has_bits = _has_bits_[0];
  1027. if (cached_has_bits & 3u) {
  1028. if (cached_has_bits & 0x00000001u) {
  1029. GOOGLE_DCHECK(!license_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
  1030. (*license_.UnsafeRawStringPointer())->clear();
  1031. }
  1032. if (cached_has_bits & 0x00000002u) {
  1033. GOOGLE_DCHECK(base_info_ != NULL);
  1034. base_info_->Clear();
  1035. }
  1036. }
  1037. if (cached_has_bits & 12u) {
  1038. ::memset(&step_type_, 0, static_cast<size_t>(
  1039. reinterpret_cast<char*>(&operate_type_) -
  1040. reinterpret_cast<char*>(&step_type_)) + sizeof(operate_type_));
  1041. }
  1042. _has_bits_.Clear();
  1043. _internal_metadata_.Clear();
  1044. }
  1045. bool Process_manual_operation_msg::MergePartialFromCodedStream(
  1046. ::google::protobuf::io::CodedInputStream* input) {
  1047. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1048. ::google::protobuf::uint32 tag;
  1049. // @@protoc_insertion_point(parse_start:message.Process_manual_operation_msg)
  1050. for (;;) {
  1051. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1052. tag = p.first;
  1053. if (!p.second) goto handle_unusual;
  1054. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1055. // required .message.Base_info base_info = 1;
  1056. case 1: {
  1057. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1058. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1059. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1060. input, mutable_base_info()));
  1061. } else {
  1062. goto handle_unusual;
  1063. }
  1064. break;
  1065. }
  1066. // required string license = 2;
  1067. case 2: {
  1068. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1069. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1070. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1071. input, this->mutable_license()));
  1072. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1073. this->license().data(), static_cast<int>(this->license().length()),
  1074. ::google::protobuf::internal::WireFormat::PARSE,
  1075. "message.Process_manual_operation_msg.license");
  1076. } else {
  1077. goto handle_unusual;
  1078. }
  1079. break;
  1080. }
  1081. // required .message.Step_type step_type = 3;
  1082. case 3: {
  1083. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1084. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  1085. int value;
  1086. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1087. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1088. input, &value)));
  1089. if (::message::Step_type_IsValid(value)) {
  1090. set_step_type(static_cast< ::message::Step_type >(value));
  1091. } else {
  1092. mutable_unknown_fields()->AddVarint(
  1093. 3, static_cast< ::google::protobuf::uint64>(value));
  1094. }
  1095. } else {
  1096. goto handle_unusual;
  1097. }
  1098. break;
  1099. }
  1100. // required .message.Process_operation_type operate_type = 4;
  1101. case 4: {
  1102. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1103. static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
  1104. int value;
  1105. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1106. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1107. input, &value)));
  1108. if (::message::Process_operation_type_IsValid(value)) {
  1109. set_operate_type(static_cast< ::message::Process_operation_type >(value));
  1110. } else {
  1111. mutable_unknown_fields()->AddVarint(
  1112. 4, static_cast< ::google::protobuf::uint64>(value));
  1113. }
  1114. } else {
  1115. goto handle_unusual;
  1116. }
  1117. break;
  1118. }
  1119. default: {
  1120. handle_unusual:
  1121. if (tag == 0) {
  1122. goto success;
  1123. }
  1124. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1125. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1126. break;
  1127. }
  1128. }
  1129. }
  1130. success:
  1131. // @@protoc_insertion_point(parse_success:message.Process_manual_operation_msg)
  1132. return true;
  1133. failure:
  1134. // @@protoc_insertion_point(parse_failure:message.Process_manual_operation_msg)
  1135. return false;
  1136. #undef DO_
  1137. }
  1138. void Process_manual_operation_msg::SerializeWithCachedSizes(
  1139. ::google::protobuf::io::CodedOutputStream* output) const {
  1140. // @@protoc_insertion_point(serialize_start:message.Process_manual_operation_msg)
  1141. ::google::protobuf::uint32 cached_has_bits = 0;
  1142. (void) cached_has_bits;
  1143. cached_has_bits = _has_bits_[0];
  1144. // required .message.Base_info base_info = 1;
  1145. if (cached_has_bits & 0x00000002u) {
  1146. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1147. 1, *this->base_info_, output);
  1148. }
  1149. // required string license = 2;
  1150. if (cached_has_bits & 0x00000001u) {
  1151. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1152. this->license().data(), static_cast<int>(this->license().length()),
  1153. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1154. "message.Process_manual_operation_msg.license");
  1155. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1156. 2, this->license(), output);
  1157. }
  1158. // required .message.Step_type step_type = 3;
  1159. if (cached_has_bits & 0x00000004u) {
  1160. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1161. 3, this->step_type(), output);
  1162. }
  1163. // required .message.Process_operation_type operate_type = 4;
  1164. if (cached_has_bits & 0x00000008u) {
  1165. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1166. 4, this->operate_type(), output);
  1167. }
  1168. if (_internal_metadata_.have_unknown_fields()) {
  1169. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1170. _internal_metadata_.unknown_fields(), output);
  1171. }
  1172. // @@protoc_insertion_point(serialize_end:message.Process_manual_operation_msg)
  1173. }
  1174. ::google::protobuf::uint8* Process_manual_operation_msg::InternalSerializeWithCachedSizesToArray(
  1175. bool deterministic, ::google::protobuf::uint8* target) const {
  1176. (void)deterministic; // Unused
  1177. // @@protoc_insertion_point(serialize_to_array_start:message.Process_manual_operation_msg)
  1178. ::google::protobuf::uint32 cached_has_bits = 0;
  1179. (void) cached_has_bits;
  1180. cached_has_bits = _has_bits_[0];
  1181. // required .message.Base_info base_info = 1;
  1182. if (cached_has_bits & 0x00000002u) {
  1183. target = ::google::protobuf::internal::WireFormatLite::
  1184. InternalWriteMessageToArray(
  1185. 1, *this->base_info_, deterministic, target);
  1186. }
  1187. // required string license = 2;
  1188. if (cached_has_bits & 0x00000001u) {
  1189. ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
  1190. this->license().data(), static_cast<int>(this->license().length()),
  1191. ::google::protobuf::internal::WireFormat::SERIALIZE,
  1192. "message.Process_manual_operation_msg.license");
  1193. target =
  1194. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1195. 2, this->license(), target);
  1196. }
  1197. // required .message.Step_type step_type = 3;
  1198. if (cached_has_bits & 0x00000004u) {
  1199. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1200. 3, this->step_type(), target);
  1201. }
  1202. // required .message.Process_operation_type operate_type = 4;
  1203. if (cached_has_bits & 0x00000008u) {
  1204. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1205. 4, this->operate_type(), target);
  1206. }
  1207. if (_internal_metadata_.have_unknown_fields()) {
  1208. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1209. _internal_metadata_.unknown_fields(), target);
  1210. }
  1211. // @@protoc_insertion_point(serialize_to_array_end:message.Process_manual_operation_msg)
  1212. return target;
  1213. }
  1214. size_t Process_manual_operation_msg::RequiredFieldsByteSizeFallback() const {
  1215. // @@protoc_insertion_point(required_fields_byte_size_fallback_start:message.Process_manual_operation_msg)
  1216. size_t total_size = 0;
  1217. if (has_license()) {
  1218. // required string license = 2;
  1219. total_size += 1 +
  1220. ::google::protobuf::internal::WireFormatLite::StringSize(
  1221. this->license());
  1222. }
  1223. if (has_base_info()) {
  1224. // required .message.Base_info base_info = 1;
  1225. total_size += 1 +
  1226. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1227. *this->base_info_);
  1228. }
  1229. if (has_step_type()) {
  1230. // required .message.Step_type step_type = 3;
  1231. total_size += 1 +
  1232. ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_type());
  1233. }
  1234. if (has_operate_type()) {
  1235. // required .message.Process_operation_type operate_type = 4;
  1236. total_size += 1 +
  1237. ::google::protobuf::internal::WireFormatLite::EnumSize(this->operate_type());
  1238. }
  1239. return total_size;
  1240. }
  1241. size_t Process_manual_operation_msg::ByteSizeLong() const {
  1242. // @@protoc_insertion_point(message_byte_size_start:message.Process_manual_operation_msg)
  1243. size_t total_size = 0;
  1244. if (_internal_metadata_.have_unknown_fields()) {
  1245. total_size +=
  1246. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1247. _internal_metadata_.unknown_fields());
  1248. }
  1249. if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present.
  1250. // required string license = 2;
  1251. total_size += 1 +
  1252. ::google::protobuf::internal::WireFormatLite::StringSize(
  1253. this->license());
  1254. // required .message.Base_info base_info = 1;
  1255. total_size += 1 +
  1256. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1257. *this->base_info_);
  1258. // required .message.Step_type step_type = 3;
  1259. total_size += 1 +
  1260. ::google::protobuf::internal::WireFormatLite::EnumSize(this->step_type());
  1261. // required .message.Process_operation_type operate_type = 4;
  1262. total_size += 1 +
  1263. ::google::protobuf::internal::WireFormatLite::EnumSize(this->operate_type());
  1264. } else {
  1265. total_size += RequiredFieldsByteSizeFallback();
  1266. }
  1267. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1268. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1269. _cached_size_ = cached_size;
  1270. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1271. return total_size;
  1272. }
  1273. void Process_manual_operation_msg::MergeFrom(const ::google::protobuf::Message& from) {
  1274. // @@protoc_insertion_point(generalized_merge_from_start:message.Process_manual_operation_msg)
  1275. GOOGLE_DCHECK_NE(&from, this);
  1276. const Process_manual_operation_msg* source =
  1277. ::google::protobuf::internal::DynamicCastToGenerated<const Process_manual_operation_msg>(
  1278. &from);
  1279. if (source == NULL) {
  1280. // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Process_manual_operation_msg)
  1281. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1282. } else {
  1283. // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Process_manual_operation_msg)
  1284. MergeFrom(*source);
  1285. }
  1286. }
  1287. void Process_manual_operation_msg::MergeFrom(const Process_manual_operation_msg& from) {
  1288. // @@protoc_insertion_point(class_specific_merge_from_start:message.Process_manual_operation_msg)
  1289. GOOGLE_DCHECK_NE(&from, this);
  1290. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1291. ::google::protobuf::uint32 cached_has_bits = 0;
  1292. (void) cached_has_bits;
  1293. cached_has_bits = from._has_bits_[0];
  1294. if (cached_has_bits & 15u) {
  1295. if (cached_has_bits & 0x00000001u) {
  1296. set_has_license();
  1297. license_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.license_);
  1298. }
  1299. if (cached_has_bits & 0x00000002u) {
  1300. mutable_base_info()->::message::Base_info::MergeFrom(from.base_info());
  1301. }
  1302. if (cached_has_bits & 0x00000004u) {
  1303. step_type_ = from.step_type_;
  1304. }
  1305. if (cached_has_bits & 0x00000008u) {
  1306. operate_type_ = from.operate_type_;
  1307. }
  1308. _has_bits_[0] |= cached_has_bits;
  1309. }
  1310. }
  1311. void Process_manual_operation_msg::CopyFrom(const ::google::protobuf::Message& from) {
  1312. // @@protoc_insertion_point(generalized_copy_from_start:message.Process_manual_operation_msg)
  1313. if (&from == this) return;
  1314. Clear();
  1315. MergeFrom(from);
  1316. }
  1317. void Process_manual_operation_msg::CopyFrom(const Process_manual_operation_msg& from) {
  1318. // @@protoc_insertion_point(class_specific_copy_from_start:message.Process_manual_operation_msg)
  1319. if (&from == this) return;
  1320. Clear();
  1321. MergeFrom(from);
  1322. }
  1323. bool Process_manual_operation_msg::IsInitialized() const {
  1324. if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
  1325. if (has_base_info()) {
  1326. if (!this->base_info_->IsInitialized()) return false;
  1327. }
  1328. return true;
  1329. }
  1330. void Process_manual_operation_msg::Swap(Process_manual_operation_msg* other) {
  1331. if (other == this) return;
  1332. InternalSwap(other);
  1333. }
  1334. void Process_manual_operation_msg::InternalSwap(Process_manual_operation_msg* other) {
  1335. using std::swap;
  1336. license_.Swap(&other->license_);
  1337. swap(base_info_, other->base_info_);
  1338. swap(step_type_, other->step_type_);
  1339. swap(operate_type_, other->operate_type_);
  1340. swap(_has_bits_[0], other->_has_bits_[0]);
  1341. _internal_metadata_.Swap(&other->_internal_metadata_);
  1342. swap(_cached_size_, other->_cached_size_);
  1343. }
  1344. ::google::protobuf::Metadata Process_manual_operation_msg::GetMetadata() const {
  1345. protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
  1346. return ::protobuf_central_5fcontrol_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
  1347. }
  1348. // @@protoc_insertion_point(namespace_scope)
  1349. } // namespace message
  1350. // @@protoc_insertion_point(global_scope)