partner.pb.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  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: partner.proto
  6. package partner
  7. import (
  8. common "git.ikuban.com/server/pw-protobuf/api/common"
  9. _ "google.golang.org/genproto/googleapis/api/annotations"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. emptypb "google.golang.org/protobuf/types/known/emptypb"
  13. reflect "reflect"
  14. sync "sync"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type UpdatePartnerInformationRequest struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. Nickname string `protobuf:"bytes,1,opt,name=Nickname,proto3" json:"Nickname"` // 昵称
  27. AvatarUrl string `protobuf:"bytes,2,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像
  28. Sex int64 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex"` // 性别
  29. }
  30. func (x *UpdatePartnerInformationRequest) Reset() {
  31. *x = UpdatePartnerInformationRequest{}
  32. if protoimpl.UnsafeEnabled {
  33. mi := &file_partner_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. }
  38. func (x *UpdatePartnerInformationRequest) String() string {
  39. return protoimpl.X.MessageStringOf(x)
  40. }
  41. func (*UpdatePartnerInformationRequest) ProtoMessage() {}
  42. func (x *UpdatePartnerInformationRequest) ProtoReflect() protoreflect.Message {
  43. mi := &file_partner_proto_msgTypes[0]
  44. if protoimpl.UnsafeEnabled && x != nil {
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. if ms.LoadMessageInfo() == nil {
  47. ms.StoreMessageInfo(mi)
  48. }
  49. return ms
  50. }
  51. return mi.MessageOf(x)
  52. }
  53. // Deprecated: Use UpdatePartnerInformationRequest.ProtoReflect.Descriptor instead.
  54. func (*UpdatePartnerInformationRequest) Descriptor() ([]byte, []int) {
  55. return file_partner_proto_rawDescGZIP(), []int{0}
  56. }
  57. func (x *UpdatePartnerInformationRequest) GetNickname() string {
  58. if x != nil {
  59. return x.Nickname
  60. }
  61. return ""
  62. }
  63. func (x *UpdatePartnerInformationRequest) GetAvatarUrl() string {
  64. if x != nil {
  65. return x.AvatarUrl
  66. }
  67. return ""
  68. }
  69. func (x *UpdatePartnerInformationRequest) GetSex() int64 {
  70. if x != nil {
  71. return x.Sex
  72. }
  73. return 0
  74. }
  75. type PartnerInfo struct {
  76. state protoimpl.MessageState
  77. sizeCache protoimpl.SizeCache
  78. unknownFields protoimpl.UnknownFields
  79. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  80. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  81. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  82. Age int64 `protobuf:"varint,4,opt,name=age,proto3" json:"age"` // 年龄
  83. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  84. LookNum int64 `protobuf:"varint,6,opt,name=lookNum,proto3" json:"lookNum"` // 看过我
  85. Level int64 `protobuf:"varint,7,opt,name=level,proto3" json:"level"` // 等级
  86. Balance int64 `protobuf:"varint,8,opt,name=balance,proto3" json:"balance"` // 可提现余额
  87. TodayProfit int64 `protobuf:"varint,9,opt,name=todayProfit,proto3" json:"todayProfit"` // 进入收益
  88. TodayReceptionNum int64 `protobuf:"varint,10,opt,name=todayReceptionNum,proto3" json:"todayReceptionNum"` // 今日接待人数
  89. ReversionRate string `protobuf:"bytes,11,opt,name=reversionRate,proto3" json:"reversionRate"` // 五分钟的回复率
  90. }
  91. func (x *PartnerInfo) Reset() {
  92. *x = PartnerInfo{}
  93. if protoimpl.UnsafeEnabled {
  94. mi := &file_partner_proto_msgTypes[1]
  95. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  96. ms.StoreMessageInfo(mi)
  97. }
  98. }
  99. func (x *PartnerInfo) String() string {
  100. return protoimpl.X.MessageStringOf(x)
  101. }
  102. func (*PartnerInfo) ProtoMessage() {}
  103. func (x *PartnerInfo) ProtoReflect() protoreflect.Message {
  104. mi := &file_partner_proto_msgTypes[1]
  105. if protoimpl.UnsafeEnabled && x != nil {
  106. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  107. if ms.LoadMessageInfo() == nil {
  108. ms.StoreMessageInfo(mi)
  109. }
  110. return ms
  111. }
  112. return mi.MessageOf(x)
  113. }
  114. // Deprecated: Use PartnerInfo.ProtoReflect.Descriptor instead.
  115. func (*PartnerInfo) Descriptor() ([]byte, []int) {
  116. return file_partner_proto_rawDescGZIP(), []int{1}
  117. }
  118. func (x *PartnerInfo) GetId() string {
  119. if x != nil {
  120. return x.Id
  121. }
  122. return ""
  123. }
  124. func (x *PartnerInfo) GetNickname() string {
  125. if x != nil {
  126. return x.Nickname
  127. }
  128. return ""
  129. }
  130. func (x *PartnerInfo) GetAvatarUrl() string {
  131. if x != nil {
  132. return x.AvatarUrl
  133. }
  134. return ""
  135. }
  136. func (x *PartnerInfo) GetAge() int64 {
  137. if x != nil {
  138. return x.Age
  139. }
  140. return 0
  141. }
  142. func (x *PartnerInfo) GetSex() int64 {
  143. if x != nil {
  144. return x.Sex
  145. }
  146. return 0
  147. }
  148. func (x *PartnerInfo) GetLookNum() int64 {
  149. if x != nil {
  150. return x.LookNum
  151. }
  152. return 0
  153. }
  154. func (x *PartnerInfo) GetLevel() int64 {
  155. if x != nil {
  156. return x.Level
  157. }
  158. return 0
  159. }
  160. func (x *PartnerInfo) GetBalance() int64 {
  161. if x != nil {
  162. return x.Balance
  163. }
  164. return 0
  165. }
  166. func (x *PartnerInfo) GetTodayProfit() int64 {
  167. if x != nil {
  168. return x.TodayProfit
  169. }
  170. return 0
  171. }
  172. func (x *PartnerInfo) GetTodayReceptionNum() int64 {
  173. if x != nil {
  174. return x.TodayReceptionNum
  175. }
  176. return 0
  177. }
  178. func (x *PartnerInfo) GetReversionRate() string {
  179. if x != nil {
  180. return x.ReversionRate
  181. }
  182. return ""
  183. }
  184. type RandomPartnerInfo struct {
  185. state protoimpl.MessageState
  186. sizeCache protoimpl.SizeCache
  187. unknownFields protoimpl.UnknownFields
  188. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
  189. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
  190. AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
  191. Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
  192. }
  193. func (x *RandomPartnerInfo) Reset() {
  194. *x = RandomPartnerInfo{}
  195. if protoimpl.UnsafeEnabled {
  196. mi := &file_partner_proto_msgTypes[2]
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. ms.StoreMessageInfo(mi)
  199. }
  200. }
  201. func (x *RandomPartnerInfo) String() string {
  202. return protoimpl.X.MessageStringOf(x)
  203. }
  204. func (*RandomPartnerInfo) ProtoMessage() {}
  205. func (x *RandomPartnerInfo) ProtoReflect() protoreflect.Message {
  206. mi := &file_partner_proto_msgTypes[2]
  207. if protoimpl.UnsafeEnabled && x != nil {
  208. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  209. if ms.LoadMessageInfo() == nil {
  210. ms.StoreMessageInfo(mi)
  211. }
  212. return ms
  213. }
  214. return mi.MessageOf(x)
  215. }
  216. // Deprecated: Use RandomPartnerInfo.ProtoReflect.Descriptor instead.
  217. func (*RandomPartnerInfo) Descriptor() ([]byte, []int) {
  218. return file_partner_proto_rawDescGZIP(), []int{2}
  219. }
  220. func (x *RandomPartnerInfo) GetId() string {
  221. if x != nil {
  222. return x.Id
  223. }
  224. return ""
  225. }
  226. func (x *RandomPartnerInfo) GetNickname() string {
  227. if x != nil {
  228. return x.Nickname
  229. }
  230. return ""
  231. }
  232. func (x *RandomPartnerInfo) GetAvatarUrl() string {
  233. if x != nil {
  234. return x.AvatarUrl
  235. }
  236. return ""
  237. }
  238. func (x *RandomPartnerInfo) GetSex() int64 {
  239. if x != nil {
  240. return x.Sex
  241. }
  242. return 0
  243. }
  244. type GetRandomPartnerRequest struct {
  245. state protoimpl.MessageState
  246. sizeCache protoimpl.SizeCache
  247. unknownFields protoimpl.UnknownFields
  248. Sex int64 `protobuf:"varint,1,opt,name=sex,proto3" json:"sex"` // 性别
  249. }
  250. func (x *GetRandomPartnerRequest) Reset() {
  251. *x = GetRandomPartnerRequest{}
  252. if protoimpl.UnsafeEnabled {
  253. mi := &file_partner_proto_msgTypes[3]
  254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  255. ms.StoreMessageInfo(mi)
  256. }
  257. }
  258. func (x *GetRandomPartnerRequest) String() string {
  259. return protoimpl.X.MessageStringOf(x)
  260. }
  261. func (*GetRandomPartnerRequest) ProtoMessage() {}
  262. func (x *GetRandomPartnerRequest) ProtoReflect() protoreflect.Message {
  263. mi := &file_partner_proto_msgTypes[3]
  264. if protoimpl.UnsafeEnabled && x != nil {
  265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  266. if ms.LoadMessageInfo() == nil {
  267. ms.StoreMessageInfo(mi)
  268. }
  269. return ms
  270. }
  271. return mi.MessageOf(x)
  272. }
  273. // Deprecated: Use GetRandomPartnerRequest.ProtoReflect.Descriptor instead.
  274. func (*GetRandomPartnerRequest) Descriptor() ([]byte, []int) {
  275. return file_partner_proto_rawDescGZIP(), []int{3}
  276. }
  277. func (x *GetRandomPartnerRequest) GetSex() int64 {
  278. if x != nil {
  279. return x.Sex
  280. }
  281. return 0
  282. }
  283. var File_partner_proto protoreflect.FileDescriptor
  284. var file_partner_proto_rawDesc = []byte{
  285. 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  286. 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x1a, 0x1c, 0x67, 0x6f,
  287. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  288. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
  289. 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74,
  290. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d,
  291. 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  292. 0x22, 0x6d, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
  293. 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
  294. 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  295. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12,
  296. 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01,
  297. 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a,
  298. 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22,
  299. 0xbb, 0x02, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12,
  300. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
  301. 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  302. 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61,
  303. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  304. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65,
  305. 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73,
  306. 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x18, 0x0a,
  307. 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
  308. 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
  309. 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a,
  310. 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
  311. 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x64, 0x61, 0x79,
  312. 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f,
  313. 0x64, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x74, 0x6f, 0x64,
  314. 0x61, 0x79, 0x52, 0x65, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x0a,
  315. 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x52, 0x65, 0x63, 0x65, 0x70,
  316. 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x76, 0x65, 0x72,
  317. 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  318. 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x22, 0x6f, 0x0a,
  319. 0x11, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e,
  320. 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
  321. 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  322. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c,
  323. 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
  324. 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03,
  325. 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22, 0x2b,
  326. 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x6e,
  327. 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78,
  328. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x32, 0xb9, 0x04, 0x0a, 0x07,
  329. 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x60, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x61,
  330. 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  331. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  332. 0x79, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e,
  333. 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1c, 0x82, 0xd3, 0xe4,
  334. 0x93, 0x02, 0x16, 0x22, 0x11, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65,
  335. 0x72, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x3a, 0x01, 0x2a, 0x12, 0x79, 0x0a, 0x14, 0x47, 0x65, 0x74,
  336. 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66,
  337. 0x6f, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
  338. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x20, 0x2e,
  339. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x72,
  340. 0x69, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22,
  341. 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61,
  342. 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x2f, 0x69, 0x6e, 0x66,
  343. 0x6f, 0x3a, 0x01, 0x2a, 0x12, 0x8c, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,
  344. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
  345. 0x6e, 0x12, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e,
  346. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66,
  347. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  348. 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  349. 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x22,
  350. 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x75, 0x70,
  351. 0x64, 0x61, 0x74, 0x65, 0x2f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  352. 0x3a, 0x01, 0x2a, 0x12, 0x5c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d,
  353. 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x2e, 0x61, 0x70,
  354. 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e,
  355. 0x64, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  356. 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e,
  357. 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66,
  358. 0x6f, 0x12, 0x64, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x48,
  359. 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  360. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61,
  361. 0x72, 0x61, 0x6d, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  362. 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  363. 0x16, 0x22, 0x11, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f,
  364. 0x68, 0x6f, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x70,
  365. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b,
  366. 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f,
  367. 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  368. 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x3b, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x62,
  369. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  370. }
  371. var (
  372. file_partner_proto_rawDescOnce sync.Once
  373. file_partner_proto_rawDescData = file_partner_proto_rawDesc
  374. )
  375. func file_partner_proto_rawDescGZIP() []byte {
  376. file_partner_proto_rawDescOnce.Do(func() {
  377. file_partner_proto_rawDescData = protoimpl.X.CompressGZIP(file_partner_proto_rawDescData)
  378. })
  379. return file_partner_proto_rawDescData
  380. }
  381. var file_partner_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  382. var file_partner_proto_goTypes = []interface{}{
  383. (*UpdatePartnerInformationRequest)(nil), // 0: api.partner.UpdatePartnerInformationRequest
  384. (*PartnerInfo)(nil), // 1: api.partner.PartnerInfo
  385. (*RandomPartnerInfo)(nil), // 2: api.partner.RandomPartnerInfo
  386. (*GetRandomPartnerRequest)(nil), // 3: api.partner.GetRandomPartnerRequest
  387. (*emptypb.Empty)(nil), // 4: google.protobuf.Empty
  388. (*common.PartnerIDParam)(nil), // 5: api.common.PartnerIDParam
  389. (*common.AddFriendMessageInfo)(nil), // 6: api.common.AddFriendMessageInfo
  390. (*common.HomeInfo)(nil), // 7: api.common.HomeInfo
  391. }
  392. var file_partner_proto_depIdxs = []int32{
  393. 4, // 0: api.partner.Partner.GetPartnerInfo:input_type -> google.protobuf.Empty
  394. 5, // 1: api.partner.Partner.GetPartnerCircleInfo:input_type -> api.common.PartnerIDParam
  395. 0, // 2: api.partner.Partner.UpdatePartnerInformation:input_type -> api.partner.UpdatePartnerInformationRequest
  396. 3, // 3: api.partner.Partner.GetRandomPartnerInfo:input_type -> api.partner.GetRandomPartnerRequest
  397. 5, // 4: api.partner.Partner.GetPartnerHomeInfo:input_type -> api.common.PartnerIDParam
  398. 1, // 5: api.partner.Partner.GetPartnerInfo:output_type -> api.partner.PartnerInfo
  399. 6, // 6: api.partner.Partner.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
  400. 4, // 7: api.partner.Partner.UpdatePartnerInformation:output_type -> google.protobuf.Empty
  401. 2, // 8: api.partner.Partner.GetRandomPartnerInfo:output_type -> api.partner.RandomPartnerInfo
  402. 7, // 9: api.partner.Partner.GetPartnerHomeInfo:output_type -> api.common.HomeInfo
  403. 5, // [5:10] is the sub-list for method output_type
  404. 0, // [0:5] is the sub-list for method input_type
  405. 0, // [0:0] is the sub-list for extension type_name
  406. 0, // [0:0] is the sub-list for extension extendee
  407. 0, // [0:0] is the sub-list for field type_name
  408. }
  409. func init() { file_partner_proto_init() }
  410. func file_partner_proto_init() {
  411. if File_partner_proto != nil {
  412. return
  413. }
  414. if !protoimpl.UnsafeEnabled {
  415. file_partner_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  416. switch v := v.(*UpdatePartnerInformationRequest); i {
  417. case 0:
  418. return &v.state
  419. case 1:
  420. return &v.sizeCache
  421. case 2:
  422. return &v.unknownFields
  423. default:
  424. return nil
  425. }
  426. }
  427. file_partner_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  428. switch v := v.(*PartnerInfo); i {
  429. case 0:
  430. return &v.state
  431. case 1:
  432. return &v.sizeCache
  433. case 2:
  434. return &v.unknownFields
  435. default:
  436. return nil
  437. }
  438. }
  439. file_partner_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  440. switch v := v.(*RandomPartnerInfo); i {
  441. case 0:
  442. return &v.state
  443. case 1:
  444. return &v.sizeCache
  445. case 2:
  446. return &v.unknownFields
  447. default:
  448. return nil
  449. }
  450. }
  451. file_partner_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  452. switch v := v.(*GetRandomPartnerRequest); i {
  453. case 0:
  454. return &v.state
  455. case 1:
  456. return &v.sizeCache
  457. case 2:
  458. return &v.unknownFields
  459. default:
  460. return nil
  461. }
  462. }
  463. }
  464. type x struct{}
  465. out := protoimpl.TypeBuilder{
  466. File: protoimpl.DescBuilder{
  467. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  468. RawDescriptor: file_partner_proto_rawDesc,
  469. NumEnums: 0,
  470. NumMessages: 4,
  471. NumExtensions: 0,
  472. NumServices: 1,
  473. },
  474. GoTypes: file_partner_proto_goTypes,
  475. DependencyIndexes: file_partner_proto_depIdxs,
  476. MessageInfos: file_partner_proto_msgTypes,
  477. }.Build()
  478. File_partner_proto = out.File
  479. file_partner_proto_rawDesc = nil
  480. file_partner_proto_goTypes = nil
  481. file_partner_proto_depIdxs = nil
  482. }