common.pb.go 36 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201
  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. }
  252. func (x *HomeInfo) Reset() {
  253. *x = HomeInfo{}
  254. if protoimpl.UnsafeEnabled {
  255. mi := &file_common_proto_msgTypes[5]
  256. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  257. ms.StoreMessageInfo(mi)
  258. }
  259. }
  260. func (x *HomeInfo) String() string {
  261. return protoimpl.X.MessageStringOf(x)
  262. }
  263. func (*HomeInfo) ProtoMessage() {}
  264. func (x *HomeInfo) ProtoReflect() protoreflect.Message {
  265. mi := &file_common_proto_msgTypes[5]
  266. if protoimpl.UnsafeEnabled && x != nil {
  267. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  268. if ms.LoadMessageInfo() == nil {
  269. ms.StoreMessageInfo(mi)
  270. }
  271. return ms
  272. }
  273. return mi.MessageOf(x)
  274. }
  275. // Deprecated: Use HomeInfo.ProtoReflect.Descriptor instead.
  276. func (*HomeInfo) Descriptor() ([]byte, []int) {
  277. return file_common_proto_rawDescGZIP(), []int{5}
  278. }
  279. func (x *HomeInfo) GetId() string {
  280. if x != nil {
  281. return x.Id
  282. }
  283. return ""
  284. }
  285. func (x *HomeInfo) GetNickname() string {
  286. if x != nil {
  287. return x.Nickname
  288. }
  289. return ""
  290. }
  291. func (x *HomeInfo) GetAvatarUrl() string {
  292. if x != nil {
  293. return x.AvatarUrl
  294. }
  295. return ""
  296. }
  297. func (x *HomeInfo) GetSex() int64 {
  298. if x != nil {
  299. return x.Sex
  300. }
  301. return 0
  302. }
  303. func (x *HomeInfo) GetPictures() []string {
  304. if x != nil {
  305. return x.Pictures
  306. }
  307. return nil
  308. }
  309. func (x *HomeInfo) GetAge() int64 {
  310. if x != nil {
  311. return x.Age
  312. }
  313. return 0
  314. }
  315. func (x *HomeInfo) GetConstellation() string {
  316. if x != nil {
  317. return x.Constellation
  318. }
  319. return ""
  320. }
  321. func (x *HomeInfo) GetArea() string {
  322. if x != nil {
  323. return x.Area
  324. }
  325. return ""
  326. }
  327. func (x *HomeInfo) GetTag() []string {
  328. if x != nil {
  329. return x.Tag
  330. }
  331. return nil
  332. }
  333. func (x *HomeInfo) GetSignature() string {
  334. if x != nil {
  335. return x.Signature
  336. }
  337. return ""
  338. }
  339. func (x *HomeInfo) GetIntroduceVoice() string {
  340. if x != nil {
  341. return x.IntroduceVoice
  342. }
  343. return ""
  344. }
  345. // 添加好友页面信息
  346. type AddFriendMessageInfo struct {
  347. state protoimpl.MessageState
  348. sizeCache protoimpl.SizeCache
  349. unknownFields protoimpl.UnknownFields
  350. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  351. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  352. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  353. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  354. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  355. FromOpenId string `protobuf:"bytes,6,opt,name=fromOpenId,proto3" json:"fromOpenId"` // 来源公众号对应的openID
  356. IsRegister bool `protobuf:"varint,7,opt,name=isRegister,proto3" json:"isRegister"` // 是否注册
  357. IsChat bool `protobuf:"varint,8,opt,name=isChat,proto3" json:"isChat"` // 是否聊天
  358. IsFromUs bool `protobuf:"varint,9,opt,name=isFromUs,proto3" json:"isFromUs"` // 是否是来源我们
  359. }
  360. func (x *AddFriendMessageInfo) Reset() {
  361. *x = AddFriendMessageInfo{}
  362. if protoimpl.UnsafeEnabled {
  363. mi := &file_common_proto_msgTypes[6]
  364. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  365. ms.StoreMessageInfo(mi)
  366. }
  367. }
  368. func (x *AddFriendMessageInfo) String() string {
  369. return protoimpl.X.MessageStringOf(x)
  370. }
  371. func (*AddFriendMessageInfo) ProtoMessage() {}
  372. func (x *AddFriendMessageInfo) ProtoReflect() protoreflect.Message {
  373. mi := &file_common_proto_msgTypes[6]
  374. if protoimpl.UnsafeEnabled && x != nil {
  375. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  376. if ms.LoadMessageInfo() == nil {
  377. ms.StoreMessageInfo(mi)
  378. }
  379. return ms
  380. }
  381. return mi.MessageOf(x)
  382. }
  383. // Deprecated: Use AddFriendMessageInfo.ProtoReflect.Descriptor instead.
  384. func (*AddFriendMessageInfo) Descriptor() ([]byte, []int) {
  385. return file_common_proto_rawDescGZIP(), []int{6}
  386. }
  387. func (x *AddFriendMessageInfo) GetId() string {
  388. if x != nil {
  389. return x.Id
  390. }
  391. return ""
  392. }
  393. func (x *AddFriendMessageInfo) GetNickname() string {
  394. if x != nil {
  395. return x.Nickname
  396. }
  397. return ""
  398. }
  399. func (x *AddFriendMessageInfo) GetAvatarUrl() string {
  400. if x != nil {
  401. return x.AvatarUrl
  402. }
  403. return ""
  404. }
  405. func (x *AddFriendMessageInfo) GetSex() int64 {
  406. if x != nil {
  407. return x.Sex
  408. }
  409. return 0
  410. }
  411. func (x *AddFriendMessageInfo) GetPictures() []string {
  412. if x != nil {
  413. return x.Pictures
  414. }
  415. return nil
  416. }
  417. func (x *AddFriendMessageInfo) GetFromOpenId() string {
  418. if x != nil {
  419. return x.FromOpenId
  420. }
  421. return ""
  422. }
  423. func (x *AddFriendMessageInfo) GetIsRegister() bool {
  424. if x != nil {
  425. return x.IsRegister
  426. }
  427. return false
  428. }
  429. func (x *AddFriendMessageInfo) GetIsChat() bool {
  430. if x != nil {
  431. return x.IsChat
  432. }
  433. return false
  434. }
  435. func (x *AddFriendMessageInfo) GetIsFromUs() bool {
  436. if x != nil {
  437. return x.IsFromUs
  438. }
  439. return false
  440. }
  441. type PersonIDList struct {
  442. state protoimpl.MessageState
  443. sizeCache protoimpl.SizeCache
  444. unknownFields protoimpl.UnknownFields
  445. PersonIds []string `protobuf:"bytes,1,rep,name=personIds,proto3" json:"personIds"`
  446. }
  447. func (x *PersonIDList) Reset() {
  448. *x = PersonIDList{}
  449. if protoimpl.UnsafeEnabled {
  450. mi := &file_common_proto_msgTypes[7]
  451. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  452. ms.StoreMessageInfo(mi)
  453. }
  454. }
  455. func (x *PersonIDList) String() string {
  456. return protoimpl.X.MessageStringOf(x)
  457. }
  458. func (*PersonIDList) ProtoMessage() {}
  459. func (x *PersonIDList) ProtoReflect() protoreflect.Message {
  460. mi := &file_common_proto_msgTypes[7]
  461. if protoimpl.UnsafeEnabled && x != nil {
  462. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  463. if ms.LoadMessageInfo() == nil {
  464. ms.StoreMessageInfo(mi)
  465. }
  466. return ms
  467. }
  468. return mi.MessageOf(x)
  469. }
  470. // Deprecated: Use PersonIDList.ProtoReflect.Descriptor instead.
  471. func (*PersonIDList) Descriptor() ([]byte, []int) {
  472. return file_common_proto_rawDescGZIP(), []int{7}
  473. }
  474. func (x *PersonIDList) GetPersonIds() []string {
  475. if x != nil {
  476. return x.PersonIds
  477. }
  478. return nil
  479. }
  480. type PersonDBReply struct {
  481. state protoimpl.MessageState
  482. sizeCache protoimpl.SizeCache
  483. unknownFields protoimpl.UnknownFields
  484. List []*PersonDB `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  485. }
  486. func (x *PersonDBReply) Reset() {
  487. *x = PersonDBReply{}
  488. if protoimpl.UnsafeEnabled {
  489. mi := &file_common_proto_msgTypes[8]
  490. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  491. ms.StoreMessageInfo(mi)
  492. }
  493. }
  494. func (x *PersonDBReply) String() string {
  495. return protoimpl.X.MessageStringOf(x)
  496. }
  497. func (*PersonDBReply) ProtoMessage() {}
  498. func (x *PersonDBReply) ProtoReflect() protoreflect.Message {
  499. mi := &file_common_proto_msgTypes[8]
  500. if protoimpl.UnsafeEnabled && x != nil {
  501. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  502. if ms.LoadMessageInfo() == nil {
  503. ms.StoreMessageInfo(mi)
  504. }
  505. return ms
  506. }
  507. return mi.MessageOf(x)
  508. }
  509. // Deprecated: Use PersonDBReply.ProtoReflect.Descriptor instead.
  510. func (*PersonDBReply) Descriptor() ([]byte, []int) {
  511. return file_common_proto_rawDescGZIP(), []int{8}
  512. }
  513. func (x *PersonDBReply) GetList() []*PersonDB {
  514. if x != nil {
  515. return x.List
  516. }
  517. return nil
  518. }
  519. type PersonDB struct {
  520. state protoimpl.MessageState
  521. sizeCache protoimpl.SizeCache
  522. unknownFields protoimpl.UnknownFields
  523. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  524. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  525. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  526. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  527. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  528. Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
  529. Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
  530. Area string `protobuf:"bytes,8,opt,name=area,proto3" json:"area"` // 地区
  531. IntroduceVoice string `protobuf:"bytes,9,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
  532. }
  533. func (x *PersonDB) Reset() {
  534. *x = PersonDB{}
  535. if protoimpl.UnsafeEnabled {
  536. mi := &file_common_proto_msgTypes[9]
  537. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  538. ms.StoreMessageInfo(mi)
  539. }
  540. }
  541. func (x *PersonDB) String() string {
  542. return protoimpl.X.MessageStringOf(x)
  543. }
  544. func (*PersonDB) ProtoMessage() {}
  545. func (x *PersonDB) ProtoReflect() protoreflect.Message {
  546. mi := &file_common_proto_msgTypes[9]
  547. if protoimpl.UnsafeEnabled && x != nil {
  548. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  549. if ms.LoadMessageInfo() == nil {
  550. ms.StoreMessageInfo(mi)
  551. }
  552. return ms
  553. }
  554. return mi.MessageOf(x)
  555. }
  556. // Deprecated: Use PersonDB.ProtoReflect.Descriptor instead.
  557. func (*PersonDB) Descriptor() ([]byte, []int) {
  558. return file_common_proto_rawDescGZIP(), []int{9}
  559. }
  560. func (x *PersonDB) GetId() string {
  561. if x != nil {
  562. return x.Id
  563. }
  564. return ""
  565. }
  566. func (x *PersonDB) GetNickname() string {
  567. if x != nil {
  568. return x.Nickname
  569. }
  570. return ""
  571. }
  572. func (x *PersonDB) GetAvatarUrl() string {
  573. if x != nil {
  574. return x.AvatarUrl
  575. }
  576. return ""
  577. }
  578. func (x *PersonDB) GetSex() int64 {
  579. if x != nil {
  580. return x.Sex
  581. }
  582. return 0
  583. }
  584. func (x *PersonDB) GetPictures() []string {
  585. if x != nil {
  586. return x.Pictures
  587. }
  588. return nil
  589. }
  590. func (x *PersonDB) GetAge() int64 {
  591. if x != nil {
  592. return x.Age
  593. }
  594. return 0
  595. }
  596. func (x *PersonDB) GetConstellation() string {
  597. if x != nil {
  598. return x.Constellation
  599. }
  600. return ""
  601. }
  602. func (x *PersonDB) GetArea() string {
  603. if x != nil {
  604. return x.Area
  605. }
  606. return ""
  607. }
  608. func (x *PersonDB) GetIntroduceVoice() string {
  609. if x != nil {
  610. return x.IntroduceVoice
  611. }
  612. return ""
  613. }
  614. type ListPageRequest struct {
  615. state protoimpl.MessageState
  616. sizeCache protoimpl.SizeCache
  617. unknownFields protoimpl.UnknownFields
  618. NextId int64 `protobuf:"varint,1,opt,name=nextId,proto3" json:"nextId"`
  619. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset"`
  620. }
  621. func (x *ListPageRequest) Reset() {
  622. *x = ListPageRequest{}
  623. if protoimpl.UnsafeEnabled {
  624. mi := &file_common_proto_msgTypes[10]
  625. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  626. ms.StoreMessageInfo(mi)
  627. }
  628. }
  629. func (x *ListPageRequest) String() string {
  630. return protoimpl.X.MessageStringOf(x)
  631. }
  632. func (*ListPageRequest) ProtoMessage() {}
  633. func (x *ListPageRequest) ProtoReflect() protoreflect.Message {
  634. mi := &file_common_proto_msgTypes[10]
  635. if protoimpl.UnsafeEnabled && x != nil {
  636. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  637. if ms.LoadMessageInfo() == nil {
  638. ms.StoreMessageInfo(mi)
  639. }
  640. return ms
  641. }
  642. return mi.MessageOf(x)
  643. }
  644. // Deprecated: Use ListPageRequest.ProtoReflect.Descriptor instead.
  645. func (*ListPageRequest) Descriptor() ([]byte, []int) {
  646. return file_common_proto_rawDescGZIP(), []int{10}
  647. }
  648. func (x *ListPageRequest) GetNextId() int64 {
  649. if x != nil {
  650. return x.NextId
  651. }
  652. return 0
  653. }
  654. func (x *ListPageRequest) GetOffset() int64 {
  655. if x != nil {
  656. return x.Offset
  657. }
  658. return 0
  659. }
  660. type SendPhoneCodeRequest struct {
  661. state protoimpl.MessageState
  662. sizeCache protoimpl.SizeCache
  663. unknownFields protoimpl.UnknownFields
  664. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
  665. }
  666. func (x *SendPhoneCodeRequest) Reset() {
  667. *x = SendPhoneCodeRequest{}
  668. if protoimpl.UnsafeEnabled {
  669. mi := &file_common_proto_msgTypes[11]
  670. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  671. ms.StoreMessageInfo(mi)
  672. }
  673. }
  674. func (x *SendPhoneCodeRequest) String() string {
  675. return protoimpl.X.MessageStringOf(x)
  676. }
  677. func (*SendPhoneCodeRequest) ProtoMessage() {}
  678. func (x *SendPhoneCodeRequest) ProtoReflect() protoreflect.Message {
  679. mi := &file_common_proto_msgTypes[11]
  680. if protoimpl.UnsafeEnabled && x != nil {
  681. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  682. if ms.LoadMessageInfo() == nil {
  683. ms.StoreMessageInfo(mi)
  684. }
  685. return ms
  686. }
  687. return mi.MessageOf(x)
  688. }
  689. // Deprecated: Use SendPhoneCodeRequest.ProtoReflect.Descriptor instead.
  690. func (*SendPhoneCodeRequest) Descriptor() ([]byte, []int) {
  691. return file_common_proto_rawDescGZIP(), []int{11}
  692. }
  693. func (x *SendPhoneCodeRequest) GetPhone() string {
  694. if x != nil {
  695. return x.Phone
  696. }
  697. return ""
  698. }
  699. type CheckPhoneCodeRequest struct {
  700. state protoimpl.MessageState
  701. sizeCache protoimpl.SizeCache
  702. unknownFields protoimpl.UnknownFields
  703. Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
  704. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  705. }
  706. func (x *CheckPhoneCodeRequest) Reset() {
  707. *x = CheckPhoneCodeRequest{}
  708. if protoimpl.UnsafeEnabled {
  709. mi := &file_common_proto_msgTypes[12]
  710. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  711. ms.StoreMessageInfo(mi)
  712. }
  713. }
  714. func (x *CheckPhoneCodeRequest) String() string {
  715. return protoimpl.X.MessageStringOf(x)
  716. }
  717. func (*CheckPhoneCodeRequest) ProtoMessage() {}
  718. func (x *CheckPhoneCodeRequest) ProtoReflect() protoreflect.Message {
  719. mi := &file_common_proto_msgTypes[12]
  720. if protoimpl.UnsafeEnabled && x != nil {
  721. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  722. if ms.LoadMessageInfo() == nil {
  723. ms.StoreMessageInfo(mi)
  724. }
  725. return ms
  726. }
  727. return mi.MessageOf(x)
  728. }
  729. // Deprecated: Use CheckPhoneCodeRequest.ProtoReflect.Descriptor instead.
  730. func (*CheckPhoneCodeRequest) Descriptor() ([]byte, []int) {
  731. return file_common_proto_rawDescGZIP(), []int{12}
  732. }
  733. func (x *CheckPhoneCodeRequest) GetPhone() string {
  734. if x != nil {
  735. return x.Phone
  736. }
  737. return ""
  738. }
  739. func (x *CheckPhoneCodeRequest) GetCode() string {
  740. if x != nil {
  741. return x.Code
  742. }
  743. return ""
  744. }
  745. var File_common_proto protoreflect.FileDescriptor
  746. var file_common_proto_rawDesc = []byte{
  747. 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
  748. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x4d, 0x0a, 0x15, 0x55, 0x73,
  749. 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61,
  750. 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64,
  751. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
  752. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  753. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x14, 0x55, 0x73, 0x65,
  754. 0x72, 0x31, 0x41, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x32, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61,
  755. 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  756. 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32,
  757. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x22, 0x2e, 0x0a,
  758. 0x0e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12,
  759. 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  760. 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x22, 0x49, 0x0a,
  761. 0x0b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1a, 0x0a, 0x08,
  762. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  763. 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73,
  764. 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65,
  765. 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x25, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72,
  766. 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
  767. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22,
  768. 0xa6, 0x02, 0x0a, 0x08, 0x48, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
  769. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
  770. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  771. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74,
  772. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
  773. 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20,
  774. 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74,
  775. 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74,
  776. 0x75, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  777. 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65,
  778. 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63,
  779. 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
  780. 0x61, 0x72, 0x65, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61,
  781. 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x74,
  782. 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
  783. 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
  784. 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69,
  785. 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64,
  786. 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x22, 0x82, 0x02, 0x0a, 0x14, 0x41, 0x64, 0x64,
  787. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66,
  788. 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
  789. 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  790. 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a,
  791. 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  792. 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73,
  793. 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a,
  794. 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
  795. 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x6f,
  796. 0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66,
  797. 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x52,
  798. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69,
  799. 0x73, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x43,
  800. 0x68, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x43, 0x68, 0x61,
  801. 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x18, 0x09, 0x20,
  802. 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x22, 0x2c, 0x0a,
  803. 0x0c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a,
  804. 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
  805. 0x52, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x39, 0x0a, 0x0d, 0x50,
  806. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x04,
  807. 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69,
  808. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42,
  809. 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xf6, 0x01, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f,
  810. 0x6e, 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  811. 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  812. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12,
  813. 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01,
  814. 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a,
  815. 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
  816. 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
  817. 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61,
  818. 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a,
  819. 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07,
  820. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74,
  821. 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28,
  822. 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f,
  823. 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
  824. 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x22,
  825. 0x41, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  826. 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  827. 0x28, 0x03, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66,
  828. 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73,
  829. 0x65, 0x74, 0x22, 0x2c, 0x0a, 0x14, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43,
  830. 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68,
  831. 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  832. 0x22, 0x41, 0x0a, 0x15, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x6f,
  833. 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
  834. 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12,
  835. 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
  836. 0x6f, 0x64, 0x65, 0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  837. 0x6e, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e,
  838. 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72,
  839. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  840. 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  841. }
  842. var (
  843. file_common_proto_rawDescOnce sync.Once
  844. file_common_proto_rawDescData = file_common_proto_rawDesc
  845. )
  846. func file_common_proto_rawDescGZIP() []byte {
  847. file_common_proto_rawDescOnce.Do(func() {
  848. file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
  849. })
  850. return file_common_proto_rawDescData
  851. }
  852. var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
  853. var file_common_proto_goTypes = []interface{}{
  854. (*UserAndPartnerIdParam)(nil), // 0: api.common.UserAndPartnerIdParam
  855. (*User1AndUser2IdParam)(nil), // 1: api.common.User1AndUser2IdParam
  856. (*PartnerIDParam)(nil), // 2: api.common.PartnerIDParam
  857. (*PersonParam)(nil), // 3: api.common.PersonParam
  858. (*UserIDParam)(nil), // 4: api.common.UserIDParam
  859. (*HomeInfo)(nil), // 5: api.common.HomeInfo
  860. (*AddFriendMessageInfo)(nil), // 6: api.common.AddFriendMessageInfo
  861. (*PersonIDList)(nil), // 7: api.common.PersonIDList
  862. (*PersonDBReply)(nil), // 8: api.common.PersonDBReply
  863. (*PersonDB)(nil), // 9: api.common.PersonDB
  864. (*ListPageRequest)(nil), // 10: api.common.ListPageRequest
  865. (*SendPhoneCodeRequest)(nil), // 11: api.common.SendPhoneCodeRequest
  866. (*CheckPhoneCodeRequest)(nil), // 12: api.common.CheckPhoneCodeRequest
  867. }
  868. var file_common_proto_depIdxs = []int32{
  869. 9, // 0: api.common.PersonDBReply.list:type_name -> api.common.PersonDB
  870. 1, // [1:1] is the sub-list for method output_type
  871. 1, // [1:1] is the sub-list for method input_type
  872. 1, // [1:1] is the sub-list for extension type_name
  873. 1, // [1:1] is the sub-list for extension extendee
  874. 0, // [0:1] is the sub-list for field type_name
  875. }
  876. func init() { file_common_proto_init() }
  877. func file_common_proto_init() {
  878. if File_common_proto != nil {
  879. return
  880. }
  881. if !protoimpl.UnsafeEnabled {
  882. file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  883. switch v := v.(*UserAndPartnerIdParam); i {
  884. case 0:
  885. return &v.state
  886. case 1:
  887. return &v.sizeCache
  888. case 2:
  889. return &v.unknownFields
  890. default:
  891. return nil
  892. }
  893. }
  894. file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  895. switch v := v.(*User1AndUser2IdParam); i {
  896. case 0:
  897. return &v.state
  898. case 1:
  899. return &v.sizeCache
  900. case 2:
  901. return &v.unknownFields
  902. default:
  903. return nil
  904. }
  905. }
  906. file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  907. switch v := v.(*PartnerIDParam); i {
  908. case 0:
  909. return &v.state
  910. case 1:
  911. return &v.sizeCache
  912. case 2:
  913. return &v.unknownFields
  914. default:
  915. return nil
  916. }
  917. }
  918. file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  919. switch v := v.(*PersonParam); i {
  920. case 0:
  921. return &v.state
  922. case 1:
  923. return &v.sizeCache
  924. case 2:
  925. return &v.unknownFields
  926. default:
  927. return nil
  928. }
  929. }
  930. file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  931. switch v := v.(*UserIDParam); i {
  932. case 0:
  933. return &v.state
  934. case 1:
  935. return &v.sizeCache
  936. case 2:
  937. return &v.unknownFields
  938. default:
  939. return nil
  940. }
  941. }
  942. file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  943. switch v := v.(*HomeInfo); i {
  944. case 0:
  945. return &v.state
  946. case 1:
  947. return &v.sizeCache
  948. case 2:
  949. return &v.unknownFields
  950. default:
  951. return nil
  952. }
  953. }
  954. file_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  955. switch v := v.(*AddFriendMessageInfo); i {
  956. case 0:
  957. return &v.state
  958. case 1:
  959. return &v.sizeCache
  960. case 2:
  961. return &v.unknownFields
  962. default:
  963. return nil
  964. }
  965. }
  966. file_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  967. switch v := v.(*PersonIDList); i {
  968. case 0:
  969. return &v.state
  970. case 1:
  971. return &v.sizeCache
  972. case 2:
  973. return &v.unknownFields
  974. default:
  975. return nil
  976. }
  977. }
  978. file_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  979. switch v := v.(*PersonDBReply); i {
  980. case 0:
  981. return &v.state
  982. case 1:
  983. return &v.sizeCache
  984. case 2:
  985. return &v.unknownFields
  986. default:
  987. return nil
  988. }
  989. }
  990. file_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  991. switch v := v.(*PersonDB); i {
  992. case 0:
  993. return &v.state
  994. case 1:
  995. return &v.sizeCache
  996. case 2:
  997. return &v.unknownFields
  998. default:
  999. return nil
  1000. }
  1001. }
  1002. file_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1003. switch v := v.(*ListPageRequest); i {
  1004. case 0:
  1005. return &v.state
  1006. case 1:
  1007. return &v.sizeCache
  1008. case 2:
  1009. return &v.unknownFields
  1010. default:
  1011. return nil
  1012. }
  1013. }
  1014. file_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1015. switch v := v.(*SendPhoneCodeRequest); i {
  1016. case 0:
  1017. return &v.state
  1018. case 1:
  1019. return &v.sizeCache
  1020. case 2:
  1021. return &v.unknownFields
  1022. default:
  1023. return nil
  1024. }
  1025. }
  1026. file_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1027. switch v := v.(*CheckPhoneCodeRequest); i {
  1028. case 0:
  1029. return &v.state
  1030. case 1:
  1031. return &v.sizeCache
  1032. case 2:
  1033. return &v.unknownFields
  1034. default:
  1035. return nil
  1036. }
  1037. }
  1038. }
  1039. type x struct{}
  1040. out := protoimpl.TypeBuilder{
  1041. File: protoimpl.DescBuilder{
  1042. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1043. RawDescriptor: file_common_proto_rawDesc,
  1044. NumEnums: 0,
  1045. NumMessages: 13,
  1046. NumExtensions: 0,
  1047. NumServices: 0,
  1048. },
  1049. GoTypes: file_common_proto_goTypes,
  1050. DependencyIndexes: file_common_proto_depIdxs,
  1051. MessageInfos: file_common_proto_msgTypes,
  1052. }.Build()
  1053. File_common_proto = out.File
  1054. file_common_proto_rawDesc = nil
  1055. file_common_proto_goTypes = nil
  1056. file_common_proto_depIdxs = nil
  1057. }