123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: app/service/main/ugcpay/api/grpc/v1/api.proto
- /*
- Package v1 is a generated protocol buffer package.
- It is generated from these files:
- app/service/main/ugcpay/api/grpc/v1/api.proto
- It has these top-level messages:
- EmptyStruct
- AssetRegisterReq
- AssetQueryReq
- AssetQueryResp
- AssetRelationReq
- AssetRelationResp
- AssetRelationDetailReq
- AssetRelationDetailResp
- TradeCreateReq
- TradeCreateResp
- TradeOrderReq
- TradeOrderResp
- IncomeUserAssetOverviewReq
- IncomeUserAssetOverviewResp
- IncomeUserAssetListReq
- IncomeUserAssetListResp
- IncomeUserAsset
- Page
- */
- package v1
- import proto "github.com/gogo/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/gogo/protobuf/gogoproto"
- import context "golang.org/x/net/context"
- import grpc "google.golang.org/grpc"
- import io "io"
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
- // EmptyStruct,填充返回值
- type EmptyStruct struct {
- }
- func (m *EmptyStruct) Reset() { *m = EmptyStruct{} }
- func (m *EmptyStruct) String() string { return proto.CompactTextString(m) }
- func (*EmptyStruct) ProtoMessage() {}
- func (*EmptyStruct) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{0} }
- type AssetRegisterReq struct {
- Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
- // oid 内容ID
- Oid int64 `protobuf:"varint,2,opt,name=oid,proto3" json:"oid,omitempty"`
- // otype 内容类型
- Otype string `protobuf:"bytes,3,opt,name=otype,proto3" json:"otype,omitempty"`
- // currency 货币类型
- Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`
- // price 注册价格(分)
- Price int64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
- }
- func (m *AssetRegisterReq) Reset() { *m = AssetRegisterReq{} }
- func (m *AssetRegisterReq) String() string { return proto.CompactTextString(m) }
- func (*AssetRegisterReq) ProtoMessage() {}
- func (*AssetRegisterReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{1} }
- func (m *AssetRegisterReq) GetMid() int64 {
- if m != nil {
- return m.Mid
- }
- return 0
- }
- func (m *AssetRegisterReq) GetOid() int64 {
- if m != nil {
- return m.Oid
- }
- return 0
- }
- func (m *AssetRegisterReq) GetOtype() string {
- if m != nil {
- return m.Otype
- }
- return ""
- }
- func (m *AssetRegisterReq) GetCurrency() string {
- if m != nil {
- return m.Currency
- }
- return ""
- }
- func (m *AssetRegisterReq) GetPrice() int64 {
- if m != nil {
- return m.Price
- }
- return 0
- }
- type AssetQueryReq struct {
- // oid 内容ID
- Oid int64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"`
- // otype 内容类型
- Otype string `protobuf:"bytes,2,opt,name=otype,proto3" json:"otype,omitempty"`
- // currency 货币类型
- Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"`
- }
- func (m *AssetQueryReq) Reset() { *m = AssetQueryReq{} }
- func (m *AssetQueryReq) String() string { return proto.CompactTextString(m) }
- func (*AssetQueryReq) ProtoMessage() {}
- func (*AssetQueryReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{2} }
- func (m *AssetQueryReq) GetOid() int64 {
- if m != nil {
- return m.Oid
- }
- return 0
- }
- func (m *AssetQueryReq) GetOtype() string {
- if m != nil {
- return m.Otype
- }
- return ""
- }
- func (m *AssetQueryReq) GetCurrency() string {
- if m != nil {
- return m.Currency
- }
- return ""
- }
- type AssetQueryResp struct {
- // price 内容注册价格(分)
- Price int64 `protobuf:"varint,1,opt,name=price,proto3" json:"price,omitempty"`
- // platform_price 平台价格(分)
- PlatformPrice map[string]int64 `protobuf:"bytes,2,rep,name=platform_price,json=platformPrice" json:"platform_price,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- }
- func (m *AssetQueryResp) Reset() { *m = AssetQueryResp{} }
- func (m *AssetQueryResp) String() string { return proto.CompactTextString(m) }
- func (*AssetQueryResp) ProtoMessage() {}
- func (*AssetQueryResp) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{3} }
- func (m *AssetQueryResp) GetPrice() int64 {
- if m != nil {
- return m.Price
- }
- return 0
- }
- func (m *AssetQueryResp) GetPlatformPrice() map[string]int64 {
- if m != nil {
- return m.PlatformPrice
- }
- return nil
- }
- type AssetRelationReq struct {
- Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
- // oid 内容ID
- Oid int64 `protobuf:"varint,2,opt,name=oid,proto3" json:"oid,omitempty"`
- // otype 内容类型
- Otype string `protobuf:"bytes,3,opt,name=otype,proto3" json:"otype,omitempty"`
- }
- func (m *AssetRelationReq) Reset() { *m = AssetRelationReq{} }
- func (m *AssetRelationReq) String() string { return proto.CompactTextString(m) }
- func (*AssetRelationReq) ProtoMessage() {}
- func (*AssetRelationReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{4} }
- func (m *AssetRelationReq) GetMid() int64 {
- if m != nil {
- return m.Mid
- }
- return 0
- }
- func (m *AssetRelationReq) GetOid() int64 {
- if m != nil {
- return m.Oid
- }
- return 0
- }
- func (m *AssetRelationReq) GetOtype() string {
- if m != nil {
- return m.Otype
- }
- return ""
- }
- type AssetRelationResp struct {
- // state 关系状态
- State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
- }
- func (m *AssetRelationResp) Reset() { *m = AssetRelationResp{} }
- func (m *AssetRelationResp) String() string { return proto.CompactTextString(m) }
- func (*AssetRelationResp) ProtoMessage() {}
- func (*AssetRelationResp) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{5} }
- func (m *AssetRelationResp) GetState() string {
- if m != nil {
- return m.State
- }
- return ""
- }
- type AssetRelationDetailReq struct {
- Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
- // oid 内容ID
- Oid int64 `protobuf:"varint,2,opt,name=oid,proto3" json:"oid,omitempty"`
- // otype 内容类型
- Otype string `protobuf:"bytes,3,opt,name=otype,proto3" json:"otype,omitempty"`
- // currency 货币类型
- Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"`
- }
- func (m *AssetRelationDetailReq) Reset() { *m = AssetRelationDetailReq{} }
- func (m *AssetRelationDetailReq) String() string { return proto.CompactTextString(m) }
- func (*AssetRelationDetailReq) ProtoMessage() {}
- func (*AssetRelationDetailReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{6} }
- func (m *AssetRelationDetailReq) GetMid() int64 {
- if m != nil {
- return m.Mid
- }
- return 0
- }
- func (m *AssetRelationDetailReq) GetOid() int64 {
- if m != nil {
- return m.Oid
- }
- return 0
- }
- func (m *AssetRelationDetailReq) GetOtype() string {
- if m != nil {
- return m.Otype
- }
- return ""
- }
- func (m *AssetRelationDetailReq) GetCurrency() string {
- if m != nil {
- return m.Currency
- }
- return ""
- }
- type AssetRelationDetailResp struct {
- // relation_state 关系状态
- RelationState string `protobuf:"bytes,1,opt,name=relation_state,json=relationState,proto3" json:"relation_state,omitempty"`
- // asset_price 内容注册价格(分)
- AssetPrice int64 `protobuf:"varint,2,opt,name=asset_price,json=assetPrice,proto3" json:"asset_price,omitempty"`
- // asset_platform_price 平台价格(分)
- AssetPlatformPrice map[string]int64 `protobuf:"bytes,3,rep,name=asset_platform_price,json=assetPlatformPrice" json:"asset_platform_price,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- }
- func (m *AssetRelationDetailResp) Reset() { *m = AssetRelationDetailResp{} }
- func (m *AssetRelationDetailResp) String() string { return proto.CompactTextString(m) }
- func (*AssetRelationDetailResp) ProtoMessage() {}
- func (*AssetRelationDetailResp) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{7} }
- func (m *AssetRelationDetailResp) GetRelationState() string {
- if m != nil {
- return m.RelationState
- }
- return ""
- }
- func (m *AssetRelationDetailResp) GetAssetPrice() int64 {
- if m != nil {
- return m.AssetPrice
- }
- return 0
- }
- func (m *AssetRelationDetailResp) GetAssetPlatformPrice() map[string]int64 {
- if m != nil {
- return m.AssetPlatformPrice
- }
- return nil
- }
- type TradeCreateReq struct {
- // platform 支付平台
- Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
- Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
- // oid 内容ID
- Oid int64 `protobuf:"varint,3,opt,name=oid,proto3" json:"oid,omitempty"`
- // otype 内容类型
- Otype string `protobuf:"bytes,4,opt,name=otype,proto3" json:"otype,omitempty"`
- // currency 货币类型
- Currency string `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"`
- }
- func (m *TradeCreateReq) Reset() { *m = TradeCreateReq{} }
- func (m *TradeCreateReq) String() string { return proto.CompactTextString(m) }
- func (*TradeCreateReq) ProtoMessage() {}
- func (*TradeCreateReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{8} }
- func (m *TradeCreateReq) GetPlatform() string {
- if m != nil {
- return m.Platform
- }
- return ""
- }
- func (m *TradeCreateReq) GetMid() int64 {
- if m != nil {
- return m.Mid
- }
- return 0
- }
- func (m *TradeCreateReq) GetOid() int64 {
- if m != nil {
- return m.Oid
- }
- return 0
- }
- func (m *TradeCreateReq) GetOtype() string {
- if m != nil {
- return m.Otype
- }
- return ""
- }
- func (m *TradeCreateReq) GetCurrency() string {
- if m != nil {
- return m.Currency
- }
- return ""
- }
- type TradeCreateResp struct {
- // order_id 订单ID
- OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
- // pay_data 支付平台参数
- PayData string `protobuf:"bytes,2,opt,name=pay_data,json=payData,proto3" json:"pay_data,omitempty"`
- }
- func (m *TradeCreateResp) Reset() { *m = TradeCreateResp{} }
- func (m *TradeCreateResp) String() string { return proto.CompactTextString(m) }
- func (*TradeCreateResp) ProtoMessage() {}
- func (*TradeCreateResp) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{9} }
- func (m *TradeCreateResp) GetOrderId() string {
- if m != nil {
- return m.OrderId
- }
- return ""
- }
- func (m *TradeCreateResp) GetPayData() string {
- if m != nil {
- return m.PayData
- }
- return ""
- }
- type TradeOrderReq struct {
- // id 订单号
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- }
- func (m *TradeOrderReq) Reset() { *m = TradeOrderReq{} }
- func (m *TradeOrderReq) String() string { return proto.CompactTextString(m) }
- func (*TradeOrderReq) ProtoMessage() {}
- func (*TradeOrderReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{10} }
- func (m *TradeOrderReq) GetId() string {
- if m != nil {
- return m.Id
- }
- return ""
- }
- type TradeOrderResp struct {
- // order_id 订单号
- OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
- Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
- // biz 业务渠道
- Biz string `protobuf:"bytes,3,opt,name=biz,proto3" json:"biz,omitempty"`
- // platform 支付平台
- Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
- Oid int64 `protobuf:"varint,5,opt,name=oid,proto3" json:"oid,omitempty"`
- Otype string `protobuf:"bytes,6,opt,name=otype,proto3" json:"otype,omitempty"`
- // fee 支付费用
- Fee int64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"`
- // currency 货币类型
- Currency string `protobuf:"bytes,8,opt,name=currency,proto3" json:"currency,omitempty"`
- // pay_id 支付平台支付ID
- PayId string `protobuf:"bytes,9,opt,name=pay_id,json=payId,proto3" json:"pay_id,omitempty"`
- // state 订单状态
- State string `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty"`
- Reason string `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"`
- }
- func (m *TradeOrderResp) Reset() { *m = TradeOrderResp{} }
- func (m *TradeOrderResp) String() string { return proto.CompactTextString(m) }
- func (*TradeOrderResp) ProtoMessage() {}
- func (*TradeOrderResp) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{11} }
- func (m *TradeOrderResp) GetOrderId() string {
- if m != nil {
- return m.OrderId
- }
- return ""
- }
- func (m *TradeOrderResp) GetMid() int64 {
- if m != nil {
- return m.Mid
- }
- return 0
- }
- func (m *TradeOrderResp) GetBiz() string {
- if m != nil {
- return m.Biz
- }
- return ""
- }
- func (m *TradeOrderResp) GetPlatform() string {
- if m != nil {
- return m.Platform
- }
- return ""
- }
- func (m *TradeOrderResp) GetOid() int64 {
- if m != nil {
- return m.Oid
- }
- return 0
- }
- func (m *TradeOrderResp) GetOtype() string {
- if m != nil {
- return m.Otype
- }
- return ""
- }
- func (m *TradeOrderResp) GetFee() int64 {
- if m != nil {
- return m.Fee
- }
- return 0
- }
- func (m *TradeOrderResp) GetCurrency() string {
- if m != nil {
- return m.Currency
- }
- return ""
- }
- func (m *TradeOrderResp) GetPayId() string {
- if m != nil {
- return m.PayId
- }
- return ""
- }
- func (m *TradeOrderResp) GetState() string {
- if m != nil {
- return m.State
- }
- return ""
- }
- func (m *TradeOrderResp) GetReason() string {
- if m != nil {
- return m.Reason
- }
- return ""
- }
- type IncomeUserAssetOverviewReq struct {
- Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
- }
- func (m *IncomeUserAssetOverviewReq) Reset() { *m = IncomeUserAssetOverviewReq{} }
- func (m *IncomeUserAssetOverviewReq) String() string { return proto.CompactTextString(m) }
- func (*IncomeUserAssetOverviewReq) ProtoMessage() {}
- func (*IncomeUserAssetOverviewReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{12} }
- func (m *IncomeUserAssetOverviewReq) GetMid() int64 {
- if m != nil {
- return m.Mid
- }
- return 0
- }
- type IncomeUserAssetOverviewResp struct {
- // total 累计收入
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
- // total_buy_times 累计购买次数
- TotalBuyTimes int64 `protobuf:"varint,2,opt,name=total_buy_times,json=totalBuyTimes,proto3" json:"total_buy_times,omitempty"`
- // month_new 新增月收入(待结算)
- MonthNew int64 `protobuf:"varint,3,opt,name=month_new,json=monthNew,proto3" json:"month_new,omitempty"`
- // day_new 新增日收入(待结算)
- DayNew int64 `protobuf:"varint,4,opt,name=day_new,json=dayNew,proto3" json:"day_new,omitempty"`
- }
- func (m *IncomeUserAssetOverviewResp) Reset() { *m = IncomeUserAssetOverviewResp{} }
- func (m *IncomeUserAssetOverviewResp) String() string { return proto.CompactTextString(m) }
- func (*IncomeUserAssetOverviewResp) ProtoMessage() {}
- func (*IncomeUserAssetOverviewResp) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{13} }
- func (m *IncomeUserAssetOverviewResp) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *IncomeUserAssetOverviewResp) GetTotalBuyTimes() int64 {
- if m != nil {
- return m.TotalBuyTimes
- }
- return 0
- }
- func (m *IncomeUserAssetOverviewResp) GetMonthNew() int64 {
- if m != nil {
- return m.MonthNew
- }
- return 0
- }
- func (m *IncomeUserAssetOverviewResp) GetDayNew() int64 {
- if m != nil {
- return m.DayNew
- }
- return 0
- }
- type IncomeUserAssetListReq struct {
- Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
- // ver 月版本号,如:201809
- Ver int64 `protobuf:"varint,2,opt,name=ver,proto3" json:"ver,omitempty"`
- Ps int64 `protobuf:"varint,3,opt,name=ps,proto3" json:"ps,omitempty"`
- Pn int64 `protobuf:"varint,4,opt,name=pn,proto3" json:"pn,omitempty"`
- }
- func (m *IncomeUserAssetListReq) Reset() { *m = IncomeUserAssetListReq{} }
- func (m *IncomeUserAssetListReq) String() string { return proto.CompactTextString(m) }
- func (*IncomeUserAssetListReq) ProtoMessage() {}
- func (*IncomeUserAssetListReq) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{14} }
- func (m *IncomeUserAssetListReq) GetMid() int64 {
- if m != nil {
- return m.Mid
- }
- return 0
- }
- func (m *IncomeUserAssetListReq) GetVer() int64 {
- if m != nil {
- return m.Ver
- }
- return 0
- }
- func (m *IncomeUserAssetListReq) GetPs() int64 {
- if m != nil {
- return m.Ps
- }
- return 0
- }
- func (m *IncomeUserAssetListReq) GetPn() int64 {
- if m != nil {
- return m.Pn
- }
- return 0
- }
- type IncomeUserAssetListResp struct {
- // list 内容维度月收入信息
- List []*IncomeUserAsset `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
- Page *Page `protobuf:"bytes,2,opt,name=page" json:"page,omitempty"`
- }
- func (m *IncomeUserAssetListResp) Reset() { *m = IncomeUserAssetListResp{} }
- func (m *IncomeUserAssetListResp) String() string { return proto.CompactTextString(m) }
- func (*IncomeUserAssetListResp) ProtoMessage() {}
- func (*IncomeUserAssetListResp) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{15} }
- func (m *IncomeUserAssetListResp) GetList() []*IncomeUserAsset {
- if m != nil {
- return m.List
- }
- return nil
- }
- func (m *IncomeUserAssetListResp) GetPage() *Page {
- if m != nil {
- return m.Page
- }
- return nil
- }
- type IncomeUserAsset struct {
- Oid int64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"`
- Otype string `protobuf:"bytes,2,opt,name=otype,proto3" json:"otype,omitempty"`
- Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"`
- Price int64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"`
- TotalBuyTimes int64 `protobuf:"varint,5,opt,name=total_buy_times,json=totalBuyTimes,proto3" json:"total_buy_times,omitempty"`
- NewBuyTimes int64 `protobuf:"varint,6,opt,name=new_buy_times,json=newBuyTimes,proto3" json:"new_buy_times,omitempty"`
- TotalErrTimes int64 `protobuf:"varint,7,opt,name=total_err_times,json=totalErrTimes,proto3" json:"total_err_times,omitempty"`
- NewErrTimes int64 `protobuf:"varint,8,opt,name=new_err_times,json=newErrTimes,proto3" json:"new_err_times,omitempty"`
- }
- func (m *IncomeUserAsset) Reset() { *m = IncomeUserAsset{} }
- func (m *IncomeUserAsset) String() string { return proto.CompactTextString(m) }
- func (*IncomeUserAsset) ProtoMessage() {}
- func (*IncomeUserAsset) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{16} }
- func (m *IncomeUserAsset) GetOid() int64 {
- if m != nil {
- return m.Oid
- }
- return 0
- }
- func (m *IncomeUserAsset) GetOtype() string {
- if m != nil {
- return m.Otype
- }
- return ""
- }
- func (m *IncomeUserAsset) GetCurrency() string {
- if m != nil {
- return m.Currency
- }
- return ""
- }
- func (m *IncomeUserAsset) GetPrice() int64 {
- if m != nil {
- return m.Price
- }
- return 0
- }
- func (m *IncomeUserAsset) GetTotalBuyTimes() int64 {
- if m != nil {
- return m.TotalBuyTimes
- }
- return 0
- }
- func (m *IncomeUserAsset) GetNewBuyTimes() int64 {
- if m != nil {
- return m.NewBuyTimes
- }
- return 0
- }
- func (m *IncomeUserAsset) GetTotalErrTimes() int64 {
- if m != nil {
- return m.TotalErrTimes
- }
- return 0
- }
- func (m *IncomeUserAsset) GetNewErrTimes() int64 {
- if m != nil {
- return m.NewErrTimes
- }
- return 0
- }
- type Page struct {
- Num int64 `protobuf:"varint,1,opt,name=Num,proto3" json:"Num,omitempty"`
- Size_ int64 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"`
- Total int64 `protobuf:"varint,3,opt,name=Total,proto3" json:"Total,omitempty"`
- }
- func (m *Page) Reset() { *m = Page{} }
- func (m *Page) String() string { return proto.CompactTextString(m) }
- func (*Page) ProtoMessage() {}
- func (*Page) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{17} }
- func (m *Page) GetNum() int64 {
- if m != nil {
- return m.Num
- }
- return 0
- }
- func (m *Page) GetSize_() int64 {
- if m != nil {
- return m.Size_
- }
- return 0
- }
- func (m *Page) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func init() {
- proto.RegisterType((*EmptyStruct)(nil), "ugcpay.service.v1.EmptyStruct")
- proto.RegisterType((*AssetRegisterReq)(nil), "ugcpay.service.v1.AssetRegisterReq")
- proto.RegisterType((*AssetQueryReq)(nil), "ugcpay.service.v1.AssetQueryReq")
- proto.RegisterType((*AssetQueryResp)(nil), "ugcpay.service.v1.AssetQueryResp")
- proto.RegisterType((*AssetRelationReq)(nil), "ugcpay.service.v1.AssetRelationReq")
- proto.RegisterType((*AssetRelationResp)(nil), "ugcpay.service.v1.AssetRelationResp")
- proto.RegisterType((*AssetRelationDetailReq)(nil), "ugcpay.service.v1.AssetRelationDetailReq")
- proto.RegisterType((*AssetRelationDetailResp)(nil), "ugcpay.service.v1.AssetRelationDetailResp")
- proto.RegisterType((*TradeCreateReq)(nil), "ugcpay.service.v1.TradeCreateReq")
- proto.RegisterType((*TradeCreateResp)(nil), "ugcpay.service.v1.TradeCreateResp")
- proto.RegisterType((*TradeOrderReq)(nil), "ugcpay.service.v1.TradeOrderReq")
- proto.RegisterType((*TradeOrderResp)(nil), "ugcpay.service.v1.TradeOrderResp")
- proto.RegisterType((*IncomeUserAssetOverviewReq)(nil), "ugcpay.service.v1.IncomeUserAssetOverviewReq")
- proto.RegisterType((*IncomeUserAssetOverviewResp)(nil), "ugcpay.service.v1.IncomeUserAssetOverviewResp")
- proto.RegisterType((*IncomeUserAssetListReq)(nil), "ugcpay.service.v1.IncomeUserAssetListReq")
- proto.RegisterType((*IncomeUserAssetListResp)(nil), "ugcpay.service.v1.IncomeUserAssetListResp")
- proto.RegisterType((*IncomeUserAsset)(nil), "ugcpay.service.v1.IncomeUserAsset")
- proto.RegisterType((*Page)(nil), "ugcpay.service.v1.Page")
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConn
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion4
- // Client API for UGCPay service
- type UGCPayClient interface {
- // AssetRegister 内容注册
- AssetRegister(ctx context.Context, in *AssetRegisterReq, opts ...grpc.CallOption) (*EmptyStruct, error)
- // AssetQuery 内容查询
- AssetQuery(ctx context.Context, in *AssetQueryReq, opts ...grpc.CallOption) (*AssetQueryResp, error)
- // AssetRelation 内容关系查询
- AssetRelation(ctx context.Context, in *AssetRelationReq, opts ...grpc.CallOption) (*AssetRelationResp, error)
- // AssetRelationDetail 内容关系详情
- AssetRelationDetail(ctx context.Context, in *AssetRelationDetailReq, opts ...grpc.CallOption) (*AssetRelationDetailResp, error)
- // TradeCreate 支付创建
- TradeCreate(ctx context.Context, in *TradeCreateReq, opts ...grpc.CallOption) (*TradeCreateResp, error)
- // TradeQuery 支付查询
- TradeQuery(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*TradeOrderResp, error)
- // TradeCancel 支付取消
- TradeCancel(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*EmptyStruct, error)
- // TradeConfirm 支付确认(请求支付平台)
- TradeConfirm(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*TradeOrderResp, error)
- // TradeRefund 支付退款(原路返回)
- TradeRefund(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*EmptyStruct, error)
- // IncomeUserAssetOverview 用户收入总览
- IncomeUserAssetOverview(ctx context.Context, in *IncomeUserAssetOverviewReq, opts ...grpc.CallOption) (*IncomeUserAssetOverviewResp, error)
- // IncomeUserAssetList 用户资产维度收入
- IncomeUserAssetList(ctx context.Context, in *IncomeUserAssetListReq, opts ...grpc.CallOption) (*IncomeUserAssetListResp, error)
- }
- type uGCPayClient struct {
- cc *grpc.ClientConn
- }
- func NewUGCPayClient(cc *grpc.ClientConn) UGCPayClient {
- return &uGCPayClient{cc}
- }
- func (c *uGCPayClient) AssetRegister(ctx context.Context, in *AssetRegisterReq, opts ...grpc.CallOption) (*EmptyStruct, error) {
- out := new(EmptyStruct)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/AssetRegister", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) AssetQuery(ctx context.Context, in *AssetQueryReq, opts ...grpc.CallOption) (*AssetQueryResp, error) {
- out := new(AssetQueryResp)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/AssetQuery", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) AssetRelation(ctx context.Context, in *AssetRelationReq, opts ...grpc.CallOption) (*AssetRelationResp, error) {
- out := new(AssetRelationResp)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/AssetRelation", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) AssetRelationDetail(ctx context.Context, in *AssetRelationDetailReq, opts ...grpc.CallOption) (*AssetRelationDetailResp, error) {
- out := new(AssetRelationDetailResp)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/AssetRelationDetail", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) TradeCreate(ctx context.Context, in *TradeCreateReq, opts ...grpc.CallOption) (*TradeCreateResp, error) {
- out := new(TradeCreateResp)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/TradeCreate", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) TradeQuery(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*TradeOrderResp, error) {
- out := new(TradeOrderResp)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/TradeQuery", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) TradeCancel(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*EmptyStruct, error) {
- out := new(EmptyStruct)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/TradeCancel", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) TradeConfirm(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*TradeOrderResp, error) {
- out := new(TradeOrderResp)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/TradeConfirm", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) TradeRefund(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*EmptyStruct, error) {
- out := new(EmptyStruct)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/TradeRefund", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) IncomeUserAssetOverview(ctx context.Context, in *IncomeUserAssetOverviewReq, opts ...grpc.CallOption) (*IncomeUserAssetOverviewResp, error) {
- out := new(IncomeUserAssetOverviewResp)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/IncomeUserAssetOverview", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *uGCPayClient) IncomeUserAssetList(ctx context.Context, in *IncomeUserAssetListReq, opts ...grpc.CallOption) (*IncomeUserAssetListResp, error) {
- out := new(IncomeUserAssetListResp)
- err := grpc.Invoke(ctx, "/ugcpay.service.v1.UGCPay/IncomeUserAssetList", in, out, c.cc, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // Server API for UGCPay service
- type UGCPayServer interface {
- // AssetRegister 内容注册
- AssetRegister(context.Context, *AssetRegisterReq) (*EmptyStruct, error)
- // AssetQuery 内容查询
- AssetQuery(context.Context, *AssetQueryReq) (*AssetQueryResp, error)
- // AssetRelation 内容关系查询
- AssetRelation(context.Context, *AssetRelationReq) (*AssetRelationResp, error)
- // AssetRelationDetail 内容关系详情
- AssetRelationDetail(context.Context, *AssetRelationDetailReq) (*AssetRelationDetailResp, error)
- // TradeCreate 支付创建
- TradeCreate(context.Context, *TradeCreateReq) (*TradeCreateResp, error)
- // TradeQuery 支付查询
- TradeQuery(context.Context, *TradeOrderReq) (*TradeOrderResp, error)
- // TradeCancel 支付取消
- TradeCancel(context.Context, *TradeOrderReq) (*EmptyStruct, error)
- // TradeConfirm 支付确认(请求支付平台)
- TradeConfirm(context.Context, *TradeOrderReq) (*TradeOrderResp, error)
- // TradeRefund 支付退款(原路返回)
- TradeRefund(context.Context, *TradeOrderReq) (*EmptyStruct, error)
- // IncomeUserAssetOverview 用户收入总览
- IncomeUserAssetOverview(context.Context, *IncomeUserAssetOverviewReq) (*IncomeUserAssetOverviewResp, error)
- // IncomeUserAssetList 用户资产维度收入
- IncomeUserAssetList(context.Context, *IncomeUserAssetListReq) (*IncomeUserAssetListResp, error)
- }
- func RegisterUGCPayServer(s *grpc.Server, srv UGCPayServer) {
- s.RegisterService(&_UGCPay_serviceDesc, srv)
- }
- func _UGCPay_AssetRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AssetRegisterReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).AssetRegister(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/AssetRegister",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).AssetRegister(ctx, req.(*AssetRegisterReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_AssetQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AssetQueryReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).AssetQuery(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/AssetQuery",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).AssetQuery(ctx, req.(*AssetQueryReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_AssetRelation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AssetRelationReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).AssetRelation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/AssetRelation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).AssetRelation(ctx, req.(*AssetRelationReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_AssetRelationDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AssetRelationDetailReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).AssetRelationDetail(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/AssetRelationDetail",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).AssetRelationDetail(ctx, req.(*AssetRelationDetailReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_TradeCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TradeCreateReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).TradeCreate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/TradeCreate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).TradeCreate(ctx, req.(*TradeCreateReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_TradeQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TradeOrderReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).TradeQuery(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/TradeQuery",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).TradeQuery(ctx, req.(*TradeOrderReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_TradeCancel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TradeOrderReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).TradeCancel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/TradeCancel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).TradeCancel(ctx, req.(*TradeOrderReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_TradeConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TradeOrderReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).TradeConfirm(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/TradeConfirm",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).TradeConfirm(ctx, req.(*TradeOrderReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_TradeRefund_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TradeOrderReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).TradeRefund(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/TradeRefund",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).TradeRefund(ctx, req.(*TradeOrderReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_IncomeUserAssetOverview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(IncomeUserAssetOverviewReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).IncomeUserAssetOverview(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/IncomeUserAssetOverview",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).IncomeUserAssetOverview(ctx, req.(*IncomeUserAssetOverviewReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _UGCPay_IncomeUserAssetList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(IncomeUserAssetListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(UGCPayServer).IncomeUserAssetList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/ugcpay.service.v1.UGCPay/IncomeUserAssetList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(UGCPayServer).IncomeUserAssetList(ctx, req.(*IncomeUserAssetListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _UGCPay_serviceDesc = grpc.ServiceDesc{
- ServiceName: "ugcpay.service.v1.UGCPay",
- HandlerType: (*UGCPayServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "AssetRegister",
- Handler: _UGCPay_AssetRegister_Handler,
- },
- {
- MethodName: "AssetQuery",
- Handler: _UGCPay_AssetQuery_Handler,
- },
- {
- MethodName: "AssetRelation",
- Handler: _UGCPay_AssetRelation_Handler,
- },
- {
- MethodName: "AssetRelationDetail",
- Handler: _UGCPay_AssetRelationDetail_Handler,
- },
- {
- MethodName: "TradeCreate",
- Handler: _UGCPay_TradeCreate_Handler,
- },
- {
- MethodName: "TradeQuery",
- Handler: _UGCPay_TradeQuery_Handler,
- },
- {
- MethodName: "TradeCancel",
- Handler: _UGCPay_TradeCancel_Handler,
- },
- {
- MethodName: "TradeConfirm",
- Handler: _UGCPay_TradeConfirm_Handler,
- },
- {
- MethodName: "TradeRefund",
- Handler: _UGCPay_TradeRefund_Handler,
- },
- {
- MethodName: "IncomeUserAssetOverview",
- Handler: _UGCPay_IncomeUserAssetOverview_Handler,
- },
- {
- MethodName: "IncomeUserAssetList",
- Handler: _UGCPay_IncomeUserAssetList_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "app/service/main/ugcpay/api/grpc/v1/api.proto",
- }
- func (m *EmptyStruct) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *EmptyStruct) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- return i, nil
- }
- func (m *AssetRegisterReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AssetRegisterReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Mid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Mid))
- }
- if m.Oid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Oid))
- }
- if len(m.Otype) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Otype)))
- i += copy(dAtA[i:], m.Otype)
- }
- if len(m.Currency) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Currency)))
- i += copy(dAtA[i:], m.Currency)
- }
- if m.Price != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Price))
- }
- return i, nil
- }
- func (m *AssetQueryReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AssetQueryReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Oid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Oid))
- }
- if len(m.Otype) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Otype)))
- i += copy(dAtA[i:], m.Otype)
- }
- if len(m.Currency) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Currency)))
- i += copy(dAtA[i:], m.Currency)
- }
- return i, nil
- }
- func (m *AssetQueryResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AssetQueryResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Price != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Price))
- }
- if len(m.PlatformPrice) > 0 {
- for k, _ := range m.PlatformPrice {
- dAtA[i] = 0x12
- i++
- v := m.PlatformPrice[k]
- mapSize := 1 + len(k) + sovApi(uint64(len(k))) + 1 + sovApi(uint64(v))
- i = encodeVarintApi(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(v))
- }
- }
- return i, nil
- }
- func (m *AssetRelationReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AssetRelationReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Mid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Mid))
- }
- if m.Oid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Oid))
- }
- if len(m.Otype) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Otype)))
- i += copy(dAtA[i:], m.Otype)
- }
- return i, nil
- }
- func (m *AssetRelationResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AssetRelationResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.State) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.State)))
- i += copy(dAtA[i:], m.State)
- }
- return i, nil
- }
- func (m *AssetRelationDetailReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AssetRelationDetailReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Mid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Mid))
- }
- if m.Oid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Oid))
- }
- if len(m.Otype) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Otype)))
- i += copy(dAtA[i:], m.Otype)
- }
- if len(m.Currency) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Currency)))
- i += copy(dAtA[i:], m.Currency)
- }
- return i, nil
- }
- func (m *AssetRelationDetailResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AssetRelationDetailResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.RelationState) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.RelationState)))
- i += copy(dAtA[i:], m.RelationState)
- }
- if m.AssetPrice != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.AssetPrice))
- }
- if len(m.AssetPlatformPrice) > 0 {
- for k, _ := range m.AssetPlatformPrice {
- dAtA[i] = 0x1a
- i++
- v := m.AssetPlatformPrice[k]
- mapSize := 1 + len(k) + sovApi(uint64(len(k))) + 1 + sovApi(uint64(v))
- i = encodeVarintApi(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(v))
- }
- }
- return i, nil
- }
- func (m *TradeCreateReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *TradeCreateReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Platform) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.Mid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Mid))
- }
- if m.Oid != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Oid))
- }
- if len(m.Otype) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Otype)))
- i += copy(dAtA[i:], m.Otype)
- }
- if len(m.Currency) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Currency)))
- i += copy(dAtA[i:], m.Currency)
- }
- return i, nil
- }
- func (m *TradeCreateResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *TradeCreateResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.OrderId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.OrderId)))
- i += copy(dAtA[i:], m.OrderId)
- }
- if len(m.PayData) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.PayData)))
- i += copy(dAtA[i:], m.PayData)
- }
- return i, nil
- }
- func (m *TradeOrderReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *TradeOrderReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Id) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Id)))
- i += copy(dAtA[i:], m.Id)
- }
- return i, nil
- }
- func (m *TradeOrderResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *TradeOrderResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.OrderId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.OrderId)))
- i += copy(dAtA[i:], m.OrderId)
- }
- if m.Mid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Mid))
- }
- if len(m.Biz) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Biz)))
- i += copy(dAtA[i:], m.Biz)
- }
- if len(m.Platform) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.Oid != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Oid))
- }
- if len(m.Otype) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Otype)))
- i += copy(dAtA[i:], m.Otype)
- }
- if m.Fee != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Fee))
- }
- if len(m.Currency) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Currency)))
- i += copy(dAtA[i:], m.Currency)
- }
- if len(m.PayId) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.PayId)))
- i += copy(dAtA[i:], m.PayId)
- }
- if len(m.State) > 0 {
- dAtA[i] = 0x52
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.State)))
- i += copy(dAtA[i:], m.State)
- }
- if len(m.Reason) > 0 {
- dAtA[i] = 0x5a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Reason)))
- i += copy(dAtA[i:], m.Reason)
- }
- return i, nil
- }
- func (m *IncomeUserAssetOverviewReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *IncomeUserAssetOverviewReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Mid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Mid))
- }
- return i, nil
- }
- func (m *IncomeUserAssetOverviewResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *IncomeUserAssetOverviewResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Total != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Total))
- }
- if m.TotalBuyTimes != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.TotalBuyTimes))
- }
- if m.MonthNew != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.MonthNew))
- }
- if m.DayNew != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.DayNew))
- }
- return i, nil
- }
- func (m *IncomeUserAssetListReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *IncomeUserAssetListReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Mid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Mid))
- }
- if m.Ver != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Ver))
- }
- if m.Ps != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Ps))
- }
- if m.Pn != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Pn))
- }
- return i, nil
- }
- func (m *IncomeUserAssetListResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *IncomeUserAssetListResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.List) > 0 {
- for _, msg := range m.List {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.Page != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Page.Size()))
- n1, err := m.Page.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n1
- }
- return i, nil
- }
- func (m *IncomeUserAsset) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *IncomeUserAsset) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Oid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Oid))
- }
- if len(m.Otype) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Otype)))
- i += copy(dAtA[i:], m.Otype)
- }
- if len(m.Currency) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Currency)))
- i += copy(dAtA[i:], m.Currency)
- }
- if m.Price != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Price))
- }
- if m.TotalBuyTimes != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.TotalBuyTimes))
- }
- if m.NewBuyTimes != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.NewBuyTimes))
- }
- if m.TotalErrTimes != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.TotalErrTimes))
- }
- if m.NewErrTimes != 0 {
- dAtA[i] = 0x40
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.NewErrTimes))
- }
- return i, nil
- }
- func (m *Page) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *Page) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Num != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Num))
- }
- if m.Size_ != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Size_))
- }
- if m.Total != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Total))
- }
- return i, nil
- }
- func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
- }
- func (m *EmptyStruct) Size() (n int) {
- var l int
- _ = l
- return n
- }
- func (m *AssetRegisterReq) Size() (n int) {
- var l int
- _ = l
- if m.Mid != 0 {
- n += 1 + sovApi(uint64(m.Mid))
- }
- if m.Oid != 0 {
- n += 1 + sovApi(uint64(m.Oid))
- }
- l = len(m.Otype)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Currency)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Price != 0 {
- n += 1 + sovApi(uint64(m.Price))
- }
- return n
- }
- func (m *AssetQueryReq) Size() (n int) {
- var l int
- _ = l
- if m.Oid != 0 {
- n += 1 + sovApi(uint64(m.Oid))
- }
- l = len(m.Otype)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Currency)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *AssetQueryResp) Size() (n int) {
- var l int
- _ = l
- if m.Price != 0 {
- n += 1 + sovApi(uint64(m.Price))
- }
- if len(m.PlatformPrice) > 0 {
- for k, v := range m.PlatformPrice {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sovApi(uint64(len(k))) + 1 + sovApi(uint64(v))
- n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
- }
- }
- return n
- }
- func (m *AssetRelationReq) Size() (n int) {
- var l int
- _ = l
- if m.Mid != 0 {
- n += 1 + sovApi(uint64(m.Mid))
- }
- if m.Oid != 0 {
- n += 1 + sovApi(uint64(m.Oid))
- }
- l = len(m.Otype)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *AssetRelationResp) Size() (n int) {
- var l int
- _ = l
- l = len(m.State)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *AssetRelationDetailReq) Size() (n int) {
- var l int
- _ = l
- if m.Mid != 0 {
- n += 1 + sovApi(uint64(m.Mid))
- }
- if m.Oid != 0 {
- n += 1 + sovApi(uint64(m.Oid))
- }
- l = len(m.Otype)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Currency)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *AssetRelationDetailResp) Size() (n int) {
- var l int
- _ = l
- l = len(m.RelationState)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.AssetPrice != 0 {
- n += 1 + sovApi(uint64(m.AssetPrice))
- }
- if len(m.AssetPlatformPrice) > 0 {
- for k, v := range m.AssetPlatformPrice {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sovApi(uint64(len(k))) + 1 + sovApi(uint64(v))
- n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
- }
- }
- return n
- }
- func (m *TradeCreateReq) Size() (n int) {
- var l int
- _ = l
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Mid != 0 {
- n += 1 + sovApi(uint64(m.Mid))
- }
- if m.Oid != 0 {
- n += 1 + sovApi(uint64(m.Oid))
- }
- l = len(m.Otype)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Currency)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *TradeCreateResp) Size() (n int) {
- var l int
- _ = l
- l = len(m.OrderId)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.PayData)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *TradeOrderReq) Size() (n int) {
- var l int
- _ = l
- l = len(m.Id)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *TradeOrderResp) Size() (n int) {
- var l int
- _ = l
- l = len(m.OrderId)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Mid != 0 {
- n += 1 + sovApi(uint64(m.Mid))
- }
- l = len(m.Biz)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Oid != 0 {
- n += 1 + sovApi(uint64(m.Oid))
- }
- l = len(m.Otype)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Fee != 0 {
- n += 1 + sovApi(uint64(m.Fee))
- }
- l = len(m.Currency)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.PayId)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.State)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Reason)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *IncomeUserAssetOverviewReq) Size() (n int) {
- var l int
- _ = l
- if m.Mid != 0 {
- n += 1 + sovApi(uint64(m.Mid))
- }
- return n
- }
- func (m *IncomeUserAssetOverviewResp) Size() (n int) {
- var l int
- _ = l
- if m.Total != 0 {
- n += 1 + sovApi(uint64(m.Total))
- }
- if m.TotalBuyTimes != 0 {
- n += 1 + sovApi(uint64(m.TotalBuyTimes))
- }
- if m.MonthNew != 0 {
- n += 1 + sovApi(uint64(m.MonthNew))
- }
- if m.DayNew != 0 {
- n += 1 + sovApi(uint64(m.DayNew))
- }
- return n
- }
- func (m *IncomeUserAssetListReq) Size() (n int) {
- var l int
- _ = l
- if m.Mid != 0 {
- n += 1 + sovApi(uint64(m.Mid))
- }
- if m.Ver != 0 {
- n += 1 + sovApi(uint64(m.Ver))
- }
- if m.Ps != 0 {
- n += 1 + sovApi(uint64(m.Ps))
- }
- if m.Pn != 0 {
- n += 1 + sovApi(uint64(m.Pn))
- }
- return n
- }
- func (m *IncomeUserAssetListResp) Size() (n int) {
- var l int
- _ = l
- if len(m.List) > 0 {
- for _, e := range m.List {
- l = e.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- }
- if m.Page != nil {
- l = m.Page.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- return n
- }
- func (m *IncomeUserAsset) Size() (n int) {
- var l int
- _ = l
- if m.Oid != 0 {
- n += 1 + sovApi(uint64(m.Oid))
- }
- l = len(m.Otype)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Currency)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Price != 0 {
- n += 1 + sovApi(uint64(m.Price))
- }
- if m.TotalBuyTimes != 0 {
- n += 1 + sovApi(uint64(m.TotalBuyTimes))
- }
- if m.NewBuyTimes != 0 {
- n += 1 + sovApi(uint64(m.NewBuyTimes))
- }
- if m.TotalErrTimes != 0 {
- n += 1 + sovApi(uint64(m.TotalErrTimes))
- }
- if m.NewErrTimes != 0 {
- n += 1 + sovApi(uint64(m.NewErrTimes))
- }
- return n
- }
- func (m *Page) Size() (n int) {
- var l int
- _ = l
- if m.Num != 0 {
- n += 1 + sovApi(uint64(m.Num))
- }
- if m.Size_ != 0 {
- n += 1 + sovApi(uint64(m.Size_))
- }
- if m.Total != 0 {
- n += 1 + sovApi(uint64(m.Total))
- }
- return n
- }
- func sovApi(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozApi(x uint64) (n int) {
- return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *EmptyStruct) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: EmptyStruct: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: EmptyStruct: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AssetRegisterReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AssetRegisterReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AssetRegisterReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
- }
- m.Mid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Mid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
- }
- m.Oid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Oid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Otype = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Currency", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Currency = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
- }
- m.Price = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Price |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AssetQueryReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AssetQueryReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AssetQueryReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
- }
- m.Oid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Oid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Otype = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Currency", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Currency = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AssetQueryResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AssetQueryResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AssetQueryResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
- }
- m.Price = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Price |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PlatformPrice", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.PlatformPrice == nil {
- m.PlatformPrice = make(map[string]int64)
- }
- var mapkey string
- var mapvalue int64
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthApi
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapvalue |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.PlatformPrice[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AssetRelationReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AssetRelationReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AssetRelationReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
- }
- m.Mid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Mid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
- }
- m.Oid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Oid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Otype = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AssetRelationResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AssetRelationResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AssetRelationResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.State = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AssetRelationDetailReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AssetRelationDetailReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AssetRelationDetailReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
- }
- m.Mid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Mid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
- }
- m.Oid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Oid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Otype = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Currency", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Currency = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AssetRelationDetailResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AssetRelationDetailResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AssetRelationDetailResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RelationState", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.RelationState = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AssetPrice", wireType)
- }
- m.AssetPrice = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AssetPrice |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AssetPlatformPrice", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.AssetPlatformPrice == nil {
- m.AssetPlatformPrice = make(map[string]int64)
- }
- var mapkey string
- var mapvalue int64
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthApi
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapvalue |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.AssetPlatformPrice[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *TradeCreateReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TradeCreateReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TradeCreateReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
- }
- m.Mid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Mid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
- }
- m.Oid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Oid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Otype = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Currency", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Currency = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *TradeCreateResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TradeCreateResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TradeCreateResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PayData", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PayData = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *TradeOrderReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TradeOrderReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TradeOrderReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Id = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *TradeOrderResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TradeOrderResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TradeOrderResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
- }
- m.Mid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Mid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Biz", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Biz = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
- }
- m.Oid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Oid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Otype = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
- }
- m.Fee = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Fee |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Currency", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Currency = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PayId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PayId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 10:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.State = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Reason = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *IncomeUserAssetOverviewReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: IncomeUserAssetOverviewReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: IncomeUserAssetOverviewReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
- }
- m.Mid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Mid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *IncomeUserAssetOverviewResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: IncomeUserAssetOverviewResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: IncomeUserAssetOverviewResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
- }
- m.Total = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Total |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TotalBuyTimes", wireType)
- }
- m.TotalBuyTimes = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TotalBuyTimes |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field MonthNew", wireType)
- }
- m.MonthNew = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.MonthNew |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field DayNew", wireType)
- }
- m.DayNew = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.DayNew |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *IncomeUserAssetListReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: IncomeUserAssetListReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: IncomeUserAssetListReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
- }
- m.Mid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Mid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ver", wireType)
- }
- m.Ver = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Ver |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ps", wireType)
- }
- m.Ps = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Ps |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Pn", wireType)
- }
- m.Pn = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Pn |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *IncomeUserAssetListResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: IncomeUserAssetListResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: IncomeUserAssetListResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.List = append(m.List, &IncomeUserAsset{})
- if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Page == nil {
- m.Page = &Page{}
- }
- if err := m.Page.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *IncomeUserAsset) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: IncomeUserAsset: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: IncomeUserAsset: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
- }
- m.Oid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Oid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Otype = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Currency", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Currency = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
- }
- m.Price = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Price |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TotalBuyTimes", wireType)
- }
- m.TotalBuyTimes = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TotalBuyTimes |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field NewBuyTimes", wireType)
- }
- m.NewBuyTimes = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.NewBuyTimes |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TotalErrTimes", wireType)
- }
- m.TotalErrTimes = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TotalErrTimes |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field NewErrTimes", wireType)
- }
- m.NewErrTimes = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.NewErrTimes |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *Page) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Page: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Page: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType)
- }
- m.Size_ = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Size_ |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
- }
- m.Total = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Total |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipApi(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowApi
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowApi
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowApi
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- iNdEx += length
- if length < 0 {
- return 0, ErrInvalidLengthApi
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowApi
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipApi(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
- }
- var (
- ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
- )
- func init() { proto.RegisterFile("app/service/main/ugcpay/api/grpc/v1/api.proto", fileDescriptorApi) }
- var fileDescriptorApi = []byte{
- // 1075 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xdd, 0x6e, 0xdb, 0x36,
- 0x14, 0x86, 0x64, 0xc7, 0x71, 0x8e, 0x67, 0x37, 0xe5, 0xba, 0xc4, 0x53, 0x81, 0x34, 0xd5, 0x7e,
- 0x90, 0x6e, 0x88, 0x8d, 0x64, 0xc3, 0x30, 0xec, 0x6a, 0x4b, 0x1b, 0x14, 0x01, 0x8a, 0x24, 0x95,
- 0xdd, 0x9b, 0x6e, 0x80, 0x41, 0x4b, 0xb4, 0x2b, 0xcc, 0x92, 0x18, 0x8a, 0xb2, 0xa7, 0x5e, 0xf4,
- 0x62, 0x05, 0x76, 0xbf, 0x17, 0xd8, 0xdb, 0x0c, 0xd8, 0xe5, 0x1e, 0x61, 0xc8, 0x93, 0x0c, 0xa4,
- 0x28, 0x59, 0xb2, 0xe5, 0x3a, 0x43, 0xb3, 0x3b, 0x9e, 0xc3, 0x8f, 0xe7, 0xff, 0x47, 0x82, 0x43,
- 0x4c, 0x69, 0x37, 0x24, 0x6c, 0xea, 0xda, 0xa4, 0xeb, 0x61, 0xd7, 0xef, 0x46, 0x63, 0x9b, 0xe2,
- 0xb8, 0x8b, 0xa9, 0xdb, 0x1d, 0x33, 0x6a, 0x77, 0xa7, 0x47, 0xe2, 0xdc, 0xa1, 0x2c, 0xe0, 0x01,
- 0xba, 0x9b, 0xdc, 0x76, 0xd4, 0x8b, 0xce, 0xf4, 0xc8, 0x38, 0x1c, 0xbb, 0xfc, 0x55, 0x34, 0xec,
- 0xd8, 0x81, 0xd7, 0x1d, 0x07, 0xe3, 0xa0, 0x2b, 0x91, 0xc3, 0x68, 0x24, 0x29, 0x49, 0xc8, 0x53,
- 0x22, 0xc1, 0x6c, 0x42, 0xe3, 0xd4, 0xa3, 0x3c, 0xee, 0x71, 0x16, 0xd9, 0xdc, 0x7c, 0x03, 0xdb,
- 0x3f, 0x84, 0x21, 0xe1, 0x16, 0x19, 0xbb, 0x21, 0x27, 0xcc, 0x22, 0x57, 0x68, 0x1b, 0x2a, 0x9e,
- 0xeb, 0xb4, 0xb5, 0x7d, 0xed, 0xa0, 0x62, 0x89, 0xa3, 0xe0, 0x04, 0xae, 0xd3, 0xd6, 0x13, 0x4e,
- 0xe0, 0x3a, 0xe8, 0x1e, 0x6c, 0x04, 0x3c, 0xa6, 0xa4, 0x5d, 0xd9, 0xd7, 0x0e, 0xb6, 0xac, 0x84,
- 0x40, 0x06, 0xd4, 0xed, 0x88, 0x31, 0xe2, 0xdb, 0x71, 0xbb, 0x2a, 0x2f, 0x32, 0x5a, 0xbc, 0xa0,
- 0xcc, 0xb5, 0x49, 0x7b, 0x43, 0x4a, 0x49, 0x08, 0xb3, 0x07, 0x4d, 0xa9, 0xff, 0x79, 0x44, 0x58,
- 0xac, 0x94, 0x07, 0x73, 0xe5, 0x05, 0x55, 0xfa, 0x2a, 0x55, 0x95, 0xa2, 0x2a, 0xf3, 0x4f, 0x0d,
- 0x5a, 0x79, 0xa9, 0x21, 0x9d, 0x6b, 0xd7, 0x72, 0xda, 0xd1, 0x8f, 0xd0, 0xa2, 0x13, 0xcc, 0x47,
- 0x01, 0xf3, 0x06, 0xc9, 0xb5, 0xbe, 0x5f, 0x39, 0x68, 0x1c, 0x7f, 0xdd, 0x59, 0x8a, 0x73, 0xa7,
- 0x28, 0xb0, 0x73, 0xa9, 0xde, 0x5d, 0x8a, 0x67, 0xa7, 0x3e, 0x67, 0xb1, 0xd5, 0xa4, 0x79, 0x9e,
- 0xf1, 0x3d, 0xa0, 0x65, 0x90, 0xf0, 0xef, 0x67, 0x12, 0x4b, 0x33, 0xb6, 0x2c, 0x71, 0x14, 0xa6,
- 0x4d, 0xf1, 0x24, 0x22, 0x2a, 0xbc, 0x09, 0xf1, 0x9d, 0xfe, 0xad, 0x66, 0x3e, 0xcb, 0x92, 0x33,
- 0xc1, 0xdc, 0x0d, 0xfc, 0xf7, 0x4a, 0x8e, 0xf9, 0x08, 0xee, 0x2e, 0x48, 0x4b, 0xe2, 0x12, 0x72,
- 0xcc, 0x89, 0x32, 0x28, 0x21, 0x4c, 0x1f, 0x76, 0x0a, 0xd0, 0x27, 0x84, 0x63, 0x77, 0xf2, 0xbf,
- 0xd5, 0x86, 0xf9, 0x87, 0x0e, 0xbb, 0xa5, 0x0a, 0x43, 0x8a, 0x3e, 0x83, 0x16, 0x53, 0xdc, 0x41,
- 0xde, 0xd4, 0x66, 0xca, 0xed, 0x09, 0x26, 0x7a, 0x00, 0x0d, 0x2c, 0x24, 0x64, 0x79, 0x14, 0xe6,
- 0x80, 0x64, 0xc9, 0xe8, 0x23, 0x0e, 0xf7, 0x14, 0xa0, 0x98, 0xf1, 0x8a, 0xcc, 0xf8, 0xc9, 0xaa,
- 0x8c, 0x2f, 0x5b, 0x94, 0xf0, 0x4b, 0xf2, 0x8f, 0xf0, 0xd2, 0x85, 0x71, 0xaa, 0x1c, 0x7b, 0xcf,
- 0x4a, 0xf8, 0x55, 0x83, 0x56, 0x9f, 0x61, 0x87, 0x3c, 0x66, 0x04, 0x73, 0x22, 0x32, 0x61, 0x40,
- 0x3d, 0xf5, 0x44, 0xc9, 0xc8, 0xe8, 0x34, 0x4b, 0xfa, 0x52, 0x96, 0x2a, 0x25, 0x59, 0xaa, 0xae,
- 0xca, 0xd2, 0xc6, 0x42, 0x96, 0x9e, 0xc2, 0x9d, 0x82, 0x0d, 0x21, 0x45, 0x1f, 0x43, 0x3d, 0x60,
- 0x0e, 0x61, 0x03, 0x55, 0x13, 0x5b, 0xd6, 0xa6, 0xa4, 0xcf, 0x1c, 0x71, 0x45, 0x71, 0x3c, 0x70,
- 0x30, 0xc7, 0xaa, 0x73, 0x37, 0x29, 0x8e, 0x9f, 0x60, 0x8e, 0xcd, 0x07, 0xd0, 0x94, 0x82, 0x2e,
- 0x04, 0x54, 0xf8, 0xd2, 0x02, 0x3d, 0x13, 0xa0, 0xbb, 0x8e, 0xf9, 0x9b, 0xae, 0xdc, 0x55, 0x88,
- 0x77, 0x6b, 0x2a, 0xf5, 0x76, 0xe8, 0xbe, 0x56, 0xf5, 0x27, 0x8e, 0x85, 0x68, 0x55, 0x97, 0xa3,
- 0x25, 0x62, 0xb3, 0x51, 0x12, 0x9b, 0x5a, 0x3e, 0x36, 0xdb, 0x50, 0x19, 0x11, 0xd2, 0xde, 0x4c,
- 0x70, 0x23, 0x52, 0x8c, 0x56, 0x7d, 0x61, 0xde, 0x7d, 0x04, 0x35, 0xe1, 0xbf, 0xeb, 0xb4, 0xb7,
- 0x12, 0x21, 0x14, 0xc7, 0x67, 0xce, 0xbc, 0xe1, 0x20, 0xd7, 0x70, 0x68, 0x07, 0x6a, 0x8c, 0xe0,
- 0x30, 0xf0, 0xdb, 0x0d, 0xc9, 0x56, 0x94, 0xd9, 0x01, 0xe3, 0xcc, 0xb7, 0x03, 0x8f, 0xbc, 0x08,
- 0x09, 0x93, 0x85, 0x74, 0x31, 0x15, 0x05, 0x4a, 0x66, 0xa5, 0xcd, 0x68, 0xfe, 0xae, 0xc1, 0xfd,
- 0x95, 0x0f, 0x92, 0x76, 0xe7, 0x01, 0xc7, 0x93, 0x74, 0x0c, 0x4a, 0x02, 0x7d, 0x0e, 0x77, 0xe4,
- 0x61, 0x30, 0x8c, 0xe2, 0x01, 0x77, 0x3d, 0x12, 0xaa, 0x60, 0x36, 0x25, 0xfb, 0x24, 0x8a, 0xfb,
- 0x82, 0x89, 0xee, 0xc3, 0x96, 0x17, 0xf8, 0xfc, 0xd5, 0xc0, 0x27, 0x33, 0x55, 0x4a, 0x75, 0xc9,
- 0x38, 0x27, 0x33, 0xb4, 0x0b, 0x9b, 0x0e, 0x8e, 0xe5, 0x55, 0x55, 0x5e, 0xd5, 0x1c, 0x1c, 0x9f,
- 0x93, 0x99, 0xf9, 0x13, 0xec, 0x2c, 0x98, 0xf4, 0xcc, 0x0d, 0xf9, 0xca, 0x61, 0x32, 0x25, 0x2c,
- 0x4d, 0xe5, 0x94, 0x30, 0x51, 0x1a, 0x34, 0x54, 0xca, 0x74, 0x1a, 0x4a, 0xda, 0x57, 0x1a, 0x74,
- 0xea, 0x9b, 0x6f, 0x60, 0xb7, 0x54, 0x7a, 0x48, 0xd1, 0x37, 0x50, 0x9d, 0xb8, 0x21, 0x6f, 0x6b,
- 0xb2, 0xc3, 0xcd, 0x92, 0x0e, 0x5f, 0x78, 0x69, 0x49, 0x3c, 0xfa, 0x12, 0xaa, 0x14, 0x8f, 0x93,
- 0x2e, 0x6c, 0x1c, 0xef, 0x96, 0xbc, 0xbb, 0xc4, 0x63, 0x62, 0x49, 0x90, 0xf9, 0x56, 0x87, 0x3b,
- 0x0b, 0x62, 0x6e, 0x63, 0x87, 0xcd, 0x17, 0x56, 0x35, 0xbf, 0xb0, 0x4a, 0x32, 0xb5, 0x51, 0x96,
- 0x29, 0x13, 0x9a, 0x3e, 0x99, 0xe5, 0x50, 0x35, 0x89, 0x6a, 0xf8, 0x64, 0x96, 0x61, 0x32, 0x59,
- 0x84, 0x31, 0x85, 0xda, 0xcc, 0xc9, 0x3a, 0x65, 0xac, 0x20, 0x6b, 0x8e, 0xaa, 0x67, 0xb2, 0x52,
- 0x8c, 0x79, 0x02, 0x55, 0x11, 0x13, 0xe1, 0xf9, 0x79, 0xe4, 0xa5, 0x9e, 0x9f, 0x47, 0x1e, 0x42,
- 0x50, 0xed, 0xb9, 0xaf, 0xd3, 0x91, 0x26, 0xcf, 0xc2, 0xb7, 0xbe, 0xac, 0xc2, 0x24, 0xad, 0x09,
- 0x71, 0xfc, 0xb6, 0x0e, 0xb5, 0x17, 0x4f, 0x1f, 0x5f, 0xe2, 0x18, 0xf5, 0xd5, 0x57, 0x41, 0xfa,
- 0x55, 0x82, 0x3e, 0x59, 0x3d, 0x9e, 0xb3, 0xef, 0x16, 0x63, 0xaf, 0x04, 0x94, 0xfb, 0xd6, 0x41,
- 0xcf, 0x01, 0xe6, 0x4b, 0x1c, 0xed, 0xaf, 0xd9, 0xf1, 0x57, 0xc6, 0xc3, 0xb5, 0x5f, 0x01, 0xe8,
- 0x65, 0x66, 0x68, 0xb2, 0x25, 0xde, 0x65, 0x68, 0xb6, 0xc3, 0x8d, 0x4f, 0xd7, 0x83, 0x42, 0x8a,
- 0x26, 0xf0, 0x61, 0xc9, 0x06, 0x42, 0x8f, 0x6e, 0xba, 0xa9, 0xae, 0x8c, 0x2f, 0x6e, 0xbe, 0xd4,
- 0x50, 0x1f, 0x1a, 0xb9, 0xe1, 0x8e, 0xca, 0x7c, 0x2f, 0x2e, 0x20, 0xc3, 0x5c, 0x07, 0x09, 0xa9,
- 0x08, 0xb9, 0x64, 0xad, 0x0e, 0x79, 0x61, 0x11, 0x18, 0x0f, 0xd7, 0x20, 0x42, 0x8a, 0x2e, 0x52,
- 0x43, 0xb1, 0x6f, 0x93, 0xc9, 0x0d, 0x64, 0xae, 0x2b, 0x8b, 0x1e, 0x7c, 0x90, 0x08, 0x0c, 0xfc,
- 0x91, 0xcb, 0xbc, 0xdb, 0xb5, 0xd2, 0x22, 0xa3, 0xc8, 0x77, 0x6e, 0xc1, 0xca, 0x5f, 0x96, 0xe6,
- 0x5c, 0x3a, 0xd8, 0xd1, 0xe1, 0xfa, 0xc9, 0x96, 0xdb, 0x1a, 0x46, 0xe7, 0xbf, 0xc0, 0x93, 0x3a,
- 0x2c, 0x99, 0xb0, 0xa5, 0x75, 0x58, 0x3e, 0xe7, 0x4b, 0xeb, 0x70, 0xc5, 0xd0, 0x3e, 0xd9, 0xfe,
- 0xeb, 0x7a, 0x4f, 0xfb, 0xfb, 0x7a, 0x4f, 0xfb, 0xe7, 0x7a, 0x4f, 0x7b, 0xa9, 0x4f, 0x8f, 0x86,
- 0x35, 0xf9, 0xe3, 0xf2, 0xd5, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x78, 0xd0, 0x1b, 0xde, 0x2b,
- 0x0d, 0x00, 0x00,
- }
|