common.pb.go 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902
  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 UserIDParam struct {
  151. state protoimpl.MessageState
  152. sizeCache protoimpl.SizeCache
  153. unknownFields protoimpl.UnknownFields
  154. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"`
  155. }
  156. func (x *UserIDParam) Reset() {
  157. *x = UserIDParam{}
  158. if protoimpl.UnsafeEnabled {
  159. mi := &file_common_proto_msgTypes[3]
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. ms.StoreMessageInfo(mi)
  162. }
  163. }
  164. func (x *UserIDParam) String() string {
  165. return protoimpl.X.MessageStringOf(x)
  166. }
  167. func (*UserIDParam) ProtoMessage() {}
  168. func (x *UserIDParam) ProtoReflect() protoreflect.Message {
  169. mi := &file_common_proto_msgTypes[3]
  170. if protoimpl.UnsafeEnabled && x != nil {
  171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  172. if ms.LoadMessageInfo() == nil {
  173. ms.StoreMessageInfo(mi)
  174. }
  175. return ms
  176. }
  177. return mi.MessageOf(x)
  178. }
  179. // Deprecated: Use UserIDParam.ProtoReflect.Descriptor instead.
  180. func (*UserIDParam) Descriptor() ([]byte, []int) {
  181. return file_common_proto_rawDescGZIP(), []int{3}
  182. }
  183. func (x *UserIDParam) GetUserId() string {
  184. if x != nil {
  185. return x.UserId
  186. }
  187. return ""
  188. }
  189. // 主页信息
  190. type HomeInfo struct {
  191. state protoimpl.MessageState
  192. sizeCache protoimpl.SizeCache
  193. unknownFields protoimpl.UnknownFields
  194. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  195. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  196. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  197. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  198. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  199. Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
  200. Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
  201. Area string `protobuf:"bytes,8,opt,name=area,proto3" json:"area"` // 地区
  202. Tag []string `protobuf:"bytes,9,rep,name=tag,proto3" json:"tag"` // 标签
  203. Signature string `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature"` // 签名
  204. IntroduceVoice string `protobuf:"bytes,11,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
  205. LikedNum int64 `protobuf:"varint,12,opt,name=likedNum,proto3" json:"likedNum"` // 喜欢我
  206. LookNum int64 `protobuf:"varint,13,opt,name=lookNum,proto3" json:"lookNum"` // 看过我
  207. }
  208. func (x *HomeInfo) Reset() {
  209. *x = HomeInfo{}
  210. if protoimpl.UnsafeEnabled {
  211. mi := &file_common_proto_msgTypes[4]
  212. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  213. ms.StoreMessageInfo(mi)
  214. }
  215. }
  216. func (x *HomeInfo) String() string {
  217. return protoimpl.X.MessageStringOf(x)
  218. }
  219. func (*HomeInfo) ProtoMessage() {}
  220. func (x *HomeInfo) ProtoReflect() protoreflect.Message {
  221. mi := &file_common_proto_msgTypes[4]
  222. if protoimpl.UnsafeEnabled && x != nil {
  223. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  224. if ms.LoadMessageInfo() == nil {
  225. ms.StoreMessageInfo(mi)
  226. }
  227. return ms
  228. }
  229. return mi.MessageOf(x)
  230. }
  231. // Deprecated: Use HomeInfo.ProtoReflect.Descriptor instead.
  232. func (*HomeInfo) Descriptor() ([]byte, []int) {
  233. return file_common_proto_rawDescGZIP(), []int{4}
  234. }
  235. func (x *HomeInfo) GetId() string {
  236. if x != nil {
  237. return x.Id
  238. }
  239. return ""
  240. }
  241. func (x *HomeInfo) GetNickname() string {
  242. if x != nil {
  243. return x.Nickname
  244. }
  245. return ""
  246. }
  247. func (x *HomeInfo) GetAvatarUrl() string {
  248. if x != nil {
  249. return x.AvatarUrl
  250. }
  251. return ""
  252. }
  253. func (x *HomeInfo) GetSex() int64 {
  254. if x != nil {
  255. return x.Sex
  256. }
  257. return 0
  258. }
  259. func (x *HomeInfo) GetPictures() []string {
  260. if x != nil {
  261. return x.Pictures
  262. }
  263. return nil
  264. }
  265. func (x *HomeInfo) GetAge() int64 {
  266. if x != nil {
  267. return x.Age
  268. }
  269. return 0
  270. }
  271. func (x *HomeInfo) GetConstellation() string {
  272. if x != nil {
  273. return x.Constellation
  274. }
  275. return ""
  276. }
  277. func (x *HomeInfo) GetArea() string {
  278. if x != nil {
  279. return x.Area
  280. }
  281. return ""
  282. }
  283. func (x *HomeInfo) GetTag() []string {
  284. if x != nil {
  285. return x.Tag
  286. }
  287. return nil
  288. }
  289. func (x *HomeInfo) GetSignature() string {
  290. if x != nil {
  291. return x.Signature
  292. }
  293. return ""
  294. }
  295. func (x *HomeInfo) GetIntroduceVoice() string {
  296. if x != nil {
  297. return x.IntroduceVoice
  298. }
  299. return ""
  300. }
  301. func (x *HomeInfo) GetLikedNum() int64 {
  302. if x != nil {
  303. return x.LikedNum
  304. }
  305. return 0
  306. }
  307. func (x *HomeInfo) GetLookNum() int64 {
  308. if x != nil {
  309. return x.LookNum
  310. }
  311. return 0
  312. }
  313. // 添加好友页面信息
  314. type AddFriendMessageInfo struct {
  315. state protoimpl.MessageState
  316. sizeCache protoimpl.SizeCache
  317. unknownFields protoimpl.UnknownFields
  318. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  319. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  320. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  321. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  322. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  323. }
  324. func (x *AddFriendMessageInfo) Reset() {
  325. *x = AddFriendMessageInfo{}
  326. if protoimpl.UnsafeEnabled {
  327. mi := &file_common_proto_msgTypes[5]
  328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  329. ms.StoreMessageInfo(mi)
  330. }
  331. }
  332. func (x *AddFriendMessageInfo) String() string {
  333. return protoimpl.X.MessageStringOf(x)
  334. }
  335. func (*AddFriendMessageInfo) ProtoMessage() {}
  336. func (x *AddFriendMessageInfo) ProtoReflect() protoreflect.Message {
  337. mi := &file_common_proto_msgTypes[5]
  338. if protoimpl.UnsafeEnabled && x != nil {
  339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  340. if ms.LoadMessageInfo() == nil {
  341. ms.StoreMessageInfo(mi)
  342. }
  343. return ms
  344. }
  345. return mi.MessageOf(x)
  346. }
  347. // Deprecated: Use AddFriendMessageInfo.ProtoReflect.Descriptor instead.
  348. func (*AddFriendMessageInfo) Descriptor() ([]byte, []int) {
  349. return file_common_proto_rawDescGZIP(), []int{5}
  350. }
  351. func (x *AddFriendMessageInfo) GetId() string {
  352. if x != nil {
  353. return x.Id
  354. }
  355. return ""
  356. }
  357. func (x *AddFriendMessageInfo) GetNickname() string {
  358. if x != nil {
  359. return x.Nickname
  360. }
  361. return ""
  362. }
  363. func (x *AddFriendMessageInfo) GetAvatarUrl() string {
  364. if x != nil {
  365. return x.AvatarUrl
  366. }
  367. return ""
  368. }
  369. func (x *AddFriendMessageInfo) GetSex() int64 {
  370. if x != nil {
  371. return x.Sex
  372. }
  373. return 0
  374. }
  375. func (x *AddFriendMessageInfo) GetPictures() []string {
  376. if x != nil {
  377. return x.Pictures
  378. }
  379. return nil
  380. }
  381. type PersonIDList struct {
  382. state protoimpl.MessageState
  383. sizeCache protoimpl.SizeCache
  384. unknownFields protoimpl.UnknownFields
  385. PersonIds []string `protobuf:"bytes,1,rep,name=personIds,proto3" json:"personIds"`
  386. }
  387. func (x *PersonIDList) Reset() {
  388. *x = PersonIDList{}
  389. if protoimpl.UnsafeEnabled {
  390. mi := &file_common_proto_msgTypes[6]
  391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  392. ms.StoreMessageInfo(mi)
  393. }
  394. }
  395. func (x *PersonIDList) String() string {
  396. return protoimpl.X.MessageStringOf(x)
  397. }
  398. func (*PersonIDList) ProtoMessage() {}
  399. func (x *PersonIDList) ProtoReflect() protoreflect.Message {
  400. mi := &file_common_proto_msgTypes[6]
  401. if protoimpl.UnsafeEnabled && x != nil {
  402. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  403. if ms.LoadMessageInfo() == nil {
  404. ms.StoreMessageInfo(mi)
  405. }
  406. return ms
  407. }
  408. return mi.MessageOf(x)
  409. }
  410. // Deprecated: Use PersonIDList.ProtoReflect.Descriptor instead.
  411. func (*PersonIDList) Descriptor() ([]byte, []int) {
  412. return file_common_proto_rawDescGZIP(), []int{6}
  413. }
  414. func (x *PersonIDList) GetPersonIds() []string {
  415. if x != nil {
  416. return x.PersonIds
  417. }
  418. return nil
  419. }
  420. type PersonDBReply struct {
  421. state protoimpl.MessageState
  422. sizeCache protoimpl.SizeCache
  423. unknownFields protoimpl.UnknownFields
  424. List []*PersonDB `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  425. }
  426. func (x *PersonDBReply) Reset() {
  427. *x = PersonDBReply{}
  428. if protoimpl.UnsafeEnabled {
  429. mi := &file_common_proto_msgTypes[7]
  430. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  431. ms.StoreMessageInfo(mi)
  432. }
  433. }
  434. func (x *PersonDBReply) String() string {
  435. return protoimpl.X.MessageStringOf(x)
  436. }
  437. func (*PersonDBReply) ProtoMessage() {}
  438. func (x *PersonDBReply) ProtoReflect() protoreflect.Message {
  439. mi := &file_common_proto_msgTypes[7]
  440. if protoimpl.UnsafeEnabled && x != nil {
  441. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  442. if ms.LoadMessageInfo() == nil {
  443. ms.StoreMessageInfo(mi)
  444. }
  445. return ms
  446. }
  447. return mi.MessageOf(x)
  448. }
  449. // Deprecated: Use PersonDBReply.ProtoReflect.Descriptor instead.
  450. func (*PersonDBReply) Descriptor() ([]byte, []int) {
  451. return file_common_proto_rawDescGZIP(), []int{7}
  452. }
  453. func (x *PersonDBReply) GetList() []*PersonDB {
  454. if x != nil {
  455. return x.List
  456. }
  457. return nil
  458. }
  459. type PersonDB struct {
  460. state protoimpl.MessageState
  461. sizeCache protoimpl.SizeCache
  462. unknownFields protoimpl.UnknownFields
  463. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  464. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  465. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  466. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  467. Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
  468. Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
  469. Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
  470. Area string `protobuf:"bytes,8,opt,name=area,proto3" json:"area"` // 地区
  471. IntroduceVoice string `protobuf:"bytes,9,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
  472. }
  473. func (x *PersonDB) Reset() {
  474. *x = PersonDB{}
  475. if protoimpl.UnsafeEnabled {
  476. mi := &file_common_proto_msgTypes[8]
  477. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  478. ms.StoreMessageInfo(mi)
  479. }
  480. }
  481. func (x *PersonDB) String() string {
  482. return protoimpl.X.MessageStringOf(x)
  483. }
  484. func (*PersonDB) ProtoMessage() {}
  485. func (x *PersonDB) ProtoReflect() protoreflect.Message {
  486. mi := &file_common_proto_msgTypes[8]
  487. if protoimpl.UnsafeEnabled && x != nil {
  488. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  489. if ms.LoadMessageInfo() == nil {
  490. ms.StoreMessageInfo(mi)
  491. }
  492. return ms
  493. }
  494. return mi.MessageOf(x)
  495. }
  496. // Deprecated: Use PersonDB.ProtoReflect.Descriptor instead.
  497. func (*PersonDB) Descriptor() ([]byte, []int) {
  498. return file_common_proto_rawDescGZIP(), []int{8}
  499. }
  500. func (x *PersonDB) GetId() string {
  501. if x != nil {
  502. return x.Id
  503. }
  504. return ""
  505. }
  506. func (x *PersonDB) GetNickname() string {
  507. if x != nil {
  508. return x.Nickname
  509. }
  510. return ""
  511. }
  512. func (x *PersonDB) GetAvatarUrl() string {
  513. if x != nil {
  514. return x.AvatarUrl
  515. }
  516. return ""
  517. }
  518. func (x *PersonDB) GetSex() int64 {
  519. if x != nil {
  520. return x.Sex
  521. }
  522. return 0
  523. }
  524. func (x *PersonDB) GetPictures() []string {
  525. if x != nil {
  526. return x.Pictures
  527. }
  528. return nil
  529. }
  530. func (x *PersonDB) GetAge() int64 {
  531. if x != nil {
  532. return x.Age
  533. }
  534. return 0
  535. }
  536. func (x *PersonDB) GetConstellation() string {
  537. if x != nil {
  538. return x.Constellation
  539. }
  540. return ""
  541. }
  542. func (x *PersonDB) GetArea() string {
  543. if x != nil {
  544. return x.Area
  545. }
  546. return ""
  547. }
  548. func (x *PersonDB) GetIntroduceVoice() string {
  549. if x != nil {
  550. return x.IntroduceVoice
  551. }
  552. return ""
  553. }
  554. var File_common_proto protoreflect.FileDescriptor
  555. var file_common_proto_rawDesc = []byte{
  556. 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
  557. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x4d, 0x0a, 0x15, 0x55, 0x73,
  558. 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61,
  559. 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64,
  560. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
  561. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  562. 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x14, 0x55, 0x73, 0x65,
  563. 0x72, 0x31, 0x41, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x32, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61,
  564. 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  565. 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32,
  566. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x22, 0x2e, 0x0a,
  567. 0x0e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12,
  568. 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  569. 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x22, 0x25, 0x0a,
  570. 0x0b, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06,
  571. 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73,
  572. 0x65, 0x72, 0x49, 0x64, 0x22, 0xdc, 0x02, 0x0a, 0x08, 0x48, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66,
  573. 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
  574. 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  575. 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a,
  576. 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  577. 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73,
  578. 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a,
  579. 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
  580. 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65,
  581. 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63,
  582. 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01,
  583. 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,
  584. 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
  585. 0x04, 0x61, 0x72, 0x65, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x09, 0x20, 0x03,
  586. 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
  587. 0x74, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e,
  588. 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75,
  589. 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69,
  590. 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a,
  591. 0x08, 0x6c, 0x69, 0x6b, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52,
  592. 0x08, 0x6c, 0x69, 0x6b, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x6f, 0x6f,
  593. 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c, 0x6f, 0x6f, 0x6b,
  594. 0x4e, 0x75, 0x6d, 0x22, 0x8e, 0x01, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e,
  595. 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
  596. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
  597. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  598. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74,
  599. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
  600. 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20,
  601. 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74,
  602. 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74,
  603. 0x75, 0x72, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x0c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44,
  604. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
  605. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49,
  606. 0x64, 0x73, 0x22, 0x39, 0x0a, 0x0d, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x52, 0x65,
  607. 0x70, 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28,
  608. 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
  609. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xf6, 0x01,
  610. 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  611. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  612. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  613. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  614. 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  615. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28,
  616. 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72,
  617. 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72,
  618. 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
  619. 0x03, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c,
  620. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e,
  621. 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72,
  622. 0x65, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 0x12, 0x26,
  623. 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65,
  624. 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63,
  625. 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  626. 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62,
  627. 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77,
  628. 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
  629. 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f,
  630. 0x74, 0x6f, 0x33,
  631. }
  632. var (
  633. file_common_proto_rawDescOnce sync.Once
  634. file_common_proto_rawDescData = file_common_proto_rawDesc
  635. )
  636. func file_common_proto_rawDescGZIP() []byte {
  637. file_common_proto_rawDescOnce.Do(func() {
  638. file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
  639. })
  640. return file_common_proto_rawDescData
  641. }
  642. var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  643. var file_common_proto_goTypes = []interface{}{
  644. (*UserAndPartnerIdParam)(nil), // 0: api.common.UserAndPartnerIdParam
  645. (*User1AndUser2IdParam)(nil), // 1: api.common.User1AndUser2IdParam
  646. (*PartnerIDParam)(nil), // 2: api.common.PartnerIDParam
  647. (*UserIDParam)(nil), // 3: api.common.UserIDParam
  648. (*HomeInfo)(nil), // 4: api.common.HomeInfo
  649. (*AddFriendMessageInfo)(nil), // 5: api.common.AddFriendMessageInfo
  650. (*PersonIDList)(nil), // 6: api.common.PersonIDList
  651. (*PersonDBReply)(nil), // 7: api.common.PersonDBReply
  652. (*PersonDB)(nil), // 8: api.common.PersonDB
  653. }
  654. var file_common_proto_depIdxs = []int32{
  655. 8, // 0: api.common.PersonDBReply.list:type_name -> api.common.PersonDB
  656. 1, // [1:1] is the sub-list for method output_type
  657. 1, // [1:1] is the sub-list for method input_type
  658. 1, // [1:1] is the sub-list for extension type_name
  659. 1, // [1:1] is the sub-list for extension extendee
  660. 0, // [0:1] is the sub-list for field type_name
  661. }
  662. func init() { file_common_proto_init() }
  663. func file_common_proto_init() {
  664. if File_common_proto != nil {
  665. return
  666. }
  667. if !protoimpl.UnsafeEnabled {
  668. file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  669. switch v := v.(*UserAndPartnerIdParam); i {
  670. case 0:
  671. return &v.state
  672. case 1:
  673. return &v.sizeCache
  674. case 2:
  675. return &v.unknownFields
  676. default:
  677. return nil
  678. }
  679. }
  680. file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  681. switch v := v.(*User1AndUser2IdParam); i {
  682. case 0:
  683. return &v.state
  684. case 1:
  685. return &v.sizeCache
  686. case 2:
  687. return &v.unknownFields
  688. default:
  689. return nil
  690. }
  691. }
  692. file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  693. switch v := v.(*PartnerIDParam); i {
  694. case 0:
  695. return &v.state
  696. case 1:
  697. return &v.sizeCache
  698. case 2:
  699. return &v.unknownFields
  700. default:
  701. return nil
  702. }
  703. }
  704. file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  705. switch v := v.(*UserIDParam); i {
  706. case 0:
  707. return &v.state
  708. case 1:
  709. return &v.sizeCache
  710. case 2:
  711. return &v.unknownFields
  712. default:
  713. return nil
  714. }
  715. }
  716. file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  717. switch v := v.(*HomeInfo); i {
  718. case 0:
  719. return &v.state
  720. case 1:
  721. return &v.sizeCache
  722. case 2:
  723. return &v.unknownFields
  724. default:
  725. return nil
  726. }
  727. }
  728. file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  729. switch v := v.(*AddFriendMessageInfo); i {
  730. case 0:
  731. return &v.state
  732. case 1:
  733. return &v.sizeCache
  734. case 2:
  735. return &v.unknownFields
  736. default:
  737. return nil
  738. }
  739. }
  740. file_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  741. switch v := v.(*PersonIDList); i {
  742. case 0:
  743. return &v.state
  744. case 1:
  745. return &v.sizeCache
  746. case 2:
  747. return &v.unknownFields
  748. default:
  749. return nil
  750. }
  751. }
  752. file_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  753. switch v := v.(*PersonDBReply); i {
  754. case 0:
  755. return &v.state
  756. case 1:
  757. return &v.sizeCache
  758. case 2:
  759. return &v.unknownFields
  760. default:
  761. return nil
  762. }
  763. }
  764. file_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  765. switch v := v.(*PersonDB); i {
  766. case 0:
  767. return &v.state
  768. case 1:
  769. return &v.sizeCache
  770. case 2:
  771. return &v.unknownFields
  772. default:
  773. return nil
  774. }
  775. }
  776. }
  777. type x struct{}
  778. out := protoimpl.TypeBuilder{
  779. File: protoimpl.DescBuilder{
  780. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  781. RawDescriptor: file_common_proto_rawDesc,
  782. NumEnums: 0,
  783. NumMessages: 9,
  784. NumExtensions: 0,
  785. NumServices: 0,
  786. },
  787. GoTypes: file_common_proto_goTypes,
  788. DependencyIndexes: file_common_proto_depIdxs,
  789. MessageInfos: file_common_proto_msgTypes,
  790. }.Build()
  791. File_common_proto = out.File
  792. file_common_proto_rawDesc = nil
  793. file_common_proto_goTypes = nil
  794. file_common_proto_depIdxs = nil
  795. }