common.pb.go 29 KB

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