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

business.ext.pb.go 85 KiB

4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472
  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 GetUserReq struct {
  975. state protoimpl.MessageState
  976. sizeCache protoimpl.SizeCache
  977. unknownFields protoimpl.UnknownFields
  978. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  979. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  980. }
  981. func (x *GetUserReq) Reset() {
  982. *x = GetUserReq{}
  983. if protoimpl.UnsafeEnabled {
  984. mi := &file_business_ext_proto_msgTypes[15]
  985. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  986. ms.StoreMessageInfo(mi)
  987. }
  988. }
  989. func (x *GetUserReq) String() string {
  990. return protoimpl.X.MessageStringOf(x)
  991. }
  992. func (*GetUserReq) ProtoMessage() {}
  993. func (x *GetUserReq) ProtoReflect() protoreflect.Message {
  994. mi := &file_business_ext_proto_msgTypes[15]
  995. if protoimpl.UnsafeEnabled && x != nil {
  996. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  997. if ms.LoadMessageInfo() == nil {
  998. ms.StoreMessageInfo(mi)
  999. }
  1000. return ms
  1001. }
  1002. return mi.MessageOf(x)
  1003. }
  1004. // Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.
  1005. func (*GetUserReq) Descriptor() ([]byte, []int) {
  1006. return file_business_ext_proto_rawDescGZIP(), []int{15}
  1007. }
  1008. func (x *GetUserReq) GetUserId() int64 {
  1009. if x != nil {
  1010. return x.UserId
  1011. }
  1012. return 0
  1013. }
  1014. func (x *GetUserReq) GetPhone() string {
  1015. if x != nil {
  1016. return x.Phone
  1017. }
  1018. return ""
  1019. }
  1020. type GetUserResp struct {
  1021. state protoimpl.MessageState
  1022. sizeCache protoimpl.SizeCache
  1023. unknownFields protoimpl.UnknownFields
  1024. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
  1025. }
  1026. func (x *GetUserResp) Reset() {
  1027. *x = GetUserResp{}
  1028. if protoimpl.UnsafeEnabled {
  1029. mi := &file_business_ext_proto_msgTypes[16]
  1030. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1031. ms.StoreMessageInfo(mi)
  1032. }
  1033. }
  1034. func (x *GetUserResp) String() string {
  1035. return protoimpl.X.MessageStringOf(x)
  1036. }
  1037. func (*GetUserResp) ProtoMessage() {}
  1038. func (x *GetUserResp) ProtoReflect() protoreflect.Message {
  1039. mi := &file_business_ext_proto_msgTypes[16]
  1040. if protoimpl.UnsafeEnabled && x != nil {
  1041. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1042. if ms.LoadMessageInfo() == nil {
  1043. ms.StoreMessageInfo(mi)
  1044. }
  1045. return ms
  1046. }
  1047. return mi.MessageOf(x)
  1048. }
  1049. // Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.
  1050. func (*GetUserResp) Descriptor() ([]byte, []int) {
  1051. return file_business_ext_proto_rawDescGZIP(), []int{16}
  1052. }
  1053. func (x *GetUserResp) GetUser() *User {
  1054. if x != nil {
  1055. return x.User
  1056. }
  1057. return nil
  1058. }
  1059. type UpdateUserReq struct {
  1060. state protoimpl.MessageState
  1061. sizeCache protoimpl.SizeCache
  1062. unknownFields protoimpl.UnknownFields
  1063. Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  1064. Sex int32 `protobuf:"varint,2,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  1065. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  1066. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1067. }
  1068. func (x *UpdateUserReq) Reset() {
  1069. *x = UpdateUserReq{}
  1070. if protoimpl.UnsafeEnabled {
  1071. mi := &file_business_ext_proto_msgTypes[17]
  1072. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1073. ms.StoreMessageInfo(mi)
  1074. }
  1075. }
  1076. func (x *UpdateUserReq) String() string {
  1077. return protoimpl.X.MessageStringOf(x)
  1078. }
  1079. func (*UpdateUserReq) ProtoMessage() {}
  1080. func (x *UpdateUserReq) ProtoReflect() protoreflect.Message {
  1081. mi := &file_business_ext_proto_msgTypes[17]
  1082. if protoimpl.UnsafeEnabled && x != nil {
  1083. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1084. if ms.LoadMessageInfo() == nil {
  1085. ms.StoreMessageInfo(mi)
  1086. }
  1087. return ms
  1088. }
  1089. return mi.MessageOf(x)
  1090. }
  1091. // Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
  1092. func (*UpdateUserReq) Descriptor() ([]byte, []int) {
  1093. return file_business_ext_proto_rawDescGZIP(), []int{17}
  1094. }
  1095. func (x *UpdateUserReq) GetNickname() string {
  1096. if x != nil {
  1097. return x.Nickname
  1098. }
  1099. return ""
  1100. }
  1101. func (x *UpdateUserReq) GetSex() int32 {
  1102. if x != nil {
  1103. return x.Sex
  1104. }
  1105. return 0
  1106. }
  1107. func (x *UpdateUserReq) GetAvatarUrl() string {
  1108. if x != nil {
  1109. return x.AvatarUrl
  1110. }
  1111. return ""
  1112. }
  1113. func (x *UpdateUserReq) GetExtra() string {
  1114. if x != nil {
  1115. return x.Extra
  1116. }
  1117. return ""
  1118. }
  1119. type SearchUserReq struct {
  1120. state protoimpl.MessageState
  1121. sizeCache protoimpl.SizeCache
  1122. unknownFields protoimpl.UnknownFields
  1123. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  1124. }
  1125. func (x *SearchUserReq) Reset() {
  1126. *x = SearchUserReq{}
  1127. if protoimpl.UnsafeEnabled {
  1128. mi := &file_business_ext_proto_msgTypes[18]
  1129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1130. ms.StoreMessageInfo(mi)
  1131. }
  1132. }
  1133. func (x *SearchUserReq) String() string {
  1134. return protoimpl.X.MessageStringOf(x)
  1135. }
  1136. func (*SearchUserReq) ProtoMessage() {}
  1137. func (x *SearchUserReq) ProtoReflect() protoreflect.Message {
  1138. mi := &file_business_ext_proto_msgTypes[18]
  1139. if protoimpl.UnsafeEnabled && x != nil {
  1140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1141. if ms.LoadMessageInfo() == nil {
  1142. ms.StoreMessageInfo(mi)
  1143. }
  1144. return ms
  1145. }
  1146. return mi.MessageOf(x)
  1147. }
  1148. // Deprecated: Use SearchUserReq.ProtoReflect.Descriptor instead.
  1149. func (*SearchUserReq) Descriptor() ([]byte, []int) {
  1150. return file_business_ext_proto_rawDescGZIP(), []int{18}
  1151. }
  1152. func (x *SearchUserReq) GetKey() string {
  1153. if x != nil {
  1154. return x.Key
  1155. }
  1156. return ""
  1157. }
  1158. type SearchUserResp struct {
  1159. state protoimpl.MessageState
  1160. sizeCache protoimpl.SizeCache
  1161. unknownFields protoimpl.UnknownFields
  1162. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  1163. }
  1164. func (x *SearchUserResp) Reset() {
  1165. *x = SearchUserResp{}
  1166. if protoimpl.UnsafeEnabled {
  1167. mi := &file_business_ext_proto_msgTypes[19]
  1168. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1169. ms.StoreMessageInfo(mi)
  1170. }
  1171. }
  1172. func (x *SearchUserResp) String() string {
  1173. return protoimpl.X.MessageStringOf(x)
  1174. }
  1175. func (*SearchUserResp) ProtoMessage() {}
  1176. func (x *SearchUserResp) ProtoReflect() protoreflect.Message {
  1177. mi := &file_business_ext_proto_msgTypes[19]
  1178. if protoimpl.UnsafeEnabled && x != nil {
  1179. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1180. if ms.LoadMessageInfo() == nil {
  1181. ms.StoreMessageInfo(mi)
  1182. }
  1183. return ms
  1184. }
  1185. return mi.MessageOf(x)
  1186. }
  1187. // Deprecated: Use SearchUserResp.ProtoReflect.Descriptor instead.
  1188. func (*SearchUserResp) Descriptor() ([]byte, []int) {
  1189. return file_business_ext_proto_rawDescGZIP(), []int{19}
  1190. }
  1191. func (x *SearchUserResp) GetUsers() []*User {
  1192. if x != nil {
  1193. return x.Users
  1194. }
  1195. return nil
  1196. }
  1197. var File_business_ext_proto protoreflect.FileDescriptor
  1198. var file_business_ext_proto_rawDesc = []byte{
  1199. 0x0a, 0x12, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70,
  1200. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1201. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x12, 0x4c, 0x69,
  1202. 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  1203. 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1204. 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x35, 0x0a, 0x18, 0x43,
  1205. 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f,
  1206. 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70,
  1207. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70,
  1208. 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
  1209. 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  1210. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  1211. 0x70, 0x49, 0x64, 0x22, 0x98, 0x02, 0x0a, 0x13, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75,
  1212. 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67,
  1213. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  1214. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
  1215. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  1216. 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1217. 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x69, 0x6b,
  1218. 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69,
  1219. 0x6b, 0x65, 0x4e, 0x75, 0x6d, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6e,
  1220. 0x75, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4e,
  1221. 0x75, 0x6d, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74,
  1222. 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x47,
  1223. 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73,
  1224. 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79,
  1225. 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69,
  1226. 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
  1227. 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6c, 0x69, 0x6b, 0x65,
  1228. 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4c, 0x69, 0x6b, 0x65, 0x22, 0xa4,
  1229. 0x01, 0x0a, 0x15, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
  1230. 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  1231. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  1232. 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1233. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c,
  1234. 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
  1235. 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74,
  1236. 0x69, 0x63, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b,
  1237. 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,
  1238. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
  1239. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61,
  1240. 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72,
  1241. 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72,
  1242. 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69,
  1243. 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70,
  1244. 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c,
  1245. 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04,
  1246. 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74,
  1247. 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04,
  1248. 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22,
  1249. 0x50, 0x0a, 0x0c, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x12,
  1250. 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20,
  1251. 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x21,
  1252. 0x0a, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02,
  1253. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e,
  1254. 0x65, 0x22, 0x4a, 0x0a, 0x0d, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65,
  1255. 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x18,
  1256. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12,
  1257. 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e,
  1258. 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a,
  1259. 0x08, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1260. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a,
  1261. 0x07, 0x69, 0x6d, 0x67, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  1262. 0x69, 0x6d, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x03,
  1263. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f,
  1264. 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x22, 0x3e,
  1265. 0x0a, 0x10, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  1266. 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x18,
  1267. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69,
  1268. 0x63, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x22, 0xb7,
  1269. 0x01, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c,
  1270. 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
  1271. 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
  1272. 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
  1273. 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64,
  1274. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64,
  1275. 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x18, 0x04, 0x20,
  1276. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x75, 0x73, 0x68, 0x41, 0x6c, 0x69, 0x61, 0x12, 0x1a, 0x0a,
  1277. 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
  1278. 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  1279. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  1280. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x52, 0x0a, 0x0a, 0x53, 0x69, 0x67, 0x6e,
  1281. 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77,
  1282. 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12, 0x17, 0x0a,
  1283. 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  1284. 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
  1285. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x60, 0x0a, 0x12,
  1286. 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52,
  1287. 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1288. 0x03, 0x64, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
  1289. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
  1290. 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03,
  1291. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x69,
  1292. 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c,
  1293. 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
  1294. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a,
  1295. 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73,
  1296. 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1297. 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01,
  1298. 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x02, 0x0a, 0x04, 0x55, 0x73,
  1299. 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  1300. 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
  1301. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
  1302. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03,
  1303. 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  1304. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  1305. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
  1306. 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f,
  1307. 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
  1308. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
  1309. 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
  1310. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
  1311. 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x65,
  1312. 0x64, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
  1313. 0x12, 0x69, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x65, 0x64, 0x46, 0x72, 0x69, 0x65,
  1314. 0x6e, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d,
  1315. 0x62, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  1316. 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x3b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  1317. 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  1318. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a,
  1319. 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
  1320. 0x6f, 0x6e, 0x65, 0x22, 0x2b, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1321. 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1322. 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
  1323. 0x22, 0x72, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1324. 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1325. 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a,
  1326. 0x03, 0x73, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
  1327. 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20,
  1328. 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14,
  1329. 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
  1330. 0x78, 0x74, 0x72, 0x61, 0x22, 0x21, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73,
  1331. 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  1332. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x30, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63,
  1333. 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x05, 0x75, 0x73, 0x65,
  1334. 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73,
  1335. 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2a, 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x6f,
  1336. 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x54,
  1337. 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x54,
  1338. 0x5f, 0x47, 0x41, 0x4d, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f,
  1339. 0x44, 0x45, 0x46, 0x52, 0x41, 0x55, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f,
  1340. 0x48, 0x41, 0x52, 0x41, 0x53, 0x53, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x52,
  1341. 0x55, 0x4d, 0x4f, 0x55, 0x52, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x54, 0x5f, 0x43, 0x4f,
  1342. 0x55, 0x4e, 0x54, 0x45, 0x52, 0x46, 0x45, 0x49, 0x54, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f,
  1343. 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x54, 0x5f, 0x56, 0x49, 0x4f,
  1344. 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x46, 0x5f, 0x4d, 0x49, 0x4e, 0x4f, 0x52, 0x53,
  1345. 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x07,
  1346. 0x2a, 0x6e, 0x0a, 0x16, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50,
  1347. 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e,
  1348. 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12,
  1349. 0x10, 0x0a, 0x0c, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10,
  1350. 0x01, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x41, 0x4e, 0x44,
  1351. 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x43, 0x45, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x54,
  1352. 0x49, 0x43, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x54, 0x4f, 0x50, 0x5f, 0x55, 0x50, 0x10, 0x03,
  1353. 0x32, 0x94, 0x05, 0x0a, 0x0b, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x45, 0x78, 0x74,
  1354. 0x12, 0x27, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x0d, 0x2e, 0x70, 0x62, 0x2e,
  1355. 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53,
  1356. 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x07, 0x47, 0x65, 0x74,
  1357. 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  1358. 0x72, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  1359. 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
  1360. 0x73, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
  1361. 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  1362. 0x79, 0x12, 0x33, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12,
  1363. 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52,
  1364. 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73,
  1365. 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55,
  1366. 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43,
  1367. 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65,
  1368. 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f,
  1369. 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x0c, 0x45, 0x6d,
  1370. 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e,
  1371. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69,
  1372. 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x09, 0x49,
  1373. 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x73,
  1374. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e,
  1375. 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a,
  1376. 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14,
  1377. 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75,
  1378. 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12,
  1379. 0x3a, 0x0a, 0x12, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
  1380. 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69,
  1381. 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  1382. 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x56,
  1383. 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x16,
  1384. 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74,
  1385. 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x69, 0x65, 0x77,
  1386. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
  1387. 0x34, 0x0a, 0x0f, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69,
  1388. 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75,
  1389. 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e,
  1390. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x40, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c,
  1391. 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x1c,
  1392. 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72,
  1393. 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70,
  1394. 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x10, 0x5a, 0x0e, 0x65, 0x67, 0x67, 0x2d, 0x69,
  1395. 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1396. 0x33,
  1397. }
  1398. var (
  1399. file_business_ext_proto_rawDescOnce sync.Once
  1400. file_business_ext_proto_rawDescData = file_business_ext_proto_rawDesc
  1401. )
  1402. func file_business_ext_proto_rawDescGZIP() []byte {
  1403. file_business_ext_proto_rawDescOnce.Do(func() {
  1404. file_business_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_business_ext_proto_rawDescData)
  1405. })
  1406. return file_business_ext_proto_rawDescData
  1407. }
  1408. var file_business_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  1409. var file_business_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
  1410. var file_business_ext_proto_goTypes = []interface{}{
  1411. (ComplainType)(0), // 0: pb.ComplainType
  1412. (GroupNoticePublishType)(0), // 1: pb.GroupNoticePublishType
  1413. (*LikeGroupNoticeReq)(nil), // 2: pb.LikeGroupNoticeReq
  1414. (*CancelLikeGroupNoticeReq)(nil), // 3: pb.CancelLikeGroupNoticeReq
  1415. (*ViewGroupNoticeReq)(nil), // 4: pb.ViewGroupNoticeReq
  1416. (*ViewGroupNoticeResp)(nil), // 5: pb.ViewGroupNoticeResp
  1417. (*PublishGroupNoticeReq)(nil), // 6: pb.PublishGroupNoticeReq
  1418. (*ComplainGroupReq)(nil), // 7: pb.ComplainGroupReq
  1419. (*IsFriendsReq)(nil), // 8: pb.IsFriendsReq
  1420. (*IsFriendsResp)(nil), // 9: pb.IsFriendsResp
  1421. (*Emoticon)(nil), // 10: pb.Emoticon
  1422. (*EmoticonListResp)(nil), // 11: pb.EmoticonListResp
  1423. (*SignInReq)(nil), // 12: pb.SignInReq
  1424. (*SignInResp)(nil), // 13: pb.SignInResp
  1425. (*CloudUploadFileReq)(nil), // 14: pb.CloudUploadFileReq
  1426. (*CloudUploadFileResp)(nil), // 15: pb.CloudUploadFileResp
  1427. (*User)(nil), // 16: pb.User
  1428. (*GetUserReq)(nil), // 17: pb.GetUserReq
  1429. (*GetUserResp)(nil), // 18: pb.GetUserResp
  1430. (*UpdateUserReq)(nil), // 19: pb.UpdateUserReq
  1431. (*SearchUserReq)(nil), // 20: pb.SearchUserReq
  1432. (*SearchUserResp)(nil), // 21: pb.SearchUserResp
  1433. (*Empty)(nil), // 22: pb.Empty
  1434. }
  1435. var file_business_ext_proto_depIdxs = []int32{
  1436. 1, // 0: pb.ViewGroupNoticeResp.publish_type:type_name -> pb.GroupNoticePublishType
  1437. 1, // 1: pb.PublishGroupNoticeReq.publish_type:type_name -> pb.GroupNoticePublishType
  1438. 0, // 2: pb.ComplainGroupReq.complain_type:type_name -> pb.ComplainType
  1439. 16, // 3: pb.IsFriendsResp.user:type_name -> pb.User
  1440. 10, // 4: pb.EmoticonListResp.emoticons:type_name -> pb.Emoticon
  1441. 16, // 5: pb.GetUserResp.user:type_name -> pb.User
  1442. 16, // 6: pb.SearchUserResp.users:type_name -> pb.User
  1443. 12, // 7: pb.BusinessExt.SignIn:input_type -> pb.SignInReq
  1444. 17, // 8: pb.BusinessExt.GetUser:input_type -> pb.GetUserReq
  1445. 19, // 9: pb.BusinessExt.UpdateUser:input_type -> pb.UpdateUserReq
  1446. 20, // 10: pb.BusinessExt.SearchUser:input_type -> pb.SearchUserReq
  1447. 14, // 11: pb.BusinessExt.CloudUploadFile:input_type -> pb.CloudUploadFileReq
  1448. 22, // 12: pb.BusinessExt.EmoticonList:input_type -> pb.Empty
  1449. 8, // 13: pb.BusinessExt.IsFriends:input_type -> pb.IsFriendsReq
  1450. 7, // 14: pb.BusinessExt.ComplainGroup:input_type -> pb.ComplainGroupReq
  1451. 6, // 15: pb.BusinessExt.PublishGroupNotice:input_type -> pb.PublishGroupNoticeReq
  1452. 4, // 16: pb.BusinessExt.ViewGroupNotice:input_type -> pb.ViewGroupNoticeReq
  1453. 2, // 17: pb.BusinessExt.LikeGroupNotice:input_type -> pb.LikeGroupNoticeReq
  1454. 3, // 18: pb.BusinessExt.CancelLikeGroupNotice:input_type -> pb.CancelLikeGroupNoticeReq
  1455. 13, // 19: pb.BusinessExt.SignIn:output_type -> pb.SignInResp
  1456. 18, // 20: pb.BusinessExt.GetUser:output_type -> pb.GetUserResp
  1457. 22, // 21: pb.BusinessExt.UpdateUser:output_type -> pb.Empty
  1458. 21, // 22: pb.BusinessExt.SearchUser:output_type -> pb.SearchUserResp
  1459. 15, // 23: pb.BusinessExt.CloudUploadFile:output_type -> pb.CloudUploadFileResp
  1460. 11, // 24: pb.BusinessExt.EmoticonList:output_type -> pb.EmoticonListResp
  1461. 9, // 25: pb.BusinessExt.IsFriends:output_type -> pb.IsFriendsResp
  1462. 22, // 26: pb.BusinessExt.ComplainGroup:output_type -> pb.Empty
  1463. 22, // 27: pb.BusinessExt.PublishGroupNotice:output_type -> pb.Empty
  1464. 5, // 28: pb.BusinessExt.ViewGroupNotice:output_type -> pb.ViewGroupNoticeResp
  1465. 22, // 29: pb.BusinessExt.LikeGroupNotice:output_type -> pb.Empty
  1466. 22, // 30: pb.BusinessExt.CancelLikeGroupNotice:output_type -> pb.Empty
  1467. 19, // [19:31] is the sub-list for method output_type
  1468. 7, // [7:19] is the sub-list for method input_type
  1469. 7, // [7:7] is the sub-list for extension type_name
  1470. 7, // [7:7] is the sub-list for extension extendee
  1471. 0, // [0:7] is the sub-list for field type_name
  1472. }
  1473. func init() { file_business_ext_proto_init() }
  1474. func file_business_ext_proto_init() {
  1475. if File_business_ext_proto != nil {
  1476. return
  1477. }
  1478. file_common_ext_proto_init()
  1479. if !protoimpl.UnsafeEnabled {
  1480. file_business_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1481. switch v := v.(*LikeGroupNoticeReq); i {
  1482. case 0:
  1483. return &v.state
  1484. case 1:
  1485. return &v.sizeCache
  1486. case 2:
  1487. return &v.unknownFields
  1488. default:
  1489. return nil
  1490. }
  1491. }
  1492. file_business_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1493. switch v := v.(*CancelLikeGroupNoticeReq); i {
  1494. case 0:
  1495. return &v.state
  1496. case 1:
  1497. return &v.sizeCache
  1498. case 2:
  1499. return &v.unknownFields
  1500. default:
  1501. return nil
  1502. }
  1503. }
  1504. file_business_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1505. switch v := v.(*ViewGroupNoticeReq); i {
  1506. case 0:
  1507. return &v.state
  1508. case 1:
  1509. return &v.sizeCache
  1510. case 2:
  1511. return &v.unknownFields
  1512. default:
  1513. return nil
  1514. }
  1515. }
  1516. file_business_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1517. switch v := v.(*ViewGroupNoticeResp); i {
  1518. case 0:
  1519. return &v.state
  1520. case 1:
  1521. return &v.sizeCache
  1522. case 2:
  1523. return &v.unknownFields
  1524. default:
  1525. return nil
  1526. }
  1527. }
  1528. file_business_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1529. switch v := v.(*PublishGroupNoticeReq); i {
  1530. case 0:
  1531. return &v.state
  1532. case 1:
  1533. return &v.sizeCache
  1534. case 2:
  1535. return &v.unknownFields
  1536. default:
  1537. return nil
  1538. }
  1539. }
  1540. file_business_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1541. switch v := v.(*ComplainGroupReq); i {
  1542. case 0:
  1543. return &v.state
  1544. case 1:
  1545. return &v.sizeCache
  1546. case 2:
  1547. return &v.unknownFields
  1548. default:
  1549. return nil
  1550. }
  1551. }
  1552. file_business_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1553. switch v := v.(*IsFriendsReq); i {
  1554. case 0:
  1555. return &v.state
  1556. case 1:
  1557. return &v.sizeCache
  1558. case 2:
  1559. return &v.unknownFields
  1560. default:
  1561. return nil
  1562. }
  1563. }
  1564. file_business_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1565. switch v := v.(*IsFriendsResp); i {
  1566. case 0:
  1567. return &v.state
  1568. case 1:
  1569. return &v.sizeCache
  1570. case 2:
  1571. return &v.unknownFields
  1572. default:
  1573. return nil
  1574. }
  1575. }
  1576. file_business_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1577. switch v := v.(*Emoticon); i {
  1578. case 0:
  1579. return &v.state
  1580. case 1:
  1581. return &v.sizeCache
  1582. case 2:
  1583. return &v.unknownFields
  1584. default:
  1585. return nil
  1586. }
  1587. }
  1588. file_business_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1589. switch v := v.(*EmoticonListResp); i {
  1590. case 0:
  1591. return &v.state
  1592. case 1:
  1593. return &v.sizeCache
  1594. case 2:
  1595. return &v.unknownFields
  1596. default:
  1597. return nil
  1598. }
  1599. }
  1600. file_business_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1601. switch v := v.(*SignInReq); i {
  1602. case 0:
  1603. return &v.state
  1604. case 1:
  1605. return &v.sizeCache
  1606. case 2:
  1607. return &v.unknownFields
  1608. default:
  1609. return nil
  1610. }
  1611. }
  1612. file_business_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1613. switch v := v.(*SignInResp); i {
  1614. case 0:
  1615. return &v.state
  1616. case 1:
  1617. return &v.sizeCache
  1618. case 2:
  1619. return &v.unknownFields
  1620. default:
  1621. return nil
  1622. }
  1623. }
  1624. file_business_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1625. switch v := v.(*CloudUploadFileReq); i {
  1626. case 0:
  1627. return &v.state
  1628. case 1:
  1629. return &v.sizeCache
  1630. case 2:
  1631. return &v.unknownFields
  1632. default:
  1633. return nil
  1634. }
  1635. }
  1636. file_business_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1637. switch v := v.(*CloudUploadFileResp); i {
  1638. case 0:
  1639. return &v.state
  1640. case 1:
  1641. return &v.sizeCache
  1642. case 2:
  1643. return &v.unknownFields
  1644. default:
  1645. return nil
  1646. }
  1647. }
  1648. file_business_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1649. switch v := v.(*User); i {
  1650. case 0:
  1651. return &v.state
  1652. case 1:
  1653. return &v.sizeCache
  1654. case 2:
  1655. return &v.unknownFields
  1656. default:
  1657. return nil
  1658. }
  1659. }
  1660. file_business_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1661. switch v := v.(*GetUserReq); i {
  1662. case 0:
  1663. return &v.state
  1664. case 1:
  1665. return &v.sizeCache
  1666. case 2:
  1667. return &v.unknownFields
  1668. default:
  1669. return nil
  1670. }
  1671. }
  1672. file_business_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1673. switch v := v.(*GetUserResp); i {
  1674. case 0:
  1675. return &v.state
  1676. case 1:
  1677. return &v.sizeCache
  1678. case 2:
  1679. return &v.unknownFields
  1680. default:
  1681. return nil
  1682. }
  1683. }
  1684. file_business_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1685. switch v := v.(*UpdateUserReq); i {
  1686. case 0:
  1687. return &v.state
  1688. case 1:
  1689. return &v.sizeCache
  1690. case 2:
  1691. return &v.unknownFields
  1692. default:
  1693. return nil
  1694. }
  1695. }
  1696. file_business_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1697. switch v := v.(*SearchUserReq); i {
  1698. case 0:
  1699. return &v.state
  1700. case 1:
  1701. return &v.sizeCache
  1702. case 2:
  1703. return &v.unknownFields
  1704. default:
  1705. return nil
  1706. }
  1707. }
  1708. file_business_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1709. switch v := v.(*SearchUserResp); i {
  1710. case 0:
  1711. return &v.state
  1712. case 1:
  1713. return &v.sizeCache
  1714. case 2:
  1715. return &v.unknownFields
  1716. default:
  1717. return nil
  1718. }
  1719. }
  1720. }
  1721. type x struct{}
  1722. out := protoimpl.TypeBuilder{
  1723. File: protoimpl.DescBuilder{
  1724. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1725. RawDescriptor: file_business_ext_proto_rawDesc,
  1726. NumEnums: 2,
  1727. NumMessages: 20,
  1728. NumExtensions: 0,
  1729. NumServices: 1,
  1730. },
  1731. GoTypes: file_business_ext_proto_goTypes,
  1732. DependencyIndexes: file_business_ext_proto_depIdxs,
  1733. EnumInfos: file_business_ext_proto_enumTypes,
  1734. MessageInfos: file_business_ext_proto_msgTypes,
  1735. }.Build()
  1736. File_business_ext_proto = out.File
  1737. file_business_ext_proto_rawDesc = nil
  1738. file_business_ext_proto_goTypes = nil
  1739. file_business_ext_proto_depIdxs = nil
  1740. }
  1741. // This is a compile-time assertion to ensure that this generated file
  1742. // is compatible with the grpc package it is being compiled against.
  1743. // Requires gRPC-Go v1.32.0 or later.
  1744. const _ = grpc.SupportPackageIsVersion7
  1745. // BusinessExtClient is the client API for BusinessExt service.
  1746. //
  1747. // 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.
  1748. type BusinessExtClient interface {
  1749. // 登录
  1750. SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error)
  1751. // 获取用户信息
  1752. GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
  1753. // 更新用户信息
  1754. UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error)
  1755. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1756. SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error)
  1757. // 上传文件至云端
  1758. CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error)
  1759. // 获取表情
  1760. EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error)
  1761. // 判断是否为好友关系
  1762. IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error)
  1763. // 投诉群
  1764. ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error)
  1765. // 发布群公告
  1766. PublishGroupNotice(ctx context.Context, in *PublishGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
  1767. // 查看群公告
  1768. ViewGroupNotice(ctx context.Context, in *ViewGroupNoticeReq, opts ...grpc.CallOption) (*ViewGroupNoticeResp, error)
  1769. // 点赞群公告
  1770. LikeGroupNotice(ctx context.Context, in *LikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
  1771. // 取消点赞群公告
  1772. CancelLikeGroupNotice(ctx context.Context, in *CancelLikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
  1773. }
  1774. type businessExtClient struct {
  1775. cc grpc.ClientConnInterface
  1776. }
  1777. func NewBusinessExtClient(cc grpc.ClientConnInterface) BusinessExtClient {
  1778. return &businessExtClient{cc}
  1779. }
  1780. func (c *businessExtClient) SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error) {
  1781. out := new(SignInResp)
  1782. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SignIn", in, out, opts...)
  1783. if err != nil {
  1784. return nil, err
  1785. }
  1786. return out, nil
  1787. }
  1788. func (c *businessExtClient) GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error) {
  1789. out := new(GetUserResp)
  1790. err := c.cc.Invoke(ctx, "/pb.BusinessExt/GetUser", in, out, opts...)
  1791. if err != nil {
  1792. return nil, err
  1793. }
  1794. return out, nil
  1795. }
  1796. func (c *businessExtClient) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error) {
  1797. out := new(Empty)
  1798. err := c.cc.Invoke(ctx, "/pb.BusinessExt/UpdateUser", in, out, opts...)
  1799. if err != nil {
  1800. return nil, err
  1801. }
  1802. return out, nil
  1803. }
  1804. func (c *businessExtClient) SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error) {
  1805. out := new(SearchUserResp)
  1806. err := c.cc.Invoke(ctx, "/pb.BusinessExt/SearchUser", in, out, opts...)
  1807. if err != nil {
  1808. return nil, err
  1809. }
  1810. return out, nil
  1811. }
  1812. func (c *businessExtClient) CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error) {
  1813. out := new(CloudUploadFileResp)
  1814. err := c.cc.Invoke(ctx, "/pb.BusinessExt/CloudUploadFile", in, out, opts...)
  1815. if err != nil {
  1816. return nil, err
  1817. }
  1818. return out, nil
  1819. }
  1820. func (c *businessExtClient) EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error) {
  1821. out := new(EmoticonListResp)
  1822. err := c.cc.Invoke(ctx, "/pb.BusinessExt/EmoticonList", in, out, opts...)
  1823. if err != nil {
  1824. return nil, err
  1825. }
  1826. return out, nil
  1827. }
  1828. func (c *businessExtClient) IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error) {
  1829. out := new(IsFriendsResp)
  1830. err := c.cc.Invoke(ctx, "/pb.BusinessExt/IsFriends", in, out, opts...)
  1831. if err != nil {
  1832. return nil, err
  1833. }
  1834. return out, nil
  1835. }
  1836. func (c *businessExtClient) ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  1837. out := new(Empty)
  1838. err := c.cc.Invoke(ctx, "/pb.BusinessExt/ComplainGroup", in, out, opts...)
  1839. if err != nil {
  1840. return nil, err
  1841. }
  1842. return out, nil
  1843. }
  1844. func (c *businessExtClient) PublishGroupNotice(ctx context.Context, in *PublishGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
  1845. out := new(Empty)
  1846. err := c.cc.Invoke(ctx, "/pb.BusinessExt/PublishGroupNotice", in, out, opts...)
  1847. if err != nil {
  1848. return nil, err
  1849. }
  1850. return out, nil
  1851. }
  1852. func (c *businessExtClient) ViewGroupNotice(ctx context.Context, in *ViewGroupNoticeReq, opts ...grpc.CallOption) (*ViewGroupNoticeResp, error) {
  1853. out := new(ViewGroupNoticeResp)
  1854. err := c.cc.Invoke(ctx, "/pb.BusinessExt/ViewGroupNotice", in, out, opts...)
  1855. if err != nil {
  1856. return nil, err
  1857. }
  1858. return out, nil
  1859. }
  1860. func (c *businessExtClient) LikeGroupNotice(ctx context.Context, in *LikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
  1861. out := new(Empty)
  1862. err := c.cc.Invoke(ctx, "/pb.BusinessExt/LikeGroupNotice", in, out, opts...)
  1863. if err != nil {
  1864. return nil, err
  1865. }
  1866. return out, nil
  1867. }
  1868. func (c *businessExtClient) CancelLikeGroupNotice(ctx context.Context, in *CancelLikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
  1869. out := new(Empty)
  1870. err := c.cc.Invoke(ctx, "/pb.BusinessExt/CancelLikeGroupNotice", in, out, opts...)
  1871. if err != nil {
  1872. return nil, err
  1873. }
  1874. return out, nil
  1875. }
  1876. // BusinessExtServer is the server API for BusinessExt service.
  1877. // All implementations must embed UnimplementedBusinessExtServer
  1878. // for forward compatibility
  1879. type BusinessExtServer interface {
  1880. // 登录
  1881. SignIn(context.Context, *SignInReq) (*SignInResp, error)
  1882. // 获取用户信息
  1883. GetUser(context.Context, *GetUserReq) (*GetUserResp, error)
  1884. // 更新用户信息
  1885. UpdateUser(context.Context, *UpdateUserReq) (*Empty, error)
  1886. // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
  1887. SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error)
  1888. // 上传文件至云端
  1889. CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error)
  1890. // 获取表情
  1891. EmoticonList(context.Context, *Empty) (*EmoticonListResp, error)
  1892. // 判断是否为好友关系
  1893. IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error)
  1894. // 投诉群
  1895. ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error)
  1896. // 发布群公告
  1897. PublishGroupNotice(context.Context, *PublishGroupNoticeReq) (*Empty, error)
  1898. // 查看群公告
  1899. ViewGroupNotice(context.Context, *ViewGroupNoticeReq) (*ViewGroupNoticeResp, error)
  1900. // 点赞群公告
  1901. LikeGroupNotice(context.Context, *LikeGroupNoticeReq) (*Empty, error)
  1902. // 取消点赞群公告
  1903. CancelLikeGroupNotice(context.Context, *CancelLikeGroupNoticeReq) (*Empty, error)
  1904. }
  1905. // UnimplementedBusinessExtServer must be embedded to have forward compatible implementations.
  1906. type UnimplementedBusinessExtServer struct {
  1907. }
  1908. func (UnimplementedBusinessExtServer) SignIn(context.Context, *SignInReq) (*SignInResp, error) {
  1909. return nil, status.Errorf(codes.Unimplemented, "method SignIn not implemented")
  1910. }
  1911. func (UnimplementedBusinessExtServer) GetUser(context.Context, *GetUserReq) (*GetUserResp, error) {
  1912. return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
  1913. }
  1914. func (UnimplementedBusinessExtServer) UpdateUser(context.Context, *UpdateUserReq) (*Empty, error) {
  1915. return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
  1916. }
  1917. func (UnimplementedBusinessExtServer) SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error) {
  1918. return nil, status.Errorf(codes.Unimplemented, "method SearchUser not implemented")
  1919. }
  1920. func (UnimplementedBusinessExtServer) CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error) {
  1921. return nil, status.Errorf(codes.Unimplemented, "method CloudUploadFile not implemented")
  1922. }
  1923. func (UnimplementedBusinessExtServer) EmoticonList(context.Context, *Empty) (*EmoticonListResp, error) {
  1924. return nil, status.Errorf(codes.Unimplemented, "method EmoticonList not implemented")
  1925. }
  1926. func (UnimplementedBusinessExtServer) IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error) {
  1927. return nil, status.Errorf(codes.Unimplemented, "method IsFriends not implemented")
  1928. }
  1929. func (UnimplementedBusinessExtServer) ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error) {
  1930. return nil, status.Errorf(codes.Unimplemented, "method ComplainGroup not implemented")
  1931. }
  1932. func (UnimplementedBusinessExtServer) PublishGroupNotice(context.Context, *PublishGroupNoticeReq) (*Empty, error) {
  1933. return nil, status.Errorf(codes.Unimplemented, "method PublishGroupNotice not implemented")
  1934. }
  1935. func (UnimplementedBusinessExtServer) ViewGroupNotice(context.Context, *ViewGroupNoticeReq) (*ViewGroupNoticeResp, error) {
  1936. return nil, status.Errorf(codes.Unimplemented, "method ViewGroupNotice not implemented")
  1937. }
  1938. func (UnimplementedBusinessExtServer) LikeGroupNotice(context.Context, *LikeGroupNoticeReq) (*Empty, error) {
  1939. return nil, status.Errorf(codes.Unimplemented, "method LikeGroupNotice not implemented")
  1940. }
  1941. func (UnimplementedBusinessExtServer) CancelLikeGroupNotice(context.Context, *CancelLikeGroupNoticeReq) (*Empty, error) {
  1942. return nil, status.Errorf(codes.Unimplemented, "method CancelLikeGroupNotice not implemented")
  1943. }
  1944. func RegisterBusinessExtServer(s grpc.ServiceRegistrar, srv BusinessExtServer) {
  1945. s.RegisterService(&BusinessExt_ServiceDesc, srv)
  1946. }
  1947. func _BusinessExt_SignIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1948. in := new(SignInReq)
  1949. if err := dec(in); err != nil {
  1950. return nil, err
  1951. }
  1952. if interceptor == nil {
  1953. return srv.(BusinessExtServer).SignIn(ctx, in)
  1954. }
  1955. info := &grpc.UnaryServerInfo{
  1956. Server: srv,
  1957. FullMethod: "/pb.BusinessExt/SignIn",
  1958. }
  1959. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1960. return srv.(BusinessExtServer).SignIn(ctx, req.(*SignInReq))
  1961. }
  1962. return interceptor(ctx, in, info, handler)
  1963. }
  1964. func _BusinessExt_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1965. in := new(GetUserReq)
  1966. if err := dec(in); err != nil {
  1967. return nil, err
  1968. }
  1969. if interceptor == nil {
  1970. return srv.(BusinessExtServer).GetUser(ctx, in)
  1971. }
  1972. info := &grpc.UnaryServerInfo{
  1973. Server: srv,
  1974. FullMethod: "/pb.BusinessExt/GetUser",
  1975. }
  1976. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1977. return srv.(BusinessExtServer).GetUser(ctx, req.(*GetUserReq))
  1978. }
  1979. return interceptor(ctx, in, info, handler)
  1980. }
  1981. func _BusinessExt_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1982. in := new(UpdateUserReq)
  1983. if err := dec(in); err != nil {
  1984. return nil, err
  1985. }
  1986. if interceptor == nil {
  1987. return srv.(BusinessExtServer).UpdateUser(ctx, in)
  1988. }
  1989. info := &grpc.UnaryServerInfo{
  1990. Server: srv,
  1991. FullMethod: "/pb.BusinessExt/UpdateUser",
  1992. }
  1993. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1994. return srv.(BusinessExtServer).UpdateUser(ctx, req.(*UpdateUserReq))
  1995. }
  1996. return interceptor(ctx, in, info, handler)
  1997. }
  1998. func _BusinessExt_SearchUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1999. in := new(SearchUserReq)
  2000. if err := dec(in); err != nil {
  2001. return nil, err
  2002. }
  2003. if interceptor == nil {
  2004. return srv.(BusinessExtServer).SearchUser(ctx, in)
  2005. }
  2006. info := &grpc.UnaryServerInfo{
  2007. Server: srv,
  2008. FullMethod: "/pb.BusinessExt/SearchUser",
  2009. }
  2010. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2011. return srv.(BusinessExtServer).SearchUser(ctx, req.(*SearchUserReq))
  2012. }
  2013. return interceptor(ctx, in, info, handler)
  2014. }
  2015. func _BusinessExt_CloudUploadFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2016. in := new(CloudUploadFileReq)
  2017. if err := dec(in); err != nil {
  2018. return nil, err
  2019. }
  2020. if interceptor == nil {
  2021. return srv.(BusinessExtServer).CloudUploadFile(ctx, in)
  2022. }
  2023. info := &grpc.UnaryServerInfo{
  2024. Server: srv,
  2025. FullMethod: "/pb.BusinessExt/CloudUploadFile",
  2026. }
  2027. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2028. return srv.(BusinessExtServer).CloudUploadFile(ctx, req.(*CloudUploadFileReq))
  2029. }
  2030. return interceptor(ctx, in, info, handler)
  2031. }
  2032. func _BusinessExt_EmoticonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2033. in := new(Empty)
  2034. if err := dec(in); err != nil {
  2035. return nil, err
  2036. }
  2037. if interceptor == nil {
  2038. return srv.(BusinessExtServer).EmoticonList(ctx, in)
  2039. }
  2040. info := &grpc.UnaryServerInfo{
  2041. Server: srv,
  2042. FullMethod: "/pb.BusinessExt/EmoticonList",
  2043. }
  2044. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2045. return srv.(BusinessExtServer).EmoticonList(ctx, req.(*Empty))
  2046. }
  2047. return interceptor(ctx, in, info, handler)
  2048. }
  2049. func _BusinessExt_IsFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2050. in := new(IsFriendsReq)
  2051. if err := dec(in); err != nil {
  2052. return nil, err
  2053. }
  2054. if interceptor == nil {
  2055. return srv.(BusinessExtServer).IsFriends(ctx, in)
  2056. }
  2057. info := &grpc.UnaryServerInfo{
  2058. Server: srv,
  2059. FullMethod: "/pb.BusinessExt/IsFriends",
  2060. }
  2061. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2062. return srv.(BusinessExtServer).IsFriends(ctx, req.(*IsFriendsReq))
  2063. }
  2064. return interceptor(ctx, in, info, handler)
  2065. }
  2066. func _BusinessExt_ComplainGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2067. in := new(ComplainGroupReq)
  2068. if err := dec(in); err != nil {
  2069. return nil, err
  2070. }
  2071. if interceptor == nil {
  2072. return srv.(BusinessExtServer).ComplainGroup(ctx, in)
  2073. }
  2074. info := &grpc.UnaryServerInfo{
  2075. Server: srv,
  2076. FullMethod: "/pb.BusinessExt/ComplainGroup",
  2077. }
  2078. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2079. return srv.(BusinessExtServer).ComplainGroup(ctx, req.(*ComplainGroupReq))
  2080. }
  2081. return interceptor(ctx, in, info, handler)
  2082. }
  2083. func _BusinessExt_PublishGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2084. in := new(PublishGroupNoticeReq)
  2085. if err := dec(in); err != nil {
  2086. return nil, err
  2087. }
  2088. if interceptor == nil {
  2089. return srv.(BusinessExtServer).PublishGroupNotice(ctx, in)
  2090. }
  2091. info := &grpc.UnaryServerInfo{
  2092. Server: srv,
  2093. FullMethod: "/pb.BusinessExt/PublishGroupNotice",
  2094. }
  2095. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2096. return srv.(BusinessExtServer).PublishGroupNotice(ctx, req.(*PublishGroupNoticeReq))
  2097. }
  2098. return interceptor(ctx, in, info, handler)
  2099. }
  2100. func _BusinessExt_ViewGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2101. in := new(ViewGroupNoticeReq)
  2102. if err := dec(in); err != nil {
  2103. return nil, err
  2104. }
  2105. if interceptor == nil {
  2106. return srv.(BusinessExtServer).ViewGroupNotice(ctx, in)
  2107. }
  2108. info := &grpc.UnaryServerInfo{
  2109. Server: srv,
  2110. FullMethod: "/pb.BusinessExt/ViewGroupNotice",
  2111. }
  2112. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2113. return srv.(BusinessExtServer).ViewGroupNotice(ctx, req.(*ViewGroupNoticeReq))
  2114. }
  2115. return interceptor(ctx, in, info, handler)
  2116. }
  2117. func _BusinessExt_LikeGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2118. in := new(LikeGroupNoticeReq)
  2119. if err := dec(in); err != nil {
  2120. return nil, err
  2121. }
  2122. if interceptor == nil {
  2123. return srv.(BusinessExtServer).LikeGroupNotice(ctx, in)
  2124. }
  2125. info := &grpc.UnaryServerInfo{
  2126. Server: srv,
  2127. FullMethod: "/pb.BusinessExt/LikeGroupNotice",
  2128. }
  2129. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2130. return srv.(BusinessExtServer).LikeGroupNotice(ctx, req.(*LikeGroupNoticeReq))
  2131. }
  2132. return interceptor(ctx, in, info, handler)
  2133. }
  2134. func _BusinessExt_CancelLikeGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2135. in := new(CancelLikeGroupNoticeReq)
  2136. if err := dec(in); err != nil {
  2137. return nil, err
  2138. }
  2139. if interceptor == nil {
  2140. return srv.(BusinessExtServer).CancelLikeGroupNotice(ctx, in)
  2141. }
  2142. info := &grpc.UnaryServerInfo{
  2143. Server: srv,
  2144. FullMethod: "/pb.BusinessExt/CancelLikeGroupNotice",
  2145. }
  2146. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2147. return srv.(BusinessExtServer).CancelLikeGroupNotice(ctx, req.(*CancelLikeGroupNoticeReq))
  2148. }
  2149. return interceptor(ctx, in, info, handler)
  2150. }
  2151. // BusinessExt_ServiceDesc is the grpc.ServiceDesc for BusinessExt service.
  2152. // It's only intended for direct use with grpc.RegisterService,
  2153. // and not to be introspected or modified (even as a copy)
  2154. var BusinessExt_ServiceDesc = grpc.ServiceDesc{
  2155. ServiceName: "pb.BusinessExt",
  2156. HandlerType: (*BusinessExtServer)(nil),
  2157. Methods: []grpc.MethodDesc{
  2158. {
  2159. MethodName: "SignIn",
  2160. Handler: _BusinessExt_SignIn_Handler,
  2161. },
  2162. {
  2163. MethodName: "GetUser",
  2164. Handler: _BusinessExt_GetUser_Handler,
  2165. },
  2166. {
  2167. MethodName: "UpdateUser",
  2168. Handler: _BusinessExt_UpdateUser_Handler,
  2169. },
  2170. {
  2171. MethodName: "SearchUser",
  2172. Handler: _BusinessExt_SearchUser_Handler,
  2173. },
  2174. {
  2175. MethodName: "CloudUploadFile",
  2176. Handler: _BusinessExt_CloudUploadFile_Handler,
  2177. },
  2178. {
  2179. MethodName: "EmoticonList",
  2180. Handler: _BusinessExt_EmoticonList_Handler,
  2181. },
  2182. {
  2183. MethodName: "IsFriends",
  2184. Handler: _BusinessExt_IsFriends_Handler,
  2185. },
  2186. {
  2187. MethodName: "ComplainGroup",
  2188. Handler: _BusinessExt_ComplainGroup_Handler,
  2189. },
  2190. {
  2191. MethodName: "PublishGroupNotice",
  2192. Handler: _BusinessExt_PublishGroupNotice_Handler,
  2193. },
  2194. {
  2195. MethodName: "ViewGroupNotice",
  2196. Handler: _BusinessExt_ViewGroupNotice_Handler,
  2197. },
  2198. {
  2199. MethodName: "LikeGroupNotice",
  2200. Handler: _BusinessExt_LikeGroupNotice_Handler,
  2201. },
  2202. {
  2203. MethodName: "CancelLikeGroupNotice",
  2204. Handler: _BusinessExt_CancelLikeGroupNotice_Handler,
  2205. },
  2206. },
  2207. Streams: []grpc.StreamDesc{},
  2208. Metadata: "business.ext.proto",
  2209. }