common.pb.go 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: common.proto
  6. package common
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type UserAndPartnerIdParam struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. PartnerId string `protobuf:"bytes,1,opt,name=partnerId,proto3" json:"partnerId"`
  24. UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId"`
  25. }
  26. func (x *UserAndPartnerIdParam) Reset() {
  27. *x = UserAndPartnerIdParam{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_common_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *UserAndPartnerIdParam) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*UserAndPartnerIdParam) ProtoMessage() {}
  38. func (x *UserAndPartnerIdParam) ProtoReflect() protoreflect.Message {
  39. mi := &file_common_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use UserAndPartnerIdParam.ProtoReflect.Descriptor instead.
  50. func (*UserAndPartnerIdParam) Descriptor() ([]byte, []int) {
  51. return file_common_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *UserAndPartnerIdParam) GetPartnerId() string {
  54. if x != nil {
  55. return x.PartnerId
  56. }
  57. return ""
  58. }
  59. func (x *UserAndPartnerIdParam) GetUserId() string {
  60. if x != nil {
  61. return x.UserId
  62. }
  63. return ""
  64. }
  65. type User1AndUser2IdParam struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. User1 string `protobuf:"bytes,1,opt,name=user1,proto3" json:"user1"`
  70. User2 string `protobuf:"bytes,2,opt,name=user2,proto3" json:"user2"`
  71. }
  72. func (x *User1AndUser2IdParam) Reset() {
  73. *x = User1AndUser2IdParam{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_common_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *User1AndUser2IdParam) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*User1AndUser2IdParam) ProtoMessage() {}
  84. func (x *User1AndUser2IdParam) ProtoReflect() protoreflect.Message {
  85. mi := &file_common_proto_msgTypes[1]
  86. if protoimpl.UnsafeEnabled && x != nil {
  87. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  88. if ms.LoadMessageInfo() == nil {
  89. ms.StoreMessageInfo(mi)
  90. }
  91. return ms
  92. }
  93. return mi.MessageOf(x)
  94. }
  95. // Deprecated: Use User1AndUser2IdParam.ProtoReflect.Descriptor instead.
  96. func (*User1AndUser2IdParam) Descriptor() ([]byte, []int) {
  97. return file_common_proto_rawDescGZIP(), []int{1}
  98. }
  99. func (x *User1AndUser2IdParam) GetUser1() string {
  100. if x != nil {
  101. return x.User1
  102. }
  103. return ""
  104. }
  105. func (x *User1AndUser2IdParam) GetUser2() string {
  106. if x != nil {
  107. return x.User2
  108. }
  109. return ""
  110. }
  111. type PartnerIDParam struct {
  112. state protoimpl.MessageState
  113. sizeCache protoimpl.SizeCache
  114. unknownFields protoimpl.UnknownFields
  115. PartnerID string `protobuf:"bytes,1,opt,name=partnerID,proto3" json:"partnerID"`
  116. }
  117. func (x *PartnerIDParam) Reset() {
  118. *x = PartnerIDParam{}
  119. if protoimpl.UnsafeEnabled {
  120. mi := &file_common_proto_msgTypes[2]
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. ms.StoreMessageInfo(mi)
  123. }
  124. }
  125. func (x *PartnerIDParam) String() string {
  126. return protoimpl.X.MessageStringOf(x)
  127. }
  128. func (*PartnerIDParam) ProtoMessage() {}
  129. func (x *PartnerIDParam) ProtoReflect() protoreflect.Message {
  130. mi := &file_common_proto_msgTypes[2]
  131. if protoimpl.UnsafeEnabled && x != nil {
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. if ms.LoadMessageInfo() == nil {
  134. ms.StoreMessageInfo(mi)
  135. }
  136. return ms
  137. }
  138. return mi.MessageOf(x)
  139. }
  140. // Deprecated: Use PartnerIDParam.ProtoReflect.Descriptor instead.
  141. func (*PartnerIDParam) Descriptor() ([]byte, []int) {
  142. return file_common_proto_rawDescGZIP(), []int{2}
  143. }
  144. func (x *PartnerIDParam) GetPartnerID() string {
  145. if x != nil {
  146. return x.PartnerID
  147. }
  148. return ""
  149. }
  150. type PersonParam struct {
  151. state protoimpl.MessageState
  152. sizeCache protoimpl.SizeCache
  153. unknownFields protoimpl.UnknownFields
  154. PersonID string `protobuf:"bytes,1,opt,name=personID,proto3" json:"personID"` // 查询目标的ID
  155. PersonType string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"` // 类型
  156. }
  157. func (x *PersonParam) Reset() {
  158. *x = PersonParam{}
  159. if protoimpl.UnsafeEnabled {
  160. mi := &file_common_proto_msgTypes[3]
  161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  162. ms.StoreMessageInfo(mi)
  163. }
  164. }
  165. func (x *PersonParam) String() string {
  166. return protoimpl.X.MessageStringOf(x)
  167. }
  168. func (*PersonParam) ProtoMessage() {}
  169. func (x *PersonParam) ProtoReflect() protoreflect.Message {
  170. mi := &file_common_proto_msgTypes[3]
  171. if protoimpl.UnsafeEnabled && x != nil {
  172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  173. if ms.LoadMessageInfo() == nil {
  174. ms.StoreMessageInfo(mi)
  175. }
  176. return ms
  177. }
  178. return mi.MessageOf(x)
  179. }
  180. // Deprecated: Use PersonParam.ProtoReflect.Descriptor instead.
  181. func (*PersonParam) Descriptor() ([]byte, []int) {
  182. return file_common_proto_rawDescGZIP(), []int{3}
  183. }
  184. func (x *PersonParam) GetPersonID() string {
  185. if x != nil {
  186. return x.PersonID
  187. }
  188. return ""
  189. }
  190. func (x *PersonParam) GetPersonType() string {
  191. if x != nil {
  192. return x.PersonType
  193. }
  194. return ""
  195. }
  196. type UserIDParam struct {
  197. state protoimpl.MessageState
  198. sizeCache protoimpl.SizeCache
  199. unknownFields protoimpl.UnknownFields
  200. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"`
  201. }
  202. func (x *UserIDParam) Reset() {
  203. *x = UserIDParam{}
  204. if protoimpl.UnsafeEnabled {
  205. mi := &file_common_proto_msgTypes[4]
  206. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  207. ms.StoreMessageInfo(mi)
  208. }
  209. }
  210. func (x *UserIDParam) String() string {
  211. return protoimpl.X.MessageStringOf(x)
  212. }
  213. func (*UserIDParam) ProtoMessage() {}
  214. func (x *UserIDParam) ProtoReflect() protoreflect.Message {
  215. mi := &file_common_proto_msgTypes[4]
  216. if protoimpl.UnsafeEnabled && x != nil {
  217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  218. if ms.LoadMessageInfo() == nil {
  219. ms.StoreMessageInfo(mi)
  220. }
  221. return ms
  222. }
  223. return mi.MessageOf(x)
  224. }
  225. // Deprecated: Use UserIDParam.ProtoReflect.Descriptor instead.
  226. func (*UserIDParam) Descriptor() ([]byte, []int) {
  227. return file_common_proto_rawDescGZIP(), []int{4}
  228. }
  229. func (x *UserIDParam) GetUserId() string {
  230. if x != nil {
  231. return x.UserId
  232. }
  233. return ""
  234. }
  235. // 主页信息
  236. type HomeInfo struct {
  237. state protoimpl.MessageState
  238. sizeCache protoimpl.SizeCache
  239. unknownFields protoimpl.UnknownFields
  240. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  241. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  242. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  243. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  244. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  245. Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
  246. Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
  247. Area string `protobuf:"bytes,8,opt,name=area,proto3" json:"area"` // 地区
  248. Tag []string `protobuf:"bytes,9,rep,name=tag,proto3" json:"tag"` // 标签
  249. Signature string `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature"` // 签名
  250. IntroduceVoice string `protobuf:"bytes,11,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
  251. LikedNum int64 `protobuf:"varint,12,opt,name=likedNum,proto3" json:"likedNum"` // 喜欢我
  252. LookNum int64 `protobuf:"varint,13,opt,name=lookNum,proto3" json:"lookNum"` // 看过我
  253. }
  254. func (x *HomeInfo) Reset() {
  255. *x = HomeInfo{}
  256. if protoimpl.UnsafeEnabled {
  257. mi := &file_common_proto_msgTypes[5]
  258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  259. ms.StoreMessageInfo(mi)
  260. }
  261. }
  262. func (x *HomeInfo) String() string {
  263. return protoimpl.X.MessageStringOf(x)
  264. }
  265. func (*HomeInfo) ProtoMessage() {}
  266. func (x *HomeInfo) ProtoReflect() protoreflect.Message {
  267. mi := &file_common_proto_msgTypes[5]
  268. if protoimpl.UnsafeEnabled && x != nil {
  269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  270. if ms.LoadMessageInfo() == nil {
  271. ms.StoreMessageInfo(mi)
  272. }
  273. return ms
  274. }
  275. return mi.MessageOf(x)
  276. }
  277. // Deprecated: Use HomeInfo.ProtoReflect.Descriptor instead.
  278. func (*HomeInfo) Descriptor() ([]byte, []int) {
  279. return file_common_proto_rawDescGZIP(), []int{5}
  280. }
  281. func (x *HomeInfo) GetId() string {
  282. if x != nil {
  283. return x.Id
  284. }
  285. return ""
  286. }
  287. func (x *HomeInfo) GetNickname() string {
  288. if x != nil {
  289. return x.Nickname
  290. }
  291. return ""
  292. }
  293. func (x *HomeInfo) GetAvatarUrl() string {
  294. if x != nil {
  295. return x.AvatarUrl
  296. }
  297. return ""
  298. }
  299. func (x *HomeInfo) GetSex() int64 {
  300. if x != nil {
  301. return x.Sex
  302. }
  303. return 0
  304. }
  305. func (x *HomeInfo) GetPictures() []string {
  306. if x != nil {
  307. return x.Pictures
  308. }
  309. return nil
  310. }
  311. func (x *HomeInfo) GetAge() int64 {
  312. if x != nil {
  313. return x.Age
  314. }
  315. return 0
  316. }
  317. func (x *HomeInfo) GetConstellation() string {
  318. if x != nil {
  319. return x.Constellation
  320. }
  321. return ""
  322. }
  323. func (x *HomeInfo) GetArea() string {
  324. if x != nil {
  325. return x.Area
  326. }
  327. return ""
  328. }
  329. func (x *HomeInfo) GetTag() []string {
  330. if x != nil {
  331. return x.Tag
  332. }
  333. return nil
  334. }
  335. func (x *HomeInfo) GetSignature() string {
  336. if x != nil {
  337. return x.Signature
  338. }
  339. return ""
  340. }
  341. func (x *HomeInfo) GetIntroduceVoice() string {
  342. if x != nil {
  343. return x.IntroduceVoice
  344. }
  345. return ""
  346. }
  347. func (x *HomeInfo) GetLikedNum() int64 {
  348. if x != nil {
  349. return x.LikedNum
  350. }
  351. return 0
  352. }
  353. func (x *HomeInfo) GetLookNum() int64 {
  354. if x != nil {
  355. return x.LookNum
  356. }
  357. return 0
  358. }
  359. // 添加好友页面信息
  360. type AddFriendMessageInfo struct {
  361. state protoimpl.MessageState
  362. sizeCache protoimpl.SizeCache
  363. unknownFields protoimpl.UnknownFields
  364. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  365. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  366. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  367. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  368. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  369. }
  370. func (x *AddFriendMessageInfo) Reset() {
  371. *x = AddFriendMessageInfo{}
  372. if protoimpl.UnsafeEnabled {
  373. mi := &file_common_proto_msgTypes[6]
  374. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  375. ms.StoreMessageInfo(mi)
  376. }
  377. }
  378. func (x *AddFriendMessageInfo) String() string {
  379. return protoimpl.X.MessageStringOf(x)
  380. }
  381. func (*AddFriendMessageInfo) ProtoMessage() {}
  382. func (x *AddFriendMessageInfo) ProtoReflect() protoreflect.Message {
  383. mi := &file_common_proto_msgTypes[6]
  384. if protoimpl.UnsafeEnabled && x != nil {
  385. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  386. if ms.LoadMessageInfo() == nil {
  387. ms.StoreMessageInfo(mi)
  388. }
  389. return ms
  390. }
  391. return mi.MessageOf(x)
  392. }
  393. // Deprecated: Use AddFriendMessageInfo.ProtoReflect.Descriptor instead.
  394. func (*AddFriendMessageInfo) Descriptor() ([]byte, []int) {
  395. return file_common_proto_rawDescGZIP(), []int{6}
  396. }
  397. func (x *AddFriendMessageInfo) GetId() string {
  398. if x != nil {
  399. return x.Id
  400. }
  401. return ""
  402. }
  403. func (x *AddFriendMessageInfo) GetNickname() string {
  404. if x != nil {
  405. return x.Nickname
  406. }
  407. return ""
  408. }
  409. func (x *AddFriendMessageInfo) GetAvatarUrl() string {
  410. if x != nil {
  411. return x.AvatarUrl
  412. }
  413. return ""
  414. }
  415. func (x *AddFriendMessageInfo) GetSex() int64 {
  416. if x != nil {
  417. return x.Sex
  418. }
  419. return 0
  420. }
  421. func (x *AddFriendMessageInfo) GetPictures() []string {
  422. if x != nil {
  423. return x.Pictures
  424. }
  425. return nil
  426. }
  427. type PersonIDList struct {
  428. state protoimpl.MessageState
  429. sizeCache protoimpl.SizeCache
  430. unknownFields protoimpl.UnknownFields
  431. PersonIds []string `protobuf:"bytes,1,rep,name=personIds,proto3" json:"personIds"`
  432. }
  433. func (x *PersonIDList) Reset() {
  434. *x = PersonIDList{}
  435. if protoimpl.UnsafeEnabled {
  436. mi := &file_common_proto_msgTypes[7]
  437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  438. ms.StoreMessageInfo(mi)
  439. }
  440. }
  441. func (x *PersonIDList) String() string {
  442. return protoimpl.X.MessageStringOf(x)
  443. }
  444. func (*PersonIDList) ProtoMessage() {}
  445. func (x *PersonIDList) ProtoReflect() protoreflect.Message {
  446. mi := &file_common_proto_msgTypes[7]
  447. if protoimpl.UnsafeEnabled && x != nil {
  448. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  449. if ms.LoadMessageInfo() == nil {
  450. ms.StoreMessageInfo(mi)
  451. }
  452. return ms
  453. }
  454. return mi.MessageOf(x)
  455. }
  456. // Deprecated: Use PersonIDList.ProtoReflect.Descriptor instead.
  457. func (*PersonIDList) Descriptor() ([]byte, []int) {
  458. return file_common_proto_rawDescGZIP(), []int{7}
  459. }
  460. func (x *PersonIDList) GetPersonIds() []string {
  461. if x != nil {
  462. return x.PersonIds
  463. }
  464. return nil
  465. }
  466. type PersonDBReply struct {
  467. state protoimpl.MessageState
  468. sizeCache protoimpl.SizeCache
  469. unknownFields protoimpl.UnknownFields
  470. List []*PersonDB `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  471. }
  472. func (x *PersonDBReply) Reset() {
  473. *x = PersonDBReply{}
  474. if protoimpl.UnsafeEnabled {
  475. mi := &file_common_proto_msgTypes[8]
  476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  477. ms.StoreMessageInfo(mi)
  478. }
  479. }
  480. func (x *PersonDBReply) String() string {
  481. return protoimpl.X.MessageStringOf(x)
  482. }
  483. func (*PersonDBReply) ProtoMessage() {}
  484. func (x *PersonDBReply) ProtoReflect() protoreflect.Message {
  485. mi := &file_common_proto_msgTypes[8]
  486. if protoimpl.UnsafeEnabled && x != nil {
  487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  488. if ms.LoadMessageInfo() == nil {
  489. ms.StoreMessageInfo(mi)
  490. }
  491. return ms
  492. }
  493. return mi.MessageOf(x)
  494. }
  495. // Deprecated: Use PersonDBReply.ProtoReflect.Descriptor instead.
  496. func (*PersonDBReply) Descriptor() ([]byte, []int) {
  497. return file_common_proto_rawDescGZIP(), []int{8}
  498. }
  499. func (x *PersonDBReply) GetList() []*PersonDB {
  500. if x != nil {
  501. return x.List
  502. }
  503. return nil
  504. }
  505. type PersonDB struct {
  506. state protoimpl.MessageState
  507. sizeCache protoimpl.SizeCache
  508. unknownFields protoimpl.UnknownFields
  509. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  510. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  511. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  512. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  513. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  514. Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
  515. Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
  516. Area string `protobuf:"bytes,8,opt,name=area,proto3" json:"area"` // 地区
  517. IntroduceVoice string `protobuf:"bytes,9,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
  518. }
  519. func (x *PersonDB) Reset() {
  520. *x = PersonDB{}
  521. if protoimpl.UnsafeEnabled {
  522. mi := &file_common_proto_msgTypes[9]
  523. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  524. ms.StoreMessageInfo(mi)
  525. }
  526. }
  527. func (x *PersonDB) String() string {
  528. return protoimpl.X.MessageStringOf(x)
  529. }
  530. func (*PersonDB) ProtoMessage() {}
  531. func (x *PersonDB) ProtoReflect() protoreflect.Message {
  532. mi := &file_common_proto_msgTypes[9]
  533. if protoimpl.UnsafeEnabled && x != nil {
  534. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  535. if ms.LoadMessageInfo() == nil {
  536. ms.StoreMessageInfo(mi)
  537. }
  538. return ms
  539. }
  540. return mi.MessageOf(x)
  541. }
  542. // Deprecated: Use PersonDB.ProtoReflect.Descriptor instead.
  543. func (*PersonDB) Descriptor() ([]byte, []int) {
  544. return file_common_proto_rawDescGZIP(), []int{9}
  545. }
  546. func (x *PersonDB) GetId() string {
  547. if x != nil {
  548. return x.Id
  549. }
  550. return ""
  551. }
  552. func (x *PersonDB) GetNickname() string {
  553. if x != nil {
  554. return x.Nickname
  555. }
  556. return ""
  557. }
  558. func (x *PersonDB) GetAvatarUrl() string {
  559. if x != nil {
  560. return x.AvatarUrl
  561. }
  562. return ""
  563. }
  564. func (x *PersonDB) GetSex() int64 {
  565. if x != nil {
  566. return x.Sex
  567. }
  568. return 0
  569. }
  570. func (x *PersonDB) GetPictures() []string {
  571. if x != nil {
  572. return x.Pictures
  573. }
  574. return nil
  575. }
  576. func (x *PersonDB) GetAge() int64 {
  577. if x != nil {
  578. return x.Age
  579. }
  580. return 0
  581. }
  582. func (x *PersonDB) GetConstellation() string {
  583. if x != nil {
  584. return x.Constellation
  585. }
  586. return ""
  587. }
  588. func (x *PersonDB) GetArea() string {
  589. if x != nil {
  590. return x.Area
  591. }
  592. return ""
  593. }
  594. func (x *PersonDB) GetIntroduceVoice() string {
  595. if x != nil {
  596. return x.IntroduceVoice
  597. }
  598. return ""
  599. }
  600. type ListPageRequest struct {
  601. state protoimpl.MessageState
  602. sizeCache protoimpl.SizeCache
  603. unknownFields protoimpl.UnknownFields
  604. NextId int64 `protobuf:"varint,1,opt,name=nextId,proto3" json:"nextId"`
  605. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset"`
  606. }
  607. func (x *ListPageRequest) Reset() {
  608. *x = ListPageRequest{}
  609. if protoimpl.UnsafeEnabled {
  610. mi := &file_common_proto_msgTypes[10]
  611. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  612. ms.StoreMessageInfo(mi)
  613. }
  614. }
  615. func (x *ListPageRequest) String() string {
  616. return protoimpl.X.MessageStringOf(x)
  617. }
  618. func (*ListPageRequest) ProtoMessage() {}
  619. func (x *ListPageRequest) ProtoReflect() protoreflect.Message {
  620. mi := &file_common_proto_msgTypes[10]
  621. if protoimpl.UnsafeEnabled && x != nil {
  622. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  623. if ms.LoadMessageInfo() == nil {
  624. ms.StoreMessageInfo(mi)
  625. }
  626. return ms
  627. }
  628. return mi.MessageOf(x)
  629. }
  630. // Deprecated: Use ListPageRequest.ProtoReflect.Descriptor instead.
  631. func (*ListPageRequest) Descriptor() ([]byte, []int) {
  632. return file_common_proto_rawDescGZIP(), []int{10}
  633. }
  634. func (x *ListPageRequest) GetNextId() int64 {
  635. if x != nil {
  636. return x.NextId
  637. }
  638. return 0
  639. }
  640. func (x *ListPageRequest) GetOffset() int64 {
  641. if x != nil {
  642. return x.Offset
  643. }
  644. return 0
  645. }
  646. type SendPhoneCodeRequest struct {
  647. state protoimpl.MessageState
  648. sizeCache protoimpl.SizeCache
  649. unknownFields protoimpl.UnknownFields
  650. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
  651. }
  652. func (x *SendPhoneCodeRequest) Reset() {
  653. *x = SendPhoneCodeRequest{}
  654. if protoimpl.UnsafeEnabled {
  655. mi := &file_common_proto_msgTypes[11]
  656. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  657. ms.StoreMessageInfo(mi)
  658. }
  659. }
  660. func (x *SendPhoneCodeRequest) String() string {
  661. return protoimpl.X.MessageStringOf(x)
  662. }
  663. func (*SendPhoneCodeRequest) ProtoMessage() {}
  664. func (x *SendPhoneCodeRequest) ProtoReflect() protoreflect.Message {
  665. mi := &file_common_proto_msgTypes[11]
  666. if protoimpl.UnsafeEnabled && x != nil {
  667. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  668. if ms.LoadMessageInfo() == nil {
  669. ms.StoreMessageInfo(mi)
  670. }
  671. return ms
  672. }
  673. return mi.MessageOf(x)
  674. }
  675. // Deprecated: Use SendPhoneCodeRequest.ProtoReflect.Descriptor instead.
  676. func (*SendPhoneCodeRequest) Descriptor() ([]byte, []int) {
  677. return file_common_proto_rawDescGZIP(), []int{11}
  678. }
  679. func (x *SendPhoneCodeRequest) GetPhone() string {
  680. if x != nil {
  681. return x.Phone
  682. }
  683. return ""
  684. }
  685. type CheckPhoneCodeRequest struct {
  686. state protoimpl.MessageState
  687. sizeCache protoimpl.SizeCache
  688. unknownFields protoimpl.UnknownFields
  689. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
  690. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  691. }
  692. func (x *CheckPhoneCodeRequest) Reset() {
  693. *x = CheckPhoneCodeRequest{}
  694. if protoimpl.UnsafeEnabled {
  695. mi := &file_common_proto_msgTypes[12]
  696. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  697. ms.StoreMessageInfo(mi)
  698. }
  699. }
  700. func (x *CheckPhoneCodeRequest) String() string {
  701. return protoimpl.X.MessageStringOf(x)
  702. }
  703. func (*CheckPhoneCodeRequest) ProtoMessage() {}
  704. func (x *CheckPhoneCodeRequest) ProtoReflect() protoreflect.Message {
  705. mi := &file_common_proto_msgTypes[12]
  706. if protoimpl.UnsafeEnabled && x != nil {
  707. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  708. if ms.LoadMessageInfo() == nil {
  709. ms.StoreMessageInfo(mi)
  710. }
  711. return ms
  712. }
  713. return mi.MessageOf(x)
  714. }
  715. // Deprecated: Use CheckPhoneCodeRequest.ProtoReflect.Descriptor instead.
  716. func (*CheckPhoneCodeRequest) Descriptor() ([]byte, []int) {
  717. return file_common_proto_rawDescGZIP(), []int{12}
  718. }
  719. func (x *CheckPhoneCodeRequest) GetPhone() string {
  720. if x != nil {
  721. return x.Phone
  722. }
  723. return ""
  724. }
  725. func (x *CheckPhoneCodeRequest) GetCode() string {
  726. if x != nil {
  727. return x.Code
  728. }
  729. return ""
  730. }
  731. var File_common_proto protoreflect.FileDescriptor
  732. var file_common_proto_rawDesc = []byte{
  733. 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
  734. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x4d, 0x0a, 0x15, 0x55, 0x73,
  735. 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61,
  736. 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64,
  737. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
  738. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  739. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x14, 0x55, 0x73, 0x65,
  740. 0x72, 0x31, 0x41, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x32, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61,
  741. 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  742. 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32,
  743. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x22, 0x2e, 0x0a,
  744. 0x0e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12,
  745. 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  746. 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x22, 0x49, 0x0a,
  747. 0x0b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1a, 0x0a, 0x08,
  748. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  749. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73,
  750. 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65,
  751. 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x25, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72,
  752. 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
  753. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22,
  754. 0xdc, 0x02, 0x0a, 0x08, 0x48, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
  755. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
  756. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  757. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74,
  758. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
  759. 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20,
  760. 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74,
  761. 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74,
  762. 0x75, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  763. 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65,
  764. 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63,
  765. 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
  766. 0x61, 0x72, 0x65, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61,
  767. 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x74,
  768. 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
  769. 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
  770. 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69,
  771. 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64,
  772. 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6b, 0x65,
  773. 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6b, 0x65,
  774. 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d, 0x18,
  775. 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x8e,
  776. 0x01, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73,
  777. 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  778. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  779. 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  780. 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c,
  781. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  782. 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
  783. 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18,
  784. 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22,
  785. 0x2c, 0x0a, 0x0c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12,
  786. 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
  787. 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x39, 0x0a,
  788. 0x0d, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x28,
  789. 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61,
  790. 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  791. 0x44, 0x42, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xf6, 0x01, 0x0a, 0x08, 0x50, 0x65, 0x72,
  792. 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  793. 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
  794. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
  795. 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03,
  796. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12,
  797. 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65,
  798. 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20,
  799. 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a,
  800. 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12,
  801. 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  802. 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c,
  803. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x08, 0x20,
  804. 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74,
  805. 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
  806. 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63,
  807. 0x65, 0x22, 0x41, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71,
  808. 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x01,
  809. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
  810. 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66,
  811. 0x66, 0x73, 0x65, 0x74, 0x22, 0x2c, 0x0a, 0x14, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e,
  812. 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05,
  813. 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f,
  814. 0x6e, 0x65, 0x22, 0x41, 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x68, 0x6f, 0x6e, 0x65,
  815. 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70,
  816. 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  817. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  818. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
  819. 0x6d, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61,
  820. 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d,
  821. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d,
  822. 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  823. 0x6f, 0x33,
  824. }
  825. var (
  826. file_common_proto_rawDescOnce sync.Once
  827. file_common_proto_rawDescData = file_common_proto_rawDesc
  828. )
  829. func file_common_proto_rawDescGZIP() []byte {
  830. file_common_proto_rawDescOnce.Do(func() {
  831. file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
  832. })
  833. return file_common_proto_rawDescData
  834. }
  835. var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
  836. var file_common_proto_goTypes = []interface{}{
  837. (*UserAndPartnerIdParam)(nil), // 0: api.common.UserAndPartnerIdParam
  838. (*User1AndUser2IdParam)(nil), // 1: api.common.User1AndUser2IdParam
  839. (*PartnerIDParam)(nil), // 2: api.common.PartnerIDParam
  840. (*PersonParam)(nil), // 3: api.common.PersonParam
  841. (*UserIDParam)(nil), // 4: api.common.UserIDParam
  842. (*HomeInfo)(nil), // 5: api.common.HomeInfo
  843. (*AddFriendMessageInfo)(nil), // 6: api.common.AddFriendMessageInfo
  844. (*PersonIDList)(nil), // 7: api.common.PersonIDList
  845. (*PersonDBReply)(nil), // 8: api.common.PersonDBReply
  846. (*PersonDB)(nil), // 9: api.common.PersonDB
  847. (*ListPageRequest)(nil), // 10: api.common.ListPageRequest
  848. (*SendPhoneCodeRequest)(nil), // 11: api.common.SendPhoneCodeRequest
  849. (*CheckPhoneCodeRequest)(nil), // 12: api.common.CheckPhoneCodeRequest
  850. }
  851. var file_common_proto_depIdxs = []int32{
  852. 9, // 0: api.common.PersonDBReply.list:type_name -> api.common.PersonDB
  853. 1, // [1:1] is the sub-list for method output_type
  854. 1, // [1:1] is the sub-list for method input_type
  855. 1, // [1:1] is the sub-list for extension type_name
  856. 1, // [1:1] is the sub-list for extension extendee
  857. 0, // [0:1] is the sub-list for field type_name
  858. }
  859. func init() { file_common_proto_init() }
  860. func file_common_proto_init() {
  861. if File_common_proto != nil {
  862. return
  863. }
  864. if !protoimpl.UnsafeEnabled {
  865. file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  866. switch v := v.(*UserAndPartnerIdParam); i {
  867. case 0:
  868. return &v.state
  869. case 1:
  870. return &v.sizeCache
  871. case 2:
  872. return &v.unknownFields
  873. default:
  874. return nil
  875. }
  876. }
  877. file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  878. switch v := v.(*User1AndUser2IdParam); i {
  879. case 0:
  880. return &v.state
  881. case 1:
  882. return &v.sizeCache
  883. case 2:
  884. return &v.unknownFields
  885. default:
  886. return nil
  887. }
  888. }
  889. file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  890. switch v := v.(*PartnerIDParam); i {
  891. case 0:
  892. return &v.state
  893. case 1:
  894. return &v.sizeCache
  895. case 2:
  896. return &v.unknownFields
  897. default:
  898. return nil
  899. }
  900. }
  901. file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  902. switch v := v.(*PersonParam); i {
  903. case 0:
  904. return &v.state
  905. case 1:
  906. return &v.sizeCache
  907. case 2:
  908. return &v.unknownFields
  909. default:
  910. return nil
  911. }
  912. }
  913. file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  914. switch v := v.(*UserIDParam); i {
  915. case 0:
  916. return &v.state
  917. case 1:
  918. return &v.sizeCache
  919. case 2:
  920. return &v.unknownFields
  921. default:
  922. return nil
  923. }
  924. }
  925. file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  926. switch v := v.(*HomeInfo); i {
  927. case 0:
  928. return &v.state
  929. case 1:
  930. return &v.sizeCache
  931. case 2:
  932. return &v.unknownFields
  933. default:
  934. return nil
  935. }
  936. }
  937. file_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  938. switch v := v.(*AddFriendMessageInfo); i {
  939. case 0:
  940. return &v.state
  941. case 1:
  942. return &v.sizeCache
  943. case 2:
  944. return &v.unknownFields
  945. default:
  946. return nil
  947. }
  948. }
  949. file_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  950. switch v := v.(*PersonIDList); i {
  951. case 0:
  952. return &v.state
  953. case 1:
  954. return &v.sizeCache
  955. case 2:
  956. return &v.unknownFields
  957. default:
  958. return nil
  959. }
  960. }
  961. file_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  962. switch v := v.(*PersonDBReply); i {
  963. case 0:
  964. return &v.state
  965. case 1:
  966. return &v.sizeCache
  967. case 2:
  968. return &v.unknownFields
  969. default:
  970. return nil
  971. }
  972. }
  973. file_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  974. switch v := v.(*PersonDB); i {
  975. case 0:
  976. return &v.state
  977. case 1:
  978. return &v.sizeCache
  979. case 2:
  980. return &v.unknownFields
  981. default:
  982. return nil
  983. }
  984. }
  985. file_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  986. switch v := v.(*ListPageRequest); i {
  987. case 0:
  988. return &v.state
  989. case 1:
  990. return &v.sizeCache
  991. case 2:
  992. return &v.unknownFields
  993. default:
  994. return nil
  995. }
  996. }
  997. file_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  998. switch v := v.(*SendPhoneCodeRequest); i {
  999. case 0:
  1000. return &v.state
  1001. case 1:
  1002. return &v.sizeCache
  1003. case 2:
  1004. return &v.unknownFields
  1005. default:
  1006. return nil
  1007. }
  1008. }
  1009. file_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1010. switch v := v.(*CheckPhoneCodeRequest); i {
  1011. case 0:
  1012. return &v.state
  1013. case 1:
  1014. return &v.sizeCache
  1015. case 2:
  1016. return &v.unknownFields
  1017. default:
  1018. return nil
  1019. }
  1020. }
  1021. }
  1022. type x struct{}
  1023. out := protoimpl.TypeBuilder{
  1024. File: protoimpl.DescBuilder{
  1025. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1026. RawDescriptor: file_common_proto_rawDesc,
  1027. NumEnums: 0,
  1028. NumMessages: 13,
  1029. NumExtensions: 0,
  1030. NumServices: 0,
  1031. },
  1032. GoTypes: file_common_proto_goTypes,
  1033. DependencyIndexes: file_common_proto_depIdxs,
  1034. MessageInfos: file_common_proto_msgTypes,
  1035. }.Build()
  1036. File_common_proto = out.File
  1037. file_common_proto_rawDesc = nil
  1038. file_common_proto_goTypes = nil
  1039. file_common_proto_depIdxs = nil
  1040. }