選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

business.ext.pb.go 89 KiB

1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1ヶ月前
1週間前
1ヶ月前
1ヶ月前
1ヶ月前
1週間前
1ヶ月前
1ヶ月前
1週間前
1ヶ月前
1ヶ月前
1週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1ヶ月前
1週間前
1ヶ月前
1週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1週間前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.20.0--rc2
  5. // source: business.ext.proto
  6. package pb
  7. import (
  8. context "context"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  13. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  14. reflect "reflect"
  15. sync "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. // 群公告发布方式
  80. type GroupNoticePublishType int32
  81. const (
  82. GroupNoticePublishType_UNKNOWN_PUBLISH GroupNoticePublishType = 0 // 未知
  83. GroupNoticePublishType_ONLY_PUBLISH GroupNoticePublishType = 1 // 仅发布
  84. GroupNoticePublishType_PUBLISH_AND_NOTICE GroupNoticePublishType = 2 // 发布并通知
  85. GroupNoticePublishType_NOTICE_AND_TOP_UP GroupNoticePublishType = 3 // 通知并置顶
  86. )
  87. // Enum value maps for GroupNoticePublishType.
  88. var (
  89. GroupNoticePublishType_name = map[int32]string{
  90. 0: "UNKNOWN_PUBLISH",
  91. 1: "ONLY_PUBLISH",
  92. 2: "PUBLISH_AND_NOTICE",
  93. 3: "NOTICE_AND_TOP_UP",
  94. }
  95. GroupNoticePublishType_value = map[string]int32{
  96. "UNKNOWN_PUBLISH": 0,
  97. "ONLY_PUBLISH": 1,
  98. "PUBLISH_AND_NOTICE": 2,
  99. "NOTICE_AND_TOP_UP": 3,
  100. }
  101. )
  102. func (x GroupNoticePublishType) Enum() *GroupNoticePublishType {
  103. p := new(GroupNoticePublishType)
  104. *p = x
  105. return p
  106. }
  107. func (x GroupNoticePublishType) String() string {
  108. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  109. }
  110. func (GroupNoticePublishType) Descriptor() protoreflect.EnumDescriptor {
  111. return file_business_ext_proto_enumTypes[1].Descriptor()
  112. }
  113. func (GroupNoticePublishType) Type() protoreflect.EnumType {
  114. return &file_business_ext_proto_enumTypes[1]
  115. }
  116. func (x GroupNoticePublishType) Number() protoreflect.EnumNumber {
  117. return protoreflect.EnumNumber(x)
  118. }
  119. // Deprecated: Use GroupNoticePublishType.Descriptor instead.
  120. func (GroupNoticePublishType) EnumDescriptor() ([]byte, []int) {
  121. return file_business_ext_proto_rawDescGZIP(), []int{1}
  122. }
  123. type LikeGroupNoticeReq struct {
  124. state protoimpl.MessageState
  125. sizeCache protoimpl.SizeCache
  126. unknownFields protoimpl.UnknownFields
  127. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  128. }
  129. func (x *LikeGroupNoticeReq) Reset() {
  130. *x = LikeGroupNoticeReq{}
  131. if protoimpl.UnsafeEnabled {
  132. mi := &file_business_ext_proto_msgTypes[0]
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. ms.StoreMessageInfo(mi)
  135. }
  136. }
  137. func (x *LikeGroupNoticeReq) String() string {
  138. return protoimpl.X.MessageStringOf(x)
  139. }
  140. func (*LikeGroupNoticeReq) ProtoMessage() {}
  141. func (x *LikeGroupNoticeReq) ProtoReflect() protoreflect.Message {
  142. mi := &file_business_ext_proto_msgTypes[0]
  143. if protoimpl.UnsafeEnabled && x != nil {
  144. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  145. if ms.LoadMessageInfo() == nil {
  146. ms.StoreMessageInfo(mi)
  147. }
  148. return ms
  149. }
  150. return mi.MessageOf(x)
  151. }
  152. // Deprecated: Use LikeGroupNoticeReq.ProtoReflect.Descriptor instead.
  153. func (*LikeGroupNoticeReq) Descriptor() ([]byte, []int) {
  154. return file_business_ext_proto_rawDescGZIP(), []int{0}
  155. }
  156. func (x *LikeGroupNoticeReq) GetGroupId() int64 {
  157. if x != nil {
  158. return x.GroupId
  159. }
  160. return 0
  161. }
  162. type CancelLikeGroupNoticeReq struct {
  163. state protoimpl.MessageState
  164. sizeCache protoimpl.SizeCache
  165. unknownFields protoimpl.UnknownFields
  166. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  167. }
  168. func (x *CancelLikeGroupNoticeReq) Reset() {
  169. *x = CancelLikeGroupNoticeReq{}
  170. if protoimpl.UnsafeEnabled {
  171. mi := &file_business_ext_proto_msgTypes[1]
  172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  173. ms.StoreMessageInfo(mi)
  174. }
  175. }
  176. func (x *CancelLikeGroupNoticeReq) String() string {
  177. return protoimpl.X.MessageStringOf(x)
  178. }
  179. func (*CancelLikeGroupNoticeReq) ProtoMessage() {}
  180. func (x *CancelLikeGroupNoticeReq) ProtoReflect() protoreflect.Message {
  181. mi := &file_business_ext_proto_msgTypes[1]
  182. if protoimpl.UnsafeEnabled && x != nil {
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. if ms.LoadMessageInfo() == nil {
  185. ms.StoreMessageInfo(mi)
  186. }
  187. return ms
  188. }
  189. return mi.MessageOf(x)
  190. }
  191. // Deprecated: Use CancelLikeGroupNoticeReq.ProtoReflect.Descriptor instead.
  192. func (*CancelLikeGroupNoticeReq) Descriptor() ([]byte, []int) {
  193. return file_business_ext_proto_rawDescGZIP(), []int{1}
  194. }
  195. func (x *CancelLikeGroupNoticeReq) GetGroupId() int64 {
  196. if x != nil {
  197. return x.GroupId
  198. }
  199. return 0
  200. }
  201. type ViewGroupNoticeReq struct {
  202. state protoimpl.MessageState
  203. sizeCache protoimpl.SizeCache
  204. unknownFields protoimpl.UnknownFields
  205. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  206. }
  207. func (x *ViewGroupNoticeReq) Reset() {
  208. *x = ViewGroupNoticeReq{}
  209. if protoimpl.UnsafeEnabled {
  210. mi := &file_business_ext_proto_msgTypes[2]
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. ms.StoreMessageInfo(mi)
  213. }
  214. }
  215. func (x *ViewGroupNoticeReq) String() string {
  216. return protoimpl.X.MessageStringOf(x)
  217. }
  218. func (*ViewGroupNoticeReq) ProtoMessage() {}
  219. func (x *ViewGroupNoticeReq) ProtoReflect() protoreflect.Message {
  220. mi := &file_business_ext_proto_msgTypes[2]
  221. if protoimpl.UnsafeEnabled && x != nil {
  222. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  223. if ms.LoadMessageInfo() == nil {
  224. ms.StoreMessageInfo(mi)
  225. }
  226. return ms
  227. }
  228. return mi.MessageOf(x)
  229. }
  230. // Deprecated: Use ViewGroupNoticeReq.ProtoReflect.Descriptor instead.
  231. func (*ViewGroupNoticeReq) Descriptor() ([]byte, []int) {
  232. return file_business_ext_proto_rawDescGZIP(), []int{2}
  233. }
  234. func (x *ViewGroupNoticeReq) GetGroupId() int64 {
  235. if x != nil {
  236. return x.GroupId
  237. }
  238. return 0
  239. }
  240. type ViewGroupNoticeResp struct {
  241. state protoimpl.MessageState
  242. sizeCache protoimpl.SizeCache
  243. unknownFields protoimpl.UnknownFields
  244. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  245. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` //发布用户id
  246. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` //公告内容
  247. LikeNums int64 `protobuf:"varint,4,opt,name=like_nums,json=likeNums,proto3" json:"like_nums,omitempty"` //点赞数量
  248. ReadNums int64 `protobuf:"varint,5,opt,name=read_nums,json=readNums,proto3" json:"read_nums,omitempty"` //阅读数量
  249. PublishType GroupNoticePublishType `protobuf:"varint,6,opt,name=publish_type,json=publishType,proto3,enum=pb.GroupNoticePublishType" json:"publish_type,omitempty"` // 发布方式
  250. PublishTime string `protobuf:"bytes,7,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` // 发布时间
  251. IsLike bool `protobuf:"varint,8,opt,name=is_like,json=isLike,proto3" json:"is_like,omitempty"` // 是否点赞
  252. }
  253. func (x *ViewGroupNoticeResp) Reset() {
  254. *x = ViewGroupNoticeResp{}
  255. if protoimpl.UnsafeEnabled {
  256. mi := &file_business_ext_proto_msgTypes[3]
  257. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  258. ms.StoreMessageInfo(mi)
  259. }
  260. }
  261. func (x *ViewGroupNoticeResp) String() string {
  262. return protoimpl.X.MessageStringOf(x)
  263. }
  264. func (*ViewGroupNoticeResp) ProtoMessage() {}
  265. func (x *ViewGroupNoticeResp) ProtoReflect() protoreflect.Message {
  266. mi := &file_business_ext_proto_msgTypes[3]
  267. if protoimpl.UnsafeEnabled && x != nil {
  268. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  269. if ms.LoadMessageInfo() == nil {
  270. ms.StoreMessageInfo(mi)
  271. }
  272. return ms
  273. }
  274. return mi.MessageOf(x)
  275. }
  276. // Deprecated: Use ViewGroupNoticeResp.ProtoReflect.Descriptor instead.
  277. func (*ViewGroupNoticeResp) Descriptor() ([]byte, []int) {
  278. return file_business_ext_proto_rawDescGZIP(), []int{3}
  279. }
  280. func (x *ViewGroupNoticeResp) GetGroupId() int64 {
  281. if x != nil {
  282. return x.GroupId
  283. }
  284. return 0
  285. }
  286. func (x *ViewGroupNoticeResp) GetUserId() int64 {
  287. if x != nil {
  288. return x.UserId
  289. }
  290. return 0
  291. }
  292. func (x *ViewGroupNoticeResp) GetContent() string {
  293. if x != nil {
  294. return x.Content
  295. }
  296. return ""
  297. }
  298. func (x *ViewGroupNoticeResp) GetLikeNums() int64 {
  299. if x != nil {
  300. return x.LikeNums
  301. }
  302. return 0
  303. }
  304. func (x *ViewGroupNoticeResp) GetReadNums() int64 {
  305. if x != nil {
  306. return x.ReadNums
  307. }
  308. return 0
  309. }
  310. func (x *ViewGroupNoticeResp) GetPublishType() GroupNoticePublishType {
  311. if x != nil {
  312. return x.PublishType
  313. }
  314. return GroupNoticePublishType_UNKNOWN_PUBLISH
  315. }
  316. func (x *ViewGroupNoticeResp) GetPublishTime() string {
  317. if x != nil {
  318. return x.PublishTime
  319. }
  320. return ""
  321. }
  322. func (x *ViewGroupNoticeResp) GetIsLike() bool {
  323. if x != nil {
  324. return x.IsLike
  325. }
  326. return false
  327. }
  328. type PublishGroupNoticeReq struct {
  329. state protoimpl.MessageState
  330. sizeCache protoimpl.SizeCache
  331. unknownFields protoimpl.UnknownFields
  332. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  333. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` //发布用户id
  334. PublishType GroupNoticePublishType `protobuf:"varint,3,opt,name=publish_type,json=publishType,proto3,enum=pb.GroupNoticePublishType" json:"publish_type,omitempty"` // 发布方式
  335. Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // 发布内容
  336. }
  337. func (x *PublishGroupNoticeReq) Reset() {
  338. *x = PublishGroupNoticeReq{}
  339. if protoimpl.UnsafeEnabled {
  340. mi := &file_business_ext_proto_msgTypes[4]
  341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  342. ms.StoreMessageInfo(mi)
  343. }
  344. }
  345. func (x *PublishGroupNoticeReq) String() string {
  346. return protoimpl.X.MessageStringOf(x)
  347. }
  348. func (*PublishGroupNoticeReq) ProtoMessage() {}
  349. func (x *PublishGroupNoticeReq) ProtoReflect() protoreflect.Message {
  350. mi := &file_business_ext_proto_msgTypes[4]
  351. if protoimpl.UnsafeEnabled && x != nil {
  352. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  353. if ms.LoadMessageInfo() == nil {
  354. ms.StoreMessageInfo(mi)
  355. }
  356. return ms
  357. }
  358. return mi.MessageOf(x)
  359. }
  360. // Deprecated: Use PublishGroupNoticeReq.ProtoReflect.Descriptor instead.
  361. func (*PublishGroupNoticeReq) Descriptor() ([]byte, []int) {
  362. return file_business_ext_proto_rawDescGZIP(), []int{4}
  363. }
  364. func (x *PublishGroupNoticeReq) GetGroupId() int64 {
  365. if x != nil {
  366. return x.GroupId
  367. }
  368. return 0
  369. }
  370. func (x *PublishGroupNoticeReq) GetUserId() int64 {
  371. if x != nil {
  372. return x.UserId
  373. }
  374. return 0
  375. }
  376. func (x *PublishGroupNoticeReq) GetPublishType() GroupNoticePublishType {
  377. if x != nil {
  378. return x.PublishType
  379. }
  380. return GroupNoticePublishType_UNKNOWN_PUBLISH
  381. }
  382. func (x *PublishGroupNoticeReq) GetContent() string {
  383. if x != nil {
  384. return x.Content
  385. }
  386. return ""
  387. }
  388. type ComplainGroupReq struct {
  389. state protoimpl.MessageState
  390. sizeCache protoimpl.SizeCache
  391. unknownFields protoimpl.UnknownFields
  392. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  393. ComplainType ComplainType `protobuf:"varint,2,opt,name=complain_type,json=complainType,proto3,enum=pb.ComplainType" json:"complain_type,omitempty"` // 投诉类型
  394. Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // 投诉内容
  395. ImageList []string `protobuf:"bytes,4,rep,name=image_list,json=imageList,proto3" json:"image_list,omitempty"` // 图片
  396. }
  397. func (x *ComplainGroupReq) Reset() {
  398. *x = ComplainGroupReq{}
  399. if protoimpl.UnsafeEnabled {
  400. mi := &file_business_ext_proto_msgTypes[5]
  401. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  402. ms.StoreMessageInfo(mi)
  403. }
  404. }
  405. func (x *ComplainGroupReq) String() string {
  406. return protoimpl.X.MessageStringOf(x)
  407. }
  408. func (*ComplainGroupReq) ProtoMessage() {}
  409. func (x *ComplainGroupReq) ProtoReflect() protoreflect.Message {
  410. mi := &file_business_ext_proto_msgTypes[5]
  411. if protoimpl.UnsafeEnabled && x != nil {
  412. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  413. if ms.LoadMessageInfo() == nil {
  414. ms.StoreMessageInfo(mi)
  415. }
  416. return ms
  417. }
  418. return mi.MessageOf(x)
  419. }
  420. // Deprecated: Use ComplainGroupReq.ProtoReflect.Descriptor instead.
  421. func (*ComplainGroupReq) Descriptor() ([]byte, []int) {
  422. return file_business_ext_proto_rawDescGZIP(), []int{5}
  423. }
  424. func (x *ComplainGroupReq) GetGroupId() int64 {
  425. if x != nil {
  426. return x.GroupId
  427. }
  428. return 0
  429. }
  430. func (x *ComplainGroupReq) GetComplainType() ComplainType {
  431. if x != nil {
  432. return x.ComplainType
  433. }
  434. return ComplainType_CT_UNKNOWN
  435. }
  436. func (x *ComplainGroupReq) GetText() string {
  437. if x != nil {
  438. return x.Text
  439. }
  440. return ""
  441. }
  442. func (x *ComplainGroupReq) GetImageList() []string {
  443. if x != nil {
  444. return x.ImageList
  445. }
  446. return nil
  447. }
  448. type IsFriendsReq struct {
  449. state protoimpl.MessageState
  450. sizeCache protoimpl.SizeCache
  451. unknownFields protoimpl.UnknownFields
  452. UserPhone string `protobuf:"bytes,1,opt,name=user_phone,json=userPhone,proto3" json:"user_phone,omitempty"`
  453. FriendPhone string `protobuf:"bytes,2,opt,name=friend_phone,json=friendPhone,proto3" json:"friend_phone,omitempty"`
  454. }
  455. func (x *IsFriendsReq) Reset() {
  456. *x = IsFriendsReq{}
  457. if protoimpl.UnsafeEnabled {
  458. mi := &file_business_ext_proto_msgTypes[6]
  459. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  460. ms.StoreMessageInfo(mi)
  461. }
  462. }
  463. func (x *IsFriendsReq) String() string {
  464. return protoimpl.X.MessageStringOf(x)
  465. }
  466. func (*IsFriendsReq) ProtoMessage() {}
  467. func (x *IsFriendsReq) ProtoReflect() protoreflect.Message {
  468. mi := &file_business_ext_proto_msgTypes[6]
  469. if protoimpl.UnsafeEnabled && x != nil {
  470. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  471. if ms.LoadMessageInfo() == nil {
  472. ms.StoreMessageInfo(mi)
  473. }
  474. return ms
  475. }
  476. return mi.MessageOf(x)
  477. }
  478. // Deprecated: Use IsFriendsReq.ProtoReflect.Descriptor instead.
  479. func (*IsFriendsReq) Descriptor() ([]byte, []int) {
  480. return file_business_ext_proto_rawDescGZIP(), []int{6}
  481. }
  482. func (x *IsFriendsReq) GetUserPhone() string {
  483. if x != nil {
  484. return x.UserPhone
  485. }
  486. return ""
  487. }
  488. func (x *IsFriendsReq) GetFriendPhone() string {
  489. if x != nil {
  490. return x.FriendPhone
  491. }
  492. return ""
  493. }
  494. type IsFriendsResp struct {
  495. state protoimpl.MessageState
  496. sizeCache protoimpl.SizeCache
  497. unknownFields protoimpl.UnknownFields
  498. IsFriend int64 `protobuf:"varint,1,opt,name=is_friend,json=isFriend,proto3" json:"is_friend,omitempty"`
  499. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
  500. }
  501. func (x *IsFriendsResp) Reset() {
  502. *x = IsFriendsResp{}
  503. if protoimpl.UnsafeEnabled {
  504. mi := &file_business_ext_proto_msgTypes[7]
  505. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  506. ms.StoreMessageInfo(mi)
  507. }
  508. }
  509. func (x *IsFriendsResp) String() string {
  510. return protoimpl.X.MessageStringOf(x)
  511. }
  512. func (*IsFriendsResp) ProtoMessage() {}
  513. func (x *IsFriendsResp) ProtoReflect() protoreflect.Message {
  514. mi := &file_business_ext_proto_msgTypes[7]
  515. if protoimpl.UnsafeEnabled && x != nil {
  516. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  517. if ms.LoadMessageInfo() == nil {
  518. ms.StoreMessageInfo(mi)
  519. }
  520. return ms
  521. }
  522. return mi.MessageOf(x)
  523. }
  524. // Deprecated: Use IsFriendsResp.ProtoReflect.Descriptor instead.
  525. func (*IsFriendsResp) Descriptor() ([]byte, []int) {
  526. return file_business_ext_proto_rawDescGZIP(), []int{7}
  527. }
  528. func (x *IsFriendsResp) GetIsFriend() int64 {
  529. if x != nil {
  530. return x.IsFriend
  531. }
  532. return 0
  533. }
  534. func (x *IsFriendsResp) GetUser() *User {
  535. if x != nil {
  536. return x.User
  537. }
  538. return nil
  539. }
  540. type Emoticon struct {
  541. state protoimpl.MessageState
  542. sizeCache protoimpl.SizeCache
  543. unknownFields protoimpl.UnknownFields
  544. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
  545. ImgUrl string `protobuf:"bytes,2,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"` // 图片地址
  546. Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // 备注
  547. Sort int32 `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
  548. }
  549. func (x *Emoticon) Reset() {
  550. *x = Emoticon{}
  551. if protoimpl.UnsafeEnabled {
  552. mi := &file_business_ext_proto_msgTypes[8]
  553. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  554. ms.StoreMessageInfo(mi)
  555. }
  556. }
  557. func (x *Emoticon) String() string {
  558. return protoimpl.X.MessageStringOf(x)
  559. }
  560. func (*Emoticon) ProtoMessage() {}
  561. func (x *Emoticon) ProtoReflect() protoreflect.Message {
  562. mi := &file_business_ext_proto_msgTypes[8]
  563. if protoimpl.UnsafeEnabled && x != nil {
  564. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  565. if ms.LoadMessageInfo() == nil {
  566. ms.StoreMessageInfo(mi)
  567. }
  568. return ms
  569. }
  570. return mi.MessageOf(x)
  571. }
  572. // Deprecated: Use Emoticon.ProtoReflect.Descriptor instead.
  573. func (*Emoticon) Descriptor() ([]byte, []int) {
  574. return file_business_ext_proto_rawDescGZIP(), []int{8}
  575. }
  576. func (x *Emoticon) GetName() string {
  577. if x != nil {
  578. return x.Name
  579. }
  580. return ""
  581. }
  582. func (x *Emoticon) GetImgUrl() string {
  583. if x != nil {
  584. return x.ImgUrl
  585. }
  586. return ""
  587. }
  588. func (x *Emoticon) GetMemo() string {
  589. if x != nil {
  590. return x.Memo
  591. }
  592. return ""
  593. }
  594. func (x *Emoticon) GetSort() int32 {
  595. if x != nil {
  596. return x.Sort
  597. }
  598. return 0
  599. }
  600. type EmoticonListResp struct {
  601. state protoimpl.MessageState
  602. sizeCache protoimpl.SizeCache
  603. unknownFields protoimpl.UnknownFields
  604. Emoticons []*Emoticon `protobuf:"bytes,1,rep,name=emoticons,proto3" json:"emoticons,omitempty"`
  605. }
  606. func (x *EmoticonListResp) Reset() {
  607. *x = EmoticonListResp{}
  608. if protoimpl.UnsafeEnabled {
  609. mi := &file_business_ext_proto_msgTypes[9]
  610. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  611. ms.StoreMessageInfo(mi)
  612. }
  613. }
  614. func (x *EmoticonListResp) String() string {
  615. return protoimpl.X.MessageStringOf(x)
  616. }
  617. func (*EmoticonListResp) ProtoMessage() {}
  618. func (x *EmoticonListResp) ProtoReflect() protoreflect.Message {
  619. mi := &file_business_ext_proto_msgTypes[9]
  620. if protoimpl.UnsafeEnabled && x != nil {
  621. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  622. if ms.LoadMessageInfo() == nil {
  623. ms.StoreMessageInfo(mi)
  624. }
  625. return ms
  626. }
  627. return mi.MessageOf(x)
  628. }
  629. // Deprecated: Use EmoticonListResp.ProtoReflect.Descriptor instead.
  630. func (*EmoticonListResp) Descriptor() ([]byte, []int) {
  631. return file_business_ext_proto_rawDescGZIP(), []int{9}
  632. }
  633. func (x *EmoticonListResp) GetEmoticons() []*Emoticon {
  634. if x != nil {
  635. return x.Emoticons
  636. }
  637. return nil
  638. }
  639. type SignInReq struct {
  640. state protoimpl.MessageState
  641. sizeCache protoimpl.SizeCache
  642. unknownFields protoimpl.UnknownFields
  643. PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 手机号
  644. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // 验证码
  645. DeviceId int64 `protobuf:"varint,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  646. PushAlia string `protobuf:"bytes,4,opt,name=push_alia,json=pushAlia,proto3" json:"push_alia,omitempty"` // 极光推送-别名
  647. Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  648. AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  649. }
  650. func (x *SignInReq) Reset() {
  651. *x = SignInReq{}
  652. if protoimpl.UnsafeEnabled {
  653. mi := &file_business_ext_proto_msgTypes[10]
  654. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  655. ms.StoreMessageInfo(mi)
  656. }
  657. }
  658. func (x *SignInReq) String() string {
  659. return protoimpl.X.MessageStringOf(x)
  660. }
  661. func (*SignInReq) ProtoMessage() {}
  662. func (x *SignInReq) ProtoReflect() protoreflect.Message {
  663. mi := &file_business_ext_proto_msgTypes[10]
  664. if protoimpl.UnsafeEnabled && x != nil {
  665. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  666. if ms.LoadMessageInfo() == nil {
  667. ms.StoreMessageInfo(mi)
  668. }
  669. return ms
  670. }
  671. return mi.MessageOf(x)
  672. }
  673. // Deprecated: Use SignInReq.ProtoReflect.Descriptor instead.
  674. func (*SignInReq) Descriptor() ([]byte, []int) {
  675. return file_business_ext_proto_rawDescGZIP(), []int{10}
  676. }
  677. func (x *SignInReq) GetPhoneNumber() string {
  678. if x != nil {
  679. return x.PhoneNumber
  680. }
  681. return ""
  682. }
  683. func (x *SignInReq) GetCode() string {
  684. if x != nil {
  685. return x.Code
  686. }
  687. return ""
  688. }
  689. func (x *SignInReq) GetDeviceId() int64 {
  690. if x != nil {
  691. return x.DeviceId
  692. }
  693. return 0
  694. }
  695. func (x *SignInReq) GetPushAlia() string {
  696. if x != nil {
  697. return x.PushAlia
  698. }
  699. return ""
  700. }
  701. func (x *SignInReq) GetNickname() string {
  702. if x != nil {
  703. return x.Nickname
  704. }
  705. return ""
  706. }
  707. func (x *SignInReq) GetAvatarUrl() string {
  708. if x != nil {
  709. return x.AvatarUrl
  710. }
  711. return ""
  712. }
  713. type SignInResp struct {
  714. state protoimpl.MessageState
  715. sizeCache protoimpl.SizeCache
  716. unknownFields protoimpl.UnknownFields
  717. IsNew bool `protobuf:"varint,1,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` // 是否是新用户
  718. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  719. Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token
  720. }
  721. func (x *SignInResp) Reset() {
  722. *x = SignInResp{}
  723. if protoimpl.UnsafeEnabled {
  724. mi := &file_business_ext_proto_msgTypes[11]
  725. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  726. ms.StoreMessageInfo(mi)
  727. }
  728. }
  729. func (x *SignInResp) String() string {
  730. return protoimpl.X.MessageStringOf(x)
  731. }
  732. func (*SignInResp) ProtoMessage() {}
  733. func (x *SignInResp) ProtoReflect() protoreflect.Message {
  734. mi := &file_business_ext_proto_msgTypes[11]
  735. if protoimpl.UnsafeEnabled && x != nil {
  736. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  737. if ms.LoadMessageInfo() == nil {
  738. ms.StoreMessageInfo(mi)
  739. }
  740. return ms
  741. }
  742. return mi.MessageOf(x)
  743. }
  744. // Deprecated: Use SignInResp.ProtoReflect.Descriptor instead.
  745. func (*SignInResp) Descriptor() ([]byte, []int) {
  746. return file_business_ext_proto_rawDescGZIP(), []int{11}
  747. }
  748. func (x *SignInResp) GetIsNew() bool {
  749. if x != nil {
  750. return x.IsNew
  751. }
  752. return false
  753. }
  754. func (x *SignInResp) GetUserId() int64 {
  755. if x != nil {
  756. return x.UserId
  757. }
  758. return 0
  759. }
  760. func (x *SignInResp) GetToken() string {
  761. if x != nil {
  762. return x.Token
  763. }
  764. return ""
  765. }
  766. type CloudUploadFileReq struct {
  767. state protoimpl.MessageState
  768. sizeCache protoimpl.SizeCache
  769. unknownFields protoimpl.UnknownFields
  770. Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"` // 目录名
  771. FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 上传原文件名称
  772. FileSize string `protobuf:"bytes,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` // 文件大小
  773. }
  774. func (x *CloudUploadFileReq) Reset() {
  775. *x = CloudUploadFileReq{}
  776. if protoimpl.UnsafeEnabled {
  777. mi := &file_business_ext_proto_msgTypes[12]
  778. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  779. ms.StoreMessageInfo(mi)
  780. }
  781. }
  782. func (x *CloudUploadFileReq) String() string {
  783. return protoimpl.X.MessageStringOf(x)
  784. }
  785. func (*CloudUploadFileReq) ProtoMessage() {}
  786. func (x *CloudUploadFileReq) ProtoReflect() protoreflect.Message {
  787. mi := &file_business_ext_proto_msgTypes[12]
  788. if protoimpl.UnsafeEnabled && x != nil {
  789. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  790. if ms.LoadMessageInfo() == nil {
  791. ms.StoreMessageInfo(mi)
  792. }
  793. return ms
  794. }
  795. return mi.MessageOf(x)
  796. }
  797. // Deprecated: Use CloudUploadFileReq.ProtoReflect.Descriptor instead.
  798. func (*CloudUploadFileReq) Descriptor() ([]byte, []int) {
  799. return file_business_ext_proto_rawDescGZIP(), []int{12}
  800. }
  801. func (x *CloudUploadFileReq) GetDir() string {
  802. if x != nil {
  803. return x.Dir
  804. }
  805. return ""
  806. }
  807. func (x *CloudUploadFileReq) GetFileName() string {
  808. if x != nil {
  809. return x.FileName
  810. }
  811. return ""
  812. }
  813. func (x *CloudUploadFileReq) GetFileSize() string {
  814. if x != nil {
  815. return x.FileSize
  816. }
  817. return ""
  818. }
  819. type CloudUploadFileResp struct {
  820. state protoimpl.MessageState
  821. sizeCache protoimpl.SizeCache
  822. unknownFields protoimpl.UnknownFields
  823. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // 请求方式
  824. Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // 域名
  825. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // key
  826. Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // token
  827. }
  828. func (x *CloudUploadFileResp) Reset() {
  829. *x = CloudUploadFileResp{}
  830. if protoimpl.UnsafeEnabled {
  831. mi := &file_business_ext_proto_msgTypes[13]
  832. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  833. ms.StoreMessageInfo(mi)
  834. }
  835. }
  836. func (x *CloudUploadFileResp) String() string {
  837. return protoimpl.X.MessageStringOf(x)
  838. }
  839. func (*CloudUploadFileResp) ProtoMessage() {}
  840. func (x *CloudUploadFileResp) ProtoReflect() protoreflect.Message {
  841. mi := &file_business_ext_proto_msgTypes[13]
  842. if protoimpl.UnsafeEnabled && x != nil {
  843. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  844. if ms.LoadMessageInfo() == nil {
  845. ms.StoreMessageInfo(mi)
  846. }
  847. return ms
  848. }
  849. return mi.MessageOf(x)
  850. }
  851. // Deprecated: Use CloudUploadFileResp.ProtoReflect.Descriptor instead.
  852. func (*CloudUploadFileResp) Descriptor() ([]byte, []int) {
  853. return file_business_ext_proto_rawDescGZIP(), []int{13}
  854. }
  855. func (x *CloudUploadFileResp) GetMethod() string {
  856. if x != nil {
  857. return x.Method
  858. }
  859. return ""
  860. }
  861. func (x *CloudUploadFileResp) GetHost() string {
  862. if x != nil {
  863. return x.Host
  864. }
  865. return ""
  866. }
  867. func (x *CloudUploadFileResp) GetKey() string {
  868. if x != nil {
  869. return x.Key
  870. }
  871. return ""
  872. }
  873. func (x *CloudUploadFileResp) GetToken() string {
  874. if x != nil {
  875. return x.Token
  876. }
  877. return ""
  878. }
  879. type User struct {
  880. state protoimpl.MessageState
  881. sizeCache protoimpl.SizeCache
  882. unknownFields protoimpl.UnknownFields
  883. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  884. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  885. Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  886. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  887. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  888. CreateTime int64 `protobuf:"varint,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
  889. UpdateTime int64 `protobuf:"varint,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
  890. IsAutoAddedFriends int64 `protobuf:"varint,8,opt,name=is_auto_added_friends,json=isAutoAddedFriends,proto3" json:"is_auto_added_friends,omitempty"` // 是否自动被添加好友
  891. PhoneNumber string `protobuf:"bytes,9,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 手机号
  892. }
  893. func (x *User) Reset() {
  894. *x = User{}
  895. if protoimpl.UnsafeEnabled {
  896. mi := &file_business_ext_proto_msgTypes[14]
  897. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  898. ms.StoreMessageInfo(mi)
  899. }
  900. }
  901. func (x *User) String() string {
  902. return protoimpl.X.MessageStringOf(x)
  903. }
  904. func (*User) ProtoMessage() {}
  905. func (x *User) ProtoReflect() protoreflect.Message {
  906. mi := &file_business_ext_proto_msgTypes[14]
  907. if protoimpl.UnsafeEnabled && x != nil {
  908. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  909. if ms.LoadMessageInfo() == nil {
  910. ms.StoreMessageInfo(mi)
  911. }
  912. return ms
  913. }
  914. return mi.MessageOf(x)
  915. }
  916. // Deprecated: Use User.ProtoReflect.Descriptor instead.
  917. func (*User) Descriptor() ([]byte, []int) {
  918. return file_business_ext_proto_rawDescGZIP(), []int{14}
  919. }
  920. func (x *User) GetUserId() int64 {
  921. if x != nil {
  922. return x.UserId
  923. }
  924. return 0
  925. }
  926. func (x *User) GetNickname() string {
  927. if x != nil {
  928. return x.Nickname
  929. }
  930. return ""
  931. }
  932. func (x *User) GetSex() int32 {
  933. if x != nil {
  934. return x.Sex
  935. }
  936. return 0
  937. }
  938. func (x *User) GetAvatarUrl() string {
  939. if x != nil {
  940. return x.AvatarUrl
  941. }
  942. return ""
  943. }
  944. func (x *User) GetExtra() string {
  945. if x != nil {
  946. return x.Extra
  947. }
  948. return ""
  949. }
  950. func (x *User) GetCreateTime() int64 {
  951. if x != nil {
  952. return x.CreateTime
  953. }
  954. return 0
  955. }
  956. func (x *User) GetUpdateTime() int64 {
  957. if x != nil {
  958. return x.UpdateTime
  959. }
  960. return 0
  961. }
  962. func (x *User) GetIsAutoAddedFriends() int64 {
  963. if x != nil {
  964. return x.IsAutoAddedFriends
  965. }
  966. return 0
  967. }
  968. func (x *User) GetPhoneNumber() string {
  969. if x != nil {
  970. return x.PhoneNumber
  971. }
  972. return ""
  973. }
  974. type BusinessInfo struct {
  975. state protoimpl.MessageState
  976. sizeCache protoimpl.SizeCache
  977. unknownFields protoimpl.UnknownFields
  978. Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"Uid,omitempty"` // 用户id
  979. LevelName string `protobuf:"bytes,2,opt,name=LevelName,proto3" json:"LevelName,omitempty"` // 会员等级名称
  980. LevelId int32 `protobuf:"varint,3,opt,name=LevelId,proto3" json:"LevelId,omitempty"` // 会员等级
  981. IsRealName bool `protobuf:"varint,4,opt,name=IsRealName,proto3" json:"IsRealName,omitempty"` // 是否实名
  982. }
  983. func (x *BusinessInfo) Reset() {
  984. *x = BusinessInfo{}
  985. if protoimpl.UnsafeEnabled {
  986. mi := &file_business_ext_proto_msgTypes[15]
  987. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  988. ms.StoreMessageInfo(mi)
  989. }
  990. }
  991. func (x *BusinessInfo) String() string {
  992. return protoimpl.X.MessageStringOf(x)
  993. }
  994. func (*BusinessInfo) ProtoMessage() {}
  995. func (x *BusinessInfo) ProtoReflect() protoreflect.Message {
  996. mi := &file_business_ext_proto_msgTypes[15]
  997. if protoimpl.UnsafeEnabled && x != nil {
  998. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  999. if ms.LoadMessageInfo() == nil {
  1000. ms.StoreMessageInfo(mi)
  1001. }
  1002. return ms
  1003. }
  1004. return mi.MessageOf(x)
  1005. }
  1006. // Deprecated: Use BusinessInfo.ProtoReflect.Descriptor instead.
  1007. func (*BusinessInfo) Descriptor() ([]byte, []int) {
  1008. return file_business_ext_proto_rawDescGZIP(), []int{15}
  1009. }
  1010. func (x *BusinessInfo) GetUid() int64 {
  1011. if x != nil {
  1012. return x.Uid
  1013. }
  1014. return 0
  1015. }
  1016. func (x *BusinessInfo) GetLevelName() string {
  1017. if x != nil {
  1018. return x.LevelName
  1019. }
  1020. return ""
  1021. }
  1022. func (x *BusinessInfo) GetLevelId() int32 {
  1023. if x != nil {
  1024. return x.LevelId
  1025. }
  1026. return 0
  1027. }
  1028. func (x *BusinessInfo) GetIsRealName() bool {
  1029. if x != nil {
  1030. return x.IsRealName
  1031. }
  1032. return false
  1033. }
  1034. type GetUserReq struct {
  1035. state protoimpl.MessageState
  1036. sizeCache protoimpl.SizeCache
  1037. unknownFields protoimpl.UnknownFields
  1038. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1039. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  1040. }
  1041. func (x *GetUserReq) Reset() {
  1042. *x = GetUserReq{}
  1043. if protoimpl.UnsafeEnabled {
  1044. mi := &file_business_ext_proto_msgTypes[16]
  1045. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1046. ms.StoreMessageInfo(mi)
  1047. }
  1048. }
  1049. func (x *GetUserReq) String() string {
  1050. return protoimpl.X.MessageStringOf(x)
  1051. }
  1052. func (*GetUserReq) ProtoMessage() {}
  1053. func (x *GetUserReq) ProtoReflect() protoreflect.Message {
  1054. mi := &file_business_ext_proto_msgTypes[16]
  1055. if protoimpl.UnsafeEnabled && x != nil {
  1056. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1057. if ms.LoadMessageInfo() == nil {
  1058. ms.StoreMessageInfo(mi)
  1059. }
  1060. return ms
  1061. }
  1062. return mi.MessageOf(x)
  1063. }
  1064. // Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.
  1065. func (*GetUserReq) Descriptor() ([]byte, []int) {
  1066. return file_business_ext_proto_rawDescGZIP(), []int{16}
  1067. }
  1068. func (x *GetUserReq) GetUserId() int64 {
  1069. if x != nil {
  1070. return x.UserId
  1071. }
  1072. return 0
  1073. }
  1074. func (x *GetUserReq) GetPhone() string {
  1075. if x != nil {
  1076. return x.Phone
  1077. }
  1078. return ""
  1079. }
  1080. type GetUserResp struct {
  1081. state protoimpl.MessageState
  1082. sizeCache protoimpl.SizeCache
  1083. unknownFields protoimpl.UnknownFields
  1084. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
  1085. BusinessInfo *BusinessInfo `protobuf:"bytes,2,opt,name=businessInfo,proto3" json:"businessInfo,omitempty"` // 用户业务信息
  1086. }
  1087. func (x *GetUserResp) Reset() {
  1088. *x = GetUserResp{}
  1089. if protoimpl.UnsafeEnabled {
  1090. mi := &file_business_ext_proto_msgTypes[17]
  1091. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1092. ms.StoreMessageInfo(mi)
  1093. }
  1094. }
  1095. func (x *GetUserResp) String() string {
  1096. return protoimpl.X.MessageStringOf(x)
  1097. }
  1098. func (*GetUserResp) ProtoMessage() {}
  1099. func (x *GetUserResp) ProtoReflect() protoreflect.Message {
  1100. mi := &file_business_ext_proto_msgTypes[17]
  1101. if protoimpl.UnsafeEnabled && x != nil {
  1102. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1103. if ms.LoadMessageInfo() == nil {
  1104. ms.StoreMessageInfo(mi)
  1105. }
  1106. return ms
  1107. }
  1108. return mi.MessageOf(x)
  1109. }
  1110. // Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.
  1111. func (*GetUserResp) Descriptor() ([]byte, []int) {
  1112. return file_business_ext_proto_rawDescGZIP(), []int{17}
  1113. }
  1114. func (x *GetUserResp) GetUser() *User {
  1115. if x != nil {
  1116. return x.User
  1117. }
  1118. return nil
  1119. }
  1120. func (x *GetUserResp) GetBusinessInfo() *BusinessInfo {
  1121. if x != nil {
  1122. return x.BusinessInfo
  1123. }
  1124. return nil
  1125. }
  1126. type UpdateUserReq struct {
  1127. state protoimpl.MessageState
  1128. sizeCache protoimpl.SizeCache
  1129. unknownFields protoimpl.UnknownFields
  1130. Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  1131. Sex int32 `protobuf:"varint,2,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  1132. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  1133. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1134. }
  1135. func (x *UpdateUserReq) Reset() {
  1136. *x = UpdateUserReq{}
  1137. if protoimpl.UnsafeEnabled {
  1138. mi := &file_business_ext_proto_msgTypes[18]
  1139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1140. ms.StoreMessageInfo(mi)
  1141. }
  1142. }
  1143. func (x *UpdateUserReq) String() string {
  1144. return protoimpl.X.MessageStringOf(x)
  1145. }
  1146. func (*UpdateUserReq) ProtoMessage() {}
  1147. func (x *UpdateUserReq) ProtoReflect() protoreflect.Message {
  1148. mi := &file_business_ext_proto_msgTypes[18]
  1149. if protoimpl.UnsafeEnabled && x != nil {
  1150. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1151. if ms.LoadMessageInfo() == nil {
  1152. ms.StoreMessageInfo(mi)
  1153. }
  1154. return ms
  1155. }
  1156. return mi.MessageOf(x)
  1157. }
  1158. // Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
  1159. func (*UpdateUserReq) Descriptor() ([]byte, []int) {
  1160. return file_business_ext_proto_rawDescGZIP(), []int{18}
  1161. }
  1162. func (x *UpdateUserReq) GetNickname() string {
  1163. if x != nil {
  1164. return x.Nickname
  1165. }
  1166. return ""
  1167. }
  1168. func (x *UpdateUserReq) GetSex() int32 {
  1169. if x != nil {
  1170. return x.Sex
  1171. }
  1172. return 0
  1173. }
  1174. func (x *UpdateUserReq) GetAvatarUrl() string {
  1175. if x != nil {
  1176. return x.AvatarUrl
  1177. }
  1178. return ""
  1179. }
  1180. func (x *UpdateUserReq) GetExtra() string {
  1181. if x != nil {
  1182. return x.Extra
  1183. }
  1184. return ""
  1185. }
  1186. type SearchUserReq struct {
  1187. state protoimpl.MessageState
  1188. sizeCache protoimpl.SizeCache
  1189. unknownFields protoimpl.UnknownFields
  1190. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  1191. }
  1192. func (x *SearchUserReq) Reset() {
  1193. *x = SearchUserReq{}
  1194. if protoimpl.UnsafeEnabled {
  1195. mi := &file_business_ext_proto_msgTypes[19]
  1196. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1197. ms.StoreMessageInfo(mi)
  1198. }
  1199. }
  1200. func (x *SearchUserReq) String() string {
  1201. return protoimpl.X.MessageStringOf(x)
  1202. }
  1203. func (*SearchUserReq) ProtoMessage() {}
  1204. func (x *SearchUserReq) ProtoReflect() protoreflect.Message {
  1205. mi := &file_business_ext_proto_msgTypes[19]
  1206. if protoimpl.UnsafeEnabled && x != nil {
  1207. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1208. if ms.LoadMessageInfo() == nil {
  1209. ms.StoreMessageInfo(mi)
  1210. }
  1211. return ms
  1212. }
  1213. return mi.MessageOf(x)
  1214. }
  1215. // Deprecated: Use SearchUserReq.ProtoReflect.Descriptor instead.
  1216. func (*SearchUserReq) Descriptor() ([]byte, []int) {
  1217. return file_business_ext_proto_rawDescGZIP(), []int{19}
  1218. }
  1219. func (x *SearchUserReq) GetKey() string {
  1220. if x != nil {
  1221. return x.Key
  1222. }
  1223. return ""
  1224. }
  1225. type SearchUserResp struct {
  1226. state protoimpl.MessageState
  1227. sizeCache protoimpl.SizeCache
  1228. unknownFields protoimpl.UnknownFields
  1229. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  1230. }
  1231. func (x *SearchUserResp) Reset() {
  1232. *x = SearchUserResp{}
  1233. if protoimpl.UnsafeEnabled {
  1234. mi := &file_business_ext_proto_msgTypes[20]
  1235. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1236. ms.StoreMessageInfo(mi)
  1237. }
  1238. }
  1239. func (x *SearchUserResp) String() string {
  1240. return protoimpl.X.MessageStringOf(x)
  1241. }
  1242. func (*SearchUserResp) ProtoMessage() {}
  1243. func (x *SearchUserResp) ProtoReflect() protoreflect.Message {
  1244. mi := &file_business_ext_proto_msgTypes[20]
  1245. if protoimpl.UnsafeEnabled && x != nil {
  1246. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1247. if ms.LoadMessageInfo() == nil {
  1248. ms.StoreMessageInfo(mi)
  1249. }
  1250. return ms
  1251. }
  1252. return mi.MessageOf(x)
  1253. }
  1254. // Deprecated: Use SearchUserResp.ProtoReflect.Descriptor instead.
  1255. func (*SearchUserResp) Descriptor() ([]byte, []int) {
  1256. return file_business_ext_proto_rawDescGZIP(), []int{20}
  1257. }
  1258. func (x *SearchUserResp) GetUsers() []*User {
  1259. if x != nil {
  1260. return x.Users
  1261. }
  1262. return nil
  1263. }
  1264. var File_business_ext_proto protoreflect.FileDescriptor
  1265. var file_business_ext_proto_rawDesc = []byte{
  1266. 0x0a, 0x12, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70,
  1267. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1268. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x12, 0x4c, 0x69,
  1269. 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  1270. 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1271. 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x35, 0x0a, 0x18, 0x43,
  1272. 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f,
  1273. 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70,
  1274. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70,
  1275. 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
  1276. 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  1277. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  1278. 0x70, 0x49, 0x64, 0x22, 0x98, 0x02, 0x0a, 0x13, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75,
  1279. 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67,
  1280. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  1281. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
  1282. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  1283. 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1284. 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x69, 0x6b,
  1285. 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69,
  1286. 0x6b, 0x65, 0x4e, 0x75, 0x6d, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6e,
  1287. 0x75, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4e,
  1288. 0x75, 0x6d, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74,
  1289. 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x47,
  1290. 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73,
  1291. 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79,
  1292. 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69,
  1293. 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
  1294. 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6c, 0x69, 0x6b, 0x65,
  1295. 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4c, 0x69, 0x6b, 0x65, 0x22, 0xa4,
  1296. 0x01, 0x0a, 0x15, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
  1297. 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  1298. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  1299. 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1300. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c,
  1301. 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
  1302. 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74,
  1303. 0x69, 0x63, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b,
  1304. 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,
  1305. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
  1306. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61,
  1307. 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72,
  1308. 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72,
  1309. 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69,
  1310. 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70,
  1311. 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c,
  1312. 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04,
  1313. 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74,
  1314. 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04,
  1315. 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22,
  1316. 0x50, 0x0a, 0x0c, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x12,
  1317. 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20,
  1318. 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x21,
  1319. 0x0a, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02,
  1320. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e,
  1321. 0x65, 0x22, 0x4a, 0x0a, 0x0d, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65,
  1322. 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x18,
  1323. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12,
  1324. 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e,
  1325. 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a,
  1326. 0x08, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1327. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a,
  1328. 0x07, 0x69, 0x6d, 0x67, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  1329. 0x69, 0x6d, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x03,
  1330. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f,
  1331. 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x22, 0x3e,
  1332. 0x0a, 0x10, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  1333. 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x18,
  1334. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69,
  1335. 0x63, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x22, 0xb7,
  1336. 0x01, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c,
  1337. 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
  1338. 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
  1339. 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
  1340. 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64,
  1341. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64,
  1342. 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x18, 0x04, 0x20,
  1343. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x75, 0x73, 0x68, 0x41, 0x6c, 0x69, 0x61, 0x12, 0x1a, 0x0a,
  1344. 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
  1345. 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  1346. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  1347. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x52, 0x0a, 0x0a, 0x53, 0x69, 0x67, 0x6e,
  1348. 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77,
  1349. 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12, 0x17, 0x0a,
  1350. 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  1351. 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
  1352. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x60, 0x0a, 0x12,
  1353. 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52,
  1354. 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1355. 0x03, 0x64, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
  1356. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
  1357. 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03,
  1358. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x69,
  1359. 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c,
  1360. 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
  1361. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a,
  1362. 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73,
  1363. 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1364. 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01,
  1365. 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x02, 0x0a, 0x04, 0x55, 0x73,
  1366. 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  1367. 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
  1368. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
  1369. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03,
  1370. 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  1371. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  1372. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
  1373. 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f,
  1374. 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
  1375. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
  1376. 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
  1377. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
  1378. 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x65,
  1379. 0x64, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
  1380. 0x12, 0x69, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x65, 0x64, 0x46, 0x72, 0x69, 0x65,
  1381. 0x6e, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d,
  1382. 0x62, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  1383. 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x78, 0x0a, 0x0c, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65,
  1384. 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20,
  1385. 0x01, 0x28, 0x03, 0x52, 0x03, 0x55, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x4c, 0x65, 0x76, 0x65,
  1386. 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x4c, 0x65, 0x76,
  1387. 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49,
  1388. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64,
  1389. 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04,
  1390. 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65,
  1391. 0x22, 0x3b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x17,
  1392. 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1393. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  1394. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x61, 0x0a,
  1395. 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04,
  1396. 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e,
  1397. 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x0c, 0x62, 0x75,
  1398. 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  1399. 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e,
  1400. 0x66, 0x6f, 0x52, 0x0c, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f,
  1401. 0x22, 0x72, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1402. 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1403. 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a,
  1404. 0x03, 0x73, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
  1405. 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20,
  1406. 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14,
  1407. 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
  1408. 0x78, 0x74, 0x72, 0x61, 0x22, 0x21, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73,
  1409. 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  1410. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x30, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63,
  1411. 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x05, 0x75, 0x73, 0x65,
  1412. 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73,
  1413. 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2a, 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x6f,
  1414. 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x54,
  1415. 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x54,
  1416. 0x5f, 0x47, 0x41, 0x4d, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f,
  1417. 0x44, 0x45, 0x46, 0x52, 0x41, 0x55, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f,
  1418. 0x48, 0x41, 0x52, 0x41, 0x53, 0x53, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x52,
  1419. 0x55, 0x4d, 0x4f, 0x55, 0x52, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x54, 0x5f, 0x43, 0x4f,
  1420. 0x55, 0x4e, 0x54, 0x45, 0x52, 0x46, 0x45, 0x49, 0x54, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f,
  1421. 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x54, 0x5f, 0x56, 0x49, 0x4f,
  1422. 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x46, 0x5f, 0x4d, 0x49, 0x4e, 0x4f, 0x52, 0x53,
  1423. 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x07,
  1424. 0x2a, 0x6e, 0x0a, 0x16, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50,
  1425. 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e,
  1426. 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12,
  1427. 0x10, 0x0a, 0x0c, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10,
  1428. 0x01, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x41, 0x4e, 0x44,
  1429. 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x43, 0x45, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x54,
  1430. 0x49, 0x43, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x54, 0x4f, 0x50, 0x5f, 0x55, 0x50, 0x10, 0x03,
  1431. 0x32, 0x94, 0x05, 0x0a, 0x0b, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x45, 0x78, 0x74,
  1432. 0x12, 0x27, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x0d, 0x2e, 0x70, 0x62, 0x2e,
  1433. 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53,
  1434. 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x07, 0x47, 0x65, 0x74,
  1435. 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  1436. 0x72, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  1437. 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
  1438. 0x73, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
  1439. 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  1440. 0x79, 0x12, 0x33, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12,
  1441. 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52,
  1442. 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73,
  1443. 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55,
  1444. 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43,
  1445. 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65,
  1446. 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f,
  1447. 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x0c, 0x45, 0x6d,
  1448. 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e,
  1449. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69,
  1450. 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x09, 0x49,
  1451. 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x73,
  1452. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e,
  1453. 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a,
  1454. 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14,
  1455. 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75,
  1456. 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12,
  1457. 0x3a, 0x0a, 0x12, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
  1458. 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69,
  1459. 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  1460. 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x56,
  1461. 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x16,
  1462. 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74,
  1463. 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x69, 0x65, 0x77,
  1464. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
  1465. 0x34, 0x0a, 0x0f, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69,
  1466. 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75,
  1467. 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e,
  1468. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x40, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c,
  1469. 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x1c,
  1470. 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72,
  1471. 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70,
  1472. 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x10, 0x5a, 0x0e, 0x65, 0x67, 0x67, 0x2d, 0x69,
  1473. 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1474. 0x33,
  1475. }
  1476. var (
  1477. file_business_ext_proto_rawDescOnce sync.Once
  1478. file_business_ext_proto_rawDescData = file_business_ext_proto_rawDesc
  1479. )
  1480. func file_business_ext_proto_rawDescGZIP() []byte {
  1481. file_business_ext_proto_rawDescOnce.Do(func() {
  1482. file_business_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_business_ext_proto_rawDescData)
  1483. })
  1484. return file_business_ext_proto_rawDescData
  1485. }
  1486. var file_business_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  1487. var file_business_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
  1488. var file_business_ext_proto_goTypes = []interface{}{
  1489. (ComplainType)(0), // 0: pb.ComplainType
  1490. (GroupNoticePublishType)(0), // 1: pb.GroupNoticePublishType
  1491. (*LikeGroupNoticeReq)(nil), // 2: pb.LikeGroupNoticeReq
  1492. (*CancelLikeGroupNoticeReq)(nil), // 3: pb.CancelLikeGroupNoticeReq
  1493. (*ViewGroupNoticeReq)(nil), // 4: pb.ViewGroupNoticeReq
  1494. (*ViewGroupNoticeResp)(nil), // 5: pb.ViewGroupNoticeResp
  1495. (*PublishGroupNoticeReq)(nil), // 6: pb.PublishGroupNoticeReq
  1496. (*ComplainGroupReq)(nil), // 7: pb.ComplainGroupReq
  1497. (*IsFriendsReq)(nil), // 8: pb.IsFriendsReq
  1498. (*IsFriendsResp)(nil), // 9: pb.IsFriendsResp
  1499. (*Emoticon)(nil), // 10: pb.Emoticon
  1500. (*EmoticonListResp)(nil), // 11: pb.EmoticonListResp
  1501. (*SignInReq)(nil), // 12: pb.SignInReq
  1502. (*SignInResp)(nil), // 13: pb.SignInResp
  1503. (*CloudUploadFileReq)(nil), // 14: pb.CloudUploadFileReq
  1504. (*CloudUploadFileResp)(nil), // 15: pb.CloudUploadFileResp
  1505. (*User)(nil), // 16: pb.User
  1506. (*BusinessInfo)(nil), // 17: pb.BusinessInfo
  1507. (*GetUserReq)(nil), // 18: pb.GetUserReq
  1508. (*GetUserResp)(nil), // 19: pb.GetUserResp
  1509. (*UpdateUserReq)(nil), // 20: pb.UpdateUserReq
  1510. (*SearchUserReq)(nil), // 21: pb.SearchUserReq
  1511. (*SearchUserResp)(nil), // 22: pb.SearchUserResp
  1512. (*Empty)(nil), // 23: pb.Empty
  1513. }
  1514. var file_business_ext_proto_depIdxs = []int32{
  1515. 1, // 0: pb.ViewGroupNoticeResp.publish_type:type_name -> pb.GroupNoticePublishType
  1516. 1, // 1: pb.PublishGroupNoticeReq.publish_type:type_name -> pb.GroupNoticePublishType
  1517. 0, // 2: pb.ComplainGroupReq.complain_type:type_name -> pb.ComplainType
  1518. 16, // 3: pb.IsFriendsResp.user:type_name -> pb.User
  1519. 10, // 4: pb.EmoticonListResp.emoticons:type_name -> pb.Emoticon
  1520. 16, // 5: pb.GetUserResp.user:type_name -> pb.User
  1521. 17, // 6: pb.GetUserResp.businessInfo:type_name -> pb.BusinessInfo
  1522. 16, // 7: pb.SearchUserResp.users:type_name -> pb.User
  1523. 12, // 8: pb.BusinessExt.SignIn:input_type -> pb.SignInReq
  1524. 18, // 9: pb.BusinessExt.GetUser:input_type -> pb.GetUserReq
  1525. 20, // 10: pb.BusinessExt.UpdateUser:input_type -> pb.UpdateUserReq
  1526. 21, // 11: pb.BusinessExt.SearchUser:input_type -> pb.SearchUserReq
  1527. 14, // 12: pb.BusinessExt.CloudUploadFile:input_type -> pb.CloudUploadFileReq
  1528. 23, // 13: pb.BusinessExt.EmoticonList:input_type -> pb.Empty
  1529. 8, // 14: pb.BusinessExt.IsFriends:input_type -> pb.IsFriendsReq
  1530. 7, // 15: pb.BusinessExt.ComplainGroup:input_type -> pb.ComplainGroupReq
  1531. 6, // 16: pb.BusinessExt.PublishGroupNotice:input_type -> pb.PublishGroupNoticeReq
  1532. 4, // 17: pb.BusinessExt.ViewGroupNotice:input_type -> pb.ViewGroupNoticeReq
  1533. 2, // 18: pb.BusinessExt.LikeGroupNotice:input_type -> pb.LikeGroupNoticeReq
  1534. 3, // 19: pb.BusinessExt.CancelLikeGroupNotice:input_type -> pb.CancelLikeGroupNoticeReq
  1535. 13, // 20: pb.BusinessExt.SignIn:output_type -> pb.SignInResp
  1536. 19, // 21: pb.BusinessExt.GetUser:output_type -> pb.GetUserResp
  1537. 23, // 22: pb.BusinessExt.UpdateUser:output_type -> pb.Empty
  1538. 22, // 23: pb.BusinessExt.SearchUser:output_type -> pb.SearchUserResp
  1539. 15, // 24: pb.BusinessExt.CloudUploadFile:output_type -> pb.CloudUploadFileResp
  1540. 11, // 25: pb.BusinessExt.EmoticonList:output_type -> pb.EmoticonListResp
  1541. 9, // 26: pb.BusinessExt.IsFriends:output_type -> pb.IsFriendsResp
  1542. 23, // 27: pb.BusinessExt.ComplainGroup:output_type -> pb.Empty
  1543. 23, // 28: pb.BusinessExt.PublishGroupNotice:output_type -> pb.Empty
  1544. 5, // 29: pb.BusinessExt.ViewGroupNotice:output_type -> pb.ViewGroupNoticeResp
  1545. 23, // 30: pb.BusinessExt.LikeGroupNotice:output_type -> pb.Empty
  1546. 23, // 31: pb.BusinessExt.CancelLikeGroupNotice:output_type -> pb.Empty
  1547. 20, // [20:32] is the sub-list for method output_type
  1548. 8, // [8:20] is the sub-list for method input_type
  1549. 8, // [8:8] is the sub-list for extension type_name
  1550. 8, // [8:8] is the sub-list for extension extendee
  1551. 0, // [0:8] is the sub-list for field type_name
  1552. }
  1553. func init() { file_business_ext_proto_init() }
  1554. func file_business_ext_proto_init() {
  1555. if File_business_ext_proto != nil {
  1556. return
  1557. }
  1558. file_common_ext_proto_init()
  1559. if !protoimpl.UnsafeEnabled {
  1560. file_business_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1561. switch v := v.(*LikeGroupNoticeReq); i {
  1562. case 0:
  1563. return &v.state
  1564. case 1:
  1565. return &v.sizeCache
  1566. case 2:
  1567. return &v.unknownFields
  1568. default:
  1569. return nil
  1570. }
  1571. }
  1572. file_business_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1573. switch v := v.(*CancelLikeGroupNoticeReq); i {
  1574. case 0:
  1575. return &v.state
  1576. case 1:
  1577. return &v.sizeCache
  1578. case 2:
  1579. return &v.unknownFields
  1580. default:
  1581. return nil
  1582. }
  1583. }
  1584. file_business_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1585. switch v := v.(*ViewGroupNoticeReq); i {
  1586. case 0:
  1587. return &v.state
  1588. case 1:
  1589. return &v.sizeCache
  1590. case 2:
  1591. return &v.unknownFields
  1592. default:
  1593. return nil
  1594. }
  1595. }
  1596. file_business_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1597. switch v := v.(*ViewGroupNoticeResp); i {
  1598. case 0:
  1599. return &v.state
  1600. case 1:
  1601. return &v.sizeCache
  1602. case 2:
  1603. return &v.unknownFields
  1604. default:
  1605. return nil
  1606. }
  1607. }
  1608. file_business_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1609. switch v := v.(*PublishGroupNoticeReq); i {
  1610. case 0:
  1611. return &v.state
  1612. case 1:
  1613. return &v.sizeCache
  1614. case 2:
  1615. return &v.unknownFields
  1616. default:
  1617. return nil
  1618. }
  1619. }
  1620. file_business_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1621. switch v := v.(*ComplainGroupReq); i {
  1622. case 0:
  1623. return &v.state
  1624. case 1:
  1625. return &v.sizeCache
  1626. case 2:
  1627. return &v.unknownFields
  1628. default:
  1629. return nil
  1630. }
  1631. }
  1632. file_business_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1633. switch v := v.(*IsFriendsReq); i {
  1634. case 0:
  1635. return &v.state
  1636. case 1:
  1637. return &v.sizeCache
  1638. case 2:
  1639. return &v.unknownFields
  1640. default:
  1641. return nil
  1642. }
  1643. }
  1644. file_business_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1645. switch v := v.(*IsFriendsResp); i {
  1646. case 0:
  1647. return &v.state
  1648. case 1:
  1649. return &v.sizeCache
  1650. case 2:
  1651. return &v.unknownFields
  1652. default:
  1653. return nil
  1654. }
  1655. }
  1656. file_business_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1657. switch v := v.(*Emoticon); i {
  1658. case 0:
  1659. return &v.state
  1660. case 1:
  1661. return &v.sizeCache
  1662. case 2:
  1663. return &v.unknownFields
  1664. default:
  1665. return nil
  1666. }
  1667. }
  1668. file_business_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1669. switch v := v.(*EmoticonListResp); i {
  1670. case 0:
  1671. return &v.state
  1672. case 1:
  1673. return &v.sizeCache
  1674. case 2:
  1675. return &v.unknownFields
  1676. default:
  1677. return nil
  1678. }
  1679. }
  1680. file_business_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1681. switch v := v.(*SignInReq); i {
  1682. case 0:
  1683. return &v.state
  1684. case 1:
  1685. return &v.sizeCache
  1686. case 2:
  1687. return &v.unknownFields
  1688. default:
  1689. return nil
  1690. }
  1691. }
  1692. file_business_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1693. switch v := v.(*SignInResp); i {
  1694. case 0:
  1695. return &v.state
  1696. case 1:
  1697. return &v.sizeCache
  1698. case 2:
  1699. return &v.unknownFields
  1700. default:
  1701. return nil
  1702. }
  1703. }
  1704. file_business_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1705. switch v := v.(*CloudUploadFileReq); i {
  1706. case 0:
  1707. return &v.state
  1708. case 1:
  1709. return &v.sizeCache
  1710. case 2:
  1711. return &v.unknownFields
  1712. default:
  1713. return nil
  1714. }
  1715. }
  1716. file_business_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1717. switch v := v.(*CloudUploadFileResp); i {
  1718. case 0:
  1719. return &v.state
  1720. case 1:
  1721. return &v.sizeCache
  1722. case 2:
  1723. return &v.unknownFields
  1724. default:
  1725. return nil
  1726. }
  1727. }
  1728. file_business_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1729. switch v := v.(*User); i {
  1730. case 0:
  1731. return &v.state
  1732. case 1:
  1733. return &v.sizeCache
  1734. case 2:
  1735. return &v.unknownFields
  1736. default:
  1737. return nil
  1738. }
  1739. }
  1740. file_business_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1741. switch v := v.(*BusinessInfo); i {
  1742. case 0:
  1743. return &v.state
  1744. case 1:
  1745. return &v.sizeCache
  1746. case 2:
  1747. return &v.unknownFields
  1748. default:
  1749. return nil
  1750. }
  1751. }
  1752. file_business_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1753. switch v := v.(*GetUserReq); i {
  1754. case 0:
  1755. return &v.state
  1756. case 1:
  1757. return &v.sizeCache
  1758. case 2:
  1759. return &v.unknownFields
  1760. default:
  1761. return nil
  1762. }
  1763. }
  1764. file_business_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1765. switch v := v.(*GetUserResp); i {
  1766. case 0:
  1767. return &v.state
  1768. case 1:
  1769. return &v.sizeCache
  1770. case 2:
  1771. return &v.unknownFields
  1772. default:
  1773. return nil
  1774. }
  1775. }
  1776. file_business_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1777. switch v := v.(*UpdateUserReq); i {
  1778. case 0:
  1779. return &v.state
  1780. case 1:
  1781. return &v.sizeCache
  1782. case 2:
  1783. return &v.unknownFields
  1784. default:
  1785. return nil
  1786. }
  1787. }
  1788. file_business_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1789. switch v := v.(*SearchUserReq); i {
  1790. case 0:
  1791. return &v.state
  1792. case 1:
  1793. return &v.sizeCache
  1794. case 2:
  1795. return &v.unknownFields
  1796. default:
  1797. return nil
  1798. }
  1799. }
  1800. file_business_ext_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  1801. switch v := v.(*SearchUserResp); i {
  1802. case 0:
  1803. return &v.state
  1804. case 1:
  1805. return &v.sizeCache
  1806. case 2:
  1807. return &v.unknownFields
  1808. default:
  1809. return nil
  1810. }
  1811. }
  1812. }
  1813. type x struct{}
  1814. out := protoimpl.TypeBuilder{
  1815. File: protoimpl.DescBuilder{
  1816. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1817. RawDescriptor: file_business_ext_proto_rawDesc,
  1818. NumEnums: 2,
  1819. NumMessages: 21,
  1820. NumExtensions: 0,
  1821. NumServices: 1,
  1822. },
  1823. GoTypes: file_business_ext_proto_goTypes,
  1824. DependencyIndexes: file_business_ext_proto_depIdxs,
  1825. EnumInfos: file_business_ext_proto_enumTypes,
  1826. MessageInfos: file_business_ext_proto_msgTypes,
  1827. }.Build()
  1828. File_business_ext_proto = out.File
  1829. file_business_ext_proto_rawDesc = nil
  1830. file_business_ext_proto_goTypes = nil
  1831. file_business_ext_proto_depIdxs = nil
  1832. }
  1833. // This is a compile-time assertion to ensure that this generated file
  1834. // is compatible with the grpc package it is being compiled against.
  1835. // Requires gRPC-Go v1.32.0 or later.
  1836. const _ = grpc.SupportPackageIsVersion7
  1837. // BusinessExtClient is the client API for BusinessExt service.
  1838. //
  1839. // 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.
  1840. type BusinessExtClient interface {
  1841. // 登录
  1842. SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error)
  1843. // 获取用户信息
  1844. GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
  1845. // 更新用户信息
  1846. UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error)
  1847. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1848. SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error)
  1849. // 上传文件至云端
  1850. CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error)
  1851. // 获取表情
  1852. EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error)
  1853. // 判断是否为好友关系
  1854. IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error)
  1855. // 投诉群
  1856. ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error)
  1857. // 发布群公告
  1858. PublishGroupNotice(ctx context.Context, in *PublishGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
  1859. // 查看群公告
  1860. ViewGroupNotice(ctx context.Context, in *ViewGroupNoticeReq, opts ...grpc.CallOption) (*ViewGroupNoticeResp, error)
  1861. // 点赞群公告
  1862. LikeGroupNotice(ctx context.Context, in *LikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
  1863. // 取消点赞群公告
  1864. CancelLikeGroupNotice(ctx context.Context, in *CancelLikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
  1865. }
  1866. type businessExtClient struct {
  1867. cc grpc.ClientConnInterface
  1868. }
  1869. func NewBusinessExtClient(cc grpc.ClientConnInterface) BusinessExtClient {
  1870. return &businessExtClient{cc}
  1871. }
  1872. func (c *businessExtClient) SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error) {
  1873. out := new(SignInResp)
  1874. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SignIn", in, out, opts...)
  1875. if err != nil {
  1876. return nil, err
  1877. }
  1878. return out, nil
  1879. }
  1880. func (c *businessExtClient) GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error) {
  1881. out := new(GetUserResp)
  1882. err := c.cc.Invoke(ctx, "/pb.BusinessExt/GetUser", in, out, opts...)
  1883. if err != nil {
  1884. return nil, err
  1885. }
  1886. return out, nil
  1887. }
  1888. func (c *businessExtClient) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error) {
  1889. out := new(Empty)
  1890. err := c.cc.Invoke(ctx, "/pb.BusinessExt/UpdateUser", in, out, opts...)
  1891. if err != nil {
  1892. return nil, err
  1893. }
  1894. return out, nil
  1895. }
  1896. func (c *businessExtClient) SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error) {
  1897. out := new(SearchUserResp)
  1898. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SearchUser", in, out, opts...)
  1899. if err != nil {
  1900. return nil, err
  1901. }
  1902. return out, nil
  1903. }
  1904. func (c *businessExtClient) CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error) {
  1905. out := new(CloudUploadFileResp)
  1906. err := c.cc.Invoke(ctx, "/pb.BusinessExt/CloudUploadFile", in, out, opts...)
  1907. if err != nil {
  1908. return nil, err
  1909. }
  1910. return out, nil
  1911. }
  1912. func (c *businessExtClient) EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error) {
  1913. out := new(EmoticonListResp)
  1914. err := c.cc.Invoke(ctx, "/pb.BusinessExt/EmoticonList", in, out, opts...)
  1915. if err != nil {
  1916. return nil, err
  1917. }
  1918. return out, nil
  1919. }
  1920. func (c *businessExtClient) IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error) {
  1921. out := new(IsFriendsResp)
  1922. err := c.cc.Invoke(ctx, "/pb.BusinessExt/IsFriends", in, out, opts...)
  1923. if err != nil {
  1924. return nil, err
  1925. }
  1926. return out, nil
  1927. }
  1928. func (c *businessExtClient) ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  1929. out := new(Empty)
  1930. err := c.cc.Invoke(ctx, "/pb.BusinessExt/ComplainGroup", in, out, opts...)
  1931. if err != nil {
  1932. return nil, err
  1933. }
  1934. return out, nil
  1935. }
  1936. func (c *businessExtClient) PublishGroupNotice(ctx context.Context, in *PublishGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
  1937. out := new(Empty)
  1938. err := c.cc.Invoke(ctx, "/pb.BusinessExt/PublishGroupNotice", in, out, opts...)
  1939. if err != nil {
  1940. return nil, err
  1941. }
  1942. return out, nil
  1943. }
  1944. func (c *businessExtClient) ViewGroupNotice(ctx context.Context, in *ViewGroupNoticeReq, opts ...grpc.CallOption) (*ViewGroupNoticeResp, error) {
  1945. out := new(ViewGroupNoticeResp)
  1946. err := c.cc.Invoke(ctx, "/pb.BusinessExt/ViewGroupNotice", in, out, opts...)
  1947. if err != nil {
  1948. return nil, err
  1949. }
  1950. return out, nil
  1951. }
  1952. func (c *businessExtClient) LikeGroupNotice(ctx context.Context, in *LikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
  1953. out := new(Empty)
  1954. err := c.cc.Invoke(ctx, "/pb.BusinessExt/LikeGroupNotice", in, out, opts...)
  1955. if err != nil {
  1956. return nil, err
  1957. }
  1958. return out, nil
  1959. }
  1960. func (c *businessExtClient) CancelLikeGroupNotice(ctx context.Context, in *CancelLikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
  1961. out := new(Empty)
  1962. err := c.cc.Invoke(ctx, "/pb.BusinessExt/CancelLikeGroupNotice", in, out, opts...)
  1963. if err != nil {
  1964. return nil, err
  1965. }
  1966. return out, nil
  1967. }
  1968. // BusinessExtServer is the server API for BusinessExt service.
  1969. // All implementations must embed UnimplementedBusinessExtServer
  1970. // for forward compatibility
  1971. type BusinessExtServer interface {
  1972. // 登录
  1973. SignIn(context.Context, *SignInReq) (*SignInResp, error)
  1974. // 获取用户信息
  1975. GetUser(context.Context, *GetUserReq) (*GetUserResp, error)
  1976. // 更新用户信息
  1977. UpdateUser(context.Context, *UpdateUserReq) (*Empty, error)
  1978. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1979. SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error)
  1980. // 上传文件至云端
  1981. CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error)
  1982. // 获取表情
  1983. EmoticonList(context.Context, *Empty) (*EmoticonListResp, error)
  1984. // 判断是否为好友关系
  1985. IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error)
  1986. // 投诉群
  1987. ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error)
  1988. // 发布群公告
  1989. PublishGroupNotice(context.Context, *PublishGroupNoticeReq) (*Empty, error)
  1990. // 查看群公告
  1991. ViewGroupNotice(context.Context, *ViewGroupNoticeReq) (*ViewGroupNoticeResp, error)
  1992. // 点赞群公告
  1993. LikeGroupNotice(context.Context, *LikeGroupNoticeReq) (*Empty, error)
  1994. // 取消点赞群公告
  1995. CancelLikeGroupNotice(context.Context, *CancelLikeGroupNoticeReq) (*Empty, error)
  1996. }
  1997. // UnimplementedBusinessExtServer must be embedded to have forward compatible implementations.
  1998. type UnimplementedBusinessExtServer struct {
  1999. }
  2000. func (UnimplementedBusinessExtServer) SignIn(context.Context, *SignInReq) (*SignInResp, error) {
  2001. return nil, status.Errorf(codes.Unimplemented, "method SignIn not implemented")
  2002. }
  2003. func (UnimplementedBusinessExtServer) GetUser(context.Context, *GetUserReq) (*GetUserResp, error) {
  2004. return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
  2005. }
  2006. func (UnimplementedBusinessExtServer) UpdateUser(context.Context, *UpdateUserReq) (*Empty, error) {
  2007. return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
  2008. }
  2009. func (UnimplementedBusinessExtServer) SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error) {
  2010. return nil, status.Errorf(codes.Unimplemented, "method SearchUser not implemented")
  2011. }
  2012. func (UnimplementedBusinessExtServer) CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error) {
  2013. return nil, status.Errorf(codes.Unimplemented, "method CloudUploadFile not implemented")
  2014. }
  2015. func (UnimplementedBusinessExtServer) EmoticonList(context.Context, *Empty) (*EmoticonListResp, error) {
  2016. return nil, status.Errorf(codes.Unimplemented, "method EmoticonList not implemented")
  2017. }
  2018. func (UnimplementedBusinessExtServer) IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error) {
  2019. return nil, status.Errorf(codes.Unimplemented, "method IsFriends not implemented")
  2020. }
  2021. func (UnimplementedBusinessExtServer) ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error) {
  2022. return nil, status.Errorf(codes.Unimplemented, "method ComplainGroup not implemented")
  2023. }
  2024. func (UnimplementedBusinessExtServer) PublishGroupNotice(context.Context, *PublishGroupNoticeReq) (*Empty, error) {
  2025. return nil, status.Errorf(codes.Unimplemented, "method PublishGroupNotice not implemented")
  2026. }
  2027. func (UnimplementedBusinessExtServer) ViewGroupNotice(context.Context, *ViewGroupNoticeReq) (*ViewGroupNoticeResp, error) {
  2028. return nil, status.Errorf(codes.Unimplemented, "method ViewGroupNotice not implemented")
  2029. }
  2030. func (UnimplementedBusinessExtServer) LikeGroupNotice(context.Context, *LikeGroupNoticeReq) (*Empty, error) {
  2031. return nil, status.Errorf(codes.Unimplemented, "method LikeGroupNotice not implemented")
  2032. }
  2033. func (UnimplementedBusinessExtServer) CancelLikeGroupNotice(context.Context, *CancelLikeGroupNoticeReq) (*Empty, error) {
  2034. return nil, status.Errorf(codes.Unimplemented, "method CancelLikeGroupNotice not implemented")
  2035. }
  2036. func RegisterBusinessExtServer(s grpc.ServiceRegistrar, srv BusinessExtServer) {
  2037. s.RegisterService(&BusinessExt_ServiceDesc, srv)
  2038. }
  2039. func _BusinessExt_SignIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2040. in := new(SignInReq)
  2041. if err := dec(in); err != nil {
  2042. return nil, err
  2043. }
  2044. if interceptor == nil {
  2045. return srv.(BusinessExtServer).SignIn(ctx, in)
  2046. }
  2047. info := &grpc.UnaryServerInfo{
  2048. Server: srv,
  2049. FullMethod: "/pb.BusinessExt/SignIn",
  2050. }
  2051. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2052. return srv.(BusinessExtServer).SignIn(ctx, req.(*SignInReq))
  2053. }
  2054. return interceptor(ctx, in, info, handler)
  2055. }
  2056. func _BusinessExt_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2057. in := new(GetUserReq)
  2058. if err := dec(in); err != nil {
  2059. return nil, err
  2060. }
  2061. if interceptor == nil {
  2062. return srv.(BusinessExtServer).GetUser(ctx, in)
  2063. }
  2064. info := &grpc.UnaryServerInfo{
  2065. Server: srv,
  2066. FullMethod: "/pb.BusinessExt/GetUser",
  2067. }
  2068. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2069. return srv.(BusinessExtServer).GetUser(ctx, req.(*GetUserReq))
  2070. }
  2071. return interceptor(ctx, in, info, handler)
  2072. }
  2073. func _BusinessExt_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2074. in := new(UpdateUserReq)
  2075. if err := dec(in); err != nil {
  2076. return nil, err
  2077. }
  2078. if interceptor == nil {
  2079. return srv.(BusinessExtServer).UpdateUser(ctx, in)
  2080. }
  2081. info := &grpc.UnaryServerInfo{
  2082. Server: srv,
  2083. FullMethod: "/pb.BusinessExt/UpdateUser",
  2084. }
  2085. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2086. return srv.(BusinessExtServer).UpdateUser(ctx, req.(*UpdateUserReq))
  2087. }
  2088. return interceptor(ctx, in, info, handler)
  2089. }
  2090. func _BusinessExt_SearchUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2091. in := new(SearchUserReq)
  2092. if err := dec(in); err != nil {
  2093. return nil, err
  2094. }
  2095. if interceptor == nil {
  2096. return srv.(BusinessExtServer).SearchUser(ctx, in)
  2097. }
  2098. info := &grpc.UnaryServerInfo{
  2099. Server: srv,
  2100. FullMethod: "/pb.BusinessExt/SearchUser",
  2101. }
  2102. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2103. return srv.(BusinessExtServer).SearchUser(ctx, req.(*SearchUserReq))
  2104. }
  2105. return interceptor(ctx, in, info, handler)
  2106. }
  2107. func _BusinessExt_CloudUploadFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2108. in := new(CloudUploadFileReq)
  2109. if err := dec(in); err != nil {
  2110. return nil, err
  2111. }
  2112. if interceptor == nil {
  2113. return srv.(BusinessExtServer).CloudUploadFile(ctx, in)
  2114. }
  2115. info := &grpc.UnaryServerInfo{
  2116. Server: srv,
  2117. FullMethod: "/pb.BusinessExt/CloudUploadFile",
  2118. }
  2119. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2120. return srv.(BusinessExtServer).CloudUploadFile(ctx, req.(*CloudUploadFileReq))
  2121. }
  2122. return interceptor(ctx, in, info, handler)
  2123. }
  2124. func _BusinessExt_EmoticonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2125. in := new(Empty)
  2126. if err := dec(in); err != nil {
  2127. return nil, err
  2128. }
  2129. if interceptor == nil {
  2130. return srv.(BusinessExtServer).EmoticonList(ctx, in)
  2131. }
  2132. info := &grpc.UnaryServerInfo{
  2133. Server: srv,
  2134. FullMethod: "/pb.BusinessExt/EmoticonList",
  2135. }
  2136. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2137. return srv.(BusinessExtServer).EmoticonList(ctx, req.(*Empty))
  2138. }
  2139. return interceptor(ctx, in, info, handler)
  2140. }
  2141. func _BusinessExt_IsFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2142. in := new(IsFriendsReq)
  2143. if err := dec(in); err != nil {
  2144. return nil, err
  2145. }
  2146. if interceptor == nil {
  2147. return srv.(BusinessExtServer).IsFriends(ctx, in)
  2148. }
  2149. info := &grpc.UnaryServerInfo{
  2150. Server: srv,
  2151. FullMethod: "/pb.BusinessExt/IsFriends",
  2152. }
  2153. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2154. return srv.(BusinessExtServer).IsFriends(ctx, req.(*IsFriendsReq))
  2155. }
  2156. return interceptor(ctx, in, info, handler)
  2157. }
  2158. func _BusinessExt_ComplainGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2159. in := new(ComplainGroupReq)
  2160. if err := dec(in); err != nil {
  2161. return nil, err
  2162. }
  2163. if interceptor == nil {
  2164. return srv.(BusinessExtServer).ComplainGroup(ctx, in)
  2165. }
  2166. info := &grpc.UnaryServerInfo{
  2167. Server: srv,
  2168. FullMethod: "/pb.BusinessExt/ComplainGroup",
  2169. }
  2170. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2171. return srv.(BusinessExtServer).ComplainGroup(ctx, req.(*ComplainGroupReq))
  2172. }
  2173. return interceptor(ctx, in, info, handler)
  2174. }
  2175. func _BusinessExt_PublishGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2176. in := new(PublishGroupNoticeReq)
  2177. if err := dec(in); err != nil {
  2178. return nil, err
  2179. }
  2180. if interceptor == nil {
  2181. return srv.(BusinessExtServer).PublishGroupNotice(ctx, in)
  2182. }
  2183. info := &grpc.UnaryServerInfo{
  2184. Server: srv,
  2185. FullMethod: "/pb.BusinessExt/PublishGroupNotice",
  2186. }
  2187. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2188. return srv.(BusinessExtServer).PublishGroupNotice(ctx, req.(*PublishGroupNoticeReq))
  2189. }
  2190. return interceptor(ctx, in, info, handler)
  2191. }
  2192. func _BusinessExt_ViewGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2193. in := new(ViewGroupNoticeReq)
  2194. if err := dec(in); err != nil {
  2195. return nil, err
  2196. }
  2197. if interceptor == nil {
  2198. return srv.(BusinessExtServer).ViewGroupNotice(ctx, in)
  2199. }
  2200. info := &grpc.UnaryServerInfo{
  2201. Server: srv,
  2202. FullMethod: "/pb.BusinessExt/ViewGroupNotice",
  2203. }
  2204. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2205. return srv.(BusinessExtServer).ViewGroupNotice(ctx, req.(*ViewGroupNoticeReq))
  2206. }
  2207. return interceptor(ctx, in, info, handler)
  2208. }
  2209. func _BusinessExt_LikeGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2210. in := new(LikeGroupNoticeReq)
  2211. if err := dec(in); err != nil {
  2212. return nil, err
  2213. }
  2214. if interceptor == nil {
  2215. return srv.(BusinessExtServer).LikeGroupNotice(ctx, in)
  2216. }
  2217. info := &grpc.UnaryServerInfo{
  2218. Server: srv,
  2219. FullMethod: "/pb.BusinessExt/LikeGroupNotice",
  2220. }
  2221. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2222. return srv.(BusinessExtServer).LikeGroupNotice(ctx, req.(*LikeGroupNoticeReq))
  2223. }
  2224. return interceptor(ctx, in, info, handler)
  2225. }
  2226. func _BusinessExt_CancelLikeGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2227. in := new(CancelLikeGroupNoticeReq)
  2228. if err := dec(in); err != nil {
  2229. return nil, err
  2230. }
  2231. if interceptor == nil {
  2232. return srv.(BusinessExtServer).CancelLikeGroupNotice(ctx, in)
  2233. }
  2234. info := &grpc.UnaryServerInfo{
  2235. Server: srv,
  2236. FullMethod: "/pb.BusinessExt/CancelLikeGroupNotice",
  2237. }
  2238. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2239. return srv.(BusinessExtServer).CancelLikeGroupNotice(ctx, req.(*CancelLikeGroupNoticeReq))
  2240. }
  2241. return interceptor(ctx, in, info, handler)
  2242. }
  2243. // BusinessExt_ServiceDesc is the grpc.ServiceDesc for BusinessExt service.
  2244. // It's only intended for direct use with grpc.RegisterService,
  2245. // and not to be introspected or modified (even as a copy)
  2246. var BusinessExt_ServiceDesc = grpc.ServiceDesc{
  2247. ServiceName: "pb.BusinessExt",
  2248. HandlerType: (*BusinessExtServer)(nil),
  2249. Methods: []grpc.MethodDesc{
  2250. {
  2251. MethodName: "SignIn",
  2252. Handler: _BusinessExt_SignIn_Handler,
  2253. },
  2254. {
  2255. MethodName: "GetUser",
  2256. Handler: _BusinessExt_GetUser_Handler,
  2257. },
  2258. {
  2259. MethodName: "UpdateUser",
  2260. Handler: _BusinessExt_UpdateUser_Handler,
  2261. },
  2262. {
  2263. MethodName: "SearchUser",
  2264. Handler: _BusinessExt_SearchUser_Handler,
  2265. },
  2266. {
  2267. MethodName: "CloudUploadFile",
  2268. Handler: _BusinessExt_CloudUploadFile_Handler,
  2269. },
  2270. {
  2271. MethodName: "EmoticonList",
  2272. Handler: _BusinessExt_EmoticonList_Handler,
  2273. },
  2274. {
  2275. MethodName: "IsFriends",
  2276. Handler: _BusinessExt_IsFriends_Handler,
  2277. },
  2278. {
  2279. MethodName: "ComplainGroup",
  2280. Handler: _BusinessExt_ComplainGroup_Handler,
  2281. },
  2282. {
  2283. MethodName: "PublishGroupNotice",
  2284. Handler: _BusinessExt_PublishGroupNotice_Handler,
  2285. },
  2286. {
  2287. MethodName: "ViewGroupNotice",
  2288. Handler: _BusinessExt_ViewGroupNotice_Handler,
  2289. },
  2290. {
  2291. MethodName: "LikeGroupNotice",
  2292. Handler: _BusinessExt_LikeGroupNotice_Handler,
  2293. },
  2294. {
  2295. MethodName: "CancelLikeGroupNotice",
  2296. Handler: _BusinessExt_CancelLikeGroupNotice_Handler,
  2297. },
  2298. },
  2299. Streams: []grpc.StreamDesc{},
  2300. Metadata: "business.ext.proto",
  2301. }