model.pb.go 119 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/interface/openplatform/article/model/model.proto
  3. package model
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import go_common_library_time "go-common/library/time"
  9. import io "io"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  19. type Category struct {
  20. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  21. ParentID int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id"`
  22. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
  23. Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"-"`
  24. Children []*Category `protobuf:"bytes,5,rep,name=children" json:"children,omitempty"`
  25. BannerURL string `protobuf:"bytes,6,opt,name=banner_url,json=bannerUrl,proto3" json:"banner_url,omitempty"`
  26. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  27. XXX_unrecognized []byte `json:"-"`
  28. XXX_sizecache int32 `json:"-"`
  29. }
  30. func (m *Category) Reset() { *m = Category{} }
  31. func (m *Category) String() string { return proto.CompactTextString(m) }
  32. func (*Category) ProtoMessage() {}
  33. func (*Category) Descriptor() ([]byte, []int) {
  34. return fileDescriptor_model_1ed79421c8e64043, []int{0}
  35. }
  36. func (m *Category) XXX_Unmarshal(b []byte) error {
  37. return m.Unmarshal(b)
  38. }
  39. func (m *Category) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  40. if deterministic {
  41. return xxx_messageInfo_Category.Marshal(b, m, deterministic)
  42. } else {
  43. b = b[:cap(b)]
  44. n, err := m.MarshalTo(b)
  45. if err != nil {
  46. return nil, err
  47. }
  48. return b[:n], nil
  49. }
  50. }
  51. func (dst *Category) XXX_Merge(src proto.Message) {
  52. xxx_messageInfo_Category.Merge(dst, src)
  53. }
  54. func (m *Category) XXX_Size() int {
  55. return m.Size()
  56. }
  57. func (m *Category) XXX_DiscardUnknown() {
  58. xxx_messageInfo_Category.DiscardUnknown(m)
  59. }
  60. var xxx_messageInfo_Category proto.InternalMessageInfo
  61. type Stats struct {
  62. View int64 `protobuf:"varint,1,opt,name=view,proto3" json:"view"`
  63. Favorite int64 `protobuf:"varint,2,opt,name=favorite,proto3" json:"favorite"`
  64. Like int64 `protobuf:"varint,3,opt,name=like,proto3" json:"like"`
  65. Dislike int64 `protobuf:"varint,4,opt,name=dislike,proto3" json:"dislike"`
  66. Reply int64 `protobuf:"varint,5,opt,name=reply,proto3" json:"reply"`
  67. Share int64 `protobuf:"varint,6,opt,name=share,proto3" json:"share"`
  68. Coin int64 `protobuf:"varint,7,opt,name=coin,proto3" json:"coin"`
  69. Dynamic int64 `protobuf:"varint,8,opt,name=dynamic,proto3" json:"dynamic"`
  70. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  71. XXX_unrecognized []byte `json:"-"`
  72. XXX_sizecache int32 `json:"-"`
  73. }
  74. func (m *Stats) Reset() { *m = Stats{} }
  75. func (m *Stats) String() string { return proto.CompactTextString(m) }
  76. func (*Stats) ProtoMessage() {}
  77. func (*Stats) Descriptor() ([]byte, []int) {
  78. return fileDescriptor_model_1ed79421c8e64043, []int{1}
  79. }
  80. func (m *Stats) XXX_Unmarshal(b []byte) error {
  81. return m.Unmarshal(b)
  82. }
  83. func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  84. if deterministic {
  85. return xxx_messageInfo_Stats.Marshal(b, m, deterministic)
  86. } else {
  87. b = b[:cap(b)]
  88. n, err := m.MarshalTo(b)
  89. if err != nil {
  90. return nil, err
  91. }
  92. return b[:n], nil
  93. }
  94. }
  95. func (dst *Stats) XXX_Merge(src proto.Message) {
  96. xxx_messageInfo_Stats.Merge(dst, src)
  97. }
  98. func (m *Stats) XXX_Size() int {
  99. return m.Size()
  100. }
  101. func (m *Stats) XXX_DiscardUnknown() {
  102. xxx_messageInfo_Stats.DiscardUnknown(m)
  103. }
  104. var xxx_messageInfo_Stats proto.InternalMessageInfo
  105. type Meta struct {
  106. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  107. Category *Category `protobuf:"bytes,2,opt,name=category" json:"category"`
  108. Categories []*Category `protobuf:"bytes,3,rep,name=categories" json:"categories"`
  109. Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"`
  110. Summary string `protobuf:"bytes,5,opt,name=summary,proto3" json:"summary"`
  111. BannerURL string `protobuf:"bytes,6,opt,name=banner_url,json=bannerUrl,proto3" json:"banner_url"`
  112. TemplateID int32 `protobuf:"varint,7,opt,name=template_id,json=templateId,proto3" json:"template_id"`
  113. State int32 `protobuf:"varint,8,opt,name=state,proto3" json:"state"`
  114. Author *Author `protobuf:"bytes,9,opt,name=author" json:"author"`
  115. Reprint int32 `protobuf:"varint,10,opt,name=reprint,proto3" json:"reprint"`
  116. ImageURLs []string `protobuf:"bytes,11,rep,name=image_urls,json=imageUrls" json:"image_urls"`
  117. PublishTime go_common_library_time.Time `protobuf:"varint,12,opt,name=publish_time,json=publishTime,proto3,casttype=go-common/library/time.Time" json:"publish_time"`
  118. Ctime go_common_library_time.Time `protobuf:"varint,13,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
  119. Mtime go_common_library_time.Time `protobuf:"varint,14,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime,omitempty"`
  120. Stats *Stats `protobuf:"bytes,15,opt,name=stats" json:"stats,omitempty"`
  121. Tags []*Tag `protobuf:"bytes,16,rep,name=tags" json:"tags,omitempty"`
  122. Attributes int32 `protobuf:"varint,17,opt,name=attributes,proto3" json:"attributes,omitempty"`
  123. Reason string `protobuf:"bytes,18,opt,name=reason,proto3" json:"reason,omitempty"`
  124. Words int64 `protobuf:"varint,19,opt,name=words,proto3" json:"words"`
  125. Dynamic string `protobuf:"bytes,20,opt,name=dynamic,proto3" json:"dynamic,omitempty"`
  126. OriginImageURLs []string `protobuf:"bytes,21,rep,name=origin_image_urls,json=originImageUrls" json:"origin_image_urls"`
  127. List *List `protobuf:"bytes,22,opt,name=list" json:"list"`
  128. IsLike bool `protobuf:"varint,23,opt,name=isLike,proto3" json:"is_like"`
  129. Media *Media `protobuf:"bytes,24,opt,name=media" json:"media"`
  130. ApplyTime string `protobuf:"bytes,25,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
  131. CheckTime string `protobuf:"bytes,26,opt,name=check_time,json=checkTime,proto3" json:"check_time"`
  132. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  133. XXX_unrecognized []byte `json:"-"`
  134. XXX_sizecache int32 `json:"-"`
  135. }
  136. func (m *Meta) Reset() { *m = Meta{} }
  137. func (m *Meta) String() string { return proto.CompactTextString(m) }
  138. func (*Meta) ProtoMessage() {}
  139. func (*Meta) Descriptor() ([]byte, []int) {
  140. return fileDescriptor_model_1ed79421c8e64043, []int{2}
  141. }
  142. func (m *Meta) XXX_Unmarshal(b []byte) error {
  143. return m.Unmarshal(b)
  144. }
  145. func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  146. if deterministic {
  147. return xxx_messageInfo_Meta.Marshal(b, m, deterministic)
  148. } else {
  149. b = b[:cap(b)]
  150. n, err := m.MarshalTo(b)
  151. if err != nil {
  152. return nil, err
  153. }
  154. return b[:n], nil
  155. }
  156. }
  157. func (dst *Meta) XXX_Merge(src proto.Message) {
  158. xxx_messageInfo_Meta.Merge(dst, src)
  159. }
  160. func (m *Meta) XXX_Size() int {
  161. return m.Size()
  162. }
  163. func (m *Meta) XXX_DiscardUnknown() {
  164. xxx_messageInfo_Meta.DiscardUnknown(m)
  165. }
  166. var xxx_messageInfo_Meta proto.InternalMessageInfo
  167. type Media struct {
  168. Score int32 `protobuf:"varint,1,opt,name=score,proto3" json:"score"`
  169. MediaID int64 `protobuf:"varint,2,opt,name=media_id,json=mediaId,proto3" json:"media_id"`
  170. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"`
  171. Cover string `protobuf:"bytes,4,opt,name=cover,proto3" json:"cover"`
  172. Area string `protobuf:"bytes,5,opt,name=area,proto3" json:"area"`
  173. TypeID int32 `protobuf:"varint,6,opt,name=type_id,json=typeId,proto3" json:"type_id"`
  174. TypeName string `protobuf:"bytes,7,opt,name=type_name,json=typeName,proto3" json:"type_name"`
  175. Spoiler int32 `protobuf:"varint,8,opt,name=spoiler,proto3" json:"spoiler"`
  176. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  177. XXX_unrecognized []byte `json:"-"`
  178. XXX_sizecache int32 `json:"-"`
  179. }
  180. func (m *Media) Reset() { *m = Media{} }
  181. func (m *Media) String() string { return proto.CompactTextString(m) }
  182. func (*Media) ProtoMessage() {}
  183. func (*Media) Descriptor() ([]byte, []int) {
  184. return fileDescriptor_model_1ed79421c8e64043, []int{3}
  185. }
  186. func (m *Media) XXX_Unmarshal(b []byte) error {
  187. return m.Unmarshal(b)
  188. }
  189. func (m *Media) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  190. if deterministic {
  191. return xxx_messageInfo_Media.Marshal(b, m, deterministic)
  192. } else {
  193. b = b[:cap(b)]
  194. n, err := m.MarshalTo(b)
  195. if err != nil {
  196. return nil, err
  197. }
  198. return b[:n], nil
  199. }
  200. }
  201. func (dst *Media) XXX_Merge(src proto.Message) {
  202. xxx_messageInfo_Media.Merge(dst, src)
  203. }
  204. func (m *Media) XXX_Size() int {
  205. return m.Size()
  206. }
  207. func (m *Media) XXX_DiscardUnknown() {
  208. xxx_messageInfo_Media.DiscardUnknown(m)
  209. }
  210. var xxx_messageInfo_Media proto.InternalMessageInfo
  211. type OfficialVerify struct {
  212. Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
  213. Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc"`
  214. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  215. XXX_unrecognized []byte `json:"-"`
  216. XXX_sizecache int32 `json:"-"`
  217. }
  218. func (m *OfficialVerify) Reset() { *m = OfficialVerify{} }
  219. func (m *OfficialVerify) String() string { return proto.CompactTextString(m) }
  220. func (*OfficialVerify) ProtoMessage() {}
  221. func (*OfficialVerify) Descriptor() ([]byte, []int) {
  222. return fileDescriptor_model_1ed79421c8e64043, []int{4}
  223. }
  224. func (m *OfficialVerify) XXX_Unmarshal(b []byte) error {
  225. return m.Unmarshal(b)
  226. }
  227. func (m *OfficialVerify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  228. if deterministic {
  229. return xxx_messageInfo_OfficialVerify.Marshal(b, m, deterministic)
  230. } else {
  231. b = b[:cap(b)]
  232. n, err := m.MarshalTo(b)
  233. if err != nil {
  234. return nil, err
  235. }
  236. return b[:n], nil
  237. }
  238. }
  239. func (dst *OfficialVerify) XXX_Merge(src proto.Message) {
  240. xxx_messageInfo_OfficialVerify.Merge(dst, src)
  241. }
  242. func (m *OfficialVerify) XXX_Size() int {
  243. return m.Size()
  244. }
  245. func (m *OfficialVerify) XXX_DiscardUnknown() {
  246. xxx_messageInfo_OfficialVerify.DiscardUnknown(m)
  247. }
  248. var xxx_messageInfo_OfficialVerify proto.InternalMessageInfo
  249. type Author struct {
  250. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"`
  251. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  252. Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face"`
  253. Pendant Pendant `protobuf:"bytes,4,opt,name=pendant" json:"pendant"`
  254. OfficialVerify OfficialVerify `protobuf:"bytes,5,opt,name=official_verify,json=officialVerify" json:"official_verify"`
  255. Nameplate Nameplate `protobuf:"bytes,6,opt,name=nameplate" json:"nameplate"`
  256. Vip VipInfo `protobuf:"bytes,7,opt,name=vip" json:"vip"`
  257. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  258. XXX_unrecognized []byte `json:"-"`
  259. XXX_sizecache int32 `json:"-"`
  260. }
  261. func (m *Author) Reset() { *m = Author{} }
  262. func (m *Author) String() string { return proto.CompactTextString(m) }
  263. func (*Author) ProtoMessage() {}
  264. func (*Author) Descriptor() ([]byte, []int) {
  265. return fileDescriptor_model_1ed79421c8e64043, []int{5}
  266. }
  267. func (m *Author) XXX_Unmarshal(b []byte) error {
  268. return m.Unmarshal(b)
  269. }
  270. func (m *Author) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  271. if deterministic {
  272. return xxx_messageInfo_Author.Marshal(b, m, deterministic)
  273. } else {
  274. b = b[:cap(b)]
  275. n, err := m.MarshalTo(b)
  276. if err != nil {
  277. return nil, err
  278. }
  279. return b[:n], nil
  280. }
  281. }
  282. func (dst *Author) XXX_Merge(src proto.Message) {
  283. xxx_messageInfo_Author.Merge(dst, src)
  284. }
  285. func (m *Author) XXX_Size() int {
  286. return m.Size()
  287. }
  288. func (m *Author) XXX_DiscardUnknown() {
  289. xxx_messageInfo_Author.DiscardUnknown(m)
  290. }
  291. var xxx_messageInfo_Author proto.InternalMessageInfo
  292. type VipInfo struct {
  293. Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
  294. Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"`
  295. DueDate int64 `protobuf:"varint,3,opt,name=due_date,json=dueDate,proto3" json:"due_date"`
  296. VipPayType int32 `protobuf:"varint,4,opt,name=vip_pay_type,json=vipPayType,proto3" json:"vip_pay_type"`
  297. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  298. XXX_unrecognized []byte `json:"-"`
  299. XXX_sizecache int32 `json:"-"`
  300. }
  301. func (m *VipInfo) Reset() { *m = VipInfo{} }
  302. func (m *VipInfo) String() string { return proto.CompactTextString(m) }
  303. func (*VipInfo) ProtoMessage() {}
  304. func (*VipInfo) Descriptor() ([]byte, []int) {
  305. return fileDescriptor_model_1ed79421c8e64043, []int{6}
  306. }
  307. func (m *VipInfo) XXX_Unmarshal(b []byte) error {
  308. return m.Unmarshal(b)
  309. }
  310. func (m *VipInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  311. if deterministic {
  312. return xxx_messageInfo_VipInfo.Marshal(b, m, deterministic)
  313. } else {
  314. b = b[:cap(b)]
  315. n, err := m.MarshalTo(b)
  316. if err != nil {
  317. return nil, err
  318. }
  319. return b[:n], nil
  320. }
  321. }
  322. func (dst *VipInfo) XXX_Merge(src proto.Message) {
  323. xxx_messageInfo_VipInfo.Merge(dst, src)
  324. }
  325. func (m *VipInfo) XXX_Size() int {
  326. return m.Size()
  327. }
  328. func (m *VipInfo) XXX_DiscardUnknown() {
  329. xxx_messageInfo_VipInfo.DiscardUnknown(m)
  330. }
  331. var xxx_messageInfo_VipInfo proto.InternalMessageInfo
  332. type Nameplate struct {
  333. Nid int `protobuf:"varint,1,opt,name=nid,proto3,casttype=int" json:"nid"`
  334. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  335. Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image"`
  336. ImageSmall string `protobuf:"bytes,4,opt,name=image_small,json=imageSmall,proto3" json:"image_small"`
  337. Level string `protobuf:"bytes,5,opt,name=level,proto3" json:"level"`
  338. Condition string `protobuf:"bytes,6,opt,name=condition,proto3" json:"condition"`
  339. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  340. XXX_unrecognized []byte `json:"-"`
  341. XXX_sizecache int32 `json:"-"`
  342. }
  343. func (m *Nameplate) Reset() { *m = Nameplate{} }
  344. func (m *Nameplate) String() string { return proto.CompactTextString(m) }
  345. func (*Nameplate) ProtoMessage() {}
  346. func (*Nameplate) Descriptor() ([]byte, []int) {
  347. return fileDescriptor_model_1ed79421c8e64043, []int{7}
  348. }
  349. func (m *Nameplate) XXX_Unmarshal(b []byte) error {
  350. return m.Unmarshal(b)
  351. }
  352. func (m *Nameplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  353. if deterministic {
  354. return xxx_messageInfo_Nameplate.Marshal(b, m, deterministic)
  355. } else {
  356. b = b[:cap(b)]
  357. n, err := m.MarshalTo(b)
  358. if err != nil {
  359. return nil, err
  360. }
  361. return b[:n], nil
  362. }
  363. }
  364. func (dst *Nameplate) XXX_Merge(src proto.Message) {
  365. xxx_messageInfo_Nameplate.Merge(dst, src)
  366. }
  367. func (m *Nameplate) XXX_Size() int {
  368. return m.Size()
  369. }
  370. func (m *Nameplate) XXX_DiscardUnknown() {
  371. xxx_messageInfo_Nameplate.DiscardUnknown(m)
  372. }
  373. var xxx_messageInfo_Nameplate proto.InternalMessageInfo
  374. type Pendant struct {
  375. Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid"`
  376. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  377. Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image"`
  378. Expire int32 `protobuf:"varint,4,opt,name=expire,proto3" json:"expire"`
  379. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  380. XXX_unrecognized []byte `json:"-"`
  381. XXX_sizecache int32 `json:"-"`
  382. }
  383. func (m *Pendant) Reset() { *m = Pendant{} }
  384. func (m *Pendant) String() string { return proto.CompactTextString(m) }
  385. func (*Pendant) ProtoMessage() {}
  386. func (*Pendant) Descriptor() ([]byte, []int) {
  387. return fileDescriptor_model_1ed79421c8e64043, []int{8}
  388. }
  389. func (m *Pendant) XXX_Unmarshal(b []byte) error {
  390. return m.Unmarshal(b)
  391. }
  392. func (m *Pendant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  393. if deterministic {
  394. return xxx_messageInfo_Pendant.Marshal(b, m, deterministic)
  395. } else {
  396. b = b[:cap(b)]
  397. n, err := m.MarshalTo(b)
  398. if err != nil {
  399. return nil, err
  400. }
  401. return b[:n], nil
  402. }
  403. }
  404. func (dst *Pendant) XXX_Merge(src proto.Message) {
  405. xxx_messageInfo_Pendant.Merge(dst, src)
  406. }
  407. func (m *Pendant) XXX_Size() int {
  408. return m.Size()
  409. }
  410. func (m *Pendant) XXX_DiscardUnknown() {
  411. xxx_messageInfo_Pendant.DiscardUnknown(m)
  412. }
  413. var xxx_messageInfo_Pendant proto.InternalMessageInfo
  414. type Tag struct {
  415. Tid int64 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid"`
  416. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  417. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  418. XXX_unrecognized []byte `json:"-"`
  419. XXX_sizecache int32 `json:"-"`
  420. }
  421. func (m *Tag) Reset() { *m = Tag{} }
  422. func (m *Tag) String() string { return proto.CompactTextString(m) }
  423. func (*Tag) ProtoMessage() {}
  424. func (*Tag) Descriptor() ([]byte, []int) {
  425. return fileDescriptor_model_1ed79421c8e64043, []int{9}
  426. }
  427. func (m *Tag) XXX_Unmarshal(b []byte) error {
  428. return m.Unmarshal(b)
  429. }
  430. func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  431. if deterministic {
  432. return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
  433. } else {
  434. b = b[:cap(b)]
  435. n, err := m.MarshalTo(b)
  436. if err != nil {
  437. return nil, err
  438. }
  439. return b[:n], nil
  440. }
  441. }
  442. func (dst *Tag) XXX_Merge(src proto.Message) {
  443. xxx_messageInfo_Tag.Merge(dst, src)
  444. }
  445. func (m *Tag) XXX_Size() int {
  446. return m.Size()
  447. }
  448. func (m *Tag) XXX_DiscardUnknown() {
  449. xxx_messageInfo_Tag.DiscardUnknown(m)
  450. }
  451. var xxx_messageInfo_Tag proto.InternalMessageInfo
  452. type Article struct {
  453. *Meta `protobuf:"bytes,1,opt,name=meta,embedded=meta" json:""`
  454. Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
  455. Keywords string `protobuf:"bytes,3,opt,name=keywords,proto3" json:"keywords"`
  456. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  457. XXX_unrecognized []byte `json:"-"`
  458. XXX_sizecache int32 `json:"-"`
  459. }
  460. func (m *Article) Reset() { *m = Article{} }
  461. func (m *Article) String() string { return proto.CompactTextString(m) }
  462. func (*Article) ProtoMessage() {}
  463. func (*Article) Descriptor() ([]byte, []int) {
  464. return fileDescriptor_model_1ed79421c8e64043, []int{10}
  465. }
  466. func (m *Article) XXX_Unmarshal(b []byte) error {
  467. return m.Unmarshal(b)
  468. }
  469. func (m *Article) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  470. if deterministic {
  471. return xxx_messageInfo_Article.Marshal(b, m, deterministic)
  472. } else {
  473. b = b[:cap(b)]
  474. n, err := m.MarshalTo(b)
  475. if err != nil {
  476. return nil, err
  477. }
  478. return b[:n], nil
  479. }
  480. }
  481. func (dst *Article) XXX_Merge(src proto.Message) {
  482. xxx_messageInfo_Article.Merge(dst, src)
  483. }
  484. func (m *Article) XXX_Size() int {
  485. return m.Size()
  486. }
  487. func (m *Article) XXX_DiscardUnknown() {
  488. xxx_messageInfo_Article.DiscardUnknown(m)
  489. }
  490. var xxx_messageInfo_Article proto.InternalMessageInfo
  491. type List struct {
  492. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  493. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid"`
  494. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
  495. ImageURL string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url"`
  496. UpdateTime go_common_library_time.Time `protobuf:"varint,5,opt,name=update_time,json=updateTime,proto3,casttype=go-common/library/time.Time" json:"update_time"`
  497. Ctime go_common_library_time.Time `protobuf:"varint,6,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
  498. PublishTime go_common_library_time.Time `protobuf:"varint,7,opt,name=publish_time,json=publishTime,proto3,casttype=go-common/library/time.Time" json:"publish_time"`
  499. Summary string `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary"`
  500. Words int64 `protobuf:"varint,9,opt,name=words,proto3" json:"words"`
  501. Read int64 `protobuf:"varint,10,opt,name=read,proto3" json:"read"`
  502. ArticlesCount int64 `protobuf:"varint,11,opt,name=articles_count,json=articlesCount,proto3" json:"articles_count"`
  503. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  504. XXX_unrecognized []byte `json:"-"`
  505. XXX_sizecache int32 `json:"-"`
  506. }
  507. func (m *List) Reset() { *m = List{} }
  508. func (m *List) String() string { return proto.CompactTextString(m) }
  509. func (*List) ProtoMessage() {}
  510. func (*List) Descriptor() ([]byte, []int) {
  511. return fileDescriptor_model_1ed79421c8e64043, []int{11}
  512. }
  513. func (m *List) XXX_Unmarshal(b []byte) error {
  514. return m.Unmarshal(b)
  515. }
  516. func (m *List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  517. if deterministic {
  518. return xxx_messageInfo_List.Marshal(b, m, deterministic)
  519. } else {
  520. b = b[:cap(b)]
  521. n, err := m.MarshalTo(b)
  522. if err != nil {
  523. return nil, err
  524. }
  525. return b[:n], nil
  526. }
  527. }
  528. func (dst *List) XXX_Merge(src proto.Message) {
  529. xxx_messageInfo_List.Merge(dst, src)
  530. }
  531. func (m *List) XXX_Size() int {
  532. return m.Size()
  533. }
  534. func (m *List) XXX_DiscardUnknown() {
  535. xxx_messageInfo_List.DiscardUnknown(m)
  536. }
  537. var xxx_messageInfo_List proto.InternalMessageInfo
  538. func init() {
  539. proto.RegisterType((*Category)(nil), "article.service.Category")
  540. proto.RegisterType((*Stats)(nil), "article.service.Stats")
  541. proto.RegisterType((*Meta)(nil), "article.service.Meta")
  542. proto.RegisterType((*Media)(nil), "article.service.Media")
  543. proto.RegisterType((*OfficialVerify)(nil), "article.service.OfficialVerify")
  544. proto.RegisterType((*Author)(nil), "article.service.Author")
  545. proto.RegisterType((*VipInfo)(nil), "article.service.VipInfo")
  546. proto.RegisterType((*Nameplate)(nil), "article.service.Nameplate")
  547. proto.RegisterType((*Pendant)(nil), "article.service.Pendant")
  548. proto.RegisterType((*Tag)(nil), "article.service.Tag")
  549. proto.RegisterType((*Article)(nil), "article.service.Article")
  550. proto.RegisterType((*List)(nil), "article.service.List")
  551. }
  552. func (m *Category) Marshal() (dAtA []byte, err error) {
  553. size := m.Size()
  554. dAtA = make([]byte, size)
  555. n, err := m.MarshalTo(dAtA)
  556. if err != nil {
  557. return nil, err
  558. }
  559. return dAtA[:n], nil
  560. }
  561. func (m *Category) MarshalTo(dAtA []byte) (int, error) {
  562. var i int
  563. _ = i
  564. var l int
  565. _ = l
  566. if m.ID != 0 {
  567. dAtA[i] = 0x8
  568. i++
  569. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  570. }
  571. if m.ParentID != 0 {
  572. dAtA[i] = 0x10
  573. i++
  574. i = encodeVarintModel(dAtA, i, uint64(m.ParentID))
  575. }
  576. if len(m.Name) > 0 {
  577. dAtA[i] = 0x1a
  578. i++
  579. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  580. i += copy(dAtA[i:], m.Name)
  581. }
  582. if m.Position != 0 {
  583. dAtA[i] = 0x20
  584. i++
  585. i = encodeVarintModel(dAtA, i, uint64(m.Position))
  586. }
  587. if len(m.Children) > 0 {
  588. for _, msg := range m.Children {
  589. dAtA[i] = 0x2a
  590. i++
  591. i = encodeVarintModel(dAtA, i, uint64(msg.Size()))
  592. n, err := msg.MarshalTo(dAtA[i:])
  593. if err != nil {
  594. return 0, err
  595. }
  596. i += n
  597. }
  598. }
  599. if len(m.BannerURL) > 0 {
  600. dAtA[i] = 0x32
  601. i++
  602. i = encodeVarintModel(dAtA, i, uint64(len(m.BannerURL)))
  603. i += copy(dAtA[i:], m.BannerURL)
  604. }
  605. if m.XXX_unrecognized != nil {
  606. i += copy(dAtA[i:], m.XXX_unrecognized)
  607. }
  608. return i, nil
  609. }
  610. func (m *Stats) Marshal() (dAtA []byte, err error) {
  611. size := m.Size()
  612. dAtA = make([]byte, size)
  613. n, err := m.MarshalTo(dAtA)
  614. if err != nil {
  615. return nil, err
  616. }
  617. return dAtA[:n], nil
  618. }
  619. func (m *Stats) MarshalTo(dAtA []byte) (int, error) {
  620. var i int
  621. _ = i
  622. var l int
  623. _ = l
  624. if m.View != 0 {
  625. dAtA[i] = 0x8
  626. i++
  627. i = encodeVarintModel(dAtA, i, uint64(m.View))
  628. }
  629. if m.Favorite != 0 {
  630. dAtA[i] = 0x10
  631. i++
  632. i = encodeVarintModel(dAtA, i, uint64(m.Favorite))
  633. }
  634. if m.Like != 0 {
  635. dAtA[i] = 0x18
  636. i++
  637. i = encodeVarintModel(dAtA, i, uint64(m.Like))
  638. }
  639. if m.Dislike != 0 {
  640. dAtA[i] = 0x20
  641. i++
  642. i = encodeVarintModel(dAtA, i, uint64(m.Dislike))
  643. }
  644. if m.Reply != 0 {
  645. dAtA[i] = 0x28
  646. i++
  647. i = encodeVarintModel(dAtA, i, uint64(m.Reply))
  648. }
  649. if m.Share != 0 {
  650. dAtA[i] = 0x30
  651. i++
  652. i = encodeVarintModel(dAtA, i, uint64(m.Share))
  653. }
  654. if m.Coin != 0 {
  655. dAtA[i] = 0x38
  656. i++
  657. i = encodeVarintModel(dAtA, i, uint64(m.Coin))
  658. }
  659. if m.Dynamic != 0 {
  660. dAtA[i] = 0x40
  661. i++
  662. i = encodeVarintModel(dAtA, i, uint64(m.Dynamic))
  663. }
  664. if m.XXX_unrecognized != nil {
  665. i += copy(dAtA[i:], m.XXX_unrecognized)
  666. }
  667. return i, nil
  668. }
  669. func (m *Meta) Marshal() (dAtA []byte, err error) {
  670. size := m.Size()
  671. dAtA = make([]byte, size)
  672. n, err := m.MarshalTo(dAtA)
  673. if err != nil {
  674. return nil, err
  675. }
  676. return dAtA[:n], nil
  677. }
  678. func (m *Meta) MarshalTo(dAtA []byte) (int, error) {
  679. var i int
  680. _ = i
  681. var l int
  682. _ = l
  683. if m.ID != 0 {
  684. dAtA[i] = 0x8
  685. i++
  686. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  687. }
  688. if m.Category != nil {
  689. dAtA[i] = 0x12
  690. i++
  691. i = encodeVarintModel(dAtA, i, uint64(m.Category.Size()))
  692. n1, err := m.Category.MarshalTo(dAtA[i:])
  693. if err != nil {
  694. return 0, err
  695. }
  696. i += n1
  697. }
  698. if len(m.Categories) > 0 {
  699. for _, msg := range m.Categories {
  700. dAtA[i] = 0x1a
  701. i++
  702. i = encodeVarintModel(dAtA, i, uint64(msg.Size()))
  703. n, err := msg.MarshalTo(dAtA[i:])
  704. if err != nil {
  705. return 0, err
  706. }
  707. i += n
  708. }
  709. }
  710. if len(m.Title) > 0 {
  711. dAtA[i] = 0x22
  712. i++
  713. i = encodeVarintModel(dAtA, i, uint64(len(m.Title)))
  714. i += copy(dAtA[i:], m.Title)
  715. }
  716. if len(m.Summary) > 0 {
  717. dAtA[i] = 0x2a
  718. i++
  719. i = encodeVarintModel(dAtA, i, uint64(len(m.Summary)))
  720. i += copy(dAtA[i:], m.Summary)
  721. }
  722. if len(m.BannerURL) > 0 {
  723. dAtA[i] = 0x32
  724. i++
  725. i = encodeVarintModel(dAtA, i, uint64(len(m.BannerURL)))
  726. i += copy(dAtA[i:], m.BannerURL)
  727. }
  728. if m.TemplateID != 0 {
  729. dAtA[i] = 0x38
  730. i++
  731. i = encodeVarintModel(dAtA, i, uint64(m.TemplateID))
  732. }
  733. if m.State != 0 {
  734. dAtA[i] = 0x40
  735. i++
  736. i = encodeVarintModel(dAtA, i, uint64(m.State))
  737. }
  738. if m.Author != nil {
  739. dAtA[i] = 0x4a
  740. i++
  741. i = encodeVarintModel(dAtA, i, uint64(m.Author.Size()))
  742. n2, err := m.Author.MarshalTo(dAtA[i:])
  743. if err != nil {
  744. return 0, err
  745. }
  746. i += n2
  747. }
  748. if m.Reprint != 0 {
  749. dAtA[i] = 0x50
  750. i++
  751. i = encodeVarintModel(dAtA, i, uint64(m.Reprint))
  752. }
  753. if len(m.ImageURLs) > 0 {
  754. for _, s := range m.ImageURLs {
  755. dAtA[i] = 0x5a
  756. i++
  757. l = len(s)
  758. for l >= 1<<7 {
  759. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  760. l >>= 7
  761. i++
  762. }
  763. dAtA[i] = uint8(l)
  764. i++
  765. i += copy(dAtA[i:], s)
  766. }
  767. }
  768. if m.PublishTime != 0 {
  769. dAtA[i] = 0x60
  770. i++
  771. i = encodeVarintModel(dAtA, i, uint64(m.PublishTime))
  772. }
  773. if m.Ctime != 0 {
  774. dAtA[i] = 0x68
  775. i++
  776. i = encodeVarintModel(dAtA, i, uint64(m.Ctime))
  777. }
  778. if m.Mtime != 0 {
  779. dAtA[i] = 0x70
  780. i++
  781. i = encodeVarintModel(dAtA, i, uint64(m.Mtime))
  782. }
  783. if m.Stats != nil {
  784. dAtA[i] = 0x7a
  785. i++
  786. i = encodeVarintModel(dAtA, i, uint64(m.Stats.Size()))
  787. n3, err := m.Stats.MarshalTo(dAtA[i:])
  788. if err != nil {
  789. return 0, err
  790. }
  791. i += n3
  792. }
  793. if len(m.Tags) > 0 {
  794. for _, msg := range m.Tags {
  795. dAtA[i] = 0x82
  796. i++
  797. dAtA[i] = 0x1
  798. i++
  799. i = encodeVarintModel(dAtA, i, uint64(msg.Size()))
  800. n, err := msg.MarshalTo(dAtA[i:])
  801. if err != nil {
  802. return 0, err
  803. }
  804. i += n
  805. }
  806. }
  807. if m.Attributes != 0 {
  808. dAtA[i] = 0x88
  809. i++
  810. dAtA[i] = 0x1
  811. i++
  812. i = encodeVarintModel(dAtA, i, uint64(m.Attributes))
  813. }
  814. if len(m.Reason) > 0 {
  815. dAtA[i] = 0x92
  816. i++
  817. dAtA[i] = 0x1
  818. i++
  819. i = encodeVarintModel(dAtA, i, uint64(len(m.Reason)))
  820. i += copy(dAtA[i:], m.Reason)
  821. }
  822. if m.Words != 0 {
  823. dAtA[i] = 0x98
  824. i++
  825. dAtA[i] = 0x1
  826. i++
  827. i = encodeVarintModel(dAtA, i, uint64(m.Words))
  828. }
  829. if len(m.Dynamic) > 0 {
  830. dAtA[i] = 0xa2
  831. i++
  832. dAtA[i] = 0x1
  833. i++
  834. i = encodeVarintModel(dAtA, i, uint64(len(m.Dynamic)))
  835. i += copy(dAtA[i:], m.Dynamic)
  836. }
  837. if len(m.OriginImageURLs) > 0 {
  838. for _, s := range m.OriginImageURLs {
  839. dAtA[i] = 0xaa
  840. i++
  841. dAtA[i] = 0x1
  842. i++
  843. l = len(s)
  844. for l >= 1<<7 {
  845. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  846. l >>= 7
  847. i++
  848. }
  849. dAtA[i] = uint8(l)
  850. i++
  851. i += copy(dAtA[i:], s)
  852. }
  853. }
  854. if m.List != nil {
  855. dAtA[i] = 0xb2
  856. i++
  857. dAtA[i] = 0x1
  858. i++
  859. i = encodeVarintModel(dAtA, i, uint64(m.List.Size()))
  860. n4, err := m.List.MarshalTo(dAtA[i:])
  861. if err != nil {
  862. return 0, err
  863. }
  864. i += n4
  865. }
  866. if m.IsLike {
  867. dAtA[i] = 0xb8
  868. i++
  869. dAtA[i] = 0x1
  870. i++
  871. if m.IsLike {
  872. dAtA[i] = 1
  873. } else {
  874. dAtA[i] = 0
  875. }
  876. i++
  877. }
  878. if m.Media != nil {
  879. dAtA[i] = 0xc2
  880. i++
  881. dAtA[i] = 0x1
  882. i++
  883. i = encodeVarintModel(dAtA, i, uint64(m.Media.Size()))
  884. n5, err := m.Media.MarshalTo(dAtA[i:])
  885. if err != nil {
  886. return 0, err
  887. }
  888. i += n5
  889. }
  890. if len(m.ApplyTime) > 0 {
  891. dAtA[i] = 0xca
  892. i++
  893. dAtA[i] = 0x1
  894. i++
  895. i = encodeVarintModel(dAtA, i, uint64(len(m.ApplyTime)))
  896. i += copy(dAtA[i:], m.ApplyTime)
  897. }
  898. if len(m.CheckTime) > 0 {
  899. dAtA[i] = 0xd2
  900. i++
  901. dAtA[i] = 0x1
  902. i++
  903. i = encodeVarintModel(dAtA, i, uint64(len(m.CheckTime)))
  904. i += copy(dAtA[i:], m.CheckTime)
  905. }
  906. if m.XXX_unrecognized != nil {
  907. i += copy(dAtA[i:], m.XXX_unrecognized)
  908. }
  909. return i, nil
  910. }
  911. func (m *Media) Marshal() (dAtA []byte, err error) {
  912. size := m.Size()
  913. dAtA = make([]byte, size)
  914. n, err := m.MarshalTo(dAtA)
  915. if err != nil {
  916. return nil, err
  917. }
  918. return dAtA[:n], nil
  919. }
  920. func (m *Media) MarshalTo(dAtA []byte) (int, error) {
  921. var i int
  922. _ = i
  923. var l int
  924. _ = l
  925. if m.Score != 0 {
  926. dAtA[i] = 0x8
  927. i++
  928. i = encodeVarintModel(dAtA, i, uint64(m.Score))
  929. }
  930. if m.MediaID != 0 {
  931. dAtA[i] = 0x10
  932. i++
  933. i = encodeVarintModel(dAtA, i, uint64(m.MediaID))
  934. }
  935. if len(m.Title) > 0 {
  936. dAtA[i] = 0x1a
  937. i++
  938. i = encodeVarintModel(dAtA, i, uint64(len(m.Title)))
  939. i += copy(dAtA[i:], m.Title)
  940. }
  941. if len(m.Cover) > 0 {
  942. dAtA[i] = 0x22
  943. i++
  944. i = encodeVarintModel(dAtA, i, uint64(len(m.Cover)))
  945. i += copy(dAtA[i:], m.Cover)
  946. }
  947. if len(m.Area) > 0 {
  948. dAtA[i] = 0x2a
  949. i++
  950. i = encodeVarintModel(dAtA, i, uint64(len(m.Area)))
  951. i += copy(dAtA[i:], m.Area)
  952. }
  953. if m.TypeID != 0 {
  954. dAtA[i] = 0x30
  955. i++
  956. i = encodeVarintModel(dAtA, i, uint64(m.TypeID))
  957. }
  958. if len(m.TypeName) > 0 {
  959. dAtA[i] = 0x3a
  960. i++
  961. i = encodeVarintModel(dAtA, i, uint64(len(m.TypeName)))
  962. i += copy(dAtA[i:], m.TypeName)
  963. }
  964. if m.Spoiler != 0 {
  965. dAtA[i] = 0x40
  966. i++
  967. i = encodeVarintModel(dAtA, i, uint64(m.Spoiler))
  968. }
  969. if m.XXX_unrecognized != nil {
  970. i += copy(dAtA[i:], m.XXX_unrecognized)
  971. }
  972. return i, nil
  973. }
  974. func (m *OfficialVerify) Marshal() (dAtA []byte, err error) {
  975. size := m.Size()
  976. dAtA = make([]byte, size)
  977. n, err := m.MarshalTo(dAtA)
  978. if err != nil {
  979. return nil, err
  980. }
  981. return dAtA[:n], nil
  982. }
  983. func (m *OfficialVerify) MarshalTo(dAtA []byte) (int, error) {
  984. var i int
  985. _ = i
  986. var l int
  987. _ = l
  988. if m.Type != 0 {
  989. dAtA[i] = 0x8
  990. i++
  991. i = encodeVarintModel(dAtA, i, uint64(m.Type))
  992. }
  993. if len(m.Desc) > 0 {
  994. dAtA[i] = 0x12
  995. i++
  996. i = encodeVarintModel(dAtA, i, uint64(len(m.Desc)))
  997. i += copy(dAtA[i:], m.Desc)
  998. }
  999. if m.XXX_unrecognized != nil {
  1000. i += copy(dAtA[i:], m.XXX_unrecognized)
  1001. }
  1002. return i, nil
  1003. }
  1004. func (m *Author) Marshal() (dAtA []byte, err error) {
  1005. size := m.Size()
  1006. dAtA = make([]byte, size)
  1007. n, err := m.MarshalTo(dAtA)
  1008. if err != nil {
  1009. return nil, err
  1010. }
  1011. return dAtA[:n], nil
  1012. }
  1013. func (m *Author) MarshalTo(dAtA []byte) (int, error) {
  1014. var i int
  1015. _ = i
  1016. var l int
  1017. _ = l
  1018. if m.Mid != 0 {
  1019. dAtA[i] = 0x8
  1020. i++
  1021. i = encodeVarintModel(dAtA, i, uint64(m.Mid))
  1022. }
  1023. if len(m.Name) > 0 {
  1024. dAtA[i] = 0x12
  1025. i++
  1026. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1027. i += copy(dAtA[i:], m.Name)
  1028. }
  1029. if len(m.Face) > 0 {
  1030. dAtA[i] = 0x1a
  1031. i++
  1032. i = encodeVarintModel(dAtA, i, uint64(len(m.Face)))
  1033. i += copy(dAtA[i:], m.Face)
  1034. }
  1035. dAtA[i] = 0x22
  1036. i++
  1037. i = encodeVarintModel(dAtA, i, uint64(m.Pendant.Size()))
  1038. n6, err := m.Pendant.MarshalTo(dAtA[i:])
  1039. if err != nil {
  1040. return 0, err
  1041. }
  1042. i += n6
  1043. dAtA[i] = 0x2a
  1044. i++
  1045. i = encodeVarintModel(dAtA, i, uint64(m.OfficialVerify.Size()))
  1046. n7, err := m.OfficialVerify.MarshalTo(dAtA[i:])
  1047. if err != nil {
  1048. return 0, err
  1049. }
  1050. i += n7
  1051. dAtA[i] = 0x32
  1052. i++
  1053. i = encodeVarintModel(dAtA, i, uint64(m.Nameplate.Size()))
  1054. n8, err := m.Nameplate.MarshalTo(dAtA[i:])
  1055. if err != nil {
  1056. return 0, err
  1057. }
  1058. i += n8
  1059. dAtA[i] = 0x3a
  1060. i++
  1061. i = encodeVarintModel(dAtA, i, uint64(m.Vip.Size()))
  1062. n9, err := m.Vip.MarshalTo(dAtA[i:])
  1063. if err != nil {
  1064. return 0, err
  1065. }
  1066. i += n9
  1067. if m.XXX_unrecognized != nil {
  1068. i += copy(dAtA[i:], m.XXX_unrecognized)
  1069. }
  1070. return i, nil
  1071. }
  1072. func (m *VipInfo) Marshal() (dAtA []byte, err error) {
  1073. size := m.Size()
  1074. dAtA = make([]byte, size)
  1075. n, err := m.MarshalTo(dAtA)
  1076. if err != nil {
  1077. return nil, err
  1078. }
  1079. return dAtA[:n], nil
  1080. }
  1081. func (m *VipInfo) MarshalTo(dAtA []byte) (int, error) {
  1082. var i int
  1083. _ = i
  1084. var l int
  1085. _ = l
  1086. if m.Type != 0 {
  1087. dAtA[i] = 0x8
  1088. i++
  1089. i = encodeVarintModel(dAtA, i, uint64(m.Type))
  1090. }
  1091. if m.Status != 0 {
  1092. dAtA[i] = 0x10
  1093. i++
  1094. i = encodeVarintModel(dAtA, i, uint64(m.Status))
  1095. }
  1096. if m.DueDate != 0 {
  1097. dAtA[i] = 0x18
  1098. i++
  1099. i = encodeVarintModel(dAtA, i, uint64(m.DueDate))
  1100. }
  1101. if m.VipPayType != 0 {
  1102. dAtA[i] = 0x20
  1103. i++
  1104. i = encodeVarintModel(dAtA, i, uint64(m.VipPayType))
  1105. }
  1106. if m.XXX_unrecognized != nil {
  1107. i += copy(dAtA[i:], m.XXX_unrecognized)
  1108. }
  1109. return i, nil
  1110. }
  1111. func (m *Nameplate) Marshal() (dAtA []byte, err error) {
  1112. size := m.Size()
  1113. dAtA = make([]byte, size)
  1114. n, err := m.MarshalTo(dAtA)
  1115. if err != nil {
  1116. return nil, err
  1117. }
  1118. return dAtA[:n], nil
  1119. }
  1120. func (m *Nameplate) MarshalTo(dAtA []byte) (int, error) {
  1121. var i int
  1122. _ = i
  1123. var l int
  1124. _ = l
  1125. if m.Nid != 0 {
  1126. dAtA[i] = 0x8
  1127. i++
  1128. i = encodeVarintModel(dAtA, i, uint64(m.Nid))
  1129. }
  1130. if len(m.Name) > 0 {
  1131. dAtA[i] = 0x12
  1132. i++
  1133. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1134. i += copy(dAtA[i:], m.Name)
  1135. }
  1136. if len(m.Image) > 0 {
  1137. dAtA[i] = 0x1a
  1138. i++
  1139. i = encodeVarintModel(dAtA, i, uint64(len(m.Image)))
  1140. i += copy(dAtA[i:], m.Image)
  1141. }
  1142. if len(m.ImageSmall) > 0 {
  1143. dAtA[i] = 0x22
  1144. i++
  1145. i = encodeVarintModel(dAtA, i, uint64(len(m.ImageSmall)))
  1146. i += copy(dAtA[i:], m.ImageSmall)
  1147. }
  1148. if len(m.Level) > 0 {
  1149. dAtA[i] = 0x2a
  1150. i++
  1151. i = encodeVarintModel(dAtA, i, uint64(len(m.Level)))
  1152. i += copy(dAtA[i:], m.Level)
  1153. }
  1154. if len(m.Condition) > 0 {
  1155. dAtA[i] = 0x32
  1156. i++
  1157. i = encodeVarintModel(dAtA, i, uint64(len(m.Condition)))
  1158. i += copy(dAtA[i:], m.Condition)
  1159. }
  1160. if m.XXX_unrecognized != nil {
  1161. i += copy(dAtA[i:], m.XXX_unrecognized)
  1162. }
  1163. return i, nil
  1164. }
  1165. func (m *Pendant) Marshal() (dAtA []byte, err error) {
  1166. size := m.Size()
  1167. dAtA = make([]byte, size)
  1168. n, err := m.MarshalTo(dAtA)
  1169. if err != nil {
  1170. return nil, err
  1171. }
  1172. return dAtA[:n], nil
  1173. }
  1174. func (m *Pendant) MarshalTo(dAtA []byte) (int, error) {
  1175. var i int
  1176. _ = i
  1177. var l int
  1178. _ = l
  1179. if m.Pid != 0 {
  1180. dAtA[i] = 0x8
  1181. i++
  1182. i = encodeVarintModel(dAtA, i, uint64(m.Pid))
  1183. }
  1184. if len(m.Name) > 0 {
  1185. dAtA[i] = 0x12
  1186. i++
  1187. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1188. i += copy(dAtA[i:], m.Name)
  1189. }
  1190. if len(m.Image) > 0 {
  1191. dAtA[i] = 0x1a
  1192. i++
  1193. i = encodeVarintModel(dAtA, i, uint64(len(m.Image)))
  1194. i += copy(dAtA[i:], m.Image)
  1195. }
  1196. if m.Expire != 0 {
  1197. dAtA[i] = 0x20
  1198. i++
  1199. i = encodeVarintModel(dAtA, i, uint64(m.Expire))
  1200. }
  1201. if m.XXX_unrecognized != nil {
  1202. i += copy(dAtA[i:], m.XXX_unrecognized)
  1203. }
  1204. return i, nil
  1205. }
  1206. func (m *Tag) Marshal() (dAtA []byte, err error) {
  1207. size := m.Size()
  1208. dAtA = make([]byte, size)
  1209. n, err := m.MarshalTo(dAtA)
  1210. if err != nil {
  1211. return nil, err
  1212. }
  1213. return dAtA[:n], nil
  1214. }
  1215. func (m *Tag) MarshalTo(dAtA []byte) (int, error) {
  1216. var i int
  1217. _ = i
  1218. var l int
  1219. _ = l
  1220. if m.Tid != 0 {
  1221. dAtA[i] = 0x8
  1222. i++
  1223. i = encodeVarintModel(dAtA, i, uint64(m.Tid))
  1224. }
  1225. if len(m.Name) > 0 {
  1226. dAtA[i] = 0x12
  1227. i++
  1228. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1229. i += copy(dAtA[i:], m.Name)
  1230. }
  1231. if m.XXX_unrecognized != nil {
  1232. i += copy(dAtA[i:], m.XXX_unrecognized)
  1233. }
  1234. return i, nil
  1235. }
  1236. func (m *Article) Marshal() (dAtA []byte, err error) {
  1237. size := m.Size()
  1238. dAtA = make([]byte, size)
  1239. n, err := m.MarshalTo(dAtA)
  1240. if err != nil {
  1241. return nil, err
  1242. }
  1243. return dAtA[:n], nil
  1244. }
  1245. func (m *Article) MarshalTo(dAtA []byte) (int, error) {
  1246. var i int
  1247. _ = i
  1248. var l int
  1249. _ = l
  1250. if m.Meta != nil {
  1251. dAtA[i] = 0xa
  1252. i++
  1253. i = encodeVarintModel(dAtA, i, uint64(m.Meta.Size()))
  1254. n10, err := m.Meta.MarshalTo(dAtA[i:])
  1255. if err != nil {
  1256. return 0, err
  1257. }
  1258. i += n10
  1259. }
  1260. if len(m.Content) > 0 {
  1261. dAtA[i] = 0x12
  1262. i++
  1263. i = encodeVarintModel(dAtA, i, uint64(len(m.Content)))
  1264. i += copy(dAtA[i:], m.Content)
  1265. }
  1266. if len(m.Keywords) > 0 {
  1267. dAtA[i] = 0x1a
  1268. i++
  1269. i = encodeVarintModel(dAtA, i, uint64(len(m.Keywords)))
  1270. i += copy(dAtA[i:], m.Keywords)
  1271. }
  1272. if m.XXX_unrecognized != nil {
  1273. i += copy(dAtA[i:], m.XXX_unrecognized)
  1274. }
  1275. return i, nil
  1276. }
  1277. func (m *List) Marshal() (dAtA []byte, err error) {
  1278. size := m.Size()
  1279. dAtA = make([]byte, size)
  1280. n, err := m.MarshalTo(dAtA)
  1281. if err != nil {
  1282. return nil, err
  1283. }
  1284. return dAtA[:n], nil
  1285. }
  1286. func (m *List) MarshalTo(dAtA []byte) (int, error) {
  1287. var i int
  1288. _ = i
  1289. var l int
  1290. _ = l
  1291. if m.ID != 0 {
  1292. dAtA[i] = 0x8
  1293. i++
  1294. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1295. }
  1296. if m.Mid != 0 {
  1297. dAtA[i] = 0x10
  1298. i++
  1299. i = encodeVarintModel(dAtA, i, uint64(m.Mid))
  1300. }
  1301. if len(m.Name) > 0 {
  1302. dAtA[i] = 0x1a
  1303. i++
  1304. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1305. i += copy(dAtA[i:], m.Name)
  1306. }
  1307. if len(m.ImageURL) > 0 {
  1308. dAtA[i] = 0x22
  1309. i++
  1310. i = encodeVarintModel(dAtA, i, uint64(len(m.ImageURL)))
  1311. i += copy(dAtA[i:], m.ImageURL)
  1312. }
  1313. if m.UpdateTime != 0 {
  1314. dAtA[i] = 0x28
  1315. i++
  1316. i = encodeVarintModel(dAtA, i, uint64(m.UpdateTime))
  1317. }
  1318. if m.Ctime != 0 {
  1319. dAtA[i] = 0x30
  1320. i++
  1321. i = encodeVarintModel(dAtA, i, uint64(m.Ctime))
  1322. }
  1323. if m.PublishTime != 0 {
  1324. dAtA[i] = 0x38
  1325. i++
  1326. i = encodeVarintModel(dAtA, i, uint64(m.PublishTime))
  1327. }
  1328. if len(m.Summary) > 0 {
  1329. dAtA[i] = 0x42
  1330. i++
  1331. i = encodeVarintModel(dAtA, i, uint64(len(m.Summary)))
  1332. i += copy(dAtA[i:], m.Summary)
  1333. }
  1334. if m.Words != 0 {
  1335. dAtA[i] = 0x48
  1336. i++
  1337. i = encodeVarintModel(dAtA, i, uint64(m.Words))
  1338. }
  1339. if m.Read != 0 {
  1340. dAtA[i] = 0x50
  1341. i++
  1342. i = encodeVarintModel(dAtA, i, uint64(m.Read))
  1343. }
  1344. if m.ArticlesCount != 0 {
  1345. dAtA[i] = 0x58
  1346. i++
  1347. i = encodeVarintModel(dAtA, i, uint64(m.ArticlesCount))
  1348. }
  1349. if m.XXX_unrecognized != nil {
  1350. i += copy(dAtA[i:], m.XXX_unrecognized)
  1351. }
  1352. return i, nil
  1353. }
  1354. func encodeVarintModel(dAtA []byte, offset int, v uint64) int {
  1355. for v >= 1<<7 {
  1356. dAtA[offset] = uint8(v&0x7f | 0x80)
  1357. v >>= 7
  1358. offset++
  1359. }
  1360. dAtA[offset] = uint8(v)
  1361. return offset + 1
  1362. }
  1363. func (m *Category) Size() (n int) {
  1364. if m == nil {
  1365. return 0
  1366. }
  1367. var l int
  1368. _ = l
  1369. if m.ID != 0 {
  1370. n += 1 + sovModel(uint64(m.ID))
  1371. }
  1372. if m.ParentID != 0 {
  1373. n += 1 + sovModel(uint64(m.ParentID))
  1374. }
  1375. l = len(m.Name)
  1376. if l > 0 {
  1377. n += 1 + l + sovModel(uint64(l))
  1378. }
  1379. if m.Position != 0 {
  1380. n += 1 + sovModel(uint64(m.Position))
  1381. }
  1382. if len(m.Children) > 0 {
  1383. for _, e := range m.Children {
  1384. l = e.Size()
  1385. n += 1 + l + sovModel(uint64(l))
  1386. }
  1387. }
  1388. l = len(m.BannerURL)
  1389. if l > 0 {
  1390. n += 1 + l + sovModel(uint64(l))
  1391. }
  1392. if m.XXX_unrecognized != nil {
  1393. n += len(m.XXX_unrecognized)
  1394. }
  1395. return n
  1396. }
  1397. func (m *Stats) Size() (n int) {
  1398. if m == nil {
  1399. return 0
  1400. }
  1401. var l int
  1402. _ = l
  1403. if m.View != 0 {
  1404. n += 1 + sovModel(uint64(m.View))
  1405. }
  1406. if m.Favorite != 0 {
  1407. n += 1 + sovModel(uint64(m.Favorite))
  1408. }
  1409. if m.Like != 0 {
  1410. n += 1 + sovModel(uint64(m.Like))
  1411. }
  1412. if m.Dislike != 0 {
  1413. n += 1 + sovModel(uint64(m.Dislike))
  1414. }
  1415. if m.Reply != 0 {
  1416. n += 1 + sovModel(uint64(m.Reply))
  1417. }
  1418. if m.Share != 0 {
  1419. n += 1 + sovModel(uint64(m.Share))
  1420. }
  1421. if m.Coin != 0 {
  1422. n += 1 + sovModel(uint64(m.Coin))
  1423. }
  1424. if m.Dynamic != 0 {
  1425. n += 1 + sovModel(uint64(m.Dynamic))
  1426. }
  1427. if m.XXX_unrecognized != nil {
  1428. n += len(m.XXX_unrecognized)
  1429. }
  1430. return n
  1431. }
  1432. func (m *Meta) Size() (n int) {
  1433. if m == nil {
  1434. return 0
  1435. }
  1436. var l int
  1437. _ = l
  1438. if m.ID != 0 {
  1439. n += 1 + sovModel(uint64(m.ID))
  1440. }
  1441. if m.Category != nil {
  1442. l = m.Category.Size()
  1443. n += 1 + l + sovModel(uint64(l))
  1444. }
  1445. if len(m.Categories) > 0 {
  1446. for _, e := range m.Categories {
  1447. l = e.Size()
  1448. n += 1 + l + sovModel(uint64(l))
  1449. }
  1450. }
  1451. l = len(m.Title)
  1452. if l > 0 {
  1453. n += 1 + l + sovModel(uint64(l))
  1454. }
  1455. l = len(m.Summary)
  1456. if l > 0 {
  1457. n += 1 + l + sovModel(uint64(l))
  1458. }
  1459. l = len(m.BannerURL)
  1460. if l > 0 {
  1461. n += 1 + l + sovModel(uint64(l))
  1462. }
  1463. if m.TemplateID != 0 {
  1464. n += 1 + sovModel(uint64(m.TemplateID))
  1465. }
  1466. if m.State != 0 {
  1467. n += 1 + sovModel(uint64(m.State))
  1468. }
  1469. if m.Author != nil {
  1470. l = m.Author.Size()
  1471. n += 1 + l + sovModel(uint64(l))
  1472. }
  1473. if m.Reprint != 0 {
  1474. n += 1 + sovModel(uint64(m.Reprint))
  1475. }
  1476. if len(m.ImageURLs) > 0 {
  1477. for _, s := range m.ImageURLs {
  1478. l = len(s)
  1479. n += 1 + l + sovModel(uint64(l))
  1480. }
  1481. }
  1482. if m.PublishTime != 0 {
  1483. n += 1 + sovModel(uint64(m.PublishTime))
  1484. }
  1485. if m.Ctime != 0 {
  1486. n += 1 + sovModel(uint64(m.Ctime))
  1487. }
  1488. if m.Mtime != 0 {
  1489. n += 1 + sovModel(uint64(m.Mtime))
  1490. }
  1491. if m.Stats != nil {
  1492. l = m.Stats.Size()
  1493. n += 1 + l + sovModel(uint64(l))
  1494. }
  1495. if len(m.Tags) > 0 {
  1496. for _, e := range m.Tags {
  1497. l = e.Size()
  1498. n += 2 + l + sovModel(uint64(l))
  1499. }
  1500. }
  1501. if m.Attributes != 0 {
  1502. n += 2 + sovModel(uint64(m.Attributes))
  1503. }
  1504. l = len(m.Reason)
  1505. if l > 0 {
  1506. n += 2 + l + sovModel(uint64(l))
  1507. }
  1508. if m.Words != 0 {
  1509. n += 2 + sovModel(uint64(m.Words))
  1510. }
  1511. l = len(m.Dynamic)
  1512. if l > 0 {
  1513. n += 2 + l + sovModel(uint64(l))
  1514. }
  1515. if len(m.OriginImageURLs) > 0 {
  1516. for _, s := range m.OriginImageURLs {
  1517. l = len(s)
  1518. n += 2 + l + sovModel(uint64(l))
  1519. }
  1520. }
  1521. if m.List != nil {
  1522. l = m.List.Size()
  1523. n += 2 + l + sovModel(uint64(l))
  1524. }
  1525. if m.IsLike {
  1526. n += 3
  1527. }
  1528. if m.Media != nil {
  1529. l = m.Media.Size()
  1530. n += 2 + l + sovModel(uint64(l))
  1531. }
  1532. l = len(m.ApplyTime)
  1533. if l > 0 {
  1534. n += 2 + l + sovModel(uint64(l))
  1535. }
  1536. l = len(m.CheckTime)
  1537. if l > 0 {
  1538. n += 2 + l + sovModel(uint64(l))
  1539. }
  1540. if m.XXX_unrecognized != nil {
  1541. n += len(m.XXX_unrecognized)
  1542. }
  1543. return n
  1544. }
  1545. func (m *Media) Size() (n int) {
  1546. if m == nil {
  1547. return 0
  1548. }
  1549. var l int
  1550. _ = l
  1551. if m.Score != 0 {
  1552. n += 1 + sovModel(uint64(m.Score))
  1553. }
  1554. if m.MediaID != 0 {
  1555. n += 1 + sovModel(uint64(m.MediaID))
  1556. }
  1557. l = len(m.Title)
  1558. if l > 0 {
  1559. n += 1 + l + sovModel(uint64(l))
  1560. }
  1561. l = len(m.Cover)
  1562. if l > 0 {
  1563. n += 1 + l + sovModel(uint64(l))
  1564. }
  1565. l = len(m.Area)
  1566. if l > 0 {
  1567. n += 1 + l + sovModel(uint64(l))
  1568. }
  1569. if m.TypeID != 0 {
  1570. n += 1 + sovModel(uint64(m.TypeID))
  1571. }
  1572. l = len(m.TypeName)
  1573. if l > 0 {
  1574. n += 1 + l + sovModel(uint64(l))
  1575. }
  1576. if m.Spoiler != 0 {
  1577. n += 1 + sovModel(uint64(m.Spoiler))
  1578. }
  1579. if m.XXX_unrecognized != nil {
  1580. n += len(m.XXX_unrecognized)
  1581. }
  1582. return n
  1583. }
  1584. func (m *OfficialVerify) Size() (n int) {
  1585. if m == nil {
  1586. return 0
  1587. }
  1588. var l int
  1589. _ = l
  1590. if m.Type != 0 {
  1591. n += 1 + sovModel(uint64(m.Type))
  1592. }
  1593. l = len(m.Desc)
  1594. if l > 0 {
  1595. n += 1 + l + sovModel(uint64(l))
  1596. }
  1597. if m.XXX_unrecognized != nil {
  1598. n += len(m.XXX_unrecognized)
  1599. }
  1600. return n
  1601. }
  1602. func (m *Author) Size() (n int) {
  1603. if m == nil {
  1604. return 0
  1605. }
  1606. var l int
  1607. _ = l
  1608. if m.Mid != 0 {
  1609. n += 1 + sovModel(uint64(m.Mid))
  1610. }
  1611. l = len(m.Name)
  1612. if l > 0 {
  1613. n += 1 + l + sovModel(uint64(l))
  1614. }
  1615. l = len(m.Face)
  1616. if l > 0 {
  1617. n += 1 + l + sovModel(uint64(l))
  1618. }
  1619. l = m.Pendant.Size()
  1620. n += 1 + l + sovModel(uint64(l))
  1621. l = m.OfficialVerify.Size()
  1622. n += 1 + l + sovModel(uint64(l))
  1623. l = m.Nameplate.Size()
  1624. n += 1 + l + sovModel(uint64(l))
  1625. l = m.Vip.Size()
  1626. n += 1 + l + sovModel(uint64(l))
  1627. if m.XXX_unrecognized != nil {
  1628. n += len(m.XXX_unrecognized)
  1629. }
  1630. return n
  1631. }
  1632. func (m *VipInfo) Size() (n int) {
  1633. if m == nil {
  1634. return 0
  1635. }
  1636. var l int
  1637. _ = l
  1638. if m.Type != 0 {
  1639. n += 1 + sovModel(uint64(m.Type))
  1640. }
  1641. if m.Status != 0 {
  1642. n += 1 + sovModel(uint64(m.Status))
  1643. }
  1644. if m.DueDate != 0 {
  1645. n += 1 + sovModel(uint64(m.DueDate))
  1646. }
  1647. if m.VipPayType != 0 {
  1648. n += 1 + sovModel(uint64(m.VipPayType))
  1649. }
  1650. if m.XXX_unrecognized != nil {
  1651. n += len(m.XXX_unrecognized)
  1652. }
  1653. return n
  1654. }
  1655. func (m *Nameplate) Size() (n int) {
  1656. if m == nil {
  1657. return 0
  1658. }
  1659. var l int
  1660. _ = l
  1661. if m.Nid != 0 {
  1662. n += 1 + sovModel(uint64(m.Nid))
  1663. }
  1664. l = len(m.Name)
  1665. if l > 0 {
  1666. n += 1 + l + sovModel(uint64(l))
  1667. }
  1668. l = len(m.Image)
  1669. if l > 0 {
  1670. n += 1 + l + sovModel(uint64(l))
  1671. }
  1672. l = len(m.ImageSmall)
  1673. if l > 0 {
  1674. n += 1 + l + sovModel(uint64(l))
  1675. }
  1676. l = len(m.Level)
  1677. if l > 0 {
  1678. n += 1 + l + sovModel(uint64(l))
  1679. }
  1680. l = len(m.Condition)
  1681. if l > 0 {
  1682. n += 1 + l + sovModel(uint64(l))
  1683. }
  1684. if m.XXX_unrecognized != nil {
  1685. n += len(m.XXX_unrecognized)
  1686. }
  1687. return n
  1688. }
  1689. func (m *Pendant) Size() (n int) {
  1690. if m == nil {
  1691. return 0
  1692. }
  1693. var l int
  1694. _ = l
  1695. if m.Pid != 0 {
  1696. n += 1 + sovModel(uint64(m.Pid))
  1697. }
  1698. l = len(m.Name)
  1699. if l > 0 {
  1700. n += 1 + l + sovModel(uint64(l))
  1701. }
  1702. l = len(m.Image)
  1703. if l > 0 {
  1704. n += 1 + l + sovModel(uint64(l))
  1705. }
  1706. if m.Expire != 0 {
  1707. n += 1 + sovModel(uint64(m.Expire))
  1708. }
  1709. if m.XXX_unrecognized != nil {
  1710. n += len(m.XXX_unrecognized)
  1711. }
  1712. return n
  1713. }
  1714. func (m *Tag) Size() (n int) {
  1715. if m == nil {
  1716. return 0
  1717. }
  1718. var l int
  1719. _ = l
  1720. if m.Tid != 0 {
  1721. n += 1 + sovModel(uint64(m.Tid))
  1722. }
  1723. l = len(m.Name)
  1724. if l > 0 {
  1725. n += 1 + l + sovModel(uint64(l))
  1726. }
  1727. if m.XXX_unrecognized != nil {
  1728. n += len(m.XXX_unrecognized)
  1729. }
  1730. return n
  1731. }
  1732. func (m *Article) Size() (n int) {
  1733. if m == nil {
  1734. return 0
  1735. }
  1736. var l int
  1737. _ = l
  1738. if m.Meta != nil {
  1739. l = m.Meta.Size()
  1740. n += 1 + l + sovModel(uint64(l))
  1741. }
  1742. l = len(m.Content)
  1743. if l > 0 {
  1744. n += 1 + l + sovModel(uint64(l))
  1745. }
  1746. l = len(m.Keywords)
  1747. if l > 0 {
  1748. n += 1 + l + sovModel(uint64(l))
  1749. }
  1750. if m.XXX_unrecognized != nil {
  1751. n += len(m.XXX_unrecognized)
  1752. }
  1753. return n
  1754. }
  1755. func (m *List) Size() (n int) {
  1756. if m == nil {
  1757. return 0
  1758. }
  1759. var l int
  1760. _ = l
  1761. if m.ID != 0 {
  1762. n += 1 + sovModel(uint64(m.ID))
  1763. }
  1764. if m.Mid != 0 {
  1765. n += 1 + sovModel(uint64(m.Mid))
  1766. }
  1767. l = len(m.Name)
  1768. if l > 0 {
  1769. n += 1 + l + sovModel(uint64(l))
  1770. }
  1771. l = len(m.ImageURL)
  1772. if l > 0 {
  1773. n += 1 + l + sovModel(uint64(l))
  1774. }
  1775. if m.UpdateTime != 0 {
  1776. n += 1 + sovModel(uint64(m.UpdateTime))
  1777. }
  1778. if m.Ctime != 0 {
  1779. n += 1 + sovModel(uint64(m.Ctime))
  1780. }
  1781. if m.PublishTime != 0 {
  1782. n += 1 + sovModel(uint64(m.PublishTime))
  1783. }
  1784. l = len(m.Summary)
  1785. if l > 0 {
  1786. n += 1 + l + sovModel(uint64(l))
  1787. }
  1788. if m.Words != 0 {
  1789. n += 1 + sovModel(uint64(m.Words))
  1790. }
  1791. if m.Read != 0 {
  1792. n += 1 + sovModel(uint64(m.Read))
  1793. }
  1794. if m.ArticlesCount != 0 {
  1795. n += 1 + sovModel(uint64(m.ArticlesCount))
  1796. }
  1797. if m.XXX_unrecognized != nil {
  1798. n += len(m.XXX_unrecognized)
  1799. }
  1800. return n
  1801. }
  1802. func sovModel(x uint64) (n int) {
  1803. for {
  1804. n++
  1805. x >>= 7
  1806. if x == 0 {
  1807. break
  1808. }
  1809. }
  1810. return n
  1811. }
  1812. func sozModel(x uint64) (n int) {
  1813. return sovModel(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1814. }
  1815. func (m *Category) Unmarshal(dAtA []byte) error {
  1816. l := len(dAtA)
  1817. iNdEx := 0
  1818. for iNdEx < l {
  1819. preIndex := iNdEx
  1820. var wire uint64
  1821. for shift := uint(0); ; shift += 7 {
  1822. if shift >= 64 {
  1823. return ErrIntOverflowModel
  1824. }
  1825. if iNdEx >= l {
  1826. return io.ErrUnexpectedEOF
  1827. }
  1828. b := dAtA[iNdEx]
  1829. iNdEx++
  1830. wire |= (uint64(b) & 0x7F) << shift
  1831. if b < 0x80 {
  1832. break
  1833. }
  1834. }
  1835. fieldNum := int32(wire >> 3)
  1836. wireType := int(wire & 0x7)
  1837. if wireType == 4 {
  1838. return fmt.Errorf("proto: Category: wiretype end group for non-group")
  1839. }
  1840. if fieldNum <= 0 {
  1841. return fmt.Errorf("proto: Category: illegal tag %d (wire type %d)", fieldNum, wire)
  1842. }
  1843. switch fieldNum {
  1844. case 1:
  1845. if wireType != 0 {
  1846. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  1847. }
  1848. m.ID = 0
  1849. for shift := uint(0); ; shift += 7 {
  1850. if shift >= 64 {
  1851. return ErrIntOverflowModel
  1852. }
  1853. if iNdEx >= l {
  1854. return io.ErrUnexpectedEOF
  1855. }
  1856. b := dAtA[iNdEx]
  1857. iNdEx++
  1858. m.ID |= (int64(b) & 0x7F) << shift
  1859. if b < 0x80 {
  1860. break
  1861. }
  1862. }
  1863. case 2:
  1864. if wireType != 0 {
  1865. return fmt.Errorf("proto: wrong wireType = %d for field ParentID", wireType)
  1866. }
  1867. m.ParentID = 0
  1868. for shift := uint(0); ; shift += 7 {
  1869. if shift >= 64 {
  1870. return ErrIntOverflowModel
  1871. }
  1872. if iNdEx >= l {
  1873. return io.ErrUnexpectedEOF
  1874. }
  1875. b := dAtA[iNdEx]
  1876. iNdEx++
  1877. m.ParentID |= (int64(b) & 0x7F) << shift
  1878. if b < 0x80 {
  1879. break
  1880. }
  1881. }
  1882. case 3:
  1883. if wireType != 2 {
  1884. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1885. }
  1886. var stringLen uint64
  1887. for shift := uint(0); ; shift += 7 {
  1888. if shift >= 64 {
  1889. return ErrIntOverflowModel
  1890. }
  1891. if iNdEx >= l {
  1892. return io.ErrUnexpectedEOF
  1893. }
  1894. b := dAtA[iNdEx]
  1895. iNdEx++
  1896. stringLen |= (uint64(b) & 0x7F) << shift
  1897. if b < 0x80 {
  1898. break
  1899. }
  1900. }
  1901. intStringLen := int(stringLen)
  1902. if intStringLen < 0 {
  1903. return ErrInvalidLengthModel
  1904. }
  1905. postIndex := iNdEx + intStringLen
  1906. if postIndex > l {
  1907. return io.ErrUnexpectedEOF
  1908. }
  1909. m.Name = string(dAtA[iNdEx:postIndex])
  1910. iNdEx = postIndex
  1911. case 4:
  1912. if wireType != 0 {
  1913. return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType)
  1914. }
  1915. m.Position = 0
  1916. for shift := uint(0); ; shift += 7 {
  1917. if shift >= 64 {
  1918. return ErrIntOverflowModel
  1919. }
  1920. if iNdEx >= l {
  1921. return io.ErrUnexpectedEOF
  1922. }
  1923. b := dAtA[iNdEx]
  1924. iNdEx++
  1925. m.Position |= (int64(b) & 0x7F) << shift
  1926. if b < 0x80 {
  1927. break
  1928. }
  1929. }
  1930. case 5:
  1931. if wireType != 2 {
  1932. return fmt.Errorf("proto: wrong wireType = %d for field Children", wireType)
  1933. }
  1934. var msglen int
  1935. for shift := uint(0); ; shift += 7 {
  1936. if shift >= 64 {
  1937. return ErrIntOverflowModel
  1938. }
  1939. if iNdEx >= l {
  1940. return io.ErrUnexpectedEOF
  1941. }
  1942. b := dAtA[iNdEx]
  1943. iNdEx++
  1944. msglen |= (int(b) & 0x7F) << shift
  1945. if b < 0x80 {
  1946. break
  1947. }
  1948. }
  1949. if msglen < 0 {
  1950. return ErrInvalidLengthModel
  1951. }
  1952. postIndex := iNdEx + msglen
  1953. if postIndex > l {
  1954. return io.ErrUnexpectedEOF
  1955. }
  1956. m.Children = append(m.Children, &Category{})
  1957. if err := m.Children[len(m.Children)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1958. return err
  1959. }
  1960. iNdEx = postIndex
  1961. case 6:
  1962. if wireType != 2 {
  1963. return fmt.Errorf("proto: wrong wireType = %d for field BannerURL", wireType)
  1964. }
  1965. var stringLen uint64
  1966. for shift := uint(0); ; shift += 7 {
  1967. if shift >= 64 {
  1968. return ErrIntOverflowModel
  1969. }
  1970. if iNdEx >= l {
  1971. return io.ErrUnexpectedEOF
  1972. }
  1973. b := dAtA[iNdEx]
  1974. iNdEx++
  1975. stringLen |= (uint64(b) & 0x7F) << shift
  1976. if b < 0x80 {
  1977. break
  1978. }
  1979. }
  1980. intStringLen := int(stringLen)
  1981. if intStringLen < 0 {
  1982. return ErrInvalidLengthModel
  1983. }
  1984. postIndex := iNdEx + intStringLen
  1985. if postIndex > l {
  1986. return io.ErrUnexpectedEOF
  1987. }
  1988. m.BannerURL = string(dAtA[iNdEx:postIndex])
  1989. iNdEx = postIndex
  1990. default:
  1991. iNdEx = preIndex
  1992. skippy, err := skipModel(dAtA[iNdEx:])
  1993. if err != nil {
  1994. return err
  1995. }
  1996. if skippy < 0 {
  1997. return ErrInvalidLengthModel
  1998. }
  1999. if (iNdEx + skippy) > l {
  2000. return io.ErrUnexpectedEOF
  2001. }
  2002. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2003. iNdEx += skippy
  2004. }
  2005. }
  2006. if iNdEx > l {
  2007. return io.ErrUnexpectedEOF
  2008. }
  2009. return nil
  2010. }
  2011. func (m *Stats) Unmarshal(dAtA []byte) error {
  2012. l := len(dAtA)
  2013. iNdEx := 0
  2014. for iNdEx < l {
  2015. preIndex := iNdEx
  2016. var wire uint64
  2017. for shift := uint(0); ; shift += 7 {
  2018. if shift >= 64 {
  2019. return ErrIntOverflowModel
  2020. }
  2021. if iNdEx >= l {
  2022. return io.ErrUnexpectedEOF
  2023. }
  2024. b := dAtA[iNdEx]
  2025. iNdEx++
  2026. wire |= (uint64(b) & 0x7F) << shift
  2027. if b < 0x80 {
  2028. break
  2029. }
  2030. }
  2031. fieldNum := int32(wire >> 3)
  2032. wireType := int(wire & 0x7)
  2033. if wireType == 4 {
  2034. return fmt.Errorf("proto: Stats: wiretype end group for non-group")
  2035. }
  2036. if fieldNum <= 0 {
  2037. return fmt.Errorf("proto: Stats: illegal tag %d (wire type %d)", fieldNum, wire)
  2038. }
  2039. switch fieldNum {
  2040. case 1:
  2041. if wireType != 0 {
  2042. return fmt.Errorf("proto: wrong wireType = %d for field View", wireType)
  2043. }
  2044. m.View = 0
  2045. for shift := uint(0); ; shift += 7 {
  2046. if shift >= 64 {
  2047. return ErrIntOverflowModel
  2048. }
  2049. if iNdEx >= l {
  2050. return io.ErrUnexpectedEOF
  2051. }
  2052. b := dAtA[iNdEx]
  2053. iNdEx++
  2054. m.View |= (int64(b) & 0x7F) << shift
  2055. if b < 0x80 {
  2056. break
  2057. }
  2058. }
  2059. case 2:
  2060. if wireType != 0 {
  2061. return fmt.Errorf("proto: wrong wireType = %d for field Favorite", wireType)
  2062. }
  2063. m.Favorite = 0
  2064. for shift := uint(0); ; shift += 7 {
  2065. if shift >= 64 {
  2066. return ErrIntOverflowModel
  2067. }
  2068. if iNdEx >= l {
  2069. return io.ErrUnexpectedEOF
  2070. }
  2071. b := dAtA[iNdEx]
  2072. iNdEx++
  2073. m.Favorite |= (int64(b) & 0x7F) << shift
  2074. if b < 0x80 {
  2075. break
  2076. }
  2077. }
  2078. case 3:
  2079. if wireType != 0 {
  2080. return fmt.Errorf("proto: wrong wireType = %d for field Like", wireType)
  2081. }
  2082. m.Like = 0
  2083. for shift := uint(0); ; shift += 7 {
  2084. if shift >= 64 {
  2085. return ErrIntOverflowModel
  2086. }
  2087. if iNdEx >= l {
  2088. return io.ErrUnexpectedEOF
  2089. }
  2090. b := dAtA[iNdEx]
  2091. iNdEx++
  2092. m.Like |= (int64(b) & 0x7F) << shift
  2093. if b < 0x80 {
  2094. break
  2095. }
  2096. }
  2097. case 4:
  2098. if wireType != 0 {
  2099. return fmt.Errorf("proto: wrong wireType = %d for field Dislike", wireType)
  2100. }
  2101. m.Dislike = 0
  2102. for shift := uint(0); ; shift += 7 {
  2103. if shift >= 64 {
  2104. return ErrIntOverflowModel
  2105. }
  2106. if iNdEx >= l {
  2107. return io.ErrUnexpectedEOF
  2108. }
  2109. b := dAtA[iNdEx]
  2110. iNdEx++
  2111. m.Dislike |= (int64(b) & 0x7F) << shift
  2112. if b < 0x80 {
  2113. break
  2114. }
  2115. }
  2116. case 5:
  2117. if wireType != 0 {
  2118. return fmt.Errorf("proto: wrong wireType = %d for field Reply", wireType)
  2119. }
  2120. m.Reply = 0
  2121. for shift := uint(0); ; shift += 7 {
  2122. if shift >= 64 {
  2123. return ErrIntOverflowModel
  2124. }
  2125. if iNdEx >= l {
  2126. return io.ErrUnexpectedEOF
  2127. }
  2128. b := dAtA[iNdEx]
  2129. iNdEx++
  2130. m.Reply |= (int64(b) & 0x7F) << shift
  2131. if b < 0x80 {
  2132. break
  2133. }
  2134. }
  2135. case 6:
  2136. if wireType != 0 {
  2137. return fmt.Errorf("proto: wrong wireType = %d for field Share", wireType)
  2138. }
  2139. m.Share = 0
  2140. for shift := uint(0); ; shift += 7 {
  2141. if shift >= 64 {
  2142. return ErrIntOverflowModel
  2143. }
  2144. if iNdEx >= l {
  2145. return io.ErrUnexpectedEOF
  2146. }
  2147. b := dAtA[iNdEx]
  2148. iNdEx++
  2149. m.Share |= (int64(b) & 0x7F) << shift
  2150. if b < 0x80 {
  2151. break
  2152. }
  2153. }
  2154. case 7:
  2155. if wireType != 0 {
  2156. return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
  2157. }
  2158. m.Coin = 0
  2159. for shift := uint(0); ; shift += 7 {
  2160. if shift >= 64 {
  2161. return ErrIntOverflowModel
  2162. }
  2163. if iNdEx >= l {
  2164. return io.ErrUnexpectedEOF
  2165. }
  2166. b := dAtA[iNdEx]
  2167. iNdEx++
  2168. m.Coin |= (int64(b) & 0x7F) << shift
  2169. if b < 0x80 {
  2170. break
  2171. }
  2172. }
  2173. case 8:
  2174. if wireType != 0 {
  2175. return fmt.Errorf("proto: wrong wireType = %d for field Dynamic", wireType)
  2176. }
  2177. m.Dynamic = 0
  2178. for shift := uint(0); ; shift += 7 {
  2179. if shift >= 64 {
  2180. return ErrIntOverflowModel
  2181. }
  2182. if iNdEx >= l {
  2183. return io.ErrUnexpectedEOF
  2184. }
  2185. b := dAtA[iNdEx]
  2186. iNdEx++
  2187. m.Dynamic |= (int64(b) & 0x7F) << shift
  2188. if b < 0x80 {
  2189. break
  2190. }
  2191. }
  2192. default:
  2193. iNdEx = preIndex
  2194. skippy, err := skipModel(dAtA[iNdEx:])
  2195. if err != nil {
  2196. return err
  2197. }
  2198. if skippy < 0 {
  2199. return ErrInvalidLengthModel
  2200. }
  2201. if (iNdEx + skippy) > l {
  2202. return io.ErrUnexpectedEOF
  2203. }
  2204. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2205. iNdEx += skippy
  2206. }
  2207. }
  2208. if iNdEx > l {
  2209. return io.ErrUnexpectedEOF
  2210. }
  2211. return nil
  2212. }
  2213. func (m *Meta) Unmarshal(dAtA []byte) error {
  2214. l := len(dAtA)
  2215. iNdEx := 0
  2216. for iNdEx < l {
  2217. preIndex := iNdEx
  2218. var wire uint64
  2219. for shift := uint(0); ; shift += 7 {
  2220. if shift >= 64 {
  2221. return ErrIntOverflowModel
  2222. }
  2223. if iNdEx >= l {
  2224. return io.ErrUnexpectedEOF
  2225. }
  2226. b := dAtA[iNdEx]
  2227. iNdEx++
  2228. wire |= (uint64(b) & 0x7F) << shift
  2229. if b < 0x80 {
  2230. break
  2231. }
  2232. }
  2233. fieldNum := int32(wire >> 3)
  2234. wireType := int(wire & 0x7)
  2235. if wireType == 4 {
  2236. return fmt.Errorf("proto: Meta: wiretype end group for non-group")
  2237. }
  2238. if fieldNum <= 0 {
  2239. return fmt.Errorf("proto: Meta: illegal tag %d (wire type %d)", fieldNum, wire)
  2240. }
  2241. switch fieldNum {
  2242. case 1:
  2243. if wireType != 0 {
  2244. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  2245. }
  2246. m.ID = 0
  2247. for shift := uint(0); ; shift += 7 {
  2248. if shift >= 64 {
  2249. return ErrIntOverflowModel
  2250. }
  2251. if iNdEx >= l {
  2252. return io.ErrUnexpectedEOF
  2253. }
  2254. b := dAtA[iNdEx]
  2255. iNdEx++
  2256. m.ID |= (int64(b) & 0x7F) << shift
  2257. if b < 0x80 {
  2258. break
  2259. }
  2260. }
  2261. case 2:
  2262. if wireType != 2 {
  2263. return fmt.Errorf("proto: wrong wireType = %d for field Category", wireType)
  2264. }
  2265. var msglen int
  2266. for shift := uint(0); ; shift += 7 {
  2267. if shift >= 64 {
  2268. return ErrIntOverflowModel
  2269. }
  2270. if iNdEx >= l {
  2271. return io.ErrUnexpectedEOF
  2272. }
  2273. b := dAtA[iNdEx]
  2274. iNdEx++
  2275. msglen |= (int(b) & 0x7F) << shift
  2276. if b < 0x80 {
  2277. break
  2278. }
  2279. }
  2280. if msglen < 0 {
  2281. return ErrInvalidLengthModel
  2282. }
  2283. postIndex := iNdEx + msglen
  2284. if postIndex > l {
  2285. return io.ErrUnexpectedEOF
  2286. }
  2287. if m.Category == nil {
  2288. m.Category = &Category{}
  2289. }
  2290. if err := m.Category.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2291. return err
  2292. }
  2293. iNdEx = postIndex
  2294. case 3:
  2295. if wireType != 2 {
  2296. return fmt.Errorf("proto: wrong wireType = %d for field Categories", wireType)
  2297. }
  2298. var msglen int
  2299. for shift := uint(0); ; shift += 7 {
  2300. if shift >= 64 {
  2301. return ErrIntOverflowModel
  2302. }
  2303. if iNdEx >= l {
  2304. return io.ErrUnexpectedEOF
  2305. }
  2306. b := dAtA[iNdEx]
  2307. iNdEx++
  2308. msglen |= (int(b) & 0x7F) << shift
  2309. if b < 0x80 {
  2310. break
  2311. }
  2312. }
  2313. if msglen < 0 {
  2314. return ErrInvalidLengthModel
  2315. }
  2316. postIndex := iNdEx + msglen
  2317. if postIndex > l {
  2318. return io.ErrUnexpectedEOF
  2319. }
  2320. m.Categories = append(m.Categories, &Category{})
  2321. if err := m.Categories[len(m.Categories)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2322. return err
  2323. }
  2324. iNdEx = postIndex
  2325. case 4:
  2326. if wireType != 2 {
  2327. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  2328. }
  2329. var stringLen uint64
  2330. for shift := uint(0); ; shift += 7 {
  2331. if shift >= 64 {
  2332. return ErrIntOverflowModel
  2333. }
  2334. if iNdEx >= l {
  2335. return io.ErrUnexpectedEOF
  2336. }
  2337. b := dAtA[iNdEx]
  2338. iNdEx++
  2339. stringLen |= (uint64(b) & 0x7F) << shift
  2340. if b < 0x80 {
  2341. break
  2342. }
  2343. }
  2344. intStringLen := int(stringLen)
  2345. if intStringLen < 0 {
  2346. return ErrInvalidLengthModel
  2347. }
  2348. postIndex := iNdEx + intStringLen
  2349. if postIndex > l {
  2350. return io.ErrUnexpectedEOF
  2351. }
  2352. m.Title = string(dAtA[iNdEx:postIndex])
  2353. iNdEx = postIndex
  2354. case 5:
  2355. if wireType != 2 {
  2356. return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType)
  2357. }
  2358. var stringLen uint64
  2359. for shift := uint(0); ; shift += 7 {
  2360. if shift >= 64 {
  2361. return ErrIntOverflowModel
  2362. }
  2363. if iNdEx >= l {
  2364. return io.ErrUnexpectedEOF
  2365. }
  2366. b := dAtA[iNdEx]
  2367. iNdEx++
  2368. stringLen |= (uint64(b) & 0x7F) << shift
  2369. if b < 0x80 {
  2370. break
  2371. }
  2372. }
  2373. intStringLen := int(stringLen)
  2374. if intStringLen < 0 {
  2375. return ErrInvalidLengthModel
  2376. }
  2377. postIndex := iNdEx + intStringLen
  2378. if postIndex > l {
  2379. return io.ErrUnexpectedEOF
  2380. }
  2381. m.Summary = string(dAtA[iNdEx:postIndex])
  2382. iNdEx = postIndex
  2383. case 6:
  2384. if wireType != 2 {
  2385. return fmt.Errorf("proto: wrong wireType = %d for field BannerURL", wireType)
  2386. }
  2387. var stringLen uint64
  2388. for shift := uint(0); ; shift += 7 {
  2389. if shift >= 64 {
  2390. return ErrIntOverflowModel
  2391. }
  2392. if iNdEx >= l {
  2393. return io.ErrUnexpectedEOF
  2394. }
  2395. b := dAtA[iNdEx]
  2396. iNdEx++
  2397. stringLen |= (uint64(b) & 0x7F) << shift
  2398. if b < 0x80 {
  2399. break
  2400. }
  2401. }
  2402. intStringLen := int(stringLen)
  2403. if intStringLen < 0 {
  2404. return ErrInvalidLengthModel
  2405. }
  2406. postIndex := iNdEx + intStringLen
  2407. if postIndex > l {
  2408. return io.ErrUnexpectedEOF
  2409. }
  2410. m.BannerURL = string(dAtA[iNdEx:postIndex])
  2411. iNdEx = postIndex
  2412. case 7:
  2413. if wireType != 0 {
  2414. return fmt.Errorf("proto: wrong wireType = %d for field TemplateID", wireType)
  2415. }
  2416. m.TemplateID = 0
  2417. for shift := uint(0); ; shift += 7 {
  2418. if shift >= 64 {
  2419. return ErrIntOverflowModel
  2420. }
  2421. if iNdEx >= l {
  2422. return io.ErrUnexpectedEOF
  2423. }
  2424. b := dAtA[iNdEx]
  2425. iNdEx++
  2426. m.TemplateID |= (int32(b) & 0x7F) << shift
  2427. if b < 0x80 {
  2428. break
  2429. }
  2430. }
  2431. case 8:
  2432. if wireType != 0 {
  2433. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  2434. }
  2435. m.State = 0
  2436. for shift := uint(0); ; shift += 7 {
  2437. if shift >= 64 {
  2438. return ErrIntOverflowModel
  2439. }
  2440. if iNdEx >= l {
  2441. return io.ErrUnexpectedEOF
  2442. }
  2443. b := dAtA[iNdEx]
  2444. iNdEx++
  2445. m.State |= (int32(b) & 0x7F) << shift
  2446. if b < 0x80 {
  2447. break
  2448. }
  2449. }
  2450. case 9:
  2451. if wireType != 2 {
  2452. return fmt.Errorf("proto: wrong wireType = %d for field Author", wireType)
  2453. }
  2454. var msglen int
  2455. for shift := uint(0); ; shift += 7 {
  2456. if shift >= 64 {
  2457. return ErrIntOverflowModel
  2458. }
  2459. if iNdEx >= l {
  2460. return io.ErrUnexpectedEOF
  2461. }
  2462. b := dAtA[iNdEx]
  2463. iNdEx++
  2464. msglen |= (int(b) & 0x7F) << shift
  2465. if b < 0x80 {
  2466. break
  2467. }
  2468. }
  2469. if msglen < 0 {
  2470. return ErrInvalidLengthModel
  2471. }
  2472. postIndex := iNdEx + msglen
  2473. if postIndex > l {
  2474. return io.ErrUnexpectedEOF
  2475. }
  2476. if m.Author == nil {
  2477. m.Author = &Author{}
  2478. }
  2479. if err := m.Author.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2480. return err
  2481. }
  2482. iNdEx = postIndex
  2483. case 10:
  2484. if wireType != 0 {
  2485. return fmt.Errorf("proto: wrong wireType = %d for field Reprint", wireType)
  2486. }
  2487. m.Reprint = 0
  2488. for shift := uint(0); ; shift += 7 {
  2489. if shift >= 64 {
  2490. return ErrIntOverflowModel
  2491. }
  2492. if iNdEx >= l {
  2493. return io.ErrUnexpectedEOF
  2494. }
  2495. b := dAtA[iNdEx]
  2496. iNdEx++
  2497. m.Reprint |= (int32(b) & 0x7F) << shift
  2498. if b < 0x80 {
  2499. break
  2500. }
  2501. }
  2502. case 11:
  2503. if wireType != 2 {
  2504. return fmt.Errorf("proto: wrong wireType = %d for field ImageURLs", wireType)
  2505. }
  2506. var stringLen uint64
  2507. for shift := uint(0); ; shift += 7 {
  2508. if shift >= 64 {
  2509. return ErrIntOverflowModel
  2510. }
  2511. if iNdEx >= l {
  2512. return io.ErrUnexpectedEOF
  2513. }
  2514. b := dAtA[iNdEx]
  2515. iNdEx++
  2516. stringLen |= (uint64(b) & 0x7F) << shift
  2517. if b < 0x80 {
  2518. break
  2519. }
  2520. }
  2521. intStringLen := int(stringLen)
  2522. if intStringLen < 0 {
  2523. return ErrInvalidLengthModel
  2524. }
  2525. postIndex := iNdEx + intStringLen
  2526. if postIndex > l {
  2527. return io.ErrUnexpectedEOF
  2528. }
  2529. m.ImageURLs = append(m.ImageURLs, string(dAtA[iNdEx:postIndex]))
  2530. iNdEx = postIndex
  2531. case 12:
  2532. if wireType != 0 {
  2533. return fmt.Errorf("proto: wrong wireType = %d for field PublishTime", wireType)
  2534. }
  2535. m.PublishTime = 0
  2536. for shift := uint(0); ; shift += 7 {
  2537. if shift >= 64 {
  2538. return ErrIntOverflowModel
  2539. }
  2540. if iNdEx >= l {
  2541. return io.ErrUnexpectedEOF
  2542. }
  2543. b := dAtA[iNdEx]
  2544. iNdEx++
  2545. m.PublishTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  2546. if b < 0x80 {
  2547. break
  2548. }
  2549. }
  2550. case 13:
  2551. if wireType != 0 {
  2552. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  2553. }
  2554. m.Ctime = 0
  2555. for shift := uint(0); ; shift += 7 {
  2556. if shift >= 64 {
  2557. return ErrIntOverflowModel
  2558. }
  2559. if iNdEx >= l {
  2560. return io.ErrUnexpectedEOF
  2561. }
  2562. b := dAtA[iNdEx]
  2563. iNdEx++
  2564. m.Ctime |= (go_common_library_time.Time(b) & 0x7F) << shift
  2565. if b < 0x80 {
  2566. break
  2567. }
  2568. }
  2569. case 14:
  2570. if wireType != 0 {
  2571. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  2572. }
  2573. m.Mtime = 0
  2574. for shift := uint(0); ; shift += 7 {
  2575. if shift >= 64 {
  2576. return ErrIntOverflowModel
  2577. }
  2578. if iNdEx >= l {
  2579. return io.ErrUnexpectedEOF
  2580. }
  2581. b := dAtA[iNdEx]
  2582. iNdEx++
  2583. m.Mtime |= (go_common_library_time.Time(b) & 0x7F) << shift
  2584. if b < 0x80 {
  2585. break
  2586. }
  2587. }
  2588. case 15:
  2589. if wireType != 2 {
  2590. return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType)
  2591. }
  2592. var msglen int
  2593. for shift := uint(0); ; shift += 7 {
  2594. if shift >= 64 {
  2595. return ErrIntOverflowModel
  2596. }
  2597. if iNdEx >= l {
  2598. return io.ErrUnexpectedEOF
  2599. }
  2600. b := dAtA[iNdEx]
  2601. iNdEx++
  2602. msglen |= (int(b) & 0x7F) << shift
  2603. if b < 0x80 {
  2604. break
  2605. }
  2606. }
  2607. if msglen < 0 {
  2608. return ErrInvalidLengthModel
  2609. }
  2610. postIndex := iNdEx + msglen
  2611. if postIndex > l {
  2612. return io.ErrUnexpectedEOF
  2613. }
  2614. if m.Stats == nil {
  2615. m.Stats = &Stats{}
  2616. }
  2617. if err := m.Stats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2618. return err
  2619. }
  2620. iNdEx = postIndex
  2621. case 16:
  2622. if wireType != 2 {
  2623. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  2624. }
  2625. var msglen int
  2626. for shift := uint(0); ; shift += 7 {
  2627. if shift >= 64 {
  2628. return ErrIntOverflowModel
  2629. }
  2630. if iNdEx >= l {
  2631. return io.ErrUnexpectedEOF
  2632. }
  2633. b := dAtA[iNdEx]
  2634. iNdEx++
  2635. msglen |= (int(b) & 0x7F) << shift
  2636. if b < 0x80 {
  2637. break
  2638. }
  2639. }
  2640. if msglen < 0 {
  2641. return ErrInvalidLengthModel
  2642. }
  2643. postIndex := iNdEx + msglen
  2644. if postIndex > l {
  2645. return io.ErrUnexpectedEOF
  2646. }
  2647. m.Tags = append(m.Tags, &Tag{})
  2648. if err := m.Tags[len(m.Tags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2649. return err
  2650. }
  2651. iNdEx = postIndex
  2652. case 17:
  2653. if wireType != 0 {
  2654. return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
  2655. }
  2656. m.Attributes = 0
  2657. for shift := uint(0); ; shift += 7 {
  2658. if shift >= 64 {
  2659. return ErrIntOverflowModel
  2660. }
  2661. if iNdEx >= l {
  2662. return io.ErrUnexpectedEOF
  2663. }
  2664. b := dAtA[iNdEx]
  2665. iNdEx++
  2666. m.Attributes |= (int32(b) & 0x7F) << shift
  2667. if b < 0x80 {
  2668. break
  2669. }
  2670. }
  2671. case 18:
  2672. if wireType != 2 {
  2673. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  2674. }
  2675. var stringLen uint64
  2676. for shift := uint(0); ; shift += 7 {
  2677. if shift >= 64 {
  2678. return ErrIntOverflowModel
  2679. }
  2680. if iNdEx >= l {
  2681. return io.ErrUnexpectedEOF
  2682. }
  2683. b := dAtA[iNdEx]
  2684. iNdEx++
  2685. stringLen |= (uint64(b) & 0x7F) << shift
  2686. if b < 0x80 {
  2687. break
  2688. }
  2689. }
  2690. intStringLen := int(stringLen)
  2691. if intStringLen < 0 {
  2692. return ErrInvalidLengthModel
  2693. }
  2694. postIndex := iNdEx + intStringLen
  2695. if postIndex > l {
  2696. return io.ErrUnexpectedEOF
  2697. }
  2698. m.Reason = string(dAtA[iNdEx:postIndex])
  2699. iNdEx = postIndex
  2700. case 19:
  2701. if wireType != 0 {
  2702. return fmt.Errorf("proto: wrong wireType = %d for field Words", wireType)
  2703. }
  2704. m.Words = 0
  2705. for shift := uint(0); ; shift += 7 {
  2706. if shift >= 64 {
  2707. return ErrIntOverflowModel
  2708. }
  2709. if iNdEx >= l {
  2710. return io.ErrUnexpectedEOF
  2711. }
  2712. b := dAtA[iNdEx]
  2713. iNdEx++
  2714. m.Words |= (int64(b) & 0x7F) << shift
  2715. if b < 0x80 {
  2716. break
  2717. }
  2718. }
  2719. case 20:
  2720. if wireType != 2 {
  2721. return fmt.Errorf("proto: wrong wireType = %d for field Dynamic", wireType)
  2722. }
  2723. var stringLen uint64
  2724. for shift := uint(0); ; shift += 7 {
  2725. if shift >= 64 {
  2726. return ErrIntOverflowModel
  2727. }
  2728. if iNdEx >= l {
  2729. return io.ErrUnexpectedEOF
  2730. }
  2731. b := dAtA[iNdEx]
  2732. iNdEx++
  2733. stringLen |= (uint64(b) & 0x7F) << shift
  2734. if b < 0x80 {
  2735. break
  2736. }
  2737. }
  2738. intStringLen := int(stringLen)
  2739. if intStringLen < 0 {
  2740. return ErrInvalidLengthModel
  2741. }
  2742. postIndex := iNdEx + intStringLen
  2743. if postIndex > l {
  2744. return io.ErrUnexpectedEOF
  2745. }
  2746. m.Dynamic = string(dAtA[iNdEx:postIndex])
  2747. iNdEx = postIndex
  2748. case 21:
  2749. if wireType != 2 {
  2750. return fmt.Errorf("proto: wrong wireType = %d for field OriginImageURLs", wireType)
  2751. }
  2752. var stringLen uint64
  2753. for shift := uint(0); ; shift += 7 {
  2754. if shift >= 64 {
  2755. return ErrIntOverflowModel
  2756. }
  2757. if iNdEx >= l {
  2758. return io.ErrUnexpectedEOF
  2759. }
  2760. b := dAtA[iNdEx]
  2761. iNdEx++
  2762. stringLen |= (uint64(b) & 0x7F) << shift
  2763. if b < 0x80 {
  2764. break
  2765. }
  2766. }
  2767. intStringLen := int(stringLen)
  2768. if intStringLen < 0 {
  2769. return ErrInvalidLengthModel
  2770. }
  2771. postIndex := iNdEx + intStringLen
  2772. if postIndex > l {
  2773. return io.ErrUnexpectedEOF
  2774. }
  2775. m.OriginImageURLs = append(m.OriginImageURLs, string(dAtA[iNdEx:postIndex]))
  2776. iNdEx = postIndex
  2777. case 22:
  2778. if wireType != 2 {
  2779. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2780. }
  2781. var msglen int
  2782. for shift := uint(0); ; shift += 7 {
  2783. if shift >= 64 {
  2784. return ErrIntOverflowModel
  2785. }
  2786. if iNdEx >= l {
  2787. return io.ErrUnexpectedEOF
  2788. }
  2789. b := dAtA[iNdEx]
  2790. iNdEx++
  2791. msglen |= (int(b) & 0x7F) << shift
  2792. if b < 0x80 {
  2793. break
  2794. }
  2795. }
  2796. if msglen < 0 {
  2797. return ErrInvalidLengthModel
  2798. }
  2799. postIndex := iNdEx + msglen
  2800. if postIndex > l {
  2801. return io.ErrUnexpectedEOF
  2802. }
  2803. if m.List == nil {
  2804. m.List = &List{}
  2805. }
  2806. if err := m.List.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2807. return err
  2808. }
  2809. iNdEx = postIndex
  2810. case 23:
  2811. if wireType != 0 {
  2812. return fmt.Errorf("proto: wrong wireType = %d for field IsLike", wireType)
  2813. }
  2814. var v int
  2815. for shift := uint(0); ; shift += 7 {
  2816. if shift >= 64 {
  2817. return ErrIntOverflowModel
  2818. }
  2819. if iNdEx >= l {
  2820. return io.ErrUnexpectedEOF
  2821. }
  2822. b := dAtA[iNdEx]
  2823. iNdEx++
  2824. v |= (int(b) & 0x7F) << shift
  2825. if b < 0x80 {
  2826. break
  2827. }
  2828. }
  2829. m.IsLike = bool(v != 0)
  2830. case 24:
  2831. if wireType != 2 {
  2832. return fmt.Errorf("proto: wrong wireType = %d for field Media", wireType)
  2833. }
  2834. var msglen int
  2835. for shift := uint(0); ; shift += 7 {
  2836. if shift >= 64 {
  2837. return ErrIntOverflowModel
  2838. }
  2839. if iNdEx >= l {
  2840. return io.ErrUnexpectedEOF
  2841. }
  2842. b := dAtA[iNdEx]
  2843. iNdEx++
  2844. msglen |= (int(b) & 0x7F) << shift
  2845. if b < 0x80 {
  2846. break
  2847. }
  2848. }
  2849. if msglen < 0 {
  2850. return ErrInvalidLengthModel
  2851. }
  2852. postIndex := iNdEx + msglen
  2853. if postIndex > l {
  2854. return io.ErrUnexpectedEOF
  2855. }
  2856. if m.Media == nil {
  2857. m.Media = &Media{}
  2858. }
  2859. if err := m.Media.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2860. return err
  2861. }
  2862. iNdEx = postIndex
  2863. case 25:
  2864. if wireType != 2 {
  2865. return fmt.Errorf("proto: wrong wireType = %d for field ApplyTime", wireType)
  2866. }
  2867. var stringLen uint64
  2868. for shift := uint(0); ; shift += 7 {
  2869. if shift >= 64 {
  2870. return ErrIntOverflowModel
  2871. }
  2872. if iNdEx >= l {
  2873. return io.ErrUnexpectedEOF
  2874. }
  2875. b := dAtA[iNdEx]
  2876. iNdEx++
  2877. stringLen |= (uint64(b) & 0x7F) << shift
  2878. if b < 0x80 {
  2879. break
  2880. }
  2881. }
  2882. intStringLen := int(stringLen)
  2883. if intStringLen < 0 {
  2884. return ErrInvalidLengthModel
  2885. }
  2886. postIndex := iNdEx + intStringLen
  2887. if postIndex > l {
  2888. return io.ErrUnexpectedEOF
  2889. }
  2890. m.ApplyTime = string(dAtA[iNdEx:postIndex])
  2891. iNdEx = postIndex
  2892. case 26:
  2893. if wireType != 2 {
  2894. return fmt.Errorf("proto: wrong wireType = %d for field CheckTime", wireType)
  2895. }
  2896. var stringLen uint64
  2897. for shift := uint(0); ; shift += 7 {
  2898. if shift >= 64 {
  2899. return ErrIntOverflowModel
  2900. }
  2901. if iNdEx >= l {
  2902. return io.ErrUnexpectedEOF
  2903. }
  2904. b := dAtA[iNdEx]
  2905. iNdEx++
  2906. stringLen |= (uint64(b) & 0x7F) << shift
  2907. if b < 0x80 {
  2908. break
  2909. }
  2910. }
  2911. intStringLen := int(stringLen)
  2912. if intStringLen < 0 {
  2913. return ErrInvalidLengthModel
  2914. }
  2915. postIndex := iNdEx + intStringLen
  2916. if postIndex > l {
  2917. return io.ErrUnexpectedEOF
  2918. }
  2919. m.CheckTime = string(dAtA[iNdEx:postIndex])
  2920. iNdEx = postIndex
  2921. default:
  2922. iNdEx = preIndex
  2923. skippy, err := skipModel(dAtA[iNdEx:])
  2924. if err != nil {
  2925. return err
  2926. }
  2927. if skippy < 0 {
  2928. return ErrInvalidLengthModel
  2929. }
  2930. if (iNdEx + skippy) > l {
  2931. return io.ErrUnexpectedEOF
  2932. }
  2933. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2934. iNdEx += skippy
  2935. }
  2936. }
  2937. if iNdEx > l {
  2938. return io.ErrUnexpectedEOF
  2939. }
  2940. return nil
  2941. }
  2942. func (m *Media) Unmarshal(dAtA []byte) error {
  2943. l := len(dAtA)
  2944. iNdEx := 0
  2945. for iNdEx < l {
  2946. preIndex := iNdEx
  2947. var wire uint64
  2948. for shift := uint(0); ; shift += 7 {
  2949. if shift >= 64 {
  2950. return ErrIntOverflowModel
  2951. }
  2952. if iNdEx >= l {
  2953. return io.ErrUnexpectedEOF
  2954. }
  2955. b := dAtA[iNdEx]
  2956. iNdEx++
  2957. wire |= (uint64(b) & 0x7F) << shift
  2958. if b < 0x80 {
  2959. break
  2960. }
  2961. }
  2962. fieldNum := int32(wire >> 3)
  2963. wireType := int(wire & 0x7)
  2964. if wireType == 4 {
  2965. return fmt.Errorf("proto: Media: wiretype end group for non-group")
  2966. }
  2967. if fieldNum <= 0 {
  2968. return fmt.Errorf("proto: Media: illegal tag %d (wire type %d)", fieldNum, wire)
  2969. }
  2970. switch fieldNum {
  2971. case 1:
  2972. if wireType != 0 {
  2973. return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
  2974. }
  2975. m.Score = 0
  2976. for shift := uint(0); ; shift += 7 {
  2977. if shift >= 64 {
  2978. return ErrIntOverflowModel
  2979. }
  2980. if iNdEx >= l {
  2981. return io.ErrUnexpectedEOF
  2982. }
  2983. b := dAtA[iNdEx]
  2984. iNdEx++
  2985. m.Score |= (int32(b) & 0x7F) << shift
  2986. if b < 0x80 {
  2987. break
  2988. }
  2989. }
  2990. case 2:
  2991. if wireType != 0 {
  2992. return fmt.Errorf("proto: wrong wireType = %d for field MediaID", wireType)
  2993. }
  2994. m.MediaID = 0
  2995. for shift := uint(0); ; shift += 7 {
  2996. if shift >= 64 {
  2997. return ErrIntOverflowModel
  2998. }
  2999. if iNdEx >= l {
  3000. return io.ErrUnexpectedEOF
  3001. }
  3002. b := dAtA[iNdEx]
  3003. iNdEx++
  3004. m.MediaID |= (int64(b) & 0x7F) << shift
  3005. if b < 0x80 {
  3006. break
  3007. }
  3008. }
  3009. case 3:
  3010. if wireType != 2 {
  3011. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  3012. }
  3013. var stringLen uint64
  3014. for shift := uint(0); ; shift += 7 {
  3015. if shift >= 64 {
  3016. return ErrIntOverflowModel
  3017. }
  3018. if iNdEx >= l {
  3019. return io.ErrUnexpectedEOF
  3020. }
  3021. b := dAtA[iNdEx]
  3022. iNdEx++
  3023. stringLen |= (uint64(b) & 0x7F) << shift
  3024. if b < 0x80 {
  3025. break
  3026. }
  3027. }
  3028. intStringLen := int(stringLen)
  3029. if intStringLen < 0 {
  3030. return ErrInvalidLengthModel
  3031. }
  3032. postIndex := iNdEx + intStringLen
  3033. if postIndex > l {
  3034. return io.ErrUnexpectedEOF
  3035. }
  3036. m.Title = string(dAtA[iNdEx:postIndex])
  3037. iNdEx = postIndex
  3038. case 4:
  3039. if wireType != 2 {
  3040. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  3041. }
  3042. var stringLen uint64
  3043. for shift := uint(0); ; shift += 7 {
  3044. if shift >= 64 {
  3045. return ErrIntOverflowModel
  3046. }
  3047. if iNdEx >= l {
  3048. return io.ErrUnexpectedEOF
  3049. }
  3050. b := dAtA[iNdEx]
  3051. iNdEx++
  3052. stringLen |= (uint64(b) & 0x7F) << shift
  3053. if b < 0x80 {
  3054. break
  3055. }
  3056. }
  3057. intStringLen := int(stringLen)
  3058. if intStringLen < 0 {
  3059. return ErrInvalidLengthModel
  3060. }
  3061. postIndex := iNdEx + intStringLen
  3062. if postIndex > l {
  3063. return io.ErrUnexpectedEOF
  3064. }
  3065. m.Cover = string(dAtA[iNdEx:postIndex])
  3066. iNdEx = postIndex
  3067. case 5:
  3068. if wireType != 2 {
  3069. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  3070. }
  3071. var stringLen uint64
  3072. for shift := uint(0); ; shift += 7 {
  3073. if shift >= 64 {
  3074. return ErrIntOverflowModel
  3075. }
  3076. if iNdEx >= l {
  3077. return io.ErrUnexpectedEOF
  3078. }
  3079. b := dAtA[iNdEx]
  3080. iNdEx++
  3081. stringLen |= (uint64(b) & 0x7F) << shift
  3082. if b < 0x80 {
  3083. break
  3084. }
  3085. }
  3086. intStringLen := int(stringLen)
  3087. if intStringLen < 0 {
  3088. return ErrInvalidLengthModel
  3089. }
  3090. postIndex := iNdEx + intStringLen
  3091. if postIndex > l {
  3092. return io.ErrUnexpectedEOF
  3093. }
  3094. m.Area = string(dAtA[iNdEx:postIndex])
  3095. iNdEx = postIndex
  3096. case 6:
  3097. if wireType != 0 {
  3098. return fmt.Errorf("proto: wrong wireType = %d for field TypeID", wireType)
  3099. }
  3100. m.TypeID = 0
  3101. for shift := uint(0); ; shift += 7 {
  3102. if shift >= 64 {
  3103. return ErrIntOverflowModel
  3104. }
  3105. if iNdEx >= l {
  3106. return io.ErrUnexpectedEOF
  3107. }
  3108. b := dAtA[iNdEx]
  3109. iNdEx++
  3110. m.TypeID |= (int32(b) & 0x7F) << shift
  3111. if b < 0x80 {
  3112. break
  3113. }
  3114. }
  3115. case 7:
  3116. if wireType != 2 {
  3117. return fmt.Errorf("proto: wrong wireType = %d for field TypeName", wireType)
  3118. }
  3119. var stringLen uint64
  3120. for shift := uint(0); ; shift += 7 {
  3121. if shift >= 64 {
  3122. return ErrIntOverflowModel
  3123. }
  3124. if iNdEx >= l {
  3125. return io.ErrUnexpectedEOF
  3126. }
  3127. b := dAtA[iNdEx]
  3128. iNdEx++
  3129. stringLen |= (uint64(b) & 0x7F) << shift
  3130. if b < 0x80 {
  3131. break
  3132. }
  3133. }
  3134. intStringLen := int(stringLen)
  3135. if intStringLen < 0 {
  3136. return ErrInvalidLengthModel
  3137. }
  3138. postIndex := iNdEx + intStringLen
  3139. if postIndex > l {
  3140. return io.ErrUnexpectedEOF
  3141. }
  3142. m.TypeName = string(dAtA[iNdEx:postIndex])
  3143. iNdEx = postIndex
  3144. case 8:
  3145. if wireType != 0 {
  3146. return fmt.Errorf("proto: wrong wireType = %d for field Spoiler", wireType)
  3147. }
  3148. m.Spoiler = 0
  3149. for shift := uint(0); ; shift += 7 {
  3150. if shift >= 64 {
  3151. return ErrIntOverflowModel
  3152. }
  3153. if iNdEx >= l {
  3154. return io.ErrUnexpectedEOF
  3155. }
  3156. b := dAtA[iNdEx]
  3157. iNdEx++
  3158. m.Spoiler |= (int32(b) & 0x7F) << shift
  3159. if b < 0x80 {
  3160. break
  3161. }
  3162. }
  3163. default:
  3164. iNdEx = preIndex
  3165. skippy, err := skipModel(dAtA[iNdEx:])
  3166. if err != nil {
  3167. return err
  3168. }
  3169. if skippy < 0 {
  3170. return ErrInvalidLengthModel
  3171. }
  3172. if (iNdEx + skippy) > l {
  3173. return io.ErrUnexpectedEOF
  3174. }
  3175. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3176. iNdEx += skippy
  3177. }
  3178. }
  3179. if iNdEx > l {
  3180. return io.ErrUnexpectedEOF
  3181. }
  3182. return nil
  3183. }
  3184. func (m *OfficialVerify) Unmarshal(dAtA []byte) error {
  3185. l := len(dAtA)
  3186. iNdEx := 0
  3187. for iNdEx < l {
  3188. preIndex := iNdEx
  3189. var wire uint64
  3190. for shift := uint(0); ; shift += 7 {
  3191. if shift >= 64 {
  3192. return ErrIntOverflowModel
  3193. }
  3194. if iNdEx >= l {
  3195. return io.ErrUnexpectedEOF
  3196. }
  3197. b := dAtA[iNdEx]
  3198. iNdEx++
  3199. wire |= (uint64(b) & 0x7F) << shift
  3200. if b < 0x80 {
  3201. break
  3202. }
  3203. }
  3204. fieldNum := int32(wire >> 3)
  3205. wireType := int(wire & 0x7)
  3206. if wireType == 4 {
  3207. return fmt.Errorf("proto: OfficialVerify: wiretype end group for non-group")
  3208. }
  3209. if fieldNum <= 0 {
  3210. return fmt.Errorf("proto: OfficialVerify: illegal tag %d (wire type %d)", fieldNum, wire)
  3211. }
  3212. switch fieldNum {
  3213. case 1:
  3214. if wireType != 0 {
  3215. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3216. }
  3217. m.Type = 0
  3218. for shift := uint(0); ; shift += 7 {
  3219. if shift >= 64 {
  3220. return ErrIntOverflowModel
  3221. }
  3222. if iNdEx >= l {
  3223. return io.ErrUnexpectedEOF
  3224. }
  3225. b := dAtA[iNdEx]
  3226. iNdEx++
  3227. m.Type |= (int64(b) & 0x7F) << shift
  3228. if b < 0x80 {
  3229. break
  3230. }
  3231. }
  3232. case 2:
  3233. if wireType != 2 {
  3234. return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
  3235. }
  3236. var stringLen uint64
  3237. for shift := uint(0); ; shift += 7 {
  3238. if shift >= 64 {
  3239. return ErrIntOverflowModel
  3240. }
  3241. if iNdEx >= l {
  3242. return io.ErrUnexpectedEOF
  3243. }
  3244. b := dAtA[iNdEx]
  3245. iNdEx++
  3246. stringLen |= (uint64(b) & 0x7F) << shift
  3247. if b < 0x80 {
  3248. break
  3249. }
  3250. }
  3251. intStringLen := int(stringLen)
  3252. if intStringLen < 0 {
  3253. return ErrInvalidLengthModel
  3254. }
  3255. postIndex := iNdEx + intStringLen
  3256. if postIndex > l {
  3257. return io.ErrUnexpectedEOF
  3258. }
  3259. m.Desc = string(dAtA[iNdEx:postIndex])
  3260. iNdEx = postIndex
  3261. default:
  3262. iNdEx = preIndex
  3263. skippy, err := skipModel(dAtA[iNdEx:])
  3264. if err != nil {
  3265. return err
  3266. }
  3267. if skippy < 0 {
  3268. return ErrInvalidLengthModel
  3269. }
  3270. if (iNdEx + skippy) > l {
  3271. return io.ErrUnexpectedEOF
  3272. }
  3273. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3274. iNdEx += skippy
  3275. }
  3276. }
  3277. if iNdEx > l {
  3278. return io.ErrUnexpectedEOF
  3279. }
  3280. return nil
  3281. }
  3282. func (m *Author) Unmarshal(dAtA []byte) error {
  3283. l := len(dAtA)
  3284. iNdEx := 0
  3285. for iNdEx < l {
  3286. preIndex := iNdEx
  3287. var wire uint64
  3288. for shift := uint(0); ; shift += 7 {
  3289. if shift >= 64 {
  3290. return ErrIntOverflowModel
  3291. }
  3292. if iNdEx >= l {
  3293. return io.ErrUnexpectedEOF
  3294. }
  3295. b := dAtA[iNdEx]
  3296. iNdEx++
  3297. wire |= (uint64(b) & 0x7F) << shift
  3298. if b < 0x80 {
  3299. break
  3300. }
  3301. }
  3302. fieldNum := int32(wire >> 3)
  3303. wireType := int(wire & 0x7)
  3304. if wireType == 4 {
  3305. return fmt.Errorf("proto: Author: wiretype end group for non-group")
  3306. }
  3307. if fieldNum <= 0 {
  3308. return fmt.Errorf("proto: Author: illegal tag %d (wire type %d)", fieldNum, wire)
  3309. }
  3310. switch fieldNum {
  3311. case 1:
  3312. if wireType != 0 {
  3313. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  3314. }
  3315. m.Mid = 0
  3316. for shift := uint(0); ; shift += 7 {
  3317. if shift >= 64 {
  3318. return ErrIntOverflowModel
  3319. }
  3320. if iNdEx >= l {
  3321. return io.ErrUnexpectedEOF
  3322. }
  3323. b := dAtA[iNdEx]
  3324. iNdEx++
  3325. m.Mid |= (int64(b) & 0x7F) << shift
  3326. if b < 0x80 {
  3327. break
  3328. }
  3329. }
  3330. case 2:
  3331. if wireType != 2 {
  3332. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  3333. }
  3334. var stringLen uint64
  3335. for shift := uint(0); ; shift += 7 {
  3336. if shift >= 64 {
  3337. return ErrIntOverflowModel
  3338. }
  3339. if iNdEx >= l {
  3340. return io.ErrUnexpectedEOF
  3341. }
  3342. b := dAtA[iNdEx]
  3343. iNdEx++
  3344. stringLen |= (uint64(b) & 0x7F) << shift
  3345. if b < 0x80 {
  3346. break
  3347. }
  3348. }
  3349. intStringLen := int(stringLen)
  3350. if intStringLen < 0 {
  3351. return ErrInvalidLengthModel
  3352. }
  3353. postIndex := iNdEx + intStringLen
  3354. if postIndex > l {
  3355. return io.ErrUnexpectedEOF
  3356. }
  3357. m.Name = string(dAtA[iNdEx:postIndex])
  3358. iNdEx = postIndex
  3359. case 3:
  3360. if wireType != 2 {
  3361. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  3362. }
  3363. var stringLen uint64
  3364. for shift := uint(0); ; shift += 7 {
  3365. if shift >= 64 {
  3366. return ErrIntOverflowModel
  3367. }
  3368. if iNdEx >= l {
  3369. return io.ErrUnexpectedEOF
  3370. }
  3371. b := dAtA[iNdEx]
  3372. iNdEx++
  3373. stringLen |= (uint64(b) & 0x7F) << shift
  3374. if b < 0x80 {
  3375. break
  3376. }
  3377. }
  3378. intStringLen := int(stringLen)
  3379. if intStringLen < 0 {
  3380. return ErrInvalidLengthModel
  3381. }
  3382. postIndex := iNdEx + intStringLen
  3383. if postIndex > l {
  3384. return io.ErrUnexpectedEOF
  3385. }
  3386. m.Face = string(dAtA[iNdEx:postIndex])
  3387. iNdEx = postIndex
  3388. case 4:
  3389. if wireType != 2 {
  3390. return fmt.Errorf("proto: wrong wireType = %d for field Pendant", wireType)
  3391. }
  3392. var msglen int
  3393. for shift := uint(0); ; shift += 7 {
  3394. if shift >= 64 {
  3395. return ErrIntOverflowModel
  3396. }
  3397. if iNdEx >= l {
  3398. return io.ErrUnexpectedEOF
  3399. }
  3400. b := dAtA[iNdEx]
  3401. iNdEx++
  3402. msglen |= (int(b) & 0x7F) << shift
  3403. if b < 0x80 {
  3404. break
  3405. }
  3406. }
  3407. if msglen < 0 {
  3408. return ErrInvalidLengthModel
  3409. }
  3410. postIndex := iNdEx + msglen
  3411. if postIndex > l {
  3412. return io.ErrUnexpectedEOF
  3413. }
  3414. if err := m.Pendant.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3415. return err
  3416. }
  3417. iNdEx = postIndex
  3418. case 5:
  3419. if wireType != 2 {
  3420. return fmt.Errorf("proto: wrong wireType = %d for field OfficialVerify", wireType)
  3421. }
  3422. var msglen int
  3423. for shift := uint(0); ; shift += 7 {
  3424. if shift >= 64 {
  3425. return ErrIntOverflowModel
  3426. }
  3427. if iNdEx >= l {
  3428. return io.ErrUnexpectedEOF
  3429. }
  3430. b := dAtA[iNdEx]
  3431. iNdEx++
  3432. msglen |= (int(b) & 0x7F) << shift
  3433. if b < 0x80 {
  3434. break
  3435. }
  3436. }
  3437. if msglen < 0 {
  3438. return ErrInvalidLengthModel
  3439. }
  3440. postIndex := iNdEx + msglen
  3441. if postIndex > l {
  3442. return io.ErrUnexpectedEOF
  3443. }
  3444. if err := m.OfficialVerify.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3445. return err
  3446. }
  3447. iNdEx = postIndex
  3448. case 6:
  3449. if wireType != 2 {
  3450. return fmt.Errorf("proto: wrong wireType = %d for field Nameplate", wireType)
  3451. }
  3452. var msglen int
  3453. for shift := uint(0); ; shift += 7 {
  3454. if shift >= 64 {
  3455. return ErrIntOverflowModel
  3456. }
  3457. if iNdEx >= l {
  3458. return io.ErrUnexpectedEOF
  3459. }
  3460. b := dAtA[iNdEx]
  3461. iNdEx++
  3462. msglen |= (int(b) & 0x7F) << shift
  3463. if b < 0x80 {
  3464. break
  3465. }
  3466. }
  3467. if msglen < 0 {
  3468. return ErrInvalidLengthModel
  3469. }
  3470. postIndex := iNdEx + msglen
  3471. if postIndex > l {
  3472. return io.ErrUnexpectedEOF
  3473. }
  3474. if err := m.Nameplate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3475. return err
  3476. }
  3477. iNdEx = postIndex
  3478. case 7:
  3479. if wireType != 2 {
  3480. return fmt.Errorf("proto: wrong wireType = %d for field Vip", wireType)
  3481. }
  3482. var msglen int
  3483. for shift := uint(0); ; shift += 7 {
  3484. if shift >= 64 {
  3485. return ErrIntOverflowModel
  3486. }
  3487. if iNdEx >= l {
  3488. return io.ErrUnexpectedEOF
  3489. }
  3490. b := dAtA[iNdEx]
  3491. iNdEx++
  3492. msglen |= (int(b) & 0x7F) << shift
  3493. if b < 0x80 {
  3494. break
  3495. }
  3496. }
  3497. if msglen < 0 {
  3498. return ErrInvalidLengthModel
  3499. }
  3500. postIndex := iNdEx + msglen
  3501. if postIndex > l {
  3502. return io.ErrUnexpectedEOF
  3503. }
  3504. if err := m.Vip.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3505. return err
  3506. }
  3507. iNdEx = postIndex
  3508. default:
  3509. iNdEx = preIndex
  3510. skippy, err := skipModel(dAtA[iNdEx:])
  3511. if err != nil {
  3512. return err
  3513. }
  3514. if skippy < 0 {
  3515. return ErrInvalidLengthModel
  3516. }
  3517. if (iNdEx + skippy) > l {
  3518. return io.ErrUnexpectedEOF
  3519. }
  3520. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3521. iNdEx += skippy
  3522. }
  3523. }
  3524. if iNdEx > l {
  3525. return io.ErrUnexpectedEOF
  3526. }
  3527. return nil
  3528. }
  3529. func (m *VipInfo) Unmarshal(dAtA []byte) error {
  3530. l := len(dAtA)
  3531. iNdEx := 0
  3532. for iNdEx < l {
  3533. preIndex := iNdEx
  3534. var wire uint64
  3535. for shift := uint(0); ; shift += 7 {
  3536. if shift >= 64 {
  3537. return ErrIntOverflowModel
  3538. }
  3539. if iNdEx >= l {
  3540. return io.ErrUnexpectedEOF
  3541. }
  3542. b := dAtA[iNdEx]
  3543. iNdEx++
  3544. wire |= (uint64(b) & 0x7F) << shift
  3545. if b < 0x80 {
  3546. break
  3547. }
  3548. }
  3549. fieldNum := int32(wire >> 3)
  3550. wireType := int(wire & 0x7)
  3551. if wireType == 4 {
  3552. return fmt.Errorf("proto: VipInfo: wiretype end group for non-group")
  3553. }
  3554. if fieldNum <= 0 {
  3555. return fmt.Errorf("proto: VipInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3556. }
  3557. switch fieldNum {
  3558. case 1:
  3559. if wireType != 0 {
  3560. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3561. }
  3562. m.Type = 0
  3563. for shift := uint(0); ; shift += 7 {
  3564. if shift >= 64 {
  3565. return ErrIntOverflowModel
  3566. }
  3567. if iNdEx >= l {
  3568. return io.ErrUnexpectedEOF
  3569. }
  3570. b := dAtA[iNdEx]
  3571. iNdEx++
  3572. m.Type |= (int32(b) & 0x7F) << shift
  3573. if b < 0x80 {
  3574. break
  3575. }
  3576. }
  3577. case 2:
  3578. if wireType != 0 {
  3579. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3580. }
  3581. m.Status = 0
  3582. for shift := uint(0); ; shift += 7 {
  3583. if shift >= 64 {
  3584. return ErrIntOverflowModel
  3585. }
  3586. if iNdEx >= l {
  3587. return io.ErrUnexpectedEOF
  3588. }
  3589. b := dAtA[iNdEx]
  3590. iNdEx++
  3591. m.Status |= (int32(b) & 0x7F) << shift
  3592. if b < 0x80 {
  3593. break
  3594. }
  3595. }
  3596. case 3:
  3597. if wireType != 0 {
  3598. return fmt.Errorf("proto: wrong wireType = %d for field DueDate", wireType)
  3599. }
  3600. m.DueDate = 0
  3601. for shift := uint(0); ; shift += 7 {
  3602. if shift >= 64 {
  3603. return ErrIntOverflowModel
  3604. }
  3605. if iNdEx >= l {
  3606. return io.ErrUnexpectedEOF
  3607. }
  3608. b := dAtA[iNdEx]
  3609. iNdEx++
  3610. m.DueDate |= (int64(b) & 0x7F) << shift
  3611. if b < 0x80 {
  3612. break
  3613. }
  3614. }
  3615. case 4:
  3616. if wireType != 0 {
  3617. return fmt.Errorf("proto: wrong wireType = %d for field VipPayType", wireType)
  3618. }
  3619. m.VipPayType = 0
  3620. for shift := uint(0); ; shift += 7 {
  3621. if shift >= 64 {
  3622. return ErrIntOverflowModel
  3623. }
  3624. if iNdEx >= l {
  3625. return io.ErrUnexpectedEOF
  3626. }
  3627. b := dAtA[iNdEx]
  3628. iNdEx++
  3629. m.VipPayType |= (int32(b) & 0x7F) << shift
  3630. if b < 0x80 {
  3631. break
  3632. }
  3633. }
  3634. default:
  3635. iNdEx = preIndex
  3636. skippy, err := skipModel(dAtA[iNdEx:])
  3637. if err != nil {
  3638. return err
  3639. }
  3640. if skippy < 0 {
  3641. return ErrInvalidLengthModel
  3642. }
  3643. if (iNdEx + skippy) > l {
  3644. return io.ErrUnexpectedEOF
  3645. }
  3646. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3647. iNdEx += skippy
  3648. }
  3649. }
  3650. if iNdEx > l {
  3651. return io.ErrUnexpectedEOF
  3652. }
  3653. return nil
  3654. }
  3655. func (m *Nameplate) Unmarshal(dAtA []byte) error {
  3656. l := len(dAtA)
  3657. iNdEx := 0
  3658. for iNdEx < l {
  3659. preIndex := iNdEx
  3660. var wire uint64
  3661. for shift := uint(0); ; shift += 7 {
  3662. if shift >= 64 {
  3663. return ErrIntOverflowModel
  3664. }
  3665. if iNdEx >= l {
  3666. return io.ErrUnexpectedEOF
  3667. }
  3668. b := dAtA[iNdEx]
  3669. iNdEx++
  3670. wire |= (uint64(b) & 0x7F) << shift
  3671. if b < 0x80 {
  3672. break
  3673. }
  3674. }
  3675. fieldNum := int32(wire >> 3)
  3676. wireType := int(wire & 0x7)
  3677. if wireType == 4 {
  3678. return fmt.Errorf("proto: Nameplate: wiretype end group for non-group")
  3679. }
  3680. if fieldNum <= 0 {
  3681. return fmt.Errorf("proto: Nameplate: illegal tag %d (wire type %d)", fieldNum, wire)
  3682. }
  3683. switch fieldNum {
  3684. case 1:
  3685. if wireType != 0 {
  3686. return fmt.Errorf("proto: wrong wireType = %d for field Nid", wireType)
  3687. }
  3688. m.Nid = 0
  3689. for shift := uint(0); ; shift += 7 {
  3690. if shift >= 64 {
  3691. return ErrIntOverflowModel
  3692. }
  3693. if iNdEx >= l {
  3694. return io.ErrUnexpectedEOF
  3695. }
  3696. b := dAtA[iNdEx]
  3697. iNdEx++
  3698. m.Nid |= (int(b) & 0x7F) << shift
  3699. if b < 0x80 {
  3700. break
  3701. }
  3702. }
  3703. case 2:
  3704. if wireType != 2 {
  3705. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  3706. }
  3707. var stringLen uint64
  3708. for shift := uint(0); ; shift += 7 {
  3709. if shift >= 64 {
  3710. return ErrIntOverflowModel
  3711. }
  3712. if iNdEx >= l {
  3713. return io.ErrUnexpectedEOF
  3714. }
  3715. b := dAtA[iNdEx]
  3716. iNdEx++
  3717. stringLen |= (uint64(b) & 0x7F) << shift
  3718. if b < 0x80 {
  3719. break
  3720. }
  3721. }
  3722. intStringLen := int(stringLen)
  3723. if intStringLen < 0 {
  3724. return ErrInvalidLengthModel
  3725. }
  3726. postIndex := iNdEx + intStringLen
  3727. if postIndex > l {
  3728. return io.ErrUnexpectedEOF
  3729. }
  3730. m.Name = string(dAtA[iNdEx:postIndex])
  3731. iNdEx = postIndex
  3732. case 3:
  3733. if wireType != 2 {
  3734. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  3735. }
  3736. var stringLen uint64
  3737. for shift := uint(0); ; shift += 7 {
  3738. if shift >= 64 {
  3739. return ErrIntOverflowModel
  3740. }
  3741. if iNdEx >= l {
  3742. return io.ErrUnexpectedEOF
  3743. }
  3744. b := dAtA[iNdEx]
  3745. iNdEx++
  3746. stringLen |= (uint64(b) & 0x7F) << shift
  3747. if b < 0x80 {
  3748. break
  3749. }
  3750. }
  3751. intStringLen := int(stringLen)
  3752. if intStringLen < 0 {
  3753. return ErrInvalidLengthModel
  3754. }
  3755. postIndex := iNdEx + intStringLen
  3756. if postIndex > l {
  3757. return io.ErrUnexpectedEOF
  3758. }
  3759. m.Image = string(dAtA[iNdEx:postIndex])
  3760. iNdEx = postIndex
  3761. case 4:
  3762. if wireType != 2 {
  3763. return fmt.Errorf("proto: wrong wireType = %d for field ImageSmall", wireType)
  3764. }
  3765. var stringLen uint64
  3766. for shift := uint(0); ; shift += 7 {
  3767. if shift >= 64 {
  3768. return ErrIntOverflowModel
  3769. }
  3770. if iNdEx >= l {
  3771. return io.ErrUnexpectedEOF
  3772. }
  3773. b := dAtA[iNdEx]
  3774. iNdEx++
  3775. stringLen |= (uint64(b) & 0x7F) << shift
  3776. if b < 0x80 {
  3777. break
  3778. }
  3779. }
  3780. intStringLen := int(stringLen)
  3781. if intStringLen < 0 {
  3782. return ErrInvalidLengthModel
  3783. }
  3784. postIndex := iNdEx + intStringLen
  3785. if postIndex > l {
  3786. return io.ErrUnexpectedEOF
  3787. }
  3788. m.ImageSmall = string(dAtA[iNdEx:postIndex])
  3789. iNdEx = postIndex
  3790. case 5:
  3791. if wireType != 2 {
  3792. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  3793. }
  3794. var stringLen uint64
  3795. for shift := uint(0); ; shift += 7 {
  3796. if shift >= 64 {
  3797. return ErrIntOverflowModel
  3798. }
  3799. if iNdEx >= l {
  3800. return io.ErrUnexpectedEOF
  3801. }
  3802. b := dAtA[iNdEx]
  3803. iNdEx++
  3804. stringLen |= (uint64(b) & 0x7F) << shift
  3805. if b < 0x80 {
  3806. break
  3807. }
  3808. }
  3809. intStringLen := int(stringLen)
  3810. if intStringLen < 0 {
  3811. return ErrInvalidLengthModel
  3812. }
  3813. postIndex := iNdEx + intStringLen
  3814. if postIndex > l {
  3815. return io.ErrUnexpectedEOF
  3816. }
  3817. m.Level = string(dAtA[iNdEx:postIndex])
  3818. iNdEx = postIndex
  3819. case 6:
  3820. if wireType != 2 {
  3821. return fmt.Errorf("proto: wrong wireType = %d for field Condition", wireType)
  3822. }
  3823. var stringLen uint64
  3824. for shift := uint(0); ; shift += 7 {
  3825. if shift >= 64 {
  3826. return ErrIntOverflowModel
  3827. }
  3828. if iNdEx >= l {
  3829. return io.ErrUnexpectedEOF
  3830. }
  3831. b := dAtA[iNdEx]
  3832. iNdEx++
  3833. stringLen |= (uint64(b) & 0x7F) << shift
  3834. if b < 0x80 {
  3835. break
  3836. }
  3837. }
  3838. intStringLen := int(stringLen)
  3839. if intStringLen < 0 {
  3840. return ErrInvalidLengthModel
  3841. }
  3842. postIndex := iNdEx + intStringLen
  3843. if postIndex > l {
  3844. return io.ErrUnexpectedEOF
  3845. }
  3846. m.Condition = string(dAtA[iNdEx:postIndex])
  3847. iNdEx = postIndex
  3848. default:
  3849. iNdEx = preIndex
  3850. skippy, err := skipModel(dAtA[iNdEx:])
  3851. if err != nil {
  3852. return err
  3853. }
  3854. if skippy < 0 {
  3855. return ErrInvalidLengthModel
  3856. }
  3857. if (iNdEx + skippy) > l {
  3858. return io.ErrUnexpectedEOF
  3859. }
  3860. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3861. iNdEx += skippy
  3862. }
  3863. }
  3864. if iNdEx > l {
  3865. return io.ErrUnexpectedEOF
  3866. }
  3867. return nil
  3868. }
  3869. func (m *Pendant) Unmarshal(dAtA []byte) error {
  3870. l := len(dAtA)
  3871. iNdEx := 0
  3872. for iNdEx < l {
  3873. preIndex := iNdEx
  3874. var wire uint64
  3875. for shift := uint(0); ; shift += 7 {
  3876. if shift >= 64 {
  3877. return ErrIntOverflowModel
  3878. }
  3879. if iNdEx >= l {
  3880. return io.ErrUnexpectedEOF
  3881. }
  3882. b := dAtA[iNdEx]
  3883. iNdEx++
  3884. wire |= (uint64(b) & 0x7F) << shift
  3885. if b < 0x80 {
  3886. break
  3887. }
  3888. }
  3889. fieldNum := int32(wire >> 3)
  3890. wireType := int(wire & 0x7)
  3891. if wireType == 4 {
  3892. return fmt.Errorf("proto: Pendant: wiretype end group for non-group")
  3893. }
  3894. if fieldNum <= 0 {
  3895. return fmt.Errorf("proto: Pendant: illegal tag %d (wire type %d)", fieldNum, wire)
  3896. }
  3897. switch fieldNum {
  3898. case 1:
  3899. if wireType != 0 {
  3900. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  3901. }
  3902. m.Pid = 0
  3903. for shift := uint(0); ; shift += 7 {
  3904. if shift >= 64 {
  3905. return ErrIntOverflowModel
  3906. }
  3907. if iNdEx >= l {
  3908. return io.ErrUnexpectedEOF
  3909. }
  3910. b := dAtA[iNdEx]
  3911. iNdEx++
  3912. m.Pid |= (int32(b) & 0x7F) << shift
  3913. if b < 0x80 {
  3914. break
  3915. }
  3916. }
  3917. case 2:
  3918. if wireType != 2 {
  3919. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  3920. }
  3921. var stringLen uint64
  3922. for shift := uint(0); ; shift += 7 {
  3923. if shift >= 64 {
  3924. return ErrIntOverflowModel
  3925. }
  3926. if iNdEx >= l {
  3927. return io.ErrUnexpectedEOF
  3928. }
  3929. b := dAtA[iNdEx]
  3930. iNdEx++
  3931. stringLen |= (uint64(b) & 0x7F) << shift
  3932. if b < 0x80 {
  3933. break
  3934. }
  3935. }
  3936. intStringLen := int(stringLen)
  3937. if intStringLen < 0 {
  3938. return ErrInvalidLengthModel
  3939. }
  3940. postIndex := iNdEx + intStringLen
  3941. if postIndex > l {
  3942. return io.ErrUnexpectedEOF
  3943. }
  3944. m.Name = string(dAtA[iNdEx:postIndex])
  3945. iNdEx = postIndex
  3946. case 3:
  3947. if wireType != 2 {
  3948. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  3949. }
  3950. var stringLen uint64
  3951. for shift := uint(0); ; shift += 7 {
  3952. if shift >= 64 {
  3953. return ErrIntOverflowModel
  3954. }
  3955. if iNdEx >= l {
  3956. return io.ErrUnexpectedEOF
  3957. }
  3958. b := dAtA[iNdEx]
  3959. iNdEx++
  3960. stringLen |= (uint64(b) & 0x7F) << shift
  3961. if b < 0x80 {
  3962. break
  3963. }
  3964. }
  3965. intStringLen := int(stringLen)
  3966. if intStringLen < 0 {
  3967. return ErrInvalidLengthModel
  3968. }
  3969. postIndex := iNdEx + intStringLen
  3970. if postIndex > l {
  3971. return io.ErrUnexpectedEOF
  3972. }
  3973. m.Image = string(dAtA[iNdEx:postIndex])
  3974. iNdEx = postIndex
  3975. case 4:
  3976. if wireType != 0 {
  3977. return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
  3978. }
  3979. m.Expire = 0
  3980. for shift := uint(0); ; shift += 7 {
  3981. if shift >= 64 {
  3982. return ErrIntOverflowModel
  3983. }
  3984. if iNdEx >= l {
  3985. return io.ErrUnexpectedEOF
  3986. }
  3987. b := dAtA[iNdEx]
  3988. iNdEx++
  3989. m.Expire |= (int32(b) & 0x7F) << shift
  3990. if b < 0x80 {
  3991. break
  3992. }
  3993. }
  3994. default:
  3995. iNdEx = preIndex
  3996. skippy, err := skipModel(dAtA[iNdEx:])
  3997. if err != nil {
  3998. return err
  3999. }
  4000. if skippy < 0 {
  4001. return ErrInvalidLengthModel
  4002. }
  4003. if (iNdEx + skippy) > l {
  4004. return io.ErrUnexpectedEOF
  4005. }
  4006. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4007. iNdEx += skippy
  4008. }
  4009. }
  4010. if iNdEx > l {
  4011. return io.ErrUnexpectedEOF
  4012. }
  4013. return nil
  4014. }
  4015. func (m *Tag) Unmarshal(dAtA []byte) error {
  4016. l := len(dAtA)
  4017. iNdEx := 0
  4018. for iNdEx < l {
  4019. preIndex := iNdEx
  4020. var wire uint64
  4021. for shift := uint(0); ; shift += 7 {
  4022. if shift >= 64 {
  4023. return ErrIntOverflowModel
  4024. }
  4025. if iNdEx >= l {
  4026. return io.ErrUnexpectedEOF
  4027. }
  4028. b := dAtA[iNdEx]
  4029. iNdEx++
  4030. wire |= (uint64(b) & 0x7F) << shift
  4031. if b < 0x80 {
  4032. break
  4033. }
  4034. }
  4035. fieldNum := int32(wire >> 3)
  4036. wireType := int(wire & 0x7)
  4037. if wireType == 4 {
  4038. return fmt.Errorf("proto: Tag: wiretype end group for non-group")
  4039. }
  4040. if fieldNum <= 0 {
  4041. return fmt.Errorf("proto: Tag: illegal tag %d (wire type %d)", fieldNum, wire)
  4042. }
  4043. switch fieldNum {
  4044. case 1:
  4045. if wireType != 0 {
  4046. return fmt.Errorf("proto: wrong wireType = %d for field Tid", wireType)
  4047. }
  4048. m.Tid = 0
  4049. for shift := uint(0); ; shift += 7 {
  4050. if shift >= 64 {
  4051. return ErrIntOverflowModel
  4052. }
  4053. if iNdEx >= l {
  4054. return io.ErrUnexpectedEOF
  4055. }
  4056. b := dAtA[iNdEx]
  4057. iNdEx++
  4058. m.Tid |= (int64(b) & 0x7F) << shift
  4059. if b < 0x80 {
  4060. break
  4061. }
  4062. }
  4063. case 2:
  4064. if wireType != 2 {
  4065. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4066. }
  4067. var stringLen uint64
  4068. for shift := uint(0); ; shift += 7 {
  4069. if shift >= 64 {
  4070. return ErrIntOverflowModel
  4071. }
  4072. if iNdEx >= l {
  4073. return io.ErrUnexpectedEOF
  4074. }
  4075. b := dAtA[iNdEx]
  4076. iNdEx++
  4077. stringLen |= (uint64(b) & 0x7F) << shift
  4078. if b < 0x80 {
  4079. break
  4080. }
  4081. }
  4082. intStringLen := int(stringLen)
  4083. if intStringLen < 0 {
  4084. return ErrInvalidLengthModel
  4085. }
  4086. postIndex := iNdEx + intStringLen
  4087. if postIndex > l {
  4088. return io.ErrUnexpectedEOF
  4089. }
  4090. m.Name = string(dAtA[iNdEx:postIndex])
  4091. iNdEx = postIndex
  4092. default:
  4093. iNdEx = preIndex
  4094. skippy, err := skipModel(dAtA[iNdEx:])
  4095. if err != nil {
  4096. return err
  4097. }
  4098. if skippy < 0 {
  4099. return ErrInvalidLengthModel
  4100. }
  4101. if (iNdEx + skippy) > l {
  4102. return io.ErrUnexpectedEOF
  4103. }
  4104. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4105. iNdEx += skippy
  4106. }
  4107. }
  4108. if iNdEx > l {
  4109. return io.ErrUnexpectedEOF
  4110. }
  4111. return nil
  4112. }
  4113. func (m *Article) Unmarshal(dAtA []byte) error {
  4114. l := len(dAtA)
  4115. iNdEx := 0
  4116. for iNdEx < l {
  4117. preIndex := iNdEx
  4118. var wire uint64
  4119. for shift := uint(0); ; shift += 7 {
  4120. if shift >= 64 {
  4121. return ErrIntOverflowModel
  4122. }
  4123. if iNdEx >= l {
  4124. return io.ErrUnexpectedEOF
  4125. }
  4126. b := dAtA[iNdEx]
  4127. iNdEx++
  4128. wire |= (uint64(b) & 0x7F) << shift
  4129. if b < 0x80 {
  4130. break
  4131. }
  4132. }
  4133. fieldNum := int32(wire >> 3)
  4134. wireType := int(wire & 0x7)
  4135. if wireType == 4 {
  4136. return fmt.Errorf("proto: Article: wiretype end group for non-group")
  4137. }
  4138. if fieldNum <= 0 {
  4139. return fmt.Errorf("proto: Article: illegal tag %d (wire type %d)", fieldNum, wire)
  4140. }
  4141. switch fieldNum {
  4142. case 1:
  4143. if wireType != 2 {
  4144. return fmt.Errorf("proto: wrong wireType = %d for field Meta", wireType)
  4145. }
  4146. var msglen int
  4147. for shift := uint(0); ; shift += 7 {
  4148. if shift >= 64 {
  4149. return ErrIntOverflowModel
  4150. }
  4151. if iNdEx >= l {
  4152. return io.ErrUnexpectedEOF
  4153. }
  4154. b := dAtA[iNdEx]
  4155. iNdEx++
  4156. msglen |= (int(b) & 0x7F) << shift
  4157. if b < 0x80 {
  4158. break
  4159. }
  4160. }
  4161. if msglen < 0 {
  4162. return ErrInvalidLengthModel
  4163. }
  4164. postIndex := iNdEx + msglen
  4165. if postIndex > l {
  4166. return io.ErrUnexpectedEOF
  4167. }
  4168. if m.Meta == nil {
  4169. m.Meta = &Meta{}
  4170. }
  4171. if err := m.Meta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4172. return err
  4173. }
  4174. iNdEx = postIndex
  4175. case 2:
  4176. if wireType != 2 {
  4177. return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType)
  4178. }
  4179. var stringLen uint64
  4180. for shift := uint(0); ; shift += 7 {
  4181. if shift >= 64 {
  4182. return ErrIntOverflowModel
  4183. }
  4184. if iNdEx >= l {
  4185. return io.ErrUnexpectedEOF
  4186. }
  4187. b := dAtA[iNdEx]
  4188. iNdEx++
  4189. stringLen |= (uint64(b) & 0x7F) << shift
  4190. if b < 0x80 {
  4191. break
  4192. }
  4193. }
  4194. intStringLen := int(stringLen)
  4195. if intStringLen < 0 {
  4196. return ErrInvalidLengthModel
  4197. }
  4198. postIndex := iNdEx + intStringLen
  4199. if postIndex > l {
  4200. return io.ErrUnexpectedEOF
  4201. }
  4202. m.Content = string(dAtA[iNdEx:postIndex])
  4203. iNdEx = postIndex
  4204. case 3:
  4205. if wireType != 2 {
  4206. return fmt.Errorf("proto: wrong wireType = %d for field Keywords", wireType)
  4207. }
  4208. var stringLen uint64
  4209. for shift := uint(0); ; shift += 7 {
  4210. if shift >= 64 {
  4211. return ErrIntOverflowModel
  4212. }
  4213. if iNdEx >= l {
  4214. return io.ErrUnexpectedEOF
  4215. }
  4216. b := dAtA[iNdEx]
  4217. iNdEx++
  4218. stringLen |= (uint64(b) & 0x7F) << shift
  4219. if b < 0x80 {
  4220. break
  4221. }
  4222. }
  4223. intStringLen := int(stringLen)
  4224. if intStringLen < 0 {
  4225. return ErrInvalidLengthModel
  4226. }
  4227. postIndex := iNdEx + intStringLen
  4228. if postIndex > l {
  4229. return io.ErrUnexpectedEOF
  4230. }
  4231. m.Keywords = string(dAtA[iNdEx:postIndex])
  4232. iNdEx = postIndex
  4233. default:
  4234. iNdEx = preIndex
  4235. skippy, err := skipModel(dAtA[iNdEx:])
  4236. if err != nil {
  4237. return err
  4238. }
  4239. if skippy < 0 {
  4240. return ErrInvalidLengthModel
  4241. }
  4242. if (iNdEx + skippy) > l {
  4243. return io.ErrUnexpectedEOF
  4244. }
  4245. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4246. iNdEx += skippy
  4247. }
  4248. }
  4249. if iNdEx > l {
  4250. return io.ErrUnexpectedEOF
  4251. }
  4252. return nil
  4253. }
  4254. func (m *List) Unmarshal(dAtA []byte) error {
  4255. l := len(dAtA)
  4256. iNdEx := 0
  4257. for iNdEx < l {
  4258. preIndex := iNdEx
  4259. var wire uint64
  4260. for shift := uint(0); ; shift += 7 {
  4261. if shift >= 64 {
  4262. return ErrIntOverflowModel
  4263. }
  4264. if iNdEx >= l {
  4265. return io.ErrUnexpectedEOF
  4266. }
  4267. b := dAtA[iNdEx]
  4268. iNdEx++
  4269. wire |= (uint64(b) & 0x7F) << shift
  4270. if b < 0x80 {
  4271. break
  4272. }
  4273. }
  4274. fieldNum := int32(wire >> 3)
  4275. wireType := int(wire & 0x7)
  4276. if wireType == 4 {
  4277. return fmt.Errorf("proto: List: wiretype end group for non-group")
  4278. }
  4279. if fieldNum <= 0 {
  4280. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  4281. }
  4282. switch fieldNum {
  4283. case 1:
  4284. if wireType != 0 {
  4285. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4286. }
  4287. m.ID = 0
  4288. for shift := uint(0); ; shift += 7 {
  4289. if shift >= 64 {
  4290. return ErrIntOverflowModel
  4291. }
  4292. if iNdEx >= l {
  4293. return io.ErrUnexpectedEOF
  4294. }
  4295. b := dAtA[iNdEx]
  4296. iNdEx++
  4297. m.ID |= (int64(b) & 0x7F) << shift
  4298. if b < 0x80 {
  4299. break
  4300. }
  4301. }
  4302. case 2:
  4303. if wireType != 0 {
  4304. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4305. }
  4306. m.Mid = 0
  4307. for shift := uint(0); ; shift += 7 {
  4308. if shift >= 64 {
  4309. return ErrIntOverflowModel
  4310. }
  4311. if iNdEx >= l {
  4312. return io.ErrUnexpectedEOF
  4313. }
  4314. b := dAtA[iNdEx]
  4315. iNdEx++
  4316. m.Mid |= (int64(b) & 0x7F) << shift
  4317. if b < 0x80 {
  4318. break
  4319. }
  4320. }
  4321. case 3:
  4322. if wireType != 2 {
  4323. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4324. }
  4325. var stringLen uint64
  4326. for shift := uint(0); ; shift += 7 {
  4327. if shift >= 64 {
  4328. return ErrIntOverflowModel
  4329. }
  4330. if iNdEx >= l {
  4331. return io.ErrUnexpectedEOF
  4332. }
  4333. b := dAtA[iNdEx]
  4334. iNdEx++
  4335. stringLen |= (uint64(b) & 0x7F) << shift
  4336. if b < 0x80 {
  4337. break
  4338. }
  4339. }
  4340. intStringLen := int(stringLen)
  4341. if intStringLen < 0 {
  4342. return ErrInvalidLengthModel
  4343. }
  4344. postIndex := iNdEx + intStringLen
  4345. if postIndex > l {
  4346. return io.ErrUnexpectedEOF
  4347. }
  4348. m.Name = string(dAtA[iNdEx:postIndex])
  4349. iNdEx = postIndex
  4350. case 4:
  4351. if wireType != 2 {
  4352. return fmt.Errorf("proto: wrong wireType = %d for field ImageURL", wireType)
  4353. }
  4354. var stringLen uint64
  4355. for shift := uint(0); ; shift += 7 {
  4356. if shift >= 64 {
  4357. return ErrIntOverflowModel
  4358. }
  4359. if iNdEx >= l {
  4360. return io.ErrUnexpectedEOF
  4361. }
  4362. b := dAtA[iNdEx]
  4363. iNdEx++
  4364. stringLen |= (uint64(b) & 0x7F) << shift
  4365. if b < 0x80 {
  4366. break
  4367. }
  4368. }
  4369. intStringLen := int(stringLen)
  4370. if intStringLen < 0 {
  4371. return ErrInvalidLengthModel
  4372. }
  4373. postIndex := iNdEx + intStringLen
  4374. if postIndex > l {
  4375. return io.ErrUnexpectedEOF
  4376. }
  4377. m.ImageURL = string(dAtA[iNdEx:postIndex])
  4378. iNdEx = postIndex
  4379. case 5:
  4380. if wireType != 0 {
  4381. return fmt.Errorf("proto: wrong wireType = %d for field UpdateTime", wireType)
  4382. }
  4383. m.UpdateTime = 0
  4384. for shift := uint(0); ; shift += 7 {
  4385. if shift >= 64 {
  4386. return ErrIntOverflowModel
  4387. }
  4388. if iNdEx >= l {
  4389. return io.ErrUnexpectedEOF
  4390. }
  4391. b := dAtA[iNdEx]
  4392. iNdEx++
  4393. m.UpdateTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  4394. if b < 0x80 {
  4395. break
  4396. }
  4397. }
  4398. case 6:
  4399. if wireType != 0 {
  4400. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  4401. }
  4402. m.Ctime = 0
  4403. for shift := uint(0); ; shift += 7 {
  4404. if shift >= 64 {
  4405. return ErrIntOverflowModel
  4406. }
  4407. if iNdEx >= l {
  4408. return io.ErrUnexpectedEOF
  4409. }
  4410. b := dAtA[iNdEx]
  4411. iNdEx++
  4412. m.Ctime |= (go_common_library_time.Time(b) & 0x7F) << shift
  4413. if b < 0x80 {
  4414. break
  4415. }
  4416. }
  4417. case 7:
  4418. if wireType != 0 {
  4419. return fmt.Errorf("proto: wrong wireType = %d for field PublishTime", wireType)
  4420. }
  4421. m.PublishTime = 0
  4422. for shift := uint(0); ; shift += 7 {
  4423. if shift >= 64 {
  4424. return ErrIntOverflowModel
  4425. }
  4426. if iNdEx >= l {
  4427. return io.ErrUnexpectedEOF
  4428. }
  4429. b := dAtA[iNdEx]
  4430. iNdEx++
  4431. m.PublishTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  4432. if b < 0x80 {
  4433. break
  4434. }
  4435. }
  4436. case 8:
  4437. if wireType != 2 {
  4438. return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType)
  4439. }
  4440. var stringLen uint64
  4441. for shift := uint(0); ; shift += 7 {
  4442. if shift >= 64 {
  4443. return ErrIntOverflowModel
  4444. }
  4445. if iNdEx >= l {
  4446. return io.ErrUnexpectedEOF
  4447. }
  4448. b := dAtA[iNdEx]
  4449. iNdEx++
  4450. stringLen |= (uint64(b) & 0x7F) << shift
  4451. if b < 0x80 {
  4452. break
  4453. }
  4454. }
  4455. intStringLen := int(stringLen)
  4456. if intStringLen < 0 {
  4457. return ErrInvalidLengthModel
  4458. }
  4459. postIndex := iNdEx + intStringLen
  4460. if postIndex > l {
  4461. return io.ErrUnexpectedEOF
  4462. }
  4463. m.Summary = string(dAtA[iNdEx:postIndex])
  4464. iNdEx = postIndex
  4465. case 9:
  4466. if wireType != 0 {
  4467. return fmt.Errorf("proto: wrong wireType = %d for field Words", wireType)
  4468. }
  4469. m.Words = 0
  4470. for shift := uint(0); ; shift += 7 {
  4471. if shift >= 64 {
  4472. return ErrIntOverflowModel
  4473. }
  4474. if iNdEx >= l {
  4475. return io.ErrUnexpectedEOF
  4476. }
  4477. b := dAtA[iNdEx]
  4478. iNdEx++
  4479. m.Words |= (int64(b) & 0x7F) << shift
  4480. if b < 0x80 {
  4481. break
  4482. }
  4483. }
  4484. case 10:
  4485. if wireType != 0 {
  4486. return fmt.Errorf("proto: wrong wireType = %d for field Read", wireType)
  4487. }
  4488. m.Read = 0
  4489. for shift := uint(0); ; shift += 7 {
  4490. if shift >= 64 {
  4491. return ErrIntOverflowModel
  4492. }
  4493. if iNdEx >= l {
  4494. return io.ErrUnexpectedEOF
  4495. }
  4496. b := dAtA[iNdEx]
  4497. iNdEx++
  4498. m.Read |= (int64(b) & 0x7F) << shift
  4499. if b < 0x80 {
  4500. break
  4501. }
  4502. }
  4503. case 11:
  4504. if wireType != 0 {
  4505. return fmt.Errorf("proto: wrong wireType = %d for field ArticlesCount", wireType)
  4506. }
  4507. m.ArticlesCount = 0
  4508. for shift := uint(0); ; shift += 7 {
  4509. if shift >= 64 {
  4510. return ErrIntOverflowModel
  4511. }
  4512. if iNdEx >= l {
  4513. return io.ErrUnexpectedEOF
  4514. }
  4515. b := dAtA[iNdEx]
  4516. iNdEx++
  4517. m.ArticlesCount |= (int64(b) & 0x7F) << shift
  4518. if b < 0x80 {
  4519. break
  4520. }
  4521. }
  4522. default:
  4523. iNdEx = preIndex
  4524. skippy, err := skipModel(dAtA[iNdEx:])
  4525. if err != nil {
  4526. return err
  4527. }
  4528. if skippy < 0 {
  4529. return ErrInvalidLengthModel
  4530. }
  4531. if (iNdEx + skippy) > l {
  4532. return io.ErrUnexpectedEOF
  4533. }
  4534. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4535. iNdEx += skippy
  4536. }
  4537. }
  4538. if iNdEx > l {
  4539. return io.ErrUnexpectedEOF
  4540. }
  4541. return nil
  4542. }
  4543. func skipModel(dAtA []byte) (n int, err error) {
  4544. l := len(dAtA)
  4545. iNdEx := 0
  4546. for iNdEx < l {
  4547. var wire uint64
  4548. for shift := uint(0); ; shift += 7 {
  4549. if shift >= 64 {
  4550. return 0, ErrIntOverflowModel
  4551. }
  4552. if iNdEx >= l {
  4553. return 0, io.ErrUnexpectedEOF
  4554. }
  4555. b := dAtA[iNdEx]
  4556. iNdEx++
  4557. wire |= (uint64(b) & 0x7F) << shift
  4558. if b < 0x80 {
  4559. break
  4560. }
  4561. }
  4562. wireType := int(wire & 0x7)
  4563. switch wireType {
  4564. case 0:
  4565. for shift := uint(0); ; shift += 7 {
  4566. if shift >= 64 {
  4567. return 0, ErrIntOverflowModel
  4568. }
  4569. if iNdEx >= l {
  4570. return 0, io.ErrUnexpectedEOF
  4571. }
  4572. iNdEx++
  4573. if dAtA[iNdEx-1] < 0x80 {
  4574. break
  4575. }
  4576. }
  4577. return iNdEx, nil
  4578. case 1:
  4579. iNdEx += 8
  4580. return iNdEx, nil
  4581. case 2:
  4582. var length int
  4583. for shift := uint(0); ; shift += 7 {
  4584. if shift >= 64 {
  4585. return 0, ErrIntOverflowModel
  4586. }
  4587. if iNdEx >= l {
  4588. return 0, io.ErrUnexpectedEOF
  4589. }
  4590. b := dAtA[iNdEx]
  4591. iNdEx++
  4592. length |= (int(b) & 0x7F) << shift
  4593. if b < 0x80 {
  4594. break
  4595. }
  4596. }
  4597. iNdEx += length
  4598. if length < 0 {
  4599. return 0, ErrInvalidLengthModel
  4600. }
  4601. return iNdEx, nil
  4602. case 3:
  4603. for {
  4604. var innerWire uint64
  4605. var start int = iNdEx
  4606. for shift := uint(0); ; shift += 7 {
  4607. if shift >= 64 {
  4608. return 0, ErrIntOverflowModel
  4609. }
  4610. if iNdEx >= l {
  4611. return 0, io.ErrUnexpectedEOF
  4612. }
  4613. b := dAtA[iNdEx]
  4614. iNdEx++
  4615. innerWire |= (uint64(b) & 0x7F) << shift
  4616. if b < 0x80 {
  4617. break
  4618. }
  4619. }
  4620. innerWireType := int(innerWire & 0x7)
  4621. if innerWireType == 4 {
  4622. break
  4623. }
  4624. next, err := skipModel(dAtA[start:])
  4625. if err != nil {
  4626. return 0, err
  4627. }
  4628. iNdEx = start + next
  4629. }
  4630. return iNdEx, nil
  4631. case 4:
  4632. return iNdEx, nil
  4633. case 5:
  4634. iNdEx += 4
  4635. return iNdEx, nil
  4636. default:
  4637. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  4638. }
  4639. }
  4640. panic("unreachable")
  4641. }
  4642. var (
  4643. ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling")
  4644. ErrIntOverflowModel = fmt.Errorf("proto: integer overflow")
  4645. )
  4646. func init() {
  4647. proto.RegisterFile("app/interface/openplatform/article/model/model.proto", fileDescriptor_model_1ed79421c8e64043)
  4648. }
  4649. var fileDescriptor_model_1ed79421c8e64043 = []byte{
  4650. // 1821 bytes of a gzipped FileDescriptorProto
  4651. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcd, 0x6e, 0x1c, 0xb9,
  4652. 0x11, 0xf6, 0xfc, 0xf4, 0xfc, 0xd4, 0xc8, 0x92, 0xcd, 0xf5, 0x4f, 0xfb, 0x27, 0x6a, 0x65, 0x90,
  4653. 0x45, 0x04, 0x64, 0xad, 0x59, 0x68, 0x17, 0x9b, 0x5f, 0x18, 0xd1, 0xc8, 0x87, 0x08, 0x2b, 0xaf,
  4654. 0x0d, 0x5a, 0xde, 0x43, 0x2e, 0x03, 0xaa, 0x9b, 0x1a, 0x11, 0xee, 0x3f, 0x74, 0x73, 0xb4, 0x99,
  4655. 0x27, 0xc8, 0x29, 0x4f, 0xb0, 0xe7, 0x00, 0x79, 0x82, 0x3c, 0x42, 0xe0, 0xa3, 0x9f, 0xa0, 0x91,
  4656. 0x9d, 0xe3, 0x20, 0x2f, 0x90, 0x3d, 0x05, 0x55, 0x64, 0x4f, 0xb7, 0x3c, 0x5a, 0x2b, 0x48, 0xf6,
  4657. 0x42, 0x16, 0x3f, 0x7e, 0xac, 0x21, 0xab, 0x8a, 0xc5, 0xea, 0x81, 0xcf, 0x45, 0x9a, 0x8e, 0x54,
  4658. 0xac, 0x65, 0x76, 0x26, 0x7c, 0x39, 0x4a, 0x52, 0x19, 0xa7, 0xa1, 0xd0, 0x67, 0x49, 0x16, 0x8d,
  4659. 0x44, 0xa6, 0x95, 0x1f, 0xca, 0x51, 0x94, 0x04, 0x32, 0x34, 0xed, 0x5e, 0x9a, 0x25, 0x3a, 0x61,
  4660. 0x5b, 0x76, 0x6a, 0x2f, 0x97, 0xd9, 0x85, 0xf2, 0xe5, 0xc3, 0x27, 0x53, 0xa5, 0xcf, 0x67, 0xa7,
  4661. 0x7b, 0x7e, 0x12, 0x8d, 0xa6, 0xc9, 0x34, 0x19, 0x11, 0xef, 0x74, 0x76, 0x46, 0x23, 0x1a, 0x90,
  4662. 0x64, 0xd6, 0x0f, 0xff, 0xde, 0x84, 0xde, 0xa1, 0xd0, 0x72, 0x9a, 0x64, 0x73, 0xf6, 0x18, 0x9a,
  4663. 0x2a, 0x70, 0x1b, 0x3b, 0x8d, 0xdd, 0xd6, 0x78, 0x63, 0x51, 0x78, 0xcd, 0xa3, 0x67, 0xcb, 0xc2,
  4664. 0x6b, 0xaa, 0x80, 0x37, 0x55, 0xc0, 0xbe, 0x80, 0x7e, 0x2a, 0x32, 0x19, 0xeb, 0x89, 0x0a, 0xdc,
  4665. 0x26, 0x91, 0x1e, 0x2c, 0x0a, 0xaf, 0xf7, 0x92, 0x40, 0xa2, 0x56, 0x04, 0xde, 0x33, 0xe2, 0x51,
  4666. 0xc0, 0x1e, 0x43, 0x3b, 0x16, 0x91, 0x74, 0x5b, 0x3b, 0x8d, 0xdd, 0xfe, 0xb8, 0xb7, 0x2c, 0x3c,
  4667. 0x1a, 0x73, 0x6a, 0xd9, 0x4f, 0xa1, 0x97, 0x26, 0xb9, 0xd2, 0x2a, 0x89, 0xdd, 0x36, 0x29, 0x75,
  4668. 0x96, 0x85, 0xd7, 0x78, 0xc2, 0x57, 0x30, 0x7b, 0x0e, 0x3d, 0xff, 0x5c, 0x85, 0x41, 0x26, 0x63,
  4669. 0xd7, 0xd9, 0x69, 0xed, 0x0e, 0xf6, 0x1f, 0xec, 0xbd, 0x77, 0xec, 0xbd, 0xf2, 0x0c, 0xe3, 0x7b,
  4670. 0xcb, 0xc2, 0x63, 0x25, 0xfd, 0x93, 0x24, 0x52, 0x5a, 0x46, 0xa9, 0x9e, 0xf3, 0x95, 0x0a, 0xf6,
  4671. 0x0c, 0xe0, 0x54, 0xc4, 0xb1, 0xcc, 0x26, 0xb3, 0x2c, 0x74, 0x3b, 0xb4, 0xab, 0x8f, 0x17, 0x85,
  4672. 0xd7, 0x1f, 0x13, 0xfa, 0x9a, 0x1f, 0x2f, 0x0b, 0xef, 0x4e, 0x45, 0xa9, 0x29, 0xe9, 0x1b, 0xf4,
  4673. 0x75, 0x16, 0x0e, 0xbf, 0x6d, 0x82, 0xf3, 0x4a, 0x0b, 0x9d, 0xe3, 0xf9, 0x2e, 0x94, 0xfc, 0xc6,
  4674. 0xda, 0x8d, 0xce, 0x87, 0x63, 0x4e, 0x2d, 0xdb, 0x85, 0xde, 0x99, 0xb8, 0x48, 0x32, 0xa5, 0xa5,
  4675. 0x35, 0xda, 0xc6, 0xb2, 0xf0, 0x56, 0x18, 0x5f, 0x49, 0xa8, 0x27, 0x54, 0x6f, 0x8c, 0x9d, 0xac,
  4676. 0x1e, 0x1c, 0x73, 0x6a, 0xd9, 0xc7, 0xd0, 0x0d, 0x54, 0x4e, 0x04, 0x63, 0xa6, 0xc1, 0xb2, 0xf0,
  4677. 0x4a, 0x88, 0x97, 0x02, 0xf3, 0xc0, 0xc9, 0x64, 0x1a, 0xce, 0x5d, 0x87, 0x48, 0xfd, 0x65, 0xe1,
  4678. 0x19, 0x80, 0x9b, 0x0e, 0x09, 0xf9, 0xb9, 0xc8, 0x24, 0x1d, 0xdc, 0x12, 0x08, 0xe0, 0xa6, 0xc3,
  4679. 0x6d, 0xf8, 0x89, 0x8a, 0xdd, 0x6e, 0xb5, 0x0d, 0x1c, 0x73, 0x6a, 0x69, 0x1b, 0xf3, 0x58, 0x44,
  4680. 0xca, 0x77, 0x7b, 0xb5, 0x6d, 0x18, 0x88, 0x97, 0xc2, 0xf0, 0x1f, 0x03, 0x68, 0x3f, 0x97, 0x5a,
  4681. 0x5c, 0x13, 0x52, 0x87, 0xd0, 0xf3, 0xad, 0xe3, 0xc8, 0x38, 0x1f, 0xf4, 0x2c, 0xd9, 0xad, 0xa4,
  4682. 0xf3, 0x95, 0xc4, 0x8e, 0x00, 0xac, 0xac, 0x64, 0xee, 0xb6, 0xae, 0x0b, 0x90, 0xcd, 0x65, 0xe1,
  4683. 0xd5, 0x16, 0xf0, 0x9a, 0x8c, 0xc6, 0xd1, 0x4a, 0x87, 0xc6, 0xc4, 0x7d, 0x63, 0x1c, 0x02, 0xb8,
  4684. 0xe9, 0xf0, 0xf8, 0xf9, 0x2c, 0x8a, 0x44, 0x66, 0x0c, 0xdc, 0x37, 0xc7, 0xb7, 0x10, 0x2f, 0x05,
  4685. 0xf6, 0x9b, 0x2b, 0x42, 0xec, 0xd1, 0xfb, 0x21, 0x56, 0xa3, 0xd4, 0x02, 0x8b, 0x3d, 0x85, 0x01,
  4686. 0x46, 0x5b, 0x28, 0xb4, 0xc4, 0x8b, 0x86, 0x6e, 0x70, 0xc6, 0x3f, 0x59, 0x14, 0x1e, 0x9c, 0x58,
  4687. 0x98, 0x4c, 0x58, 0x27, 0x71, 0x28, 0x07, 0x47, 0x01, 0x39, 0x58, 0x0b, 0x2d, 0xc9, 0x3f, 0x8e,
  4688. 0x75, 0x30, 0x02, 0xdc, 0x74, 0xec, 0xb7, 0xd0, 0x11, 0x33, 0x7d, 0x9e, 0x64, 0x6e, 0x9f, 0x4c,
  4689. 0x7e, 0x7f, 0xcd, 0x56, 0x07, 0x34, 0x3d, 0x86, 0x65, 0xe1, 0x59, 0x2a, 0xb7, 0x3d, 0x1a, 0x20,
  4690. 0x93, 0x69, 0xa6, 0x62, 0xed, 0x02, 0xe9, 0x27, 0x03, 0x58, 0x88, 0x97, 0x02, 0x1a, 0x40, 0x45,
  4691. 0x62, 0x2a, 0xf1, 0x70, 0xb9, 0x3b, 0xd8, 0x69, 0x95, 0x06, 0x38, 0x42, 0xf4, 0x35, 0x3f, 0xce,
  4692. 0xd1, 0x00, 0x15, 0x85, 0xf7, 0x49, 0x7e, 0x9d, 0x85, 0x39, 0xe3, 0xb0, 0x91, 0xce, 0x4e, 0x43,
  4693. 0x95, 0x9f, 0x4f, 0xb4, 0x8a, 0xa4, 0xbb, 0x41, 0xc1, 0x33, 0x5a, 0x16, 0xde, 0x25, 0xfc, 0xfb,
  4694. 0xc2, 0x7b, 0x34, 0x4d, 0x9e, 0xf8, 0x49, 0x14, 0x25, 0xf1, 0x28, 0x54, 0xa7, 0x99, 0xc8, 0xe6,
  4695. 0x23, 0x9c, 0xd9, 0x3b, 0x51, 0x91, 0xe4, 0x03, 0x4b, 0xc6, 0x01, 0x7b, 0x0a, 0x8e, 0x4f, 0xca,
  4696. 0x6e, 0x92, 0xb2, 0x5d, 0x34, 0x8a, 0xff, 0xdf, 0x68, 0x31, 0x2c, 0xf6, 0x07, 0x70, 0x22, 0x5a,
  4697. 0xbf, 0x49, 0xeb, 0xf7, 0x97, 0x85, 0xb7, 0x45, 0x40, 0x95, 0x1c, 0xae, 0xd5, 0x44, 0x7c, 0x76,
  4698. 0x60, 0xdc, 0x93, 0xbb, 0x5b, 0x64, 0xfc, 0x7b, 0x6b, 0xc6, 0xa7, 0xa4, 0x32, 0xfe, 0x08, 0x7f,
  4699. 0x81, 0x88, 0xb5, 0xf4, 0x63, 0x56, 0xb2, 0xdf, 0x41, 0x5b, 0x8b, 0x69, 0xee, 0xde, 0xa2, 0x50,
  4700. 0xbf, 0xb3, 0xa6, 0xe1, 0x44, 0x4c, 0xc7, 0x6c, 0x59, 0x78, 0x9b, 0xc8, 0xaa, 0x2d, 0xa7, 0x55,
  4701. 0xec, 0x57, 0x00, 0x42, 0xeb, 0x4c, 0x9d, 0xce, 0xb4, 0xcc, 0xdd, 0xdb, 0xe4, 0x44, 0x17, 0x33,
  4702. 0x5e, 0x85, 0xd6, 0xd6, 0xd4, 0xb8, 0xec, 0x13, 0xe8, 0x64, 0x52, 0xe4, 0x49, 0xec, 0x32, 0x8a,
  4703. 0xe8, 0x3b, 0xcb, 0xc2, 0xbb, 0x65, 0x90, 0xda, 0x0a, 0xcb, 0xc1, 0x38, 0xfc, 0x26, 0xc9, 0x82,
  4704. 0xdc, 0xfd, 0xa8, 0x4a, 0x34, 0x04, 0x70, 0xd3, 0xb1, 0x51, 0x95, 0x4a, 0xee, 0x90, 0xbe, 0xbb,
  4705. 0xcb, 0xc2, 0xbb, 0x6d, 0xa1, 0x9a, 0xc2, 0x92, 0xc5, 0x4e, 0xe0, 0x76, 0x92, 0xa9, 0xa9, 0x8a,
  4706. 0x27, 0xb5, 0xd8, 0xba, 0x4b, 0xb1, 0xb5, 0xbb, 0x28, 0xbc, 0xad, 0x17, 0x34, 0x59, 0x8f, 0xb0,
  4707. 0x75, 0x3e, 0xdf, 0x4a, 0x6a, 0x2c, 0x0c, 0xb7, 0xcf, 0x30, 0xed, 0xe6, 0xda, 0xbd, 0x47, 0xfe,
  4708. 0xb8, 0xbb, 0x66, 0xcd, 0x63, 0x95, 0xeb, 0x32, 0x1b, 0xe7, 0x9a, 0x53, 0xcb, 0x9e, 0x40, 0x47,
  4709. 0xe5, 0xc7, 0x98, 0x8c, 0xef, 0xef, 0x34, 0x76, 0x7b, 0xe3, 0xbb, 0x8b, 0xc2, 0xeb, 0x1c, 0x11,
  4710. 0x82, 0xf7, 0x41, 0xe5, 0x13, 0x4a, 0xcb, 0x96, 0xc4, 0x7e, 0x0f, 0x4e, 0x24, 0x03, 0x25, 0x5c,
  4711. 0xf7, 0x07, 0x9c, 0xfe, 0x1c, 0x67, 0xc7, 0x6c, 0x51, 0x78, 0x0e, 0x89, 0x68, 0x2c, 0x5a, 0xc1,
  4712. 0x4d, 0x87, 0x17, 0x4a, 0xa4, 0x69, 0x38, 0x37, 0x57, 0xe2, 0x41, 0x95, 0x51, 0x0e, 0x10, 0xc5,
  4713. 0x00, 0xc3, 0x0b, 0x55, 0x51, 0x78, 0x5f, 0x94, 0x13, 0xb8, 0xd6, 0x3f, 0x97, 0xfe, 0x1b, 0xb3,
  4714. 0xf6, 0x61, 0xb5, 0xf6, 0x10, 0xd1, 0x72, 0x6d, 0x45, 0xe1, 0x7d, 0xbf, 0x9c, 0x18, 0xfe, 0xbb,
  4715. 0x09, 0x66, 0x47, 0x6c, 0x17, 0x9c, 0xdc, 0x4f, 0x32, 0x49, 0xc9, 0xdc, 0x31, 0x7b, 0x7d, 0x85,
  4716. 0x00, 0x25, 0x18, 0x14, 0xb8, 0xe9, 0xd8, 0x3e, 0xf4, 0x68, 0xd3, 0x55, 0x9d, 0x70, 0x7f, 0x51,
  4717. 0x78, 0x5d, 0x52, 0x43, 0xb9, 0x6b, 0x35, 0xcd, 0xbb, 0x24, 0x1d, 0x05, 0xa8, 0xdd, 0x64, 0x5e,
  4718. 0x53, 0x25, 0x90, 0xf6, 0x13, 0x04, 0xd6, 0x52, 0xf0, 0x2e, 0x38, 0x7e, 0x72, 0x21, 0x33, 0x9b,
  4719. 0xa3, 0x89, 0x79, 0x88, 0x00, 0xdd, 0x69, 0x14, 0xb8, 0xe9, 0xd8, 0xcf, 0xa0, 0x2d, 0x32, 0x29,
  4720. 0x6c, 0xa6, 0xbe, 0xb5, 0x28, 0xbc, 0xf6, 0x41, 0x26, 0xd1, 0xb6, 0x84, 0x73, 0x6a, 0xd9, 0x1e,
  4721. 0x74, 0xf5, 0x3c, 0xa5, 0x5c, 0xdb, 0xa1, 0x93, 0x91, 0x2f, 0x4f, 0xe6, 0xa9, 0xc9, 0xb3, 0xe5,
  4722. 0x24, 0xef, 0xa0, 0x70, 0x44, 0x65, 0x10, 0x41, 0x54, 0xd3, 0x74, 0x49, 0x35, 0x95, 0x41, 0xb8,
  4723. 0xe2, 0x2b, 0x41, 0xb6, 0xac, 0x08, 0xbc, 0xa7, 0x2d, 0xcc, 0x3e, 0x85, 0x6e, 0x9e, 0x26, 0x2a,
  4724. 0x94, 0x99, 0xcd, 0xcc, 0xf7, 0xd0, 0x28, 0xaf, 0x0c, 0x44, 0xaf, 0x88, 0x11, 0x79, 0x29, 0x0c,
  4725. 0x8f, 0x61, 0xf3, 0xc5, 0xd9, 0x99, 0xf2, 0x95, 0x08, 0xbf, 0x96, 0x99, 0x3a, 0xc3, 0x02, 0xad,
  4726. 0x8d, 0xfa, 0xea, 0xa5, 0x06, 0x8e, 0x39, 0xb5, 0x38, 0x1b, 0xc8, 0xdc, 0x27, 0x9b, 0xdb, 0x42,
  4727. 0x0b, 0xc7, 0x9c, 0xda, 0xe1, 0x5f, 0x5a, 0xd0, 0x31, 0x89, 0x9d, 0x3d, 0x80, 0x56, 0xb4, 0x7a,
  4728. 0x95, 0xbb, 0xcb, 0xc2, 0xc3, 0x21, 0xc7, 0x66, 0x55, 0xac, 0x35, 0xaf, 0x2c, 0xd6, 0x1e, 0x43,
  4729. 0x1b, 0x8b, 0xd3, 0x7a, 0x29, 0x87, 0x63, 0x4e, 0x2d, 0x3b, 0x84, 0x6e, 0x2a, 0xe3, 0x40, 0xc4,
  4730. 0x9a, 0x7c, 0x33, 0xd8, 0x77, 0xd7, 0xe2, 0xfc, 0xa5, 0x99, 0x1f, 0x6f, 0xbd, 0x2d, 0xbc, 0x1b,
  4731. 0x78, 0x68, 0xbb, 0x80, 0x97, 0x02, 0x13, 0xb0, 0x95, 0xd8, 0x43, 0x4f, 0x2e, 0xe8, 0xd4, 0xe4,
  4732. 0xbf, 0xc1, 0xbe, 0xb7, 0xa6, 0xec, 0xb2, 0x71, 0xc6, 0xf7, 0xad, 0xce, 0xf7, 0xd7, 0xf3, 0xcd,
  4733. 0xe4, 0xb2, 0x15, 0xbf, 0x84, 0x3e, 0x9e, 0x86, 0x1e, 0x4c, 0xf2, 0xf9, 0x60, 0xff, 0xe1, 0x9a,
  4734. 0xf2, 0xaf, 0x4a, 0xc6, 0xf8, 0xb6, 0xd5, 0x5b, 0x2d, 0xe2, 0x95, 0xc8, 0x7e, 0x09, 0xad, 0x0b,
  4735. 0x95, 0x52, 0x20, 0x5c, 0x75, 0xe0, 0xaf, 0x55, 0x7a, 0x14, 0x9f, 0x25, 0xe3, 0x81, 0x55, 0x82,
  4736. 0x64, 0x8e, 0xcd, 0xf0, 0x6f, 0x0d, 0xe8, 0xda, 0xd9, 0x4b, 0x7e, 0x75, 0xd6, 0xfc, 0x3a, 0x84,
  4737. 0x0e, 0x26, 0xfe, 0x59, 0x4e, 0x5e, 0x71, 0xcc, 0xbb, 0x6c, 0x10, 0x6e, 0x7b, 0xf6, 0x73, 0xe8,
  4738. 0x05, 0x33, 0x39, 0x09, 0xf0, 0x48, 0xad, 0xaa, 0xcc, 0x2c, 0x31, 0xde, 0x0d, 0x66, 0xf2, 0x19,
  4739. 0xee, 0x77, 0x1f, 0x36, 0x2e, 0x54, 0x3a, 0x49, 0xc5, 0x7c, 0x42, 0x3f, 0xd9, 0x26, 0x95, 0xb7,
  4740. 0xf0, 0x75, 0xad, 0xe3, 0x1c, 0x2e, 0x54, 0xfa, 0x52, 0xcc, 0x31, 0xaa, 0x87, 0xff, 0x6a, 0x40,
  4741. 0x7f, 0x65, 0x0f, 0xb6, 0x03, 0xad, 0xd8, 0x46, 0x8f, 0x43, 0xd5, 0x14, 0x0e, 0xbf, 0x2f, 0xbc,
  4742. 0x16, 0x56, 0x00, 0x28, 0x5f, 0x13, 0x44, 0x1e, 0x38, 0x94, 0x8f, 0x6d, 0x14, 0xd1, 0xc3, 0x40,
  4743. 0x00, 0x37, 0x1d, 0xfb, 0x14, 0x06, 0x26, 0x61, 0xe7, 0x91, 0x08, 0x43, 0x7b, 0xcf, 0xb7, 0xb0,
  4744. 0xe6, 0xa9, 0xc1, 0xdc, 0x54, 0x0f, 0xaf, 0x50, 0x46, 0x95, 0xa1, 0xbc, 0x90, 0xa1, 0xbd, 0xea,
  4745. 0xa4, 0x92, 0x00, 0x6e, 0x3a, 0xf6, 0x0b, 0xe8, 0xfb, 0x49, 0x1c, 0x98, 0xcf, 0x0c, 0x53, 0x8f,
  4746. 0xdd, 0x44, 0x97, 0xae, 0x40, 0x5e, 0x89, 0xc3, 0x3f, 0x37, 0xa0, 0x6b, 0x03, 0x15, 0xaf, 0x4a,
  4747. 0xba, 0x3a, 0x2c, 0x5d, 0x95, 0x14, 0xaf, 0x4a, 0xfa, 0xff, 0x9f, 0x72, 0x08, 0x1d, 0xf9, 0xa7,
  4748. 0x54, 0x65, 0xa5, 0x0b, 0xc8, 0xab, 0x06, 0xe1, 0xb6, 0x1f, 0x3e, 0x85, 0xd6, 0x89, 0x98, 0xe2,
  4749. 0x26, 0xf4, 0xe5, 0xfb, 0xaa, 0x71, 0x13, 0xfa, 0xba, 0x4d, 0x0c, 0xff, 0xda, 0x80, 0xee, 0x81,
  4750. 0x89, 0x48, 0x7c, 0xe7, 0x22, 0xa9, 0x05, 0x69, 0xb9, 0xea, 0x9d, 0xc3, 0x72, 0x7d, 0xdc, 0x7b,
  4751. 0x57, 0x78, 0x8d, 0x65, 0xe1, 0xdd, 0xe0, 0x44, 0xc6, 0x37, 0xda, 0x4f, 0x62, 0x2d, 0x63, 0x6d,
  4752. 0x7f, 0x81, 0xde, 0x68, 0x0b, 0xd5, 0xdf, 0x68, 0x0b, 0xb1, 0xcf, 0xa1, 0xf7, 0x46, 0xce, 0xcd,
  4753. 0xc3, 0x6f, 0x4e, 0xee, 0x62, 0x72, 0xfc, 0xd2, 0x62, 0x18, 0x93, 0xe5, 0x3c, 0x5f, 0x49, 0xc3,
  4754. 0x6f, 0xdb, 0xd0, 0xc6, 0x77, 0xf6, 0x9a, 0xcf, 0x05, 0x9b, 0xb7, 0x9a, 0x1f, 0xc8, 0x5b, 0x57,
  4755. 0x7f, 0x64, 0x7e, 0x01, 0xfd, 0x55, 0x09, 0x60, 0xe3, 0x89, 0x72, 0x76, 0x59, 0x2b, 0x60, 0x28,
  4756. 0xac, 0x08, 0xbc, 0x57, 0xd6, 0xa2, 0xec, 0x05, 0x0c, 0x66, 0x29, 0xde, 0x1f, 0xf3, 0x74, 0x9a,
  4757. 0x6f, 0xaa, 0x3d, 0x8c, 0xc4, 0x1a, 0x7c, 0x5d, 0xe1, 0x07, 0x86, 0x7b, 0xb9, 0x0e, 0xed, 0xfc,
  4758. 0x6f, 0x75, 0xe8, 0xfb, 0xb5, 0x71, 0xf7, 0x47, 0xa8, 0x8d, 0x6b, 0xdf, 0x34, 0xbd, 0x0f, 0x7c,
  4759. 0xd3, 0xac, 0xea, 0xb9, 0xfe, 0x0f, 0xd4, 0x73, 0x8f, 0xa1, 0x9d, 0x49, 0x11, 0xd0, 0x77, 0x81,
  4760. 0x7d, 0x9c, 0x70, 0xcc, 0xa9, 0x65, 0xbf, 0x86, 0x4d, 0x1b, 0x71, 0xf9, 0xc4, 0x4f, 0x66, 0xb1,
  4761. 0x76, 0x07, 0xc4, 0xa3, 0x42, 0xf5, 0xf2, 0x0c, 0xbf, 0x59, 0x8e, 0x0f, 0x71, 0x38, 0x7e, 0xf4,
  4762. 0xf6, 0xbb, 0xed, 0x1b, 0xef, 0xbe, 0xdb, 0xbe, 0xf1, 0x76, 0xb1, 0xdd, 0x78, 0xb7, 0xd8, 0x6e,
  4763. 0xfc, 0x73, 0xb1, 0xdd, 0xf8, 0xa3, 0x43, 0x7f, 0x83, 0x9c, 0x76, 0xe8, 0x7f, 0x8c, 0xcf, 0xfe,
  4764. 0x13, 0x00, 0x00, 0xff, 0xff, 0x88, 0x8d, 0x24, 0xd0, 0x3f, 0x11, 0x00, 0x00,
  4765. }