api.pb.go 86 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/bbq/recsys-recall/api/grpc/v1/api.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import proto1 "go-common/app/job/bbq/recall/proto"
  8. import _ "github.com/gogo/protobuf/gogoproto"
  9. import empty "github.com/golang/protobuf/ptypes/empty"
  10. import (
  11. context "golang.org/x/net/context"
  12. grpc "google.golang.org/grpc"
  13. )
  14. import encoding_binary "encoding/binary"
  15. import strings "strings"
  16. import reflect "reflect"
  17. import io "io"
  18. // Reference imports to suppress errors if they are not otherwise used.
  19. var _ = proto.Marshal
  20. var _ = fmt.Errorf
  21. var _ = math.Inf
  22. // This is a compile-time assertion to ensure that this generated file
  23. // is compatible with the proto package it is being compiled against.
  24. // A compilation error at this line likely means your copy of the
  25. // proto package needs to be updated.
  26. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  27. type RecallInfo struct {
  28. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag" form:"tag"`
  29. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
  30. Scorer string `protobuf:"bytes,3,opt,name=scorer,proto3" json:"scorer" form:"scorer"`
  31. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter" form:"filter"`
  32. Ranker string `protobuf:"bytes,5,opt,name=ranker,proto3" json:"ranker" form:"ranker"`
  33. Priority int32 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority" form:"priority"`
  34. Limit int32 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit" form:"limit"`
  35. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  36. XXX_unrecognized []byte `json:"-"`
  37. XXX_sizecache int32 `json:"-"`
  38. }
  39. func (m *RecallInfo) Reset() { *m = RecallInfo{} }
  40. func (*RecallInfo) ProtoMessage() {}
  41. func (*RecallInfo) Descriptor() ([]byte, []int) {
  42. return fileDescriptor_api_df8b3273faae6c47, []int{0}
  43. }
  44. func (m *RecallInfo) XXX_Unmarshal(b []byte) error {
  45. return m.Unmarshal(b)
  46. }
  47. func (m *RecallInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  48. if deterministic {
  49. return xxx_messageInfo_RecallInfo.Marshal(b, m, deterministic)
  50. } else {
  51. b = b[:cap(b)]
  52. n, err := m.MarshalTo(b)
  53. if err != nil {
  54. return nil, err
  55. }
  56. return b[:n], nil
  57. }
  58. }
  59. func (dst *RecallInfo) XXX_Merge(src proto.Message) {
  60. xxx_messageInfo_RecallInfo.Merge(dst, src)
  61. }
  62. func (m *RecallInfo) XXX_Size() int {
  63. return m.Size()
  64. }
  65. func (m *RecallInfo) XXX_DiscardUnknown() {
  66. xxx_messageInfo_RecallInfo.DiscardUnknown(m)
  67. }
  68. var xxx_messageInfo_RecallInfo proto.InternalMessageInfo
  69. type RecallRequest struct {
  70. MID int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid" form:"mid"`
  71. BUVID string `protobuf:"bytes,2,opt,name=buvid,proto3" json:"buvid" form:"buvid"`
  72. Infos []*RecallInfo `protobuf:"bytes,3,rep,name=info" json:"infos" form:"infos"`
  73. TotalLimit int32 `protobuf:"varint,4,opt,name=total_limit,json=totalLimit,proto3" json:"total_limit" form:"total_limit"`
  74. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  75. XXX_unrecognized []byte `json:"-"`
  76. XXX_sizecache int32 `json:"-"`
  77. }
  78. func (m *RecallRequest) Reset() { *m = RecallRequest{} }
  79. func (*RecallRequest) ProtoMessage() {}
  80. func (*RecallRequest) Descriptor() ([]byte, []int) {
  81. return fileDescriptor_api_df8b3273faae6c47, []int{1}
  82. }
  83. func (m *RecallRequest) XXX_Unmarshal(b []byte) error {
  84. return m.Unmarshal(b)
  85. }
  86. func (m *RecallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  87. if deterministic {
  88. return xxx_messageInfo_RecallRequest.Marshal(b, m, deterministic)
  89. } else {
  90. b = b[:cap(b)]
  91. n, err := m.MarshalTo(b)
  92. if err != nil {
  93. return nil, err
  94. }
  95. return b[:n], nil
  96. }
  97. }
  98. func (dst *RecallRequest) XXX_Merge(src proto.Message) {
  99. xxx_messageInfo_RecallRequest.Merge(dst, src)
  100. }
  101. func (m *RecallRequest) XXX_Size() int {
  102. return m.Size()
  103. }
  104. func (m *RecallRequest) XXX_DiscardUnknown() {
  105. xxx_messageInfo_RecallRequest.DiscardUnknown(m)
  106. }
  107. var xxx_messageInfo_RecallRequest proto.InternalMessageInfo
  108. type InvertedIndex struct {
  109. Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index" form:"index"`
  110. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
  111. Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score" form:"score"`
  112. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  113. XXX_unrecognized []byte `json:"-"`
  114. XXX_sizecache int32 `json:"-"`
  115. }
  116. func (m *InvertedIndex) Reset() { *m = InvertedIndex{} }
  117. func (*InvertedIndex) ProtoMessage() {}
  118. func (*InvertedIndex) Descriptor() ([]byte, []int) {
  119. return fileDescriptor_api_df8b3273faae6c47, []int{2}
  120. }
  121. func (m *InvertedIndex) XXX_Unmarshal(b []byte) error {
  122. return m.Unmarshal(b)
  123. }
  124. func (m *InvertedIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  125. if deterministic {
  126. return xxx_messageInfo_InvertedIndex.Marshal(b, m, deterministic)
  127. } else {
  128. b = b[:cap(b)]
  129. n, err := m.MarshalTo(b)
  130. if err != nil {
  131. return nil, err
  132. }
  133. return b[:n], nil
  134. }
  135. }
  136. func (dst *InvertedIndex) XXX_Merge(src proto.Message) {
  137. xxx_messageInfo_InvertedIndex.Merge(dst, src)
  138. }
  139. func (m *InvertedIndex) XXX_Size() int {
  140. return m.Size()
  141. }
  142. func (m *InvertedIndex) XXX_DiscardUnknown() {
  143. xxx_messageInfo_InvertedIndex.DiscardUnknown(m)
  144. }
  145. var xxx_messageInfo_InvertedIndex proto.InternalMessageInfo
  146. type Video struct {
  147. SVID int64 `protobuf:"varint,1,opt,name=svid,proto3" json:"svid" form:"svid"`
  148. Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score" form:"score"`
  149. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
  150. ForwardIndex *proto1.ForwardIndex `protobuf:"bytes,4,opt,name=forward_index,json=forwardIndex" json:"forward_index" form:"forward_index"`
  151. InvertedIndex string `protobuf:"bytes,5,opt,name=inverted_index,json=invertedIndex,proto3" json:"inverted_index" form:"inverted_index"`
  152. InvertedIndexes []*InvertedIndex `protobuf:"bytes,6,rep,name=indexes" json:"inverted_indexes" form:"inverted_indexes"`
  153. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  154. XXX_unrecognized []byte `json:"-"`
  155. XXX_sizecache int32 `json:"-"`
  156. }
  157. func (m *Video) Reset() { *m = Video{} }
  158. func (*Video) ProtoMessage() {}
  159. func (*Video) Descriptor() ([]byte, []int) {
  160. return fileDescriptor_api_df8b3273faae6c47, []int{3}
  161. }
  162. func (m *Video) XXX_Unmarshal(b []byte) error {
  163. return m.Unmarshal(b)
  164. }
  165. func (m *Video) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  166. if deterministic {
  167. return xxx_messageInfo_Video.Marshal(b, m, deterministic)
  168. } else {
  169. b = b[:cap(b)]
  170. n, err := m.MarshalTo(b)
  171. if err != nil {
  172. return nil, err
  173. }
  174. return b[:n], nil
  175. }
  176. }
  177. func (dst *Video) XXX_Merge(src proto.Message) {
  178. xxx_messageInfo_Video.Merge(dst, src)
  179. }
  180. func (m *Video) XXX_Size() int {
  181. return m.Size()
  182. }
  183. func (m *Video) XXX_DiscardUnknown() {
  184. xxx_messageInfo_Video.DiscardUnknown(m)
  185. }
  186. var xxx_messageInfo_Video proto.InternalMessageInfo
  187. type RecallSrc struct {
  188. TotalHit int32 `protobuf:"varint,1,opt,name=total_hit,json=totalHit,proto3" json:"total_hit" form:"total_hit"`
  189. Filter int32 `protobuf:"varint,2,opt,name=filter,proto3" json:"filter" form:"filter"`
  190. Final int32 `protobuf:"varint,3,opt,name=final,proto3" json:"final" form:"final"`
  191. Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag" form:"tag"`
  192. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name" form:"name"`
  193. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  194. XXX_unrecognized []byte `json:"-"`
  195. XXX_sizecache int32 `json:"-"`
  196. }
  197. func (m *RecallSrc) Reset() { *m = RecallSrc{} }
  198. func (*RecallSrc) ProtoMessage() {}
  199. func (*RecallSrc) Descriptor() ([]byte, []int) {
  200. return fileDescriptor_api_df8b3273faae6c47, []int{4}
  201. }
  202. func (m *RecallSrc) XXX_Unmarshal(b []byte) error {
  203. return m.Unmarshal(b)
  204. }
  205. func (m *RecallSrc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  206. if deterministic {
  207. return xxx_messageInfo_RecallSrc.Marshal(b, m, deterministic)
  208. } else {
  209. b = b[:cap(b)]
  210. n, err := m.MarshalTo(b)
  211. if err != nil {
  212. return nil, err
  213. }
  214. return b[:n], nil
  215. }
  216. }
  217. func (dst *RecallSrc) XXX_Merge(src proto.Message) {
  218. xxx_messageInfo_RecallSrc.Merge(dst, src)
  219. }
  220. func (m *RecallSrc) XXX_Size() int {
  221. return m.Size()
  222. }
  223. func (m *RecallSrc) XXX_DiscardUnknown() {
  224. xxx_messageInfo_RecallSrc.DiscardUnknown(m)
  225. }
  226. var xxx_messageInfo_RecallSrc proto.InternalMessageInfo
  227. type RecallResponse struct {
  228. Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total" form:"total"`
  229. List []*Video `protobuf:"bytes,2,rep,name=list" json:"list" form:"list"`
  230. SrcInfo []*RecallSrc `protobuf:"bytes,3,rep,name=src_info,json=srcInfo" json:"src_info" form:"src_info"`
  231. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  232. XXX_unrecognized []byte `json:"-"`
  233. XXX_sizecache int32 `json:"-"`
  234. }
  235. func (m *RecallResponse) Reset() { *m = RecallResponse{} }
  236. func (*RecallResponse) ProtoMessage() {}
  237. func (*RecallResponse) Descriptor() ([]byte, []int) {
  238. return fileDescriptor_api_df8b3273faae6c47, []int{5}
  239. }
  240. func (m *RecallResponse) XXX_Unmarshal(b []byte) error {
  241. return m.Unmarshal(b)
  242. }
  243. func (m *RecallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  244. if deterministic {
  245. return xxx_messageInfo_RecallResponse.Marshal(b, m, deterministic)
  246. } else {
  247. b = b[:cap(b)]
  248. n, err := m.MarshalTo(b)
  249. if err != nil {
  250. return nil, err
  251. }
  252. return b[:n], nil
  253. }
  254. }
  255. func (dst *RecallResponse) XXX_Merge(src proto.Message) {
  256. xxx_messageInfo_RecallResponse.Merge(dst, src)
  257. }
  258. func (m *RecallResponse) XXX_Size() int {
  259. return m.Size()
  260. }
  261. func (m *RecallResponse) XXX_DiscardUnknown() {
  262. xxx_messageInfo_RecallResponse.DiscardUnknown(m)
  263. }
  264. var xxx_messageInfo_RecallResponse proto.InternalMessageInfo
  265. type VideoIndexRequest struct {
  266. SVIDs []int64 `protobuf:"varint,1,rep,packed,name=svids" json:"svids" form:"svids"`
  267. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  268. XXX_unrecognized []byte `json:"-"`
  269. XXX_sizecache int32 `json:"-"`
  270. }
  271. func (m *VideoIndexRequest) Reset() { *m = VideoIndexRequest{} }
  272. func (*VideoIndexRequest) ProtoMessage() {}
  273. func (*VideoIndexRequest) Descriptor() ([]byte, []int) {
  274. return fileDescriptor_api_df8b3273faae6c47, []int{6}
  275. }
  276. func (m *VideoIndexRequest) XXX_Unmarshal(b []byte) error {
  277. return m.Unmarshal(b)
  278. }
  279. func (m *VideoIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  280. if deterministic {
  281. return xxx_messageInfo_VideoIndexRequest.Marshal(b, m, deterministic)
  282. } else {
  283. b = b[:cap(b)]
  284. n, err := m.MarshalTo(b)
  285. if err != nil {
  286. return nil, err
  287. }
  288. return b[:n], nil
  289. }
  290. }
  291. func (dst *VideoIndexRequest) XXX_Merge(src proto.Message) {
  292. xxx_messageInfo_VideoIndexRequest.Merge(dst, src)
  293. }
  294. func (m *VideoIndexRequest) XXX_Size() int {
  295. return m.Size()
  296. }
  297. func (m *VideoIndexRequest) XXX_DiscardUnknown() {
  298. xxx_messageInfo_VideoIndexRequest.DiscardUnknown(m)
  299. }
  300. var xxx_messageInfo_VideoIndexRequest proto.InternalMessageInfo
  301. type VideoIndexResponse struct {
  302. List []*proto1.ForwardIndex `protobuf:"bytes,1,rep,name=list" json:"list" form:"list"`
  303. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  304. XXX_unrecognized []byte `json:"-"`
  305. XXX_sizecache int32 `json:"-"`
  306. }
  307. func (m *VideoIndexResponse) Reset() { *m = VideoIndexResponse{} }
  308. func (*VideoIndexResponse) ProtoMessage() {}
  309. func (*VideoIndexResponse) Descriptor() ([]byte, []int) {
  310. return fileDescriptor_api_df8b3273faae6c47, []int{7}
  311. }
  312. func (m *VideoIndexResponse) XXX_Unmarshal(b []byte) error {
  313. return m.Unmarshal(b)
  314. }
  315. func (m *VideoIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  316. if deterministic {
  317. return xxx_messageInfo_VideoIndexResponse.Marshal(b, m, deterministic)
  318. } else {
  319. b = b[:cap(b)]
  320. n, err := m.MarshalTo(b)
  321. if err != nil {
  322. return nil, err
  323. }
  324. return b[:n], nil
  325. }
  326. }
  327. func (dst *VideoIndexResponse) XXX_Merge(src proto.Message) {
  328. xxx_messageInfo_VideoIndexResponse.Merge(dst, src)
  329. }
  330. func (m *VideoIndexResponse) XXX_Size() int {
  331. return m.Size()
  332. }
  333. func (m *VideoIndexResponse) XXX_DiscardUnknown() {
  334. xxx_messageInfo_VideoIndexResponse.DiscardUnknown(m)
  335. }
  336. var xxx_messageInfo_VideoIndexResponse proto.InternalMessageInfo
  337. type NewIncomeVideoRequest struct {
  338. SVIDs []int64 `protobuf:"varint,1,rep,packed,name=svids" json:"svids" form:"svids"`
  339. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key" form:"key"`
  340. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  341. XXX_unrecognized []byte `json:"-"`
  342. XXX_sizecache int32 `json:"-"`
  343. }
  344. func (m *NewIncomeVideoRequest) Reset() { *m = NewIncomeVideoRequest{} }
  345. func (*NewIncomeVideoRequest) ProtoMessage() {}
  346. func (*NewIncomeVideoRequest) Descriptor() ([]byte, []int) {
  347. return fileDescriptor_api_df8b3273faae6c47, []int{8}
  348. }
  349. func (m *NewIncomeVideoRequest) XXX_Unmarshal(b []byte) error {
  350. return m.Unmarshal(b)
  351. }
  352. func (m *NewIncomeVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  353. if deterministic {
  354. return xxx_messageInfo_NewIncomeVideoRequest.Marshal(b, m, deterministic)
  355. } else {
  356. b = b[:cap(b)]
  357. n, err := m.MarshalTo(b)
  358. if err != nil {
  359. return nil, err
  360. }
  361. return b[:n], nil
  362. }
  363. }
  364. func (dst *NewIncomeVideoRequest) XXX_Merge(src proto.Message) {
  365. xxx_messageInfo_NewIncomeVideoRequest.Merge(dst, src)
  366. }
  367. func (m *NewIncomeVideoRequest) XXX_Size() int {
  368. return m.Size()
  369. }
  370. func (m *NewIncomeVideoRequest) XXX_DiscardUnknown() {
  371. xxx_messageInfo_NewIncomeVideoRequest.DiscardUnknown(m)
  372. }
  373. var xxx_messageInfo_NewIncomeVideoRequest proto.InternalMessageInfo
  374. type VideosByIndexRequest struct {
  375. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"`
  376. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  377. XXX_unrecognized []byte `json:"-"`
  378. XXX_sizecache int32 `json:"-"`
  379. }
  380. func (m *VideosByIndexRequest) Reset() { *m = VideosByIndexRequest{} }
  381. func (*VideosByIndexRequest) ProtoMessage() {}
  382. func (*VideosByIndexRequest) Descriptor() ([]byte, []int) {
  383. return fileDescriptor_api_df8b3273faae6c47, []int{9}
  384. }
  385. func (m *VideosByIndexRequest) XXX_Unmarshal(b []byte) error {
  386. return m.Unmarshal(b)
  387. }
  388. func (m *VideosByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  389. if deterministic {
  390. return xxx_messageInfo_VideosByIndexRequest.Marshal(b, m, deterministic)
  391. } else {
  392. b = b[:cap(b)]
  393. n, err := m.MarshalTo(b)
  394. if err != nil {
  395. return nil, err
  396. }
  397. return b[:n], nil
  398. }
  399. }
  400. func (dst *VideosByIndexRequest) XXX_Merge(src proto.Message) {
  401. xxx_messageInfo_VideosByIndexRequest.Merge(dst, src)
  402. }
  403. func (m *VideosByIndexRequest) XXX_Size() int {
  404. return m.Size()
  405. }
  406. func (m *VideosByIndexRequest) XXX_DiscardUnknown() {
  407. xxx_messageInfo_VideosByIndexRequest.DiscardUnknown(m)
  408. }
  409. var xxx_messageInfo_VideosByIndexRequest proto.InternalMessageInfo
  410. type VideosByIndexResponse struct {
  411. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"`
  412. SVIDs []int64 `protobuf:"varint,2,rep,packed,name=svids" json:"svids" form:"svids"`
  413. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  414. XXX_unrecognized []byte `json:"-"`
  415. XXX_sizecache int32 `json:"-"`
  416. }
  417. func (m *VideosByIndexResponse) Reset() { *m = VideosByIndexResponse{} }
  418. func (*VideosByIndexResponse) ProtoMessage() {}
  419. func (*VideosByIndexResponse) Descriptor() ([]byte, []int) {
  420. return fileDescriptor_api_df8b3273faae6c47, []int{10}
  421. }
  422. func (m *VideosByIndexResponse) XXX_Unmarshal(b []byte) error {
  423. return m.Unmarshal(b)
  424. }
  425. func (m *VideosByIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  426. if deterministic {
  427. return xxx_messageInfo_VideosByIndexResponse.Marshal(b, m, deterministic)
  428. } else {
  429. b = b[:cap(b)]
  430. n, err := m.MarshalTo(b)
  431. if err != nil {
  432. return nil, err
  433. }
  434. return b[:n], nil
  435. }
  436. }
  437. func (dst *VideosByIndexResponse) XXX_Merge(src proto.Message) {
  438. xxx_messageInfo_VideosByIndexResponse.Merge(dst, src)
  439. }
  440. func (m *VideosByIndexResponse) XXX_Size() int {
  441. return m.Size()
  442. }
  443. func (m *VideosByIndexResponse) XXX_DiscardUnknown() {
  444. xxx_messageInfo_VideosByIndexResponse.DiscardUnknown(m)
  445. }
  446. var xxx_messageInfo_VideosByIndexResponse proto.InternalMessageInfo
  447. func init() {
  448. proto.RegisterType((*RecallInfo)(nil), "bbq.service.recall.v1.RecallInfo")
  449. proto.RegisterType((*RecallRequest)(nil), "bbq.service.recall.v1.RecallRequest")
  450. proto.RegisterType((*InvertedIndex)(nil), "bbq.service.recall.v1.InvertedIndex")
  451. proto.RegisterType((*Video)(nil), "bbq.service.recall.v1.Video")
  452. proto.RegisterType((*RecallSrc)(nil), "bbq.service.recall.v1.RecallSrc")
  453. proto.RegisterType((*RecallResponse)(nil), "bbq.service.recall.v1.RecallResponse")
  454. proto.RegisterType((*VideoIndexRequest)(nil), "bbq.service.recall.v1.VideoIndexRequest")
  455. proto.RegisterType((*VideoIndexResponse)(nil), "bbq.service.recall.v1.VideoIndexResponse")
  456. proto.RegisterType((*NewIncomeVideoRequest)(nil), "bbq.service.recall.v1.NewIncomeVideoRequest")
  457. proto.RegisterType((*VideosByIndexRequest)(nil), "bbq.service.recall.v1.VideosByIndexRequest")
  458. proto.RegisterType((*VideosByIndexResponse)(nil), "bbq.service.recall.v1.VideosByIndexResponse")
  459. }
  460. // Reference imports to suppress errors if they are not otherwise used.
  461. var _ context.Context
  462. var _ grpc.ClientConn
  463. // This is a compile-time assertion to ensure that this generated file
  464. // is compatible with the grpc package it is being compiled against.
  465. const _ = grpc.SupportPackageIsVersion4
  466. // RecsysRecallClient is the client API for RecsysRecall service.
  467. //
  468. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  469. type RecsysRecallClient interface {
  470. Recall(ctx context.Context, in *RecallRequest, opts ...grpc.CallOption) (*RecallResponse, error)
  471. VideoIndex(ctx context.Context, in *VideoIndexRequest, opts ...grpc.CallOption) (*VideoIndexResponse, error)
  472. NewIncomeVideo(ctx context.Context, in *NewIncomeVideoRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  473. VideosByIndex(ctx context.Context, in *VideosByIndexRequest, opts ...grpc.CallOption) (*VideosByIndexResponse, error)
  474. }
  475. type recsysRecallClient struct {
  476. cc *grpc.ClientConn
  477. }
  478. func NewRecsysRecallClient(cc *grpc.ClientConn) RecsysRecallClient {
  479. return &recsysRecallClient{cc}
  480. }
  481. func (c *recsysRecallClient) Recall(ctx context.Context, in *RecallRequest, opts ...grpc.CallOption) (*RecallResponse, error) {
  482. out := new(RecallResponse)
  483. err := c.cc.Invoke(ctx, "/bbq.service.recall.v1.RecsysRecall/Recall", in, out, opts...)
  484. if err != nil {
  485. return nil, err
  486. }
  487. return out, nil
  488. }
  489. func (c *recsysRecallClient) VideoIndex(ctx context.Context, in *VideoIndexRequest, opts ...grpc.CallOption) (*VideoIndexResponse, error) {
  490. out := new(VideoIndexResponse)
  491. err := c.cc.Invoke(ctx, "/bbq.service.recall.v1.RecsysRecall/VideoIndex", in, out, opts...)
  492. if err != nil {
  493. return nil, err
  494. }
  495. return out, nil
  496. }
  497. func (c *recsysRecallClient) NewIncomeVideo(ctx context.Context, in *NewIncomeVideoRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  498. out := new(empty.Empty)
  499. err := c.cc.Invoke(ctx, "/bbq.service.recall.v1.RecsysRecall/NewIncomeVideo", in, out, opts...)
  500. if err != nil {
  501. return nil, err
  502. }
  503. return out, nil
  504. }
  505. func (c *recsysRecallClient) VideosByIndex(ctx context.Context, in *VideosByIndexRequest, opts ...grpc.CallOption) (*VideosByIndexResponse, error) {
  506. out := new(VideosByIndexResponse)
  507. err := c.cc.Invoke(ctx, "/bbq.service.recall.v1.RecsysRecall/VideosByIndex", in, out, opts...)
  508. if err != nil {
  509. return nil, err
  510. }
  511. return out, nil
  512. }
  513. // RecsysRecallServer is the server API for RecsysRecall service.
  514. type RecsysRecallServer interface {
  515. Recall(context.Context, *RecallRequest) (*RecallResponse, error)
  516. VideoIndex(context.Context, *VideoIndexRequest) (*VideoIndexResponse, error)
  517. NewIncomeVideo(context.Context, *NewIncomeVideoRequest) (*empty.Empty, error)
  518. VideosByIndex(context.Context, *VideosByIndexRequest) (*VideosByIndexResponse, error)
  519. }
  520. func RegisterRecsysRecallServer(s *grpc.Server, srv RecsysRecallServer) {
  521. s.RegisterService(&_RecsysRecall_serviceDesc, srv)
  522. }
  523. func _RecsysRecall_Recall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  524. in := new(RecallRequest)
  525. if err := dec(in); err != nil {
  526. return nil, err
  527. }
  528. if interceptor == nil {
  529. return srv.(RecsysRecallServer).Recall(ctx, in)
  530. }
  531. info := &grpc.UnaryServerInfo{
  532. Server: srv,
  533. FullMethod: "/bbq.service.recall.v1.RecsysRecall/Recall",
  534. }
  535. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  536. return srv.(RecsysRecallServer).Recall(ctx, req.(*RecallRequest))
  537. }
  538. return interceptor(ctx, in, info, handler)
  539. }
  540. func _RecsysRecall_VideoIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  541. in := new(VideoIndexRequest)
  542. if err := dec(in); err != nil {
  543. return nil, err
  544. }
  545. if interceptor == nil {
  546. return srv.(RecsysRecallServer).VideoIndex(ctx, in)
  547. }
  548. info := &grpc.UnaryServerInfo{
  549. Server: srv,
  550. FullMethod: "/bbq.service.recall.v1.RecsysRecall/VideoIndex",
  551. }
  552. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  553. return srv.(RecsysRecallServer).VideoIndex(ctx, req.(*VideoIndexRequest))
  554. }
  555. return interceptor(ctx, in, info, handler)
  556. }
  557. func _RecsysRecall_NewIncomeVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  558. in := new(NewIncomeVideoRequest)
  559. if err := dec(in); err != nil {
  560. return nil, err
  561. }
  562. if interceptor == nil {
  563. return srv.(RecsysRecallServer).NewIncomeVideo(ctx, in)
  564. }
  565. info := &grpc.UnaryServerInfo{
  566. Server: srv,
  567. FullMethod: "/bbq.service.recall.v1.RecsysRecall/NewIncomeVideo",
  568. }
  569. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  570. return srv.(RecsysRecallServer).NewIncomeVideo(ctx, req.(*NewIncomeVideoRequest))
  571. }
  572. return interceptor(ctx, in, info, handler)
  573. }
  574. func _RecsysRecall_VideosByIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  575. in := new(VideosByIndexRequest)
  576. if err := dec(in); err != nil {
  577. return nil, err
  578. }
  579. if interceptor == nil {
  580. return srv.(RecsysRecallServer).VideosByIndex(ctx, in)
  581. }
  582. info := &grpc.UnaryServerInfo{
  583. Server: srv,
  584. FullMethod: "/bbq.service.recall.v1.RecsysRecall/VideosByIndex",
  585. }
  586. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  587. return srv.(RecsysRecallServer).VideosByIndex(ctx, req.(*VideosByIndexRequest))
  588. }
  589. return interceptor(ctx, in, info, handler)
  590. }
  591. var _RecsysRecall_serviceDesc = grpc.ServiceDesc{
  592. ServiceName: "bbq.service.recall.v1.RecsysRecall",
  593. HandlerType: (*RecsysRecallServer)(nil),
  594. Methods: []grpc.MethodDesc{
  595. {
  596. MethodName: "Recall",
  597. Handler: _RecsysRecall_Recall_Handler,
  598. },
  599. {
  600. MethodName: "VideoIndex",
  601. Handler: _RecsysRecall_VideoIndex_Handler,
  602. },
  603. {
  604. MethodName: "NewIncomeVideo",
  605. Handler: _RecsysRecall_NewIncomeVideo_Handler,
  606. },
  607. {
  608. MethodName: "VideosByIndex",
  609. Handler: _RecsysRecall_VideosByIndex_Handler,
  610. },
  611. },
  612. Streams: []grpc.StreamDesc{},
  613. Metadata: "app/service/bbq/recsys-recall/api/grpc/v1/api.proto",
  614. }
  615. func (m *RecallInfo) Marshal() (dAtA []byte, err error) {
  616. size := m.Size()
  617. dAtA = make([]byte, size)
  618. n, err := m.MarshalTo(dAtA)
  619. if err != nil {
  620. return nil, err
  621. }
  622. return dAtA[:n], nil
  623. }
  624. func (m *RecallInfo) MarshalTo(dAtA []byte) (int, error) {
  625. var i int
  626. _ = i
  627. var l int
  628. _ = l
  629. if len(m.Tag) > 0 {
  630. dAtA[i] = 0xa
  631. i++
  632. i = encodeVarintApi(dAtA, i, uint64(len(m.Tag)))
  633. i += copy(dAtA[i:], m.Tag)
  634. }
  635. if len(m.Name) > 0 {
  636. dAtA[i] = 0x12
  637. i++
  638. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  639. i += copy(dAtA[i:], m.Name)
  640. }
  641. if len(m.Scorer) > 0 {
  642. dAtA[i] = 0x1a
  643. i++
  644. i = encodeVarintApi(dAtA, i, uint64(len(m.Scorer)))
  645. i += copy(dAtA[i:], m.Scorer)
  646. }
  647. if len(m.Filter) > 0 {
  648. dAtA[i] = 0x22
  649. i++
  650. i = encodeVarintApi(dAtA, i, uint64(len(m.Filter)))
  651. i += copy(dAtA[i:], m.Filter)
  652. }
  653. if len(m.Ranker) > 0 {
  654. dAtA[i] = 0x2a
  655. i++
  656. i = encodeVarintApi(dAtA, i, uint64(len(m.Ranker)))
  657. i += copy(dAtA[i:], m.Ranker)
  658. }
  659. if m.Priority != 0 {
  660. dAtA[i] = 0x30
  661. i++
  662. i = encodeVarintApi(dAtA, i, uint64(m.Priority))
  663. }
  664. if m.Limit != 0 {
  665. dAtA[i] = 0x38
  666. i++
  667. i = encodeVarintApi(dAtA, i, uint64(m.Limit))
  668. }
  669. if m.XXX_unrecognized != nil {
  670. i += copy(dAtA[i:], m.XXX_unrecognized)
  671. }
  672. return i, nil
  673. }
  674. func (m *RecallRequest) Marshal() (dAtA []byte, err error) {
  675. size := m.Size()
  676. dAtA = make([]byte, size)
  677. n, err := m.MarshalTo(dAtA)
  678. if err != nil {
  679. return nil, err
  680. }
  681. return dAtA[:n], nil
  682. }
  683. func (m *RecallRequest) MarshalTo(dAtA []byte) (int, error) {
  684. var i int
  685. _ = i
  686. var l int
  687. _ = l
  688. if m.MID != 0 {
  689. dAtA[i] = 0x8
  690. i++
  691. i = encodeVarintApi(dAtA, i, uint64(m.MID))
  692. }
  693. if len(m.BUVID) > 0 {
  694. dAtA[i] = 0x12
  695. i++
  696. i = encodeVarintApi(dAtA, i, uint64(len(m.BUVID)))
  697. i += copy(dAtA[i:], m.BUVID)
  698. }
  699. if len(m.Infos) > 0 {
  700. for _, msg := range m.Infos {
  701. dAtA[i] = 0x1a
  702. i++
  703. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  704. n, err := msg.MarshalTo(dAtA[i:])
  705. if err != nil {
  706. return 0, err
  707. }
  708. i += n
  709. }
  710. }
  711. if m.TotalLimit != 0 {
  712. dAtA[i] = 0x20
  713. i++
  714. i = encodeVarintApi(dAtA, i, uint64(m.TotalLimit))
  715. }
  716. if m.XXX_unrecognized != nil {
  717. i += copy(dAtA[i:], m.XXX_unrecognized)
  718. }
  719. return i, nil
  720. }
  721. func (m *InvertedIndex) Marshal() (dAtA []byte, err error) {
  722. size := m.Size()
  723. dAtA = make([]byte, size)
  724. n, err := m.MarshalTo(dAtA)
  725. if err != nil {
  726. return nil, err
  727. }
  728. return dAtA[:n], nil
  729. }
  730. func (m *InvertedIndex) MarshalTo(dAtA []byte) (int, error) {
  731. var i int
  732. _ = i
  733. var l int
  734. _ = l
  735. if len(m.Index) > 0 {
  736. dAtA[i] = 0xa
  737. i++
  738. i = encodeVarintApi(dAtA, i, uint64(len(m.Index)))
  739. i += copy(dAtA[i:], m.Index)
  740. }
  741. if len(m.Name) > 0 {
  742. dAtA[i] = 0x12
  743. i++
  744. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  745. i += copy(dAtA[i:], m.Name)
  746. }
  747. if m.Score != 0 {
  748. dAtA[i] = 0x1d
  749. i++
  750. encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Score))))
  751. i += 4
  752. }
  753. if m.XXX_unrecognized != nil {
  754. i += copy(dAtA[i:], m.XXX_unrecognized)
  755. }
  756. return i, nil
  757. }
  758. func (m *Video) Marshal() (dAtA []byte, err error) {
  759. size := m.Size()
  760. dAtA = make([]byte, size)
  761. n, err := m.MarshalTo(dAtA)
  762. if err != nil {
  763. return nil, err
  764. }
  765. return dAtA[:n], nil
  766. }
  767. func (m *Video) MarshalTo(dAtA []byte) (int, error) {
  768. var i int
  769. _ = i
  770. var l int
  771. _ = l
  772. if m.SVID != 0 {
  773. dAtA[i] = 0x8
  774. i++
  775. i = encodeVarintApi(dAtA, i, uint64(m.SVID))
  776. }
  777. if m.Score != 0 {
  778. dAtA[i] = 0x15
  779. i++
  780. encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Score))))
  781. i += 4
  782. }
  783. if len(m.Name) > 0 {
  784. dAtA[i] = 0x1a
  785. i++
  786. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  787. i += copy(dAtA[i:], m.Name)
  788. }
  789. if m.ForwardIndex != nil {
  790. dAtA[i] = 0x22
  791. i++
  792. i = encodeVarintApi(dAtA, i, uint64(m.ForwardIndex.Size()))
  793. n1, err := m.ForwardIndex.MarshalTo(dAtA[i:])
  794. if err != nil {
  795. return 0, err
  796. }
  797. i += n1
  798. }
  799. if len(m.InvertedIndex) > 0 {
  800. dAtA[i] = 0x2a
  801. i++
  802. i = encodeVarintApi(dAtA, i, uint64(len(m.InvertedIndex)))
  803. i += copy(dAtA[i:], m.InvertedIndex)
  804. }
  805. if len(m.InvertedIndexes) > 0 {
  806. for _, msg := range m.InvertedIndexes {
  807. dAtA[i] = 0x32
  808. i++
  809. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  810. n, err := msg.MarshalTo(dAtA[i:])
  811. if err != nil {
  812. return 0, err
  813. }
  814. i += n
  815. }
  816. }
  817. if m.XXX_unrecognized != nil {
  818. i += copy(dAtA[i:], m.XXX_unrecognized)
  819. }
  820. return i, nil
  821. }
  822. func (m *RecallSrc) Marshal() (dAtA []byte, err error) {
  823. size := m.Size()
  824. dAtA = make([]byte, size)
  825. n, err := m.MarshalTo(dAtA)
  826. if err != nil {
  827. return nil, err
  828. }
  829. return dAtA[:n], nil
  830. }
  831. func (m *RecallSrc) MarshalTo(dAtA []byte) (int, error) {
  832. var i int
  833. _ = i
  834. var l int
  835. _ = l
  836. if m.TotalHit != 0 {
  837. dAtA[i] = 0x8
  838. i++
  839. i = encodeVarintApi(dAtA, i, uint64(m.TotalHit))
  840. }
  841. if m.Filter != 0 {
  842. dAtA[i] = 0x10
  843. i++
  844. i = encodeVarintApi(dAtA, i, uint64(m.Filter))
  845. }
  846. if m.Final != 0 {
  847. dAtA[i] = 0x18
  848. i++
  849. i = encodeVarintApi(dAtA, i, uint64(m.Final))
  850. }
  851. if len(m.Tag) > 0 {
  852. dAtA[i] = 0x22
  853. i++
  854. i = encodeVarintApi(dAtA, i, uint64(len(m.Tag)))
  855. i += copy(dAtA[i:], m.Tag)
  856. }
  857. if len(m.Name) > 0 {
  858. dAtA[i] = 0x2a
  859. i++
  860. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  861. i += copy(dAtA[i:], m.Name)
  862. }
  863. if m.XXX_unrecognized != nil {
  864. i += copy(dAtA[i:], m.XXX_unrecognized)
  865. }
  866. return i, nil
  867. }
  868. func (m *RecallResponse) Marshal() (dAtA []byte, err error) {
  869. size := m.Size()
  870. dAtA = make([]byte, size)
  871. n, err := m.MarshalTo(dAtA)
  872. if err != nil {
  873. return nil, err
  874. }
  875. return dAtA[:n], nil
  876. }
  877. func (m *RecallResponse) MarshalTo(dAtA []byte) (int, error) {
  878. var i int
  879. _ = i
  880. var l int
  881. _ = l
  882. if m.Total != 0 {
  883. dAtA[i] = 0x8
  884. i++
  885. i = encodeVarintApi(dAtA, i, uint64(m.Total))
  886. }
  887. if len(m.List) > 0 {
  888. for _, msg := range m.List {
  889. dAtA[i] = 0x12
  890. i++
  891. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  892. n, err := msg.MarshalTo(dAtA[i:])
  893. if err != nil {
  894. return 0, err
  895. }
  896. i += n
  897. }
  898. }
  899. if len(m.SrcInfo) > 0 {
  900. for _, msg := range m.SrcInfo {
  901. dAtA[i] = 0x1a
  902. i++
  903. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  904. n, err := msg.MarshalTo(dAtA[i:])
  905. if err != nil {
  906. return 0, err
  907. }
  908. i += n
  909. }
  910. }
  911. if m.XXX_unrecognized != nil {
  912. i += copy(dAtA[i:], m.XXX_unrecognized)
  913. }
  914. return i, nil
  915. }
  916. func (m *VideoIndexRequest) Marshal() (dAtA []byte, err error) {
  917. size := m.Size()
  918. dAtA = make([]byte, size)
  919. n, err := m.MarshalTo(dAtA)
  920. if err != nil {
  921. return nil, err
  922. }
  923. return dAtA[:n], nil
  924. }
  925. func (m *VideoIndexRequest) MarshalTo(dAtA []byte) (int, error) {
  926. var i int
  927. _ = i
  928. var l int
  929. _ = l
  930. if len(m.SVIDs) > 0 {
  931. dAtA3 := make([]byte, len(m.SVIDs)*10)
  932. var j2 int
  933. for _, num1 := range m.SVIDs {
  934. num := uint64(num1)
  935. for num >= 1<<7 {
  936. dAtA3[j2] = uint8(uint64(num)&0x7f | 0x80)
  937. num >>= 7
  938. j2++
  939. }
  940. dAtA3[j2] = uint8(num)
  941. j2++
  942. }
  943. dAtA[i] = 0xa
  944. i++
  945. i = encodeVarintApi(dAtA, i, uint64(j2))
  946. i += copy(dAtA[i:], dAtA3[:j2])
  947. }
  948. if m.XXX_unrecognized != nil {
  949. i += copy(dAtA[i:], m.XXX_unrecognized)
  950. }
  951. return i, nil
  952. }
  953. func (m *VideoIndexResponse) Marshal() (dAtA []byte, err error) {
  954. size := m.Size()
  955. dAtA = make([]byte, size)
  956. n, err := m.MarshalTo(dAtA)
  957. if err != nil {
  958. return nil, err
  959. }
  960. return dAtA[:n], nil
  961. }
  962. func (m *VideoIndexResponse) MarshalTo(dAtA []byte) (int, error) {
  963. var i int
  964. _ = i
  965. var l int
  966. _ = l
  967. if len(m.List) > 0 {
  968. for _, msg := range m.List {
  969. dAtA[i] = 0xa
  970. i++
  971. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  972. n, err := msg.MarshalTo(dAtA[i:])
  973. if err != nil {
  974. return 0, err
  975. }
  976. i += n
  977. }
  978. }
  979. if m.XXX_unrecognized != nil {
  980. i += copy(dAtA[i:], m.XXX_unrecognized)
  981. }
  982. return i, nil
  983. }
  984. func (m *NewIncomeVideoRequest) Marshal() (dAtA []byte, err error) {
  985. size := m.Size()
  986. dAtA = make([]byte, size)
  987. n, err := m.MarshalTo(dAtA)
  988. if err != nil {
  989. return nil, err
  990. }
  991. return dAtA[:n], nil
  992. }
  993. func (m *NewIncomeVideoRequest) MarshalTo(dAtA []byte) (int, error) {
  994. var i int
  995. _ = i
  996. var l int
  997. _ = l
  998. if len(m.SVIDs) > 0 {
  999. dAtA5 := make([]byte, len(m.SVIDs)*10)
  1000. var j4 int
  1001. for _, num1 := range m.SVIDs {
  1002. num := uint64(num1)
  1003. for num >= 1<<7 {
  1004. dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80)
  1005. num >>= 7
  1006. j4++
  1007. }
  1008. dAtA5[j4] = uint8(num)
  1009. j4++
  1010. }
  1011. dAtA[i] = 0xa
  1012. i++
  1013. i = encodeVarintApi(dAtA, i, uint64(j4))
  1014. i += copy(dAtA[i:], dAtA5[:j4])
  1015. }
  1016. if len(m.Key) > 0 {
  1017. dAtA[i] = 0x12
  1018. i++
  1019. i = encodeVarintApi(dAtA, i, uint64(len(m.Key)))
  1020. i += copy(dAtA[i:], m.Key)
  1021. }
  1022. if m.XXX_unrecognized != nil {
  1023. i += copy(dAtA[i:], m.XXX_unrecognized)
  1024. }
  1025. return i, nil
  1026. }
  1027. func (m *VideosByIndexRequest) Marshal() (dAtA []byte, err error) {
  1028. size := m.Size()
  1029. dAtA = make([]byte, size)
  1030. n, err := m.MarshalTo(dAtA)
  1031. if err != nil {
  1032. return nil, err
  1033. }
  1034. return dAtA[:n], nil
  1035. }
  1036. func (m *VideosByIndexRequest) MarshalTo(dAtA []byte) (int, error) {
  1037. var i int
  1038. _ = i
  1039. var l int
  1040. _ = l
  1041. if len(m.Key) > 0 {
  1042. dAtA[i] = 0xa
  1043. i++
  1044. i = encodeVarintApi(dAtA, i, uint64(len(m.Key)))
  1045. i += copy(dAtA[i:], m.Key)
  1046. }
  1047. if m.XXX_unrecognized != nil {
  1048. i += copy(dAtA[i:], m.XXX_unrecognized)
  1049. }
  1050. return i, nil
  1051. }
  1052. func (m *VideosByIndexResponse) Marshal() (dAtA []byte, err error) {
  1053. size := m.Size()
  1054. dAtA = make([]byte, size)
  1055. n, err := m.MarshalTo(dAtA)
  1056. if err != nil {
  1057. return nil, err
  1058. }
  1059. return dAtA[:n], nil
  1060. }
  1061. func (m *VideosByIndexResponse) MarshalTo(dAtA []byte) (int, error) {
  1062. var i int
  1063. _ = i
  1064. var l int
  1065. _ = l
  1066. if len(m.Key) > 0 {
  1067. dAtA[i] = 0xa
  1068. i++
  1069. i = encodeVarintApi(dAtA, i, uint64(len(m.Key)))
  1070. i += copy(dAtA[i:], m.Key)
  1071. }
  1072. if len(m.SVIDs) > 0 {
  1073. dAtA7 := make([]byte, len(m.SVIDs)*10)
  1074. var j6 int
  1075. for _, num1 := range m.SVIDs {
  1076. num := uint64(num1)
  1077. for num >= 1<<7 {
  1078. dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80)
  1079. num >>= 7
  1080. j6++
  1081. }
  1082. dAtA7[j6] = uint8(num)
  1083. j6++
  1084. }
  1085. dAtA[i] = 0x12
  1086. i++
  1087. i = encodeVarintApi(dAtA, i, uint64(j6))
  1088. i += copy(dAtA[i:], dAtA7[:j6])
  1089. }
  1090. if m.XXX_unrecognized != nil {
  1091. i += copy(dAtA[i:], m.XXX_unrecognized)
  1092. }
  1093. return i, nil
  1094. }
  1095. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  1096. for v >= 1<<7 {
  1097. dAtA[offset] = uint8(v&0x7f | 0x80)
  1098. v >>= 7
  1099. offset++
  1100. }
  1101. dAtA[offset] = uint8(v)
  1102. return offset + 1
  1103. }
  1104. func (m *RecallInfo) Size() (n int) {
  1105. if m == nil {
  1106. return 0
  1107. }
  1108. var l int
  1109. _ = l
  1110. l = len(m.Tag)
  1111. if l > 0 {
  1112. n += 1 + l + sovApi(uint64(l))
  1113. }
  1114. l = len(m.Name)
  1115. if l > 0 {
  1116. n += 1 + l + sovApi(uint64(l))
  1117. }
  1118. l = len(m.Scorer)
  1119. if l > 0 {
  1120. n += 1 + l + sovApi(uint64(l))
  1121. }
  1122. l = len(m.Filter)
  1123. if l > 0 {
  1124. n += 1 + l + sovApi(uint64(l))
  1125. }
  1126. l = len(m.Ranker)
  1127. if l > 0 {
  1128. n += 1 + l + sovApi(uint64(l))
  1129. }
  1130. if m.Priority != 0 {
  1131. n += 1 + sovApi(uint64(m.Priority))
  1132. }
  1133. if m.Limit != 0 {
  1134. n += 1 + sovApi(uint64(m.Limit))
  1135. }
  1136. if m.XXX_unrecognized != nil {
  1137. n += len(m.XXX_unrecognized)
  1138. }
  1139. return n
  1140. }
  1141. func (m *RecallRequest) Size() (n int) {
  1142. if m == nil {
  1143. return 0
  1144. }
  1145. var l int
  1146. _ = l
  1147. if m.MID != 0 {
  1148. n += 1 + sovApi(uint64(m.MID))
  1149. }
  1150. l = len(m.BUVID)
  1151. if l > 0 {
  1152. n += 1 + l + sovApi(uint64(l))
  1153. }
  1154. if len(m.Infos) > 0 {
  1155. for _, e := range m.Infos {
  1156. l = e.Size()
  1157. n += 1 + l + sovApi(uint64(l))
  1158. }
  1159. }
  1160. if m.TotalLimit != 0 {
  1161. n += 1 + sovApi(uint64(m.TotalLimit))
  1162. }
  1163. if m.XXX_unrecognized != nil {
  1164. n += len(m.XXX_unrecognized)
  1165. }
  1166. return n
  1167. }
  1168. func (m *InvertedIndex) Size() (n int) {
  1169. if m == nil {
  1170. return 0
  1171. }
  1172. var l int
  1173. _ = l
  1174. l = len(m.Index)
  1175. if l > 0 {
  1176. n += 1 + l + sovApi(uint64(l))
  1177. }
  1178. l = len(m.Name)
  1179. if l > 0 {
  1180. n += 1 + l + sovApi(uint64(l))
  1181. }
  1182. if m.Score != 0 {
  1183. n += 5
  1184. }
  1185. if m.XXX_unrecognized != nil {
  1186. n += len(m.XXX_unrecognized)
  1187. }
  1188. return n
  1189. }
  1190. func (m *Video) Size() (n int) {
  1191. if m == nil {
  1192. return 0
  1193. }
  1194. var l int
  1195. _ = l
  1196. if m.SVID != 0 {
  1197. n += 1 + sovApi(uint64(m.SVID))
  1198. }
  1199. if m.Score != 0 {
  1200. n += 5
  1201. }
  1202. l = len(m.Name)
  1203. if l > 0 {
  1204. n += 1 + l + sovApi(uint64(l))
  1205. }
  1206. if m.ForwardIndex != nil {
  1207. l = m.ForwardIndex.Size()
  1208. n += 1 + l + sovApi(uint64(l))
  1209. }
  1210. l = len(m.InvertedIndex)
  1211. if l > 0 {
  1212. n += 1 + l + sovApi(uint64(l))
  1213. }
  1214. if len(m.InvertedIndexes) > 0 {
  1215. for _, e := range m.InvertedIndexes {
  1216. l = e.Size()
  1217. n += 1 + l + sovApi(uint64(l))
  1218. }
  1219. }
  1220. if m.XXX_unrecognized != nil {
  1221. n += len(m.XXX_unrecognized)
  1222. }
  1223. return n
  1224. }
  1225. func (m *RecallSrc) Size() (n int) {
  1226. if m == nil {
  1227. return 0
  1228. }
  1229. var l int
  1230. _ = l
  1231. if m.TotalHit != 0 {
  1232. n += 1 + sovApi(uint64(m.TotalHit))
  1233. }
  1234. if m.Filter != 0 {
  1235. n += 1 + sovApi(uint64(m.Filter))
  1236. }
  1237. if m.Final != 0 {
  1238. n += 1 + sovApi(uint64(m.Final))
  1239. }
  1240. l = len(m.Tag)
  1241. if l > 0 {
  1242. n += 1 + l + sovApi(uint64(l))
  1243. }
  1244. l = len(m.Name)
  1245. if l > 0 {
  1246. n += 1 + l + sovApi(uint64(l))
  1247. }
  1248. if m.XXX_unrecognized != nil {
  1249. n += len(m.XXX_unrecognized)
  1250. }
  1251. return n
  1252. }
  1253. func (m *RecallResponse) Size() (n int) {
  1254. if m == nil {
  1255. return 0
  1256. }
  1257. var l int
  1258. _ = l
  1259. if m.Total != 0 {
  1260. n += 1 + sovApi(uint64(m.Total))
  1261. }
  1262. if len(m.List) > 0 {
  1263. for _, e := range m.List {
  1264. l = e.Size()
  1265. n += 1 + l + sovApi(uint64(l))
  1266. }
  1267. }
  1268. if len(m.SrcInfo) > 0 {
  1269. for _, e := range m.SrcInfo {
  1270. l = e.Size()
  1271. n += 1 + l + sovApi(uint64(l))
  1272. }
  1273. }
  1274. if m.XXX_unrecognized != nil {
  1275. n += len(m.XXX_unrecognized)
  1276. }
  1277. return n
  1278. }
  1279. func (m *VideoIndexRequest) Size() (n int) {
  1280. if m == nil {
  1281. return 0
  1282. }
  1283. var l int
  1284. _ = l
  1285. if len(m.SVIDs) > 0 {
  1286. l = 0
  1287. for _, e := range m.SVIDs {
  1288. l += sovApi(uint64(e))
  1289. }
  1290. n += 1 + sovApi(uint64(l)) + l
  1291. }
  1292. if m.XXX_unrecognized != nil {
  1293. n += len(m.XXX_unrecognized)
  1294. }
  1295. return n
  1296. }
  1297. func (m *VideoIndexResponse) Size() (n int) {
  1298. if m == nil {
  1299. return 0
  1300. }
  1301. var l int
  1302. _ = l
  1303. if len(m.List) > 0 {
  1304. for _, e := range m.List {
  1305. l = e.Size()
  1306. n += 1 + l + sovApi(uint64(l))
  1307. }
  1308. }
  1309. if m.XXX_unrecognized != nil {
  1310. n += len(m.XXX_unrecognized)
  1311. }
  1312. return n
  1313. }
  1314. func (m *NewIncomeVideoRequest) Size() (n int) {
  1315. if m == nil {
  1316. return 0
  1317. }
  1318. var l int
  1319. _ = l
  1320. if len(m.SVIDs) > 0 {
  1321. l = 0
  1322. for _, e := range m.SVIDs {
  1323. l += sovApi(uint64(e))
  1324. }
  1325. n += 1 + sovApi(uint64(l)) + l
  1326. }
  1327. l = len(m.Key)
  1328. if l > 0 {
  1329. n += 1 + l + sovApi(uint64(l))
  1330. }
  1331. if m.XXX_unrecognized != nil {
  1332. n += len(m.XXX_unrecognized)
  1333. }
  1334. return n
  1335. }
  1336. func (m *VideosByIndexRequest) Size() (n int) {
  1337. if m == nil {
  1338. return 0
  1339. }
  1340. var l int
  1341. _ = l
  1342. l = len(m.Key)
  1343. if l > 0 {
  1344. n += 1 + l + sovApi(uint64(l))
  1345. }
  1346. if m.XXX_unrecognized != nil {
  1347. n += len(m.XXX_unrecognized)
  1348. }
  1349. return n
  1350. }
  1351. func (m *VideosByIndexResponse) Size() (n int) {
  1352. if m == nil {
  1353. return 0
  1354. }
  1355. var l int
  1356. _ = l
  1357. l = len(m.Key)
  1358. if l > 0 {
  1359. n += 1 + l + sovApi(uint64(l))
  1360. }
  1361. if len(m.SVIDs) > 0 {
  1362. l = 0
  1363. for _, e := range m.SVIDs {
  1364. l += sovApi(uint64(e))
  1365. }
  1366. n += 1 + sovApi(uint64(l)) + l
  1367. }
  1368. if m.XXX_unrecognized != nil {
  1369. n += len(m.XXX_unrecognized)
  1370. }
  1371. return n
  1372. }
  1373. func sovApi(x uint64) (n int) {
  1374. for {
  1375. n++
  1376. x >>= 7
  1377. if x == 0 {
  1378. break
  1379. }
  1380. }
  1381. return n
  1382. }
  1383. func sozApi(x uint64) (n int) {
  1384. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1385. }
  1386. func (this *RecallInfo) String() string {
  1387. if this == nil {
  1388. return "nil"
  1389. }
  1390. s := strings.Join([]string{`&RecallInfo{`,
  1391. `Tag:` + fmt.Sprintf("%v", this.Tag) + `,`,
  1392. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1393. `Scorer:` + fmt.Sprintf("%v", this.Scorer) + `,`,
  1394. `Filter:` + fmt.Sprintf("%v", this.Filter) + `,`,
  1395. `Ranker:` + fmt.Sprintf("%v", this.Ranker) + `,`,
  1396. `Priority:` + fmt.Sprintf("%v", this.Priority) + `,`,
  1397. `Limit:` + fmt.Sprintf("%v", this.Limit) + `,`,
  1398. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1399. `}`,
  1400. }, "")
  1401. return s
  1402. }
  1403. func (this *RecallRequest) String() string {
  1404. if this == nil {
  1405. return "nil"
  1406. }
  1407. s := strings.Join([]string{`&RecallRequest{`,
  1408. `MID:` + fmt.Sprintf("%v", this.MID) + `,`,
  1409. `BUVID:` + fmt.Sprintf("%v", this.BUVID) + `,`,
  1410. `Infos:` + strings.Replace(fmt.Sprintf("%v", this.Infos), "RecallInfo", "RecallInfo", 1) + `,`,
  1411. `TotalLimit:` + fmt.Sprintf("%v", this.TotalLimit) + `,`,
  1412. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1413. `}`,
  1414. }, "")
  1415. return s
  1416. }
  1417. func (this *InvertedIndex) String() string {
  1418. if this == nil {
  1419. return "nil"
  1420. }
  1421. s := strings.Join([]string{`&InvertedIndex{`,
  1422. `Index:` + fmt.Sprintf("%v", this.Index) + `,`,
  1423. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1424. `Score:` + fmt.Sprintf("%v", this.Score) + `,`,
  1425. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1426. `}`,
  1427. }, "")
  1428. return s
  1429. }
  1430. func (this *Video) String() string {
  1431. if this == nil {
  1432. return "nil"
  1433. }
  1434. s := strings.Join([]string{`&Video{`,
  1435. `SVID:` + fmt.Sprintf("%v", this.SVID) + `,`,
  1436. `Score:` + fmt.Sprintf("%v", this.Score) + `,`,
  1437. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1438. `ForwardIndex:` + strings.Replace(fmt.Sprintf("%v", this.ForwardIndex), "ForwardIndex", "proto1.ForwardIndex", 1) + `,`,
  1439. `InvertedIndex:` + fmt.Sprintf("%v", this.InvertedIndex) + `,`,
  1440. `InvertedIndexes:` + strings.Replace(fmt.Sprintf("%v", this.InvertedIndexes), "InvertedIndex", "InvertedIndex", 1) + `,`,
  1441. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1442. `}`,
  1443. }, "")
  1444. return s
  1445. }
  1446. func (this *RecallSrc) String() string {
  1447. if this == nil {
  1448. return "nil"
  1449. }
  1450. s := strings.Join([]string{`&RecallSrc{`,
  1451. `TotalHit:` + fmt.Sprintf("%v", this.TotalHit) + `,`,
  1452. `Filter:` + fmt.Sprintf("%v", this.Filter) + `,`,
  1453. `Final:` + fmt.Sprintf("%v", this.Final) + `,`,
  1454. `Tag:` + fmt.Sprintf("%v", this.Tag) + `,`,
  1455. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1456. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1457. `}`,
  1458. }, "")
  1459. return s
  1460. }
  1461. func (this *RecallResponse) String() string {
  1462. if this == nil {
  1463. return "nil"
  1464. }
  1465. s := strings.Join([]string{`&RecallResponse{`,
  1466. `Total:` + fmt.Sprintf("%v", this.Total) + `,`,
  1467. `List:` + strings.Replace(fmt.Sprintf("%v", this.List), "Video", "Video", 1) + `,`,
  1468. `SrcInfo:` + strings.Replace(fmt.Sprintf("%v", this.SrcInfo), "RecallSrc", "RecallSrc", 1) + `,`,
  1469. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1470. `}`,
  1471. }, "")
  1472. return s
  1473. }
  1474. func (this *VideoIndexRequest) String() string {
  1475. if this == nil {
  1476. return "nil"
  1477. }
  1478. s := strings.Join([]string{`&VideoIndexRequest{`,
  1479. `SVIDs:` + fmt.Sprintf("%v", this.SVIDs) + `,`,
  1480. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1481. `}`,
  1482. }, "")
  1483. return s
  1484. }
  1485. func (this *VideoIndexResponse) String() string {
  1486. if this == nil {
  1487. return "nil"
  1488. }
  1489. s := strings.Join([]string{`&VideoIndexResponse{`,
  1490. `List:` + strings.Replace(fmt.Sprintf("%v", this.List), "ForwardIndex", "proto1.ForwardIndex", 1) + `,`,
  1491. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1492. `}`,
  1493. }, "")
  1494. return s
  1495. }
  1496. func (this *NewIncomeVideoRequest) String() string {
  1497. if this == nil {
  1498. return "nil"
  1499. }
  1500. s := strings.Join([]string{`&NewIncomeVideoRequest{`,
  1501. `SVIDs:` + fmt.Sprintf("%v", this.SVIDs) + `,`,
  1502. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  1503. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1504. `}`,
  1505. }, "")
  1506. return s
  1507. }
  1508. func (this *VideosByIndexRequest) String() string {
  1509. if this == nil {
  1510. return "nil"
  1511. }
  1512. s := strings.Join([]string{`&VideosByIndexRequest{`,
  1513. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  1514. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1515. `}`,
  1516. }, "")
  1517. return s
  1518. }
  1519. func (this *VideosByIndexResponse) String() string {
  1520. if this == nil {
  1521. return "nil"
  1522. }
  1523. s := strings.Join([]string{`&VideosByIndexResponse{`,
  1524. `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
  1525. `SVIDs:` + fmt.Sprintf("%v", this.SVIDs) + `,`,
  1526. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1527. `}`,
  1528. }, "")
  1529. return s
  1530. }
  1531. func valueToStringApi(v interface{}) string {
  1532. rv := reflect.ValueOf(v)
  1533. if rv.IsNil() {
  1534. return "nil"
  1535. }
  1536. pv := reflect.Indirect(rv).Interface()
  1537. return fmt.Sprintf("*%v", pv)
  1538. }
  1539. func (m *RecallInfo) Unmarshal(dAtA []byte) error {
  1540. l := len(dAtA)
  1541. iNdEx := 0
  1542. for iNdEx < l {
  1543. preIndex := iNdEx
  1544. var wire uint64
  1545. for shift := uint(0); ; shift += 7 {
  1546. if shift >= 64 {
  1547. return ErrIntOverflowApi
  1548. }
  1549. if iNdEx >= l {
  1550. return io.ErrUnexpectedEOF
  1551. }
  1552. b := dAtA[iNdEx]
  1553. iNdEx++
  1554. wire |= (uint64(b) & 0x7F) << shift
  1555. if b < 0x80 {
  1556. break
  1557. }
  1558. }
  1559. fieldNum := int32(wire >> 3)
  1560. wireType := int(wire & 0x7)
  1561. if wireType == 4 {
  1562. return fmt.Errorf("proto: RecallInfo: wiretype end group for non-group")
  1563. }
  1564. if fieldNum <= 0 {
  1565. return fmt.Errorf("proto: RecallInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  1566. }
  1567. switch fieldNum {
  1568. case 1:
  1569. if wireType != 2 {
  1570. return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType)
  1571. }
  1572. var stringLen uint64
  1573. for shift := uint(0); ; shift += 7 {
  1574. if shift >= 64 {
  1575. return ErrIntOverflowApi
  1576. }
  1577. if iNdEx >= l {
  1578. return io.ErrUnexpectedEOF
  1579. }
  1580. b := dAtA[iNdEx]
  1581. iNdEx++
  1582. stringLen |= (uint64(b) & 0x7F) << shift
  1583. if b < 0x80 {
  1584. break
  1585. }
  1586. }
  1587. intStringLen := int(stringLen)
  1588. if intStringLen < 0 {
  1589. return ErrInvalidLengthApi
  1590. }
  1591. postIndex := iNdEx + intStringLen
  1592. if postIndex > l {
  1593. return io.ErrUnexpectedEOF
  1594. }
  1595. m.Tag = string(dAtA[iNdEx:postIndex])
  1596. iNdEx = postIndex
  1597. case 2:
  1598. if wireType != 2 {
  1599. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1600. }
  1601. var stringLen uint64
  1602. for shift := uint(0); ; shift += 7 {
  1603. if shift >= 64 {
  1604. return ErrIntOverflowApi
  1605. }
  1606. if iNdEx >= l {
  1607. return io.ErrUnexpectedEOF
  1608. }
  1609. b := dAtA[iNdEx]
  1610. iNdEx++
  1611. stringLen |= (uint64(b) & 0x7F) << shift
  1612. if b < 0x80 {
  1613. break
  1614. }
  1615. }
  1616. intStringLen := int(stringLen)
  1617. if intStringLen < 0 {
  1618. return ErrInvalidLengthApi
  1619. }
  1620. postIndex := iNdEx + intStringLen
  1621. if postIndex > l {
  1622. return io.ErrUnexpectedEOF
  1623. }
  1624. m.Name = string(dAtA[iNdEx:postIndex])
  1625. iNdEx = postIndex
  1626. case 3:
  1627. if wireType != 2 {
  1628. return fmt.Errorf("proto: wrong wireType = %d for field Scorer", wireType)
  1629. }
  1630. var stringLen uint64
  1631. for shift := uint(0); ; shift += 7 {
  1632. if shift >= 64 {
  1633. return ErrIntOverflowApi
  1634. }
  1635. if iNdEx >= l {
  1636. return io.ErrUnexpectedEOF
  1637. }
  1638. b := dAtA[iNdEx]
  1639. iNdEx++
  1640. stringLen |= (uint64(b) & 0x7F) << shift
  1641. if b < 0x80 {
  1642. break
  1643. }
  1644. }
  1645. intStringLen := int(stringLen)
  1646. if intStringLen < 0 {
  1647. return ErrInvalidLengthApi
  1648. }
  1649. postIndex := iNdEx + intStringLen
  1650. if postIndex > l {
  1651. return io.ErrUnexpectedEOF
  1652. }
  1653. m.Scorer = string(dAtA[iNdEx:postIndex])
  1654. iNdEx = postIndex
  1655. case 4:
  1656. if wireType != 2 {
  1657. return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType)
  1658. }
  1659. var stringLen uint64
  1660. for shift := uint(0); ; shift += 7 {
  1661. if shift >= 64 {
  1662. return ErrIntOverflowApi
  1663. }
  1664. if iNdEx >= l {
  1665. return io.ErrUnexpectedEOF
  1666. }
  1667. b := dAtA[iNdEx]
  1668. iNdEx++
  1669. stringLen |= (uint64(b) & 0x7F) << shift
  1670. if b < 0x80 {
  1671. break
  1672. }
  1673. }
  1674. intStringLen := int(stringLen)
  1675. if intStringLen < 0 {
  1676. return ErrInvalidLengthApi
  1677. }
  1678. postIndex := iNdEx + intStringLen
  1679. if postIndex > l {
  1680. return io.ErrUnexpectedEOF
  1681. }
  1682. m.Filter = string(dAtA[iNdEx:postIndex])
  1683. iNdEx = postIndex
  1684. case 5:
  1685. if wireType != 2 {
  1686. return fmt.Errorf("proto: wrong wireType = %d for field Ranker", wireType)
  1687. }
  1688. var stringLen uint64
  1689. for shift := uint(0); ; shift += 7 {
  1690. if shift >= 64 {
  1691. return ErrIntOverflowApi
  1692. }
  1693. if iNdEx >= l {
  1694. return io.ErrUnexpectedEOF
  1695. }
  1696. b := dAtA[iNdEx]
  1697. iNdEx++
  1698. stringLen |= (uint64(b) & 0x7F) << shift
  1699. if b < 0x80 {
  1700. break
  1701. }
  1702. }
  1703. intStringLen := int(stringLen)
  1704. if intStringLen < 0 {
  1705. return ErrInvalidLengthApi
  1706. }
  1707. postIndex := iNdEx + intStringLen
  1708. if postIndex > l {
  1709. return io.ErrUnexpectedEOF
  1710. }
  1711. m.Ranker = string(dAtA[iNdEx:postIndex])
  1712. iNdEx = postIndex
  1713. case 6:
  1714. if wireType != 0 {
  1715. return fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType)
  1716. }
  1717. m.Priority = 0
  1718. for shift := uint(0); ; shift += 7 {
  1719. if shift >= 64 {
  1720. return ErrIntOverflowApi
  1721. }
  1722. if iNdEx >= l {
  1723. return io.ErrUnexpectedEOF
  1724. }
  1725. b := dAtA[iNdEx]
  1726. iNdEx++
  1727. m.Priority |= (int32(b) & 0x7F) << shift
  1728. if b < 0x80 {
  1729. break
  1730. }
  1731. }
  1732. case 7:
  1733. if wireType != 0 {
  1734. return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
  1735. }
  1736. m.Limit = 0
  1737. for shift := uint(0); ; shift += 7 {
  1738. if shift >= 64 {
  1739. return ErrIntOverflowApi
  1740. }
  1741. if iNdEx >= l {
  1742. return io.ErrUnexpectedEOF
  1743. }
  1744. b := dAtA[iNdEx]
  1745. iNdEx++
  1746. m.Limit |= (int32(b) & 0x7F) << shift
  1747. if b < 0x80 {
  1748. break
  1749. }
  1750. }
  1751. default:
  1752. iNdEx = preIndex
  1753. skippy, err := skipApi(dAtA[iNdEx:])
  1754. if err != nil {
  1755. return err
  1756. }
  1757. if skippy < 0 {
  1758. return ErrInvalidLengthApi
  1759. }
  1760. if (iNdEx + skippy) > l {
  1761. return io.ErrUnexpectedEOF
  1762. }
  1763. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1764. iNdEx += skippy
  1765. }
  1766. }
  1767. if iNdEx > l {
  1768. return io.ErrUnexpectedEOF
  1769. }
  1770. return nil
  1771. }
  1772. func (m *RecallRequest) Unmarshal(dAtA []byte) error {
  1773. l := len(dAtA)
  1774. iNdEx := 0
  1775. for iNdEx < l {
  1776. preIndex := iNdEx
  1777. var wire uint64
  1778. for shift := uint(0); ; shift += 7 {
  1779. if shift >= 64 {
  1780. return ErrIntOverflowApi
  1781. }
  1782. if iNdEx >= l {
  1783. return io.ErrUnexpectedEOF
  1784. }
  1785. b := dAtA[iNdEx]
  1786. iNdEx++
  1787. wire |= (uint64(b) & 0x7F) << shift
  1788. if b < 0x80 {
  1789. break
  1790. }
  1791. }
  1792. fieldNum := int32(wire >> 3)
  1793. wireType := int(wire & 0x7)
  1794. if wireType == 4 {
  1795. return fmt.Errorf("proto: RecallRequest: wiretype end group for non-group")
  1796. }
  1797. if fieldNum <= 0 {
  1798. return fmt.Errorf("proto: RecallRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1799. }
  1800. switch fieldNum {
  1801. case 1:
  1802. if wireType != 0 {
  1803. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  1804. }
  1805. m.MID = 0
  1806. for shift := uint(0); ; shift += 7 {
  1807. if shift >= 64 {
  1808. return ErrIntOverflowApi
  1809. }
  1810. if iNdEx >= l {
  1811. return io.ErrUnexpectedEOF
  1812. }
  1813. b := dAtA[iNdEx]
  1814. iNdEx++
  1815. m.MID |= (int64(b) & 0x7F) << shift
  1816. if b < 0x80 {
  1817. break
  1818. }
  1819. }
  1820. case 2:
  1821. if wireType != 2 {
  1822. return fmt.Errorf("proto: wrong wireType = %d for field BUVID", wireType)
  1823. }
  1824. var stringLen uint64
  1825. for shift := uint(0); ; shift += 7 {
  1826. if shift >= 64 {
  1827. return ErrIntOverflowApi
  1828. }
  1829. if iNdEx >= l {
  1830. return io.ErrUnexpectedEOF
  1831. }
  1832. b := dAtA[iNdEx]
  1833. iNdEx++
  1834. stringLen |= (uint64(b) & 0x7F) << shift
  1835. if b < 0x80 {
  1836. break
  1837. }
  1838. }
  1839. intStringLen := int(stringLen)
  1840. if intStringLen < 0 {
  1841. return ErrInvalidLengthApi
  1842. }
  1843. postIndex := iNdEx + intStringLen
  1844. if postIndex > l {
  1845. return io.ErrUnexpectedEOF
  1846. }
  1847. m.BUVID = string(dAtA[iNdEx:postIndex])
  1848. iNdEx = postIndex
  1849. case 3:
  1850. if wireType != 2 {
  1851. return fmt.Errorf("proto: wrong wireType = %d for field Infos", wireType)
  1852. }
  1853. var msglen int
  1854. for shift := uint(0); ; shift += 7 {
  1855. if shift >= 64 {
  1856. return ErrIntOverflowApi
  1857. }
  1858. if iNdEx >= l {
  1859. return io.ErrUnexpectedEOF
  1860. }
  1861. b := dAtA[iNdEx]
  1862. iNdEx++
  1863. msglen |= (int(b) & 0x7F) << shift
  1864. if b < 0x80 {
  1865. break
  1866. }
  1867. }
  1868. if msglen < 0 {
  1869. return ErrInvalidLengthApi
  1870. }
  1871. postIndex := iNdEx + msglen
  1872. if postIndex > l {
  1873. return io.ErrUnexpectedEOF
  1874. }
  1875. m.Infos = append(m.Infos, &RecallInfo{})
  1876. if err := m.Infos[len(m.Infos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1877. return err
  1878. }
  1879. iNdEx = postIndex
  1880. case 4:
  1881. if wireType != 0 {
  1882. return fmt.Errorf("proto: wrong wireType = %d for field TotalLimit", wireType)
  1883. }
  1884. m.TotalLimit = 0
  1885. for shift := uint(0); ; shift += 7 {
  1886. if shift >= 64 {
  1887. return ErrIntOverflowApi
  1888. }
  1889. if iNdEx >= l {
  1890. return io.ErrUnexpectedEOF
  1891. }
  1892. b := dAtA[iNdEx]
  1893. iNdEx++
  1894. m.TotalLimit |= (int32(b) & 0x7F) << shift
  1895. if b < 0x80 {
  1896. break
  1897. }
  1898. }
  1899. default:
  1900. iNdEx = preIndex
  1901. skippy, err := skipApi(dAtA[iNdEx:])
  1902. if err != nil {
  1903. return err
  1904. }
  1905. if skippy < 0 {
  1906. return ErrInvalidLengthApi
  1907. }
  1908. if (iNdEx + skippy) > l {
  1909. return io.ErrUnexpectedEOF
  1910. }
  1911. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1912. iNdEx += skippy
  1913. }
  1914. }
  1915. if iNdEx > l {
  1916. return io.ErrUnexpectedEOF
  1917. }
  1918. return nil
  1919. }
  1920. func (m *InvertedIndex) Unmarshal(dAtA []byte) error {
  1921. l := len(dAtA)
  1922. iNdEx := 0
  1923. for iNdEx < l {
  1924. preIndex := iNdEx
  1925. var wire uint64
  1926. for shift := uint(0); ; shift += 7 {
  1927. if shift >= 64 {
  1928. return ErrIntOverflowApi
  1929. }
  1930. if iNdEx >= l {
  1931. return io.ErrUnexpectedEOF
  1932. }
  1933. b := dAtA[iNdEx]
  1934. iNdEx++
  1935. wire |= (uint64(b) & 0x7F) << shift
  1936. if b < 0x80 {
  1937. break
  1938. }
  1939. }
  1940. fieldNum := int32(wire >> 3)
  1941. wireType := int(wire & 0x7)
  1942. if wireType == 4 {
  1943. return fmt.Errorf("proto: InvertedIndex: wiretype end group for non-group")
  1944. }
  1945. if fieldNum <= 0 {
  1946. return fmt.Errorf("proto: InvertedIndex: illegal tag %d (wire type %d)", fieldNum, wire)
  1947. }
  1948. switch fieldNum {
  1949. case 1:
  1950. if wireType != 2 {
  1951. return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
  1952. }
  1953. var stringLen uint64
  1954. for shift := uint(0); ; shift += 7 {
  1955. if shift >= 64 {
  1956. return ErrIntOverflowApi
  1957. }
  1958. if iNdEx >= l {
  1959. return io.ErrUnexpectedEOF
  1960. }
  1961. b := dAtA[iNdEx]
  1962. iNdEx++
  1963. stringLen |= (uint64(b) & 0x7F) << shift
  1964. if b < 0x80 {
  1965. break
  1966. }
  1967. }
  1968. intStringLen := int(stringLen)
  1969. if intStringLen < 0 {
  1970. return ErrInvalidLengthApi
  1971. }
  1972. postIndex := iNdEx + intStringLen
  1973. if postIndex > l {
  1974. return io.ErrUnexpectedEOF
  1975. }
  1976. m.Index = string(dAtA[iNdEx:postIndex])
  1977. iNdEx = postIndex
  1978. case 2:
  1979. if wireType != 2 {
  1980. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1981. }
  1982. var stringLen uint64
  1983. for shift := uint(0); ; shift += 7 {
  1984. if shift >= 64 {
  1985. return ErrIntOverflowApi
  1986. }
  1987. if iNdEx >= l {
  1988. return io.ErrUnexpectedEOF
  1989. }
  1990. b := dAtA[iNdEx]
  1991. iNdEx++
  1992. stringLen |= (uint64(b) & 0x7F) << shift
  1993. if b < 0x80 {
  1994. break
  1995. }
  1996. }
  1997. intStringLen := int(stringLen)
  1998. if intStringLen < 0 {
  1999. return ErrInvalidLengthApi
  2000. }
  2001. postIndex := iNdEx + intStringLen
  2002. if postIndex > l {
  2003. return io.ErrUnexpectedEOF
  2004. }
  2005. m.Name = string(dAtA[iNdEx:postIndex])
  2006. iNdEx = postIndex
  2007. case 3:
  2008. if wireType != 5 {
  2009. return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
  2010. }
  2011. var v uint32
  2012. if (iNdEx + 4) > l {
  2013. return io.ErrUnexpectedEOF
  2014. }
  2015. v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
  2016. iNdEx += 4
  2017. m.Score = float32(math.Float32frombits(v))
  2018. default:
  2019. iNdEx = preIndex
  2020. skippy, err := skipApi(dAtA[iNdEx:])
  2021. if err != nil {
  2022. return err
  2023. }
  2024. if skippy < 0 {
  2025. return ErrInvalidLengthApi
  2026. }
  2027. if (iNdEx + skippy) > l {
  2028. return io.ErrUnexpectedEOF
  2029. }
  2030. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2031. iNdEx += skippy
  2032. }
  2033. }
  2034. if iNdEx > l {
  2035. return io.ErrUnexpectedEOF
  2036. }
  2037. return nil
  2038. }
  2039. func (m *Video) Unmarshal(dAtA []byte) error {
  2040. l := len(dAtA)
  2041. iNdEx := 0
  2042. for iNdEx < l {
  2043. preIndex := iNdEx
  2044. var wire uint64
  2045. for shift := uint(0); ; shift += 7 {
  2046. if shift >= 64 {
  2047. return ErrIntOverflowApi
  2048. }
  2049. if iNdEx >= l {
  2050. return io.ErrUnexpectedEOF
  2051. }
  2052. b := dAtA[iNdEx]
  2053. iNdEx++
  2054. wire |= (uint64(b) & 0x7F) << shift
  2055. if b < 0x80 {
  2056. break
  2057. }
  2058. }
  2059. fieldNum := int32(wire >> 3)
  2060. wireType := int(wire & 0x7)
  2061. if wireType == 4 {
  2062. return fmt.Errorf("proto: Video: wiretype end group for non-group")
  2063. }
  2064. if fieldNum <= 0 {
  2065. return fmt.Errorf("proto: Video: illegal tag %d (wire type %d)", fieldNum, wire)
  2066. }
  2067. switch fieldNum {
  2068. case 1:
  2069. if wireType != 0 {
  2070. return fmt.Errorf("proto: wrong wireType = %d for field SVID", wireType)
  2071. }
  2072. m.SVID = 0
  2073. for shift := uint(0); ; shift += 7 {
  2074. if shift >= 64 {
  2075. return ErrIntOverflowApi
  2076. }
  2077. if iNdEx >= l {
  2078. return io.ErrUnexpectedEOF
  2079. }
  2080. b := dAtA[iNdEx]
  2081. iNdEx++
  2082. m.SVID |= (int64(b) & 0x7F) << shift
  2083. if b < 0x80 {
  2084. break
  2085. }
  2086. }
  2087. case 2:
  2088. if wireType != 5 {
  2089. return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
  2090. }
  2091. var v uint32
  2092. if (iNdEx + 4) > l {
  2093. return io.ErrUnexpectedEOF
  2094. }
  2095. v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
  2096. iNdEx += 4
  2097. m.Score = float32(math.Float32frombits(v))
  2098. case 3:
  2099. if wireType != 2 {
  2100. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2101. }
  2102. var stringLen uint64
  2103. for shift := uint(0); ; shift += 7 {
  2104. if shift >= 64 {
  2105. return ErrIntOverflowApi
  2106. }
  2107. if iNdEx >= l {
  2108. return io.ErrUnexpectedEOF
  2109. }
  2110. b := dAtA[iNdEx]
  2111. iNdEx++
  2112. stringLen |= (uint64(b) & 0x7F) << shift
  2113. if b < 0x80 {
  2114. break
  2115. }
  2116. }
  2117. intStringLen := int(stringLen)
  2118. if intStringLen < 0 {
  2119. return ErrInvalidLengthApi
  2120. }
  2121. postIndex := iNdEx + intStringLen
  2122. if postIndex > l {
  2123. return io.ErrUnexpectedEOF
  2124. }
  2125. m.Name = string(dAtA[iNdEx:postIndex])
  2126. iNdEx = postIndex
  2127. case 4:
  2128. if wireType != 2 {
  2129. return fmt.Errorf("proto: wrong wireType = %d for field ForwardIndex", wireType)
  2130. }
  2131. var msglen int
  2132. for shift := uint(0); ; shift += 7 {
  2133. if shift >= 64 {
  2134. return ErrIntOverflowApi
  2135. }
  2136. if iNdEx >= l {
  2137. return io.ErrUnexpectedEOF
  2138. }
  2139. b := dAtA[iNdEx]
  2140. iNdEx++
  2141. msglen |= (int(b) & 0x7F) << shift
  2142. if b < 0x80 {
  2143. break
  2144. }
  2145. }
  2146. if msglen < 0 {
  2147. return ErrInvalidLengthApi
  2148. }
  2149. postIndex := iNdEx + msglen
  2150. if postIndex > l {
  2151. return io.ErrUnexpectedEOF
  2152. }
  2153. if m.ForwardIndex == nil {
  2154. m.ForwardIndex = &proto1.ForwardIndex{}
  2155. }
  2156. if err := m.ForwardIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2157. return err
  2158. }
  2159. iNdEx = postIndex
  2160. case 5:
  2161. if wireType != 2 {
  2162. return fmt.Errorf("proto: wrong wireType = %d for field InvertedIndex", wireType)
  2163. }
  2164. var stringLen uint64
  2165. for shift := uint(0); ; shift += 7 {
  2166. if shift >= 64 {
  2167. return ErrIntOverflowApi
  2168. }
  2169. if iNdEx >= l {
  2170. return io.ErrUnexpectedEOF
  2171. }
  2172. b := dAtA[iNdEx]
  2173. iNdEx++
  2174. stringLen |= (uint64(b) & 0x7F) << shift
  2175. if b < 0x80 {
  2176. break
  2177. }
  2178. }
  2179. intStringLen := int(stringLen)
  2180. if intStringLen < 0 {
  2181. return ErrInvalidLengthApi
  2182. }
  2183. postIndex := iNdEx + intStringLen
  2184. if postIndex > l {
  2185. return io.ErrUnexpectedEOF
  2186. }
  2187. m.InvertedIndex = string(dAtA[iNdEx:postIndex])
  2188. iNdEx = postIndex
  2189. case 6:
  2190. if wireType != 2 {
  2191. return fmt.Errorf("proto: wrong wireType = %d for field InvertedIndexes", wireType)
  2192. }
  2193. var msglen int
  2194. for shift := uint(0); ; shift += 7 {
  2195. if shift >= 64 {
  2196. return ErrIntOverflowApi
  2197. }
  2198. if iNdEx >= l {
  2199. return io.ErrUnexpectedEOF
  2200. }
  2201. b := dAtA[iNdEx]
  2202. iNdEx++
  2203. msglen |= (int(b) & 0x7F) << shift
  2204. if b < 0x80 {
  2205. break
  2206. }
  2207. }
  2208. if msglen < 0 {
  2209. return ErrInvalidLengthApi
  2210. }
  2211. postIndex := iNdEx + msglen
  2212. if postIndex > l {
  2213. return io.ErrUnexpectedEOF
  2214. }
  2215. m.InvertedIndexes = append(m.InvertedIndexes, &InvertedIndex{})
  2216. if err := m.InvertedIndexes[len(m.InvertedIndexes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2217. return err
  2218. }
  2219. iNdEx = postIndex
  2220. default:
  2221. iNdEx = preIndex
  2222. skippy, err := skipApi(dAtA[iNdEx:])
  2223. if err != nil {
  2224. return err
  2225. }
  2226. if skippy < 0 {
  2227. return ErrInvalidLengthApi
  2228. }
  2229. if (iNdEx + skippy) > l {
  2230. return io.ErrUnexpectedEOF
  2231. }
  2232. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2233. iNdEx += skippy
  2234. }
  2235. }
  2236. if iNdEx > l {
  2237. return io.ErrUnexpectedEOF
  2238. }
  2239. return nil
  2240. }
  2241. func (m *RecallSrc) Unmarshal(dAtA []byte) error {
  2242. l := len(dAtA)
  2243. iNdEx := 0
  2244. for iNdEx < l {
  2245. preIndex := iNdEx
  2246. var wire uint64
  2247. for shift := uint(0); ; shift += 7 {
  2248. if shift >= 64 {
  2249. return ErrIntOverflowApi
  2250. }
  2251. if iNdEx >= l {
  2252. return io.ErrUnexpectedEOF
  2253. }
  2254. b := dAtA[iNdEx]
  2255. iNdEx++
  2256. wire |= (uint64(b) & 0x7F) << shift
  2257. if b < 0x80 {
  2258. break
  2259. }
  2260. }
  2261. fieldNum := int32(wire >> 3)
  2262. wireType := int(wire & 0x7)
  2263. if wireType == 4 {
  2264. return fmt.Errorf("proto: RecallSrc: wiretype end group for non-group")
  2265. }
  2266. if fieldNum <= 0 {
  2267. return fmt.Errorf("proto: RecallSrc: illegal tag %d (wire type %d)", fieldNum, wire)
  2268. }
  2269. switch fieldNum {
  2270. case 1:
  2271. if wireType != 0 {
  2272. return fmt.Errorf("proto: wrong wireType = %d for field TotalHit", wireType)
  2273. }
  2274. m.TotalHit = 0
  2275. for shift := uint(0); ; shift += 7 {
  2276. if shift >= 64 {
  2277. return ErrIntOverflowApi
  2278. }
  2279. if iNdEx >= l {
  2280. return io.ErrUnexpectedEOF
  2281. }
  2282. b := dAtA[iNdEx]
  2283. iNdEx++
  2284. m.TotalHit |= (int32(b) & 0x7F) << shift
  2285. if b < 0x80 {
  2286. break
  2287. }
  2288. }
  2289. case 2:
  2290. if wireType != 0 {
  2291. return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType)
  2292. }
  2293. m.Filter = 0
  2294. for shift := uint(0); ; shift += 7 {
  2295. if shift >= 64 {
  2296. return ErrIntOverflowApi
  2297. }
  2298. if iNdEx >= l {
  2299. return io.ErrUnexpectedEOF
  2300. }
  2301. b := dAtA[iNdEx]
  2302. iNdEx++
  2303. m.Filter |= (int32(b) & 0x7F) << shift
  2304. if b < 0x80 {
  2305. break
  2306. }
  2307. }
  2308. case 3:
  2309. if wireType != 0 {
  2310. return fmt.Errorf("proto: wrong wireType = %d for field Final", wireType)
  2311. }
  2312. m.Final = 0
  2313. for shift := uint(0); ; shift += 7 {
  2314. if shift >= 64 {
  2315. return ErrIntOverflowApi
  2316. }
  2317. if iNdEx >= l {
  2318. return io.ErrUnexpectedEOF
  2319. }
  2320. b := dAtA[iNdEx]
  2321. iNdEx++
  2322. m.Final |= (int32(b) & 0x7F) << shift
  2323. if b < 0x80 {
  2324. break
  2325. }
  2326. }
  2327. case 4:
  2328. if wireType != 2 {
  2329. return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType)
  2330. }
  2331. var stringLen uint64
  2332. for shift := uint(0); ; shift += 7 {
  2333. if shift >= 64 {
  2334. return ErrIntOverflowApi
  2335. }
  2336. if iNdEx >= l {
  2337. return io.ErrUnexpectedEOF
  2338. }
  2339. b := dAtA[iNdEx]
  2340. iNdEx++
  2341. stringLen |= (uint64(b) & 0x7F) << shift
  2342. if b < 0x80 {
  2343. break
  2344. }
  2345. }
  2346. intStringLen := int(stringLen)
  2347. if intStringLen < 0 {
  2348. return ErrInvalidLengthApi
  2349. }
  2350. postIndex := iNdEx + intStringLen
  2351. if postIndex > l {
  2352. return io.ErrUnexpectedEOF
  2353. }
  2354. m.Tag = string(dAtA[iNdEx:postIndex])
  2355. iNdEx = postIndex
  2356. case 5:
  2357. if wireType != 2 {
  2358. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2359. }
  2360. var stringLen uint64
  2361. for shift := uint(0); ; shift += 7 {
  2362. if shift >= 64 {
  2363. return ErrIntOverflowApi
  2364. }
  2365. if iNdEx >= l {
  2366. return io.ErrUnexpectedEOF
  2367. }
  2368. b := dAtA[iNdEx]
  2369. iNdEx++
  2370. stringLen |= (uint64(b) & 0x7F) << shift
  2371. if b < 0x80 {
  2372. break
  2373. }
  2374. }
  2375. intStringLen := int(stringLen)
  2376. if intStringLen < 0 {
  2377. return ErrInvalidLengthApi
  2378. }
  2379. postIndex := iNdEx + intStringLen
  2380. if postIndex > l {
  2381. return io.ErrUnexpectedEOF
  2382. }
  2383. m.Name = string(dAtA[iNdEx:postIndex])
  2384. iNdEx = postIndex
  2385. default:
  2386. iNdEx = preIndex
  2387. skippy, err := skipApi(dAtA[iNdEx:])
  2388. if err != nil {
  2389. return err
  2390. }
  2391. if skippy < 0 {
  2392. return ErrInvalidLengthApi
  2393. }
  2394. if (iNdEx + skippy) > l {
  2395. return io.ErrUnexpectedEOF
  2396. }
  2397. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2398. iNdEx += skippy
  2399. }
  2400. }
  2401. if iNdEx > l {
  2402. return io.ErrUnexpectedEOF
  2403. }
  2404. return nil
  2405. }
  2406. func (m *RecallResponse) Unmarshal(dAtA []byte) error {
  2407. l := len(dAtA)
  2408. iNdEx := 0
  2409. for iNdEx < l {
  2410. preIndex := iNdEx
  2411. var wire uint64
  2412. for shift := uint(0); ; shift += 7 {
  2413. if shift >= 64 {
  2414. return ErrIntOverflowApi
  2415. }
  2416. if iNdEx >= l {
  2417. return io.ErrUnexpectedEOF
  2418. }
  2419. b := dAtA[iNdEx]
  2420. iNdEx++
  2421. wire |= (uint64(b) & 0x7F) << shift
  2422. if b < 0x80 {
  2423. break
  2424. }
  2425. }
  2426. fieldNum := int32(wire >> 3)
  2427. wireType := int(wire & 0x7)
  2428. if wireType == 4 {
  2429. return fmt.Errorf("proto: RecallResponse: wiretype end group for non-group")
  2430. }
  2431. if fieldNum <= 0 {
  2432. return fmt.Errorf("proto: RecallResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2433. }
  2434. switch fieldNum {
  2435. case 1:
  2436. if wireType != 0 {
  2437. return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
  2438. }
  2439. m.Total = 0
  2440. for shift := uint(0); ; shift += 7 {
  2441. if shift >= 64 {
  2442. return ErrIntOverflowApi
  2443. }
  2444. if iNdEx >= l {
  2445. return io.ErrUnexpectedEOF
  2446. }
  2447. b := dAtA[iNdEx]
  2448. iNdEx++
  2449. m.Total |= (int32(b) & 0x7F) << shift
  2450. if b < 0x80 {
  2451. break
  2452. }
  2453. }
  2454. case 2:
  2455. if wireType != 2 {
  2456. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2457. }
  2458. var msglen int
  2459. for shift := uint(0); ; shift += 7 {
  2460. if shift >= 64 {
  2461. return ErrIntOverflowApi
  2462. }
  2463. if iNdEx >= l {
  2464. return io.ErrUnexpectedEOF
  2465. }
  2466. b := dAtA[iNdEx]
  2467. iNdEx++
  2468. msglen |= (int(b) & 0x7F) << shift
  2469. if b < 0x80 {
  2470. break
  2471. }
  2472. }
  2473. if msglen < 0 {
  2474. return ErrInvalidLengthApi
  2475. }
  2476. postIndex := iNdEx + msglen
  2477. if postIndex > l {
  2478. return io.ErrUnexpectedEOF
  2479. }
  2480. m.List = append(m.List, &Video{})
  2481. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2482. return err
  2483. }
  2484. iNdEx = postIndex
  2485. case 3:
  2486. if wireType != 2 {
  2487. return fmt.Errorf("proto: wrong wireType = %d for field SrcInfo", wireType)
  2488. }
  2489. var msglen int
  2490. for shift := uint(0); ; shift += 7 {
  2491. if shift >= 64 {
  2492. return ErrIntOverflowApi
  2493. }
  2494. if iNdEx >= l {
  2495. return io.ErrUnexpectedEOF
  2496. }
  2497. b := dAtA[iNdEx]
  2498. iNdEx++
  2499. msglen |= (int(b) & 0x7F) << shift
  2500. if b < 0x80 {
  2501. break
  2502. }
  2503. }
  2504. if msglen < 0 {
  2505. return ErrInvalidLengthApi
  2506. }
  2507. postIndex := iNdEx + msglen
  2508. if postIndex > l {
  2509. return io.ErrUnexpectedEOF
  2510. }
  2511. m.SrcInfo = append(m.SrcInfo, &RecallSrc{})
  2512. if err := m.SrcInfo[len(m.SrcInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2513. return err
  2514. }
  2515. iNdEx = postIndex
  2516. default:
  2517. iNdEx = preIndex
  2518. skippy, err := skipApi(dAtA[iNdEx:])
  2519. if err != nil {
  2520. return err
  2521. }
  2522. if skippy < 0 {
  2523. return ErrInvalidLengthApi
  2524. }
  2525. if (iNdEx + skippy) > l {
  2526. return io.ErrUnexpectedEOF
  2527. }
  2528. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2529. iNdEx += skippy
  2530. }
  2531. }
  2532. if iNdEx > l {
  2533. return io.ErrUnexpectedEOF
  2534. }
  2535. return nil
  2536. }
  2537. func (m *VideoIndexRequest) Unmarshal(dAtA []byte) error {
  2538. l := len(dAtA)
  2539. iNdEx := 0
  2540. for iNdEx < l {
  2541. preIndex := iNdEx
  2542. var wire uint64
  2543. for shift := uint(0); ; shift += 7 {
  2544. if shift >= 64 {
  2545. return ErrIntOverflowApi
  2546. }
  2547. if iNdEx >= l {
  2548. return io.ErrUnexpectedEOF
  2549. }
  2550. b := dAtA[iNdEx]
  2551. iNdEx++
  2552. wire |= (uint64(b) & 0x7F) << shift
  2553. if b < 0x80 {
  2554. break
  2555. }
  2556. }
  2557. fieldNum := int32(wire >> 3)
  2558. wireType := int(wire & 0x7)
  2559. if wireType == 4 {
  2560. return fmt.Errorf("proto: VideoIndexRequest: wiretype end group for non-group")
  2561. }
  2562. if fieldNum <= 0 {
  2563. return fmt.Errorf("proto: VideoIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2564. }
  2565. switch fieldNum {
  2566. case 1:
  2567. if wireType == 0 {
  2568. var v int64
  2569. for shift := uint(0); ; shift += 7 {
  2570. if shift >= 64 {
  2571. return ErrIntOverflowApi
  2572. }
  2573. if iNdEx >= l {
  2574. return io.ErrUnexpectedEOF
  2575. }
  2576. b := dAtA[iNdEx]
  2577. iNdEx++
  2578. v |= (int64(b) & 0x7F) << shift
  2579. if b < 0x80 {
  2580. break
  2581. }
  2582. }
  2583. m.SVIDs = append(m.SVIDs, v)
  2584. } else if wireType == 2 {
  2585. var packedLen int
  2586. for shift := uint(0); ; shift += 7 {
  2587. if shift >= 64 {
  2588. return ErrIntOverflowApi
  2589. }
  2590. if iNdEx >= l {
  2591. return io.ErrUnexpectedEOF
  2592. }
  2593. b := dAtA[iNdEx]
  2594. iNdEx++
  2595. packedLen |= (int(b) & 0x7F) << shift
  2596. if b < 0x80 {
  2597. break
  2598. }
  2599. }
  2600. if packedLen < 0 {
  2601. return ErrInvalidLengthApi
  2602. }
  2603. postIndex := iNdEx + packedLen
  2604. if postIndex > l {
  2605. return io.ErrUnexpectedEOF
  2606. }
  2607. for iNdEx < postIndex {
  2608. var v int64
  2609. for shift := uint(0); ; shift += 7 {
  2610. if shift >= 64 {
  2611. return ErrIntOverflowApi
  2612. }
  2613. if iNdEx >= l {
  2614. return io.ErrUnexpectedEOF
  2615. }
  2616. b := dAtA[iNdEx]
  2617. iNdEx++
  2618. v |= (int64(b) & 0x7F) << shift
  2619. if b < 0x80 {
  2620. break
  2621. }
  2622. }
  2623. m.SVIDs = append(m.SVIDs, v)
  2624. }
  2625. } else {
  2626. return fmt.Errorf("proto: wrong wireType = %d for field SVIDs", wireType)
  2627. }
  2628. default:
  2629. iNdEx = preIndex
  2630. skippy, err := skipApi(dAtA[iNdEx:])
  2631. if err != nil {
  2632. return err
  2633. }
  2634. if skippy < 0 {
  2635. return ErrInvalidLengthApi
  2636. }
  2637. if (iNdEx + skippy) > l {
  2638. return io.ErrUnexpectedEOF
  2639. }
  2640. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2641. iNdEx += skippy
  2642. }
  2643. }
  2644. if iNdEx > l {
  2645. return io.ErrUnexpectedEOF
  2646. }
  2647. return nil
  2648. }
  2649. func (m *VideoIndexResponse) Unmarshal(dAtA []byte) error {
  2650. l := len(dAtA)
  2651. iNdEx := 0
  2652. for iNdEx < l {
  2653. preIndex := iNdEx
  2654. var wire uint64
  2655. for shift := uint(0); ; shift += 7 {
  2656. if shift >= 64 {
  2657. return ErrIntOverflowApi
  2658. }
  2659. if iNdEx >= l {
  2660. return io.ErrUnexpectedEOF
  2661. }
  2662. b := dAtA[iNdEx]
  2663. iNdEx++
  2664. wire |= (uint64(b) & 0x7F) << shift
  2665. if b < 0x80 {
  2666. break
  2667. }
  2668. }
  2669. fieldNum := int32(wire >> 3)
  2670. wireType := int(wire & 0x7)
  2671. if wireType == 4 {
  2672. return fmt.Errorf("proto: VideoIndexResponse: wiretype end group for non-group")
  2673. }
  2674. if fieldNum <= 0 {
  2675. return fmt.Errorf("proto: VideoIndexResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2676. }
  2677. switch fieldNum {
  2678. case 1:
  2679. if wireType != 2 {
  2680. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2681. }
  2682. var msglen int
  2683. for shift := uint(0); ; shift += 7 {
  2684. if shift >= 64 {
  2685. return ErrIntOverflowApi
  2686. }
  2687. if iNdEx >= l {
  2688. return io.ErrUnexpectedEOF
  2689. }
  2690. b := dAtA[iNdEx]
  2691. iNdEx++
  2692. msglen |= (int(b) & 0x7F) << shift
  2693. if b < 0x80 {
  2694. break
  2695. }
  2696. }
  2697. if msglen < 0 {
  2698. return ErrInvalidLengthApi
  2699. }
  2700. postIndex := iNdEx + msglen
  2701. if postIndex > l {
  2702. return io.ErrUnexpectedEOF
  2703. }
  2704. m.List = append(m.List, &proto1.ForwardIndex{})
  2705. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2706. return err
  2707. }
  2708. iNdEx = postIndex
  2709. default:
  2710. iNdEx = preIndex
  2711. skippy, err := skipApi(dAtA[iNdEx:])
  2712. if err != nil {
  2713. return err
  2714. }
  2715. if skippy < 0 {
  2716. return ErrInvalidLengthApi
  2717. }
  2718. if (iNdEx + skippy) > l {
  2719. return io.ErrUnexpectedEOF
  2720. }
  2721. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2722. iNdEx += skippy
  2723. }
  2724. }
  2725. if iNdEx > l {
  2726. return io.ErrUnexpectedEOF
  2727. }
  2728. return nil
  2729. }
  2730. func (m *NewIncomeVideoRequest) Unmarshal(dAtA []byte) error {
  2731. l := len(dAtA)
  2732. iNdEx := 0
  2733. for iNdEx < l {
  2734. preIndex := iNdEx
  2735. var wire uint64
  2736. for shift := uint(0); ; shift += 7 {
  2737. if shift >= 64 {
  2738. return ErrIntOverflowApi
  2739. }
  2740. if iNdEx >= l {
  2741. return io.ErrUnexpectedEOF
  2742. }
  2743. b := dAtA[iNdEx]
  2744. iNdEx++
  2745. wire |= (uint64(b) & 0x7F) << shift
  2746. if b < 0x80 {
  2747. break
  2748. }
  2749. }
  2750. fieldNum := int32(wire >> 3)
  2751. wireType := int(wire & 0x7)
  2752. if wireType == 4 {
  2753. return fmt.Errorf("proto: NewIncomeVideoRequest: wiretype end group for non-group")
  2754. }
  2755. if fieldNum <= 0 {
  2756. return fmt.Errorf("proto: NewIncomeVideoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2757. }
  2758. switch fieldNum {
  2759. case 1:
  2760. if wireType == 0 {
  2761. var v int64
  2762. for shift := uint(0); ; shift += 7 {
  2763. if shift >= 64 {
  2764. return ErrIntOverflowApi
  2765. }
  2766. if iNdEx >= l {
  2767. return io.ErrUnexpectedEOF
  2768. }
  2769. b := dAtA[iNdEx]
  2770. iNdEx++
  2771. v |= (int64(b) & 0x7F) << shift
  2772. if b < 0x80 {
  2773. break
  2774. }
  2775. }
  2776. m.SVIDs = append(m.SVIDs, v)
  2777. } else if wireType == 2 {
  2778. var packedLen int
  2779. for shift := uint(0); ; shift += 7 {
  2780. if shift >= 64 {
  2781. return ErrIntOverflowApi
  2782. }
  2783. if iNdEx >= l {
  2784. return io.ErrUnexpectedEOF
  2785. }
  2786. b := dAtA[iNdEx]
  2787. iNdEx++
  2788. packedLen |= (int(b) & 0x7F) << shift
  2789. if b < 0x80 {
  2790. break
  2791. }
  2792. }
  2793. if packedLen < 0 {
  2794. return ErrInvalidLengthApi
  2795. }
  2796. postIndex := iNdEx + packedLen
  2797. if postIndex > l {
  2798. return io.ErrUnexpectedEOF
  2799. }
  2800. for iNdEx < postIndex {
  2801. var v int64
  2802. for shift := uint(0); ; shift += 7 {
  2803. if shift >= 64 {
  2804. return ErrIntOverflowApi
  2805. }
  2806. if iNdEx >= l {
  2807. return io.ErrUnexpectedEOF
  2808. }
  2809. b := dAtA[iNdEx]
  2810. iNdEx++
  2811. v |= (int64(b) & 0x7F) << shift
  2812. if b < 0x80 {
  2813. break
  2814. }
  2815. }
  2816. m.SVIDs = append(m.SVIDs, v)
  2817. }
  2818. } else {
  2819. return fmt.Errorf("proto: wrong wireType = %d for field SVIDs", wireType)
  2820. }
  2821. case 2:
  2822. if wireType != 2 {
  2823. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  2824. }
  2825. var stringLen uint64
  2826. for shift := uint(0); ; shift += 7 {
  2827. if shift >= 64 {
  2828. return ErrIntOverflowApi
  2829. }
  2830. if iNdEx >= l {
  2831. return io.ErrUnexpectedEOF
  2832. }
  2833. b := dAtA[iNdEx]
  2834. iNdEx++
  2835. stringLen |= (uint64(b) & 0x7F) << shift
  2836. if b < 0x80 {
  2837. break
  2838. }
  2839. }
  2840. intStringLen := int(stringLen)
  2841. if intStringLen < 0 {
  2842. return ErrInvalidLengthApi
  2843. }
  2844. postIndex := iNdEx + intStringLen
  2845. if postIndex > l {
  2846. return io.ErrUnexpectedEOF
  2847. }
  2848. m.Key = string(dAtA[iNdEx:postIndex])
  2849. iNdEx = postIndex
  2850. default:
  2851. iNdEx = preIndex
  2852. skippy, err := skipApi(dAtA[iNdEx:])
  2853. if err != nil {
  2854. return err
  2855. }
  2856. if skippy < 0 {
  2857. return ErrInvalidLengthApi
  2858. }
  2859. if (iNdEx + skippy) > l {
  2860. return io.ErrUnexpectedEOF
  2861. }
  2862. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2863. iNdEx += skippy
  2864. }
  2865. }
  2866. if iNdEx > l {
  2867. return io.ErrUnexpectedEOF
  2868. }
  2869. return nil
  2870. }
  2871. func (m *VideosByIndexRequest) Unmarshal(dAtA []byte) error {
  2872. l := len(dAtA)
  2873. iNdEx := 0
  2874. for iNdEx < l {
  2875. preIndex := iNdEx
  2876. var wire uint64
  2877. for shift := uint(0); ; shift += 7 {
  2878. if shift >= 64 {
  2879. return ErrIntOverflowApi
  2880. }
  2881. if iNdEx >= l {
  2882. return io.ErrUnexpectedEOF
  2883. }
  2884. b := dAtA[iNdEx]
  2885. iNdEx++
  2886. wire |= (uint64(b) & 0x7F) << shift
  2887. if b < 0x80 {
  2888. break
  2889. }
  2890. }
  2891. fieldNum := int32(wire >> 3)
  2892. wireType := int(wire & 0x7)
  2893. if wireType == 4 {
  2894. return fmt.Errorf("proto: VideosByIndexRequest: wiretype end group for non-group")
  2895. }
  2896. if fieldNum <= 0 {
  2897. return fmt.Errorf("proto: VideosByIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2898. }
  2899. switch fieldNum {
  2900. case 1:
  2901. if wireType != 2 {
  2902. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  2903. }
  2904. var stringLen uint64
  2905. for shift := uint(0); ; shift += 7 {
  2906. if shift >= 64 {
  2907. return ErrIntOverflowApi
  2908. }
  2909. if iNdEx >= l {
  2910. return io.ErrUnexpectedEOF
  2911. }
  2912. b := dAtA[iNdEx]
  2913. iNdEx++
  2914. stringLen |= (uint64(b) & 0x7F) << shift
  2915. if b < 0x80 {
  2916. break
  2917. }
  2918. }
  2919. intStringLen := int(stringLen)
  2920. if intStringLen < 0 {
  2921. return ErrInvalidLengthApi
  2922. }
  2923. postIndex := iNdEx + intStringLen
  2924. if postIndex > l {
  2925. return io.ErrUnexpectedEOF
  2926. }
  2927. m.Key = string(dAtA[iNdEx:postIndex])
  2928. iNdEx = postIndex
  2929. default:
  2930. iNdEx = preIndex
  2931. skippy, err := skipApi(dAtA[iNdEx:])
  2932. if err != nil {
  2933. return err
  2934. }
  2935. if skippy < 0 {
  2936. return ErrInvalidLengthApi
  2937. }
  2938. if (iNdEx + skippy) > l {
  2939. return io.ErrUnexpectedEOF
  2940. }
  2941. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2942. iNdEx += skippy
  2943. }
  2944. }
  2945. if iNdEx > l {
  2946. return io.ErrUnexpectedEOF
  2947. }
  2948. return nil
  2949. }
  2950. func (m *VideosByIndexResponse) Unmarshal(dAtA []byte) error {
  2951. l := len(dAtA)
  2952. iNdEx := 0
  2953. for iNdEx < l {
  2954. preIndex := iNdEx
  2955. var wire uint64
  2956. for shift := uint(0); ; shift += 7 {
  2957. if shift >= 64 {
  2958. return ErrIntOverflowApi
  2959. }
  2960. if iNdEx >= l {
  2961. return io.ErrUnexpectedEOF
  2962. }
  2963. b := dAtA[iNdEx]
  2964. iNdEx++
  2965. wire |= (uint64(b) & 0x7F) << shift
  2966. if b < 0x80 {
  2967. break
  2968. }
  2969. }
  2970. fieldNum := int32(wire >> 3)
  2971. wireType := int(wire & 0x7)
  2972. if wireType == 4 {
  2973. return fmt.Errorf("proto: VideosByIndexResponse: wiretype end group for non-group")
  2974. }
  2975. if fieldNum <= 0 {
  2976. return fmt.Errorf("proto: VideosByIndexResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2977. }
  2978. switch fieldNum {
  2979. case 1:
  2980. if wireType != 2 {
  2981. return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
  2982. }
  2983. var stringLen uint64
  2984. for shift := uint(0); ; shift += 7 {
  2985. if shift >= 64 {
  2986. return ErrIntOverflowApi
  2987. }
  2988. if iNdEx >= l {
  2989. return io.ErrUnexpectedEOF
  2990. }
  2991. b := dAtA[iNdEx]
  2992. iNdEx++
  2993. stringLen |= (uint64(b) & 0x7F) << shift
  2994. if b < 0x80 {
  2995. break
  2996. }
  2997. }
  2998. intStringLen := int(stringLen)
  2999. if intStringLen < 0 {
  3000. return ErrInvalidLengthApi
  3001. }
  3002. postIndex := iNdEx + intStringLen
  3003. if postIndex > l {
  3004. return io.ErrUnexpectedEOF
  3005. }
  3006. m.Key = string(dAtA[iNdEx:postIndex])
  3007. iNdEx = postIndex
  3008. case 2:
  3009. if wireType == 0 {
  3010. var v int64
  3011. for shift := uint(0); ; shift += 7 {
  3012. if shift >= 64 {
  3013. return ErrIntOverflowApi
  3014. }
  3015. if iNdEx >= l {
  3016. return io.ErrUnexpectedEOF
  3017. }
  3018. b := dAtA[iNdEx]
  3019. iNdEx++
  3020. v |= (int64(b) & 0x7F) << shift
  3021. if b < 0x80 {
  3022. break
  3023. }
  3024. }
  3025. m.SVIDs = append(m.SVIDs, v)
  3026. } else if wireType == 2 {
  3027. var packedLen int
  3028. for shift := uint(0); ; shift += 7 {
  3029. if shift >= 64 {
  3030. return ErrIntOverflowApi
  3031. }
  3032. if iNdEx >= l {
  3033. return io.ErrUnexpectedEOF
  3034. }
  3035. b := dAtA[iNdEx]
  3036. iNdEx++
  3037. packedLen |= (int(b) & 0x7F) << shift
  3038. if b < 0x80 {
  3039. break
  3040. }
  3041. }
  3042. if packedLen < 0 {
  3043. return ErrInvalidLengthApi
  3044. }
  3045. postIndex := iNdEx + packedLen
  3046. if postIndex > l {
  3047. return io.ErrUnexpectedEOF
  3048. }
  3049. for iNdEx < postIndex {
  3050. var v int64
  3051. for shift := uint(0); ; shift += 7 {
  3052. if shift >= 64 {
  3053. return ErrIntOverflowApi
  3054. }
  3055. if iNdEx >= l {
  3056. return io.ErrUnexpectedEOF
  3057. }
  3058. b := dAtA[iNdEx]
  3059. iNdEx++
  3060. v |= (int64(b) & 0x7F) << shift
  3061. if b < 0x80 {
  3062. break
  3063. }
  3064. }
  3065. m.SVIDs = append(m.SVIDs, v)
  3066. }
  3067. } else {
  3068. return fmt.Errorf("proto: wrong wireType = %d for field SVIDs", wireType)
  3069. }
  3070. default:
  3071. iNdEx = preIndex
  3072. skippy, err := skipApi(dAtA[iNdEx:])
  3073. if err != nil {
  3074. return err
  3075. }
  3076. if skippy < 0 {
  3077. return ErrInvalidLengthApi
  3078. }
  3079. if (iNdEx + skippy) > l {
  3080. return io.ErrUnexpectedEOF
  3081. }
  3082. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3083. iNdEx += skippy
  3084. }
  3085. }
  3086. if iNdEx > l {
  3087. return io.ErrUnexpectedEOF
  3088. }
  3089. return nil
  3090. }
  3091. func skipApi(dAtA []byte) (n int, err error) {
  3092. l := len(dAtA)
  3093. iNdEx := 0
  3094. for iNdEx < l {
  3095. var wire uint64
  3096. for shift := uint(0); ; shift += 7 {
  3097. if shift >= 64 {
  3098. return 0, ErrIntOverflowApi
  3099. }
  3100. if iNdEx >= l {
  3101. return 0, io.ErrUnexpectedEOF
  3102. }
  3103. b := dAtA[iNdEx]
  3104. iNdEx++
  3105. wire |= (uint64(b) & 0x7F) << shift
  3106. if b < 0x80 {
  3107. break
  3108. }
  3109. }
  3110. wireType := int(wire & 0x7)
  3111. switch wireType {
  3112. case 0:
  3113. for shift := uint(0); ; shift += 7 {
  3114. if shift >= 64 {
  3115. return 0, ErrIntOverflowApi
  3116. }
  3117. if iNdEx >= l {
  3118. return 0, io.ErrUnexpectedEOF
  3119. }
  3120. iNdEx++
  3121. if dAtA[iNdEx-1] < 0x80 {
  3122. break
  3123. }
  3124. }
  3125. return iNdEx, nil
  3126. case 1:
  3127. iNdEx += 8
  3128. return iNdEx, nil
  3129. case 2:
  3130. var length int
  3131. for shift := uint(0); ; shift += 7 {
  3132. if shift >= 64 {
  3133. return 0, ErrIntOverflowApi
  3134. }
  3135. if iNdEx >= l {
  3136. return 0, io.ErrUnexpectedEOF
  3137. }
  3138. b := dAtA[iNdEx]
  3139. iNdEx++
  3140. length |= (int(b) & 0x7F) << shift
  3141. if b < 0x80 {
  3142. break
  3143. }
  3144. }
  3145. iNdEx += length
  3146. if length < 0 {
  3147. return 0, ErrInvalidLengthApi
  3148. }
  3149. return iNdEx, nil
  3150. case 3:
  3151. for {
  3152. var innerWire uint64
  3153. var start int = iNdEx
  3154. for shift := uint(0); ; shift += 7 {
  3155. if shift >= 64 {
  3156. return 0, ErrIntOverflowApi
  3157. }
  3158. if iNdEx >= l {
  3159. return 0, io.ErrUnexpectedEOF
  3160. }
  3161. b := dAtA[iNdEx]
  3162. iNdEx++
  3163. innerWire |= (uint64(b) & 0x7F) << shift
  3164. if b < 0x80 {
  3165. break
  3166. }
  3167. }
  3168. innerWireType := int(innerWire & 0x7)
  3169. if innerWireType == 4 {
  3170. break
  3171. }
  3172. next, err := skipApi(dAtA[start:])
  3173. if err != nil {
  3174. return 0, err
  3175. }
  3176. iNdEx = start + next
  3177. }
  3178. return iNdEx, nil
  3179. case 4:
  3180. return iNdEx, nil
  3181. case 5:
  3182. iNdEx += 4
  3183. return iNdEx, nil
  3184. default:
  3185. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3186. }
  3187. }
  3188. panic("unreachable")
  3189. }
  3190. var (
  3191. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  3192. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  3193. )
  3194. func init() {
  3195. proto.RegisterFile("app/service/bbq/recsys-recall/api/grpc/v1/api.proto", fileDescriptor_api_df8b3273faae6c47)
  3196. }
  3197. var fileDescriptor_api_df8b3273faae6c47 = []byte{
  3198. // 1202 bytes of a gzipped FileDescriptorProto
  3199. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4f, 0x6f, 0x1b, 0x45,
  3200. 0x14, 0xef, 0xfa, 0x5f, 0xd2, 0x49, 0x9c, 0x96, 0x55, 0x03, 0x96, 0x89, 0x3c, 0x61, 0xd4, 0x4a,
  3201. 0x29, 0x4d, 0xd6, 0x4a, 0x72, 0x09, 0x08, 0x2e, 0x56, 0x09, 0x18, 0xda, 0x0a, 0x26, 0x69, 0x24,
  3202. 0x38, 0x10, 0xad, 0x77, 0xc7, 0xce, 0x24, 0xb6, 0xd7, 0xd9, 0xdd, 0xb8, 0xf1, 0x0d, 0x38, 0x20,
  3203. 0x21, 0xf1, 0x25, 0xb8, 0x72, 0xe3, 0x80, 0xc4, 0x47, 0xe8, 0x91, 0x23, 0xa7, 0x11, 0xdd, 0xa3,
  3204. 0x8f, 0xfe, 0x04, 0x68, 0xde, 0xcc, 0x66, 0xd6, 0x51, 0x12, 0x62, 0x38, 0xd9, 0xef, 0xf7, 0xfe,
  3205. 0xce, 0xbc, 0xdf, 0x7b, 0xb3, 0x68, 0xdb, 0x1d, 0x0c, 0xea, 0x11, 0x0b, 0x87, 0xdc, 0x63, 0xf5,
  3206. 0x56, 0xeb, 0xb4, 0x1e, 0x32, 0x2f, 0x1a, 0x45, 0x1b, 0x21, 0xf3, 0xdc, 0x6e, 0xb7, 0xee, 0x0e,
  3207. 0x78, 0xbd, 0x13, 0x0e, 0xbc, 0xfa, 0x70, 0x53, 0xfe, 0x77, 0x06, 0x61, 0x10, 0x07, 0xf6, 0x72,
  3208. 0xab, 0x75, 0xea, 0x68, 0x27, 0x47, 0x59, 0x3a, 0xc3, 0xcd, 0xea, 0x46, 0x87, 0xc7, 0x47, 0x67,
  3209. 0x2d, 0xc7, 0x0b, 0x7a, 0xf5, 0x4e, 0xd0, 0x09, 0xea, 0x60, 0xdd, 0x3a, 0x6b, 0x83, 0x04, 0x02,
  3210. 0xfc, 0x53, 0x51, 0xaa, 0xeb, 0x32, 0xf5, 0x71, 0xd0, 0x4a, 0xd3, 0xca, 0x7c, 0xca, 0xa8, 0x1d,
  3211. 0x84, 0xaf, 0xdc, 0xd0, 0x3f, 0xe4, 0x7d, 0x9f, 0x9d, 0x6b, 0xeb, 0x77, 0x3b, 0x41, 0xd0, 0xe9,
  3212. 0x32, 0x13, 0x93, 0xf5, 0x06, 0xf1, 0x48, 0x29, 0xc9, 0x6f, 0x79, 0x84, 0x28, 0x44, 0x68, 0xf6,
  3213. 0xdb, 0x81, 0xed, 0xa0, 0x7c, 0xec, 0x76, 0x2a, 0xd6, 0xaa, 0xb5, 0x76, 0xb7, 0xb1, 0x92, 0x08,
  3214. 0x9c, 0xdf, 0x77, 0x3b, 0x63, 0x81, 0x25, 0x3a, 0x11, 0x18, 0xb5, 0x83, 0xb0, 0xf7, 0x21, 0x89,
  3215. 0xdd, 0x0e, 0xa1, 0x12, 0xb2, 0xb7, 0x51, 0xa1, 0xef, 0xf6, 0x58, 0x25, 0x07, 0x0e, 0x38, 0x11,
  3216. 0xb8, 0xf0, 0xc2, 0xed, 0xb1, 0xb1, 0xc0, 0x80, 0x4f, 0x04, 0x5e, 0x50, 0x2e, 0x52, 0x22, 0x14,
  3217. 0x40, 0xfb, 0x63, 0x54, 0x8a, 0xbc, 0x20, 0x64, 0x61, 0x25, 0x0f, 0x6e, 0x8f, 0x12, 0x81, 0x4b,
  3218. 0x7b, 0x80, 0x8c, 0x05, 0xd6, 0xba, 0x89, 0xc0, 0x65, 0xe5, 0xaa, 0x64, 0x42, 0xb5, 0x42, 0xba,
  3219. 0xb7, 0x79, 0x37, 0x66, 0x61, 0xa5, 0x60, 0xdc, 0x77, 0x01, 0x91, 0xee, 0x4a, 0x67, 0xdc, 0x95,
  3220. 0x4c, 0xa8, 0x56, 0x48, 0xf7, 0xd0, 0xed, 0x9f, 0xb0, 0xb0, 0x52, 0x34, 0xee, 0x14, 0x10, 0xe9,
  3221. 0xae, 0x74, 0xc6, 0x5d, 0xc9, 0x84, 0x6a, 0x85, 0xfd, 0x29, 0x9a, 0x1f, 0x84, 0x3c, 0x08, 0x79,
  3222. 0x3c, 0xaa, 0x94, 0x56, 0xad, 0xb5, 0x62, 0xe3, 0x49, 0x22, 0xf0, 0xfc, 0x97, 0x1a, 0x1b, 0x0b,
  3223. 0x7c, 0xa1, 0x9f, 0x08, 0x7c, 0x4f, 0x05, 0x49, 0x11, 0x42, 0x2f, 0x94, 0xf6, 0x0e, 0x2a, 0x76,
  3224. 0x79, 0x8f, 0xc7, 0x95, 0x39, 0x88, 0x42, 0x12, 0x81, 0x8b, 0xcf, 0x24, 0x30, 0x16, 0x58, 0x69,
  3225. 0x26, 0x02, 0x2f, 0x2a, 0x7f, 0x10, 0x09, 0x55, 0x30, 0xf9, 0x35, 0x87, 0xca, 0xaa, 0x67, 0x94,
  3226. 0x9d, 0x9e, 0xb1, 0x28, 0x96, 0x6d, 0xeb, 0x71, 0x1f, 0xda, 0x96, 0x57, 0x6d, 0x7b, 0xde, 0x7c,
  3227. 0x2a, 0xdb, 0xd6, 0xe3, 0xbe, 0x69, 0x5b, 0x8f, 0xfb, 0x84, 0x4a, 0x48, 0xe6, 0x6e, 0x9d, 0x0d,
  3228. 0xb9, 0xaf, 0xfb, 0x06, 0xb9, 0x1b, 0x2f, 0x0f, 0xc0, 0x47, 0x69, 0x4c, 0x6e, 0x10, 0x09, 0x55,
  3229. 0xb0, 0xfd, 0x35, 0x2a, 0xf0, 0x7e, 0x3b, 0xa8, 0xe4, 0x57, 0xf3, 0x6b, 0x0b, 0x5b, 0xef, 0x39,
  3230. 0x57, 0xf2, 0xd9, 0x31, 0x8c, 0x52, 0xb1, 0xe5, 0xbf, 0x48, 0xc6, 0x96, 0xbe, 0x91, 0x89, 0x0d,
  3231. 0x22, 0xa1, 0x10, 0xd2, 0xde, 0x47, 0x0b, 0x71, 0x10, 0xbb, 0xdd, 0x43, 0x75, 0x2d, 0x05, 0xb8,
  3232. 0x96, 0xed, 0x44, 0x60, 0xb4, 0x2f, 0xe1, 0xf4, 0x6e, 0xb2, 0x46, 0x13, 0x81, 0x6d, 0x4d, 0x49,
  3233. 0x03, 0x12, 0x8a, 0xe2, 0x0b, 0x07, 0xf2, 0x87, 0x85, 0xca, 0xcd, 0xfe, 0x90, 0x85, 0x31, 0xf3,
  3234. 0x9b, 0x72, 0x2a, 0xe4, 0xe1, 0x61, 0x3c, 0x34, 0xcb, 0x75, 0x81, 0x3e, 0x3b, 0x57, 0x05, 0xfa,
  3235. 0xec, 0x3c, 0x5b, 0xa0, 0xcf, 0xce, 0x09, 0x55, 0xf0, 0x7f, 0x63, 0xfb, 0x0e, 0x2a, 0x02, 0x71,
  3236. 0x81, 0xec, 0x39, 0x95, 0x0e, 0xc8, 0x2e, 0xd3, 0x81, 0xc6, 0xa4, 0x03, 0x91, 0x50, 0x05, 0x93,
  3237. 0x5f, 0x0a, 0xa8, 0x78, 0xc0, 0x7d, 0x16, 0xc8, 0xc4, 0xd1, 0xf0, 0xa2, 0xc1, 0x90, 0x78, 0x4f,
  3238. 0x75, 0x0b, 0x70, 0x93, 0x38, 0x82, 0x5e, 0x01, 0x68, 0x12, 0xe7, 0x66, 0x4c, 0x7c, 0x71, 0xce,
  3239. 0xfc, 0x2c, 0xe7, 0xfc, 0xc9, 0x42, 0xe5, 0xa9, 0xf5, 0x03, 0x1d, 0x5c, 0xd8, 0x7a, 0x0c, 0x1c,
  3240. 0x39, 0x0e, 0x5a, 0x29, 0x3f, 0xb4, 0x91, 0x5a, 0x51, 0xbb, 0x4a, 0x80, 0xfb, 0x6f, 0x7c, 0x90,
  3241. 0x08, 0xbc, 0x98, 0x45, 0xc6, 0x6a, 0x0c, 0x4d, 0xcc, 0x89, 0xc0, 0x0f, 0xf4, 0x58, 0x67, 0x61,
  3242. 0x42, 0x17, 0xdb, 0x19, 0x37, 0xdb, 0x43, 0x4b, 0x5c, 0xf7, 0x5c, 0xd7, 0xa2, 0x66, 0xfd, 0xa3,
  3243. 0x44, 0xe0, 0x69, 0x36, 0x8c, 0x05, 0xbe, 0x64, 0x3a, 0x11, 0x78, 0x39, 0x6d, 0x7e, 0x16, 0x27,
  3244. 0xb4, 0xcc, 0xa7, 0x78, 0xf4, 0x83, 0x85, 0xe6, 0x40, 0xc3, 0xa2, 0x4a, 0x09, 0xc6, 0xe1, 0xe1,
  3245. 0x35, 0xe3, 0x30, 0x95, 0xb1, 0xd1, 0x48, 0x04, 0xbe, 0x37, 0x05, 0x31, 0x39, 0x1b, 0xf7, 0xa7,
  3246. 0xd3, 0x31, 0x39, 0x26, 0xef, 0x5c, 0x55, 0x08, 0x8b, 0x08, 0x4d, 0x13, 0x93, 0xdf, 0x73, 0xe8,
  3247. 0xae, 0x9a, 0xb6, 0xbd, 0xd0, 0xb3, 0x3f, 0x47, 0x77, 0xd5, 0x20, 0x1c, 0xf1, 0x18, 0xc8, 0x52,
  3248. 0x6c, 0x6c, 0xc8, 0xed, 0x04, 0x03, 0xf4, 0x19, 0x8c, 0x8f, 0x31, 0x98, 0x08, 0x7c, 0x3f, 0x3b,
  3249. 0x3c, 0x47, 0x72, 0x74, 0xe6, 0x63, 0x6d, 0x9a, 0x59, 0xb3, 0x39, 0x08, 0x34, 0xe3, 0x9a, 0xdd,
  3250. 0x41, 0xc5, 0x36, 0xef, 0xbb, 0x5d, 0x20, 0x91, 0x5e, 0x6f, 0xbb, 0x12, 0x90, 0xec, 0x03, 0x8d,
  3251. 0x61, 0x1f, 0x88, 0x84, 0x2a, 0x38, 0x7d, 0x83, 0x0a, 0xb3, 0xbe, 0x41, 0xc5, 0x19, 0xd8, 0x4a,
  3252. 0x7e, 0xcc, 0xa1, 0xa5, 0x74, 0x87, 0x46, 0x83, 0xa0, 0x1f, 0xc1, 0xa0, 0xc2, 0xe1, 0xf5, 0xc5,
  3253. 0x41, 0xc5, 0x70, 0x71, 0xb2, 0x62, 0xd0, 0x98, 0x8a, 0x41, 0x24, 0x54, 0xc1, 0xf6, 0x57, 0xa8,
  3254. 0xd0, 0xe5, 0x51, 0x5c, 0xc9, 0x01, 0x0b, 0x56, 0xae, 0x61, 0x01, 0x8c, 0xb2, 0xaa, 0xef, 0x19,
  3255. 0x8f, 0x64, 0x2f, 0xc0, 0xcb, 0xd4, 0x27, 0x25, 0x42, 0x01, 0xb4, 0x3b, 0x68, 0x3e, 0x0a, 0xbd,
  3256. 0xc3, 0xcc, 0xae, 0x5d, 0xbd, 0x71, 0xd7, 0xee, 0x85, 0x5e, 0xe3, 0xfd, 0x44, 0xe0, 0xb9, 0xbd,
  3257. 0xd0, 0x93, 0xdb, 0x56, 0xbe, 0x43, 0x69, 0x00, 0xf3, 0x0e, 0xa5, 0x08, 0xa1, 0x73, 0x91, 0xb2,
  3258. 0x23, 0xcf, 0xd1, 0x5b, 0x50, 0x18, 0x10, 0x31, 0x7d, 0x4f, 0xe4, 0xea, 0x18, 0x72, 0x3f, 0xaa,
  3259. 0x58, 0xab, 0xf9, 0xb5, 0xbc, 0x5e, 0x1d, 0x07, 0xcd, 0xa7, 0xb0, 0xc3, 0x41, 0x93, 0x59, 0x1d,
  3260. 0x52, 0x94, 0xab, 0x03, 0x7e, 0x63, 0x64, 0x67, 0xc3, 0xe9, 0xab, 0xfd, 0x56, 0x5f, 0x90, 0x05,
  3261. 0x27, 0x99, 0x61, 0x23, 0xdc, 0xee, 0xb6, 0xc8, 0xf7, 0x16, 0x5a, 0x7e, 0xc1, 0x5e, 0x35, 0xfb,
  3262. 0x5e, 0xd0, 0x63, 0x90, 0xff, 0x7f, 0x9f, 0x44, 0xd2, 0xf0, 0x84, 0x8d, 0xf4, 0xae, 0x07, 0x1a,
  3263. 0x7e, 0xc1, 0xe4, 0xf3, 0x2e, 0x51, 0x43, 0xc3, 0x13, 0x36, 0x22, 0x54, 0x42, 0x64, 0x17, 0x3d,
  3264. 0x80, 0xcc, 0x51, 0x63, 0x34, 0x75, 0x97, 0x3a, 0x8e, 0x75, 0xdb, 0x38, 0xf2, 0x2c, 0x97, 0x02,
  3265. 0xe9, 0x5b, 0x9c, 0x31, 0x92, 0x39, 0x7b, 0x6e, 0xc6, 0xb3, 0x6f, 0xfd, 0x9c, 0x47, 0x8b, 0x14,
  3266. 0x3e, 0x67, 0x15, 0xbb, 0xec, 0x97, 0xa8, 0xa4, 0xff, 0x3d, 0xbc, 0x91, 0x86, 0xfa, 0xd0, 0xd5,
  3267. 0x47, 0xff, 0x62, 0xa5, 0x4f, 0xe4, 0x22, 0x64, 0xd8, 0x62, 0xaf, 0xdd, 0x34, 0x38, 0xd9, 0x3b,
  3268. 0xad, 0x3e, 0xbe, 0x85, 0xa5, 0x4e, 0x71, 0x80, 0x96, 0xa6, 0x99, 0x61, 0xaf, 0x5f, 0xe3, 0x7c,
  3269. 0x25, 0x81, 0xaa, 0x6f, 0x3b, 0xea, 0xf3, 0xd9, 0x49, 0x3f, 0x9f, 0x9d, 0x4f, 0xe4, 0xe7, 0xb3,
  3270. 0x7d, 0x8c, 0xca, 0x53, 0x5d, 0xb2, 0x9f, 0xdc, 0x54, 0xd3, 0x25, 0x52, 0x54, 0xd7, 0x6f, 0x67,
  3271. 0xac, 0xce, 0xd0, 0x58, 0x79, 0xfd, 0xa6, 0x76, 0xe7, 0xaf, 0x37, 0xb5, 0x3b, 0xdf, 0x25, 0x35,
  3272. 0xeb, 0x75, 0x52, 0xb3, 0xfe, 0x4c, 0x6a, 0xd6, 0xdf, 0x49, 0xcd, 0xfa, 0x26, 0x37, 0xdc, 0x6c,
  3273. 0x95, 0xa0, 0xb2, 0xed, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x76, 0x6b, 0xfb, 0x0e, 0x91, 0x0c,
  3274. 0x00, 0x00,
  3275. }