common.pb.go 35 KB

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