golang-im聊天
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
1 год назад
1 год назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
1 год назад
2 лет назад
2 лет назад
2 лет назад
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843
  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: 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. }
  598. func (x *User) Reset() {
  599. *x = User{}
  600. if protoimpl.UnsafeEnabled {
  601. mi := &file_business_ext_proto_msgTypes[9]
  602. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  603. ms.StoreMessageInfo(mi)
  604. }
  605. }
  606. func (x *User) String() string {
  607. return protoimpl.X.MessageStringOf(x)
  608. }
  609. func (*User) ProtoMessage() {}
  610. func (x *User) ProtoReflect() protoreflect.Message {
  611. mi := &file_business_ext_proto_msgTypes[9]
  612. if protoimpl.UnsafeEnabled && x != nil {
  613. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  614. if ms.LoadMessageInfo() == nil {
  615. ms.StoreMessageInfo(mi)
  616. }
  617. return ms
  618. }
  619. return mi.MessageOf(x)
  620. }
  621. // Deprecated: Use User.ProtoReflect.Descriptor instead.
  622. func (*User) Descriptor() ([]byte, []int) {
  623. return file_business_ext_proto_rawDescGZIP(), []int{9}
  624. }
  625. func (x *User) GetUserId() int64 {
  626. if x != nil {
  627. return x.UserId
  628. }
  629. return 0
  630. }
  631. func (x *User) GetNickname() string {
  632. if x != nil {
  633. return x.Nickname
  634. }
  635. return ""
  636. }
  637. func (x *User) GetSex() int32 {
  638. if x != nil {
  639. return x.Sex
  640. }
  641. return 0
  642. }
  643. func (x *User) GetAvatarUrl() string {
  644. if x != nil {
  645. return x.AvatarUrl
  646. }
  647. return ""
  648. }
  649. func (x *User) GetExtra() string {
  650. if x != nil {
  651. return x.Extra
  652. }
  653. return ""
  654. }
  655. func (x *User) GetCreateTime() int64 {
  656. if x != nil {
  657. return x.CreateTime
  658. }
  659. return 0
  660. }
  661. func (x *User) GetUpdateTime() int64 {
  662. if x != nil {
  663. return x.UpdateTime
  664. }
  665. return 0
  666. }
  667. func (x *User) GetMasterId() int64 {
  668. if x != nil {
  669. return x.MasterId
  670. }
  671. return 0
  672. }
  673. func (x *User) GetIsAutoAddedFriends() int64 {
  674. if x != nil {
  675. return x.IsAutoAddedFriends
  676. }
  677. return 0
  678. }
  679. type GetUserReq struct {
  680. state protoimpl.MessageState
  681. sizeCache protoimpl.SizeCache
  682. unknownFields protoimpl.UnknownFields
  683. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  684. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  685. }
  686. func (x *GetUserReq) Reset() {
  687. *x = GetUserReq{}
  688. if protoimpl.UnsafeEnabled {
  689. mi := &file_business_ext_proto_msgTypes[10]
  690. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  691. ms.StoreMessageInfo(mi)
  692. }
  693. }
  694. func (x *GetUserReq) String() string {
  695. return protoimpl.X.MessageStringOf(x)
  696. }
  697. func (*GetUserReq) ProtoMessage() {}
  698. func (x *GetUserReq) ProtoReflect() protoreflect.Message {
  699. mi := &file_business_ext_proto_msgTypes[10]
  700. if protoimpl.UnsafeEnabled && x != nil {
  701. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  702. if ms.LoadMessageInfo() == nil {
  703. ms.StoreMessageInfo(mi)
  704. }
  705. return ms
  706. }
  707. return mi.MessageOf(x)
  708. }
  709. // Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.
  710. func (*GetUserReq) Descriptor() ([]byte, []int) {
  711. return file_business_ext_proto_rawDescGZIP(), []int{10}
  712. }
  713. func (x *GetUserReq) GetUserId() int64 {
  714. if x != nil {
  715. return x.UserId
  716. }
  717. return 0
  718. }
  719. func (x *GetUserReq) GetPhone() string {
  720. if x != nil {
  721. return x.Phone
  722. }
  723. return ""
  724. }
  725. type GetUserResp struct {
  726. state protoimpl.MessageState
  727. sizeCache protoimpl.SizeCache
  728. unknownFields protoimpl.UnknownFields
  729. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
  730. }
  731. func (x *GetUserResp) Reset() {
  732. *x = GetUserResp{}
  733. if protoimpl.UnsafeEnabled {
  734. mi := &file_business_ext_proto_msgTypes[11]
  735. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  736. ms.StoreMessageInfo(mi)
  737. }
  738. }
  739. func (x *GetUserResp) String() string {
  740. return protoimpl.X.MessageStringOf(x)
  741. }
  742. func (*GetUserResp) ProtoMessage() {}
  743. func (x *GetUserResp) ProtoReflect() protoreflect.Message {
  744. mi := &file_business_ext_proto_msgTypes[11]
  745. if protoimpl.UnsafeEnabled && x != nil {
  746. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  747. if ms.LoadMessageInfo() == nil {
  748. ms.StoreMessageInfo(mi)
  749. }
  750. return ms
  751. }
  752. return mi.MessageOf(x)
  753. }
  754. // Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.
  755. func (*GetUserResp) Descriptor() ([]byte, []int) {
  756. return file_business_ext_proto_rawDescGZIP(), []int{11}
  757. }
  758. func (x *GetUserResp) GetUser() *User {
  759. if x != nil {
  760. return x.User
  761. }
  762. return nil
  763. }
  764. type UpdateUserReq struct {
  765. state protoimpl.MessageState
  766. sizeCache protoimpl.SizeCache
  767. unknownFields protoimpl.UnknownFields
  768. Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  769. Sex int32 `protobuf:"varint,2,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  770. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  771. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  772. }
  773. func (x *UpdateUserReq) Reset() {
  774. *x = UpdateUserReq{}
  775. if protoimpl.UnsafeEnabled {
  776. mi := &file_business_ext_proto_msgTypes[12]
  777. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  778. ms.StoreMessageInfo(mi)
  779. }
  780. }
  781. func (x *UpdateUserReq) String() string {
  782. return protoimpl.X.MessageStringOf(x)
  783. }
  784. func (*UpdateUserReq) ProtoMessage() {}
  785. func (x *UpdateUserReq) ProtoReflect() protoreflect.Message {
  786. mi := &file_business_ext_proto_msgTypes[12]
  787. if protoimpl.UnsafeEnabled && x != nil {
  788. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  789. if ms.LoadMessageInfo() == nil {
  790. ms.StoreMessageInfo(mi)
  791. }
  792. return ms
  793. }
  794. return mi.MessageOf(x)
  795. }
  796. // Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
  797. func (*UpdateUserReq) Descriptor() ([]byte, []int) {
  798. return file_business_ext_proto_rawDescGZIP(), []int{12}
  799. }
  800. func (x *UpdateUserReq) GetNickname() string {
  801. if x != nil {
  802. return x.Nickname
  803. }
  804. return ""
  805. }
  806. func (x *UpdateUserReq) GetSex() int32 {
  807. if x != nil {
  808. return x.Sex
  809. }
  810. return 0
  811. }
  812. func (x *UpdateUserReq) GetAvatarUrl() string {
  813. if x != nil {
  814. return x.AvatarUrl
  815. }
  816. return ""
  817. }
  818. func (x *UpdateUserReq) GetExtra() string {
  819. if x != nil {
  820. return x.Extra
  821. }
  822. return ""
  823. }
  824. type SearchUserReq struct {
  825. state protoimpl.MessageState
  826. sizeCache protoimpl.SizeCache
  827. unknownFields protoimpl.UnknownFields
  828. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  829. MasterId int64 `protobuf:"varint,2,opt,name=master_id,json=masterId,proto3" json:"master_id,omitempty"`
  830. }
  831. func (x *SearchUserReq) Reset() {
  832. *x = SearchUserReq{}
  833. if protoimpl.UnsafeEnabled {
  834. mi := &file_business_ext_proto_msgTypes[13]
  835. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  836. ms.StoreMessageInfo(mi)
  837. }
  838. }
  839. func (x *SearchUserReq) String() string {
  840. return protoimpl.X.MessageStringOf(x)
  841. }
  842. func (*SearchUserReq) ProtoMessage() {}
  843. func (x *SearchUserReq) ProtoReflect() protoreflect.Message {
  844. mi := &file_business_ext_proto_msgTypes[13]
  845. if protoimpl.UnsafeEnabled && x != nil {
  846. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  847. if ms.LoadMessageInfo() == nil {
  848. ms.StoreMessageInfo(mi)
  849. }
  850. return ms
  851. }
  852. return mi.MessageOf(x)
  853. }
  854. // Deprecated: Use SearchUserReq.ProtoReflect.Descriptor instead.
  855. func (*SearchUserReq) Descriptor() ([]byte, []int) {
  856. return file_business_ext_proto_rawDescGZIP(), []int{13}
  857. }
  858. func (x *SearchUserReq) GetKey() string {
  859. if x != nil {
  860. return x.Key
  861. }
  862. return ""
  863. }
  864. func (x *SearchUserReq) GetMasterId() int64 {
  865. if x != nil {
  866. return x.MasterId
  867. }
  868. return 0
  869. }
  870. type SearchUserResp struct {
  871. state protoimpl.MessageState
  872. sizeCache protoimpl.SizeCache
  873. unknownFields protoimpl.UnknownFields
  874. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  875. }
  876. func (x *SearchUserResp) Reset() {
  877. *x = SearchUserResp{}
  878. if protoimpl.UnsafeEnabled {
  879. mi := &file_business_ext_proto_msgTypes[14]
  880. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  881. ms.StoreMessageInfo(mi)
  882. }
  883. }
  884. func (x *SearchUserResp) String() string {
  885. return protoimpl.X.MessageStringOf(x)
  886. }
  887. func (*SearchUserResp) ProtoMessage() {}
  888. func (x *SearchUserResp) ProtoReflect() protoreflect.Message {
  889. mi := &file_business_ext_proto_msgTypes[14]
  890. if protoimpl.UnsafeEnabled && x != nil {
  891. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  892. if ms.LoadMessageInfo() == nil {
  893. ms.StoreMessageInfo(mi)
  894. }
  895. return ms
  896. }
  897. return mi.MessageOf(x)
  898. }
  899. // Deprecated: Use SearchUserResp.ProtoReflect.Descriptor instead.
  900. func (*SearchUserResp) Descriptor() ([]byte, []int) {
  901. return file_business_ext_proto_rawDescGZIP(), []int{14}
  902. }
  903. func (x *SearchUserResp) GetUsers() []*User {
  904. if x != nil {
  905. return x.Users
  906. }
  907. return nil
  908. }
  909. var File_business_ext_proto protoreflect.FileDescriptor
  910. var file_business_ext_proto_rawDesc = []byte{
  911. 0x0a, 0x12, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70,
  912. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  913. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x43,
  914. 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12,
  915. 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  916. 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0d, 0x63, 0x6f,
  917. 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  918. 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54,
  919. 0x79, 0x70, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70,
  920. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  921. 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6c,
  922. 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65,
  923. 0x4c, 0x69, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x0c, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  924. 0x73, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f,
  925. 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x50, 0x68,
  926. 0x6f, 0x6e, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x68,
  927. 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x69, 0x65, 0x6e,
  928. 0x64, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x4a, 0x0a, 0x0d, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65,
  929. 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66, 0x72,
  930. 0x69, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x46, 0x72,
  931. 0x69, 0x65, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
  932. 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73,
  933. 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x08, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12,
  934. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  935. 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6d, 0x67, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20,
  936. 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6d, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6d,
  937. 0x65, 0x6d, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12,
  938. 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73,
  939. 0x6f, 0x72, 0x74, 0x22, 0x3e, 0x0a, 0x10, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c,
  940. 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69,
  941. 0x63, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e,
  942. 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63,
  943. 0x6f, 0x6e, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65,
  944. 0x71, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
  945. 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75,
  946. 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
  947. 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69,
  948. 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76,
  949. 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  950. 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  951. 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x18,
  952. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x75, 0x73, 0x68, 0x41, 0x6c, 0x69, 0x61, 0x12,
  953. 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  954. 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
  955. 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  956. 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x6f, 0x0a, 0x0a, 0x53, 0x69,
  957. 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e,
  958. 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12,
  959. 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  960. 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65,
  961. 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b,
  962. 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
  963. 0x03, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x12, 0x43,
  964. 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65,
  965. 0x71, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  966. 0x64, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  967. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65,
  968. 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20,
  969. 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x69, 0x0a,
  970. 0x13, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65,
  971. 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01,
  972. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04,
  973. 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74,
  974. 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
  975. 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
  976. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x94, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65,
  977. 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  978. 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  979. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  980. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20,
  981. 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74,
  982. 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76,
  983. 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  984. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f, 0x0a,
  985. 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
  986. 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f,
  987. 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20,
  988. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
  989. 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01,
  990. 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x15,
  991. 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x66, 0x72,
  992. 0x69, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x69, 0x73, 0x41,
  993. 0x75, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x65, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22,
  994. 0x3b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a,
  995. 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  996. 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18,
  997. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x2b, 0x0a, 0x0b,
  998. 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x75,
  999. 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55,
  1000. 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x72, 0x0a, 0x0d, 0x55, 0x70, 0x64,
  1001. 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  1002. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  1003. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x02, 0x20,
  1004. 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74,
  1005. 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76,
  1006. 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1007. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x3e, 0x0a,
  1008. 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10,
  1009. 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
  1010. 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
  1011. 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x30, 0x0a,
  1012. 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
  1013. 0x1e, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08,
  1014. 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2a,
  1015. 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65,
  1016. 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
  1017. 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x54, 0x5f, 0x47, 0x41, 0x4d, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12,
  1018. 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f, 0x44, 0x45, 0x46, 0x52, 0x41, 0x55, 0x44, 0x10, 0x02, 0x12,
  1019. 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x48, 0x41, 0x52, 0x41, 0x53, 0x53, 0x10, 0x03, 0x12, 0x0d,
  1020. 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x52, 0x55, 0x4d, 0x4f, 0x55, 0x52, 0x10, 0x04, 0x12, 0x1d, 0x0a,
  1021. 0x19, 0x4d, 0x54, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x46, 0x45, 0x49, 0x54, 0x5f,
  1022. 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16,
  1023. 0x4d, 0x54, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x46, 0x5f,
  1024. 0x4d, 0x49, 0x4e, 0x4f, 0x52, 0x53, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x4f,
  1025. 0x54, 0x48, 0x45, 0x52, 0x10, 0x07, 0x32, 0x9c, 0x03, 0x0a, 0x0b, 0x42, 0x75, 0x73, 0x69, 0x6e,
  1026. 0x65, 0x73, 0x73, 0x45, 0x78, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e,
  1027. 0x12, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x1a,
  1028. 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
  1029. 0x2a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
  1030. 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x70, 0x62, 0x2e,
  1031. 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x55,
  1032. 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x55,
  1033. 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70,
  1034. 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x33, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63,
  1035. 0x68, 0x55, 0x73, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,
  1036. 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65,
  1037. 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f,
  1038. 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12,
  1039. 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64,
  1040. 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f,
  1041. 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70,
  1042. 0x12, 0x2f, 0x0a, 0x0c, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74,
  1043. 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x70, 0x62,
  1044. 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
  1045. 0x70, 0x12, 0x30, 0x0a, 0x09, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x10,
  1046. 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71,
  1047. 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52,
  1048. 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47,
  1049. 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61,
  1050. 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e,
  1051. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b, 0x67,
  1052. 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1053. }
  1054. var (
  1055. file_business_ext_proto_rawDescOnce sync.Once
  1056. file_business_ext_proto_rawDescData = file_business_ext_proto_rawDesc
  1057. )
  1058. func file_business_ext_proto_rawDescGZIP() []byte {
  1059. file_business_ext_proto_rawDescOnce.Do(func() {
  1060. file_business_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_business_ext_proto_rawDescData)
  1061. })
  1062. return file_business_ext_proto_rawDescData
  1063. }
  1064. var file_business_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1065. var file_business_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
  1066. var file_business_ext_proto_goTypes = []interface{}{
  1067. (ComplainType)(0), // 0: pb.ComplainType
  1068. (*ComplainGroupReq)(nil), // 1: pb.ComplainGroupReq
  1069. (*IsFriendsReq)(nil), // 2: pb.IsFriendsReq
  1070. (*IsFriendsResp)(nil), // 3: pb.IsFriendsResp
  1071. (*Emoticon)(nil), // 4: pb.Emoticon
  1072. (*EmoticonListResp)(nil), // 5: pb.EmoticonListResp
  1073. (*SignInReq)(nil), // 6: pb.SignInReq
  1074. (*SignInResp)(nil), // 7: pb.SignInResp
  1075. (*CloudUploadFileReq)(nil), // 8: pb.CloudUploadFileReq
  1076. (*CloudUploadFileResp)(nil), // 9: pb.CloudUploadFileResp
  1077. (*User)(nil), // 10: pb.User
  1078. (*GetUserReq)(nil), // 11: pb.GetUserReq
  1079. (*GetUserResp)(nil), // 12: pb.GetUserResp
  1080. (*UpdateUserReq)(nil), // 13: pb.UpdateUserReq
  1081. (*SearchUserReq)(nil), // 14: pb.SearchUserReq
  1082. (*SearchUserResp)(nil), // 15: pb.SearchUserResp
  1083. (*Empty)(nil), // 16: pb.Empty
  1084. }
  1085. var file_business_ext_proto_depIdxs = []int32{
  1086. 0, // 0: pb.ComplainGroupReq.complain_type:type_name -> pb.ComplainType
  1087. 10, // 1: pb.IsFriendsResp.user:type_name -> pb.User
  1088. 4, // 2: pb.EmoticonListResp.emoticons:type_name -> pb.Emoticon
  1089. 10, // 3: pb.GetUserResp.user:type_name -> pb.User
  1090. 10, // 4: pb.SearchUserResp.users:type_name -> pb.User
  1091. 6, // 5: pb.BusinessExt.SignIn:input_type -> pb.SignInReq
  1092. 11, // 6: pb.BusinessExt.GetUser:input_type -> pb.GetUserReq
  1093. 13, // 7: pb.BusinessExt.UpdateUser:input_type -> pb.UpdateUserReq
  1094. 14, // 8: pb.BusinessExt.SearchUser:input_type -> pb.SearchUserReq
  1095. 8, // 9: pb.BusinessExt.CloudUploadFile:input_type -> pb.CloudUploadFileReq
  1096. 16, // 10: pb.BusinessExt.EmoticonList:input_type -> pb.Empty
  1097. 2, // 11: pb.BusinessExt.IsFriends:input_type -> pb.IsFriendsReq
  1098. 1, // 12: pb.BusinessExt.ComplainGroup:input_type -> pb.ComplainGroupReq
  1099. 7, // 13: pb.BusinessExt.SignIn:output_type -> pb.SignInResp
  1100. 12, // 14: pb.BusinessExt.GetUser:output_type -> pb.GetUserResp
  1101. 16, // 15: pb.BusinessExt.UpdateUser:output_type -> pb.Empty
  1102. 15, // 16: pb.BusinessExt.SearchUser:output_type -> pb.SearchUserResp
  1103. 9, // 17: pb.BusinessExt.CloudUploadFile:output_type -> pb.CloudUploadFileResp
  1104. 5, // 18: pb.BusinessExt.EmoticonList:output_type -> pb.EmoticonListResp
  1105. 3, // 19: pb.BusinessExt.IsFriends:output_type -> pb.IsFriendsResp
  1106. 16, // 20: pb.BusinessExt.ComplainGroup:output_type -> pb.Empty
  1107. 13, // [13:21] is the sub-list for method output_type
  1108. 5, // [5:13] is the sub-list for method input_type
  1109. 5, // [5:5] is the sub-list for extension type_name
  1110. 5, // [5:5] is the sub-list for extension extendee
  1111. 0, // [0:5] is the sub-list for field type_name
  1112. }
  1113. func init() { file_business_ext_proto_init() }
  1114. func file_business_ext_proto_init() {
  1115. if File_business_ext_proto != nil {
  1116. return
  1117. }
  1118. file_common_ext_proto_init()
  1119. if !protoimpl.UnsafeEnabled {
  1120. file_business_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1121. switch v := v.(*ComplainGroupReq); i {
  1122. case 0:
  1123. return &v.state
  1124. case 1:
  1125. return &v.sizeCache
  1126. case 2:
  1127. return &v.unknownFields
  1128. default:
  1129. return nil
  1130. }
  1131. }
  1132. file_business_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1133. switch v := v.(*IsFriendsReq); i {
  1134. case 0:
  1135. return &v.state
  1136. case 1:
  1137. return &v.sizeCache
  1138. case 2:
  1139. return &v.unknownFields
  1140. default:
  1141. return nil
  1142. }
  1143. }
  1144. file_business_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1145. switch v := v.(*IsFriendsResp); i {
  1146. case 0:
  1147. return &v.state
  1148. case 1:
  1149. return &v.sizeCache
  1150. case 2:
  1151. return &v.unknownFields
  1152. default:
  1153. return nil
  1154. }
  1155. }
  1156. file_business_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1157. switch v := v.(*Emoticon); i {
  1158. case 0:
  1159. return &v.state
  1160. case 1:
  1161. return &v.sizeCache
  1162. case 2:
  1163. return &v.unknownFields
  1164. default:
  1165. return nil
  1166. }
  1167. }
  1168. file_business_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1169. switch v := v.(*EmoticonListResp); i {
  1170. case 0:
  1171. return &v.state
  1172. case 1:
  1173. return &v.sizeCache
  1174. case 2:
  1175. return &v.unknownFields
  1176. default:
  1177. return nil
  1178. }
  1179. }
  1180. file_business_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1181. switch v := v.(*SignInReq); i {
  1182. case 0:
  1183. return &v.state
  1184. case 1:
  1185. return &v.sizeCache
  1186. case 2:
  1187. return &v.unknownFields
  1188. default:
  1189. return nil
  1190. }
  1191. }
  1192. file_business_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1193. switch v := v.(*SignInResp); i {
  1194. case 0:
  1195. return &v.state
  1196. case 1:
  1197. return &v.sizeCache
  1198. case 2:
  1199. return &v.unknownFields
  1200. default:
  1201. return nil
  1202. }
  1203. }
  1204. file_business_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1205. switch v := v.(*CloudUploadFileReq); i {
  1206. case 0:
  1207. return &v.state
  1208. case 1:
  1209. return &v.sizeCache
  1210. case 2:
  1211. return &v.unknownFields
  1212. default:
  1213. return nil
  1214. }
  1215. }
  1216. file_business_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1217. switch v := v.(*CloudUploadFileResp); i {
  1218. case 0:
  1219. return &v.state
  1220. case 1:
  1221. return &v.sizeCache
  1222. case 2:
  1223. return &v.unknownFields
  1224. default:
  1225. return nil
  1226. }
  1227. }
  1228. file_business_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1229. switch v := v.(*User); i {
  1230. case 0:
  1231. return &v.state
  1232. case 1:
  1233. return &v.sizeCache
  1234. case 2:
  1235. return &v.unknownFields
  1236. default:
  1237. return nil
  1238. }
  1239. }
  1240. file_business_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1241. switch v := v.(*GetUserReq); i {
  1242. case 0:
  1243. return &v.state
  1244. case 1:
  1245. return &v.sizeCache
  1246. case 2:
  1247. return &v.unknownFields
  1248. default:
  1249. return nil
  1250. }
  1251. }
  1252. file_business_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1253. switch v := v.(*GetUserResp); i {
  1254. case 0:
  1255. return &v.state
  1256. case 1:
  1257. return &v.sizeCache
  1258. case 2:
  1259. return &v.unknownFields
  1260. default:
  1261. return nil
  1262. }
  1263. }
  1264. file_business_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1265. switch v := v.(*UpdateUserReq); i {
  1266. case 0:
  1267. return &v.state
  1268. case 1:
  1269. return &v.sizeCache
  1270. case 2:
  1271. return &v.unknownFields
  1272. default:
  1273. return nil
  1274. }
  1275. }
  1276. file_business_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1277. switch v := v.(*SearchUserReq); i {
  1278. case 0:
  1279. return &v.state
  1280. case 1:
  1281. return &v.sizeCache
  1282. case 2:
  1283. return &v.unknownFields
  1284. default:
  1285. return nil
  1286. }
  1287. }
  1288. file_business_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1289. switch v := v.(*SearchUserResp); i {
  1290. case 0:
  1291. return &v.state
  1292. case 1:
  1293. return &v.sizeCache
  1294. case 2:
  1295. return &v.unknownFields
  1296. default:
  1297. return nil
  1298. }
  1299. }
  1300. }
  1301. type x struct{}
  1302. out := protoimpl.TypeBuilder{
  1303. File: protoimpl.DescBuilder{
  1304. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1305. RawDescriptor: file_business_ext_proto_rawDesc,
  1306. NumEnums: 1,
  1307. NumMessages: 15,
  1308. NumExtensions: 0,
  1309. NumServices: 1,
  1310. },
  1311. GoTypes: file_business_ext_proto_goTypes,
  1312. DependencyIndexes: file_business_ext_proto_depIdxs,
  1313. EnumInfos: file_business_ext_proto_enumTypes,
  1314. MessageInfos: file_business_ext_proto_msgTypes,
  1315. }.Build()
  1316. File_business_ext_proto = out.File
  1317. file_business_ext_proto_rawDesc = nil
  1318. file_business_ext_proto_goTypes = nil
  1319. file_business_ext_proto_depIdxs = nil
  1320. }
  1321. // This is a compile-time assertion to ensure that this generated file
  1322. // is compatible with the grpc package it is being compiled against.
  1323. // Requires gRPC-Go v1.32.0 or later.
  1324. const _ = grpc.SupportPackageIsVersion7
  1325. // BusinessExtClient is the client API for BusinessExt service.
  1326. //
  1327. // 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.
  1328. type BusinessExtClient interface {
  1329. // 登录
  1330. SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error)
  1331. // 获取用户信息
  1332. GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
  1333. // 更新用户信息
  1334. UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error)
  1335. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1336. SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error)
  1337. // 上传文件至云端
  1338. CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error)
  1339. // 获取表情
  1340. EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error)
  1341. // 判断是否为好友关系
  1342. IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error)
  1343. // 投诉群
  1344. ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error)
  1345. }
  1346. type businessExtClient struct {
  1347. cc grpc.ClientConnInterface
  1348. }
  1349. func NewBusinessExtClient(cc grpc.ClientConnInterface) BusinessExtClient {
  1350. return &businessExtClient{cc}
  1351. }
  1352. func (c *businessExtClient) SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error) {
  1353. out := new(SignInResp)
  1354. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SignIn", in, out, opts...)
  1355. if err != nil {
  1356. return nil, err
  1357. }
  1358. return out, nil
  1359. }
  1360. func (c *businessExtClient) GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error) {
  1361. out := new(GetUserResp)
  1362. err := c.cc.Invoke(ctx, "/pb.BusinessExt/GetUser", in, out, opts...)
  1363. if err != nil {
  1364. return nil, err
  1365. }
  1366. return out, nil
  1367. }
  1368. func (c *businessExtClient) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error) {
  1369. out := new(Empty)
  1370. err := c.cc.Invoke(ctx, "/pb.BusinessExt/UpdateUser", in, out, opts...)
  1371. if err != nil {
  1372. return nil, err
  1373. }
  1374. return out, nil
  1375. }
  1376. func (c *businessExtClient) SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error) {
  1377. out := new(SearchUserResp)
  1378. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SearchUser", in, out, opts...)
  1379. if err != nil {
  1380. return nil, err
  1381. }
  1382. return out, nil
  1383. }
  1384. func (c *businessExtClient) CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error) {
  1385. out := new(CloudUploadFileResp)
  1386. err := c.cc.Invoke(ctx, "/pb.BusinessExt/CloudUploadFile", in, out, opts...)
  1387. if err != nil {
  1388. return nil, err
  1389. }
  1390. return out, nil
  1391. }
  1392. func (c *businessExtClient) EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error) {
  1393. out := new(EmoticonListResp)
  1394. err := c.cc.Invoke(ctx, "/pb.BusinessExt/EmoticonList", in, out, opts...)
  1395. if err != nil {
  1396. return nil, err
  1397. }
  1398. return out, nil
  1399. }
  1400. func (c *businessExtClient) IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error) {
  1401. out := new(IsFriendsResp)
  1402. err := c.cc.Invoke(ctx, "/pb.BusinessExt/IsFriends", in, out, opts...)
  1403. if err != nil {
  1404. return nil, err
  1405. }
  1406. return out, nil
  1407. }
  1408. func (c *businessExtClient) ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  1409. out := new(Empty)
  1410. err := c.cc.Invoke(ctx, "/pb.BusinessExt/ComplainGroup", in, out, opts...)
  1411. if err != nil {
  1412. return nil, err
  1413. }
  1414. return out, nil
  1415. }
  1416. // BusinessExtServer is the server API for BusinessExt service.
  1417. // All implementations must embed UnimplementedBusinessExtServer
  1418. // for forward compatibility
  1419. type BusinessExtServer interface {
  1420. // 登录
  1421. SignIn(context.Context, *SignInReq) (*SignInResp, error)
  1422. // 获取用户信息
  1423. GetUser(context.Context, *GetUserReq) (*GetUserResp, error)
  1424. // 更新用户信息
  1425. UpdateUser(context.Context, *UpdateUserReq) (*Empty, error)
  1426. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1427. SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error)
  1428. // 上传文件至云端
  1429. CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error)
  1430. // 获取表情
  1431. EmoticonList(context.Context, *Empty) (*EmoticonListResp, error)
  1432. // 判断是否为好友关系
  1433. IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error)
  1434. // 投诉群
  1435. ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error)
  1436. }
  1437. // UnimplementedBusinessExtServer must be embedded to have forward compatible implementations.
  1438. type UnimplementedBusinessExtServer struct {
  1439. }
  1440. func (UnimplementedBusinessExtServer) SignIn(context.Context, *SignInReq) (*SignInResp, error) {
  1441. return nil, status.Errorf(codes.Unimplemented, "method SignIn not implemented")
  1442. }
  1443. func (UnimplementedBusinessExtServer) GetUser(context.Context, *GetUserReq) (*GetUserResp, error) {
  1444. return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
  1445. }
  1446. func (UnimplementedBusinessExtServer) UpdateUser(context.Context, *UpdateUserReq) (*Empty, error) {
  1447. return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
  1448. }
  1449. func (UnimplementedBusinessExtServer) SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error) {
  1450. return nil, status.Errorf(codes.Unimplemented, "method SearchUser not implemented")
  1451. }
  1452. func (UnimplementedBusinessExtServer) CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error) {
  1453. return nil, status.Errorf(codes.Unimplemented, "method CloudUploadFile not implemented")
  1454. }
  1455. func (UnimplementedBusinessExtServer) EmoticonList(context.Context, *Empty) (*EmoticonListResp, error) {
  1456. return nil, status.Errorf(codes.Unimplemented, "method EmoticonList not implemented")
  1457. }
  1458. func (UnimplementedBusinessExtServer) IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error) {
  1459. return nil, status.Errorf(codes.Unimplemented, "method IsFriends not implemented")
  1460. }
  1461. func (UnimplementedBusinessExtServer) ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error) {
  1462. return nil, status.Errorf(codes.Unimplemented, "method ComplainGroup not implemented")
  1463. }
  1464. func RegisterBusinessExtServer(s grpc.ServiceRegistrar, srv BusinessExtServer) {
  1465. s.RegisterService(&BusinessExt_ServiceDesc, srv)
  1466. }
  1467. func _BusinessExt_SignIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1468. in := new(SignInReq)
  1469. if err := dec(in); err != nil {
  1470. return nil, err
  1471. }
  1472. if interceptor == nil {
  1473. return srv.(BusinessExtServer).SignIn(ctx, in)
  1474. }
  1475. info := &grpc.UnaryServerInfo{
  1476. Server: srv,
  1477. FullMethod: "/pb.BusinessExt/SignIn",
  1478. }
  1479. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1480. return srv.(BusinessExtServer).SignIn(ctx, req.(*SignInReq))
  1481. }
  1482. return interceptor(ctx, in, info, handler)
  1483. }
  1484. func _BusinessExt_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1485. in := new(GetUserReq)
  1486. if err := dec(in); err != nil {
  1487. return nil, err
  1488. }
  1489. if interceptor == nil {
  1490. return srv.(BusinessExtServer).GetUser(ctx, in)
  1491. }
  1492. info := &grpc.UnaryServerInfo{
  1493. Server: srv,
  1494. FullMethod: "/pb.BusinessExt/GetUser",
  1495. }
  1496. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1497. return srv.(BusinessExtServer).GetUser(ctx, req.(*GetUserReq))
  1498. }
  1499. return interceptor(ctx, in, info, handler)
  1500. }
  1501. func _BusinessExt_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1502. in := new(UpdateUserReq)
  1503. if err := dec(in); err != nil {
  1504. return nil, err
  1505. }
  1506. if interceptor == nil {
  1507. return srv.(BusinessExtServer).UpdateUser(ctx, in)
  1508. }
  1509. info := &grpc.UnaryServerInfo{
  1510. Server: srv,
  1511. FullMethod: "/pb.BusinessExt/UpdateUser",
  1512. }
  1513. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1514. return srv.(BusinessExtServer).UpdateUser(ctx, req.(*UpdateUserReq))
  1515. }
  1516. return interceptor(ctx, in, info, handler)
  1517. }
  1518. func _BusinessExt_SearchUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1519. in := new(SearchUserReq)
  1520. if err := dec(in); err != nil {
  1521. return nil, err
  1522. }
  1523. if interceptor == nil {
  1524. return srv.(BusinessExtServer).SearchUser(ctx, in)
  1525. }
  1526. info := &grpc.UnaryServerInfo{
  1527. Server: srv,
  1528. FullMethod: "/pb.BusinessExt/SearchUser",
  1529. }
  1530. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1531. return srv.(BusinessExtServer).SearchUser(ctx, req.(*SearchUserReq))
  1532. }
  1533. return interceptor(ctx, in, info, handler)
  1534. }
  1535. func _BusinessExt_CloudUploadFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1536. in := new(CloudUploadFileReq)
  1537. if err := dec(in); err != nil {
  1538. return nil, err
  1539. }
  1540. if interceptor == nil {
  1541. return srv.(BusinessExtServer).CloudUploadFile(ctx, in)
  1542. }
  1543. info := &grpc.UnaryServerInfo{
  1544. Server: srv,
  1545. FullMethod: "/pb.BusinessExt/CloudUploadFile",
  1546. }
  1547. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1548. return srv.(BusinessExtServer).CloudUploadFile(ctx, req.(*CloudUploadFileReq))
  1549. }
  1550. return interceptor(ctx, in, info, handler)
  1551. }
  1552. func _BusinessExt_EmoticonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1553. in := new(Empty)
  1554. if err := dec(in); err != nil {
  1555. return nil, err
  1556. }
  1557. if interceptor == nil {
  1558. return srv.(BusinessExtServer).EmoticonList(ctx, in)
  1559. }
  1560. info := &grpc.UnaryServerInfo{
  1561. Server: srv,
  1562. FullMethod: "/pb.BusinessExt/EmoticonList",
  1563. }
  1564. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1565. return srv.(BusinessExtServer).EmoticonList(ctx, req.(*Empty))
  1566. }
  1567. return interceptor(ctx, in, info, handler)
  1568. }
  1569. func _BusinessExt_IsFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1570. in := new(IsFriendsReq)
  1571. if err := dec(in); err != nil {
  1572. return nil, err
  1573. }
  1574. if interceptor == nil {
  1575. return srv.(BusinessExtServer).IsFriends(ctx, in)
  1576. }
  1577. info := &grpc.UnaryServerInfo{
  1578. Server: srv,
  1579. FullMethod: "/pb.BusinessExt/IsFriends",
  1580. }
  1581. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1582. return srv.(BusinessExtServer).IsFriends(ctx, req.(*IsFriendsReq))
  1583. }
  1584. return interceptor(ctx, in, info, handler)
  1585. }
  1586. func _BusinessExt_ComplainGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1587. in := new(ComplainGroupReq)
  1588. if err := dec(in); err != nil {
  1589. return nil, err
  1590. }
  1591. if interceptor == nil {
  1592. return srv.(BusinessExtServer).ComplainGroup(ctx, in)
  1593. }
  1594. info := &grpc.UnaryServerInfo{
  1595. Server: srv,
  1596. FullMethod: "/pb.BusinessExt/ComplainGroup",
  1597. }
  1598. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1599. return srv.(BusinessExtServer).ComplainGroup(ctx, req.(*ComplainGroupReq))
  1600. }
  1601. return interceptor(ctx, in, info, handler)
  1602. }
  1603. // BusinessExt_ServiceDesc is the grpc.ServiceDesc for BusinessExt service.
  1604. // It's only intended for direct use with grpc.RegisterService,
  1605. // and not to be introspected or modified (even as a copy)
  1606. var BusinessExt_ServiceDesc = grpc.ServiceDesc{
  1607. ServiceName: "pb.BusinessExt",
  1608. HandlerType: (*BusinessExtServer)(nil),
  1609. Methods: []grpc.MethodDesc{
  1610. {
  1611. MethodName: "SignIn",
  1612. Handler: _BusinessExt_SignIn_Handler,
  1613. },
  1614. {
  1615. MethodName: "GetUser",
  1616. Handler: _BusinessExt_GetUser_Handler,
  1617. },
  1618. {
  1619. MethodName: "UpdateUser",
  1620. Handler: _BusinessExt_UpdateUser_Handler,
  1621. },
  1622. {
  1623. MethodName: "SearchUser",
  1624. Handler: _BusinessExt_SearchUser_Handler,
  1625. },
  1626. {
  1627. MethodName: "CloudUploadFile",
  1628. Handler: _BusinessExt_CloudUploadFile_Handler,
  1629. },
  1630. {
  1631. MethodName: "EmoticonList",
  1632. Handler: _BusinessExt_EmoticonList_Handler,
  1633. },
  1634. {
  1635. MethodName: "IsFriends",
  1636. Handler: _BusinessExt_IsFriends_Handler,
  1637. },
  1638. {
  1639. MethodName: "ComplainGroup",
  1640. Handler: _BusinessExt_ComplainGroup_Handler,
  1641. },
  1642. },
  1643. Streams: []grpc.StreamDesc{},
  1644. Metadata: "business.ext.proto",
  1645. }