common.pb.go 37 KB

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