附近小店
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

1854 satır
62 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.20.0--rc1
  5. // source: im.business.ext.proto
  6. package pb
  7. import (
  8. "context"
  9. "google.golang.org/grpc"
  10. "google.golang.org/grpc/codes"
  11. "google.golang.org/grpc/status"
  12. "google.golang.org/protobuf/reflect/protoreflect"
  13. "google.golang.org/protobuf/runtime/protoimpl"
  14. "reflect"
  15. "sync"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. // 消息类型
  24. type ComplainType int32
  25. const (
  26. ComplainType_CT_UNKNOWN ComplainType = 0 // 未知
  27. ComplainType_CT_GAMBLE ComplainType = 1 // 存在赌博行为
  28. ComplainType_MT_DEFRAUD ComplainType = 2 // 存在骗钱行为
  29. ComplainType_MT_HARASS ComplainType = 3 // 不当信息骚扰
  30. ComplainType_MT_RUMOUR ComplainType = 4 // 传播谣言
  31. ComplainType_MT_COUNTERFEIT_GOODS_INFO ComplainType = 5 // 发布假冒商品信息
  32. ComplainType_MT_VIOLATION_OF_MINORS ComplainType = 6 // 侵犯未成年人权益
  33. ComplainType_MT_OTHER ComplainType = 7 // 其他
  34. )
  35. // Enum value maps for ComplainType.
  36. var (
  37. ComplainType_name = map[int32]string{
  38. 0: "CT_UNKNOWN",
  39. 1: "CT_GAMBLE",
  40. 2: "MT_DEFRAUD",
  41. 3: "MT_HARASS",
  42. 4: "MT_RUMOUR",
  43. 5: "MT_COUNTERFEIT_GOODS_INFO",
  44. 6: "MT_VIOLATION_OF_MINORS",
  45. 7: "MT_OTHER",
  46. }
  47. ComplainType_value = map[string]int32{
  48. "CT_UNKNOWN": 0,
  49. "CT_GAMBLE": 1,
  50. "MT_DEFRAUD": 2,
  51. "MT_HARASS": 3,
  52. "MT_RUMOUR": 4,
  53. "MT_COUNTERFEIT_GOODS_INFO": 5,
  54. "MT_VIOLATION_OF_MINORS": 6,
  55. "MT_OTHER": 7,
  56. }
  57. )
  58. func (x ComplainType) Enum() *ComplainType {
  59. p := new(ComplainType)
  60. *p = x
  61. return p
  62. }
  63. func (x ComplainType) String() string {
  64. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  65. }
  66. func (ComplainType) Descriptor() protoreflect.EnumDescriptor {
  67. return file_business_ext_proto_enumTypes[0].Descriptor()
  68. }
  69. func (ComplainType) Type() protoreflect.EnumType {
  70. return &file_business_ext_proto_enumTypes[0]
  71. }
  72. func (x ComplainType) Number() protoreflect.EnumNumber {
  73. return protoreflect.EnumNumber(x)
  74. }
  75. // Deprecated: Use ComplainType.Descriptor instead.
  76. func (ComplainType) EnumDescriptor() ([]byte, []int) {
  77. return file_business_ext_proto_rawDescGZIP(), []int{0}
  78. }
  79. type ComplainGroupReq struct {
  80. state protoimpl.MessageState
  81. sizeCache protoimpl.SizeCache
  82. unknownFields protoimpl.UnknownFields
  83. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  84. ComplainType ComplainType `protobuf:"varint,2,opt,name=complain_type,json=complainType,proto3,enum=pb.ComplainType" json:"complain_type,omitempty"` // 投诉类型
  85. Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // 投诉内容
  86. ImageList []string `protobuf:"bytes,4,rep,name=image_list,json=imageList,proto3" json:"image_list,omitempty"` // 图片
  87. }
  88. func (x *ComplainGroupReq) Reset() {
  89. *x = ComplainGroupReq{}
  90. if protoimpl.UnsafeEnabled {
  91. mi := &file_business_ext_proto_msgTypes[0]
  92. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  93. ms.StoreMessageInfo(mi)
  94. }
  95. }
  96. func (x *ComplainGroupReq) String() string {
  97. return protoimpl.X.MessageStringOf(x)
  98. }
  99. func (*ComplainGroupReq) ProtoMessage() {}
  100. func (x *ComplainGroupReq) ProtoReflect() protoreflect.Message {
  101. mi := &file_business_ext_proto_msgTypes[0]
  102. if protoimpl.UnsafeEnabled && x != nil {
  103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  104. if ms.LoadMessageInfo() == nil {
  105. ms.StoreMessageInfo(mi)
  106. }
  107. return ms
  108. }
  109. return mi.MessageOf(x)
  110. }
  111. // Deprecated: Use ComplainGroupReq.ProtoReflect.Descriptor instead.
  112. func (*ComplainGroupReq) Descriptor() ([]byte, []int) {
  113. return file_business_ext_proto_rawDescGZIP(), []int{0}
  114. }
  115. func (x *ComplainGroupReq) GetGroupId() int64 {
  116. if x != nil {
  117. return x.GroupId
  118. }
  119. return 0
  120. }
  121. func (x *ComplainGroupReq) GetComplainType() ComplainType {
  122. if x != nil {
  123. return x.ComplainType
  124. }
  125. return ComplainType_CT_UNKNOWN
  126. }
  127. func (x *ComplainGroupReq) GetText() string {
  128. if x != nil {
  129. return x.Text
  130. }
  131. return ""
  132. }
  133. func (x *ComplainGroupReq) GetImageList() []string {
  134. if x != nil {
  135. return x.ImageList
  136. }
  137. return nil
  138. }
  139. type IsFriendsReq struct {
  140. state protoimpl.MessageState
  141. sizeCache protoimpl.SizeCache
  142. unknownFields protoimpl.UnknownFields
  143. UserPhone string `protobuf:"bytes,1,opt,name=user_phone,json=userPhone,proto3" json:"user_phone,omitempty"`
  144. FriendPhone string `protobuf:"bytes,2,opt,name=friend_phone,json=friendPhone,proto3" json:"friend_phone,omitempty"`
  145. }
  146. func (x *IsFriendsReq) Reset() {
  147. *x = IsFriendsReq{}
  148. if protoimpl.UnsafeEnabled {
  149. mi := &file_business_ext_proto_msgTypes[1]
  150. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  151. ms.StoreMessageInfo(mi)
  152. }
  153. }
  154. func (x *IsFriendsReq) String() string {
  155. return protoimpl.X.MessageStringOf(x)
  156. }
  157. func (*IsFriendsReq) ProtoMessage() {}
  158. func (x *IsFriendsReq) ProtoReflect() protoreflect.Message {
  159. mi := &file_business_ext_proto_msgTypes[1]
  160. if protoimpl.UnsafeEnabled && x != nil {
  161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  162. if ms.LoadMessageInfo() == nil {
  163. ms.StoreMessageInfo(mi)
  164. }
  165. return ms
  166. }
  167. return mi.MessageOf(x)
  168. }
  169. // Deprecated: Use IsFriendsReq.ProtoReflect.Descriptor instead.
  170. func (*IsFriendsReq) Descriptor() ([]byte, []int) {
  171. return file_business_ext_proto_rawDescGZIP(), []int{1}
  172. }
  173. func (x *IsFriendsReq) GetUserPhone() string {
  174. if x != nil {
  175. return x.UserPhone
  176. }
  177. return ""
  178. }
  179. func (x *IsFriendsReq) GetFriendPhone() string {
  180. if x != nil {
  181. return x.FriendPhone
  182. }
  183. return ""
  184. }
  185. type IsFriendsResp struct {
  186. state protoimpl.MessageState
  187. sizeCache protoimpl.SizeCache
  188. unknownFields protoimpl.UnknownFields
  189. IsFriend int64 `protobuf:"varint,1,opt,name=is_friend,json=isFriend,proto3" json:"is_friend,omitempty"`
  190. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
  191. }
  192. func (x *IsFriendsResp) Reset() {
  193. *x = IsFriendsResp{}
  194. if protoimpl.UnsafeEnabled {
  195. mi := &file_business_ext_proto_msgTypes[2]
  196. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  197. ms.StoreMessageInfo(mi)
  198. }
  199. }
  200. func (x *IsFriendsResp) String() string {
  201. return protoimpl.X.MessageStringOf(x)
  202. }
  203. func (*IsFriendsResp) ProtoMessage() {}
  204. func (x *IsFriendsResp) ProtoReflect() protoreflect.Message {
  205. mi := &file_business_ext_proto_msgTypes[2]
  206. if protoimpl.UnsafeEnabled && x != nil {
  207. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  208. if ms.LoadMessageInfo() == nil {
  209. ms.StoreMessageInfo(mi)
  210. }
  211. return ms
  212. }
  213. return mi.MessageOf(x)
  214. }
  215. // Deprecated: Use IsFriendsResp.ProtoReflect.Descriptor instead.
  216. func (*IsFriendsResp) Descriptor() ([]byte, []int) {
  217. return file_business_ext_proto_rawDescGZIP(), []int{2}
  218. }
  219. func (x *IsFriendsResp) GetIsFriend() int64 {
  220. if x != nil {
  221. return x.IsFriend
  222. }
  223. return 0
  224. }
  225. func (x *IsFriendsResp) GetUser() *User {
  226. if x != nil {
  227. return x.User
  228. }
  229. return nil
  230. }
  231. type Emoticon struct {
  232. state protoimpl.MessageState
  233. sizeCache protoimpl.SizeCache
  234. unknownFields protoimpl.UnknownFields
  235. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
  236. ImgUrl string `protobuf:"bytes,2,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"` // 图片地址
  237. Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // 备注
  238. Sort int32 `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
  239. }
  240. func (x *Emoticon) Reset() {
  241. *x = Emoticon{}
  242. if protoimpl.UnsafeEnabled {
  243. mi := &file_business_ext_proto_msgTypes[3]
  244. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  245. ms.StoreMessageInfo(mi)
  246. }
  247. }
  248. func (x *Emoticon) String() string {
  249. return protoimpl.X.MessageStringOf(x)
  250. }
  251. func (*Emoticon) ProtoMessage() {}
  252. func (x *Emoticon) ProtoReflect() protoreflect.Message {
  253. mi := &file_business_ext_proto_msgTypes[3]
  254. if protoimpl.UnsafeEnabled && x != nil {
  255. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  256. if ms.LoadMessageInfo() == nil {
  257. ms.StoreMessageInfo(mi)
  258. }
  259. return ms
  260. }
  261. return mi.MessageOf(x)
  262. }
  263. // Deprecated: Use Emoticon.ProtoReflect.Descriptor instead.
  264. func (*Emoticon) Descriptor() ([]byte, []int) {
  265. return file_business_ext_proto_rawDescGZIP(), []int{3}
  266. }
  267. func (x *Emoticon) GetName() string {
  268. if x != nil {
  269. return x.Name
  270. }
  271. return ""
  272. }
  273. func (x *Emoticon) GetImgUrl() string {
  274. if x != nil {
  275. return x.ImgUrl
  276. }
  277. return ""
  278. }
  279. func (x *Emoticon) GetMemo() string {
  280. if x != nil {
  281. return x.Memo
  282. }
  283. return ""
  284. }
  285. func (x *Emoticon) GetSort() int32 {
  286. if x != nil {
  287. return x.Sort
  288. }
  289. return 0
  290. }
  291. type EmoticonListResp struct {
  292. state protoimpl.MessageState
  293. sizeCache protoimpl.SizeCache
  294. unknownFields protoimpl.UnknownFields
  295. Emoticons []*Emoticon `protobuf:"bytes,1,rep,name=emoticons,proto3" json:"emoticons,omitempty"`
  296. }
  297. func (x *EmoticonListResp) Reset() {
  298. *x = EmoticonListResp{}
  299. if protoimpl.UnsafeEnabled {
  300. mi := &file_business_ext_proto_msgTypes[4]
  301. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  302. ms.StoreMessageInfo(mi)
  303. }
  304. }
  305. func (x *EmoticonListResp) String() string {
  306. return protoimpl.X.MessageStringOf(x)
  307. }
  308. func (*EmoticonListResp) ProtoMessage() {}
  309. func (x *EmoticonListResp) ProtoReflect() protoreflect.Message {
  310. mi := &file_business_ext_proto_msgTypes[4]
  311. if protoimpl.UnsafeEnabled && x != nil {
  312. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  313. if ms.LoadMessageInfo() == nil {
  314. ms.StoreMessageInfo(mi)
  315. }
  316. return ms
  317. }
  318. return mi.MessageOf(x)
  319. }
  320. // Deprecated: Use EmoticonListResp.ProtoReflect.Descriptor instead.
  321. func (*EmoticonListResp) Descriptor() ([]byte, []int) {
  322. return file_business_ext_proto_rawDescGZIP(), []int{4}
  323. }
  324. func (x *EmoticonListResp) GetEmoticons() []*Emoticon {
  325. if x != nil {
  326. return x.Emoticons
  327. }
  328. return nil
  329. }
  330. type SignInReq struct {
  331. state protoimpl.MessageState
  332. sizeCache protoimpl.SizeCache
  333. unknownFields protoimpl.UnknownFields
  334. PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 手机号
  335. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // 验证码
  336. DeviceId int64 `protobuf:"varint,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  337. MasterId int64 `protobuf:"varint,4,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"` // 站长id
  338. PushAlia string `protobuf:"bytes,5,opt,name=push_alia,json=pushAlia,proto3" json:"push_alia,omitempty"` // 极光推送-别名
  339. Nickname string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  340. AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  341. }
  342. func (x *SignInReq) Reset() {
  343. *x = SignInReq{}
  344. if protoimpl.UnsafeEnabled {
  345. mi := &file_business_ext_proto_msgTypes[5]
  346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  347. ms.StoreMessageInfo(mi)
  348. }
  349. }
  350. func (x *SignInReq) String() string {
  351. return protoimpl.X.MessageStringOf(x)
  352. }
  353. func (*SignInReq) ProtoMessage() {}
  354. func (x *SignInReq) ProtoReflect() protoreflect.Message {
  355. mi := &file_business_ext_proto_msgTypes[5]
  356. if protoimpl.UnsafeEnabled && x != nil {
  357. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  358. if ms.LoadMessageInfo() == nil {
  359. ms.StoreMessageInfo(mi)
  360. }
  361. return ms
  362. }
  363. return mi.MessageOf(x)
  364. }
  365. // Deprecated: Use SignInReq.ProtoReflect.Descriptor instead.
  366. func (*SignInReq) Descriptor() ([]byte, []int) {
  367. return file_business_ext_proto_rawDescGZIP(), []int{5}
  368. }
  369. func (x *SignInReq) GetPhoneNumber() string {
  370. if x != nil {
  371. return x.PhoneNumber
  372. }
  373. return ""
  374. }
  375. func (x *SignInReq) GetCode() string {
  376. if x != nil {
  377. return x.Code
  378. }
  379. return ""
  380. }
  381. func (x *SignInReq) GetDeviceId() int64 {
  382. if x != nil {
  383. return x.DeviceId
  384. }
  385. return 0
  386. }
  387. func (x *SignInReq) GetMasterId() int64 {
  388. if x != nil {
  389. return x.MasterId
  390. }
  391. return 0
  392. }
  393. func (x *SignInReq) GetPushAlia() string {
  394. if x != nil {
  395. return x.PushAlia
  396. }
  397. return ""
  398. }
  399. func (x *SignInReq) GetNickname() string {
  400. if x != nil {
  401. return x.Nickname
  402. }
  403. return ""
  404. }
  405. func (x *SignInReq) GetAvatarUrl() string {
  406. if x != nil {
  407. return x.AvatarUrl
  408. }
  409. return ""
  410. }
  411. type SignInResp struct {
  412. state protoimpl.MessageState
  413. sizeCache protoimpl.SizeCache
  414. unknownFields protoimpl.UnknownFields
  415. IsNew bool `protobuf:"varint,1,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` // 是否是新用户
  416. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  417. Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token
  418. MasterId int64 `protobuf:"varint,4,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"` // 站长id
  419. }
  420. func (x *SignInResp) Reset() {
  421. *x = SignInResp{}
  422. if protoimpl.UnsafeEnabled {
  423. mi := &file_business_ext_proto_msgTypes[6]
  424. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  425. ms.StoreMessageInfo(mi)
  426. }
  427. }
  428. func (x *SignInResp) String() string {
  429. return protoimpl.X.MessageStringOf(x)
  430. }
  431. func (*SignInResp) ProtoMessage() {}
  432. func (x *SignInResp) ProtoReflect() protoreflect.Message {
  433. mi := &file_business_ext_proto_msgTypes[6]
  434. if protoimpl.UnsafeEnabled && x != nil {
  435. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  436. if ms.LoadMessageInfo() == nil {
  437. ms.StoreMessageInfo(mi)
  438. }
  439. return ms
  440. }
  441. return mi.MessageOf(x)
  442. }
  443. // Deprecated: Use SignInResp.ProtoReflect.Descriptor instead.
  444. func (*SignInResp) Descriptor() ([]byte, []int) {
  445. return file_business_ext_proto_rawDescGZIP(), []int{6}
  446. }
  447. func (x *SignInResp) GetIsNew() bool {
  448. if x != nil {
  449. return x.IsNew
  450. }
  451. return false
  452. }
  453. func (x *SignInResp) GetUserId() int64 {
  454. if x != nil {
  455. return x.UserId
  456. }
  457. return 0
  458. }
  459. func (x *SignInResp) GetToken() string {
  460. if x != nil {
  461. return x.Token
  462. }
  463. return ""
  464. }
  465. func (x *SignInResp) GetMasterId() int64 {
  466. if x != nil {
  467. return x.MasterId
  468. }
  469. return 0
  470. }
  471. type CloudUploadFileReq struct {
  472. state protoimpl.MessageState
  473. sizeCache protoimpl.SizeCache
  474. unknownFields protoimpl.UnknownFields
  475. Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"` // 目录名
  476. FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 上传原文件名称
  477. FileSize string `protobuf:"bytes,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` // 文件大小
  478. }
  479. func (x *CloudUploadFileReq) Reset() {
  480. *x = CloudUploadFileReq{}
  481. if protoimpl.UnsafeEnabled {
  482. mi := &file_business_ext_proto_msgTypes[7]
  483. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  484. ms.StoreMessageInfo(mi)
  485. }
  486. }
  487. func (x *CloudUploadFileReq) String() string {
  488. return protoimpl.X.MessageStringOf(x)
  489. }
  490. func (*CloudUploadFileReq) ProtoMessage() {}
  491. func (x *CloudUploadFileReq) ProtoReflect() protoreflect.Message {
  492. mi := &file_business_ext_proto_msgTypes[7]
  493. if protoimpl.UnsafeEnabled && x != nil {
  494. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  495. if ms.LoadMessageInfo() == nil {
  496. ms.StoreMessageInfo(mi)
  497. }
  498. return ms
  499. }
  500. return mi.MessageOf(x)
  501. }
  502. // Deprecated: Use CloudUploadFileReq.ProtoReflect.Descriptor instead.
  503. func (*CloudUploadFileReq) Descriptor() ([]byte, []int) {
  504. return file_business_ext_proto_rawDescGZIP(), []int{7}
  505. }
  506. func (x *CloudUploadFileReq) GetDir() string {
  507. if x != nil {
  508. return x.Dir
  509. }
  510. return ""
  511. }
  512. func (x *CloudUploadFileReq) GetFileName() string {
  513. if x != nil {
  514. return x.FileName
  515. }
  516. return ""
  517. }
  518. func (x *CloudUploadFileReq) GetFileSize() string {
  519. if x != nil {
  520. return x.FileSize
  521. }
  522. return ""
  523. }
  524. type CloudUploadFileResp struct {
  525. state protoimpl.MessageState
  526. sizeCache protoimpl.SizeCache
  527. unknownFields protoimpl.UnknownFields
  528. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // 请求方式
  529. Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // 域名
  530. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // key
  531. Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // token
  532. }
  533. func (x *CloudUploadFileResp) Reset() {
  534. *x = CloudUploadFileResp{}
  535. if protoimpl.UnsafeEnabled {
  536. mi := &file_business_ext_proto_msgTypes[8]
  537. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  538. ms.StoreMessageInfo(mi)
  539. }
  540. }
  541. func (x *CloudUploadFileResp) String() string {
  542. return protoimpl.X.MessageStringOf(x)
  543. }
  544. func (*CloudUploadFileResp) ProtoMessage() {}
  545. func (x *CloudUploadFileResp) ProtoReflect() protoreflect.Message {
  546. mi := &file_business_ext_proto_msgTypes[8]
  547. if protoimpl.UnsafeEnabled && x != nil {
  548. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  549. if ms.LoadMessageInfo() == nil {
  550. ms.StoreMessageInfo(mi)
  551. }
  552. return ms
  553. }
  554. return mi.MessageOf(x)
  555. }
  556. // Deprecated: Use CloudUploadFileResp.ProtoReflect.Descriptor instead.
  557. func (*CloudUploadFileResp) Descriptor() ([]byte, []int) {
  558. return file_business_ext_proto_rawDescGZIP(), []int{8}
  559. }
  560. func (x *CloudUploadFileResp) GetMethod() string {
  561. if x != nil {
  562. return x.Method
  563. }
  564. return ""
  565. }
  566. func (x *CloudUploadFileResp) GetHost() string {
  567. if x != nil {
  568. return x.Host
  569. }
  570. return ""
  571. }
  572. func (x *CloudUploadFileResp) GetKey() string {
  573. if x != nil {
  574. return x.Key
  575. }
  576. return ""
  577. }
  578. func (x *CloudUploadFileResp) GetToken() string {
  579. if x != nil {
  580. return x.Token
  581. }
  582. return ""
  583. }
  584. type User struct {
  585. state protoimpl.MessageState
  586. sizeCache protoimpl.SizeCache
  587. unknownFields protoimpl.UnknownFields
  588. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  589. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  590. Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  591. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  592. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  593. CreateTime int64 `protobuf:"varint,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
  594. UpdateTime int64 `protobuf:"varint,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
  595. MasterId int64 `protobuf:"varint,8,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"` // 站长id
  596. IsAutoAddedFriends int64 `protobuf:"varint,9,opt,name=is_auto_added_friends,json=isAutoAddedFriends,proto3" json:"is_auto_added_friends,omitempty"` // 是否自动被添加好友
  597. PhoneNumber string `protobuf:"bytes,10,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 手机号
  598. }
  599. func (x *User) Reset() {
  600. *x = User{}
  601. if protoimpl.UnsafeEnabled {
  602. mi := &file_business_ext_proto_msgTypes[9]
  603. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  604. ms.StoreMessageInfo(mi)
  605. }
  606. }
  607. func (x *User) String() string {
  608. return protoimpl.X.MessageStringOf(x)
  609. }
  610. func (*User) ProtoMessage() {}
  611. func (x *User) ProtoReflect() protoreflect.Message {
  612. mi := &file_business_ext_proto_msgTypes[9]
  613. if protoimpl.UnsafeEnabled && x != nil {
  614. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  615. if ms.LoadMessageInfo() == nil {
  616. ms.StoreMessageInfo(mi)
  617. }
  618. return ms
  619. }
  620. return mi.MessageOf(x)
  621. }
  622. // Deprecated: Use User.ProtoReflect.Descriptor instead.
  623. func (*User) Descriptor() ([]byte, []int) {
  624. return file_business_ext_proto_rawDescGZIP(), []int{9}
  625. }
  626. func (x *User) GetUserId() int64 {
  627. if x != nil {
  628. return x.UserId
  629. }
  630. return 0
  631. }
  632. func (x *User) GetNickname() string {
  633. if x != nil {
  634. return x.Nickname
  635. }
  636. return ""
  637. }
  638. func (x *User) GetSex() int32 {
  639. if x != nil {
  640. return x.Sex
  641. }
  642. return 0
  643. }
  644. func (x *User) GetAvatarUrl() string {
  645. if x != nil {
  646. return x.AvatarUrl
  647. }
  648. return ""
  649. }
  650. func (x *User) GetExtra() string {
  651. if x != nil {
  652. return x.Extra
  653. }
  654. return ""
  655. }
  656. func (x *User) GetCreateTime() int64 {
  657. if x != nil {
  658. return x.CreateTime
  659. }
  660. return 0
  661. }
  662. func (x *User) GetUpdateTime() int64 {
  663. if x != nil {
  664. return x.UpdateTime
  665. }
  666. return 0
  667. }
  668. func (x *User) GetMasterId() int64 {
  669. if x != nil {
  670. return x.MasterId
  671. }
  672. return 0
  673. }
  674. func (x *User) GetIsAutoAddedFriends() int64 {
  675. if x != nil {
  676. return x.IsAutoAddedFriends
  677. }
  678. return 0
  679. }
  680. func (x *User) GetPhoneNumber() string {
  681. if x != nil {
  682. return x.PhoneNumber
  683. }
  684. return ""
  685. }
  686. type GetUserReq struct {
  687. state protoimpl.MessageState
  688. sizeCache protoimpl.SizeCache
  689. unknownFields protoimpl.UnknownFields
  690. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  691. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  692. }
  693. func (x *GetUserReq) Reset() {
  694. *x = GetUserReq{}
  695. if protoimpl.UnsafeEnabled {
  696. mi := &file_business_ext_proto_msgTypes[10]
  697. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  698. ms.StoreMessageInfo(mi)
  699. }
  700. }
  701. func (x *GetUserReq) String() string {
  702. return protoimpl.X.MessageStringOf(x)
  703. }
  704. func (*GetUserReq) ProtoMessage() {}
  705. func (x *GetUserReq) ProtoReflect() protoreflect.Message {
  706. mi := &file_business_ext_proto_msgTypes[10]
  707. if protoimpl.UnsafeEnabled && x != nil {
  708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  709. if ms.LoadMessageInfo() == nil {
  710. ms.StoreMessageInfo(mi)
  711. }
  712. return ms
  713. }
  714. return mi.MessageOf(x)
  715. }
  716. // Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.
  717. func (*GetUserReq) Descriptor() ([]byte, []int) {
  718. return file_business_ext_proto_rawDescGZIP(), []int{10}
  719. }
  720. func (x *GetUserReq) GetUserId() int64 {
  721. if x != nil {
  722. return x.UserId
  723. }
  724. return 0
  725. }
  726. func (x *GetUserReq) GetPhone() string {
  727. if x != nil {
  728. return x.Phone
  729. }
  730. return ""
  731. }
  732. type GetUserResp struct {
  733. state protoimpl.MessageState
  734. sizeCache protoimpl.SizeCache
  735. unknownFields protoimpl.UnknownFields
  736. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
  737. }
  738. func (x *GetUserResp) Reset() {
  739. *x = GetUserResp{}
  740. if protoimpl.UnsafeEnabled {
  741. mi := &file_business_ext_proto_msgTypes[11]
  742. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  743. ms.StoreMessageInfo(mi)
  744. }
  745. }
  746. func (x *GetUserResp) String() string {
  747. return protoimpl.X.MessageStringOf(x)
  748. }
  749. func (*GetUserResp) ProtoMessage() {}
  750. func (x *GetUserResp) ProtoReflect() protoreflect.Message {
  751. mi := &file_business_ext_proto_msgTypes[11]
  752. if protoimpl.UnsafeEnabled && x != nil {
  753. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  754. if ms.LoadMessageInfo() == nil {
  755. ms.StoreMessageInfo(mi)
  756. }
  757. return ms
  758. }
  759. return mi.MessageOf(x)
  760. }
  761. // Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.
  762. func (*GetUserResp) Descriptor() ([]byte, []int) {
  763. return file_business_ext_proto_rawDescGZIP(), []int{11}
  764. }
  765. func (x *GetUserResp) GetUser() *User {
  766. if x != nil {
  767. return x.User
  768. }
  769. return nil
  770. }
  771. type UpdateUserReq struct {
  772. state protoimpl.MessageState
  773. sizeCache protoimpl.SizeCache
  774. unknownFields protoimpl.UnknownFields
  775. Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  776. Sex int32 `protobuf:"varint,2,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  777. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  778. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  779. }
  780. func (x *UpdateUserReq) Reset() {
  781. *x = UpdateUserReq{}
  782. if protoimpl.UnsafeEnabled {
  783. mi := &file_business_ext_proto_msgTypes[12]
  784. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  785. ms.StoreMessageInfo(mi)
  786. }
  787. }
  788. func (x *UpdateUserReq) String() string {
  789. return protoimpl.X.MessageStringOf(x)
  790. }
  791. func (*UpdateUserReq) ProtoMessage() {}
  792. func (x *UpdateUserReq) ProtoReflect() protoreflect.Message {
  793. mi := &file_business_ext_proto_msgTypes[12]
  794. if protoimpl.UnsafeEnabled && x != nil {
  795. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  796. if ms.LoadMessageInfo() == nil {
  797. ms.StoreMessageInfo(mi)
  798. }
  799. return ms
  800. }
  801. return mi.MessageOf(x)
  802. }
  803. // Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
  804. func (*UpdateUserReq) Descriptor() ([]byte, []int) {
  805. return file_business_ext_proto_rawDescGZIP(), []int{12}
  806. }
  807. func (x *UpdateUserReq) GetNickname() string {
  808. if x != nil {
  809. return x.Nickname
  810. }
  811. return ""
  812. }
  813. func (x *UpdateUserReq) GetSex() int32 {
  814. if x != nil {
  815. return x.Sex
  816. }
  817. return 0
  818. }
  819. func (x *UpdateUserReq) GetAvatarUrl() string {
  820. if x != nil {
  821. return x.AvatarUrl
  822. }
  823. return ""
  824. }
  825. func (x *UpdateUserReq) GetExtra() string {
  826. if x != nil {
  827. return x.Extra
  828. }
  829. return ""
  830. }
  831. type SearchUserReq struct {
  832. state protoimpl.MessageState
  833. sizeCache protoimpl.SizeCache
  834. unknownFields protoimpl.UnknownFields
  835. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  836. MasterId int64 `protobuf:"varint,2,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"`
  837. }
  838. func (x *SearchUserReq) Reset() {
  839. *x = SearchUserReq{}
  840. if protoimpl.UnsafeEnabled {
  841. mi := &file_business_ext_proto_msgTypes[13]
  842. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  843. ms.StoreMessageInfo(mi)
  844. }
  845. }
  846. func (x *SearchUserReq) String() string {
  847. return protoimpl.X.MessageStringOf(x)
  848. }
  849. func (*SearchUserReq) ProtoMessage() {}
  850. func (x *SearchUserReq) ProtoReflect() protoreflect.Message {
  851. mi := &file_business_ext_proto_msgTypes[13]
  852. if protoimpl.UnsafeEnabled && x != nil {
  853. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  854. if ms.LoadMessageInfo() == nil {
  855. ms.StoreMessageInfo(mi)
  856. }
  857. return ms
  858. }
  859. return mi.MessageOf(x)
  860. }
  861. // Deprecated: Use SearchUserReq.ProtoReflect.Descriptor instead.
  862. func (*SearchUserReq) Descriptor() ([]byte, []int) {
  863. return file_business_ext_proto_rawDescGZIP(), []int{13}
  864. }
  865. func (x *SearchUserReq) GetKey() string {
  866. if x != nil {
  867. return x.Key
  868. }
  869. return ""
  870. }
  871. func (x *SearchUserReq) GetMasterId() int64 {
  872. if x != nil {
  873. return x.MasterId
  874. }
  875. return 0
  876. }
  877. type SearchUserResp struct {
  878. state protoimpl.MessageState
  879. sizeCache protoimpl.SizeCache
  880. unknownFields protoimpl.UnknownFields
  881. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  882. }
  883. func (x *SearchUserResp) Reset() {
  884. *x = SearchUserResp{}
  885. if protoimpl.UnsafeEnabled {
  886. mi := &file_business_ext_proto_msgTypes[14]
  887. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  888. ms.StoreMessageInfo(mi)
  889. }
  890. }
  891. func (x *SearchUserResp) String() string {
  892. return protoimpl.X.MessageStringOf(x)
  893. }
  894. func (*SearchUserResp) ProtoMessage() {}
  895. func (x *SearchUserResp) ProtoReflect() protoreflect.Message {
  896. mi := &file_business_ext_proto_msgTypes[14]
  897. if protoimpl.UnsafeEnabled && x != nil {
  898. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  899. if ms.LoadMessageInfo() == nil {
  900. ms.StoreMessageInfo(mi)
  901. }
  902. return ms
  903. }
  904. return mi.MessageOf(x)
  905. }
  906. // Deprecated: Use SearchUserResp.ProtoReflect.Descriptor instead.
  907. func (*SearchUserResp) Descriptor() ([]byte, []int) {
  908. return file_business_ext_proto_rawDescGZIP(), []int{14}
  909. }
  910. func (x *SearchUserResp) GetUsers() []*User {
  911. if x != nil {
  912. return x.Users
  913. }
  914. return nil
  915. }
  916. var File_business_ext_proto protoreflect.FileDescriptor
  917. var file_business_ext_proto_rawDesc = []byte{
  918. 0x0a, 0x12, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70,
  919. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  920. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x43,
  921. 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12,
  922. 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  923. 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0d, 0x63, 0x6f,
  924. 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  925. 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54,
  926. 0x79, 0x70, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70,
  927. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  928. 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6c,
  929. 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65,
  930. 0x4c, 0x69, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x0c, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  931. 0x73, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f,
  932. 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x50, 0x68,
  933. 0x6f, 0x6e, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x68,
  934. 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x69, 0x65, 0x6e,
  935. 0x64, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x4a, 0x0a, 0x0d, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65,
  936. 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66, 0x72,
  937. 0x69, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x46, 0x72,
  938. 0x69, 0x65, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
  939. 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73,
  940. 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x08, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12,
  941. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  942. 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6d, 0x67, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20,
  943. 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6d, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6d,
  944. 0x65, 0x6d, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12,
  945. 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73,
  946. 0x6f, 0x72, 0x74, 0x22, 0x3e, 0x0a, 0x10, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c,
  947. 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69,
  948. 0x63, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e,
  949. 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63,
  950. 0x6f, 0x6e, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65,
  951. 0x71, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
  952. 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75,
  953. 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
  954. 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69,
  955. 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76,
  956. 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  957. 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  958. 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x18,
  959. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x75, 0x73, 0x68, 0x41, 0x6c, 0x69, 0x61, 0x12,
  960. 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  961. 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
  962. 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  963. 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x6f, 0x0a, 0x0a, 0x53, 0x69,
  964. 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e,
  965. 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12,
  966. 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  967. 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65,
  968. 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b,
  969. 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
  970. 0x03, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x12, 0x43,
  971. 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65,
  972. 0x71, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  973. 0x64, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  974. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  975. 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20,
  976. 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x69, 0x0a,
  977. 0x13, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65,
  978. 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01,
  979. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04,
  980. 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74,
  981. 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
  982. 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
  983. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb7, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65,
  984. 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  985. 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  986. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  987. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20,
  988. 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74,
  989. 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76,
  990. 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  991. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f, 0x0a,
  992. 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
  993. 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f,
  994. 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20,
  995. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
  996. 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01,
  997. 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15,
  998. 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x66, 0x72,
  999. 0x69, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x69, 0x73, 0x41,
  1000. 0x75, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x65, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12,
  1001. 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
  1002. 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62,
  1003. 0x65, 0x72, 0x22, 0x3b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
  1004. 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1005. 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
  1006. 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22,
  1007. 0x2b, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c,
  1008. 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70,
  1009. 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x72, 0x0a, 0x0d,
  1010. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a,
  1011. 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1012. 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78,
  1013. 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
  1014. 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1015. 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78,
  1016. 0x74, 0x72, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1017. 0x22, 0x3e, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1018. 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1019. 0x6b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64,
  1020. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
  1021. 0x22, 0x30, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1022. 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  1023. 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65,
  1024. 0x72, 0x73, 0x2a, 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54,
  1025. 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
  1026. 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x54, 0x5f, 0x47, 0x41, 0x4d, 0x42, 0x4c, 0x45,
  1027. 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f, 0x44, 0x45, 0x46, 0x52, 0x41, 0x55, 0x44,
  1028. 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x48, 0x41, 0x52, 0x41, 0x53, 0x53, 0x10,
  1029. 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x52, 0x55, 0x4d, 0x4f, 0x55, 0x52, 0x10, 0x04,
  1030. 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x54, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x46, 0x45,
  1031. 0x49, 0x54, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x05, 0x12,
  1032. 0x1a, 0x0a, 0x16, 0x4d, 0x54, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
  1033. 0x4f, 0x46, 0x5f, 0x4d, 0x49, 0x4e, 0x4f, 0x52, 0x53, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x4d,
  1034. 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x07, 0x32, 0x9c, 0x03, 0x0a, 0x0b, 0x42, 0x75,
  1035. 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x45, 0x78, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x53, 0x69, 0x67,
  1036. 0x6e, 0x49, 0x6e, 0x12, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52,
  1037. 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65,
  1038. 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x2e,
  1039. 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e,
  1040. 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a,
  1041. 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70,
  1042. 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a,
  1043. 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x33, 0x0a, 0x0a, 0x53, 0x65,
  1044. 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65,
  1045. 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x70, 0x62,
  1046. 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
  1047. 0x42, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69,
  1048. 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c,
  1049. 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e,
  1050. 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52,
  1051. 0x65, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x0c, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c,
  1052. 0x69, 0x73, 0x74, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14,
  1053. 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74,
  1054. 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x09, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  1055. 0x73, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73,
  1056. 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e,
  1057. 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61,
  1058. 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d,
  1059. 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e,
  1060. 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f,
  1061. 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1062. }
  1063. var (
  1064. file_business_ext_proto_rawDescOnce sync.Once
  1065. file_business_ext_proto_rawDescData = file_business_ext_proto_rawDesc
  1066. )
  1067. func file_business_ext_proto_rawDescGZIP() []byte {
  1068. file_business_ext_proto_rawDescOnce.Do(func() {
  1069. file_business_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_business_ext_proto_rawDescData)
  1070. })
  1071. return file_business_ext_proto_rawDescData
  1072. }
  1073. var file_business_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1074. var file_business_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
  1075. var file_business_ext_proto_goTypes = []interface{}{
  1076. (ComplainType)(0), // 0: pb.ComplainType
  1077. (*ComplainGroupReq)(nil), // 1: pb.ComplainGroupReq
  1078. (*IsFriendsReq)(nil), // 2: pb.IsFriendsReq
  1079. (*IsFriendsResp)(nil), // 3: pb.IsFriendsResp
  1080. (*Emoticon)(nil), // 4: pb.Emoticon
  1081. (*EmoticonListResp)(nil), // 5: pb.EmoticonListResp
  1082. (*SignInReq)(nil), // 6: pb.SignInReq
  1083. (*SignInResp)(nil), // 7: pb.SignInResp
  1084. (*CloudUploadFileReq)(nil), // 8: pb.CloudUploadFileReq
  1085. (*CloudUploadFileResp)(nil), // 9: pb.CloudUploadFileResp
  1086. (*User)(nil), // 10: pb.User
  1087. (*GetUserReq)(nil), // 11: pb.GetUserReq
  1088. (*GetUserResp)(nil), // 12: pb.GetUserResp
  1089. (*UpdateUserReq)(nil), // 13: pb.UpdateUserReq
  1090. (*SearchUserReq)(nil), // 14: pb.SearchUserReq
  1091. (*SearchUserResp)(nil), // 15: pb.SearchUserResp
  1092. (*Empty)(nil), // 16: pb.Empty
  1093. }
  1094. var file_business_ext_proto_depIdxs = []int32{
  1095. 0, // 0: pb.ComplainGroupReq.complain_type:type_name -> pb.ComplainType
  1096. 10, // 1: pb.IsFriendsResp.user:type_name -> pb.User
  1097. 4, // 2: pb.EmoticonListResp.emoticons:type_name -> pb.Emoticon
  1098. 10, // 3: pb.GetUserResp.user:type_name -> pb.User
  1099. 10, // 4: pb.SearchUserResp.users:type_name -> pb.User
  1100. 6, // 5: pb.BusinessExt.SignIn:input_type -> pb.SignInReq
  1101. 11, // 6: pb.BusinessExt.GetUser:input_type -> pb.GetUserReq
  1102. 13, // 7: pb.BusinessExt.UpdateUser:input_type -> pb.UpdateUserReq
  1103. 14, // 8: pb.BusinessExt.SearchUser:input_type -> pb.SearchUserReq
  1104. 8, // 9: pb.BusinessExt.CloudUploadFile:input_type -> pb.CloudUploadFileReq
  1105. 16, // 10: pb.BusinessExt.EmoticonList:input_type -> pb.Empty
  1106. 2, // 11: pb.BusinessExt.IsFriends:input_type -> pb.IsFriendsReq
  1107. 1, // 12: pb.BusinessExt.ComplainGroup:input_type -> pb.ComplainGroupReq
  1108. 7, // 13: pb.BusinessExt.SignIn:output_type -> pb.SignInResp
  1109. 12, // 14: pb.BusinessExt.GetUser:output_type -> pb.GetUserResp
  1110. 16, // 15: pb.BusinessExt.UpdateUser:output_type -> pb.Empty
  1111. 15, // 16: pb.BusinessExt.SearchUser:output_type -> pb.SearchUserResp
  1112. 9, // 17: pb.BusinessExt.CloudUploadFile:output_type -> pb.CloudUploadFileResp
  1113. 5, // 18: pb.BusinessExt.EmoticonList:output_type -> pb.EmoticonListResp
  1114. 3, // 19: pb.BusinessExt.IsFriends:output_type -> pb.IsFriendsResp
  1115. 16, // 20: pb.BusinessExt.ComplainGroup:output_type -> pb.Empty
  1116. 13, // [13:21] is the sub-list for method output_type
  1117. 5, // [5:13] is the sub-list for method input_type
  1118. 5, // [5:5] is the sub-list for extension type_name
  1119. 5, // [5:5] is the sub-list for extension extendee
  1120. 0, // [0:5] is the sub-list for field type_name
  1121. }
  1122. func init() { file_business_ext_proto_init() }
  1123. func file_business_ext_proto_init() {
  1124. if File_business_ext_proto != nil {
  1125. return
  1126. }
  1127. file_common_ext_proto_init()
  1128. if !protoimpl.UnsafeEnabled {
  1129. file_business_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1130. switch v := v.(*ComplainGroupReq); i {
  1131. case 0:
  1132. return &v.state
  1133. case 1:
  1134. return &v.sizeCache
  1135. case 2:
  1136. return &v.unknownFields
  1137. default:
  1138. return nil
  1139. }
  1140. }
  1141. file_business_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1142. switch v := v.(*IsFriendsReq); i {
  1143. case 0:
  1144. return &v.state
  1145. case 1:
  1146. return &v.sizeCache
  1147. case 2:
  1148. return &v.unknownFields
  1149. default:
  1150. return nil
  1151. }
  1152. }
  1153. file_business_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1154. switch v := v.(*IsFriendsResp); i {
  1155. case 0:
  1156. return &v.state
  1157. case 1:
  1158. return &v.sizeCache
  1159. case 2:
  1160. return &v.unknownFields
  1161. default:
  1162. return nil
  1163. }
  1164. }
  1165. file_business_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1166. switch v := v.(*Emoticon); i {
  1167. case 0:
  1168. return &v.state
  1169. case 1:
  1170. return &v.sizeCache
  1171. case 2:
  1172. return &v.unknownFields
  1173. default:
  1174. return nil
  1175. }
  1176. }
  1177. file_business_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1178. switch v := v.(*EmoticonListResp); i {
  1179. case 0:
  1180. return &v.state
  1181. case 1:
  1182. return &v.sizeCache
  1183. case 2:
  1184. return &v.unknownFields
  1185. default:
  1186. return nil
  1187. }
  1188. }
  1189. file_business_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1190. switch v := v.(*SignInReq); i {
  1191. case 0:
  1192. return &v.state
  1193. case 1:
  1194. return &v.sizeCache
  1195. case 2:
  1196. return &v.unknownFields
  1197. default:
  1198. return nil
  1199. }
  1200. }
  1201. file_business_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1202. switch v := v.(*SignInResp); i {
  1203. case 0:
  1204. return &v.state
  1205. case 1:
  1206. return &v.sizeCache
  1207. case 2:
  1208. return &v.unknownFields
  1209. default:
  1210. return nil
  1211. }
  1212. }
  1213. file_business_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1214. switch v := v.(*CloudUploadFileReq); i {
  1215. case 0:
  1216. return &v.state
  1217. case 1:
  1218. return &v.sizeCache
  1219. case 2:
  1220. return &v.unknownFields
  1221. default:
  1222. return nil
  1223. }
  1224. }
  1225. file_business_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1226. switch v := v.(*CloudUploadFileResp); i {
  1227. case 0:
  1228. return &v.state
  1229. case 1:
  1230. return &v.sizeCache
  1231. case 2:
  1232. return &v.unknownFields
  1233. default:
  1234. return nil
  1235. }
  1236. }
  1237. file_business_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1238. switch v := v.(*User); i {
  1239. case 0:
  1240. return &v.state
  1241. case 1:
  1242. return &v.sizeCache
  1243. case 2:
  1244. return &v.unknownFields
  1245. default:
  1246. return nil
  1247. }
  1248. }
  1249. file_business_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1250. switch v := v.(*GetUserReq); i {
  1251. case 0:
  1252. return &v.state
  1253. case 1:
  1254. return &v.sizeCache
  1255. case 2:
  1256. return &v.unknownFields
  1257. default:
  1258. return nil
  1259. }
  1260. }
  1261. file_business_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1262. switch v := v.(*GetUserResp); i {
  1263. case 0:
  1264. return &v.state
  1265. case 1:
  1266. return &v.sizeCache
  1267. case 2:
  1268. return &v.unknownFields
  1269. default:
  1270. return nil
  1271. }
  1272. }
  1273. file_business_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1274. switch v := v.(*UpdateUserReq); i {
  1275. case 0:
  1276. return &v.state
  1277. case 1:
  1278. return &v.sizeCache
  1279. case 2:
  1280. return &v.unknownFields
  1281. default:
  1282. return nil
  1283. }
  1284. }
  1285. file_business_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1286. switch v := v.(*SearchUserReq); i {
  1287. case 0:
  1288. return &v.state
  1289. case 1:
  1290. return &v.sizeCache
  1291. case 2:
  1292. return &v.unknownFields
  1293. default:
  1294. return nil
  1295. }
  1296. }
  1297. file_business_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1298. switch v := v.(*SearchUserResp); i {
  1299. case 0:
  1300. return &v.state
  1301. case 1:
  1302. return &v.sizeCache
  1303. case 2:
  1304. return &v.unknownFields
  1305. default:
  1306. return nil
  1307. }
  1308. }
  1309. }
  1310. type x struct{}
  1311. out := protoimpl.TypeBuilder{
  1312. File: protoimpl.DescBuilder{
  1313. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1314. RawDescriptor: file_business_ext_proto_rawDesc,
  1315. NumEnums: 1,
  1316. NumMessages: 15,
  1317. NumExtensions: 0,
  1318. NumServices: 1,
  1319. },
  1320. GoTypes: file_business_ext_proto_goTypes,
  1321. DependencyIndexes: file_business_ext_proto_depIdxs,
  1322. EnumInfos: file_business_ext_proto_enumTypes,
  1323. MessageInfos: file_business_ext_proto_msgTypes,
  1324. }.Build()
  1325. File_business_ext_proto = out.File
  1326. file_business_ext_proto_rawDesc = nil
  1327. file_business_ext_proto_goTypes = nil
  1328. file_business_ext_proto_depIdxs = nil
  1329. }
  1330. // This is a compile-time assertion to ensure that this generated file
  1331. // is compatible with the grpc package it is being compiled against.
  1332. // Requires gRPC-Go v1.32.0 or later.
  1333. const _ = grpc.SupportPackageIsVersion7
  1334. // BusinessExtClient is the client API for BusinessExt service.
  1335. //
  1336. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  1337. type BusinessExtClient interface {
  1338. // 登录
  1339. SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error)
  1340. // 获取用户信息
  1341. GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
  1342. // 更新用户信息
  1343. UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error)
  1344. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1345. SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error)
  1346. // 上传文件至云端
  1347. CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error)
  1348. // 获取表情
  1349. EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error)
  1350. // 判断是否为好友关系
  1351. IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error)
  1352. // 投诉群
  1353. ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error)
  1354. }
  1355. type businessExtClient struct {
  1356. cc grpc.ClientConnInterface
  1357. }
  1358. func NewBusinessExtClient(cc grpc.ClientConnInterface) BusinessExtClient {
  1359. return &businessExtClient{cc}
  1360. }
  1361. func (c *businessExtClient) SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error) {
  1362. out := new(SignInResp)
  1363. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SignIn", in, out, opts...)
  1364. if err != nil {
  1365. return nil, err
  1366. }
  1367. return out, nil
  1368. }
  1369. func (c *businessExtClient) GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error) {
  1370. out := new(GetUserResp)
  1371. err := c.cc.Invoke(ctx, "/pb.BusinessExt/GetUser", in, out, opts...)
  1372. if err != nil {
  1373. return nil, err
  1374. }
  1375. return out, nil
  1376. }
  1377. func (c *businessExtClient) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error) {
  1378. out := new(Empty)
  1379. err := c.cc.Invoke(ctx, "/pb.BusinessExt/UpdateUser", in, out, opts...)
  1380. if err != nil {
  1381. return nil, err
  1382. }
  1383. return out, nil
  1384. }
  1385. func (c *businessExtClient) SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error) {
  1386. out := new(SearchUserResp)
  1387. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SearchUser", in, out, opts...)
  1388. if err != nil {
  1389. return nil, err
  1390. }
  1391. return out, nil
  1392. }
  1393. func (c *businessExtClient) CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error) {
  1394. out := new(CloudUploadFileResp)
  1395. err := c.cc.Invoke(ctx, "/pb.BusinessExt/CloudUploadFile", in, out, opts...)
  1396. if err != nil {
  1397. return nil, err
  1398. }
  1399. return out, nil
  1400. }
  1401. func (c *businessExtClient) EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error) {
  1402. out := new(EmoticonListResp)
  1403. err := c.cc.Invoke(ctx, "/pb.BusinessExt/EmoticonList", in, out, opts...)
  1404. if err != nil {
  1405. return nil, err
  1406. }
  1407. return out, nil
  1408. }
  1409. func (c *businessExtClient) IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error) {
  1410. out := new(IsFriendsResp)
  1411. err := c.cc.Invoke(ctx, "/pb.BusinessExt/IsFriends", in, out, opts...)
  1412. if err != nil {
  1413. return nil, err
  1414. }
  1415. return out, nil
  1416. }
  1417. func (c *businessExtClient) ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  1418. out := new(Empty)
  1419. err := c.cc.Invoke(ctx, "/pb.BusinessExt/ComplainGroup", in, out, opts...)
  1420. if err != nil {
  1421. return nil, err
  1422. }
  1423. return out, nil
  1424. }
  1425. // BusinessExtServer is the server API for BusinessExt service.
  1426. // All implementations must embed UnimplementedBusinessExtServer
  1427. // for forward compatibility
  1428. type BusinessExtServer interface {
  1429. // 登录
  1430. SignIn(context.Context, *SignInReq) (*SignInResp, error)
  1431. // 获取用户信息
  1432. GetUser(context.Context, *GetUserReq) (*GetUserResp, error)
  1433. // 更新用户信息
  1434. UpdateUser(context.Context, *UpdateUserReq) (*Empty, error)
  1435. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1436. SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error)
  1437. // 上传文件至云端
  1438. CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error)
  1439. // 获取表情
  1440. EmoticonList(context.Context, *Empty) (*EmoticonListResp, error)
  1441. // 判断是否为好友关系
  1442. IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error)
  1443. // 投诉群
  1444. ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error)
  1445. }
  1446. // UnimplementedBusinessExtServer must be embedded to have forward compatible implementations.
  1447. type UnimplementedBusinessExtServer struct {
  1448. }
  1449. func (UnimplementedBusinessExtServer) SignIn(context.Context, *SignInReq) (*SignInResp, error) {
  1450. return nil, status.Errorf(codes.Unimplemented, "method SignIn not implemented")
  1451. }
  1452. func (UnimplementedBusinessExtServer) GetUser(context.Context, *GetUserReq) (*GetUserResp, error) {
  1453. return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
  1454. }
  1455. func (UnimplementedBusinessExtServer) UpdateUser(context.Context, *UpdateUserReq) (*Empty, error) {
  1456. return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
  1457. }
  1458. func (UnimplementedBusinessExtServer) SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error) {
  1459. return nil, status.Errorf(codes.Unimplemented, "method SearchUser not implemented")
  1460. }
  1461. func (UnimplementedBusinessExtServer) CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error) {
  1462. return nil, status.Errorf(codes.Unimplemented, "method CloudUploadFile not implemented")
  1463. }
  1464. func (UnimplementedBusinessExtServer) EmoticonList(context.Context, *Empty) (*EmoticonListResp, error) {
  1465. return nil, status.Errorf(codes.Unimplemented, "method EmoticonList not implemented")
  1466. }
  1467. func (UnimplementedBusinessExtServer) IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error) {
  1468. return nil, status.Errorf(codes.Unimplemented, "method IsFriends not implemented")
  1469. }
  1470. func (UnimplementedBusinessExtServer) ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error) {
  1471. return nil, status.Errorf(codes.Unimplemented, "method ComplainGroup not implemented")
  1472. }
  1473. func RegisterBusinessExtServer(s grpc.ServiceRegistrar, srv BusinessExtServer) {
  1474. s.RegisterService(&BusinessExt_ServiceDesc, srv)
  1475. }
  1476. func _BusinessExt_SignIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1477. in := new(SignInReq)
  1478. if err := dec(in); err != nil {
  1479. return nil, err
  1480. }
  1481. if interceptor == nil {
  1482. return srv.(BusinessExtServer).SignIn(ctx, in)
  1483. }
  1484. info := &grpc.UnaryServerInfo{
  1485. Server: srv,
  1486. FullMethod: "/pb.BusinessExt/SignIn",
  1487. }
  1488. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1489. return srv.(BusinessExtServer).SignIn(ctx, req.(*SignInReq))
  1490. }
  1491. return interceptor(ctx, in, info, handler)
  1492. }
  1493. func _BusinessExt_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1494. in := new(GetUserReq)
  1495. if err := dec(in); err != nil {
  1496. return nil, err
  1497. }
  1498. if interceptor == nil {
  1499. return srv.(BusinessExtServer).GetUser(ctx, in)
  1500. }
  1501. info := &grpc.UnaryServerInfo{
  1502. Server: srv,
  1503. FullMethod: "/pb.BusinessExt/GetUser",
  1504. }
  1505. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1506. return srv.(BusinessExtServer).GetUser(ctx, req.(*GetUserReq))
  1507. }
  1508. return interceptor(ctx, in, info, handler)
  1509. }
  1510. func _BusinessExt_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1511. in := new(UpdateUserReq)
  1512. if err := dec(in); err != nil {
  1513. return nil, err
  1514. }
  1515. if interceptor == nil {
  1516. return srv.(BusinessExtServer).UpdateUser(ctx, in)
  1517. }
  1518. info := &grpc.UnaryServerInfo{
  1519. Server: srv,
  1520. FullMethod: "/pb.BusinessExt/UpdateUser",
  1521. }
  1522. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1523. return srv.(BusinessExtServer).UpdateUser(ctx, req.(*UpdateUserReq))
  1524. }
  1525. return interceptor(ctx, in, info, handler)
  1526. }
  1527. func _BusinessExt_SearchUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1528. in := new(SearchUserReq)
  1529. if err := dec(in); err != nil {
  1530. return nil, err
  1531. }
  1532. if interceptor == nil {
  1533. return srv.(BusinessExtServer).SearchUser(ctx, in)
  1534. }
  1535. info := &grpc.UnaryServerInfo{
  1536. Server: srv,
  1537. FullMethod: "/pb.BusinessExt/SearchUser",
  1538. }
  1539. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1540. return srv.(BusinessExtServer).SearchUser(ctx, req.(*SearchUserReq))
  1541. }
  1542. return interceptor(ctx, in, info, handler)
  1543. }
  1544. func _BusinessExt_CloudUploadFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1545. in := new(CloudUploadFileReq)
  1546. if err := dec(in); err != nil {
  1547. return nil, err
  1548. }
  1549. if interceptor == nil {
  1550. return srv.(BusinessExtServer).CloudUploadFile(ctx, in)
  1551. }
  1552. info := &grpc.UnaryServerInfo{
  1553. Server: srv,
  1554. FullMethod: "/pb.BusinessExt/CloudUploadFile",
  1555. }
  1556. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1557. return srv.(BusinessExtServer).CloudUploadFile(ctx, req.(*CloudUploadFileReq))
  1558. }
  1559. return interceptor(ctx, in, info, handler)
  1560. }
  1561. func _BusinessExt_EmoticonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1562. in := new(Empty)
  1563. if err := dec(in); err != nil {
  1564. return nil, err
  1565. }
  1566. if interceptor == nil {
  1567. return srv.(BusinessExtServer).EmoticonList(ctx, in)
  1568. }
  1569. info := &grpc.UnaryServerInfo{
  1570. Server: srv,
  1571. FullMethod: "/pb.BusinessExt/EmoticonList",
  1572. }
  1573. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1574. return srv.(BusinessExtServer).EmoticonList(ctx, req.(*Empty))
  1575. }
  1576. return interceptor(ctx, in, info, handler)
  1577. }
  1578. func _BusinessExt_IsFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1579. in := new(IsFriendsReq)
  1580. if err := dec(in); err != nil {
  1581. return nil, err
  1582. }
  1583. if interceptor == nil {
  1584. return srv.(BusinessExtServer).IsFriends(ctx, in)
  1585. }
  1586. info := &grpc.UnaryServerInfo{
  1587. Server: srv,
  1588. FullMethod: "/pb.BusinessExt/IsFriends",
  1589. }
  1590. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1591. return srv.(BusinessExtServer).IsFriends(ctx, req.(*IsFriendsReq))
  1592. }
  1593. return interceptor(ctx, in, info, handler)
  1594. }
  1595. func _BusinessExt_ComplainGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1596. in := new(ComplainGroupReq)
  1597. if err := dec(in); err != nil {
  1598. return nil, err
  1599. }
  1600. if interceptor == nil {
  1601. return srv.(BusinessExtServer).ComplainGroup(ctx, in)
  1602. }
  1603. info := &grpc.UnaryServerInfo{
  1604. Server: srv,
  1605. FullMethod: "/pb.BusinessExt/ComplainGroup",
  1606. }
  1607. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1608. return srv.(BusinessExtServer).ComplainGroup(ctx, req.(*ComplainGroupReq))
  1609. }
  1610. return interceptor(ctx, in, info, handler)
  1611. }
  1612. // BusinessExt_ServiceDesc is the grpc.ServiceDesc for BusinessExt service.
  1613. // It's only intended for direct use with grpc.RegisterService,
  1614. // and not to be introspected or modified (even as a copy)
  1615. var BusinessExt_ServiceDesc = grpc.ServiceDesc{
  1616. ServiceName: "pb.BusinessExt",
  1617. HandlerType: (*BusinessExtServer)(nil),
  1618. Methods: []grpc.MethodDesc{
  1619. {
  1620. MethodName: "SignIn",
  1621. Handler: _BusinessExt_SignIn_Handler,
  1622. },
  1623. {
  1624. MethodName: "GetUser",
  1625. Handler: _BusinessExt_GetUser_Handler,
  1626. },
  1627. {
  1628. MethodName: "UpdateUser",
  1629. Handler: _BusinessExt_UpdateUser_Handler,
  1630. },
  1631. {
  1632. MethodName: "SearchUser",
  1633. Handler: _BusinessExt_SearchUser_Handler,
  1634. },
  1635. {
  1636. MethodName: "CloudUploadFile",
  1637. Handler: _BusinessExt_CloudUploadFile_Handler,
  1638. },
  1639. {
  1640. MethodName: "EmoticonList",
  1641. Handler: _BusinessExt_EmoticonList_Handler,
  1642. },
  1643. {
  1644. MethodName: "IsFriends",
  1645. Handler: _BusinessExt_IsFriends_Handler,
  1646. },
  1647. {
  1648. MethodName: "ComplainGroup",
  1649. Handler: _BusinessExt_ComplainGroup_Handler,
  1650. },
  1651. },
  1652. Streams: []grpc.StreamDesc{},
  1653. Metadata: "business.ext.proto",
  1654. }