TaskInfoMessage.pb.cc 105 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: TaskInfoMessage.proto
  3. #include "TaskInfoMessage.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 GP1 {
  20. class TaskInfoMessage_TaskInfoMapEntry_DoNotUseDefaultTypeInternal {
  21. public:
  22. ::google::protobuf::internal::ExplicitlyConstructed<TaskInfoMessage_TaskInfoMapEntry_DoNotUse>
  23. _instance;
  24. } _TaskInfoMessage_TaskInfoMapEntry_DoNotUse_default_instance_;
  25. class TaskInfoMessageDefaultTypeInternal {
  26. public:
  27. ::google::protobuf::internal::ExplicitlyConstructed<TaskInfoMessage>
  28. _instance;
  29. } _TaskInfoMessage_default_instance_;
  30. class PackHeadDefaultTypeInternal {
  31. public:
  32. ::google::protobuf::internal::ExplicitlyConstructed<PackHead>
  33. _instance;
  34. } _PackHead_default_instance_;
  35. class MapValueDefaultTypeInternal {
  36. public:
  37. ::google::protobuf::internal::ExplicitlyConstructed<MapValue>
  38. _instance;
  39. } _MapValue_default_instance_;
  40. } // namespace GP1
  41. namespace protobuf_TaskInfoMessage_2eproto {
  42. void InitDefaultsTaskInfoMessage_TaskInfoMapEntry_DoNotUseImpl() {
  43. GOOGLE_PROTOBUF_VERIFY_VERSION;
  44. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  45. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  46. #else
  47. ::google::protobuf::internal::InitProtobufDefaults();
  48. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  49. protobuf_TaskInfoMessage_2eproto::InitDefaultsMapValue();
  50. {
  51. void* ptr = &::GP1::_TaskInfoMessage_TaskInfoMapEntry_DoNotUse_default_instance_;
  52. new (ptr) ::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse();
  53. }
  54. ::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse::InitAsDefaultInstance();
  55. }
  56. void InitDefaultsTaskInfoMessage_TaskInfoMapEntry_DoNotUse() {
  57. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  58. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTaskInfoMessage_TaskInfoMapEntry_DoNotUseImpl);
  59. }
  60. void InitDefaultsTaskInfoMessageImpl() {
  61. GOOGLE_PROTOBUF_VERIFY_VERSION;
  62. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  63. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  64. #else
  65. ::google::protobuf::internal::InitProtobufDefaults();
  66. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  67. protobuf_TaskInfoMessage_2eproto::InitDefaultsTaskInfoMessage_TaskInfoMapEntry_DoNotUse();
  68. {
  69. void* ptr = &::GP1::_TaskInfoMessage_default_instance_;
  70. new (ptr) ::GP1::TaskInfoMessage();
  71. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  72. }
  73. ::GP1::TaskInfoMessage::InitAsDefaultInstance();
  74. }
  75. void InitDefaultsTaskInfoMessage() {
  76. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  77. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTaskInfoMessageImpl);
  78. }
  79. void InitDefaultsPackHeadImpl() {
  80. GOOGLE_PROTOBUF_VERIFY_VERSION;
  81. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  82. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  83. #else
  84. ::google::protobuf::internal::InitProtobufDefaults();
  85. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  86. {
  87. void* ptr = &::GP1::_PackHead_default_instance_;
  88. new (ptr) ::GP1::PackHead();
  89. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  90. }
  91. ::GP1::PackHead::InitAsDefaultInstance();
  92. }
  93. void InitDefaultsPackHead() {
  94. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  95. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPackHeadImpl);
  96. }
  97. void InitDefaultsMapValueImpl() {
  98. GOOGLE_PROTOBUF_VERIFY_VERSION;
  99. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  100. ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
  101. #else
  102. ::google::protobuf::internal::InitProtobufDefaults();
  103. #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  104. protobuf_TaskInfoMessage_2eproto::InitDefaultsPackHead();
  105. {
  106. void* ptr = &::GP1::_MapValue_default_instance_;
  107. new (ptr) ::GP1::MapValue();
  108. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  109. }
  110. ::GP1::MapValue::InitAsDefaultInstance();
  111. }
  112. void InitDefaultsMapValue() {
  113. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  114. ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsMapValueImpl);
  115. }
  116. ::google::protobuf::Metadata file_level_metadata[4];
  117. const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
  118. const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  119. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse, _has_bits_),
  120. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse, _internal_metadata_),
  121. ~0u, // no _extensions_
  122. ~0u, // no _oneof_case_
  123. ~0u, // no _weak_field_map_
  124. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse, key_),
  125. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse, value_),
  126. 0,
  127. 1,
  128. ~0u, // no _has_bits_
  129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage, _internal_metadata_),
  130. ~0u, // no _extensions_
  131. ~0u, // no _oneof_case_
  132. ~0u, // no _weak_field_map_
  133. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::TaskInfoMessage, taskinfomap_),
  134. ~0u, // no _has_bits_
  135. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::PackHead, _internal_metadata_),
  136. ~0u, // no _extensions_
  137. ~0u, // no _oneof_case_
  138. ~0u, // no _weak_field_map_
  139. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::PackHead, type_),
  140. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::PackHead, lenth_),
  141. ~0u, // no _has_bits_
  142. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, _internal_metadata_),
  143. ~0u, // no _extensions_
  144. ~0u, // no _oneof_case_
  145. ~0u, // no _weak_field_map_
  146. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, head_),
  147. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, guid_),
  148. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, username_),
  149. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, fd_),
  150. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, time_),
  151. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, status_),
  152. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, projectmodel_),
  153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, productname_),
  154. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, projectname_),
  155. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, projectnumberstr_),
  156. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, softversion_),
  157. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, projectid_),
  158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, zone_),
  159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, uistyle_),
  160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, svnfiledir_),
  161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, svnfilemd5_),
  162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, svnversion_),
  163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, requestip_),
  164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, compiletime_),
  165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, svndir_),
  166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, command_),
  167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, compileservice_),
  168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, compiledfiledir_),
  169. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, replylogfd_),
  170. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, sshlogfd_),
  171. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, replylogdir_),
  172. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::GP1::MapValue, sshlogdir_),
  173. };
  174. static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  175. { 0, 7, sizeof(::GP1::TaskInfoMessage_TaskInfoMapEntry_DoNotUse)},
  176. { 9, -1, sizeof(::GP1::TaskInfoMessage)},
  177. { 15, -1, sizeof(::GP1::PackHead)},
  178. { 22, -1, sizeof(::GP1::MapValue)},
  179. };
  180. static ::google::protobuf::Message const * const file_default_instances[] = {
  181. reinterpret_cast<const ::google::protobuf::Message*>(&::GP1::_TaskInfoMessage_TaskInfoMapEntry_DoNotUse_default_instance_),
  182. reinterpret_cast<const ::google::protobuf::Message*>(&::GP1::_TaskInfoMessage_default_instance_),
  183. reinterpret_cast<const ::google::protobuf::Message*>(&::GP1::_PackHead_default_instance_),
  184. reinterpret_cast<const ::google::protobuf::Message*>(&::GP1::_MapValue_default_instance_),
  185. };
  186. void protobuf_AssignDescriptors() {
  187. AddDescriptors();
  188. ::google::protobuf::MessageFactory* factory = NULL;
  189. AssignDescriptors(
  190. "TaskInfoMessage.proto", schemas, file_default_instances, TableStruct::offsets, factory,
  191. file_level_metadata, file_level_enum_descriptors, NULL);
  192. }
  193. void protobuf_AssignDescriptorsOnce() {
  194. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  195. ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
  196. }
  197. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  198. void protobuf_RegisterTypes(const ::std::string&) {
  199. protobuf_AssignDescriptorsOnce();
  200. ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 4);
  201. }
  202. void AddDescriptorsImpl() {
  203. InitDefaults();
  204. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  205. "\n\025TaskInfoMessage.proto\022\003GP1\"\220\001\n\017TaskInf"
  206. "oMessage\022:\n\013taskInfoMap\030\001 \003(\0132%.GP1.Task"
  207. "InfoMessage.TaskInfoMapEntry\032A\n\020TaskInfo"
  208. "MapEntry\022\013\n\003key\030\001 \001(\t\022\034\n\005value\030\002 \001(\0132\r.G"
  209. "P1.MapValue:\0028\001\"2\n\010PackHead\022\027\n\004type\030\001 \001("
  210. "\0162\t.GP1.Type\022\r\n\005lenth\030\002 \001(\005\"\226\004\n\010MapValue"
  211. "\022\033\n\004head\030\001 \001(\0132\r.GP1.PackHead\022\014\n\004guid\030\002 "
  212. "\001(\t\022\020\n\010userName\030\003 \001(\t\022\n\n\002fd\030\004 \001(\t\022\014\n\004tim"
  213. "e\030\005 \001(\t\022\016\n\006status\030\006 \001(\t\022\024\n\014projectModel\030"
  214. "\007 \001(\t\022\023\n\013productName\030\010 \001(\t\022\023\n\013projectNam"
  215. "e\030\t \001(\t\022\030\n\020projectNumberStr\030\n \001(\t\022\023\n\013sof"
  216. "tVersion\030\013 \001(\t\022\021\n\tprojectID\030\014 \001(\t\022\014\n\004zon"
  217. "e\030\r \001(\t\022\017\n\007UIStyle\030\016 \001(\t\022\022\n\nsvnFileDir\030\017"
  218. " \001(\t\022\022\n\nsvnFileMD5\030\020 \001(\t\022\022\n\nsvnVersion\030\021"
  219. " \001(\t\022\021\n\trequestIP\030\022 \001(\t\022\023\n\013compileTime\030\023"
  220. " \001(\t\022\016\n\006svnDir\030\024 \001(\t\022\017\n\007command\030\025 \001(\t\022\026\n"
  221. "\016compileService\030\026 \001(\t\022\027\n\017compiledFileDir"
  222. "\030\027 \001(\t\022\022\n\nreplylogfd\030\030 \001(\005\022\020\n\010sshlogfd\030\031"
  223. " \001(\005\022\023\n\013replylogdir\030\032 \001(\t\022\021\n\tsshlogdir\030\033"
  224. " \001(\t*\206\001\n\004Type\022\t\n\005HEART\020\000\022\t\n\005OTHER\020\001\022\021\n\rD"
  225. "IRECTCOMMAND\020\002\022\016\n\nCONNECTSSH\020\003\022\021\n\rDISCON"
  226. "NECTSSH\020\004\022\n\n\006RUNNER\020\005\022\t\n\005REPLY\020\006\022\t\n\005QUER"
  227. "Y\020\007\022\020\n\014CHANGESTATUS\020\010b\006proto3"
  228. };
  229. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  230. descriptor, 909);
  231. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  232. "TaskInfoMessage.proto", &protobuf_RegisterTypes);
  233. }
  234. void AddDescriptors() {
  235. static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  236. ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
  237. }
  238. // Force AddDescriptors() to be called at dynamic initialization time.
  239. struct StaticDescriptorInitializer {
  240. StaticDescriptorInitializer() {
  241. AddDescriptors();
  242. }
  243. } static_descriptor_initializer;
  244. } // namespace protobuf_TaskInfoMessage_2eproto
  245. namespace GP1 {
  246. const ::google::protobuf::EnumDescriptor* Type_descriptor() {
  247. protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce();
  248. return protobuf_TaskInfoMessage_2eproto::file_level_enum_descriptors[0];
  249. }
  250. bool Type_IsValid(int value) {
  251. switch (value) {
  252. case 0:
  253. case 1:
  254. case 2:
  255. case 3:
  256. case 4:
  257. case 5:
  258. case 6:
  259. case 7:
  260. case 8:
  261. return true;
  262. default:
  263. return false;
  264. }
  265. }
  266. // ===================================================================
  267. TaskInfoMessage_TaskInfoMapEntry_DoNotUse::TaskInfoMessage_TaskInfoMapEntry_DoNotUse() {}
  268. TaskInfoMessage_TaskInfoMapEntry_DoNotUse::TaskInfoMessage_TaskInfoMapEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
  269. void TaskInfoMessage_TaskInfoMapEntry_DoNotUse::MergeFrom(const TaskInfoMessage_TaskInfoMapEntry_DoNotUse& other) {
  270. MergeFromInternal(other);
  271. }
  272. ::google::protobuf::Metadata TaskInfoMessage_TaskInfoMapEntry_DoNotUse::GetMetadata() const {
  273. ::protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce();
  274. return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[0];
  275. }
  276. void TaskInfoMessage_TaskInfoMapEntry_DoNotUse::MergeFrom(
  277. const ::google::protobuf::Message& other) {
  278. ::google::protobuf::Message::MergeFrom(other);
  279. }
  280. // ===================================================================
  281. void TaskInfoMessage::InitAsDefaultInstance() {
  282. }
  283. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  284. const int TaskInfoMessage::kTaskInfoMapFieldNumber;
  285. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  286. TaskInfoMessage::TaskInfoMessage()
  287. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  288. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  289. ::protobuf_TaskInfoMessage_2eproto::InitDefaultsTaskInfoMessage();
  290. }
  291. SharedCtor();
  292. // @@protoc_insertion_point(constructor:GP1.TaskInfoMessage)
  293. }
  294. TaskInfoMessage::TaskInfoMessage(const TaskInfoMessage& from)
  295. : ::google::protobuf::Message(),
  296. _internal_metadata_(NULL),
  297. _cached_size_(0) {
  298. _internal_metadata_.MergeFrom(from._internal_metadata_);
  299. taskinfomap_.MergeFrom(from.taskinfomap_);
  300. // @@protoc_insertion_point(copy_constructor:GP1.TaskInfoMessage)
  301. }
  302. void TaskInfoMessage::SharedCtor() {
  303. _cached_size_ = 0;
  304. }
  305. TaskInfoMessage::~TaskInfoMessage() {
  306. // @@protoc_insertion_point(destructor:GP1.TaskInfoMessage)
  307. SharedDtor();
  308. }
  309. void TaskInfoMessage::SharedDtor() {
  310. }
  311. void TaskInfoMessage::SetCachedSize(int size) const {
  312. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  313. _cached_size_ = size;
  314. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  315. }
  316. const ::google::protobuf::Descriptor* TaskInfoMessage::descriptor() {
  317. ::protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce();
  318. return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  319. }
  320. const TaskInfoMessage& TaskInfoMessage::default_instance() {
  321. ::protobuf_TaskInfoMessage_2eproto::InitDefaultsTaskInfoMessage();
  322. return *internal_default_instance();
  323. }
  324. TaskInfoMessage* TaskInfoMessage::New(::google::protobuf::Arena* arena) const {
  325. TaskInfoMessage* n = new TaskInfoMessage;
  326. if (arena != NULL) {
  327. arena->Own(n);
  328. }
  329. return n;
  330. }
  331. void TaskInfoMessage::Clear() {
  332. // @@protoc_insertion_point(message_clear_start:GP1.TaskInfoMessage)
  333. ::google::protobuf::uint32 cached_has_bits = 0;
  334. // Prevent compiler warnings about cached_has_bits being unused
  335. (void) cached_has_bits;
  336. taskinfomap_.Clear();
  337. _internal_metadata_.Clear();
  338. }
  339. bool TaskInfoMessage::MergePartialFromCodedStream(
  340. ::google::protobuf::io::CodedInputStream* input) {
  341. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  342. ::google::protobuf::uint32 tag;
  343. // @@protoc_insertion_point(parse_start:GP1.TaskInfoMessage)
  344. for (;;) {
  345. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  346. tag = p.first;
  347. if (!p.second) goto handle_unusual;
  348. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  349. // map<string, .GP1.MapValue> taskInfoMap = 1;
  350. case 1: {
  351. if (static_cast< ::google::protobuf::uint8>(tag) ==
  352. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  353. TaskInfoMessage_TaskInfoMapEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField<
  354. TaskInfoMessage_TaskInfoMapEntry_DoNotUse,
  355. ::std::string, ::GP1::MapValue,
  356. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  357. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  358. 0 >,
  359. ::google::protobuf::Map< ::std::string, ::GP1::MapValue > > parser(&taskinfomap_);
  360. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  361. input, &parser));
  362. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  363. parser.key().data(), static_cast<int>(parser.key().length()),
  364. ::google::protobuf::internal::WireFormatLite::PARSE,
  365. "GP1.TaskInfoMessage.TaskInfoMapEntry.key"));
  366. } else {
  367. goto handle_unusual;
  368. }
  369. break;
  370. }
  371. default: {
  372. handle_unusual:
  373. if (tag == 0) {
  374. goto success;
  375. }
  376. DO_(::google::protobuf::internal::WireFormat::SkipField(
  377. input, tag, _internal_metadata_.mutable_unknown_fields()));
  378. break;
  379. }
  380. }
  381. }
  382. success:
  383. // @@protoc_insertion_point(parse_success:GP1.TaskInfoMessage)
  384. return true;
  385. failure:
  386. // @@protoc_insertion_point(parse_failure:GP1.TaskInfoMessage)
  387. return false;
  388. #undef DO_
  389. }
  390. void TaskInfoMessage::SerializeWithCachedSizes(
  391. ::google::protobuf::io::CodedOutputStream* output) const {
  392. // @@protoc_insertion_point(serialize_start:GP1.TaskInfoMessage)
  393. ::google::protobuf::uint32 cached_has_bits = 0;
  394. (void) cached_has_bits;
  395. // map<string, .GP1.MapValue> taskInfoMap = 1;
  396. if (!this->taskinfomap().empty()) {
  397. typedef ::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_pointer
  398. ConstPtr;
  399. typedef ConstPtr SortItem;
  400. typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
  401. struct Utf8Check {
  402. static void Check(ConstPtr p) {
  403. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  404. p->first.data(), static_cast<int>(p->first.length()),
  405. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  406. "GP1.TaskInfoMessage.TaskInfoMapEntry.key");
  407. }
  408. };
  409. if (output->IsSerializationDeterministic() &&
  410. this->taskinfomap().size() > 1) {
  411. ::google::protobuf::scoped_array<SortItem> items(
  412. new SortItem[this->taskinfomap().size()]);
  413. typedef ::google::protobuf::Map< ::std::string, ::GP1::MapValue >::size_type size_type;
  414. size_type n = 0;
  415. for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator
  416. it = this->taskinfomap().begin();
  417. it != this->taskinfomap().end(); ++it, ++n) {
  418. items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
  419. }
  420. ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
  421. ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> entry;
  422. for (size_type i = 0; i < n; i++) {
  423. entry.reset(taskinfomap_.NewEntryWrapper(
  424. items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
  425. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  426. 1, *entry, output);
  427. Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
  428. }
  429. } else {
  430. ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> entry;
  431. for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator
  432. it = this->taskinfomap().begin();
  433. it != this->taskinfomap().end(); ++it) {
  434. entry.reset(taskinfomap_.NewEntryWrapper(
  435. it->first, it->second));
  436. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  437. 1, *entry, output);
  438. Utf8Check::Check(&*it);
  439. }
  440. }
  441. }
  442. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  443. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  444. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  445. }
  446. // @@protoc_insertion_point(serialize_end:GP1.TaskInfoMessage)
  447. }
  448. ::google::protobuf::uint8* TaskInfoMessage::InternalSerializeWithCachedSizesToArray(
  449. bool deterministic, ::google::protobuf::uint8* target) const {
  450. (void)deterministic; // Unused
  451. // @@protoc_insertion_point(serialize_to_array_start:GP1.TaskInfoMessage)
  452. ::google::protobuf::uint32 cached_has_bits = 0;
  453. (void) cached_has_bits;
  454. // map<string, .GP1.MapValue> taskInfoMap = 1;
  455. if (!this->taskinfomap().empty()) {
  456. typedef ::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_pointer
  457. ConstPtr;
  458. typedef ConstPtr SortItem;
  459. typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
  460. struct Utf8Check {
  461. static void Check(ConstPtr p) {
  462. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  463. p->first.data(), static_cast<int>(p->first.length()),
  464. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  465. "GP1.TaskInfoMessage.TaskInfoMapEntry.key");
  466. }
  467. };
  468. if (deterministic &&
  469. this->taskinfomap().size() > 1) {
  470. ::google::protobuf::scoped_array<SortItem> items(
  471. new SortItem[this->taskinfomap().size()]);
  472. typedef ::google::protobuf::Map< ::std::string, ::GP1::MapValue >::size_type size_type;
  473. size_type n = 0;
  474. for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator
  475. it = this->taskinfomap().begin();
  476. it != this->taskinfomap().end(); ++it, ++n) {
  477. items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
  478. }
  479. ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
  480. ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> entry;
  481. for (size_type i = 0; i < n; i++) {
  482. entry.reset(taskinfomap_.NewEntryWrapper(
  483. items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
  484. target = ::google::protobuf::internal::WireFormatLite::
  485. InternalWriteMessageNoVirtualToArray(
  486. 1, *entry, deterministic, target);
  487. ;
  488. Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
  489. }
  490. } else {
  491. ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> entry;
  492. for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator
  493. it = this->taskinfomap().begin();
  494. it != this->taskinfomap().end(); ++it) {
  495. entry.reset(taskinfomap_.NewEntryWrapper(
  496. it->first, it->second));
  497. target = ::google::protobuf::internal::WireFormatLite::
  498. InternalWriteMessageNoVirtualToArray(
  499. 1, *entry, deterministic, target);
  500. ;
  501. Utf8Check::Check(&*it);
  502. }
  503. }
  504. }
  505. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  506. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  507. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  508. }
  509. // @@protoc_insertion_point(serialize_to_array_end:GP1.TaskInfoMessage)
  510. return target;
  511. }
  512. size_t TaskInfoMessage::ByteSizeLong() const {
  513. // @@protoc_insertion_point(message_byte_size_start:GP1.TaskInfoMessage)
  514. size_t total_size = 0;
  515. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  516. total_size +=
  517. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  518. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  519. }
  520. // map<string, .GP1.MapValue> taskInfoMap = 1;
  521. total_size += 1 *
  522. ::google::protobuf::internal::FromIntSize(this->taskinfomap_size());
  523. {
  524. ::google::protobuf::scoped_ptr<TaskInfoMessage_TaskInfoMapEntry_DoNotUse> entry;
  525. for (::google::protobuf::Map< ::std::string, ::GP1::MapValue >::const_iterator
  526. it = this->taskinfomap().begin();
  527. it != this->taskinfomap().end(); ++it) {
  528. entry.reset(taskinfomap_.NewEntryWrapper(it->first, it->second));
  529. total_size += ::google::protobuf::internal::WireFormatLite::
  530. MessageSizeNoVirtual(*entry);
  531. }
  532. }
  533. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  534. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  535. _cached_size_ = cached_size;
  536. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  537. return total_size;
  538. }
  539. void TaskInfoMessage::MergeFrom(const ::google::protobuf::Message& from) {
  540. // @@protoc_insertion_point(generalized_merge_from_start:GP1.TaskInfoMessage)
  541. GOOGLE_DCHECK_NE(&from, this);
  542. const TaskInfoMessage* source =
  543. ::google::protobuf::internal::DynamicCastToGenerated<const TaskInfoMessage>(
  544. &from);
  545. if (source == NULL) {
  546. // @@protoc_insertion_point(generalized_merge_from_cast_fail:GP1.TaskInfoMessage)
  547. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  548. } else {
  549. // @@protoc_insertion_point(generalized_merge_from_cast_success:GP1.TaskInfoMessage)
  550. MergeFrom(*source);
  551. }
  552. }
  553. void TaskInfoMessage::MergeFrom(const TaskInfoMessage& from) {
  554. // @@protoc_insertion_point(class_specific_merge_from_start:GP1.TaskInfoMessage)
  555. GOOGLE_DCHECK_NE(&from, this);
  556. _internal_metadata_.MergeFrom(from._internal_metadata_);
  557. ::google::protobuf::uint32 cached_has_bits = 0;
  558. (void) cached_has_bits;
  559. taskinfomap_.MergeFrom(from.taskinfomap_);
  560. }
  561. void TaskInfoMessage::CopyFrom(const ::google::protobuf::Message& from) {
  562. // @@protoc_insertion_point(generalized_copy_from_start:GP1.TaskInfoMessage)
  563. if (&from == this) return;
  564. Clear();
  565. MergeFrom(from);
  566. }
  567. void TaskInfoMessage::CopyFrom(const TaskInfoMessage& from) {
  568. // @@protoc_insertion_point(class_specific_copy_from_start:GP1.TaskInfoMessage)
  569. if (&from == this) return;
  570. Clear();
  571. MergeFrom(from);
  572. }
  573. bool TaskInfoMessage::IsInitialized() const {
  574. return true;
  575. }
  576. void TaskInfoMessage::Swap(TaskInfoMessage* other) {
  577. if (other == this) return;
  578. InternalSwap(other);
  579. }
  580. void TaskInfoMessage::InternalSwap(TaskInfoMessage* other) {
  581. using std::swap;
  582. taskinfomap_.Swap(&other->taskinfomap_);
  583. _internal_metadata_.Swap(&other->_internal_metadata_);
  584. swap(_cached_size_, other->_cached_size_);
  585. }
  586. ::google::protobuf::Metadata TaskInfoMessage::GetMetadata() const {
  587. protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce();
  588. return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages];
  589. }
  590. // ===================================================================
  591. void PackHead::InitAsDefaultInstance() {
  592. }
  593. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  594. const int PackHead::kTypeFieldNumber;
  595. const int PackHead::kLenthFieldNumber;
  596. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  597. PackHead::PackHead()
  598. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  599. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  600. ::protobuf_TaskInfoMessage_2eproto::InitDefaultsPackHead();
  601. }
  602. SharedCtor();
  603. // @@protoc_insertion_point(constructor:GP1.PackHead)
  604. }
  605. PackHead::PackHead(const PackHead& from)
  606. : ::google::protobuf::Message(),
  607. _internal_metadata_(NULL),
  608. _cached_size_(0) {
  609. _internal_metadata_.MergeFrom(from._internal_metadata_);
  610. ::memcpy(&type_, &from.type_,
  611. static_cast<size_t>(reinterpret_cast<char*>(&lenth_) -
  612. reinterpret_cast<char*>(&type_)) + sizeof(lenth_));
  613. // @@protoc_insertion_point(copy_constructor:GP1.PackHead)
  614. }
  615. void PackHead::SharedCtor() {
  616. ::memset(&type_, 0, static_cast<size_t>(
  617. reinterpret_cast<char*>(&lenth_) -
  618. reinterpret_cast<char*>(&type_)) + sizeof(lenth_));
  619. _cached_size_ = 0;
  620. }
  621. PackHead::~PackHead() {
  622. // @@protoc_insertion_point(destructor:GP1.PackHead)
  623. SharedDtor();
  624. }
  625. void PackHead::SharedDtor() {
  626. }
  627. void PackHead::SetCachedSize(int size) const {
  628. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  629. _cached_size_ = size;
  630. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  631. }
  632. const ::google::protobuf::Descriptor* PackHead::descriptor() {
  633. ::protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce();
  634. return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  635. }
  636. const PackHead& PackHead::default_instance() {
  637. ::protobuf_TaskInfoMessage_2eproto::InitDefaultsPackHead();
  638. return *internal_default_instance();
  639. }
  640. PackHead* PackHead::New(::google::protobuf::Arena* arena) const {
  641. PackHead* n = new PackHead;
  642. if (arena != NULL) {
  643. arena->Own(n);
  644. }
  645. return n;
  646. }
  647. void PackHead::Clear() {
  648. // @@protoc_insertion_point(message_clear_start:GP1.PackHead)
  649. ::google::protobuf::uint32 cached_has_bits = 0;
  650. // Prevent compiler warnings about cached_has_bits being unused
  651. (void) cached_has_bits;
  652. ::memset(&type_, 0, static_cast<size_t>(
  653. reinterpret_cast<char*>(&lenth_) -
  654. reinterpret_cast<char*>(&type_)) + sizeof(lenth_));
  655. _internal_metadata_.Clear();
  656. }
  657. bool PackHead::MergePartialFromCodedStream(
  658. ::google::protobuf::io::CodedInputStream* input) {
  659. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  660. ::google::protobuf::uint32 tag;
  661. // @@protoc_insertion_point(parse_start:GP1.PackHead)
  662. for (;;) {
  663. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  664. tag = p.first;
  665. if (!p.second) goto handle_unusual;
  666. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  667. // .GP1.Type type = 1;
  668. case 1: {
  669. if (static_cast< ::google::protobuf::uint8>(tag) ==
  670. static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
  671. int value;
  672. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  673. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  674. input, &value)));
  675. set_type(static_cast< ::GP1::Type >(value));
  676. } else {
  677. goto handle_unusual;
  678. }
  679. break;
  680. }
  681. // int32 lenth = 2;
  682. case 2: {
  683. if (static_cast< ::google::protobuf::uint8>(tag) ==
  684. static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
  685. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  686. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  687. input, &lenth_)));
  688. } else {
  689. goto handle_unusual;
  690. }
  691. break;
  692. }
  693. default: {
  694. handle_unusual:
  695. if (tag == 0) {
  696. goto success;
  697. }
  698. DO_(::google::protobuf::internal::WireFormat::SkipField(
  699. input, tag, _internal_metadata_.mutable_unknown_fields()));
  700. break;
  701. }
  702. }
  703. }
  704. success:
  705. // @@protoc_insertion_point(parse_success:GP1.PackHead)
  706. return true;
  707. failure:
  708. // @@protoc_insertion_point(parse_failure:GP1.PackHead)
  709. return false;
  710. #undef DO_
  711. }
  712. void PackHead::SerializeWithCachedSizes(
  713. ::google::protobuf::io::CodedOutputStream* output) const {
  714. // @@protoc_insertion_point(serialize_start:GP1.PackHead)
  715. ::google::protobuf::uint32 cached_has_bits = 0;
  716. (void) cached_has_bits;
  717. // .GP1.Type type = 1;
  718. if (this->type() != 0) {
  719. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  720. 1, this->type(), output);
  721. }
  722. // int32 lenth = 2;
  723. if (this->lenth() != 0) {
  724. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lenth(), output);
  725. }
  726. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  727. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  728. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  729. }
  730. // @@protoc_insertion_point(serialize_end:GP1.PackHead)
  731. }
  732. ::google::protobuf::uint8* PackHead::InternalSerializeWithCachedSizesToArray(
  733. bool deterministic, ::google::protobuf::uint8* target) const {
  734. (void)deterministic; // Unused
  735. // @@protoc_insertion_point(serialize_to_array_start:GP1.PackHead)
  736. ::google::protobuf::uint32 cached_has_bits = 0;
  737. (void) cached_has_bits;
  738. // .GP1.Type type = 1;
  739. if (this->type() != 0) {
  740. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  741. 1, this->type(), target);
  742. }
  743. // int32 lenth = 2;
  744. if (this->lenth() != 0) {
  745. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lenth(), target);
  746. }
  747. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  748. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  749. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  750. }
  751. // @@protoc_insertion_point(serialize_to_array_end:GP1.PackHead)
  752. return target;
  753. }
  754. size_t PackHead::ByteSizeLong() const {
  755. // @@protoc_insertion_point(message_byte_size_start:GP1.PackHead)
  756. size_t total_size = 0;
  757. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  758. total_size +=
  759. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  760. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  761. }
  762. // .GP1.Type type = 1;
  763. if (this->type() != 0) {
  764. total_size += 1 +
  765. ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
  766. }
  767. // int32 lenth = 2;
  768. if (this->lenth() != 0) {
  769. total_size += 1 +
  770. ::google::protobuf::internal::WireFormatLite::Int32Size(
  771. this->lenth());
  772. }
  773. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  774. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  775. _cached_size_ = cached_size;
  776. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  777. return total_size;
  778. }
  779. void PackHead::MergeFrom(const ::google::protobuf::Message& from) {
  780. // @@protoc_insertion_point(generalized_merge_from_start:GP1.PackHead)
  781. GOOGLE_DCHECK_NE(&from, this);
  782. const PackHead* source =
  783. ::google::protobuf::internal::DynamicCastToGenerated<const PackHead>(
  784. &from);
  785. if (source == NULL) {
  786. // @@protoc_insertion_point(generalized_merge_from_cast_fail:GP1.PackHead)
  787. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  788. } else {
  789. // @@protoc_insertion_point(generalized_merge_from_cast_success:GP1.PackHead)
  790. MergeFrom(*source);
  791. }
  792. }
  793. void PackHead::MergeFrom(const PackHead& from) {
  794. // @@protoc_insertion_point(class_specific_merge_from_start:GP1.PackHead)
  795. GOOGLE_DCHECK_NE(&from, this);
  796. _internal_metadata_.MergeFrom(from._internal_metadata_);
  797. ::google::protobuf::uint32 cached_has_bits = 0;
  798. (void) cached_has_bits;
  799. if (from.type() != 0) {
  800. set_type(from.type());
  801. }
  802. if (from.lenth() != 0) {
  803. set_lenth(from.lenth());
  804. }
  805. }
  806. void PackHead::CopyFrom(const ::google::protobuf::Message& from) {
  807. // @@protoc_insertion_point(generalized_copy_from_start:GP1.PackHead)
  808. if (&from == this) return;
  809. Clear();
  810. MergeFrom(from);
  811. }
  812. void PackHead::CopyFrom(const PackHead& from) {
  813. // @@protoc_insertion_point(class_specific_copy_from_start:GP1.PackHead)
  814. if (&from == this) return;
  815. Clear();
  816. MergeFrom(from);
  817. }
  818. bool PackHead::IsInitialized() const {
  819. return true;
  820. }
  821. void PackHead::Swap(PackHead* other) {
  822. if (other == this) return;
  823. InternalSwap(other);
  824. }
  825. void PackHead::InternalSwap(PackHead* other) {
  826. using std::swap;
  827. swap(type_, other->type_);
  828. swap(lenth_, other->lenth_);
  829. _internal_metadata_.Swap(&other->_internal_metadata_);
  830. swap(_cached_size_, other->_cached_size_);
  831. }
  832. ::google::protobuf::Metadata PackHead::GetMetadata() const {
  833. protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce();
  834. return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages];
  835. }
  836. // ===================================================================
  837. void MapValue::InitAsDefaultInstance() {
  838. ::GP1::_MapValue_default_instance_._instance.get_mutable()->head_ = const_cast< ::GP1::PackHead*>(
  839. ::GP1::PackHead::internal_default_instance());
  840. }
  841. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  842. const int MapValue::kHeadFieldNumber;
  843. const int MapValue::kGuidFieldNumber;
  844. const int MapValue::kUserNameFieldNumber;
  845. const int MapValue::kFdFieldNumber;
  846. const int MapValue::kTimeFieldNumber;
  847. const int MapValue::kStatusFieldNumber;
  848. const int MapValue::kProjectModelFieldNumber;
  849. const int MapValue::kProductNameFieldNumber;
  850. const int MapValue::kProjectNameFieldNumber;
  851. const int MapValue::kProjectNumberStrFieldNumber;
  852. const int MapValue::kSoftVersionFieldNumber;
  853. const int MapValue::kProjectIDFieldNumber;
  854. const int MapValue::kZoneFieldNumber;
  855. const int MapValue::kUIStyleFieldNumber;
  856. const int MapValue::kSvnFileDirFieldNumber;
  857. const int MapValue::kSvnFileMD5FieldNumber;
  858. const int MapValue::kSvnVersionFieldNumber;
  859. const int MapValue::kRequestIPFieldNumber;
  860. const int MapValue::kCompileTimeFieldNumber;
  861. const int MapValue::kSvnDirFieldNumber;
  862. const int MapValue::kCommandFieldNumber;
  863. const int MapValue::kCompileServiceFieldNumber;
  864. const int MapValue::kCompiledFileDirFieldNumber;
  865. const int MapValue::kReplylogfdFieldNumber;
  866. const int MapValue::kSshlogfdFieldNumber;
  867. const int MapValue::kReplylogdirFieldNumber;
  868. const int MapValue::kSshlogdirFieldNumber;
  869. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  870. MapValue::MapValue()
  871. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  872. if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
  873. ::protobuf_TaskInfoMessage_2eproto::InitDefaultsMapValue();
  874. }
  875. SharedCtor();
  876. // @@protoc_insertion_point(constructor:GP1.MapValue)
  877. }
  878. MapValue::MapValue(const MapValue& from)
  879. : ::google::protobuf::Message(),
  880. _internal_metadata_(NULL),
  881. _cached_size_(0) {
  882. _internal_metadata_.MergeFrom(from._internal_metadata_);
  883. guid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  884. if (from.guid().size() > 0) {
  885. guid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.guid_);
  886. }
  887. username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  888. if (from.username().size() > 0) {
  889. username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_);
  890. }
  891. fd_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  892. if (from.fd().size() > 0) {
  893. fd_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.fd_);
  894. }
  895. time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  896. if (from.time().size() > 0) {
  897. time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_);
  898. }
  899. status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  900. if (from.status().size() > 0) {
  901. status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_);
  902. }
  903. projectmodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  904. if (from.projectmodel().size() > 0) {
  905. projectmodel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectmodel_);
  906. }
  907. productname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  908. if (from.productname().size() > 0) {
  909. productname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.productname_);
  910. }
  911. projectname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  912. if (from.projectname().size() > 0) {
  913. projectname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectname_);
  914. }
  915. projectnumberstr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  916. if (from.projectnumberstr().size() > 0) {
  917. projectnumberstr_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectnumberstr_);
  918. }
  919. softversion_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  920. if (from.softversion().size() > 0) {
  921. softversion_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.softversion_);
  922. }
  923. projectid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  924. if (from.projectid().size() > 0) {
  925. projectid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectid_);
  926. }
  927. zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  928. if (from.zone().size() > 0) {
  929. zone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zone_);
  930. }
  931. uistyle_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  932. if (from.uistyle().size() > 0) {
  933. uistyle_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uistyle_);
  934. }
  935. svnfiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  936. if (from.svnfiledir().size() > 0) {
  937. svnfiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnfiledir_);
  938. }
  939. svnfilemd5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  940. if (from.svnfilemd5().size() > 0) {
  941. svnfilemd5_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnfilemd5_);
  942. }
  943. svnversion_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  944. if (from.svnversion().size() > 0) {
  945. svnversion_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnversion_);
  946. }
  947. requestip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  948. if (from.requestip().size() > 0) {
  949. requestip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.requestip_);
  950. }
  951. compiletime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  952. if (from.compiletime().size() > 0) {
  953. compiletime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compiletime_);
  954. }
  955. svndir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  956. if (from.svndir().size() > 0) {
  957. svndir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svndir_);
  958. }
  959. command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  960. if (from.command().size() > 0) {
  961. command_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_);
  962. }
  963. compileservice_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  964. if (from.compileservice().size() > 0) {
  965. compileservice_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compileservice_);
  966. }
  967. compiledfiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  968. if (from.compiledfiledir().size() > 0) {
  969. compiledfiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compiledfiledir_);
  970. }
  971. replylogdir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  972. if (from.replylogdir().size() > 0) {
  973. replylogdir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.replylogdir_);
  974. }
  975. sshlogdir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  976. if (from.sshlogdir().size() > 0) {
  977. sshlogdir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sshlogdir_);
  978. }
  979. if (from.has_head()) {
  980. head_ = new ::GP1::PackHead(*from.head_);
  981. } else {
  982. head_ = NULL;
  983. }
  984. ::memcpy(&replylogfd_, &from.replylogfd_,
  985. static_cast<size_t>(reinterpret_cast<char*>(&sshlogfd_) -
  986. reinterpret_cast<char*>(&replylogfd_)) + sizeof(sshlogfd_));
  987. // @@protoc_insertion_point(copy_constructor:GP1.MapValue)
  988. }
  989. void MapValue::SharedCtor() {
  990. guid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  991. username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  992. fd_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  993. time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  994. status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  995. projectmodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  996. productname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  997. projectname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  998. projectnumberstr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  999. softversion_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1000. projectid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1001. zone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1002. uistyle_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1003. svnfiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1004. svnfilemd5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1005. svnversion_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1006. requestip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1007. compiletime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1008. svndir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1009. command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1010. compileservice_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1011. compiledfiledir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1012. replylogdir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1013. sshlogdir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1014. ::memset(&head_, 0, static_cast<size_t>(
  1015. reinterpret_cast<char*>(&sshlogfd_) -
  1016. reinterpret_cast<char*>(&head_)) + sizeof(sshlogfd_));
  1017. _cached_size_ = 0;
  1018. }
  1019. MapValue::~MapValue() {
  1020. // @@protoc_insertion_point(destructor:GP1.MapValue)
  1021. SharedDtor();
  1022. }
  1023. void MapValue::SharedDtor() {
  1024. guid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1025. username_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1026. fd_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1027. time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1028. status_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1029. projectmodel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1030. productname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1031. projectname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1032. projectnumberstr_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1033. softversion_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1034. projectid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1035. zone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1036. uistyle_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1037. svnfiledir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1038. svnfilemd5_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1039. svnversion_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1040. requestip_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1041. compiletime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1042. svndir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1043. command_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1044. compileservice_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1045. compiledfiledir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1046. replylogdir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1047. sshlogdir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1048. if (this != internal_default_instance()) delete head_;
  1049. }
  1050. void MapValue::SetCachedSize(int size) const {
  1051. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1052. _cached_size_ = size;
  1053. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1054. }
  1055. const ::google::protobuf::Descriptor* MapValue::descriptor() {
  1056. ::protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce();
  1057. return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1058. }
  1059. const MapValue& MapValue::default_instance() {
  1060. ::protobuf_TaskInfoMessage_2eproto::InitDefaultsMapValue();
  1061. return *internal_default_instance();
  1062. }
  1063. MapValue* MapValue::New(::google::protobuf::Arena* arena) const {
  1064. MapValue* n = new MapValue;
  1065. if (arena != NULL) {
  1066. arena->Own(n);
  1067. }
  1068. return n;
  1069. }
  1070. void MapValue::Clear() {
  1071. // @@protoc_insertion_point(message_clear_start:GP1.MapValue)
  1072. ::google::protobuf::uint32 cached_has_bits = 0;
  1073. // Prevent compiler warnings about cached_has_bits being unused
  1074. (void) cached_has_bits;
  1075. guid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1076. username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1077. fd_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1078. time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1079. status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1080. projectmodel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1081. productname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1082. projectname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1083. projectnumberstr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1084. softversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1085. projectid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1086. zone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1087. uistyle_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1088. svnfiledir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1089. svnfilemd5_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1090. svnversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1091. requestip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1092. compiletime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1093. svndir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1094. command_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1095. compileservice_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1096. compiledfiledir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1097. replylogdir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1098. sshlogdir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1099. if (GetArenaNoVirtual() == NULL && head_ != NULL) {
  1100. delete head_;
  1101. }
  1102. head_ = NULL;
  1103. ::memset(&replylogfd_, 0, static_cast<size_t>(
  1104. reinterpret_cast<char*>(&sshlogfd_) -
  1105. reinterpret_cast<char*>(&replylogfd_)) + sizeof(sshlogfd_));
  1106. _internal_metadata_.Clear();
  1107. }
  1108. bool MapValue::MergePartialFromCodedStream(
  1109. ::google::protobuf::io::CodedInputStream* input) {
  1110. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1111. ::google::protobuf::uint32 tag;
  1112. // @@protoc_insertion_point(parse_start:GP1.MapValue)
  1113. for (;;) {
  1114. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
  1115. tag = p.first;
  1116. if (!p.second) goto handle_unusual;
  1117. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1118. // .GP1.PackHead head = 1;
  1119. case 1: {
  1120. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1121. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1122. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1123. input, mutable_head()));
  1124. } else {
  1125. goto handle_unusual;
  1126. }
  1127. break;
  1128. }
  1129. // string guid = 2;
  1130. case 2: {
  1131. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1132. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1133. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1134. input, this->mutable_guid()));
  1135. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1136. this->guid().data(), static_cast<int>(this->guid().length()),
  1137. ::google::protobuf::internal::WireFormatLite::PARSE,
  1138. "GP1.MapValue.guid"));
  1139. } else {
  1140. goto handle_unusual;
  1141. }
  1142. break;
  1143. }
  1144. // string userName = 3;
  1145. case 3: {
  1146. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1147. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  1148. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1149. input, this->mutable_username()));
  1150. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1151. this->username().data(), static_cast<int>(this->username().length()),
  1152. ::google::protobuf::internal::WireFormatLite::PARSE,
  1153. "GP1.MapValue.userName"));
  1154. } else {
  1155. goto handle_unusual;
  1156. }
  1157. break;
  1158. }
  1159. // string fd = 4;
  1160. case 4: {
  1161. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1162. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  1163. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1164. input, this->mutable_fd()));
  1165. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1166. this->fd().data(), static_cast<int>(this->fd().length()),
  1167. ::google::protobuf::internal::WireFormatLite::PARSE,
  1168. "GP1.MapValue.fd"));
  1169. } else {
  1170. goto handle_unusual;
  1171. }
  1172. break;
  1173. }
  1174. // string time = 5;
  1175. case 5: {
  1176. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1177. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  1178. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1179. input, this->mutable_time()));
  1180. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1181. this->time().data(), static_cast<int>(this->time().length()),
  1182. ::google::protobuf::internal::WireFormatLite::PARSE,
  1183. "GP1.MapValue.time"));
  1184. } else {
  1185. goto handle_unusual;
  1186. }
  1187. break;
  1188. }
  1189. // string status = 6;
  1190. case 6: {
  1191. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1192. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  1193. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1194. input, this->mutable_status()));
  1195. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1196. this->status().data(), static_cast<int>(this->status().length()),
  1197. ::google::protobuf::internal::WireFormatLite::PARSE,
  1198. "GP1.MapValue.status"));
  1199. } else {
  1200. goto handle_unusual;
  1201. }
  1202. break;
  1203. }
  1204. // string projectModel = 7;
  1205. case 7: {
  1206. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1207. static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
  1208. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1209. input, this->mutable_projectmodel()));
  1210. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1211. this->projectmodel().data(), static_cast<int>(this->projectmodel().length()),
  1212. ::google::protobuf::internal::WireFormatLite::PARSE,
  1213. "GP1.MapValue.projectModel"));
  1214. } else {
  1215. goto handle_unusual;
  1216. }
  1217. break;
  1218. }
  1219. // string productName = 8;
  1220. case 8: {
  1221. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1222. static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
  1223. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1224. input, this->mutable_productname()));
  1225. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1226. this->productname().data(), static_cast<int>(this->productname().length()),
  1227. ::google::protobuf::internal::WireFormatLite::PARSE,
  1228. "GP1.MapValue.productName"));
  1229. } else {
  1230. goto handle_unusual;
  1231. }
  1232. break;
  1233. }
  1234. // string projectName = 9;
  1235. case 9: {
  1236. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1237. static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
  1238. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1239. input, this->mutable_projectname()));
  1240. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1241. this->projectname().data(), static_cast<int>(this->projectname().length()),
  1242. ::google::protobuf::internal::WireFormatLite::PARSE,
  1243. "GP1.MapValue.projectName"));
  1244. } else {
  1245. goto handle_unusual;
  1246. }
  1247. break;
  1248. }
  1249. // string projectNumberStr = 10;
  1250. case 10: {
  1251. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1252. static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
  1253. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1254. input, this->mutable_projectnumberstr()));
  1255. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1256. this->projectnumberstr().data(), static_cast<int>(this->projectnumberstr().length()),
  1257. ::google::protobuf::internal::WireFormatLite::PARSE,
  1258. "GP1.MapValue.projectNumberStr"));
  1259. } else {
  1260. goto handle_unusual;
  1261. }
  1262. break;
  1263. }
  1264. // string softVersion = 11;
  1265. case 11: {
  1266. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1267. static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
  1268. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1269. input, this->mutable_softversion()));
  1270. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1271. this->softversion().data(), static_cast<int>(this->softversion().length()),
  1272. ::google::protobuf::internal::WireFormatLite::PARSE,
  1273. "GP1.MapValue.softVersion"));
  1274. } else {
  1275. goto handle_unusual;
  1276. }
  1277. break;
  1278. }
  1279. // string projectID = 12;
  1280. case 12: {
  1281. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1282. static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
  1283. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1284. input, this->mutable_projectid()));
  1285. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1286. this->projectid().data(), static_cast<int>(this->projectid().length()),
  1287. ::google::protobuf::internal::WireFormatLite::PARSE,
  1288. "GP1.MapValue.projectID"));
  1289. } else {
  1290. goto handle_unusual;
  1291. }
  1292. break;
  1293. }
  1294. // string zone = 13;
  1295. case 13: {
  1296. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1297. static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
  1298. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1299. input, this->mutable_zone()));
  1300. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1301. this->zone().data(), static_cast<int>(this->zone().length()),
  1302. ::google::protobuf::internal::WireFormatLite::PARSE,
  1303. "GP1.MapValue.zone"));
  1304. } else {
  1305. goto handle_unusual;
  1306. }
  1307. break;
  1308. }
  1309. // string UIStyle = 14;
  1310. case 14: {
  1311. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1312. static_cast< ::google::protobuf::uint8>(114u /* 114 & 0xFF */)) {
  1313. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1314. input, this->mutable_uistyle()));
  1315. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1316. this->uistyle().data(), static_cast<int>(this->uistyle().length()),
  1317. ::google::protobuf::internal::WireFormatLite::PARSE,
  1318. "GP1.MapValue.UIStyle"));
  1319. } else {
  1320. goto handle_unusual;
  1321. }
  1322. break;
  1323. }
  1324. // string svnFileDir = 15;
  1325. case 15: {
  1326. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1327. static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) {
  1328. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1329. input, this->mutable_svnfiledir()));
  1330. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1331. this->svnfiledir().data(), static_cast<int>(this->svnfiledir().length()),
  1332. ::google::protobuf::internal::WireFormatLite::PARSE,
  1333. "GP1.MapValue.svnFileDir"));
  1334. } else {
  1335. goto handle_unusual;
  1336. }
  1337. break;
  1338. }
  1339. // string svnFileMD5 = 16;
  1340. case 16: {
  1341. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1342. static_cast< ::google::protobuf::uint8>(130u /* 130 & 0xFF */)) {
  1343. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1344. input, this->mutable_svnfilemd5()));
  1345. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1346. this->svnfilemd5().data(), static_cast<int>(this->svnfilemd5().length()),
  1347. ::google::protobuf::internal::WireFormatLite::PARSE,
  1348. "GP1.MapValue.svnFileMD5"));
  1349. } else {
  1350. goto handle_unusual;
  1351. }
  1352. break;
  1353. }
  1354. // string svnVersion = 17;
  1355. case 17: {
  1356. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1357. static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) {
  1358. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1359. input, this->mutable_svnversion()));
  1360. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1361. this->svnversion().data(), static_cast<int>(this->svnversion().length()),
  1362. ::google::protobuf::internal::WireFormatLite::PARSE,
  1363. "GP1.MapValue.svnVersion"));
  1364. } else {
  1365. goto handle_unusual;
  1366. }
  1367. break;
  1368. }
  1369. // string requestIP = 18;
  1370. case 18: {
  1371. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1372. static_cast< ::google::protobuf::uint8>(146u /* 146 & 0xFF */)) {
  1373. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1374. input, this->mutable_requestip()));
  1375. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1376. this->requestip().data(), static_cast<int>(this->requestip().length()),
  1377. ::google::protobuf::internal::WireFormatLite::PARSE,
  1378. "GP1.MapValue.requestIP"));
  1379. } else {
  1380. goto handle_unusual;
  1381. }
  1382. break;
  1383. }
  1384. // string compileTime = 19;
  1385. case 19: {
  1386. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1387. static_cast< ::google::protobuf::uint8>(154u /* 154 & 0xFF */)) {
  1388. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1389. input, this->mutable_compiletime()));
  1390. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1391. this->compiletime().data(), static_cast<int>(this->compiletime().length()),
  1392. ::google::protobuf::internal::WireFormatLite::PARSE,
  1393. "GP1.MapValue.compileTime"));
  1394. } else {
  1395. goto handle_unusual;
  1396. }
  1397. break;
  1398. }
  1399. // string svnDir = 20;
  1400. case 20: {
  1401. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1402. static_cast< ::google::protobuf::uint8>(162u /* 162 & 0xFF */)) {
  1403. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1404. input, this->mutable_svndir()));
  1405. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1406. this->svndir().data(), static_cast<int>(this->svndir().length()),
  1407. ::google::protobuf::internal::WireFormatLite::PARSE,
  1408. "GP1.MapValue.svnDir"));
  1409. } else {
  1410. goto handle_unusual;
  1411. }
  1412. break;
  1413. }
  1414. // string command = 21;
  1415. case 21: {
  1416. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1417. static_cast< ::google::protobuf::uint8>(170u /* 170 & 0xFF */)) {
  1418. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1419. input, this->mutable_command()));
  1420. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1421. this->command().data(), static_cast<int>(this->command().length()),
  1422. ::google::protobuf::internal::WireFormatLite::PARSE,
  1423. "GP1.MapValue.command"));
  1424. } else {
  1425. goto handle_unusual;
  1426. }
  1427. break;
  1428. }
  1429. // string compileService = 22;
  1430. case 22: {
  1431. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1432. static_cast< ::google::protobuf::uint8>(178u /* 178 & 0xFF */)) {
  1433. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1434. input, this->mutable_compileservice()));
  1435. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1436. this->compileservice().data(), static_cast<int>(this->compileservice().length()),
  1437. ::google::protobuf::internal::WireFormatLite::PARSE,
  1438. "GP1.MapValue.compileService"));
  1439. } else {
  1440. goto handle_unusual;
  1441. }
  1442. break;
  1443. }
  1444. // string compiledFileDir = 23;
  1445. case 23: {
  1446. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1447. static_cast< ::google::protobuf::uint8>(186u /* 186 & 0xFF */)) {
  1448. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1449. input, this->mutable_compiledfiledir()));
  1450. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1451. this->compiledfiledir().data(), static_cast<int>(this->compiledfiledir().length()),
  1452. ::google::protobuf::internal::WireFormatLite::PARSE,
  1453. "GP1.MapValue.compiledFileDir"));
  1454. } else {
  1455. goto handle_unusual;
  1456. }
  1457. break;
  1458. }
  1459. // int32 replylogfd = 24;
  1460. case 24: {
  1461. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1462. static_cast< ::google::protobuf::uint8>(192u /* 192 & 0xFF */)) {
  1463. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1464. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1465. input, &replylogfd_)));
  1466. } else {
  1467. goto handle_unusual;
  1468. }
  1469. break;
  1470. }
  1471. // int32 sshlogfd = 25;
  1472. case 25: {
  1473. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1474. static_cast< ::google::protobuf::uint8>(200u /* 200 & 0xFF */)) {
  1475. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1476. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1477. input, &sshlogfd_)));
  1478. } else {
  1479. goto handle_unusual;
  1480. }
  1481. break;
  1482. }
  1483. // string replylogdir = 26;
  1484. case 26: {
  1485. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1486. static_cast< ::google::protobuf::uint8>(210u /* 210 & 0xFF */)) {
  1487. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1488. input, this->mutable_replylogdir()));
  1489. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1490. this->replylogdir().data(), static_cast<int>(this->replylogdir().length()),
  1491. ::google::protobuf::internal::WireFormatLite::PARSE,
  1492. "GP1.MapValue.replylogdir"));
  1493. } else {
  1494. goto handle_unusual;
  1495. }
  1496. break;
  1497. }
  1498. // string sshlogdir = 27;
  1499. case 27: {
  1500. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1501. static_cast< ::google::protobuf::uint8>(218u /* 218 & 0xFF */)) {
  1502. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1503. input, this->mutable_sshlogdir()));
  1504. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1505. this->sshlogdir().data(), static_cast<int>(this->sshlogdir().length()),
  1506. ::google::protobuf::internal::WireFormatLite::PARSE,
  1507. "GP1.MapValue.sshlogdir"));
  1508. } else {
  1509. goto handle_unusual;
  1510. }
  1511. break;
  1512. }
  1513. default: {
  1514. handle_unusual:
  1515. if (tag == 0) {
  1516. goto success;
  1517. }
  1518. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1519. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1520. break;
  1521. }
  1522. }
  1523. }
  1524. success:
  1525. // @@protoc_insertion_point(parse_success:GP1.MapValue)
  1526. return true;
  1527. failure:
  1528. // @@protoc_insertion_point(parse_failure:GP1.MapValue)
  1529. return false;
  1530. #undef DO_
  1531. }
  1532. void MapValue::SerializeWithCachedSizes(
  1533. ::google::protobuf::io::CodedOutputStream* output) const {
  1534. // @@protoc_insertion_point(serialize_start:GP1.MapValue)
  1535. ::google::protobuf::uint32 cached_has_bits = 0;
  1536. (void) cached_has_bits;
  1537. // .GP1.PackHead head = 1;
  1538. if (this->has_head()) {
  1539. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1540. 1, *this->head_, output);
  1541. }
  1542. // string guid = 2;
  1543. if (this->guid().size() > 0) {
  1544. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1545. this->guid().data(), static_cast<int>(this->guid().length()),
  1546. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1547. "GP1.MapValue.guid");
  1548. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1549. 2, this->guid(), output);
  1550. }
  1551. // string userName = 3;
  1552. if (this->username().size() > 0) {
  1553. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1554. this->username().data(), static_cast<int>(this->username().length()),
  1555. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1556. "GP1.MapValue.userName");
  1557. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1558. 3, this->username(), output);
  1559. }
  1560. // string fd = 4;
  1561. if (this->fd().size() > 0) {
  1562. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1563. this->fd().data(), static_cast<int>(this->fd().length()),
  1564. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1565. "GP1.MapValue.fd");
  1566. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1567. 4, this->fd(), output);
  1568. }
  1569. // string time = 5;
  1570. if (this->time().size() > 0) {
  1571. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1572. this->time().data(), static_cast<int>(this->time().length()),
  1573. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1574. "GP1.MapValue.time");
  1575. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1576. 5, this->time(), output);
  1577. }
  1578. // string status = 6;
  1579. if (this->status().size() > 0) {
  1580. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1581. this->status().data(), static_cast<int>(this->status().length()),
  1582. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1583. "GP1.MapValue.status");
  1584. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1585. 6, this->status(), output);
  1586. }
  1587. // string projectModel = 7;
  1588. if (this->projectmodel().size() > 0) {
  1589. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1590. this->projectmodel().data(), static_cast<int>(this->projectmodel().length()),
  1591. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1592. "GP1.MapValue.projectModel");
  1593. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1594. 7, this->projectmodel(), output);
  1595. }
  1596. // string productName = 8;
  1597. if (this->productname().size() > 0) {
  1598. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1599. this->productname().data(), static_cast<int>(this->productname().length()),
  1600. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1601. "GP1.MapValue.productName");
  1602. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1603. 8, this->productname(), output);
  1604. }
  1605. // string projectName = 9;
  1606. if (this->projectname().size() > 0) {
  1607. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1608. this->projectname().data(), static_cast<int>(this->projectname().length()),
  1609. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1610. "GP1.MapValue.projectName");
  1611. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1612. 9, this->projectname(), output);
  1613. }
  1614. // string projectNumberStr = 10;
  1615. if (this->projectnumberstr().size() > 0) {
  1616. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1617. this->projectnumberstr().data(), static_cast<int>(this->projectnumberstr().length()),
  1618. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1619. "GP1.MapValue.projectNumberStr");
  1620. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1621. 10, this->projectnumberstr(), output);
  1622. }
  1623. // string softVersion = 11;
  1624. if (this->softversion().size() > 0) {
  1625. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1626. this->softversion().data(), static_cast<int>(this->softversion().length()),
  1627. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1628. "GP1.MapValue.softVersion");
  1629. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1630. 11, this->softversion(), output);
  1631. }
  1632. // string projectID = 12;
  1633. if (this->projectid().size() > 0) {
  1634. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1635. this->projectid().data(), static_cast<int>(this->projectid().length()),
  1636. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1637. "GP1.MapValue.projectID");
  1638. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1639. 12, this->projectid(), output);
  1640. }
  1641. // string zone = 13;
  1642. if (this->zone().size() > 0) {
  1643. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1644. this->zone().data(), static_cast<int>(this->zone().length()),
  1645. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1646. "GP1.MapValue.zone");
  1647. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1648. 13, this->zone(), output);
  1649. }
  1650. // string UIStyle = 14;
  1651. if (this->uistyle().size() > 0) {
  1652. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1653. this->uistyle().data(), static_cast<int>(this->uistyle().length()),
  1654. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1655. "GP1.MapValue.UIStyle");
  1656. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1657. 14, this->uistyle(), output);
  1658. }
  1659. // string svnFileDir = 15;
  1660. if (this->svnfiledir().size() > 0) {
  1661. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1662. this->svnfiledir().data(), static_cast<int>(this->svnfiledir().length()),
  1663. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1664. "GP1.MapValue.svnFileDir");
  1665. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1666. 15, this->svnfiledir(), output);
  1667. }
  1668. // string svnFileMD5 = 16;
  1669. if (this->svnfilemd5().size() > 0) {
  1670. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1671. this->svnfilemd5().data(), static_cast<int>(this->svnfilemd5().length()),
  1672. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1673. "GP1.MapValue.svnFileMD5");
  1674. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1675. 16, this->svnfilemd5(), output);
  1676. }
  1677. // string svnVersion = 17;
  1678. if (this->svnversion().size() > 0) {
  1679. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1680. this->svnversion().data(), static_cast<int>(this->svnversion().length()),
  1681. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1682. "GP1.MapValue.svnVersion");
  1683. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1684. 17, this->svnversion(), output);
  1685. }
  1686. // string requestIP = 18;
  1687. if (this->requestip().size() > 0) {
  1688. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1689. this->requestip().data(), static_cast<int>(this->requestip().length()),
  1690. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1691. "GP1.MapValue.requestIP");
  1692. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1693. 18, this->requestip(), output);
  1694. }
  1695. // string compileTime = 19;
  1696. if (this->compiletime().size() > 0) {
  1697. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1698. this->compiletime().data(), static_cast<int>(this->compiletime().length()),
  1699. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1700. "GP1.MapValue.compileTime");
  1701. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1702. 19, this->compiletime(), output);
  1703. }
  1704. // string svnDir = 20;
  1705. if (this->svndir().size() > 0) {
  1706. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1707. this->svndir().data(), static_cast<int>(this->svndir().length()),
  1708. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1709. "GP1.MapValue.svnDir");
  1710. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1711. 20, this->svndir(), output);
  1712. }
  1713. // string command = 21;
  1714. if (this->command().size() > 0) {
  1715. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1716. this->command().data(), static_cast<int>(this->command().length()),
  1717. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1718. "GP1.MapValue.command");
  1719. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1720. 21, this->command(), output);
  1721. }
  1722. // string compileService = 22;
  1723. if (this->compileservice().size() > 0) {
  1724. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1725. this->compileservice().data(), static_cast<int>(this->compileservice().length()),
  1726. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1727. "GP1.MapValue.compileService");
  1728. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1729. 22, this->compileservice(), output);
  1730. }
  1731. // string compiledFileDir = 23;
  1732. if (this->compiledfiledir().size() > 0) {
  1733. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1734. this->compiledfiledir().data(), static_cast<int>(this->compiledfiledir().length()),
  1735. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1736. "GP1.MapValue.compiledFileDir");
  1737. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1738. 23, this->compiledfiledir(), output);
  1739. }
  1740. // int32 replylogfd = 24;
  1741. if (this->replylogfd() != 0) {
  1742. ::google::protobuf::internal::WireFormatLite::WriteInt32(24, this->replylogfd(), output);
  1743. }
  1744. // int32 sshlogfd = 25;
  1745. if (this->sshlogfd() != 0) {
  1746. ::google::protobuf::internal::WireFormatLite::WriteInt32(25, this->sshlogfd(), output);
  1747. }
  1748. // string replylogdir = 26;
  1749. if (this->replylogdir().size() > 0) {
  1750. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1751. this->replylogdir().data(), static_cast<int>(this->replylogdir().length()),
  1752. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1753. "GP1.MapValue.replylogdir");
  1754. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1755. 26, this->replylogdir(), output);
  1756. }
  1757. // string sshlogdir = 27;
  1758. if (this->sshlogdir().size() > 0) {
  1759. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1760. this->sshlogdir().data(), static_cast<int>(this->sshlogdir().length()),
  1761. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1762. "GP1.MapValue.sshlogdir");
  1763. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1764. 27, this->sshlogdir(), output);
  1765. }
  1766. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1767. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1768. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  1769. }
  1770. // @@protoc_insertion_point(serialize_end:GP1.MapValue)
  1771. }
  1772. ::google::protobuf::uint8* MapValue::InternalSerializeWithCachedSizesToArray(
  1773. bool deterministic, ::google::protobuf::uint8* target) const {
  1774. (void)deterministic; // Unused
  1775. // @@protoc_insertion_point(serialize_to_array_start:GP1.MapValue)
  1776. ::google::protobuf::uint32 cached_has_bits = 0;
  1777. (void) cached_has_bits;
  1778. // .GP1.PackHead head = 1;
  1779. if (this->has_head()) {
  1780. target = ::google::protobuf::internal::WireFormatLite::
  1781. InternalWriteMessageToArray(
  1782. 1, *this->head_, deterministic, target);
  1783. }
  1784. // string guid = 2;
  1785. if (this->guid().size() > 0) {
  1786. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1787. this->guid().data(), static_cast<int>(this->guid().length()),
  1788. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1789. "GP1.MapValue.guid");
  1790. target =
  1791. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1792. 2, this->guid(), target);
  1793. }
  1794. // string userName = 3;
  1795. if (this->username().size() > 0) {
  1796. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1797. this->username().data(), static_cast<int>(this->username().length()),
  1798. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1799. "GP1.MapValue.userName");
  1800. target =
  1801. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1802. 3, this->username(), target);
  1803. }
  1804. // string fd = 4;
  1805. if (this->fd().size() > 0) {
  1806. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1807. this->fd().data(), static_cast<int>(this->fd().length()),
  1808. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1809. "GP1.MapValue.fd");
  1810. target =
  1811. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1812. 4, this->fd(), target);
  1813. }
  1814. // string time = 5;
  1815. if (this->time().size() > 0) {
  1816. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1817. this->time().data(), static_cast<int>(this->time().length()),
  1818. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1819. "GP1.MapValue.time");
  1820. target =
  1821. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1822. 5, this->time(), target);
  1823. }
  1824. // string status = 6;
  1825. if (this->status().size() > 0) {
  1826. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1827. this->status().data(), static_cast<int>(this->status().length()),
  1828. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1829. "GP1.MapValue.status");
  1830. target =
  1831. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1832. 6, this->status(), target);
  1833. }
  1834. // string projectModel = 7;
  1835. if (this->projectmodel().size() > 0) {
  1836. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1837. this->projectmodel().data(), static_cast<int>(this->projectmodel().length()),
  1838. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1839. "GP1.MapValue.projectModel");
  1840. target =
  1841. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1842. 7, this->projectmodel(), target);
  1843. }
  1844. // string productName = 8;
  1845. if (this->productname().size() > 0) {
  1846. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1847. this->productname().data(), static_cast<int>(this->productname().length()),
  1848. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1849. "GP1.MapValue.productName");
  1850. target =
  1851. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1852. 8, this->productname(), target);
  1853. }
  1854. // string projectName = 9;
  1855. if (this->projectname().size() > 0) {
  1856. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1857. this->projectname().data(), static_cast<int>(this->projectname().length()),
  1858. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1859. "GP1.MapValue.projectName");
  1860. target =
  1861. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1862. 9, this->projectname(), target);
  1863. }
  1864. // string projectNumberStr = 10;
  1865. if (this->projectnumberstr().size() > 0) {
  1866. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1867. this->projectnumberstr().data(), static_cast<int>(this->projectnumberstr().length()),
  1868. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1869. "GP1.MapValue.projectNumberStr");
  1870. target =
  1871. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1872. 10, this->projectnumberstr(), target);
  1873. }
  1874. // string softVersion = 11;
  1875. if (this->softversion().size() > 0) {
  1876. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1877. this->softversion().data(), static_cast<int>(this->softversion().length()),
  1878. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1879. "GP1.MapValue.softVersion");
  1880. target =
  1881. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1882. 11, this->softversion(), target);
  1883. }
  1884. // string projectID = 12;
  1885. if (this->projectid().size() > 0) {
  1886. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1887. this->projectid().data(), static_cast<int>(this->projectid().length()),
  1888. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1889. "GP1.MapValue.projectID");
  1890. target =
  1891. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1892. 12, this->projectid(), target);
  1893. }
  1894. // string zone = 13;
  1895. if (this->zone().size() > 0) {
  1896. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1897. this->zone().data(), static_cast<int>(this->zone().length()),
  1898. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1899. "GP1.MapValue.zone");
  1900. target =
  1901. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1902. 13, this->zone(), target);
  1903. }
  1904. // string UIStyle = 14;
  1905. if (this->uistyle().size() > 0) {
  1906. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1907. this->uistyle().data(), static_cast<int>(this->uistyle().length()),
  1908. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1909. "GP1.MapValue.UIStyle");
  1910. target =
  1911. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1912. 14, this->uistyle(), target);
  1913. }
  1914. // string svnFileDir = 15;
  1915. if (this->svnfiledir().size() > 0) {
  1916. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1917. this->svnfiledir().data(), static_cast<int>(this->svnfiledir().length()),
  1918. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1919. "GP1.MapValue.svnFileDir");
  1920. target =
  1921. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1922. 15, this->svnfiledir(), target);
  1923. }
  1924. // string svnFileMD5 = 16;
  1925. if (this->svnfilemd5().size() > 0) {
  1926. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1927. this->svnfilemd5().data(), static_cast<int>(this->svnfilemd5().length()),
  1928. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1929. "GP1.MapValue.svnFileMD5");
  1930. target =
  1931. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1932. 16, this->svnfilemd5(), target);
  1933. }
  1934. // string svnVersion = 17;
  1935. if (this->svnversion().size() > 0) {
  1936. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1937. this->svnversion().data(), static_cast<int>(this->svnversion().length()),
  1938. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1939. "GP1.MapValue.svnVersion");
  1940. target =
  1941. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1942. 17, this->svnversion(), target);
  1943. }
  1944. // string requestIP = 18;
  1945. if (this->requestip().size() > 0) {
  1946. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1947. this->requestip().data(), static_cast<int>(this->requestip().length()),
  1948. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1949. "GP1.MapValue.requestIP");
  1950. target =
  1951. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1952. 18, this->requestip(), target);
  1953. }
  1954. // string compileTime = 19;
  1955. if (this->compiletime().size() > 0) {
  1956. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1957. this->compiletime().data(), static_cast<int>(this->compiletime().length()),
  1958. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1959. "GP1.MapValue.compileTime");
  1960. target =
  1961. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1962. 19, this->compiletime(), target);
  1963. }
  1964. // string svnDir = 20;
  1965. if (this->svndir().size() > 0) {
  1966. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1967. this->svndir().data(), static_cast<int>(this->svndir().length()),
  1968. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1969. "GP1.MapValue.svnDir");
  1970. target =
  1971. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1972. 20, this->svndir(), target);
  1973. }
  1974. // string command = 21;
  1975. if (this->command().size() > 0) {
  1976. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1977. this->command().data(), static_cast<int>(this->command().length()),
  1978. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1979. "GP1.MapValue.command");
  1980. target =
  1981. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1982. 21, this->command(), target);
  1983. }
  1984. // string compileService = 22;
  1985. if (this->compileservice().size() > 0) {
  1986. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1987. this->compileservice().data(), static_cast<int>(this->compileservice().length()),
  1988. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1989. "GP1.MapValue.compileService");
  1990. target =
  1991. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1992. 22, this->compileservice(), target);
  1993. }
  1994. // string compiledFileDir = 23;
  1995. if (this->compiledfiledir().size() > 0) {
  1996. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1997. this->compiledfiledir().data(), static_cast<int>(this->compiledfiledir().length()),
  1998. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1999. "GP1.MapValue.compiledFileDir");
  2000. target =
  2001. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2002. 23, this->compiledfiledir(), target);
  2003. }
  2004. // int32 replylogfd = 24;
  2005. if (this->replylogfd() != 0) {
  2006. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(24, this->replylogfd(), target);
  2007. }
  2008. // int32 sshlogfd = 25;
  2009. if (this->sshlogfd() != 0) {
  2010. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(25, this->sshlogfd(), target);
  2011. }
  2012. // string replylogdir = 26;
  2013. if (this->replylogdir().size() > 0) {
  2014. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2015. this->replylogdir().data(), static_cast<int>(this->replylogdir().length()),
  2016. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2017. "GP1.MapValue.replylogdir");
  2018. target =
  2019. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2020. 26, this->replylogdir(), target);
  2021. }
  2022. // string sshlogdir = 27;
  2023. if (this->sshlogdir().size() > 0) {
  2024. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2025. this->sshlogdir().data(), static_cast<int>(this->sshlogdir().length()),
  2026. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2027. "GP1.MapValue.sshlogdir");
  2028. target =
  2029. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2030. 27, this->sshlogdir(), target);
  2031. }
  2032. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2033. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2034. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  2035. }
  2036. // @@protoc_insertion_point(serialize_to_array_end:GP1.MapValue)
  2037. return target;
  2038. }
  2039. size_t MapValue::ByteSizeLong() const {
  2040. // @@protoc_insertion_point(message_byte_size_start:GP1.MapValue)
  2041. size_t total_size = 0;
  2042. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2043. total_size +=
  2044. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2045. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  2046. }
  2047. // string guid = 2;
  2048. if (this->guid().size() > 0) {
  2049. total_size += 1 +
  2050. ::google::protobuf::internal::WireFormatLite::StringSize(
  2051. this->guid());
  2052. }
  2053. // string userName = 3;
  2054. if (this->username().size() > 0) {
  2055. total_size += 1 +
  2056. ::google::protobuf::internal::WireFormatLite::StringSize(
  2057. this->username());
  2058. }
  2059. // string fd = 4;
  2060. if (this->fd().size() > 0) {
  2061. total_size += 1 +
  2062. ::google::protobuf::internal::WireFormatLite::StringSize(
  2063. this->fd());
  2064. }
  2065. // string time = 5;
  2066. if (this->time().size() > 0) {
  2067. total_size += 1 +
  2068. ::google::protobuf::internal::WireFormatLite::StringSize(
  2069. this->time());
  2070. }
  2071. // string status = 6;
  2072. if (this->status().size() > 0) {
  2073. total_size += 1 +
  2074. ::google::protobuf::internal::WireFormatLite::StringSize(
  2075. this->status());
  2076. }
  2077. // string projectModel = 7;
  2078. if (this->projectmodel().size() > 0) {
  2079. total_size += 1 +
  2080. ::google::protobuf::internal::WireFormatLite::StringSize(
  2081. this->projectmodel());
  2082. }
  2083. // string productName = 8;
  2084. if (this->productname().size() > 0) {
  2085. total_size += 1 +
  2086. ::google::protobuf::internal::WireFormatLite::StringSize(
  2087. this->productname());
  2088. }
  2089. // string projectName = 9;
  2090. if (this->projectname().size() > 0) {
  2091. total_size += 1 +
  2092. ::google::protobuf::internal::WireFormatLite::StringSize(
  2093. this->projectname());
  2094. }
  2095. // string projectNumberStr = 10;
  2096. if (this->projectnumberstr().size() > 0) {
  2097. total_size += 1 +
  2098. ::google::protobuf::internal::WireFormatLite::StringSize(
  2099. this->projectnumberstr());
  2100. }
  2101. // string softVersion = 11;
  2102. if (this->softversion().size() > 0) {
  2103. total_size += 1 +
  2104. ::google::protobuf::internal::WireFormatLite::StringSize(
  2105. this->softversion());
  2106. }
  2107. // string projectID = 12;
  2108. if (this->projectid().size() > 0) {
  2109. total_size += 1 +
  2110. ::google::protobuf::internal::WireFormatLite::StringSize(
  2111. this->projectid());
  2112. }
  2113. // string zone = 13;
  2114. if (this->zone().size() > 0) {
  2115. total_size += 1 +
  2116. ::google::protobuf::internal::WireFormatLite::StringSize(
  2117. this->zone());
  2118. }
  2119. // string UIStyle = 14;
  2120. if (this->uistyle().size() > 0) {
  2121. total_size += 1 +
  2122. ::google::protobuf::internal::WireFormatLite::StringSize(
  2123. this->uistyle());
  2124. }
  2125. // string svnFileDir = 15;
  2126. if (this->svnfiledir().size() > 0) {
  2127. total_size += 1 +
  2128. ::google::protobuf::internal::WireFormatLite::StringSize(
  2129. this->svnfiledir());
  2130. }
  2131. // string svnFileMD5 = 16;
  2132. if (this->svnfilemd5().size() > 0) {
  2133. total_size += 2 +
  2134. ::google::protobuf::internal::WireFormatLite::StringSize(
  2135. this->svnfilemd5());
  2136. }
  2137. // string svnVersion = 17;
  2138. if (this->svnversion().size() > 0) {
  2139. total_size += 2 +
  2140. ::google::protobuf::internal::WireFormatLite::StringSize(
  2141. this->svnversion());
  2142. }
  2143. // string requestIP = 18;
  2144. if (this->requestip().size() > 0) {
  2145. total_size += 2 +
  2146. ::google::protobuf::internal::WireFormatLite::StringSize(
  2147. this->requestip());
  2148. }
  2149. // string compileTime = 19;
  2150. if (this->compiletime().size() > 0) {
  2151. total_size += 2 +
  2152. ::google::protobuf::internal::WireFormatLite::StringSize(
  2153. this->compiletime());
  2154. }
  2155. // string svnDir = 20;
  2156. if (this->svndir().size() > 0) {
  2157. total_size += 2 +
  2158. ::google::protobuf::internal::WireFormatLite::StringSize(
  2159. this->svndir());
  2160. }
  2161. // string command = 21;
  2162. if (this->command().size() > 0) {
  2163. total_size += 2 +
  2164. ::google::protobuf::internal::WireFormatLite::StringSize(
  2165. this->command());
  2166. }
  2167. // string compileService = 22;
  2168. if (this->compileservice().size() > 0) {
  2169. total_size += 2 +
  2170. ::google::protobuf::internal::WireFormatLite::StringSize(
  2171. this->compileservice());
  2172. }
  2173. // string compiledFileDir = 23;
  2174. if (this->compiledfiledir().size() > 0) {
  2175. total_size += 2 +
  2176. ::google::protobuf::internal::WireFormatLite::StringSize(
  2177. this->compiledfiledir());
  2178. }
  2179. // string replylogdir = 26;
  2180. if (this->replylogdir().size() > 0) {
  2181. total_size += 2 +
  2182. ::google::protobuf::internal::WireFormatLite::StringSize(
  2183. this->replylogdir());
  2184. }
  2185. // string sshlogdir = 27;
  2186. if (this->sshlogdir().size() > 0) {
  2187. total_size += 2 +
  2188. ::google::protobuf::internal::WireFormatLite::StringSize(
  2189. this->sshlogdir());
  2190. }
  2191. // .GP1.PackHead head = 1;
  2192. if (this->has_head()) {
  2193. total_size += 1 +
  2194. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2195. *this->head_);
  2196. }
  2197. // int32 replylogfd = 24;
  2198. if (this->replylogfd() != 0) {
  2199. total_size += 2 +
  2200. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2201. this->replylogfd());
  2202. }
  2203. // int32 sshlogfd = 25;
  2204. if (this->sshlogfd() != 0) {
  2205. total_size += 2 +
  2206. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2207. this->sshlogfd());
  2208. }
  2209. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2210. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2211. _cached_size_ = cached_size;
  2212. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2213. return total_size;
  2214. }
  2215. void MapValue::MergeFrom(const ::google::protobuf::Message& from) {
  2216. // @@protoc_insertion_point(generalized_merge_from_start:GP1.MapValue)
  2217. GOOGLE_DCHECK_NE(&from, this);
  2218. const MapValue* source =
  2219. ::google::protobuf::internal::DynamicCastToGenerated<const MapValue>(
  2220. &from);
  2221. if (source == NULL) {
  2222. // @@protoc_insertion_point(generalized_merge_from_cast_fail:GP1.MapValue)
  2223. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2224. } else {
  2225. // @@protoc_insertion_point(generalized_merge_from_cast_success:GP1.MapValue)
  2226. MergeFrom(*source);
  2227. }
  2228. }
  2229. void MapValue::MergeFrom(const MapValue& from) {
  2230. // @@protoc_insertion_point(class_specific_merge_from_start:GP1.MapValue)
  2231. GOOGLE_DCHECK_NE(&from, this);
  2232. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2233. ::google::protobuf::uint32 cached_has_bits = 0;
  2234. (void) cached_has_bits;
  2235. if (from.guid().size() > 0) {
  2236. guid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.guid_);
  2237. }
  2238. if (from.username().size() > 0) {
  2239. username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_);
  2240. }
  2241. if (from.fd().size() > 0) {
  2242. fd_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.fd_);
  2243. }
  2244. if (from.time().size() > 0) {
  2245. time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.time_);
  2246. }
  2247. if (from.status().size() > 0) {
  2248. status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_);
  2249. }
  2250. if (from.projectmodel().size() > 0) {
  2251. projectmodel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectmodel_);
  2252. }
  2253. if (from.productname().size() > 0) {
  2254. productname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.productname_);
  2255. }
  2256. if (from.projectname().size() > 0) {
  2257. projectname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectname_);
  2258. }
  2259. if (from.projectnumberstr().size() > 0) {
  2260. projectnumberstr_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectnumberstr_);
  2261. }
  2262. if (from.softversion().size() > 0) {
  2263. softversion_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.softversion_);
  2264. }
  2265. if (from.projectid().size() > 0) {
  2266. projectid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.projectid_);
  2267. }
  2268. if (from.zone().size() > 0) {
  2269. zone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zone_);
  2270. }
  2271. if (from.uistyle().size() > 0) {
  2272. uistyle_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uistyle_);
  2273. }
  2274. if (from.svnfiledir().size() > 0) {
  2275. svnfiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnfiledir_);
  2276. }
  2277. if (from.svnfilemd5().size() > 0) {
  2278. svnfilemd5_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnfilemd5_);
  2279. }
  2280. if (from.svnversion().size() > 0) {
  2281. svnversion_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svnversion_);
  2282. }
  2283. if (from.requestip().size() > 0) {
  2284. requestip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.requestip_);
  2285. }
  2286. if (from.compiletime().size() > 0) {
  2287. compiletime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compiletime_);
  2288. }
  2289. if (from.svndir().size() > 0) {
  2290. svndir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.svndir_);
  2291. }
  2292. if (from.command().size() > 0) {
  2293. command_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_);
  2294. }
  2295. if (from.compileservice().size() > 0) {
  2296. compileservice_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compileservice_);
  2297. }
  2298. if (from.compiledfiledir().size() > 0) {
  2299. compiledfiledir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.compiledfiledir_);
  2300. }
  2301. if (from.replylogdir().size() > 0) {
  2302. replylogdir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.replylogdir_);
  2303. }
  2304. if (from.sshlogdir().size() > 0) {
  2305. sshlogdir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sshlogdir_);
  2306. }
  2307. if (from.has_head()) {
  2308. mutable_head()->::GP1::PackHead::MergeFrom(from.head());
  2309. }
  2310. if (from.replylogfd() != 0) {
  2311. set_replylogfd(from.replylogfd());
  2312. }
  2313. if (from.sshlogfd() != 0) {
  2314. set_sshlogfd(from.sshlogfd());
  2315. }
  2316. }
  2317. void MapValue::CopyFrom(const ::google::protobuf::Message& from) {
  2318. // @@protoc_insertion_point(generalized_copy_from_start:GP1.MapValue)
  2319. if (&from == this) return;
  2320. Clear();
  2321. MergeFrom(from);
  2322. }
  2323. void MapValue::CopyFrom(const MapValue& from) {
  2324. // @@protoc_insertion_point(class_specific_copy_from_start:GP1.MapValue)
  2325. if (&from == this) return;
  2326. Clear();
  2327. MergeFrom(from);
  2328. }
  2329. bool MapValue::IsInitialized() const {
  2330. return true;
  2331. }
  2332. void MapValue::Swap(MapValue* other) {
  2333. if (other == this) return;
  2334. InternalSwap(other);
  2335. }
  2336. void MapValue::InternalSwap(MapValue* other) {
  2337. using std::swap;
  2338. guid_.Swap(&other->guid_);
  2339. username_.Swap(&other->username_);
  2340. fd_.Swap(&other->fd_);
  2341. time_.Swap(&other->time_);
  2342. status_.Swap(&other->status_);
  2343. projectmodel_.Swap(&other->projectmodel_);
  2344. productname_.Swap(&other->productname_);
  2345. projectname_.Swap(&other->projectname_);
  2346. projectnumberstr_.Swap(&other->projectnumberstr_);
  2347. softversion_.Swap(&other->softversion_);
  2348. projectid_.Swap(&other->projectid_);
  2349. zone_.Swap(&other->zone_);
  2350. uistyle_.Swap(&other->uistyle_);
  2351. svnfiledir_.Swap(&other->svnfiledir_);
  2352. svnfilemd5_.Swap(&other->svnfilemd5_);
  2353. svnversion_.Swap(&other->svnversion_);
  2354. requestip_.Swap(&other->requestip_);
  2355. compiletime_.Swap(&other->compiletime_);
  2356. svndir_.Swap(&other->svndir_);
  2357. command_.Swap(&other->command_);
  2358. compileservice_.Swap(&other->compileservice_);
  2359. compiledfiledir_.Swap(&other->compiledfiledir_);
  2360. replylogdir_.Swap(&other->replylogdir_);
  2361. sshlogdir_.Swap(&other->sshlogdir_);
  2362. swap(head_, other->head_);
  2363. swap(replylogfd_, other->replylogfd_);
  2364. swap(sshlogfd_, other->sshlogfd_);
  2365. _internal_metadata_.Swap(&other->_internal_metadata_);
  2366. swap(_cached_size_, other->_cached_size_);
  2367. }
  2368. ::google::protobuf::Metadata MapValue::GetMetadata() const {
  2369. protobuf_TaskInfoMessage_2eproto::protobuf_AssignDescriptorsOnce();
  2370. return ::protobuf_TaskInfoMessage_2eproto::file_level_metadata[kIndexInFileMessages];
  2371. }
  2372. // @@protoc_insertion_point(namespace_scope)
  2373. } // namespace GP1
  2374. // @@protoc_insertion_point(global_scope)