table.pb.cc 112 KB

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