Feed.pb.go 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v1/Feed.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. type FeedGetUserFcReq struct {
  19. // 用户uid
  20. Follow int64 `protobuf:"varint,1,opt,name=follow,proto3" json:"follow"`
  21. }
  22. func (m *FeedGetUserFcReq) Reset() { *m = FeedGetUserFcReq{} }
  23. func (m *FeedGetUserFcReq) String() string { return proto.CompactTextString(m) }
  24. func (*FeedGetUserFcReq) ProtoMessage() {}
  25. func (*FeedGetUserFcReq) Descriptor() ([]byte, []int) {
  26. return fileDescriptor_Feed_d690314d2e430ba7, []int{0}
  27. }
  28. func (m *FeedGetUserFcReq) XXX_Unmarshal(b []byte) error {
  29. return m.Unmarshal(b)
  30. }
  31. func (m *FeedGetUserFcReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  32. if deterministic {
  33. return xxx_messageInfo_FeedGetUserFcReq.Marshal(b, m, deterministic)
  34. } else {
  35. b = b[:cap(b)]
  36. n, err := m.MarshalTo(b)
  37. if err != nil {
  38. return nil, err
  39. }
  40. return b[:n], nil
  41. }
  42. }
  43. func (dst *FeedGetUserFcReq) XXX_Merge(src proto.Message) {
  44. xxx_messageInfo_FeedGetUserFcReq.Merge(dst, src)
  45. }
  46. func (m *FeedGetUserFcReq) XXX_Size() int {
  47. return m.Size()
  48. }
  49. func (m *FeedGetUserFcReq) XXX_DiscardUnknown() {
  50. xxx_messageInfo_FeedGetUserFcReq.DiscardUnknown(m)
  51. }
  52. var xxx_messageInfo_FeedGetUserFcReq proto.InternalMessageInfo
  53. func (m *FeedGetUserFcReq) GetFollow() int64 {
  54. if m != nil {
  55. return m.Follow
  56. }
  57. return 0
  58. }
  59. type FeedGetUserFcResp struct {
  60. //
  61. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  62. //
  63. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  64. //
  65. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message"`
  66. //
  67. Data *FeedGetUserFcResp_Data `protobuf:"bytes,4,opt,name=data" json:"data"`
  68. }
  69. func (m *FeedGetUserFcResp) Reset() { *m = FeedGetUserFcResp{} }
  70. func (m *FeedGetUserFcResp) String() string { return proto.CompactTextString(m) }
  71. func (*FeedGetUserFcResp) ProtoMessage() {}
  72. func (*FeedGetUserFcResp) Descriptor() ([]byte, []int) {
  73. return fileDescriptor_Feed_d690314d2e430ba7, []int{1}
  74. }
  75. func (m *FeedGetUserFcResp) XXX_Unmarshal(b []byte) error {
  76. return m.Unmarshal(b)
  77. }
  78. func (m *FeedGetUserFcResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  79. if deterministic {
  80. return xxx_messageInfo_FeedGetUserFcResp.Marshal(b, m, deterministic)
  81. } else {
  82. b = b[:cap(b)]
  83. n, err := m.MarshalTo(b)
  84. if err != nil {
  85. return nil, err
  86. }
  87. return b[:n], nil
  88. }
  89. }
  90. func (dst *FeedGetUserFcResp) XXX_Merge(src proto.Message) {
  91. xxx_messageInfo_FeedGetUserFcResp.Merge(dst, src)
  92. }
  93. func (m *FeedGetUserFcResp) XXX_Size() int {
  94. return m.Size()
  95. }
  96. func (m *FeedGetUserFcResp) XXX_DiscardUnknown() {
  97. xxx_messageInfo_FeedGetUserFcResp.DiscardUnknown(m)
  98. }
  99. var xxx_messageInfo_FeedGetUserFcResp proto.InternalMessageInfo
  100. func (m *FeedGetUserFcResp) GetCode() int64 {
  101. if m != nil {
  102. return m.Code
  103. }
  104. return 0
  105. }
  106. func (m *FeedGetUserFcResp) GetMsg() string {
  107. if m != nil {
  108. return m.Msg
  109. }
  110. return ""
  111. }
  112. func (m *FeedGetUserFcResp) GetMessage() string {
  113. if m != nil {
  114. return m.Message
  115. }
  116. return ""
  117. }
  118. func (m *FeedGetUserFcResp) GetData() *FeedGetUserFcResp_Data {
  119. if m != nil {
  120. return m.Data
  121. }
  122. return nil
  123. }
  124. type FeedGetUserFcResp_Data struct {
  125. //
  126. Fc int64 `protobuf:"varint,1,opt,name=fc,proto3" json:"fc"`
  127. }
  128. func (m *FeedGetUserFcResp_Data) Reset() { *m = FeedGetUserFcResp_Data{} }
  129. func (m *FeedGetUserFcResp_Data) String() string { return proto.CompactTextString(m) }
  130. func (*FeedGetUserFcResp_Data) ProtoMessage() {}
  131. func (*FeedGetUserFcResp_Data) Descriptor() ([]byte, []int) {
  132. return fileDescriptor_Feed_d690314d2e430ba7, []int{1, 0}
  133. }
  134. func (m *FeedGetUserFcResp_Data) XXX_Unmarshal(b []byte) error {
  135. return m.Unmarshal(b)
  136. }
  137. func (m *FeedGetUserFcResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  138. if deterministic {
  139. return xxx_messageInfo_FeedGetUserFcResp_Data.Marshal(b, m, deterministic)
  140. } else {
  141. b = b[:cap(b)]
  142. n, err := m.MarshalTo(b)
  143. if err != nil {
  144. return nil, err
  145. }
  146. return b[:n], nil
  147. }
  148. }
  149. func (dst *FeedGetUserFcResp_Data) XXX_Merge(src proto.Message) {
  150. xxx_messageInfo_FeedGetUserFcResp_Data.Merge(dst, src)
  151. }
  152. func (m *FeedGetUserFcResp_Data) XXX_Size() int {
  153. return m.Size()
  154. }
  155. func (m *FeedGetUserFcResp_Data) XXX_DiscardUnknown() {
  156. xxx_messageInfo_FeedGetUserFcResp_Data.DiscardUnknown(m)
  157. }
  158. var xxx_messageInfo_FeedGetUserFcResp_Data proto.InternalMessageInfo
  159. func (m *FeedGetUserFcResp_Data) GetFc() int64 {
  160. if m != nil {
  161. return m.Fc
  162. }
  163. return 0
  164. }
  165. type FeedGetUserFcBatchReq struct {
  166. // 用户uid
  167. Uids []int64 `protobuf:"varint,1,rep,packed,name=uids" json:"uids"`
  168. }
  169. func (m *FeedGetUserFcBatchReq) Reset() { *m = FeedGetUserFcBatchReq{} }
  170. func (m *FeedGetUserFcBatchReq) String() string { return proto.CompactTextString(m) }
  171. func (*FeedGetUserFcBatchReq) ProtoMessage() {}
  172. func (*FeedGetUserFcBatchReq) Descriptor() ([]byte, []int) {
  173. return fileDescriptor_Feed_d690314d2e430ba7, []int{2}
  174. }
  175. func (m *FeedGetUserFcBatchReq) XXX_Unmarshal(b []byte) error {
  176. return m.Unmarshal(b)
  177. }
  178. func (m *FeedGetUserFcBatchReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  179. if deterministic {
  180. return xxx_messageInfo_FeedGetUserFcBatchReq.Marshal(b, m, deterministic)
  181. } else {
  182. b = b[:cap(b)]
  183. n, err := m.MarshalTo(b)
  184. if err != nil {
  185. return nil, err
  186. }
  187. return b[:n], nil
  188. }
  189. }
  190. func (dst *FeedGetUserFcBatchReq) XXX_Merge(src proto.Message) {
  191. xxx_messageInfo_FeedGetUserFcBatchReq.Merge(dst, src)
  192. }
  193. func (m *FeedGetUserFcBatchReq) XXX_Size() int {
  194. return m.Size()
  195. }
  196. func (m *FeedGetUserFcBatchReq) XXX_DiscardUnknown() {
  197. xxx_messageInfo_FeedGetUserFcBatchReq.DiscardUnknown(m)
  198. }
  199. var xxx_messageInfo_FeedGetUserFcBatchReq proto.InternalMessageInfo
  200. func (m *FeedGetUserFcBatchReq) GetUids() []int64 {
  201. if m != nil {
  202. return m.Uids
  203. }
  204. return nil
  205. }
  206. type FeedGetUserFcBatchResp struct {
  207. //
  208. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  209. //
  210. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  211. //
  212. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message"`
  213. //
  214. Data map[int64]*FeedGetUserFcBatchResp_RelationList `protobuf:"bytes,4,rep,name=data" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  215. }
  216. func (m *FeedGetUserFcBatchResp) Reset() { *m = FeedGetUserFcBatchResp{} }
  217. func (m *FeedGetUserFcBatchResp) String() string { return proto.CompactTextString(m) }
  218. func (*FeedGetUserFcBatchResp) ProtoMessage() {}
  219. func (*FeedGetUserFcBatchResp) Descriptor() ([]byte, []int) {
  220. return fileDescriptor_Feed_d690314d2e430ba7, []int{3}
  221. }
  222. func (m *FeedGetUserFcBatchResp) XXX_Unmarshal(b []byte) error {
  223. return m.Unmarshal(b)
  224. }
  225. func (m *FeedGetUserFcBatchResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  226. if deterministic {
  227. return xxx_messageInfo_FeedGetUserFcBatchResp.Marshal(b, m, deterministic)
  228. } else {
  229. b = b[:cap(b)]
  230. n, err := m.MarshalTo(b)
  231. if err != nil {
  232. return nil, err
  233. }
  234. return b[:n], nil
  235. }
  236. }
  237. func (dst *FeedGetUserFcBatchResp) XXX_Merge(src proto.Message) {
  238. xxx_messageInfo_FeedGetUserFcBatchResp.Merge(dst, src)
  239. }
  240. func (m *FeedGetUserFcBatchResp) XXX_Size() int {
  241. return m.Size()
  242. }
  243. func (m *FeedGetUserFcBatchResp) XXX_DiscardUnknown() {
  244. xxx_messageInfo_FeedGetUserFcBatchResp.DiscardUnknown(m)
  245. }
  246. var xxx_messageInfo_FeedGetUserFcBatchResp proto.InternalMessageInfo
  247. func (m *FeedGetUserFcBatchResp) GetCode() int64 {
  248. if m != nil {
  249. return m.Code
  250. }
  251. return 0
  252. }
  253. func (m *FeedGetUserFcBatchResp) GetMsg() string {
  254. if m != nil {
  255. return m.Msg
  256. }
  257. return ""
  258. }
  259. func (m *FeedGetUserFcBatchResp) GetMessage() string {
  260. if m != nil {
  261. return m.Message
  262. }
  263. return ""
  264. }
  265. func (m *FeedGetUserFcBatchResp) GetData() map[int64]*FeedGetUserFcBatchResp_RelationList {
  266. if m != nil {
  267. return m.Data
  268. }
  269. return nil
  270. }
  271. type FeedGetUserFcBatchResp_RelationList struct {
  272. //
  273. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  274. //
  275. Fc int64 `protobuf:"varint,2,opt,name=fc,proto3" json:"fc"`
  276. }
  277. func (m *FeedGetUserFcBatchResp_RelationList) Reset() { *m = FeedGetUserFcBatchResp_RelationList{} }
  278. func (m *FeedGetUserFcBatchResp_RelationList) String() string { return proto.CompactTextString(m) }
  279. func (*FeedGetUserFcBatchResp_RelationList) ProtoMessage() {}
  280. func (*FeedGetUserFcBatchResp_RelationList) Descriptor() ([]byte, []int) {
  281. return fileDescriptor_Feed_d690314d2e430ba7, []int{3, 1}
  282. }
  283. func (m *FeedGetUserFcBatchResp_RelationList) XXX_Unmarshal(b []byte) error {
  284. return m.Unmarshal(b)
  285. }
  286. func (m *FeedGetUserFcBatchResp_RelationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  287. if deterministic {
  288. return xxx_messageInfo_FeedGetUserFcBatchResp_RelationList.Marshal(b, m, deterministic)
  289. } else {
  290. b = b[:cap(b)]
  291. n, err := m.MarshalTo(b)
  292. if err != nil {
  293. return nil, err
  294. }
  295. return b[:n], nil
  296. }
  297. }
  298. func (dst *FeedGetUserFcBatchResp_RelationList) XXX_Merge(src proto.Message) {
  299. xxx_messageInfo_FeedGetUserFcBatchResp_RelationList.Merge(dst, src)
  300. }
  301. func (m *FeedGetUserFcBatchResp_RelationList) XXX_Size() int {
  302. return m.Size()
  303. }
  304. func (m *FeedGetUserFcBatchResp_RelationList) XXX_DiscardUnknown() {
  305. xxx_messageInfo_FeedGetUserFcBatchResp_RelationList.DiscardUnknown(m)
  306. }
  307. var xxx_messageInfo_FeedGetUserFcBatchResp_RelationList proto.InternalMessageInfo
  308. func (m *FeedGetUserFcBatchResp_RelationList) GetUid() int64 {
  309. if m != nil {
  310. return m.Uid
  311. }
  312. return 0
  313. }
  314. func (m *FeedGetUserFcBatchResp_RelationList) GetFc() int64 {
  315. if m != nil {
  316. return m.Fc
  317. }
  318. return 0
  319. }
  320. type FeedGetAttentionListReq struct {
  321. // 用户uid
  322. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  323. }
  324. func (m *FeedGetAttentionListReq) Reset() { *m = FeedGetAttentionListReq{} }
  325. func (m *FeedGetAttentionListReq) String() string { return proto.CompactTextString(m) }
  326. func (*FeedGetAttentionListReq) ProtoMessage() {}
  327. func (*FeedGetAttentionListReq) Descriptor() ([]byte, []int) {
  328. return fileDescriptor_Feed_d690314d2e430ba7, []int{4}
  329. }
  330. func (m *FeedGetAttentionListReq) XXX_Unmarshal(b []byte) error {
  331. return m.Unmarshal(b)
  332. }
  333. func (m *FeedGetAttentionListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  334. if deterministic {
  335. return xxx_messageInfo_FeedGetAttentionListReq.Marshal(b, m, deterministic)
  336. } else {
  337. b = b[:cap(b)]
  338. n, err := m.MarshalTo(b)
  339. if err != nil {
  340. return nil, err
  341. }
  342. return b[:n], nil
  343. }
  344. }
  345. func (dst *FeedGetAttentionListReq) XXX_Merge(src proto.Message) {
  346. xxx_messageInfo_FeedGetAttentionListReq.Merge(dst, src)
  347. }
  348. func (m *FeedGetAttentionListReq) XXX_Size() int {
  349. return m.Size()
  350. }
  351. func (m *FeedGetAttentionListReq) XXX_DiscardUnknown() {
  352. xxx_messageInfo_FeedGetAttentionListReq.DiscardUnknown(m)
  353. }
  354. var xxx_messageInfo_FeedGetAttentionListReq proto.InternalMessageInfo
  355. func (m *FeedGetAttentionListReq) GetUid() int64 {
  356. if m != nil {
  357. return m.Uid
  358. }
  359. return 0
  360. }
  361. type FeedGetAttentionListResp struct {
  362. //
  363. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  364. //
  365. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  366. //
  367. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message"`
  368. //
  369. Data *FeedGetAttentionListResp_Data `protobuf:"bytes,4,opt,name=data" json:"data"`
  370. }
  371. func (m *FeedGetAttentionListResp) Reset() { *m = FeedGetAttentionListResp{} }
  372. func (m *FeedGetAttentionListResp) String() string { return proto.CompactTextString(m) }
  373. func (*FeedGetAttentionListResp) ProtoMessage() {}
  374. func (*FeedGetAttentionListResp) Descriptor() ([]byte, []int) {
  375. return fileDescriptor_Feed_d690314d2e430ba7, []int{5}
  376. }
  377. func (m *FeedGetAttentionListResp) XXX_Unmarshal(b []byte) error {
  378. return m.Unmarshal(b)
  379. }
  380. func (m *FeedGetAttentionListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  381. if deterministic {
  382. return xxx_messageInfo_FeedGetAttentionListResp.Marshal(b, m, deterministic)
  383. } else {
  384. b = b[:cap(b)]
  385. n, err := m.MarshalTo(b)
  386. if err != nil {
  387. return nil, err
  388. }
  389. return b[:n], nil
  390. }
  391. }
  392. func (dst *FeedGetAttentionListResp) XXX_Merge(src proto.Message) {
  393. xxx_messageInfo_FeedGetAttentionListResp.Merge(dst, src)
  394. }
  395. func (m *FeedGetAttentionListResp) XXX_Size() int {
  396. return m.Size()
  397. }
  398. func (m *FeedGetAttentionListResp) XXX_DiscardUnknown() {
  399. xxx_messageInfo_FeedGetAttentionListResp.DiscardUnknown(m)
  400. }
  401. var xxx_messageInfo_FeedGetAttentionListResp proto.InternalMessageInfo
  402. func (m *FeedGetAttentionListResp) GetCode() int64 {
  403. if m != nil {
  404. return m.Code
  405. }
  406. return 0
  407. }
  408. func (m *FeedGetAttentionListResp) GetMsg() string {
  409. if m != nil {
  410. return m.Msg
  411. }
  412. return ""
  413. }
  414. func (m *FeedGetAttentionListResp) GetMessage() string {
  415. if m != nil {
  416. return m.Message
  417. }
  418. return ""
  419. }
  420. func (m *FeedGetAttentionListResp) GetData() *FeedGetAttentionListResp_Data {
  421. if m != nil {
  422. return m.Data
  423. }
  424. return nil
  425. }
  426. type FeedGetAttentionListResp_Data struct {
  427. //
  428. List []string `protobuf:"bytes,1,rep,name=list" json:"list"`
  429. }
  430. func (m *FeedGetAttentionListResp_Data) Reset() { *m = FeedGetAttentionListResp_Data{} }
  431. func (m *FeedGetAttentionListResp_Data) String() string { return proto.CompactTextString(m) }
  432. func (*FeedGetAttentionListResp_Data) ProtoMessage() {}
  433. func (*FeedGetAttentionListResp_Data) Descriptor() ([]byte, []int) {
  434. return fileDescriptor_Feed_d690314d2e430ba7, []int{5, 0}
  435. }
  436. func (m *FeedGetAttentionListResp_Data) XXX_Unmarshal(b []byte) error {
  437. return m.Unmarshal(b)
  438. }
  439. func (m *FeedGetAttentionListResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  440. if deterministic {
  441. return xxx_messageInfo_FeedGetAttentionListResp_Data.Marshal(b, m, deterministic)
  442. } else {
  443. b = b[:cap(b)]
  444. n, err := m.MarshalTo(b)
  445. if err != nil {
  446. return nil, err
  447. }
  448. return b[:n], nil
  449. }
  450. }
  451. func (dst *FeedGetAttentionListResp_Data) XXX_Merge(src proto.Message) {
  452. xxx_messageInfo_FeedGetAttentionListResp_Data.Merge(dst, src)
  453. }
  454. func (m *FeedGetAttentionListResp_Data) XXX_Size() int {
  455. return m.Size()
  456. }
  457. func (m *FeedGetAttentionListResp_Data) XXX_DiscardUnknown() {
  458. xxx_messageInfo_FeedGetAttentionListResp_Data.DiscardUnknown(m)
  459. }
  460. var xxx_messageInfo_FeedGetAttentionListResp_Data proto.InternalMessageInfo
  461. func (m *FeedGetAttentionListResp_Data) GetList() []string {
  462. if m != nil {
  463. return m.List
  464. }
  465. return nil
  466. }
  467. func init() {
  468. proto.RegisterType((*FeedGetUserFcReq)(nil), "relation.v1.FeedGetUserFcReq")
  469. proto.RegisterType((*FeedGetUserFcResp)(nil), "relation.v1.FeedGetUserFcResp")
  470. proto.RegisterType((*FeedGetUserFcResp_Data)(nil), "relation.v1.FeedGetUserFcResp.Data")
  471. proto.RegisterType((*FeedGetUserFcBatchReq)(nil), "relation.v1.FeedGetUserFcBatchReq")
  472. proto.RegisterType((*FeedGetUserFcBatchResp)(nil), "relation.v1.FeedGetUserFcBatchResp")
  473. proto.RegisterMapType((map[int64]*FeedGetUserFcBatchResp_RelationList)(nil), "relation.v1.FeedGetUserFcBatchResp.DataEntry")
  474. proto.RegisterType((*FeedGetUserFcBatchResp_RelationList)(nil), "relation.v1.FeedGetUserFcBatchResp.RelationList")
  475. proto.RegisterType((*FeedGetAttentionListReq)(nil), "relation.v1.FeedGetAttentionListReq")
  476. proto.RegisterType((*FeedGetAttentionListResp)(nil), "relation.v1.FeedGetAttentionListResp")
  477. proto.RegisterType((*FeedGetAttentionListResp_Data)(nil), "relation.v1.FeedGetAttentionListResp.Data")
  478. }
  479. func (m *FeedGetUserFcReq) Marshal() (dAtA []byte, err error) {
  480. size := m.Size()
  481. dAtA = make([]byte, size)
  482. n, err := m.MarshalTo(dAtA)
  483. if err != nil {
  484. return nil, err
  485. }
  486. return dAtA[:n], nil
  487. }
  488. func (m *FeedGetUserFcReq) MarshalTo(dAtA []byte) (int, error) {
  489. var i int
  490. _ = i
  491. var l int
  492. _ = l
  493. if m.Follow != 0 {
  494. dAtA[i] = 0x8
  495. i++
  496. i = encodeVarintFeed(dAtA, i, uint64(m.Follow))
  497. }
  498. return i, nil
  499. }
  500. func (m *FeedGetUserFcResp) Marshal() (dAtA []byte, err error) {
  501. size := m.Size()
  502. dAtA = make([]byte, size)
  503. n, err := m.MarshalTo(dAtA)
  504. if err != nil {
  505. return nil, err
  506. }
  507. return dAtA[:n], nil
  508. }
  509. func (m *FeedGetUserFcResp) MarshalTo(dAtA []byte) (int, error) {
  510. var i int
  511. _ = i
  512. var l int
  513. _ = l
  514. if m.Code != 0 {
  515. dAtA[i] = 0x8
  516. i++
  517. i = encodeVarintFeed(dAtA, i, uint64(m.Code))
  518. }
  519. if len(m.Msg) > 0 {
  520. dAtA[i] = 0x12
  521. i++
  522. i = encodeVarintFeed(dAtA, i, uint64(len(m.Msg)))
  523. i += copy(dAtA[i:], m.Msg)
  524. }
  525. if len(m.Message) > 0 {
  526. dAtA[i] = 0x1a
  527. i++
  528. i = encodeVarintFeed(dAtA, i, uint64(len(m.Message)))
  529. i += copy(dAtA[i:], m.Message)
  530. }
  531. if m.Data != nil {
  532. dAtA[i] = 0x22
  533. i++
  534. i = encodeVarintFeed(dAtA, i, uint64(m.Data.Size()))
  535. n1, err := m.Data.MarshalTo(dAtA[i:])
  536. if err != nil {
  537. return 0, err
  538. }
  539. i += n1
  540. }
  541. return i, nil
  542. }
  543. func (m *FeedGetUserFcResp_Data) Marshal() (dAtA []byte, err error) {
  544. size := m.Size()
  545. dAtA = make([]byte, size)
  546. n, err := m.MarshalTo(dAtA)
  547. if err != nil {
  548. return nil, err
  549. }
  550. return dAtA[:n], nil
  551. }
  552. func (m *FeedGetUserFcResp_Data) MarshalTo(dAtA []byte) (int, error) {
  553. var i int
  554. _ = i
  555. var l int
  556. _ = l
  557. if m.Fc != 0 {
  558. dAtA[i] = 0x8
  559. i++
  560. i = encodeVarintFeed(dAtA, i, uint64(m.Fc))
  561. }
  562. return i, nil
  563. }
  564. func (m *FeedGetUserFcBatchReq) Marshal() (dAtA []byte, err error) {
  565. size := m.Size()
  566. dAtA = make([]byte, size)
  567. n, err := m.MarshalTo(dAtA)
  568. if err != nil {
  569. return nil, err
  570. }
  571. return dAtA[:n], nil
  572. }
  573. func (m *FeedGetUserFcBatchReq) MarshalTo(dAtA []byte) (int, error) {
  574. var i int
  575. _ = i
  576. var l int
  577. _ = l
  578. if len(m.Uids) > 0 {
  579. dAtA3 := make([]byte, len(m.Uids)*10)
  580. var j2 int
  581. for _, num1 := range m.Uids {
  582. num := uint64(num1)
  583. for num >= 1<<7 {
  584. dAtA3[j2] = uint8(uint64(num)&0x7f | 0x80)
  585. num >>= 7
  586. j2++
  587. }
  588. dAtA3[j2] = uint8(num)
  589. j2++
  590. }
  591. dAtA[i] = 0xa
  592. i++
  593. i = encodeVarintFeed(dAtA, i, uint64(j2))
  594. i += copy(dAtA[i:], dAtA3[:j2])
  595. }
  596. return i, nil
  597. }
  598. func (m *FeedGetUserFcBatchResp) Marshal() (dAtA []byte, err error) {
  599. size := m.Size()
  600. dAtA = make([]byte, size)
  601. n, err := m.MarshalTo(dAtA)
  602. if err != nil {
  603. return nil, err
  604. }
  605. return dAtA[:n], nil
  606. }
  607. func (m *FeedGetUserFcBatchResp) MarshalTo(dAtA []byte) (int, error) {
  608. var i int
  609. _ = i
  610. var l int
  611. _ = l
  612. if m.Code != 0 {
  613. dAtA[i] = 0x8
  614. i++
  615. i = encodeVarintFeed(dAtA, i, uint64(m.Code))
  616. }
  617. if len(m.Msg) > 0 {
  618. dAtA[i] = 0x12
  619. i++
  620. i = encodeVarintFeed(dAtA, i, uint64(len(m.Msg)))
  621. i += copy(dAtA[i:], m.Msg)
  622. }
  623. if len(m.Message) > 0 {
  624. dAtA[i] = 0x1a
  625. i++
  626. i = encodeVarintFeed(dAtA, i, uint64(len(m.Message)))
  627. i += copy(dAtA[i:], m.Message)
  628. }
  629. if len(m.Data) > 0 {
  630. for k, _ := range m.Data {
  631. dAtA[i] = 0x22
  632. i++
  633. v := m.Data[k]
  634. msgSize := 0
  635. if v != nil {
  636. msgSize = v.Size()
  637. msgSize += 1 + sovFeed(uint64(msgSize))
  638. }
  639. mapSize := 1 + sovFeed(uint64(k)) + msgSize
  640. i = encodeVarintFeed(dAtA, i, uint64(mapSize))
  641. dAtA[i] = 0x8
  642. i++
  643. i = encodeVarintFeed(dAtA, i, uint64(k))
  644. if v != nil {
  645. dAtA[i] = 0x12
  646. i++
  647. i = encodeVarintFeed(dAtA, i, uint64(v.Size()))
  648. n4, err := v.MarshalTo(dAtA[i:])
  649. if err != nil {
  650. return 0, err
  651. }
  652. i += n4
  653. }
  654. }
  655. }
  656. return i, nil
  657. }
  658. func (m *FeedGetUserFcBatchResp_RelationList) Marshal() (dAtA []byte, err error) {
  659. size := m.Size()
  660. dAtA = make([]byte, size)
  661. n, err := m.MarshalTo(dAtA)
  662. if err != nil {
  663. return nil, err
  664. }
  665. return dAtA[:n], nil
  666. }
  667. func (m *FeedGetUserFcBatchResp_RelationList) MarshalTo(dAtA []byte) (int, error) {
  668. var i int
  669. _ = i
  670. var l int
  671. _ = l
  672. if m.Uid != 0 {
  673. dAtA[i] = 0x8
  674. i++
  675. i = encodeVarintFeed(dAtA, i, uint64(m.Uid))
  676. }
  677. if m.Fc != 0 {
  678. dAtA[i] = 0x10
  679. i++
  680. i = encodeVarintFeed(dAtA, i, uint64(m.Fc))
  681. }
  682. return i, nil
  683. }
  684. func (m *FeedGetAttentionListReq) Marshal() (dAtA []byte, err error) {
  685. size := m.Size()
  686. dAtA = make([]byte, size)
  687. n, err := m.MarshalTo(dAtA)
  688. if err != nil {
  689. return nil, err
  690. }
  691. return dAtA[:n], nil
  692. }
  693. func (m *FeedGetAttentionListReq) MarshalTo(dAtA []byte) (int, error) {
  694. var i int
  695. _ = i
  696. var l int
  697. _ = l
  698. if m.Uid != 0 {
  699. dAtA[i] = 0x8
  700. i++
  701. i = encodeVarintFeed(dAtA, i, uint64(m.Uid))
  702. }
  703. return i, nil
  704. }
  705. func (m *FeedGetAttentionListResp) Marshal() (dAtA []byte, err error) {
  706. size := m.Size()
  707. dAtA = make([]byte, size)
  708. n, err := m.MarshalTo(dAtA)
  709. if err != nil {
  710. return nil, err
  711. }
  712. return dAtA[:n], nil
  713. }
  714. func (m *FeedGetAttentionListResp) MarshalTo(dAtA []byte) (int, error) {
  715. var i int
  716. _ = i
  717. var l int
  718. _ = l
  719. if m.Code != 0 {
  720. dAtA[i] = 0x8
  721. i++
  722. i = encodeVarintFeed(dAtA, i, uint64(m.Code))
  723. }
  724. if len(m.Msg) > 0 {
  725. dAtA[i] = 0x12
  726. i++
  727. i = encodeVarintFeed(dAtA, i, uint64(len(m.Msg)))
  728. i += copy(dAtA[i:], m.Msg)
  729. }
  730. if len(m.Message) > 0 {
  731. dAtA[i] = 0x1a
  732. i++
  733. i = encodeVarintFeed(dAtA, i, uint64(len(m.Message)))
  734. i += copy(dAtA[i:], m.Message)
  735. }
  736. if m.Data != nil {
  737. dAtA[i] = 0x22
  738. i++
  739. i = encodeVarintFeed(dAtA, i, uint64(m.Data.Size()))
  740. n5, err := m.Data.MarshalTo(dAtA[i:])
  741. if err != nil {
  742. return 0, err
  743. }
  744. i += n5
  745. }
  746. return i, nil
  747. }
  748. func (m *FeedGetAttentionListResp_Data) Marshal() (dAtA []byte, err error) {
  749. size := m.Size()
  750. dAtA = make([]byte, size)
  751. n, err := m.MarshalTo(dAtA)
  752. if err != nil {
  753. return nil, err
  754. }
  755. return dAtA[:n], nil
  756. }
  757. func (m *FeedGetAttentionListResp_Data) MarshalTo(dAtA []byte) (int, error) {
  758. var i int
  759. _ = i
  760. var l int
  761. _ = l
  762. if len(m.List) > 0 {
  763. for _, s := range m.List {
  764. dAtA[i] = 0xa
  765. i++
  766. l = len(s)
  767. for l >= 1<<7 {
  768. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  769. l >>= 7
  770. i++
  771. }
  772. dAtA[i] = uint8(l)
  773. i++
  774. i += copy(dAtA[i:], s)
  775. }
  776. }
  777. return i, nil
  778. }
  779. func encodeVarintFeed(dAtA []byte, offset int, v uint64) int {
  780. for v >= 1<<7 {
  781. dAtA[offset] = uint8(v&0x7f | 0x80)
  782. v >>= 7
  783. offset++
  784. }
  785. dAtA[offset] = uint8(v)
  786. return offset + 1
  787. }
  788. func (m *FeedGetUserFcReq) Size() (n int) {
  789. if m == nil {
  790. return 0
  791. }
  792. var l int
  793. _ = l
  794. if m.Follow != 0 {
  795. n += 1 + sovFeed(uint64(m.Follow))
  796. }
  797. return n
  798. }
  799. func (m *FeedGetUserFcResp) Size() (n int) {
  800. if m == nil {
  801. return 0
  802. }
  803. var l int
  804. _ = l
  805. if m.Code != 0 {
  806. n += 1 + sovFeed(uint64(m.Code))
  807. }
  808. l = len(m.Msg)
  809. if l > 0 {
  810. n += 1 + l + sovFeed(uint64(l))
  811. }
  812. l = len(m.Message)
  813. if l > 0 {
  814. n += 1 + l + sovFeed(uint64(l))
  815. }
  816. if m.Data != nil {
  817. l = m.Data.Size()
  818. n += 1 + l + sovFeed(uint64(l))
  819. }
  820. return n
  821. }
  822. func (m *FeedGetUserFcResp_Data) Size() (n int) {
  823. if m == nil {
  824. return 0
  825. }
  826. var l int
  827. _ = l
  828. if m.Fc != 0 {
  829. n += 1 + sovFeed(uint64(m.Fc))
  830. }
  831. return n
  832. }
  833. func (m *FeedGetUserFcBatchReq) Size() (n int) {
  834. if m == nil {
  835. return 0
  836. }
  837. var l int
  838. _ = l
  839. if len(m.Uids) > 0 {
  840. l = 0
  841. for _, e := range m.Uids {
  842. l += sovFeed(uint64(e))
  843. }
  844. n += 1 + sovFeed(uint64(l)) + l
  845. }
  846. return n
  847. }
  848. func (m *FeedGetUserFcBatchResp) Size() (n int) {
  849. if m == nil {
  850. return 0
  851. }
  852. var l int
  853. _ = l
  854. if m.Code != 0 {
  855. n += 1 + sovFeed(uint64(m.Code))
  856. }
  857. l = len(m.Msg)
  858. if l > 0 {
  859. n += 1 + l + sovFeed(uint64(l))
  860. }
  861. l = len(m.Message)
  862. if l > 0 {
  863. n += 1 + l + sovFeed(uint64(l))
  864. }
  865. if len(m.Data) > 0 {
  866. for k, v := range m.Data {
  867. _ = k
  868. _ = v
  869. l = 0
  870. if v != nil {
  871. l = v.Size()
  872. l += 1 + sovFeed(uint64(l))
  873. }
  874. mapEntrySize := 1 + sovFeed(uint64(k)) + l
  875. n += mapEntrySize + 1 + sovFeed(uint64(mapEntrySize))
  876. }
  877. }
  878. return n
  879. }
  880. func (m *FeedGetUserFcBatchResp_RelationList) Size() (n int) {
  881. if m == nil {
  882. return 0
  883. }
  884. var l int
  885. _ = l
  886. if m.Uid != 0 {
  887. n += 1 + sovFeed(uint64(m.Uid))
  888. }
  889. if m.Fc != 0 {
  890. n += 1 + sovFeed(uint64(m.Fc))
  891. }
  892. return n
  893. }
  894. func (m *FeedGetAttentionListReq) Size() (n int) {
  895. if m == nil {
  896. return 0
  897. }
  898. var l int
  899. _ = l
  900. if m.Uid != 0 {
  901. n += 1 + sovFeed(uint64(m.Uid))
  902. }
  903. return n
  904. }
  905. func (m *FeedGetAttentionListResp) Size() (n int) {
  906. if m == nil {
  907. return 0
  908. }
  909. var l int
  910. _ = l
  911. if m.Code != 0 {
  912. n += 1 + sovFeed(uint64(m.Code))
  913. }
  914. l = len(m.Msg)
  915. if l > 0 {
  916. n += 1 + l + sovFeed(uint64(l))
  917. }
  918. l = len(m.Message)
  919. if l > 0 {
  920. n += 1 + l + sovFeed(uint64(l))
  921. }
  922. if m.Data != nil {
  923. l = m.Data.Size()
  924. n += 1 + l + sovFeed(uint64(l))
  925. }
  926. return n
  927. }
  928. func (m *FeedGetAttentionListResp_Data) Size() (n int) {
  929. if m == nil {
  930. return 0
  931. }
  932. var l int
  933. _ = l
  934. if len(m.List) > 0 {
  935. for _, s := range m.List {
  936. l = len(s)
  937. n += 1 + l + sovFeed(uint64(l))
  938. }
  939. }
  940. return n
  941. }
  942. func sovFeed(x uint64) (n int) {
  943. for {
  944. n++
  945. x >>= 7
  946. if x == 0 {
  947. break
  948. }
  949. }
  950. return n
  951. }
  952. func sozFeed(x uint64) (n int) {
  953. return sovFeed(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  954. }
  955. func (m *FeedGetUserFcReq) Unmarshal(dAtA []byte) error {
  956. l := len(dAtA)
  957. iNdEx := 0
  958. for iNdEx < l {
  959. preIndex := iNdEx
  960. var wire uint64
  961. for shift := uint(0); ; shift += 7 {
  962. if shift >= 64 {
  963. return ErrIntOverflowFeed
  964. }
  965. if iNdEx >= l {
  966. return io.ErrUnexpectedEOF
  967. }
  968. b := dAtA[iNdEx]
  969. iNdEx++
  970. wire |= (uint64(b) & 0x7F) << shift
  971. if b < 0x80 {
  972. break
  973. }
  974. }
  975. fieldNum := int32(wire >> 3)
  976. wireType := int(wire & 0x7)
  977. if wireType == 4 {
  978. return fmt.Errorf("proto: FeedGetUserFcReq: wiretype end group for non-group")
  979. }
  980. if fieldNum <= 0 {
  981. return fmt.Errorf("proto: FeedGetUserFcReq: illegal tag %d (wire type %d)", fieldNum, wire)
  982. }
  983. switch fieldNum {
  984. case 1:
  985. if wireType != 0 {
  986. return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType)
  987. }
  988. m.Follow = 0
  989. for shift := uint(0); ; shift += 7 {
  990. if shift >= 64 {
  991. return ErrIntOverflowFeed
  992. }
  993. if iNdEx >= l {
  994. return io.ErrUnexpectedEOF
  995. }
  996. b := dAtA[iNdEx]
  997. iNdEx++
  998. m.Follow |= (int64(b) & 0x7F) << shift
  999. if b < 0x80 {
  1000. break
  1001. }
  1002. }
  1003. default:
  1004. iNdEx = preIndex
  1005. skippy, err := skipFeed(dAtA[iNdEx:])
  1006. if err != nil {
  1007. return err
  1008. }
  1009. if skippy < 0 {
  1010. return ErrInvalidLengthFeed
  1011. }
  1012. if (iNdEx + skippy) > l {
  1013. return io.ErrUnexpectedEOF
  1014. }
  1015. iNdEx += skippy
  1016. }
  1017. }
  1018. if iNdEx > l {
  1019. return io.ErrUnexpectedEOF
  1020. }
  1021. return nil
  1022. }
  1023. func (m *FeedGetUserFcResp) Unmarshal(dAtA []byte) error {
  1024. l := len(dAtA)
  1025. iNdEx := 0
  1026. for iNdEx < l {
  1027. preIndex := iNdEx
  1028. var wire uint64
  1029. for shift := uint(0); ; shift += 7 {
  1030. if shift >= 64 {
  1031. return ErrIntOverflowFeed
  1032. }
  1033. if iNdEx >= l {
  1034. return io.ErrUnexpectedEOF
  1035. }
  1036. b := dAtA[iNdEx]
  1037. iNdEx++
  1038. wire |= (uint64(b) & 0x7F) << shift
  1039. if b < 0x80 {
  1040. break
  1041. }
  1042. }
  1043. fieldNum := int32(wire >> 3)
  1044. wireType := int(wire & 0x7)
  1045. if wireType == 4 {
  1046. return fmt.Errorf("proto: FeedGetUserFcResp: wiretype end group for non-group")
  1047. }
  1048. if fieldNum <= 0 {
  1049. return fmt.Errorf("proto: FeedGetUserFcResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1050. }
  1051. switch fieldNum {
  1052. case 1:
  1053. if wireType != 0 {
  1054. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1055. }
  1056. m.Code = 0
  1057. for shift := uint(0); ; shift += 7 {
  1058. if shift >= 64 {
  1059. return ErrIntOverflowFeed
  1060. }
  1061. if iNdEx >= l {
  1062. return io.ErrUnexpectedEOF
  1063. }
  1064. b := dAtA[iNdEx]
  1065. iNdEx++
  1066. m.Code |= (int64(b) & 0x7F) << shift
  1067. if b < 0x80 {
  1068. break
  1069. }
  1070. }
  1071. case 2:
  1072. if wireType != 2 {
  1073. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1074. }
  1075. var stringLen uint64
  1076. for shift := uint(0); ; shift += 7 {
  1077. if shift >= 64 {
  1078. return ErrIntOverflowFeed
  1079. }
  1080. if iNdEx >= l {
  1081. return io.ErrUnexpectedEOF
  1082. }
  1083. b := dAtA[iNdEx]
  1084. iNdEx++
  1085. stringLen |= (uint64(b) & 0x7F) << shift
  1086. if b < 0x80 {
  1087. break
  1088. }
  1089. }
  1090. intStringLen := int(stringLen)
  1091. if intStringLen < 0 {
  1092. return ErrInvalidLengthFeed
  1093. }
  1094. postIndex := iNdEx + intStringLen
  1095. if postIndex > l {
  1096. return io.ErrUnexpectedEOF
  1097. }
  1098. m.Msg = string(dAtA[iNdEx:postIndex])
  1099. iNdEx = postIndex
  1100. case 3:
  1101. if wireType != 2 {
  1102. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  1103. }
  1104. var stringLen uint64
  1105. for shift := uint(0); ; shift += 7 {
  1106. if shift >= 64 {
  1107. return ErrIntOverflowFeed
  1108. }
  1109. if iNdEx >= l {
  1110. return io.ErrUnexpectedEOF
  1111. }
  1112. b := dAtA[iNdEx]
  1113. iNdEx++
  1114. stringLen |= (uint64(b) & 0x7F) << shift
  1115. if b < 0x80 {
  1116. break
  1117. }
  1118. }
  1119. intStringLen := int(stringLen)
  1120. if intStringLen < 0 {
  1121. return ErrInvalidLengthFeed
  1122. }
  1123. postIndex := iNdEx + intStringLen
  1124. if postIndex > l {
  1125. return io.ErrUnexpectedEOF
  1126. }
  1127. m.Message = string(dAtA[iNdEx:postIndex])
  1128. iNdEx = postIndex
  1129. case 4:
  1130. if wireType != 2 {
  1131. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1132. }
  1133. var msglen int
  1134. for shift := uint(0); ; shift += 7 {
  1135. if shift >= 64 {
  1136. return ErrIntOverflowFeed
  1137. }
  1138. if iNdEx >= l {
  1139. return io.ErrUnexpectedEOF
  1140. }
  1141. b := dAtA[iNdEx]
  1142. iNdEx++
  1143. msglen |= (int(b) & 0x7F) << shift
  1144. if b < 0x80 {
  1145. break
  1146. }
  1147. }
  1148. if msglen < 0 {
  1149. return ErrInvalidLengthFeed
  1150. }
  1151. postIndex := iNdEx + msglen
  1152. if postIndex > l {
  1153. return io.ErrUnexpectedEOF
  1154. }
  1155. if m.Data == nil {
  1156. m.Data = &FeedGetUserFcResp_Data{}
  1157. }
  1158. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1159. return err
  1160. }
  1161. iNdEx = postIndex
  1162. default:
  1163. iNdEx = preIndex
  1164. skippy, err := skipFeed(dAtA[iNdEx:])
  1165. if err != nil {
  1166. return err
  1167. }
  1168. if skippy < 0 {
  1169. return ErrInvalidLengthFeed
  1170. }
  1171. if (iNdEx + skippy) > l {
  1172. return io.ErrUnexpectedEOF
  1173. }
  1174. iNdEx += skippy
  1175. }
  1176. }
  1177. if iNdEx > l {
  1178. return io.ErrUnexpectedEOF
  1179. }
  1180. return nil
  1181. }
  1182. func (m *FeedGetUserFcResp_Data) Unmarshal(dAtA []byte) error {
  1183. l := len(dAtA)
  1184. iNdEx := 0
  1185. for iNdEx < l {
  1186. preIndex := iNdEx
  1187. var wire uint64
  1188. for shift := uint(0); ; shift += 7 {
  1189. if shift >= 64 {
  1190. return ErrIntOverflowFeed
  1191. }
  1192. if iNdEx >= l {
  1193. return io.ErrUnexpectedEOF
  1194. }
  1195. b := dAtA[iNdEx]
  1196. iNdEx++
  1197. wire |= (uint64(b) & 0x7F) << shift
  1198. if b < 0x80 {
  1199. break
  1200. }
  1201. }
  1202. fieldNum := int32(wire >> 3)
  1203. wireType := int(wire & 0x7)
  1204. if wireType == 4 {
  1205. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  1206. }
  1207. if fieldNum <= 0 {
  1208. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  1209. }
  1210. switch fieldNum {
  1211. case 1:
  1212. if wireType != 0 {
  1213. return fmt.Errorf("proto: wrong wireType = %d for field Fc", wireType)
  1214. }
  1215. m.Fc = 0
  1216. for shift := uint(0); ; shift += 7 {
  1217. if shift >= 64 {
  1218. return ErrIntOverflowFeed
  1219. }
  1220. if iNdEx >= l {
  1221. return io.ErrUnexpectedEOF
  1222. }
  1223. b := dAtA[iNdEx]
  1224. iNdEx++
  1225. m.Fc |= (int64(b) & 0x7F) << shift
  1226. if b < 0x80 {
  1227. break
  1228. }
  1229. }
  1230. default:
  1231. iNdEx = preIndex
  1232. skippy, err := skipFeed(dAtA[iNdEx:])
  1233. if err != nil {
  1234. return err
  1235. }
  1236. if skippy < 0 {
  1237. return ErrInvalidLengthFeed
  1238. }
  1239. if (iNdEx + skippy) > l {
  1240. return io.ErrUnexpectedEOF
  1241. }
  1242. iNdEx += skippy
  1243. }
  1244. }
  1245. if iNdEx > l {
  1246. return io.ErrUnexpectedEOF
  1247. }
  1248. return nil
  1249. }
  1250. func (m *FeedGetUserFcBatchReq) Unmarshal(dAtA []byte) error {
  1251. l := len(dAtA)
  1252. iNdEx := 0
  1253. for iNdEx < l {
  1254. preIndex := iNdEx
  1255. var wire uint64
  1256. for shift := uint(0); ; shift += 7 {
  1257. if shift >= 64 {
  1258. return ErrIntOverflowFeed
  1259. }
  1260. if iNdEx >= l {
  1261. return io.ErrUnexpectedEOF
  1262. }
  1263. b := dAtA[iNdEx]
  1264. iNdEx++
  1265. wire |= (uint64(b) & 0x7F) << shift
  1266. if b < 0x80 {
  1267. break
  1268. }
  1269. }
  1270. fieldNum := int32(wire >> 3)
  1271. wireType := int(wire & 0x7)
  1272. if wireType == 4 {
  1273. return fmt.Errorf("proto: FeedGetUserFcBatchReq: wiretype end group for non-group")
  1274. }
  1275. if fieldNum <= 0 {
  1276. return fmt.Errorf("proto: FeedGetUserFcBatchReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1277. }
  1278. switch fieldNum {
  1279. case 1:
  1280. if wireType == 0 {
  1281. var v int64
  1282. for shift := uint(0); ; shift += 7 {
  1283. if shift >= 64 {
  1284. return ErrIntOverflowFeed
  1285. }
  1286. if iNdEx >= l {
  1287. return io.ErrUnexpectedEOF
  1288. }
  1289. b := dAtA[iNdEx]
  1290. iNdEx++
  1291. v |= (int64(b) & 0x7F) << shift
  1292. if b < 0x80 {
  1293. break
  1294. }
  1295. }
  1296. m.Uids = append(m.Uids, v)
  1297. } else if wireType == 2 {
  1298. var packedLen int
  1299. for shift := uint(0); ; shift += 7 {
  1300. if shift >= 64 {
  1301. return ErrIntOverflowFeed
  1302. }
  1303. if iNdEx >= l {
  1304. return io.ErrUnexpectedEOF
  1305. }
  1306. b := dAtA[iNdEx]
  1307. iNdEx++
  1308. packedLen |= (int(b) & 0x7F) << shift
  1309. if b < 0x80 {
  1310. break
  1311. }
  1312. }
  1313. if packedLen < 0 {
  1314. return ErrInvalidLengthFeed
  1315. }
  1316. postIndex := iNdEx + packedLen
  1317. if postIndex > l {
  1318. return io.ErrUnexpectedEOF
  1319. }
  1320. var elementCount int
  1321. var count int
  1322. for _, integer := range dAtA {
  1323. if integer < 128 {
  1324. count++
  1325. }
  1326. }
  1327. elementCount = count
  1328. if elementCount != 0 && len(m.Uids) == 0 {
  1329. m.Uids = make([]int64, 0, elementCount)
  1330. }
  1331. for iNdEx < postIndex {
  1332. var v int64
  1333. for shift := uint(0); ; shift += 7 {
  1334. if shift >= 64 {
  1335. return ErrIntOverflowFeed
  1336. }
  1337. if iNdEx >= l {
  1338. return io.ErrUnexpectedEOF
  1339. }
  1340. b := dAtA[iNdEx]
  1341. iNdEx++
  1342. v |= (int64(b) & 0x7F) << shift
  1343. if b < 0x80 {
  1344. break
  1345. }
  1346. }
  1347. m.Uids = append(m.Uids, v)
  1348. }
  1349. } else {
  1350. return fmt.Errorf("proto: wrong wireType = %d for field Uids", wireType)
  1351. }
  1352. default:
  1353. iNdEx = preIndex
  1354. skippy, err := skipFeed(dAtA[iNdEx:])
  1355. if err != nil {
  1356. return err
  1357. }
  1358. if skippy < 0 {
  1359. return ErrInvalidLengthFeed
  1360. }
  1361. if (iNdEx + skippy) > l {
  1362. return io.ErrUnexpectedEOF
  1363. }
  1364. iNdEx += skippy
  1365. }
  1366. }
  1367. if iNdEx > l {
  1368. return io.ErrUnexpectedEOF
  1369. }
  1370. return nil
  1371. }
  1372. func (m *FeedGetUserFcBatchResp) Unmarshal(dAtA []byte) error {
  1373. l := len(dAtA)
  1374. iNdEx := 0
  1375. for iNdEx < l {
  1376. preIndex := iNdEx
  1377. var wire uint64
  1378. for shift := uint(0); ; shift += 7 {
  1379. if shift >= 64 {
  1380. return ErrIntOverflowFeed
  1381. }
  1382. if iNdEx >= l {
  1383. return io.ErrUnexpectedEOF
  1384. }
  1385. b := dAtA[iNdEx]
  1386. iNdEx++
  1387. wire |= (uint64(b) & 0x7F) << shift
  1388. if b < 0x80 {
  1389. break
  1390. }
  1391. }
  1392. fieldNum := int32(wire >> 3)
  1393. wireType := int(wire & 0x7)
  1394. if wireType == 4 {
  1395. return fmt.Errorf("proto: FeedGetUserFcBatchResp: wiretype end group for non-group")
  1396. }
  1397. if fieldNum <= 0 {
  1398. return fmt.Errorf("proto: FeedGetUserFcBatchResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1399. }
  1400. switch fieldNum {
  1401. case 1:
  1402. if wireType != 0 {
  1403. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1404. }
  1405. m.Code = 0
  1406. for shift := uint(0); ; shift += 7 {
  1407. if shift >= 64 {
  1408. return ErrIntOverflowFeed
  1409. }
  1410. if iNdEx >= l {
  1411. return io.ErrUnexpectedEOF
  1412. }
  1413. b := dAtA[iNdEx]
  1414. iNdEx++
  1415. m.Code |= (int64(b) & 0x7F) << shift
  1416. if b < 0x80 {
  1417. break
  1418. }
  1419. }
  1420. case 2:
  1421. if wireType != 2 {
  1422. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1423. }
  1424. var stringLen uint64
  1425. for shift := uint(0); ; shift += 7 {
  1426. if shift >= 64 {
  1427. return ErrIntOverflowFeed
  1428. }
  1429. if iNdEx >= l {
  1430. return io.ErrUnexpectedEOF
  1431. }
  1432. b := dAtA[iNdEx]
  1433. iNdEx++
  1434. stringLen |= (uint64(b) & 0x7F) << shift
  1435. if b < 0x80 {
  1436. break
  1437. }
  1438. }
  1439. intStringLen := int(stringLen)
  1440. if intStringLen < 0 {
  1441. return ErrInvalidLengthFeed
  1442. }
  1443. postIndex := iNdEx + intStringLen
  1444. if postIndex > l {
  1445. return io.ErrUnexpectedEOF
  1446. }
  1447. m.Msg = string(dAtA[iNdEx:postIndex])
  1448. iNdEx = postIndex
  1449. case 3:
  1450. if wireType != 2 {
  1451. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  1452. }
  1453. var stringLen uint64
  1454. for shift := uint(0); ; shift += 7 {
  1455. if shift >= 64 {
  1456. return ErrIntOverflowFeed
  1457. }
  1458. if iNdEx >= l {
  1459. return io.ErrUnexpectedEOF
  1460. }
  1461. b := dAtA[iNdEx]
  1462. iNdEx++
  1463. stringLen |= (uint64(b) & 0x7F) << shift
  1464. if b < 0x80 {
  1465. break
  1466. }
  1467. }
  1468. intStringLen := int(stringLen)
  1469. if intStringLen < 0 {
  1470. return ErrInvalidLengthFeed
  1471. }
  1472. postIndex := iNdEx + intStringLen
  1473. if postIndex > l {
  1474. return io.ErrUnexpectedEOF
  1475. }
  1476. m.Message = string(dAtA[iNdEx:postIndex])
  1477. iNdEx = postIndex
  1478. case 4:
  1479. if wireType != 2 {
  1480. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1481. }
  1482. var msglen int
  1483. for shift := uint(0); ; shift += 7 {
  1484. if shift >= 64 {
  1485. return ErrIntOverflowFeed
  1486. }
  1487. if iNdEx >= l {
  1488. return io.ErrUnexpectedEOF
  1489. }
  1490. b := dAtA[iNdEx]
  1491. iNdEx++
  1492. msglen |= (int(b) & 0x7F) << shift
  1493. if b < 0x80 {
  1494. break
  1495. }
  1496. }
  1497. if msglen < 0 {
  1498. return ErrInvalidLengthFeed
  1499. }
  1500. postIndex := iNdEx + msglen
  1501. if postIndex > l {
  1502. return io.ErrUnexpectedEOF
  1503. }
  1504. if m.Data == nil {
  1505. m.Data = make(map[int64]*FeedGetUserFcBatchResp_RelationList)
  1506. }
  1507. var mapkey int64
  1508. var mapvalue *FeedGetUserFcBatchResp_RelationList
  1509. for iNdEx < postIndex {
  1510. entryPreIndex := iNdEx
  1511. var wire uint64
  1512. for shift := uint(0); ; shift += 7 {
  1513. if shift >= 64 {
  1514. return ErrIntOverflowFeed
  1515. }
  1516. if iNdEx >= l {
  1517. return io.ErrUnexpectedEOF
  1518. }
  1519. b := dAtA[iNdEx]
  1520. iNdEx++
  1521. wire |= (uint64(b) & 0x7F) << shift
  1522. if b < 0x80 {
  1523. break
  1524. }
  1525. }
  1526. fieldNum := int32(wire >> 3)
  1527. if fieldNum == 1 {
  1528. for shift := uint(0); ; shift += 7 {
  1529. if shift >= 64 {
  1530. return ErrIntOverflowFeed
  1531. }
  1532. if iNdEx >= l {
  1533. return io.ErrUnexpectedEOF
  1534. }
  1535. b := dAtA[iNdEx]
  1536. iNdEx++
  1537. mapkey |= (int64(b) & 0x7F) << shift
  1538. if b < 0x80 {
  1539. break
  1540. }
  1541. }
  1542. } else if fieldNum == 2 {
  1543. var mapmsglen int
  1544. for shift := uint(0); ; shift += 7 {
  1545. if shift >= 64 {
  1546. return ErrIntOverflowFeed
  1547. }
  1548. if iNdEx >= l {
  1549. return io.ErrUnexpectedEOF
  1550. }
  1551. b := dAtA[iNdEx]
  1552. iNdEx++
  1553. mapmsglen |= (int(b) & 0x7F) << shift
  1554. if b < 0x80 {
  1555. break
  1556. }
  1557. }
  1558. if mapmsglen < 0 {
  1559. return ErrInvalidLengthFeed
  1560. }
  1561. postmsgIndex := iNdEx + mapmsglen
  1562. if mapmsglen < 0 {
  1563. return ErrInvalidLengthFeed
  1564. }
  1565. if postmsgIndex > l {
  1566. return io.ErrUnexpectedEOF
  1567. }
  1568. mapvalue = &FeedGetUserFcBatchResp_RelationList{}
  1569. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  1570. return err
  1571. }
  1572. iNdEx = postmsgIndex
  1573. } else {
  1574. iNdEx = entryPreIndex
  1575. skippy, err := skipFeed(dAtA[iNdEx:])
  1576. if err != nil {
  1577. return err
  1578. }
  1579. if skippy < 0 {
  1580. return ErrInvalidLengthFeed
  1581. }
  1582. if (iNdEx + skippy) > postIndex {
  1583. return io.ErrUnexpectedEOF
  1584. }
  1585. iNdEx += skippy
  1586. }
  1587. }
  1588. m.Data[mapkey] = mapvalue
  1589. iNdEx = postIndex
  1590. default:
  1591. iNdEx = preIndex
  1592. skippy, err := skipFeed(dAtA[iNdEx:])
  1593. if err != nil {
  1594. return err
  1595. }
  1596. if skippy < 0 {
  1597. return ErrInvalidLengthFeed
  1598. }
  1599. if (iNdEx + skippy) > l {
  1600. return io.ErrUnexpectedEOF
  1601. }
  1602. iNdEx += skippy
  1603. }
  1604. }
  1605. if iNdEx > l {
  1606. return io.ErrUnexpectedEOF
  1607. }
  1608. return nil
  1609. }
  1610. func (m *FeedGetUserFcBatchResp_RelationList) Unmarshal(dAtA []byte) error {
  1611. l := len(dAtA)
  1612. iNdEx := 0
  1613. for iNdEx < l {
  1614. preIndex := iNdEx
  1615. var wire uint64
  1616. for shift := uint(0); ; shift += 7 {
  1617. if shift >= 64 {
  1618. return ErrIntOverflowFeed
  1619. }
  1620. if iNdEx >= l {
  1621. return io.ErrUnexpectedEOF
  1622. }
  1623. b := dAtA[iNdEx]
  1624. iNdEx++
  1625. wire |= (uint64(b) & 0x7F) << shift
  1626. if b < 0x80 {
  1627. break
  1628. }
  1629. }
  1630. fieldNum := int32(wire >> 3)
  1631. wireType := int(wire & 0x7)
  1632. if wireType == 4 {
  1633. return fmt.Errorf("proto: RelationList: wiretype end group for non-group")
  1634. }
  1635. if fieldNum <= 0 {
  1636. return fmt.Errorf("proto: RelationList: illegal tag %d (wire type %d)", fieldNum, wire)
  1637. }
  1638. switch fieldNum {
  1639. case 1:
  1640. if wireType != 0 {
  1641. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1642. }
  1643. m.Uid = 0
  1644. for shift := uint(0); ; shift += 7 {
  1645. if shift >= 64 {
  1646. return ErrIntOverflowFeed
  1647. }
  1648. if iNdEx >= l {
  1649. return io.ErrUnexpectedEOF
  1650. }
  1651. b := dAtA[iNdEx]
  1652. iNdEx++
  1653. m.Uid |= (int64(b) & 0x7F) << shift
  1654. if b < 0x80 {
  1655. break
  1656. }
  1657. }
  1658. case 2:
  1659. if wireType != 0 {
  1660. return fmt.Errorf("proto: wrong wireType = %d for field Fc", wireType)
  1661. }
  1662. m.Fc = 0
  1663. for shift := uint(0); ; shift += 7 {
  1664. if shift >= 64 {
  1665. return ErrIntOverflowFeed
  1666. }
  1667. if iNdEx >= l {
  1668. return io.ErrUnexpectedEOF
  1669. }
  1670. b := dAtA[iNdEx]
  1671. iNdEx++
  1672. m.Fc |= (int64(b) & 0x7F) << shift
  1673. if b < 0x80 {
  1674. break
  1675. }
  1676. }
  1677. default:
  1678. iNdEx = preIndex
  1679. skippy, err := skipFeed(dAtA[iNdEx:])
  1680. if err != nil {
  1681. return err
  1682. }
  1683. if skippy < 0 {
  1684. return ErrInvalidLengthFeed
  1685. }
  1686. if (iNdEx + skippy) > l {
  1687. return io.ErrUnexpectedEOF
  1688. }
  1689. iNdEx += skippy
  1690. }
  1691. }
  1692. if iNdEx > l {
  1693. return io.ErrUnexpectedEOF
  1694. }
  1695. return nil
  1696. }
  1697. func (m *FeedGetAttentionListReq) Unmarshal(dAtA []byte) error {
  1698. l := len(dAtA)
  1699. iNdEx := 0
  1700. for iNdEx < l {
  1701. preIndex := iNdEx
  1702. var wire uint64
  1703. for shift := uint(0); ; shift += 7 {
  1704. if shift >= 64 {
  1705. return ErrIntOverflowFeed
  1706. }
  1707. if iNdEx >= l {
  1708. return io.ErrUnexpectedEOF
  1709. }
  1710. b := dAtA[iNdEx]
  1711. iNdEx++
  1712. wire |= (uint64(b) & 0x7F) << shift
  1713. if b < 0x80 {
  1714. break
  1715. }
  1716. }
  1717. fieldNum := int32(wire >> 3)
  1718. wireType := int(wire & 0x7)
  1719. if wireType == 4 {
  1720. return fmt.Errorf("proto: FeedGetAttentionListReq: wiretype end group for non-group")
  1721. }
  1722. if fieldNum <= 0 {
  1723. return fmt.Errorf("proto: FeedGetAttentionListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1724. }
  1725. switch fieldNum {
  1726. case 1:
  1727. if wireType != 0 {
  1728. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1729. }
  1730. m.Uid = 0
  1731. for shift := uint(0); ; shift += 7 {
  1732. if shift >= 64 {
  1733. return ErrIntOverflowFeed
  1734. }
  1735. if iNdEx >= l {
  1736. return io.ErrUnexpectedEOF
  1737. }
  1738. b := dAtA[iNdEx]
  1739. iNdEx++
  1740. m.Uid |= (int64(b) & 0x7F) << shift
  1741. if b < 0x80 {
  1742. break
  1743. }
  1744. }
  1745. default:
  1746. iNdEx = preIndex
  1747. skippy, err := skipFeed(dAtA[iNdEx:])
  1748. if err != nil {
  1749. return err
  1750. }
  1751. if skippy < 0 {
  1752. return ErrInvalidLengthFeed
  1753. }
  1754. if (iNdEx + skippy) > l {
  1755. return io.ErrUnexpectedEOF
  1756. }
  1757. iNdEx += skippy
  1758. }
  1759. }
  1760. if iNdEx > l {
  1761. return io.ErrUnexpectedEOF
  1762. }
  1763. return nil
  1764. }
  1765. func (m *FeedGetAttentionListResp) Unmarshal(dAtA []byte) error {
  1766. l := len(dAtA)
  1767. iNdEx := 0
  1768. for iNdEx < l {
  1769. preIndex := iNdEx
  1770. var wire uint64
  1771. for shift := uint(0); ; shift += 7 {
  1772. if shift >= 64 {
  1773. return ErrIntOverflowFeed
  1774. }
  1775. if iNdEx >= l {
  1776. return io.ErrUnexpectedEOF
  1777. }
  1778. b := dAtA[iNdEx]
  1779. iNdEx++
  1780. wire |= (uint64(b) & 0x7F) << shift
  1781. if b < 0x80 {
  1782. break
  1783. }
  1784. }
  1785. fieldNum := int32(wire >> 3)
  1786. wireType := int(wire & 0x7)
  1787. if wireType == 4 {
  1788. return fmt.Errorf("proto: FeedGetAttentionListResp: wiretype end group for non-group")
  1789. }
  1790. if fieldNum <= 0 {
  1791. return fmt.Errorf("proto: FeedGetAttentionListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1792. }
  1793. switch fieldNum {
  1794. case 1:
  1795. if wireType != 0 {
  1796. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1797. }
  1798. m.Code = 0
  1799. for shift := uint(0); ; shift += 7 {
  1800. if shift >= 64 {
  1801. return ErrIntOverflowFeed
  1802. }
  1803. if iNdEx >= l {
  1804. return io.ErrUnexpectedEOF
  1805. }
  1806. b := dAtA[iNdEx]
  1807. iNdEx++
  1808. m.Code |= (int64(b) & 0x7F) << shift
  1809. if b < 0x80 {
  1810. break
  1811. }
  1812. }
  1813. case 2:
  1814. if wireType != 2 {
  1815. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1816. }
  1817. var stringLen uint64
  1818. for shift := uint(0); ; shift += 7 {
  1819. if shift >= 64 {
  1820. return ErrIntOverflowFeed
  1821. }
  1822. if iNdEx >= l {
  1823. return io.ErrUnexpectedEOF
  1824. }
  1825. b := dAtA[iNdEx]
  1826. iNdEx++
  1827. stringLen |= (uint64(b) & 0x7F) << shift
  1828. if b < 0x80 {
  1829. break
  1830. }
  1831. }
  1832. intStringLen := int(stringLen)
  1833. if intStringLen < 0 {
  1834. return ErrInvalidLengthFeed
  1835. }
  1836. postIndex := iNdEx + intStringLen
  1837. if postIndex > l {
  1838. return io.ErrUnexpectedEOF
  1839. }
  1840. m.Msg = string(dAtA[iNdEx:postIndex])
  1841. iNdEx = postIndex
  1842. case 3:
  1843. if wireType != 2 {
  1844. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  1845. }
  1846. var stringLen uint64
  1847. for shift := uint(0); ; shift += 7 {
  1848. if shift >= 64 {
  1849. return ErrIntOverflowFeed
  1850. }
  1851. if iNdEx >= l {
  1852. return io.ErrUnexpectedEOF
  1853. }
  1854. b := dAtA[iNdEx]
  1855. iNdEx++
  1856. stringLen |= (uint64(b) & 0x7F) << shift
  1857. if b < 0x80 {
  1858. break
  1859. }
  1860. }
  1861. intStringLen := int(stringLen)
  1862. if intStringLen < 0 {
  1863. return ErrInvalidLengthFeed
  1864. }
  1865. postIndex := iNdEx + intStringLen
  1866. if postIndex > l {
  1867. return io.ErrUnexpectedEOF
  1868. }
  1869. m.Message = string(dAtA[iNdEx:postIndex])
  1870. iNdEx = postIndex
  1871. case 4:
  1872. if wireType != 2 {
  1873. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1874. }
  1875. var msglen int
  1876. for shift := uint(0); ; shift += 7 {
  1877. if shift >= 64 {
  1878. return ErrIntOverflowFeed
  1879. }
  1880. if iNdEx >= l {
  1881. return io.ErrUnexpectedEOF
  1882. }
  1883. b := dAtA[iNdEx]
  1884. iNdEx++
  1885. msglen |= (int(b) & 0x7F) << shift
  1886. if b < 0x80 {
  1887. break
  1888. }
  1889. }
  1890. if msglen < 0 {
  1891. return ErrInvalidLengthFeed
  1892. }
  1893. postIndex := iNdEx + msglen
  1894. if postIndex > l {
  1895. return io.ErrUnexpectedEOF
  1896. }
  1897. if m.Data == nil {
  1898. m.Data = &FeedGetAttentionListResp_Data{}
  1899. }
  1900. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1901. return err
  1902. }
  1903. iNdEx = postIndex
  1904. default:
  1905. iNdEx = preIndex
  1906. skippy, err := skipFeed(dAtA[iNdEx:])
  1907. if err != nil {
  1908. return err
  1909. }
  1910. if skippy < 0 {
  1911. return ErrInvalidLengthFeed
  1912. }
  1913. if (iNdEx + skippy) > l {
  1914. return io.ErrUnexpectedEOF
  1915. }
  1916. iNdEx += skippy
  1917. }
  1918. }
  1919. if iNdEx > l {
  1920. return io.ErrUnexpectedEOF
  1921. }
  1922. return nil
  1923. }
  1924. func (m *FeedGetAttentionListResp_Data) Unmarshal(dAtA []byte) error {
  1925. l := len(dAtA)
  1926. iNdEx := 0
  1927. for iNdEx < l {
  1928. preIndex := iNdEx
  1929. var wire uint64
  1930. for shift := uint(0); ; shift += 7 {
  1931. if shift >= 64 {
  1932. return ErrIntOverflowFeed
  1933. }
  1934. if iNdEx >= l {
  1935. return io.ErrUnexpectedEOF
  1936. }
  1937. b := dAtA[iNdEx]
  1938. iNdEx++
  1939. wire |= (uint64(b) & 0x7F) << shift
  1940. if b < 0x80 {
  1941. break
  1942. }
  1943. }
  1944. fieldNum := int32(wire >> 3)
  1945. wireType := int(wire & 0x7)
  1946. if wireType == 4 {
  1947. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  1948. }
  1949. if fieldNum <= 0 {
  1950. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  1951. }
  1952. switch fieldNum {
  1953. case 1:
  1954. if wireType != 2 {
  1955. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  1956. }
  1957. var stringLen uint64
  1958. for shift := uint(0); ; shift += 7 {
  1959. if shift >= 64 {
  1960. return ErrIntOverflowFeed
  1961. }
  1962. if iNdEx >= l {
  1963. return io.ErrUnexpectedEOF
  1964. }
  1965. b := dAtA[iNdEx]
  1966. iNdEx++
  1967. stringLen |= (uint64(b) & 0x7F) << shift
  1968. if b < 0x80 {
  1969. break
  1970. }
  1971. }
  1972. intStringLen := int(stringLen)
  1973. if intStringLen < 0 {
  1974. return ErrInvalidLengthFeed
  1975. }
  1976. postIndex := iNdEx + intStringLen
  1977. if postIndex > l {
  1978. return io.ErrUnexpectedEOF
  1979. }
  1980. m.List = append(m.List, string(dAtA[iNdEx:postIndex]))
  1981. iNdEx = postIndex
  1982. default:
  1983. iNdEx = preIndex
  1984. skippy, err := skipFeed(dAtA[iNdEx:])
  1985. if err != nil {
  1986. return err
  1987. }
  1988. if skippy < 0 {
  1989. return ErrInvalidLengthFeed
  1990. }
  1991. if (iNdEx + skippy) > l {
  1992. return io.ErrUnexpectedEOF
  1993. }
  1994. iNdEx += skippy
  1995. }
  1996. }
  1997. if iNdEx > l {
  1998. return io.ErrUnexpectedEOF
  1999. }
  2000. return nil
  2001. }
  2002. func skipFeed(dAtA []byte) (n int, err error) {
  2003. l := len(dAtA)
  2004. iNdEx := 0
  2005. for iNdEx < l {
  2006. var wire uint64
  2007. for shift := uint(0); ; shift += 7 {
  2008. if shift >= 64 {
  2009. return 0, ErrIntOverflowFeed
  2010. }
  2011. if iNdEx >= l {
  2012. return 0, io.ErrUnexpectedEOF
  2013. }
  2014. b := dAtA[iNdEx]
  2015. iNdEx++
  2016. wire |= (uint64(b) & 0x7F) << shift
  2017. if b < 0x80 {
  2018. break
  2019. }
  2020. }
  2021. wireType := int(wire & 0x7)
  2022. switch wireType {
  2023. case 0:
  2024. for shift := uint(0); ; shift += 7 {
  2025. if shift >= 64 {
  2026. return 0, ErrIntOverflowFeed
  2027. }
  2028. if iNdEx >= l {
  2029. return 0, io.ErrUnexpectedEOF
  2030. }
  2031. iNdEx++
  2032. if dAtA[iNdEx-1] < 0x80 {
  2033. break
  2034. }
  2035. }
  2036. return iNdEx, nil
  2037. case 1:
  2038. iNdEx += 8
  2039. return iNdEx, nil
  2040. case 2:
  2041. var length int
  2042. for shift := uint(0); ; shift += 7 {
  2043. if shift >= 64 {
  2044. return 0, ErrIntOverflowFeed
  2045. }
  2046. if iNdEx >= l {
  2047. return 0, io.ErrUnexpectedEOF
  2048. }
  2049. b := dAtA[iNdEx]
  2050. iNdEx++
  2051. length |= (int(b) & 0x7F) << shift
  2052. if b < 0x80 {
  2053. break
  2054. }
  2055. }
  2056. iNdEx += length
  2057. if length < 0 {
  2058. return 0, ErrInvalidLengthFeed
  2059. }
  2060. return iNdEx, nil
  2061. case 3:
  2062. for {
  2063. var innerWire uint64
  2064. var start int = iNdEx
  2065. for shift := uint(0); ; shift += 7 {
  2066. if shift >= 64 {
  2067. return 0, ErrIntOverflowFeed
  2068. }
  2069. if iNdEx >= l {
  2070. return 0, io.ErrUnexpectedEOF
  2071. }
  2072. b := dAtA[iNdEx]
  2073. iNdEx++
  2074. innerWire |= (uint64(b) & 0x7F) << shift
  2075. if b < 0x80 {
  2076. break
  2077. }
  2078. }
  2079. innerWireType := int(innerWire & 0x7)
  2080. if innerWireType == 4 {
  2081. break
  2082. }
  2083. next, err := skipFeed(dAtA[start:])
  2084. if err != nil {
  2085. return 0, err
  2086. }
  2087. iNdEx = start + next
  2088. }
  2089. return iNdEx, nil
  2090. case 4:
  2091. return iNdEx, nil
  2092. case 5:
  2093. iNdEx += 4
  2094. return iNdEx, nil
  2095. default:
  2096. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2097. }
  2098. }
  2099. panic("unreachable")
  2100. }
  2101. var (
  2102. ErrInvalidLengthFeed = fmt.Errorf("proto: negative length found during unmarshaling")
  2103. ErrIntOverflowFeed = fmt.Errorf("proto: integer overflow")
  2104. )
  2105. func init() { proto.RegisterFile("v1/Feed.proto", fileDescriptor_Feed_d690314d2e430ba7) }
  2106. var fileDescriptor_Feed_d690314d2e430ba7 = []byte{
  2107. // 544 bytes of a gzipped FileDescriptorProto
  2108. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0xcf, 0x6e, 0xd3, 0x4e,
  2109. 0x10, 0xc7, 0xb3, 0xb6, 0x7f, 0xe9, 0x2f, 0x13, 0x40, 0x65, 0x25, 0x8a, 0xb1, 0x82, 0x13, 0xb9,
  2110. 0xad, 0x14, 0x21, 0xd5, 0x21, 0xe1, 0x8f, 0x10, 0xb7, 0x44, 0x10, 0x10, 0x70, 0x5a, 0x89, 0x03,
  2111. 0x5c, 0xaa, 0x8d, 0xbd, 0x71, 0x2d, 0x92, 0xb8, 0x8e, 0xd7, 0x41, 0x7d, 0x8b, 0x3e, 0x16, 0xc7,
  2112. 0x9e, 0x10, 0x27, 0x0b, 0x25, 0x37, 0x5f, 0x79, 0x01, 0xb4, 0x6b, 0xc7, 0x6a, 0x48, 0x08, 0x39,
  2113. 0xf5, 0x32, 0xde, 0xd9, 0xdd, 0x99, 0xfd, 0xee, 0x67, 0x66, 0x0d, 0xb7, 0x67, 0xed, 0x56, 0x9f,
  2114. 0x31, 0xd7, 0x3e, 0x9f, 0x06, 0x3c, 0xc0, 0xd5, 0x29, 0x1b, 0x51, 0xee, 0x07, 0x13, 0x7b, 0xd6,
  2115. 0x36, 0x4e, 0x3c, 0x9f, 0x9f, 0xc5, 0x03, 0xdb, 0x09, 0xc6, 0x2d, 0x2f, 0xf0, 0x82, 0x96, 0xdc,
  2116. 0x33, 0x88, 0x87, 0xd2, 0x93, 0x8e, 0x1c, 0x65, 0xb1, 0xd6, 0x73, 0xd8, 0x17, 0x99, 0xde, 0x30,
  2117. 0xfe, 0x31, 0x62, 0xd3, 0xbe, 0x43, 0x58, 0x88, 0x2d, 0x28, 0x0f, 0x83, 0xd1, 0x28, 0xf8, 0xaa,
  2118. 0xa3, 0x06, 0x6a, 0xaa, 0x3d, 0x48, 0x93, 0x7a, 0x3e, 0x43, 0xf2, 0xaf, 0xf5, 0x1d, 0xc1, 0xdd,
  2119. 0x3f, 0x02, 0xa3, 0x73, 0x5c, 0x03, 0xcd, 0x09, 0x5c, 0x96, 0xc7, 0xfd, 0x9f, 0x26, 0x75, 0xe9,
  2120. 0x13, 0x69, 0xf1, 0x03, 0x50, 0xc7, 0x91, 0xa7, 0x2b, 0x0d, 0xd4, 0xac, 0xf4, 0xf6, 0xd2, 0xa4,
  2121. 0x2e, 0x5c, 0x22, 0x0c, 0x3e, 0x86, 0xbd, 0x31, 0x8b, 0x22, 0xea, 0x31, 0x5d, 0x95, 0xcb, 0xd5,
  2122. 0x34, 0xa9, 0x2f, 0xa7, 0xc8, 0x72, 0x80, 0xbb, 0xa0, 0xb9, 0x94, 0x53, 0x5d, 0x6b, 0xa0, 0x66,
  2123. 0xb5, 0x73, 0x68, 0x5f, 0xbb, 0xb8, 0xbd, 0xa6, 0xc6, 0x7e, 0x45, 0x39, 0xcd, 0x44, 0x88, 0x20,
  2124. 0x22, 0xad, 0x61, 0x82, 0x26, 0xe6, 0xf1, 0x01, 0x28, 0x43, 0x27, 0x17, 0x5a, 0x4e, 0x93, 0xba,
  2125. 0x32, 0x74, 0x88, 0x32, 0x74, 0xac, 0x67, 0x70, 0x6f, 0x25, 0x53, 0x8f, 0x72, 0xe7, 0x4c, 0x50,
  2126. 0xa9, 0x81, 0x16, 0xfb, 0x6e, 0xa4, 0xa3, 0x86, 0xba, 0xbc, 0x9b, 0xf0, 0x89, 0xb4, 0xd6, 0x2f,
  2127. 0x05, 0x0e, 0x36, 0xc5, 0xdd, 0x00, 0x94, 0xf7, 0x05, 0x14, 0xb5, 0x59, 0xed, 0x9c, 0xfc, 0x1d,
  2128. 0x4a, 0x21, 0x49, 0x92, 0x79, 0x3d, 0xe1, 0xd3, 0x8b, 0x35, 0x3c, 0x3e, 0x54, 0x8a, 0x45, 0xbc,
  2129. 0x0f, 0xea, 0x17, 0x76, 0x91, 0x09, 0x27, 0x62, 0x88, 0xfb, 0xf0, 0xdf, 0x8c, 0x8e, 0x62, 0x26,
  2130. 0xf5, 0x56, 0x3b, 0x8f, 0x77, 0x39, 0x8c, 0xe4, 0x5b, 0x3e, 0xf8, 0x11, 0x27, 0x59, 0xf8, 0x4b,
  2131. 0xe5, 0x05, 0x32, 0xba, 0x70, 0xeb, 0xfa, 0x92, 0x20, 0x11, 0xfb, 0x6e, 0x8e, 0x49, 0x92, 0x88,
  2132. 0x7d, 0x97, 0x08, 0x93, 0x17, 0x4b, 0x59, 0x2b, 0xd6, 0x53, 0xb8, 0x9f, 0x1f, 0xda, 0xe5, 0x9c,
  2133. 0x4d, 0x8a, 0x53, 0x58, 0xb8, 0x25, 0x9b, 0x95, 0x22, 0xd0, 0x37, 0x87, 0xdd, 0x40, 0xb5, 0xde,
  2134. 0xae, 0xb4, 0xf0, 0xa3, 0x4d, 0x00, 0xd7, 0x44, 0x6d, 0xee, 0xe4, 0xa3, 0xbc, 0x93, 0x6b, 0xa0,
  2135. 0x8d, 0xfc, 0x88, 0xcb, 0xc6, 0xac, 0x64, 0xbb, 0x84, 0x4f, 0xa4, 0xed, 0x5c, 0x2a, 0xa0, 0x89,
  2136. 0xbc, 0xf8, 0x1d, 0x54, 0x8a, 0xe2, 0xe0, 0x87, 0xdb, 0x9e, 0x4e, 0x68, 0x98, 0xdb, 0x5f, 0x16,
  2137. 0xfe, 0x04, 0x77, 0x56, 0x0b, 0x8d, 0xad, 0x7f, 0x76, 0x42, 0x68, 0x1c, 0xee, 0xd0, 0x2d, 0x98,
  2138. 0x02, 0xf6, 0x18, 0x3f, 0xa5, 0x4b, 0x06, 0xa7, 0xe2, 0x16, 0xf8, 0x68, 0x07, 0x4e, 0xa1, 0x71,
  2139. 0xbc, 0x13, 0xcd, 0x5e, 0xed, 0xdb, 0xdc, 0x44, 0x57, 0x73, 0x13, 0xfd, 0x9c, 0x9b, 0xe8, 0x72,
  2140. 0x61, 0x96, 0xae, 0x16, 0x66, 0xe9, 0xc7, 0xc2, 0x2c, 0x7d, 0x56, 0x66, 0xed, 0x41, 0x59, 0xfe,
  2141. 0x18, 0x9f, 0xfc, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xeb, 0x77, 0xaf, 0x65, 0x05, 0x00, 0x00,
  2142. }