golang 的 rabbitmq 消费项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

im.logic.ext.pb.go 124 KiB

1 jaar geleden
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.20.0--rc1
  5. // source: logic.ext.proto
  6. package pb
  7. import (
  8. "context"
  9. "google.golang.org/grpc"
  10. "google.golang.org/grpc/codes"
  11. "google.golang.org/grpc/status"
  12. "google.golang.org/protobuf/reflect/protoreflect"
  13. "google.golang.org/protobuf/runtime/protoimpl"
  14. "reflect"
  15. "sync"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type MemberType int32
  24. const (
  25. MemberType_GMT_UNKNOWN MemberType = 0 // 未知
  26. MemberType_GMT_ADMIN MemberType = 1 // 管理员
  27. MemberType_GMT_MEMBER MemberType = 2 // 成员
  28. )
  29. // Enum value maps for MemberType.
  30. var (
  31. MemberType_name = map[int32]string{
  32. 0: "GMT_UNKNOWN",
  33. 1: "GMT_ADMIN",
  34. 2: "GMT_MEMBER",
  35. }
  36. MemberType_value = map[string]int32{
  37. "GMT_UNKNOWN": 0,
  38. "GMT_ADMIN": 1,
  39. "GMT_MEMBER": 2,
  40. }
  41. )
  42. func (x MemberType) Enum() *MemberType {
  43. p := new(MemberType)
  44. *p = x
  45. return p
  46. }
  47. func (x MemberType) String() string {
  48. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  49. }
  50. func (MemberType) Descriptor() protoreflect.EnumDescriptor {
  51. return file_logic_ext_proto_enumTypes[0].Descriptor()
  52. }
  53. func (MemberType) Type() protoreflect.EnumType {
  54. return &file_logic_ext_proto_enumTypes[0]
  55. }
  56. func (x MemberType) Number() protoreflect.EnumNumber {
  57. return protoreflect.EnumNumber(x)
  58. }
  59. // Deprecated: Use MemberType.Descriptor instead.
  60. func (MemberType) EnumDescriptor() ([]byte, []int) {
  61. return file_logic_ext_proto_rawDescGZIP(), []int{0}
  62. }
  63. type RegisterDeviceReq struct {
  64. state protoimpl.MessageState
  65. sizeCache protoimpl.SizeCache
  66. unknownFields protoimpl.UnknownFields
  67. Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // 设备类型
  68. Brand string `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand,omitempty"` // 厂商
  69. Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` // 机型
  70. SystemVersion string `protobuf:"bytes,5,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"` // 系统版本
  71. SdkVersion string `protobuf:"bytes,6,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` // sdk版本号
  72. }
  73. func (x *RegisterDeviceReq) Reset() {
  74. *x = RegisterDeviceReq{}
  75. if protoimpl.UnsafeEnabled {
  76. mi := &file_logic_ext_proto_msgTypes[0]
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. ms.StoreMessageInfo(mi)
  79. }
  80. }
  81. func (x *RegisterDeviceReq) String() string {
  82. return protoimpl.X.MessageStringOf(x)
  83. }
  84. func (*RegisterDeviceReq) ProtoMessage() {}
  85. func (x *RegisterDeviceReq) ProtoReflect() protoreflect.Message {
  86. mi := &file_logic_ext_proto_msgTypes[0]
  87. if protoimpl.UnsafeEnabled && x != nil {
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. if ms.LoadMessageInfo() == nil {
  90. ms.StoreMessageInfo(mi)
  91. }
  92. return ms
  93. }
  94. return mi.MessageOf(x)
  95. }
  96. // Deprecated: Use RegisterDeviceReq.ProtoReflect.Descriptor instead.
  97. func (*RegisterDeviceReq) Descriptor() ([]byte, []int) {
  98. return file_logic_ext_proto_rawDescGZIP(), []int{0}
  99. }
  100. func (x *RegisterDeviceReq) GetType() int32 {
  101. if x != nil {
  102. return x.Type
  103. }
  104. return 0
  105. }
  106. func (x *RegisterDeviceReq) GetBrand() string {
  107. if x != nil {
  108. return x.Brand
  109. }
  110. return ""
  111. }
  112. func (x *RegisterDeviceReq) GetModel() string {
  113. if x != nil {
  114. return x.Model
  115. }
  116. return ""
  117. }
  118. func (x *RegisterDeviceReq) GetSystemVersion() string {
  119. if x != nil {
  120. return x.SystemVersion
  121. }
  122. return ""
  123. }
  124. func (x *RegisterDeviceReq) GetSdkVersion() string {
  125. if x != nil {
  126. return x.SdkVersion
  127. }
  128. return ""
  129. }
  130. type RegisterDeviceResp struct {
  131. state protoimpl.MessageState
  132. sizeCache protoimpl.SizeCache
  133. unknownFields protoimpl.UnknownFields
  134. DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  135. }
  136. func (x *RegisterDeviceResp) Reset() {
  137. *x = RegisterDeviceResp{}
  138. if protoimpl.UnsafeEnabled {
  139. mi := &file_logic_ext_proto_msgTypes[1]
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. ms.StoreMessageInfo(mi)
  142. }
  143. }
  144. func (x *RegisterDeviceResp) String() string {
  145. return protoimpl.X.MessageStringOf(x)
  146. }
  147. func (*RegisterDeviceResp) ProtoMessage() {}
  148. func (x *RegisterDeviceResp) ProtoReflect() protoreflect.Message {
  149. mi := &file_logic_ext_proto_msgTypes[1]
  150. if protoimpl.UnsafeEnabled && x != nil {
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. if ms.LoadMessageInfo() == nil {
  153. ms.StoreMessageInfo(mi)
  154. }
  155. return ms
  156. }
  157. return mi.MessageOf(x)
  158. }
  159. // Deprecated: Use RegisterDeviceResp.ProtoReflect.Descriptor instead.
  160. func (*RegisterDeviceResp) Descriptor() ([]byte, []int) {
  161. return file_logic_ext_proto_rawDescGZIP(), []int{1}
  162. }
  163. func (x *RegisterDeviceResp) GetDeviceId() int64 {
  164. if x != nil {
  165. return x.DeviceId
  166. }
  167. return 0
  168. }
  169. type SendMessageReq struct {
  170. state protoimpl.MessageState
  171. sizeCache protoimpl.SizeCache
  172. unknownFields protoimpl.UnknownFields
  173. ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  174. ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  175. ToUserIds []int64 `protobuf:"varint,3,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
  176. MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  177. MessageContent []byte `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  178. SendTime int64 `protobuf:"varint,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  179. IsPersist bool `protobuf:"varint,7,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化到数据库
  180. MessageContentBack string `protobuf:"bytes,8,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
  181. }
  182. func (x *SendMessageReq) Reset() {
  183. *x = SendMessageReq{}
  184. if protoimpl.UnsafeEnabled {
  185. mi := &file_logic_ext_proto_msgTypes[2]
  186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  187. ms.StoreMessageInfo(mi)
  188. }
  189. }
  190. func (x *SendMessageReq) String() string {
  191. return protoimpl.X.MessageStringOf(x)
  192. }
  193. func (*SendMessageReq) ProtoMessage() {}
  194. func (x *SendMessageReq) ProtoReflect() protoreflect.Message {
  195. mi := &file_logic_ext_proto_msgTypes[2]
  196. if protoimpl.UnsafeEnabled && x != nil {
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. if ms.LoadMessageInfo() == nil {
  199. ms.StoreMessageInfo(mi)
  200. }
  201. return ms
  202. }
  203. return mi.MessageOf(x)
  204. }
  205. // Deprecated: Use SendMessageReq.ProtoReflect.Descriptor instead.
  206. func (*SendMessageReq) Descriptor() ([]byte, []int) {
  207. return file_logic_ext_proto_rawDescGZIP(), []int{2}
  208. }
  209. func (x *SendMessageReq) GetReceiverType() ReceiverType {
  210. if x != nil {
  211. return x.ReceiverType
  212. }
  213. return ReceiverType_RT_UNKNOWN
  214. }
  215. func (x *SendMessageReq) GetReceiverId() int64 {
  216. if x != nil {
  217. return x.ReceiverId
  218. }
  219. return 0
  220. }
  221. func (x *SendMessageReq) GetToUserIds() []int64 {
  222. if x != nil {
  223. return x.ToUserIds
  224. }
  225. return nil
  226. }
  227. func (x *SendMessageReq) GetMessageType() MessageType {
  228. if x != nil {
  229. return x.MessageType
  230. }
  231. return MessageType_MT_UNKNOWN
  232. }
  233. func (x *SendMessageReq) GetMessageContent() []byte {
  234. if x != nil {
  235. return x.MessageContent
  236. }
  237. return nil
  238. }
  239. func (x *SendMessageReq) GetSendTime() int64 {
  240. if x != nil {
  241. return x.SendTime
  242. }
  243. return 0
  244. }
  245. func (x *SendMessageReq) GetIsPersist() bool {
  246. if x != nil {
  247. return x.IsPersist
  248. }
  249. return false
  250. }
  251. func (x *SendMessageReq) GetMessageContentBack() string {
  252. if x != nil {
  253. return x.MessageContentBack
  254. }
  255. return ""
  256. }
  257. type SendMessageResp struct {
  258. state protoimpl.MessageState
  259. sizeCache protoimpl.SizeCache
  260. unknownFields protoimpl.UnknownFields
  261. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
  262. }
  263. func (x *SendMessageResp) Reset() {
  264. *x = SendMessageResp{}
  265. if protoimpl.UnsafeEnabled {
  266. mi := &file_logic_ext_proto_msgTypes[3]
  267. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  268. ms.StoreMessageInfo(mi)
  269. }
  270. }
  271. func (x *SendMessageResp) String() string {
  272. return protoimpl.X.MessageStringOf(x)
  273. }
  274. func (*SendMessageResp) ProtoMessage() {}
  275. func (x *SendMessageResp) ProtoReflect() protoreflect.Message {
  276. mi := &file_logic_ext_proto_msgTypes[3]
  277. if protoimpl.UnsafeEnabled && x != nil {
  278. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  279. if ms.LoadMessageInfo() == nil {
  280. ms.StoreMessageInfo(mi)
  281. }
  282. return ms
  283. }
  284. return mi.MessageOf(x)
  285. }
  286. // Deprecated: Use SendMessageResp.ProtoReflect.Descriptor instead.
  287. func (*SendMessageResp) Descriptor() ([]byte, []int) {
  288. return file_logic_ext_proto_rawDescGZIP(), []int{3}
  289. }
  290. func (x *SendMessageResp) GetSeq() int64 {
  291. if x != nil {
  292. return x.Seq
  293. }
  294. return 0
  295. }
  296. type RecallMessageReq struct {
  297. state protoimpl.MessageState
  298. sizeCache protoimpl.SizeCache
  299. unknownFields protoimpl.UnknownFields
  300. ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  301. ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  302. ToUserIds []int64 `protobuf:"varint,3,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
  303. MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  304. MessageContent []byte `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  305. SendTime int64 `protobuf:"varint,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  306. IsPersist bool `protobuf:"varint,7,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化到数据库
  307. MessageContentBack string `protobuf:"bytes,8,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
  308. }
  309. func (x *RecallMessageReq) Reset() {
  310. *x = RecallMessageReq{}
  311. if protoimpl.UnsafeEnabled {
  312. mi := &file_logic_ext_proto_msgTypes[4]
  313. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  314. ms.StoreMessageInfo(mi)
  315. }
  316. }
  317. func (x *RecallMessageReq) String() string {
  318. return protoimpl.X.MessageStringOf(x)
  319. }
  320. func (*RecallMessageReq) ProtoMessage() {}
  321. func (x *RecallMessageReq) ProtoReflect() protoreflect.Message {
  322. mi := &file_logic_ext_proto_msgTypes[4]
  323. if protoimpl.UnsafeEnabled && x != nil {
  324. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  325. if ms.LoadMessageInfo() == nil {
  326. ms.StoreMessageInfo(mi)
  327. }
  328. return ms
  329. }
  330. return mi.MessageOf(x)
  331. }
  332. // Deprecated: Use RecallMessageReq.ProtoReflect.Descriptor instead.
  333. func (*RecallMessageReq) Descriptor() ([]byte, []int) {
  334. return file_logic_ext_proto_rawDescGZIP(), []int{4}
  335. }
  336. func (x *RecallMessageReq) GetReceiverType() ReceiverType {
  337. if x != nil {
  338. return x.ReceiverType
  339. }
  340. return ReceiverType_RT_UNKNOWN
  341. }
  342. func (x *RecallMessageReq) GetReceiverId() int64 {
  343. if x != nil {
  344. return x.ReceiverId
  345. }
  346. return 0
  347. }
  348. func (x *RecallMessageReq) GetToUserIds() []int64 {
  349. if x != nil {
  350. return x.ToUserIds
  351. }
  352. return nil
  353. }
  354. func (x *RecallMessageReq) GetMessageType() MessageType {
  355. if x != nil {
  356. return x.MessageType
  357. }
  358. return MessageType_MT_UNKNOWN
  359. }
  360. func (x *RecallMessageReq) GetMessageContent() []byte {
  361. if x != nil {
  362. return x.MessageContent
  363. }
  364. return nil
  365. }
  366. func (x *RecallMessageReq) GetSendTime() int64 {
  367. if x != nil {
  368. return x.SendTime
  369. }
  370. return 0
  371. }
  372. func (x *RecallMessageReq) GetIsPersist() bool {
  373. if x != nil {
  374. return x.IsPersist
  375. }
  376. return false
  377. }
  378. func (x *RecallMessageReq) GetMessageContentBack() string {
  379. if x != nil {
  380. return x.MessageContentBack
  381. }
  382. return ""
  383. }
  384. type RecallMessageResp struct {
  385. state protoimpl.MessageState
  386. sizeCache protoimpl.SizeCache
  387. unknownFields protoimpl.UnknownFields
  388. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
  389. }
  390. func (x *RecallMessageResp) Reset() {
  391. *x = RecallMessageResp{}
  392. if protoimpl.UnsafeEnabled {
  393. mi := &file_logic_ext_proto_msgTypes[5]
  394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  395. ms.StoreMessageInfo(mi)
  396. }
  397. }
  398. func (x *RecallMessageResp) String() string {
  399. return protoimpl.X.MessageStringOf(x)
  400. }
  401. func (*RecallMessageResp) ProtoMessage() {}
  402. func (x *RecallMessageResp) ProtoReflect() protoreflect.Message {
  403. mi := &file_logic_ext_proto_msgTypes[5]
  404. if protoimpl.UnsafeEnabled && x != nil {
  405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  406. if ms.LoadMessageInfo() == nil {
  407. ms.StoreMessageInfo(mi)
  408. }
  409. return ms
  410. }
  411. return mi.MessageOf(x)
  412. }
  413. // Deprecated: Use RecallMessageResp.ProtoReflect.Descriptor instead.
  414. func (*RecallMessageResp) Descriptor() ([]byte, []int) {
  415. return file_logic_ext_proto_rawDescGZIP(), []int{5}
  416. }
  417. func (x *RecallMessageResp) GetSeq() int64 {
  418. if x != nil {
  419. return x.Seq
  420. }
  421. return 0
  422. }
  423. type SendRedPacketReq struct {
  424. state protoimpl.MessageState
  425. sizeCache protoimpl.SizeCache
  426. unknownFields protoimpl.UnknownFields
  427. ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  428. ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  429. MessageType MessageType `protobuf:"varint,3,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  430. MessageContent []byte `protobuf:"bytes,4,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  431. SendTime int64 `protobuf:"varint,5,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  432. ToUserIds []int64 `protobuf:"varint,6,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 红包给到哪些用户(专属红包)
  433. MessageContentBack string `protobuf:"bytes,7,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
  434. }
  435. func (x *SendRedPacketReq) Reset() {
  436. *x = SendRedPacketReq{}
  437. if protoimpl.UnsafeEnabled {
  438. mi := &file_logic_ext_proto_msgTypes[6]
  439. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  440. ms.StoreMessageInfo(mi)
  441. }
  442. }
  443. func (x *SendRedPacketReq) String() string {
  444. return protoimpl.X.MessageStringOf(x)
  445. }
  446. func (*SendRedPacketReq) ProtoMessage() {}
  447. func (x *SendRedPacketReq) ProtoReflect() protoreflect.Message {
  448. mi := &file_logic_ext_proto_msgTypes[6]
  449. if protoimpl.UnsafeEnabled && x != nil {
  450. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  451. if ms.LoadMessageInfo() == nil {
  452. ms.StoreMessageInfo(mi)
  453. }
  454. return ms
  455. }
  456. return mi.MessageOf(x)
  457. }
  458. // Deprecated: Use SendRedPacketReq.ProtoReflect.Descriptor instead.
  459. func (*SendRedPacketReq) Descriptor() ([]byte, []int) {
  460. return file_logic_ext_proto_rawDescGZIP(), []int{6}
  461. }
  462. func (x *SendRedPacketReq) GetReceiverType() ReceiverType {
  463. if x != nil {
  464. return x.ReceiverType
  465. }
  466. return ReceiverType_RT_UNKNOWN
  467. }
  468. func (x *SendRedPacketReq) GetReceiverId() int64 {
  469. if x != nil {
  470. return x.ReceiverId
  471. }
  472. return 0
  473. }
  474. func (x *SendRedPacketReq) GetMessageType() MessageType {
  475. if x != nil {
  476. return x.MessageType
  477. }
  478. return MessageType_MT_UNKNOWN
  479. }
  480. func (x *SendRedPacketReq) GetMessageContent() []byte {
  481. if x != nil {
  482. return x.MessageContent
  483. }
  484. return nil
  485. }
  486. func (x *SendRedPacketReq) GetSendTime() int64 {
  487. if x != nil {
  488. return x.SendTime
  489. }
  490. return 0
  491. }
  492. func (x *SendRedPacketReq) GetToUserIds() []int64 {
  493. if x != nil {
  494. return x.ToUserIds
  495. }
  496. return nil
  497. }
  498. func (x *SendRedPacketReq) GetMessageContentBack() string {
  499. if x != nil {
  500. return x.MessageContentBack
  501. }
  502. return ""
  503. }
  504. type SendRedPacketResp struct {
  505. state protoimpl.MessageState
  506. sizeCache protoimpl.SizeCache
  507. unknownFields protoimpl.UnknownFields
  508. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
  509. }
  510. func (x *SendRedPacketResp) Reset() {
  511. *x = SendRedPacketResp{}
  512. if protoimpl.UnsafeEnabled {
  513. mi := &file_logic_ext_proto_msgTypes[7]
  514. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  515. ms.StoreMessageInfo(mi)
  516. }
  517. }
  518. func (x *SendRedPacketResp) String() string {
  519. return protoimpl.X.MessageStringOf(x)
  520. }
  521. func (*SendRedPacketResp) ProtoMessage() {}
  522. func (x *SendRedPacketResp) ProtoReflect() protoreflect.Message {
  523. mi := &file_logic_ext_proto_msgTypes[7]
  524. if protoimpl.UnsafeEnabled && x != nil {
  525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  526. if ms.LoadMessageInfo() == nil {
  527. ms.StoreMessageInfo(mi)
  528. }
  529. return ms
  530. }
  531. return mi.MessageOf(x)
  532. }
  533. // Deprecated: Use SendRedPacketResp.ProtoReflect.Descriptor instead.
  534. func (*SendRedPacketResp) Descriptor() ([]byte, []int) {
  535. return file_logic_ext_proto_rawDescGZIP(), []int{7}
  536. }
  537. func (x *SendRedPacketResp) GetSeq() int64 {
  538. if x != nil {
  539. return x.Seq
  540. }
  541. return 0
  542. }
  543. type PushRoomReq struct {
  544. state protoimpl.MessageState
  545. sizeCache protoimpl.SizeCache
  546. unknownFields protoimpl.UnknownFields
  547. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间id
  548. MessageType MessageType `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  549. MessageContent []byte `protobuf:"bytes,3,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  550. SendTime int64 `protobuf:"varint,4,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  551. IsPersist bool `protobuf:"varint,5,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化
  552. IsPriority bool `protobuf:"varint,6,opt,name=is_priority,json=isPriority,proto3" json:"is_priority,omitempty"` // 是否优先推送
  553. }
  554. func (x *PushRoomReq) Reset() {
  555. *x = PushRoomReq{}
  556. if protoimpl.UnsafeEnabled {
  557. mi := &file_logic_ext_proto_msgTypes[8]
  558. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  559. ms.StoreMessageInfo(mi)
  560. }
  561. }
  562. func (x *PushRoomReq) String() string {
  563. return protoimpl.X.MessageStringOf(x)
  564. }
  565. func (*PushRoomReq) ProtoMessage() {}
  566. func (x *PushRoomReq) ProtoReflect() protoreflect.Message {
  567. mi := &file_logic_ext_proto_msgTypes[8]
  568. if protoimpl.UnsafeEnabled && x != nil {
  569. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  570. if ms.LoadMessageInfo() == nil {
  571. ms.StoreMessageInfo(mi)
  572. }
  573. return ms
  574. }
  575. return mi.MessageOf(x)
  576. }
  577. // Deprecated: Use PushRoomReq.ProtoReflect.Descriptor instead.
  578. func (*PushRoomReq) Descriptor() ([]byte, []int) {
  579. return file_logic_ext_proto_rawDescGZIP(), []int{8}
  580. }
  581. func (x *PushRoomReq) GetRoomId() int64 {
  582. if x != nil {
  583. return x.RoomId
  584. }
  585. return 0
  586. }
  587. func (x *PushRoomReq) GetMessageType() MessageType {
  588. if x != nil {
  589. return x.MessageType
  590. }
  591. return MessageType_MT_UNKNOWN
  592. }
  593. func (x *PushRoomReq) GetMessageContent() []byte {
  594. if x != nil {
  595. return x.MessageContent
  596. }
  597. return nil
  598. }
  599. func (x *PushRoomReq) GetSendTime() int64 {
  600. if x != nil {
  601. return x.SendTime
  602. }
  603. return 0
  604. }
  605. func (x *PushRoomReq) GetIsPersist() bool {
  606. if x != nil {
  607. return x.IsPersist
  608. }
  609. return false
  610. }
  611. func (x *PushRoomReq) GetIsPriority() bool {
  612. if x != nil {
  613. return x.IsPriority
  614. }
  615. return false
  616. }
  617. type AddFriendReq struct {
  618. state protoimpl.MessageState
  619. sizeCache protoimpl.SizeCache
  620. unknownFields protoimpl.UnknownFields
  621. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 用户id
  622. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  623. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 描述
  624. }
  625. func (x *AddFriendReq) Reset() {
  626. *x = AddFriendReq{}
  627. if protoimpl.UnsafeEnabled {
  628. mi := &file_logic_ext_proto_msgTypes[9]
  629. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  630. ms.StoreMessageInfo(mi)
  631. }
  632. }
  633. func (x *AddFriendReq) String() string {
  634. return protoimpl.X.MessageStringOf(x)
  635. }
  636. func (*AddFriendReq) ProtoMessage() {}
  637. func (x *AddFriendReq) ProtoReflect() protoreflect.Message {
  638. mi := &file_logic_ext_proto_msgTypes[9]
  639. if protoimpl.UnsafeEnabled && x != nil {
  640. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  641. if ms.LoadMessageInfo() == nil {
  642. ms.StoreMessageInfo(mi)
  643. }
  644. return ms
  645. }
  646. return mi.MessageOf(x)
  647. }
  648. // Deprecated: Use AddFriendReq.ProtoReflect.Descriptor instead.
  649. func (*AddFriendReq) Descriptor() ([]byte, []int) {
  650. return file_logic_ext_proto_rawDescGZIP(), []int{9}
  651. }
  652. func (x *AddFriendReq) GetFriendId() int64 {
  653. if x != nil {
  654. return x.FriendId
  655. }
  656. return 0
  657. }
  658. func (x *AddFriendReq) GetRemarks() string {
  659. if x != nil {
  660. return x.Remarks
  661. }
  662. return ""
  663. }
  664. func (x *AddFriendReq) GetDescription() string {
  665. if x != nil {
  666. return x.Description
  667. }
  668. return ""
  669. }
  670. type DeleteFriendReq struct {
  671. state protoimpl.MessageState
  672. sizeCache protoimpl.SizeCache
  673. unknownFields protoimpl.UnknownFields
  674. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  675. }
  676. func (x *DeleteFriendReq) Reset() {
  677. *x = DeleteFriendReq{}
  678. if protoimpl.UnsafeEnabled {
  679. mi := &file_logic_ext_proto_msgTypes[10]
  680. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  681. ms.StoreMessageInfo(mi)
  682. }
  683. }
  684. func (x *DeleteFriendReq) String() string {
  685. return protoimpl.X.MessageStringOf(x)
  686. }
  687. func (*DeleteFriendReq) ProtoMessage() {}
  688. func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message {
  689. mi := &file_logic_ext_proto_msgTypes[10]
  690. if protoimpl.UnsafeEnabled && x != nil {
  691. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  692. if ms.LoadMessageInfo() == nil {
  693. ms.StoreMessageInfo(mi)
  694. }
  695. return ms
  696. }
  697. return mi.MessageOf(x)
  698. }
  699. // Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead.
  700. func (*DeleteFriendReq) Descriptor() ([]byte, []int) {
  701. return file_logic_ext_proto_rawDescGZIP(), []int{10}
  702. }
  703. func (x *DeleteFriendReq) GetUserId() int64 {
  704. if x != nil {
  705. return x.UserId
  706. }
  707. return 0
  708. }
  709. type AgreeAddFriendReq struct {
  710. state protoimpl.MessageState
  711. sizeCache protoimpl.SizeCache
  712. unknownFields protoimpl.UnknownFields
  713. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  714. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  715. }
  716. func (x *AgreeAddFriendReq) Reset() {
  717. *x = AgreeAddFriendReq{}
  718. if protoimpl.UnsafeEnabled {
  719. mi := &file_logic_ext_proto_msgTypes[11]
  720. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  721. ms.StoreMessageInfo(mi)
  722. }
  723. }
  724. func (x *AgreeAddFriendReq) String() string {
  725. return protoimpl.X.MessageStringOf(x)
  726. }
  727. func (*AgreeAddFriendReq) ProtoMessage() {}
  728. func (x *AgreeAddFriendReq) ProtoReflect() protoreflect.Message {
  729. mi := &file_logic_ext_proto_msgTypes[11]
  730. if protoimpl.UnsafeEnabled && x != nil {
  731. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  732. if ms.LoadMessageInfo() == nil {
  733. ms.StoreMessageInfo(mi)
  734. }
  735. return ms
  736. }
  737. return mi.MessageOf(x)
  738. }
  739. // Deprecated: Use AgreeAddFriendReq.ProtoReflect.Descriptor instead.
  740. func (*AgreeAddFriendReq) Descriptor() ([]byte, []int) {
  741. return file_logic_ext_proto_rawDescGZIP(), []int{11}
  742. }
  743. func (x *AgreeAddFriendReq) GetUserId() int64 {
  744. if x != nil {
  745. return x.UserId
  746. }
  747. return 0
  748. }
  749. func (x *AgreeAddFriendReq) GetRemarks() string {
  750. if x != nil {
  751. return x.Remarks
  752. }
  753. return ""
  754. }
  755. type SetFriendReq struct {
  756. state protoimpl.MessageState
  757. sizeCache protoimpl.SizeCache
  758. unknownFields protoimpl.UnknownFields
  759. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  760. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  761. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  762. }
  763. func (x *SetFriendReq) Reset() {
  764. *x = SetFriendReq{}
  765. if protoimpl.UnsafeEnabled {
  766. mi := &file_logic_ext_proto_msgTypes[12]
  767. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  768. ms.StoreMessageInfo(mi)
  769. }
  770. }
  771. func (x *SetFriendReq) String() string {
  772. return protoimpl.X.MessageStringOf(x)
  773. }
  774. func (*SetFriendReq) ProtoMessage() {}
  775. func (x *SetFriendReq) ProtoReflect() protoreflect.Message {
  776. mi := &file_logic_ext_proto_msgTypes[12]
  777. if protoimpl.UnsafeEnabled && x != nil {
  778. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  779. if ms.LoadMessageInfo() == nil {
  780. ms.StoreMessageInfo(mi)
  781. }
  782. return ms
  783. }
  784. return mi.MessageOf(x)
  785. }
  786. // Deprecated: Use SetFriendReq.ProtoReflect.Descriptor instead.
  787. func (*SetFriendReq) Descriptor() ([]byte, []int) {
  788. return file_logic_ext_proto_rawDescGZIP(), []int{12}
  789. }
  790. func (x *SetFriendReq) GetFriendId() int64 {
  791. if x != nil {
  792. return x.FriendId
  793. }
  794. return 0
  795. }
  796. func (x *SetFriendReq) GetRemarks() string {
  797. if x != nil {
  798. return x.Remarks
  799. }
  800. return ""
  801. }
  802. func (x *SetFriendReq) GetExtra() string {
  803. if x != nil {
  804. return x.Extra
  805. }
  806. return ""
  807. }
  808. type SetFriendResp struct {
  809. state protoimpl.MessageState
  810. sizeCache protoimpl.SizeCache
  811. unknownFields protoimpl.UnknownFields
  812. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  813. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  814. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  815. }
  816. func (x *SetFriendResp) Reset() {
  817. *x = SetFriendResp{}
  818. if protoimpl.UnsafeEnabled {
  819. mi := &file_logic_ext_proto_msgTypes[13]
  820. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  821. ms.StoreMessageInfo(mi)
  822. }
  823. }
  824. func (x *SetFriendResp) String() string {
  825. return protoimpl.X.MessageStringOf(x)
  826. }
  827. func (*SetFriendResp) ProtoMessage() {}
  828. func (x *SetFriendResp) ProtoReflect() protoreflect.Message {
  829. mi := &file_logic_ext_proto_msgTypes[13]
  830. if protoimpl.UnsafeEnabled && x != nil {
  831. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  832. if ms.LoadMessageInfo() == nil {
  833. ms.StoreMessageInfo(mi)
  834. }
  835. return ms
  836. }
  837. return mi.MessageOf(x)
  838. }
  839. // Deprecated: Use SetFriendResp.ProtoReflect.Descriptor instead.
  840. func (*SetFriendResp) Descriptor() ([]byte, []int) {
  841. return file_logic_ext_proto_rawDescGZIP(), []int{13}
  842. }
  843. func (x *SetFriendResp) GetFriendId() int64 {
  844. if x != nil {
  845. return x.FriendId
  846. }
  847. return 0
  848. }
  849. func (x *SetFriendResp) GetRemarks() string {
  850. if x != nil {
  851. return x.Remarks
  852. }
  853. return ""
  854. }
  855. func (x *SetFriendResp) GetExtra() string {
  856. if x != nil {
  857. return x.Extra
  858. }
  859. return ""
  860. }
  861. type Friend struct {
  862. state protoimpl.MessageState
  863. sizeCache protoimpl.SizeCache
  864. unknownFields protoimpl.UnknownFields
  865. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  866. PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 电话号码
  867. Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  868. Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  869. AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  870. UserExtra string `protobuf:"bytes,6,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
  871. Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  872. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  873. }
  874. func (x *Friend) Reset() {
  875. *x = Friend{}
  876. if protoimpl.UnsafeEnabled {
  877. mi := &file_logic_ext_proto_msgTypes[14]
  878. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  879. ms.StoreMessageInfo(mi)
  880. }
  881. }
  882. func (x *Friend) String() string {
  883. return protoimpl.X.MessageStringOf(x)
  884. }
  885. func (*Friend) ProtoMessage() {}
  886. func (x *Friend) ProtoReflect() protoreflect.Message {
  887. mi := &file_logic_ext_proto_msgTypes[14]
  888. if protoimpl.UnsafeEnabled && x != nil {
  889. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  890. if ms.LoadMessageInfo() == nil {
  891. ms.StoreMessageInfo(mi)
  892. }
  893. return ms
  894. }
  895. return mi.MessageOf(x)
  896. }
  897. // Deprecated: Use Friend.ProtoReflect.Descriptor instead.
  898. func (*Friend) Descriptor() ([]byte, []int) {
  899. return file_logic_ext_proto_rawDescGZIP(), []int{14}
  900. }
  901. func (x *Friend) GetUserId() int64 {
  902. if x != nil {
  903. return x.UserId
  904. }
  905. return 0
  906. }
  907. func (x *Friend) GetPhoneNumber() string {
  908. if x != nil {
  909. return x.PhoneNumber
  910. }
  911. return ""
  912. }
  913. func (x *Friend) GetNickname() string {
  914. if x != nil {
  915. return x.Nickname
  916. }
  917. return ""
  918. }
  919. func (x *Friend) GetSex() int32 {
  920. if x != nil {
  921. return x.Sex
  922. }
  923. return 0
  924. }
  925. func (x *Friend) GetAvatarUrl() string {
  926. if x != nil {
  927. return x.AvatarUrl
  928. }
  929. return ""
  930. }
  931. func (x *Friend) GetUserExtra() string {
  932. if x != nil {
  933. return x.UserExtra
  934. }
  935. return ""
  936. }
  937. func (x *Friend) GetRemarks() string {
  938. if x != nil {
  939. return x.Remarks
  940. }
  941. return ""
  942. }
  943. func (x *Friend) GetExtra() string {
  944. if x != nil {
  945. return x.Extra
  946. }
  947. return ""
  948. }
  949. type GetFriendsResp struct {
  950. state protoimpl.MessageState
  951. sizeCache protoimpl.SizeCache
  952. unknownFields protoimpl.UnknownFields
  953. Friends []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"`
  954. }
  955. func (x *GetFriendsResp) Reset() {
  956. *x = GetFriendsResp{}
  957. if protoimpl.UnsafeEnabled {
  958. mi := &file_logic_ext_proto_msgTypes[15]
  959. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  960. ms.StoreMessageInfo(mi)
  961. }
  962. }
  963. func (x *GetFriendsResp) String() string {
  964. return protoimpl.X.MessageStringOf(x)
  965. }
  966. func (*GetFriendsResp) ProtoMessage() {}
  967. func (x *GetFriendsResp) ProtoReflect() protoreflect.Message {
  968. mi := &file_logic_ext_proto_msgTypes[15]
  969. if protoimpl.UnsafeEnabled && x != nil {
  970. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  971. if ms.LoadMessageInfo() == nil {
  972. ms.StoreMessageInfo(mi)
  973. }
  974. return ms
  975. }
  976. return mi.MessageOf(x)
  977. }
  978. // Deprecated: Use GetFriendsResp.ProtoReflect.Descriptor instead.
  979. func (*GetFriendsResp) Descriptor() ([]byte, []int) {
  980. return file_logic_ext_proto_rawDescGZIP(), []int{15}
  981. }
  982. func (x *GetFriendsResp) GetFriends() []*Friend {
  983. if x != nil {
  984. return x.Friends
  985. }
  986. return nil
  987. }
  988. type CreateGroupReq struct {
  989. state protoimpl.MessageState
  990. sizeCache protoimpl.SizeCache
  991. unknownFields protoimpl.UnknownFields
  992. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
  993. AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  994. Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  995. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  996. MemberIds []int64 `protobuf:"varint,5,rep,packed,name=member_ids,json=memberIds,proto3" json:"member_ids,omitempty"` // 群组成员ID列表
  997. }
  998. func (x *CreateGroupReq) Reset() {
  999. *x = CreateGroupReq{}
  1000. if protoimpl.UnsafeEnabled {
  1001. mi := &file_logic_ext_proto_msgTypes[16]
  1002. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1003. ms.StoreMessageInfo(mi)
  1004. }
  1005. }
  1006. func (x *CreateGroupReq) String() string {
  1007. return protoimpl.X.MessageStringOf(x)
  1008. }
  1009. func (*CreateGroupReq) ProtoMessage() {}
  1010. func (x *CreateGroupReq) ProtoReflect() protoreflect.Message {
  1011. mi := &file_logic_ext_proto_msgTypes[16]
  1012. if protoimpl.UnsafeEnabled && x != nil {
  1013. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1014. if ms.LoadMessageInfo() == nil {
  1015. ms.StoreMessageInfo(mi)
  1016. }
  1017. return ms
  1018. }
  1019. return mi.MessageOf(x)
  1020. }
  1021. // Deprecated: Use CreateGroupReq.ProtoReflect.Descriptor instead.
  1022. func (*CreateGroupReq) Descriptor() ([]byte, []int) {
  1023. return file_logic_ext_proto_rawDescGZIP(), []int{16}
  1024. }
  1025. func (x *CreateGroupReq) GetName() string {
  1026. if x != nil {
  1027. return x.Name
  1028. }
  1029. return ""
  1030. }
  1031. func (x *CreateGroupReq) GetAvatarUrl() string {
  1032. if x != nil {
  1033. return x.AvatarUrl
  1034. }
  1035. return ""
  1036. }
  1037. func (x *CreateGroupReq) GetIntroduction() string {
  1038. if x != nil {
  1039. return x.Introduction
  1040. }
  1041. return ""
  1042. }
  1043. func (x *CreateGroupReq) GetExtra() string {
  1044. if x != nil {
  1045. return x.Extra
  1046. }
  1047. return ""
  1048. }
  1049. func (x *CreateGroupReq) GetMemberIds() []int64 {
  1050. if x != nil {
  1051. return x.MemberIds
  1052. }
  1053. return nil
  1054. }
  1055. type CreateGroupResp struct {
  1056. state protoimpl.MessageState
  1057. sizeCache protoimpl.SizeCache
  1058. unknownFields protoimpl.UnknownFields
  1059. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1060. }
  1061. func (x *CreateGroupResp) Reset() {
  1062. *x = CreateGroupResp{}
  1063. if protoimpl.UnsafeEnabled {
  1064. mi := &file_logic_ext_proto_msgTypes[17]
  1065. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1066. ms.StoreMessageInfo(mi)
  1067. }
  1068. }
  1069. func (x *CreateGroupResp) String() string {
  1070. return protoimpl.X.MessageStringOf(x)
  1071. }
  1072. func (*CreateGroupResp) ProtoMessage() {}
  1073. func (x *CreateGroupResp) ProtoReflect() protoreflect.Message {
  1074. mi := &file_logic_ext_proto_msgTypes[17]
  1075. if protoimpl.UnsafeEnabled && x != nil {
  1076. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1077. if ms.LoadMessageInfo() == nil {
  1078. ms.StoreMessageInfo(mi)
  1079. }
  1080. return ms
  1081. }
  1082. return mi.MessageOf(x)
  1083. }
  1084. // Deprecated: Use CreateGroupResp.ProtoReflect.Descriptor instead.
  1085. func (*CreateGroupResp) Descriptor() ([]byte, []int) {
  1086. return file_logic_ext_proto_rawDescGZIP(), []int{17}
  1087. }
  1088. func (x *CreateGroupResp) GetGroupId() int64 {
  1089. if x != nil {
  1090. return x.GroupId
  1091. }
  1092. return 0
  1093. }
  1094. type UpdateGroupReq struct {
  1095. state protoimpl.MessageState
  1096. sizeCache protoimpl.SizeCache
  1097. unknownFields protoimpl.UnknownFields
  1098. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1099. AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  1100. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1101. Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  1102. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1103. }
  1104. func (x *UpdateGroupReq) Reset() {
  1105. *x = UpdateGroupReq{}
  1106. if protoimpl.UnsafeEnabled {
  1107. mi := &file_logic_ext_proto_msgTypes[18]
  1108. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1109. ms.StoreMessageInfo(mi)
  1110. }
  1111. }
  1112. func (x *UpdateGroupReq) String() string {
  1113. return protoimpl.X.MessageStringOf(x)
  1114. }
  1115. func (*UpdateGroupReq) ProtoMessage() {}
  1116. func (x *UpdateGroupReq) ProtoReflect() protoreflect.Message {
  1117. mi := &file_logic_ext_proto_msgTypes[18]
  1118. if protoimpl.UnsafeEnabled && x != nil {
  1119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1120. if ms.LoadMessageInfo() == nil {
  1121. ms.StoreMessageInfo(mi)
  1122. }
  1123. return ms
  1124. }
  1125. return mi.MessageOf(x)
  1126. }
  1127. // Deprecated: Use UpdateGroupReq.ProtoReflect.Descriptor instead.
  1128. func (*UpdateGroupReq) Descriptor() ([]byte, []int) {
  1129. return file_logic_ext_proto_rawDescGZIP(), []int{18}
  1130. }
  1131. func (x *UpdateGroupReq) GetGroupId() int64 {
  1132. if x != nil {
  1133. return x.GroupId
  1134. }
  1135. return 0
  1136. }
  1137. func (x *UpdateGroupReq) GetAvatarUrl() string {
  1138. if x != nil {
  1139. return x.AvatarUrl
  1140. }
  1141. return ""
  1142. }
  1143. func (x *UpdateGroupReq) GetName() string {
  1144. if x != nil {
  1145. return x.Name
  1146. }
  1147. return ""
  1148. }
  1149. func (x *UpdateGroupReq) GetIntroduction() string {
  1150. if x != nil {
  1151. return x.Introduction
  1152. }
  1153. return ""
  1154. }
  1155. func (x *UpdateGroupReq) GetExtra() string {
  1156. if x != nil {
  1157. return x.Extra
  1158. }
  1159. return ""
  1160. }
  1161. type GetGroupReq struct {
  1162. state protoimpl.MessageState
  1163. sizeCache protoimpl.SizeCache
  1164. unknownFields protoimpl.UnknownFields
  1165. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  1166. }
  1167. func (x *GetGroupReq) Reset() {
  1168. *x = GetGroupReq{}
  1169. if protoimpl.UnsafeEnabled {
  1170. mi := &file_logic_ext_proto_msgTypes[19]
  1171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1172. ms.StoreMessageInfo(mi)
  1173. }
  1174. }
  1175. func (x *GetGroupReq) String() string {
  1176. return protoimpl.X.MessageStringOf(x)
  1177. }
  1178. func (*GetGroupReq) ProtoMessage() {}
  1179. func (x *GetGroupReq) ProtoReflect() protoreflect.Message {
  1180. mi := &file_logic_ext_proto_msgTypes[19]
  1181. if protoimpl.UnsafeEnabled && x != nil {
  1182. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1183. if ms.LoadMessageInfo() == nil {
  1184. ms.StoreMessageInfo(mi)
  1185. }
  1186. return ms
  1187. }
  1188. return mi.MessageOf(x)
  1189. }
  1190. // Deprecated: Use GetGroupReq.ProtoReflect.Descriptor instead.
  1191. func (*GetGroupReq) Descriptor() ([]byte, []int) {
  1192. return file_logic_ext_proto_rawDescGZIP(), []int{19}
  1193. }
  1194. func (x *GetGroupReq) GetGroupId() int64 {
  1195. if x != nil {
  1196. return x.GroupId
  1197. }
  1198. return 0
  1199. }
  1200. type GetGroupResp struct {
  1201. state protoimpl.MessageState
  1202. sizeCache protoimpl.SizeCache
  1203. unknownFields protoimpl.UnknownFields
  1204. Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
  1205. }
  1206. func (x *GetGroupResp) Reset() {
  1207. *x = GetGroupResp{}
  1208. if protoimpl.UnsafeEnabled {
  1209. mi := &file_logic_ext_proto_msgTypes[20]
  1210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1211. ms.StoreMessageInfo(mi)
  1212. }
  1213. }
  1214. func (x *GetGroupResp) String() string {
  1215. return protoimpl.X.MessageStringOf(x)
  1216. }
  1217. func (*GetGroupResp) ProtoMessage() {}
  1218. func (x *GetGroupResp) ProtoReflect() protoreflect.Message {
  1219. mi := &file_logic_ext_proto_msgTypes[20]
  1220. if protoimpl.UnsafeEnabled && x != nil {
  1221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1222. if ms.LoadMessageInfo() == nil {
  1223. ms.StoreMessageInfo(mi)
  1224. }
  1225. return ms
  1226. }
  1227. return mi.MessageOf(x)
  1228. }
  1229. // Deprecated: Use GetGroupResp.ProtoReflect.Descriptor instead.
  1230. func (*GetGroupResp) Descriptor() ([]byte, []int) {
  1231. return file_logic_ext_proto_rawDescGZIP(), []int{20}
  1232. }
  1233. func (x *GetGroupResp) GetGroup() *Group {
  1234. if x != nil {
  1235. return x.Group
  1236. }
  1237. return nil
  1238. }
  1239. type Group struct {
  1240. state protoimpl.MessageState
  1241. sizeCache protoimpl.SizeCache
  1242. unknownFields protoimpl.UnknownFields
  1243. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1244. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1245. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  1246. Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  1247. UserMum int32 `protobuf:"varint,5,opt,name=user_mum,json=userMum,proto3" json:"user_mum,omitempty"` // 用户数
  1248. Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1249. CreateTime int64 `protobuf:"varint,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
  1250. UpdateTime int64 `protobuf:"varint,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
  1251. }
  1252. func (x *Group) Reset() {
  1253. *x = Group{}
  1254. if protoimpl.UnsafeEnabled {
  1255. mi := &file_logic_ext_proto_msgTypes[21]
  1256. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1257. ms.StoreMessageInfo(mi)
  1258. }
  1259. }
  1260. func (x *Group) String() string {
  1261. return protoimpl.X.MessageStringOf(x)
  1262. }
  1263. func (*Group) ProtoMessage() {}
  1264. func (x *Group) ProtoReflect() protoreflect.Message {
  1265. mi := &file_logic_ext_proto_msgTypes[21]
  1266. if protoimpl.UnsafeEnabled && x != nil {
  1267. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1268. if ms.LoadMessageInfo() == nil {
  1269. ms.StoreMessageInfo(mi)
  1270. }
  1271. return ms
  1272. }
  1273. return mi.MessageOf(x)
  1274. }
  1275. // Deprecated: Use Group.ProtoReflect.Descriptor instead.
  1276. func (*Group) Descriptor() ([]byte, []int) {
  1277. return file_logic_ext_proto_rawDescGZIP(), []int{21}
  1278. }
  1279. func (x *Group) GetGroupId() int64 {
  1280. if x != nil {
  1281. return x.GroupId
  1282. }
  1283. return 0
  1284. }
  1285. func (x *Group) GetName() string {
  1286. if x != nil {
  1287. return x.Name
  1288. }
  1289. return ""
  1290. }
  1291. func (x *Group) GetAvatarUrl() string {
  1292. if x != nil {
  1293. return x.AvatarUrl
  1294. }
  1295. return ""
  1296. }
  1297. func (x *Group) GetIntroduction() string {
  1298. if x != nil {
  1299. return x.Introduction
  1300. }
  1301. return ""
  1302. }
  1303. func (x *Group) GetUserMum() int32 {
  1304. if x != nil {
  1305. return x.UserMum
  1306. }
  1307. return 0
  1308. }
  1309. func (x *Group) GetExtra() string {
  1310. if x != nil {
  1311. return x.Extra
  1312. }
  1313. return ""
  1314. }
  1315. func (x *Group) GetCreateTime() int64 {
  1316. if x != nil {
  1317. return x.CreateTime
  1318. }
  1319. return 0
  1320. }
  1321. func (x *Group) GetUpdateTime() int64 {
  1322. if x != nil {
  1323. return x.UpdateTime
  1324. }
  1325. return 0
  1326. }
  1327. type GetGroupsResp struct {
  1328. state protoimpl.MessageState
  1329. sizeCache protoimpl.SizeCache
  1330. unknownFields protoimpl.UnknownFields
  1331. Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
  1332. }
  1333. func (x *GetGroupsResp) Reset() {
  1334. *x = GetGroupsResp{}
  1335. if protoimpl.UnsafeEnabled {
  1336. mi := &file_logic_ext_proto_msgTypes[22]
  1337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1338. ms.StoreMessageInfo(mi)
  1339. }
  1340. }
  1341. func (x *GetGroupsResp) String() string {
  1342. return protoimpl.X.MessageStringOf(x)
  1343. }
  1344. func (*GetGroupsResp) ProtoMessage() {}
  1345. func (x *GetGroupsResp) ProtoReflect() protoreflect.Message {
  1346. mi := &file_logic_ext_proto_msgTypes[22]
  1347. if protoimpl.UnsafeEnabled && x != nil {
  1348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1349. if ms.LoadMessageInfo() == nil {
  1350. ms.StoreMessageInfo(mi)
  1351. }
  1352. return ms
  1353. }
  1354. return mi.MessageOf(x)
  1355. }
  1356. // Deprecated: Use GetGroupsResp.ProtoReflect.Descriptor instead.
  1357. func (*GetGroupsResp) Descriptor() ([]byte, []int) {
  1358. return file_logic_ext_proto_rawDescGZIP(), []int{22}
  1359. }
  1360. func (x *GetGroupsResp) GetGroups() []*Group {
  1361. if x != nil {
  1362. return x.Groups
  1363. }
  1364. return nil
  1365. }
  1366. type AddGroupMembersReq struct {
  1367. state protoimpl.MessageState
  1368. sizeCache protoimpl.SizeCache
  1369. unknownFields protoimpl.UnknownFields
  1370. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1371. UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 用户id列表
  1372. }
  1373. func (x *AddGroupMembersReq) Reset() {
  1374. *x = AddGroupMembersReq{}
  1375. if protoimpl.UnsafeEnabled {
  1376. mi := &file_logic_ext_proto_msgTypes[23]
  1377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1378. ms.StoreMessageInfo(mi)
  1379. }
  1380. }
  1381. func (x *AddGroupMembersReq) String() string {
  1382. return protoimpl.X.MessageStringOf(x)
  1383. }
  1384. func (*AddGroupMembersReq) ProtoMessage() {}
  1385. func (x *AddGroupMembersReq) ProtoReflect() protoreflect.Message {
  1386. mi := &file_logic_ext_proto_msgTypes[23]
  1387. if protoimpl.UnsafeEnabled && x != nil {
  1388. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1389. if ms.LoadMessageInfo() == nil {
  1390. ms.StoreMessageInfo(mi)
  1391. }
  1392. return ms
  1393. }
  1394. return mi.MessageOf(x)
  1395. }
  1396. // Deprecated: Use AddGroupMembersReq.ProtoReflect.Descriptor instead.
  1397. func (*AddGroupMembersReq) Descriptor() ([]byte, []int) {
  1398. return file_logic_ext_proto_rawDescGZIP(), []int{23}
  1399. }
  1400. func (x *AddGroupMembersReq) GetGroupId() int64 {
  1401. if x != nil {
  1402. return x.GroupId
  1403. }
  1404. return 0
  1405. }
  1406. func (x *AddGroupMembersReq) GetUserIds() []int64 {
  1407. if x != nil {
  1408. return x.UserIds
  1409. }
  1410. return nil
  1411. }
  1412. type AddGroupMembersResp struct {
  1413. state protoimpl.MessageState
  1414. sizeCache protoimpl.SizeCache
  1415. unknownFields protoimpl.UnknownFields
  1416. UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 已经在群组的用户id列表
  1417. }
  1418. func (x *AddGroupMembersResp) Reset() {
  1419. *x = AddGroupMembersResp{}
  1420. if protoimpl.UnsafeEnabled {
  1421. mi := &file_logic_ext_proto_msgTypes[24]
  1422. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1423. ms.StoreMessageInfo(mi)
  1424. }
  1425. }
  1426. func (x *AddGroupMembersResp) String() string {
  1427. return protoimpl.X.MessageStringOf(x)
  1428. }
  1429. func (*AddGroupMembersResp) ProtoMessage() {}
  1430. func (x *AddGroupMembersResp) ProtoReflect() protoreflect.Message {
  1431. mi := &file_logic_ext_proto_msgTypes[24]
  1432. if protoimpl.UnsafeEnabled && x != nil {
  1433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1434. if ms.LoadMessageInfo() == nil {
  1435. ms.StoreMessageInfo(mi)
  1436. }
  1437. return ms
  1438. }
  1439. return mi.MessageOf(x)
  1440. }
  1441. // Deprecated: Use AddGroupMembersResp.ProtoReflect.Descriptor instead.
  1442. func (*AddGroupMembersResp) Descriptor() ([]byte, []int) {
  1443. return file_logic_ext_proto_rawDescGZIP(), []int{24}
  1444. }
  1445. func (x *AddGroupMembersResp) GetUserIds() []int64 {
  1446. if x != nil {
  1447. return x.UserIds
  1448. }
  1449. return nil
  1450. }
  1451. type UpdateGroupMemberReq struct {
  1452. state protoimpl.MessageState
  1453. sizeCache protoimpl.SizeCache
  1454. unknownFields protoimpl.UnknownFields
  1455. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1456. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1457. MemberType MemberType `protobuf:"varint,3,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
  1458. Remarks string `protobuf:"bytes,4,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  1459. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1460. }
  1461. func (x *UpdateGroupMemberReq) Reset() {
  1462. *x = UpdateGroupMemberReq{}
  1463. if protoimpl.UnsafeEnabled {
  1464. mi := &file_logic_ext_proto_msgTypes[25]
  1465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1466. ms.StoreMessageInfo(mi)
  1467. }
  1468. }
  1469. func (x *UpdateGroupMemberReq) String() string {
  1470. return protoimpl.X.MessageStringOf(x)
  1471. }
  1472. func (*UpdateGroupMemberReq) ProtoMessage() {}
  1473. func (x *UpdateGroupMemberReq) ProtoReflect() protoreflect.Message {
  1474. mi := &file_logic_ext_proto_msgTypes[25]
  1475. if protoimpl.UnsafeEnabled && x != nil {
  1476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1477. if ms.LoadMessageInfo() == nil {
  1478. ms.StoreMessageInfo(mi)
  1479. }
  1480. return ms
  1481. }
  1482. return mi.MessageOf(x)
  1483. }
  1484. // Deprecated: Use UpdateGroupMemberReq.ProtoReflect.Descriptor instead.
  1485. func (*UpdateGroupMemberReq) Descriptor() ([]byte, []int) {
  1486. return file_logic_ext_proto_rawDescGZIP(), []int{25}
  1487. }
  1488. func (x *UpdateGroupMemberReq) GetGroupId() int64 {
  1489. if x != nil {
  1490. return x.GroupId
  1491. }
  1492. return 0
  1493. }
  1494. func (x *UpdateGroupMemberReq) GetUserId() int64 {
  1495. if x != nil {
  1496. return x.UserId
  1497. }
  1498. return 0
  1499. }
  1500. func (x *UpdateGroupMemberReq) GetMemberType() MemberType {
  1501. if x != nil {
  1502. return x.MemberType
  1503. }
  1504. return MemberType_GMT_UNKNOWN
  1505. }
  1506. func (x *UpdateGroupMemberReq) GetRemarks() string {
  1507. if x != nil {
  1508. return x.Remarks
  1509. }
  1510. return ""
  1511. }
  1512. func (x *UpdateGroupMemberReq) GetExtra() string {
  1513. if x != nil {
  1514. return x.Extra
  1515. }
  1516. return ""
  1517. }
  1518. type DeleteGroupMemberReq struct {
  1519. state protoimpl.MessageState
  1520. sizeCache protoimpl.SizeCache
  1521. unknownFields protoimpl.UnknownFields
  1522. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1523. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1524. }
  1525. func (x *DeleteGroupMemberReq) Reset() {
  1526. *x = DeleteGroupMemberReq{}
  1527. if protoimpl.UnsafeEnabled {
  1528. mi := &file_logic_ext_proto_msgTypes[26]
  1529. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1530. ms.StoreMessageInfo(mi)
  1531. }
  1532. }
  1533. func (x *DeleteGroupMemberReq) String() string {
  1534. return protoimpl.X.MessageStringOf(x)
  1535. }
  1536. func (*DeleteGroupMemberReq) ProtoMessage() {}
  1537. func (x *DeleteGroupMemberReq) ProtoReflect() protoreflect.Message {
  1538. mi := &file_logic_ext_proto_msgTypes[26]
  1539. if protoimpl.UnsafeEnabled && x != nil {
  1540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1541. if ms.LoadMessageInfo() == nil {
  1542. ms.StoreMessageInfo(mi)
  1543. }
  1544. return ms
  1545. }
  1546. return mi.MessageOf(x)
  1547. }
  1548. // Deprecated: Use DeleteGroupMemberReq.ProtoReflect.Descriptor instead.
  1549. func (*DeleteGroupMemberReq) Descriptor() ([]byte, []int) {
  1550. return file_logic_ext_proto_rawDescGZIP(), []int{26}
  1551. }
  1552. func (x *DeleteGroupMemberReq) GetGroupId() int64 {
  1553. if x != nil {
  1554. return x.GroupId
  1555. }
  1556. return 0
  1557. }
  1558. func (x *DeleteGroupMemberReq) GetUserId() int64 {
  1559. if x != nil {
  1560. return x.UserId
  1561. }
  1562. return 0
  1563. }
  1564. type GetGroupMembersReq struct {
  1565. state protoimpl.MessageState
  1566. sizeCache protoimpl.SizeCache
  1567. unknownFields protoimpl.UnknownFields
  1568. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  1569. }
  1570. func (x *GetGroupMembersReq) Reset() {
  1571. *x = GetGroupMembersReq{}
  1572. if protoimpl.UnsafeEnabled {
  1573. mi := &file_logic_ext_proto_msgTypes[27]
  1574. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1575. ms.StoreMessageInfo(mi)
  1576. }
  1577. }
  1578. func (x *GetGroupMembersReq) String() string {
  1579. return protoimpl.X.MessageStringOf(x)
  1580. }
  1581. func (*GetGroupMembersReq) ProtoMessage() {}
  1582. func (x *GetGroupMembersReq) ProtoReflect() protoreflect.Message {
  1583. mi := &file_logic_ext_proto_msgTypes[27]
  1584. if protoimpl.UnsafeEnabled && x != nil {
  1585. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1586. if ms.LoadMessageInfo() == nil {
  1587. ms.StoreMessageInfo(mi)
  1588. }
  1589. return ms
  1590. }
  1591. return mi.MessageOf(x)
  1592. }
  1593. // Deprecated: Use GetGroupMembersReq.ProtoReflect.Descriptor instead.
  1594. func (*GetGroupMembersReq) Descriptor() ([]byte, []int) {
  1595. return file_logic_ext_proto_rawDescGZIP(), []int{27}
  1596. }
  1597. func (x *GetGroupMembersReq) GetGroupId() int64 {
  1598. if x != nil {
  1599. return x.GroupId
  1600. }
  1601. return 0
  1602. }
  1603. type GetGroupMembersResp struct {
  1604. state protoimpl.MessageState
  1605. sizeCache protoimpl.SizeCache
  1606. unknownFields protoimpl.UnknownFields
  1607. Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
  1608. }
  1609. func (x *GetGroupMembersResp) Reset() {
  1610. *x = GetGroupMembersResp{}
  1611. if protoimpl.UnsafeEnabled {
  1612. mi := &file_logic_ext_proto_msgTypes[28]
  1613. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1614. ms.StoreMessageInfo(mi)
  1615. }
  1616. }
  1617. func (x *GetGroupMembersResp) String() string {
  1618. return protoimpl.X.MessageStringOf(x)
  1619. }
  1620. func (*GetGroupMembersResp) ProtoMessage() {}
  1621. func (x *GetGroupMembersResp) ProtoReflect() protoreflect.Message {
  1622. mi := &file_logic_ext_proto_msgTypes[28]
  1623. if protoimpl.UnsafeEnabled && x != nil {
  1624. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1625. if ms.LoadMessageInfo() == nil {
  1626. ms.StoreMessageInfo(mi)
  1627. }
  1628. return ms
  1629. }
  1630. return mi.MessageOf(x)
  1631. }
  1632. // Deprecated: Use GetGroupMembersResp.ProtoReflect.Descriptor instead.
  1633. func (*GetGroupMembersResp) Descriptor() ([]byte, []int) {
  1634. return file_logic_ext_proto_rawDescGZIP(), []int{28}
  1635. }
  1636. func (x *GetGroupMembersResp) GetMembers() []*GroupMember {
  1637. if x != nil {
  1638. return x.Members
  1639. }
  1640. return nil
  1641. }
  1642. type GroupMember struct {
  1643. state protoimpl.MessageState
  1644. sizeCache protoimpl.SizeCache
  1645. unknownFields protoimpl.UnknownFields
  1646. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  1647. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  1648. Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  1649. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  1650. UserExtra string `protobuf:"bytes,5,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
  1651. MemberType MemberType `protobuf:"varint,6,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
  1652. Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  1653. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 群组成员附加字段
  1654. }
  1655. func (x *GroupMember) Reset() {
  1656. *x = GroupMember{}
  1657. if protoimpl.UnsafeEnabled {
  1658. mi := &file_logic_ext_proto_msgTypes[29]
  1659. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1660. ms.StoreMessageInfo(mi)
  1661. }
  1662. }
  1663. func (x *GroupMember) String() string {
  1664. return protoimpl.X.MessageStringOf(x)
  1665. }
  1666. func (*GroupMember) ProtoMessage() {}
  1667. func (x *GroupMember) ProtoReflect() protoreflect.Message {
  1668. mi := &file_logic_ext_proto_msgTypes[29]
  1669. if protoimpl.UnsafeEnabled && x != nil {
  1670. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1671. if ms.LoadMessageInfo() == nil {
  1672. ms.StoreMessageInfo(mi)
  1673. }
  1674. return ms
  1675. }
  1676. return mi.MessageOf(x)
  1677. }
  1678. // Deprecated: Use GroupMember.ProtoReflect.Descriptor instead.
  1679. func (*GroupMember) Descriptor() ([]byte, []int) {
  1680. return file_logic_ext_proto_rawDescGZIP(), []int{29}
  1681. }
  1682. func (x *GroupMember) GetUserId() int64 {
  1683. if x != nil {
  1684. return x.UserId
  1685. }
  1686. return 0
  1687. }
  1688. func (x *GroupMember) GetNickname() string {
  1689. if x != nil {
  1690. return x.Nickname
  1691. }
  1692. return ""
  1693. }
  1694. func (x *GroupMember) GetSex() int32 {
  1695. if x != nil {
  1696. return x.Sex
  1697. }
  1698. return 0
  1699. }
  1700. func (x *GroupMember) GetAvatarUrl() string {
  1701. if x != nil {
  1702. return x.AvatarUrl
  1703. }
  1704. return ""
  1705. }
  1706. func (x *GroupMember) GetUserExtra() string {
  1707. if x != nil {
  1708. return x.UserExtra
  1709. }
  1710. return ""
  1711. }
  1712. func (x *GroupMember) GetMemberType() MemberType {
  1713. if x != nil {
  1714. return x.MemberType
  1715. }
  1716. return MemberType_GMT_UNKNOWN
  1717. }
  1718. func (x *GroupMember) GetRemarks() string {
  1719. if x != nil {
  1720. return x.Remarks
  1721. }
  1722. return ""
  1723. }
  1724. func (x *GroupMember) GetExtra() string {
  1725. if x != nil {
  1726. return x.Extra
  1727. }
  1728. return ""
  1729. }
  1730. var File_logic_ext_proto protoreflect.FileDescriptor
  1731. var file_logic_ext_proto_rawDesc = []byte{
  1732. 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1733. 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x65, 0x78,
  1734. 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
  1735. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x52,
  1736. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  1737. 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  1738. 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20,
  1739. 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f,
  1740. 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
  1741. 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  1742. 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
  1743. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x64, 0x6b, 0x5f, 0x76,
  1744. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x64,
  1745. 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69,
  1746. 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b,
  1747. 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1748. 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0xd3, 0x02, 0x0a, 0x0e,
  1749. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x35,
  1750. 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  1751. 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69,
  1752. 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1753. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1754. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65,
  1755. 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65,
  1756. 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55,
  1757. 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1758. 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70,
  1759. 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d,
  1760. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65,
  1761. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
  1762. 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74,
  1763. 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  1764. 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
  1765. 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x07,
  1766. 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12,
  1767. 0x30, 0x0a, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
  1768. 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d,
  1769. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63,
  1770. 0x6b, 0x22, 0x23, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1771. 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28,
  1772. 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xd5, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x61, 0x6c,
  1773. 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x35, 0x0a, 0x0d, 0x72,
  1774. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
  1775. 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72,
  1776. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79,
  1777. 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69,
  1778. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1779. 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
  1780. 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72,
  1781. 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74,
  1782. 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d,
  1783. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73,
  1784. 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1785. 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c,
  1786. 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  1787. 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
  1788. 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
  1789. 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
  1790. 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14,
  1791. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  1792. 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d, 0x65, 0x73, 0x73,
  1793. 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x22, 0x25,
  1794. 0x0a, 0x11, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  1795. 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1796. 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xb6, 0x02, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65,
  1797. 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x35, 0x0a, 0x0d, 0x72, 0x65,
  1798. 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1799. 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54,
  1800. 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70,
  1801. 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64,
  1802. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72,
  1803. 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79,
  1804. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65,
  1805. 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1806. 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1807. 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52,
  1808. 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  1809. 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
  1810. 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0b,
  1811. 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
  1812. 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x14,
  1813. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  1814. 0x62, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d, 0x65, 0x73, 0x73,
  1815. 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x22, 0x25,
  1816. 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52,
  1817. 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1818. 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xe0, 0x01, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f,
  1819. 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64,
  1820. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x32,
  1821. 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
  1822. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1823. 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79,
  1824. 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f,
  1825. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73,
  1826. 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73,
  1827. 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
  1828. 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70,
  1829. 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73,
  1830. 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x72,
  1831. 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73,
  1832. 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x67, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x46,
  1833. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65,
  1834. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69,
  1835. 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  1836. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  1837. 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
  1838. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  1839. 0x6e, 0x22, 0x2a, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e,
  1840. 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  1841. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x46, 0x0a,
  1842. 0x11, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52,
  1843. 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  1844. 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72,
  1845. 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65,
  1846. 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0x5b, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65,
  1847. 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f,
  1848. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64,
  1849. 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20,
  1850. 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05,
  1851. 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74,
  1852. 0x72, 0x61, 0x22, 0x5c, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52,
  1853. 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64,
  1854. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64,
  1855. 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
  1856. 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78,
  1857. 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1858. 0x22, 0xe0, 0x01, 0x0a, 0x06, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75,
  1859. 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73,
  1860. 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75,
  1861. 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e,
  1862. 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  1863. 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  1864. 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
  1865. 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f,
  1866. 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  1867. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x74,
  1868. 0x72, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78,
  1869. 0x74, 0x72, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x07,
  1870. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a,
  1871. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  1872. 0x74, 0x72, 0x61, 0x22, 0x36, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  1873. 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73,
  1874. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x69, 0x65,
  1875. 0x6e, 0x64, 0x52, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x0e,
  1876. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x12,
  1877. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  1878. 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c,
  1879. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  1880. 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f,
  1881. 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75,
  1882. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x04,
  1883. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6d,
  1884. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52,
  1885. 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x43, 0x72,
  1886. 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a,
  1887. 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1888. 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64,
  1889. 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67,
  1890. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  1891. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  1892. 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
  1893. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  1894. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74,
  1895. 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  1896. 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a,
  1897. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  1898. 0x74, 0x72, 0x61, 0x22, 0x28, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
  1899. 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01,
  1900. 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x2f, 0x0a,
  1901. 0x0c, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a,
  1902. 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70,
  1903. 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xec,
  1904. 0x01, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  1905. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  1906. 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1907. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61,
  1908. 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
  1909. 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64,
  1910. 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e,
  1911. 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73,
  1912. 0x65, 0x72, 0x5f, 0x6d, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73,
  1913. 0x65, 0x72, 0x4d, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x06,
  1914. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x63,
  1915. 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
  1916. 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
  1917. 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
  1918. 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x32, 0x0a,
  1919. 0x0d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21,
  1920. 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09,
  1921. 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70,
  1922. 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
  1923. 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70,
  1924. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70,
  1925. 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02,
  1926. 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a,
  1927. 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
  1928. 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73,
  1929. 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22,
  1930. 0xab, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
  1931. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  1932. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  1933. 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1934. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0b,
  1935. 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1936. 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70,
  1937. 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a,
  1938. 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  1939. 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1940. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x4a, 0x0a,
  1941. 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
  1942. 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69,
  1943. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64,
  1944. 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  1945. 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12, 0x47, 0x65, 0x74,
  1946. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12,
  1947. 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1948. 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x13, 0x47, 0x65,
  1949. 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
  1950. 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
  1951. 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
  1952. 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0xf3, 0x01, 0x0a,
  1953. 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07,
  1954. 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75,
  1955. 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
  1956. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
  1957. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
  1958. 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72,
  1959. 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
  1960. 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61,
  1961. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x74, 0x72,
  1962. 0x61, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
  1963. 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62,
  1964. 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79,
  1965. 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x07, 0x20,
  1966. 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05,
  1967. 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74,
  1968. 0x72, 0x61, 0x2a, 0x3c, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  1969. 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
  1970. 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x4d, 0x54, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01,
  1971. 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x4d, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02,
  1972. 0x32, 0xd0, 0x07, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x45, 0x78, 0x74, 0x12, 0x3f, 0x0a,
  1973. 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12,
  1974. 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76,
  1975. 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69,
  1976. 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36,
  1977. 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x2e,
  1978. 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
  1979. 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1980. 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3c, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c,
  1981. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63,
  1982. 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e,
  1983. 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1984. 0x52, 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d,
  1985. 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65,
  1986. 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x0d,
  1987. 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x14, 0x2e,
  1988. 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1989. 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64,
  1990. 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x09, 0x41, 0x64,
  1991. 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64,
  1992. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45,
  1993. 0x6d, 0x70, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x0e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64,
  1994. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x67, 0x72, 0x65,
  1995. 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e,
  1996. 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65,
  1997. 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65,
  1998. 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e,
  1999. 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x46,
  2000. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72,
  2001. 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74,
  2002. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b, 0x0a, 0x0a, 0x47, 0x65,
  2003. 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d,
  2004. 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65,
  2005. 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74,
  2006. 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
  2007. 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e,
  2008. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12,
  2009. 0x2c, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12,
  2010. 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
  2011. 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a,
  2012. 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47,
  2013. 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x62, 0x2e,
  2014. 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x09,
  2015. 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45,
  2016. 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
  2017. 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x47, 0x72,
  2018. 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e,
  2019. 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52,
  2020. 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2021. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x11, 0x55,
  2022. 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2023. 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75,
  2024. 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e,
  2025. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x38, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47,
  2026. 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e,
  2027. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  2028. 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12,
  2029. 0x42, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  2030. 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2031. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e,
  2032. 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52,
  2033. 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70,
  2034. 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2035. }
  2036. var (
  2037. file_logic_ext_proto_rawDescOnce sync.Once
  2038. file_logic_ext_proto_rawDescData = file_logic_ext_proto_rawDesc
  2039. )
  2040. func file_logic_ext_proto_rawDescGZIP() []byte {
  2041. file_logic_ext_proto_rawDescOnce.Do(func() {
  2042. file_logic_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_logic_ext_proto_rawDescData)
  2043. })
  2044. return file_logic_ext_proto_rawDescData
  2045. }
  2046. var file_logic_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  2047. var file_logic_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
  2048. var file_logic_ext_proto_goTypes = []interface{}{
  2049. (MemberType)(0), // 0: pb.MemberType
  2050. (*RegisterDeviceReq)(nil), // 1: pb.RegisterDeviceReq
  2051. (*RegisterDeviceResp)(nil), // 2: pb.RegisterDeviceResp
  2052. (*SendMessageReq)(nil), // 3: pb.SendMessageReq
  2053. (*SendMessageResp)(nil), // 4: pb.SendMessageResp
  2054. (*RecallMessageReq)(nil), // 5: pb.RecallMessageReq
  2055. (*RecallMessageResp)(nil), // 6: pb.RecallMessageResp
  2056. (*SendRedPacketReq)(nil), // 7: pb.SendRedPacketReq
  2057. (*SendRedPacketResp)(nil), // 8: pb.SendRedPacketResp
  2058. (*PushRoomReq)(nil), // 9: pb.PushRoomReq
  2059. (*AddFriendReq)(nil), // 10: pb.AddFriendReq
  2060. (*DeleteFriendReq)(nil), // 11: pb.DeleteFriendReq
  2061. (*AgreeAddFriendReq)(nil), // 12: pb.AgreeAddFriendReq
  2062. (*SetFriendReq)(nil), // 13: pb.SetFriendReq
  2063. (*SetFriendResp)(nil), // 14: pb.SetFriendResp
  2064. (*Friend)(nil), // 15: pb.Friend
  2065. (*GetFriendsResp)(nil), // 16: pb.GetFriendsResp
  2066. (*CreateGroupReq)(nil), // 17: pb.CreateGroupReq
  2067. (*CreateGroupResp)(nil), // 18: pb.CreateGroupResp
  2068. (*UpdateGroupReq)(nil), // 19: pb.UpdateGroupReq
  2069. (*GetGroupReq)(nil), // 20: pb.GetGroupReq
  2070. (*GetGroupResp)(nil), // 21: pb.GetGroupResp
  2071. (*Group)(nil), // 22: pb.Group
  2072. (*GetGroupsResp)(nil), // 23: pb.GetGroupsResp
  2073. (*AddGroupMembersReq)(nil), // 24: pb.AddGroupMembersReq
  2074. (*AddGroupMembersResp)(nil), // 25: pb.AddGroupMembersResp
  2075. (*UpdateGroupMemberReq)(nil), // 26: pb.UpdateGroupMemberReq
  2076. (*DeleteGroupMemberReq)(nil), // 27: pb.DeleteGroupMemberReq
  2077. (*GetGroupMembersReq)(nil), // 28: pb.GetGroupMembersReq
  2078. (*GetGroupMembersResp)(nil), // 29: pb.GetGroupMembersResp
  2079. (*GroupMember)(nil), // 30: pb.GroupMember
  2080. (ReceiverType)(0), // 31: pb.ReceiverType
  2081. (MessageType)(0), // 32: pb.MessageType
  2082. (*Empty)(nil), // 33: pb.Empty
  2083. }
  2084. var file_logic_ext_proto_depIdxs = []int32{
  2085. 31, // 0: pb.SendMessageReq.receiver_type:type_name -> pb.ReceiverType
  2086. 32, // 1: pb.SendMessageReq.message_type:type_name -> pb.MessageType
  2087. 31, // 2: pb.RecallMessageReq.receiver_type:type_name -> pb.ReceiverType
  2088. 32, // 3: pb.RecallMessageReq.message_type:type_name -> pb.MessageType
  2089. 31, // 4: pb.SendRedPacketReq.receiver_type:type_name -> pb.ReceiverType
  2090. 32, // 5: pb.SendRedPacketReq.message_type:type_name -> pb.MessageType
  2091. 32, // 6: pb.PushRoomReq.message_type:type_name -> pb.MessageType
  2092. 15, // 7: pb.GetFriendsResp.friends:type_name -> pb.Friend
  2093. 22, // 8: pb.GetGroupResp.group:type_name -> pb.Group
  2094. 22, // 9: pb.GetGroupsResp.groups:type_name -> pb.Group
  2095. 0, // 10: pb.UpdateGroupMemberReq.member_type:type_name -> pb.MemberType
  2096. 30, // 11: pb.GetGroupMembersResp.members:type_name -> pb.GroupMember
  2097. 0, // 12: pb.GroupMember.member_type:type_name -> pb.MemberType
  2098. 1, // 13: pb.LogicExt.RegisterDevice:input_type -> pb.RegisterDeviceReq
  2099. 3, // 14: pb.LogicExt.SendMessage:input_type -> pb.SendMessageReq
  2100. 5, // 15: pb.LogicExt.RecallMessage:input_type -> pb.RecallMessageReq
  2101. 9, // 16: pb.LogicExt.PushRoom:input_type -> pb.PushRoomReq
  2102. 7, // 17: pb.LogicExt.SendRedPacket:input_type -> pb.SendRedPacketReq
  2103. 10, // 18: pb.LogicExt.AddFriend:input_type -> pb.AddFriendReq
  2104. 12, // 19: pb.LogicExt.AgreeAddFriend:input_type -> pb.AgreeAddFriendReq
  2105. 11, // 20: pb.LogicExt.DeleteFriend:input_type -> pb.DeleteFriendReq
  2106. 13, // 21: pb.LogicExt.SetFriend:input_type -> pb.SetFriendReq
  2107. 33, // 22: pb.LogicExt.GetFriends:input_type -> pb.Empty
  2108. 17, // 23: pb.LogicExt.CreateGroup:input_type -> pb.CreateGroupReq
  2109. 19, // 24: pb.LogicExt.UpdateGroup:input_type -> pb.UpdateGroupReq
  2110. 20, // 25: pb.LogicExt.GetGroup:input_type -> pb.GetGroupReq
  2111. 33, // 26: pb.LogicExt.GetGroups:input_type -> pb.Empty
  2112. 24, // 27: pb.LogicExt.AddGroupMembers:input_type -> pb.AddGroupMembersReq
  2113. 26, // 28: pb.LogicExt.UpdateGroupMember:input_type -> pb.UpdateGroupMemberReq
  2114. 27, // 29: pb.LogicExt.DeleteGroupMember:input_type -> pb.DeleteGroupMemberReq
  2115. 28, // 30: pb.LogicExt.GetGroupMembers:input_type -> pb.GetGroupMembersReq
  2116. 2, // 31: pb.LogicExt.RegisterDevice:output_type -> pb.RegisterDeviceResp
  2117. 4, // 32: pb.LogicExt.SendMessage:output_type -> pb.SendMessageResp
  2118. 6, // 33: pb.LogicExt.RecallMessage:output_type -> pb.RecallMessageResp
  2119. 33, // 34: pb.LogicExt.PushRoom:output_type -> pb.Empty
  2120. 8, // 35: pb.LogicExt.SendRedPacket:output_type -> pb.SendRedPacketResp
  2121. 33, // 36: pb.LogicExt.AddFriend:output_type -> pb.Empty
  2122. 33, // 37: pb.LogicExt.AgreeAddFriend:output_type -> pb.Empty
  2123. 33, // 38: pb.LogicExt.DeleteFriend:output_type -> pb.Empty
  2124. 14, // 39: pb.LogicExt.SetFriend:output_type -> pb.SetFriendResp
  2125. 16, // 40: pb.LogicExt.GetFriends:output_type -> pb.GetFriendsResp
  2126. 18, // 41: pb.LogicExt.CreateGroup:output_type -> pb.CreateGroupResp
  2127. 33, // 42: pb.LogicExt.UpdateGroup:output_type -> pb.Empty
  2128. 21, // 43: pb.LogicExt.GetGroup:output_type -> pb.GetGroupResp
  2129. 23, // 44: pb.LogicExt.GetGroups:output_type -> pb.GetGroupsResp
  2130. 25, // 45: pb.LogicExt.AddGroupMembers:output_type -> pb.AddGroupMembersResp
  2131. 33, // 46: pb.LogicExt.UpdateGroupMember:output_type -> pb.Empty
  2132. 33, // 47: pb.LogicExt.DeleteGroupMember:output_type -> pb.Empty
  2133. 29, // 48: pb.LogicExt.GetGroupMembers:output_type -> pb.GetGroupMembersResp
  2134. 31, // [31:49] is the sub-list for method output_type
  2135. 13, // [13:31] is the sub-list for method input_type
  2136. 13, // [13:13] is the sub-list for extension type_name
  2137. 13, // [13:13] is the sub-list for extension extendee
  2138. 0, // [0:13] is the sub-list for field type_name
  2139. }
  2140. func init() { file_logic_ext_proto_init() }
  2141. func file_logic_ext_proto_init() {
  2142. if File_logic_ext_proto != nil {
  2143. return
  2144. }
  2145. file_common_ext_proto_init()
  2146. file_connect_ext_proto_init()
  2147. if !protoimpl.UnsafeEnabled {
  2148. file_logic_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2149. switch v := v.(*RegisterDeviceReq); i {
  2150. case 0:
  2151. return &v.state
  2152. case 1:
  2153. return &v.sizeCache
  2154. case 2:
  2155. return &v.unknownFields
  2156. default:
  2157. return nil
  2158. }
  2159. }
  2160. file_logic_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2161. switch v := v.(*RegisterDeviceResp); i {
  2162. case 0:
  2163. return &v.state
  2164. case 1:
  2165. return &v.sizeCache
  2166. case 2:
  2167. return &v.unknownFields
  2168. default:
  2169. return nil
  2170. }
  2171. }
  2172. file_logic_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2173. switch v := v.(*SendMessageReq); i {
  2174. case 0:
  2175. return &v.state
  2176. case 1:
  2177. return &v.sizeCache
  2178. case 2:
  2179. return &v.unknownFields
  2180. default:
  2181. return nil
  2182. }
  2183. }
  2184. file_logic_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2185. switch v := v.(*SendMessageResp); i {
  2186. case 0:
  2187. return &v.state
  2188. case 1:
  2189. return &v.sizeCache
  2190. case 2:
  2191. return &v.unknownFields
  2192. default:
  2193. return nil
  2194. }
  2195. }
  2196. file_logic_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2197. switch v := v.(*RecallMessageReq); i {
  2198. case 0:
  2199. return &v.state
  2200. case 1:
  2201. return &v.sizeCache
  2202. case 2:
  2203. return &v.unknownFields
  2204. default:
  2205. return nil
  2206. }
  2207. }
  2208. file_logic_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2209. switch v := v.(*RecallMessageResp); i {
  2210. case 0:
  2211. return &v.state
  2212. case 1:
  2213. return &v.sizeCache
  2214. case 2:
  2215. return &v.unknownFields
  2216. default:
  2217. return nil
  2218. }
  2219. }
  2220. file_logic_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2221. switch v := v.(*SendRedPacketReq); i {
  2222. case 0:
  2223. return &v.state
  2224. case 1:
  2225. return &v.sizeCache
  2226. case 2:
  2227. return &v.unknownFields
  2228. default:
  2229. return nil
  2230. }
  2231. }
  2232. file_logic_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2233. switch v := v.(*SendRedPacketResp); i {
  2234. case 0:
  2235. return &v.state
  2236. case 1:
  2237. return &v.sizeCache
  2238. case 2:
  2239. return &v.unknownFields
  2240. default:
  2241. return nil
  2242. }
  2243. }
  2244. file_logic_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2245. switch v := v.(*PushRoomReq); i {
  2246. case 0:
  2247. return &v.state
  2248. case 1:
  2249. return &v.sizeCache
  2250. case 2:
  2251. return &v.unknownFields
  2252. default:
  2253. return nil
  2254. }
  2255. }
  2256. file_logic_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2257. switch v := v.(*AddFriendReq); i {
  2258. case 0:
  2259. return &v.state
  2260. case 1:
  2261. return &v.sizeCache
  2262. case 2:
  2263. return &v.unknownFields
  2264. default:
  2265. return nil
  2266. }
  2267. }
  2268. file_logic_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2269. switch v := v.(*DeleteFriendReq); i {
  2270. case 0:
  2271. return &v.state
  2272. case 1:
  2273. return &v.sizeCache
  2274. case 2:
  2275. return &v.unknownFields
  2276. default:
  2277. return nil
  2278. }
  2279. }
  2280. file_logic_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2281. switch v := v.(*AgreeAddFriendReq); i {
  2282. case 0:
  2283. return &v.state
  2284. case 1:
  2285. return &v.sizeCache
  2286. case 2:
  2287. return &v.unknownFields
  2288. default:
  2289. return nil
  2290. }
  2291. }
  2292. file_logic_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2293. switch v := v.(*SetFriendReq); i {
  2294. case 0:
  2295. return &v.state
  2296. case 1:
  2297. return &v.sizeCache
  2298. case 2:
  2299. return &v.unknownFields
  2300. default:
  2301. return nil
  2302. }
  2303. }
  2304. file_logic_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2305. switch v := v.(*SetFriendResp); i {
  2306. case 0:
  2307. return &v.state
  2308. case 1:
  2309. return &v.sizeCache
  2310. case 2:
  2311. return &v.unknownFields
  2312. default:
  2313. return nil
  2314. }
  2315. }
  2316. file_logic_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2317. switch v := v.(*Friend); i {
  2318. case 0:
  2319. return &v.state
  2320. case 1:
  2321. return &v.sizeCache
  2322. case 2:
  2323. return &v.unknownFields
  2324. default:
  2325. return nil
  2326. }
  2327. }
  2328. file_logic_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2329. switch v := v.(*GetFriendsResp); i {
  2330. case 0:
  2331. return &v.state
  2332. case 1:
  2333. return &v.sizeCache
  2334. case 2:
  2335. return &v.unknownFields
  2336. default:
  2337. return nil
  2338. }
  2339. }
  2340. file_logic_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2341. switch v := v.(*CreateGroupReq); i {
  2342. case 0:
  2343. return &v.state
  2344. case 1:
  2345. return &v.sizeCache
  2346. case 2:
  2347. return &v.unknownFields
  2348. default:
  2349. return nil
  2350. }
  2351. }
  2352. file_logic_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2353. switch v := v.(*CreateGroupResp); i {
  2354. case 0:
  2355. return &v.state
  2356. case 1:
  2357. return &v.sizeCache
  2358. case 2:
  2359. return &v.unknownFields
  2360. default:
  2361. return nil
  2362. }
  2363. }
  2364. file_logic_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2365. switch v := v.(*UpdateGroupReq); i {
  2366. case 0:
  2367. return &v.state
  2368. case 1:
  2369. return &v.sizeCache
  2370. case 2:
  2371. return &v.unknownFields
  2372. default:
  2373. return nil
  2374. }
  2375. }
  2376. file_logic_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2377. switch v := v.(*GetGroupReq); i {
  2378. case 0:
  2379. return &v.state
  2380. case 1:
  2381. return &v.sizeCache
  2382. case 2:
  2383. return &v.unknownFields
  2384. default:
  2385. return nil
  2386. }
  2387. }
  2388. file_logic_ext_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2389. switch v := v.(*GetGroupResp); i {
  2390. case 0:
  2391. return &v.state
  2392. case 1:
  2393. return &v.sizeCache
  2394. case 2:
  2395. return &v.unknownFields
  2396. default:
  2397. return nil
  2398. }
  2399. }
  2400. file_logic_ext_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2401. switch v := v.(*Group); i {
  2402. case 0:
  2403. return &v.state
  2404. case 1:
  2405. return &v.sizeCache
  2406. case 2:
  2407. return &v.unknownFields
  2408. default:
  2409. return nil
  2410. }
  2411. }
  2412. file_logic_ext_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2413. switch v := v.(*GetGroupsResp); i {
  2414. case 0:
  2415. return &v.state
  2416. case 1:
  2417. return &v.sizeCache
  2418. case 2:
  2419. return &v.unknownFields
  2420. default:
  2421. return nil
  2422. }
  2423. }
  2424. file_logic_ext_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2425. switch v := v.(*AddGroupMembersReq); i {
  2426. case 0:
  2427. return &v.state
  2428. case 1:
  2429. return &v.sizeCache
  2430. case 2:
  2431. return &v.unknownFields
  2432. default:
  2433. return nil
  2434. }
  2435. }
  2436. file_logic_ext_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2437. switch v := v.(*AddGroupMembersResp); i {
  2438. case 0:
  2439. return &v.state
  2440. case 1:
  2441. return &v.sizeCache
  2442. case 2:
  2443. return &v.unknownFields
  2444. default:
  2445. return nil
  2446. }
  2447. }
  2448. file_logic_ext_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2449. switch v := v.(*UpdateGroupMemberReq); i {
  2450. case 0:
  2451. return &v.state
  2452. case 1:
  2453. return &v.sizeCache
  2454. case 2:
  2455. return &v.unknownFields
  2456. default:
  2457. return nil
  2458. }
  2459. }
  2460. file_logic_ext_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2461. switch v := v.(*DeleteGroupMemberReq); i {
  2462. case 0:
  2463. return &v.state
  2464. case 1:
  2465. return &v.sizeCache
  2466. case 2:
  2467. return &v.unknownFields
  2468. default:
  2469. return nil
  2470. }
  2471. }
  2472. file_logic_ext_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2473. switch v := v.(*GetGroupMembersReq); i {
  2474. case 0:
  2475. return &v.state
  2476. case 1:
  2477. return &v.sizeCache
  2478. case 2:
  2479. return &v.unknownFields
  2480. default:
  2481. return nil
  2482. }
  2483. }
  2484. file_logic_ext_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  2485. switch v := v.(*GetGroupMembersResp); i {
  2486. case 0:
  2487. return &v.state
  2488. case 1:
  2489. return &v.sizeCache
  2490. case 2:
  2491. return &v.unknownFields
  2492. default:
  2493. return nil
  2494. }
  2495. }
  2496. file_logic_ext_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  2497. switch v := v.(*GroupMember); i {
  2498. case 0:
  2499. return &v.state
  2500. case 1:
  2501. return &v.sizeCache
  2502. case 2:
  2503. return &v.unknownFields
  2504. default:
  2505. return nil
  2506. }
  2507. }
  2508. }
  2509. type x struct{}
  2510. out := protoimpl.TypeBuilder{
  2511. File: protoimpl.DescBuilder{
  2512. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2513. RawDescriptor: file_logic_ext_proto_rawDesc,
  2514. NumEnums: 1,
  2515. NumMessages: 30,
  2516. NumExtensions: 0,
  2517. NumServices: 1,
  2518. },
  2519. GoTypes: file_logic_ext_proto_goTypes,
  2520. DependencyIndexes: file_logic_ext_proto_depIdxs,
  2521. EnumInfos: file_logic_ext_proto_enumTypes,
  2522. MessageInfos: file_logic_ext_proto_msgTypes,
  2523. }.Build()
  2524. File_logic_ext_proto = out.File
  2525. file_logic_ext_proto_rawDesc = nil
  2526. file_logic_ext_proto_goTypes = nil
  2527. file_logic_ext_proto_depIdxs = nil
  2528. }
  2529. // This is a compile-time assertion to ensure that this generated file
  2530. // is compatible with the grpc package it is being compiled against.
  2531. // Requires gRPC-Go v1.32.0 or later.
  2532. const _ = grpc.SupportPackageIsVersion7
  2533. // LogicExtClient is the client API for LogicExt service.
  2534. //
  2535. // 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.
  2536. type LogicExtClient interface {
  2537. // 注册设备
  2538. RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error)
  2539. // 发送消息
  2540. SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error)
  2541. // 撤回消息
  2542. RecallMessage(ctx context.Context, in *RecallMessageReq, opts ...grpc.CallOption) (*RecallMessageResp, error)
  2543. // 推送消息到房间
  2544. PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error)
  2545. // 发送红包
  2546. SendRedPacket(ctx context.Context, in *SendRedPacketReq, opts ...grpc.CallOption) (*SendRedPacketResp, error)
  2547. // 添加好友
  2548. AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2549. // 同意添加好友
  2550. AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2551. // 删除好友
  2552. DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2553. // 设置好友信息
  2554. SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error)
  2555. // 获取好友列表
  2556. GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error)
  2557. // 创建群组
  2558. CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
  2559. // 更新群组
  2560. UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error)
  2561. // 获取群组信息
  2562. GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error)
  2563. // 获取用户加入的所有群组
  2564. GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error)
  2565. // 添加群组成员
  2566. AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error)
  2567. // 更新群组成员信息
  2568. UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  2569. // 添加群组成员
  2570. DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  2571. // 获取群组成员
  2572. GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error)
  2573. }
  2574. type logicExtClient struct {
  2575. cc grpc.ClientConnInterface
  2576. }
  2577. func NewLogicExtClient(cc grpc.ClientConnInterface) LogicExtClient {
  2578. return &logicExtClient{cc}
  2579. }
  2580. func (c *logicExtClient) RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error) {
  2581. out := new(RegisterDeviceResp)
  2582. err := c.cc.Invoke(ctx, "/pb.LogicExt/RegisterDevice", in, out, opts...)
  2583. if err != nil {
  2584. return nil, err
  2585. }
  2586. return out, nil
  2587. }
  2588. func (c *logicExtClient) SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error) {
  2589. out := new(SendMessageResp)
  2590. err := c.cc.Invoke(ctx, "/pb.LogicExt/SendMessage", in, out, opts...)
  2591. if err != nil {
  2592. return nil, err
  2593. }
  2594. return out, nil
  2595. }
  2596. func (c *logicExtClient) RecallMessage(ctx context.Context, in *RecallMessageReq, opts ...grpc.CallOption) (*RecallMessageResp, error) {
  2597. out := new(RecallMessageResp)
  2598. err := c.cc.Invoke(ctx, "/pb.LogicExt/RecallMessage", in, out, opts...)
  2599. if err != nil {
  2600. return nil, err
  2601. }
  2602. return out, nil
  2603. }
  2604. func (c *logicExtClient) PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error) {
  2605. out := new(Empty)
  2606. err := c.cc.Invoke(ctx, "/pb.LogicExt/PushRoom", in, out, opts...)
  2607. if err != nil {
  2608. return nil, err
  2609. }
  2610. return out, nil
  2611. }
  2612. func (c *logicExtClient) SendRedPacket(ctx context.Context, in *SendRedPacketReq, opts ...grpc.CallOption) (*SendRedPacketResp, error) {
  2613. out := new(SendRedPacketResp)
  2614. err := c.cc.Invoke(ctx, "/pb.LogicExt/SendRedPacket", in, out, opts...)
  2615. if err != nil {
  2616. return nil, err
  2617. }
  2618. return out, nil
  2619. }
  2620. func (c *logicExtClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2621. out := new(Empty)
  2622. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddFriend", in, out, opts...)
  2623. if err != nil {
  2624. return nil, err
  2625. }
  2626. return out, nil
  2627. }
  2628. func (c *logicExtClient) AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2629. out := new(Empty)
  2630. err := c.cc.Invoke(ctx, "/pb.LogicExt/AgreeAddFriend", in, out, opts...)
  2631. if err != nil {
  2632. return nil, err
  2633. }
  2634. return out, nil
  2635. }
  2636. func (c *logicExtClient) DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2637. out := new(Empty)
  2638. err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteFriend", in, out, opts...)
  2639. if err != nil {
  2640. return nil, err
  2641. }
  2642. return out, nil
  2643. }
  2644. func (c *logicExtClient) SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error) {
  2645. out := new(SetFriendResp)
  2646. err := c.cc.Invoke(ctx, "/pb.LogicExt/SetFriend", in, out, opts...)
  2647. if err != nil {
  2648. return nil, err
  2649. }
  2650. return out, nil
  2651. }
  2652. func (c *logicExtClient) GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error) {
  2653. out := new(GetFriendsResp)
  2654. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetFriends", in, out, opts...)
  2655. if err != nil {
  2656. return nil, err
  2657. }
  2658. return out, nil
  2659. }
  2660. func (c *logicExtClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error) {
  2661. out := new(CreateGroupResp)
  2662. err := c.cc.Invoke(ctx, "/pb.LogicExt/CreateGroup", in, out, opts...)
  2663. if err != nil {
  2664. return nil, err
  2665. }
  2666. return out, nil
  2667. }
  2668. func (c *logicExtClient) UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  2669. out := new(Empty)
  2670. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroup", in, out, opts...)
  2671. if err != nil {
  2672. return nil, err
  2673. }
  2674. return out, nil
  2675. }
  2676. func (c *logicExtClient) GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error) {
  2677. out := new(GetGroupResp)
  2678. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroup", in, out, opts...)
  2679. if err != nil {
  2680. return nil, err
  2681. }
  2682. return out, nil
  2683. }
  2684. func (c *logicExtClient) GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error) {
  2685. out := new(GetGroupsResp)
  2686. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroups", in, out, opts...)
  2687. if err != nil {
  2688. return nil, err
  2689. }
  2690. return out, nil
  2691. }
  2692. func (c *logicExtClient) AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error) {
  2693. out := new(AddGroupMembersResp)
  2694. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddGroupMembers", in, out, opts...)
  2695. if err != nil {
  2696. return nil, err
  2697. }
  2698. return out, nil
  2699. }
  2700. func (c *logicExtClient) UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  2701. out := new(Empty)
  2702. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroupMember", in, out, opts...)
  2703. if err != nil {
  2704. return nil, err
  2705. }
  2706. return out, nil
  2707. }
  2708. func (c *logicExtClient) DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  2709. out := new(Empty)
  2710. err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteGroupMember", in, out, opts...)
  2711. if err != nil {
  2712. return nil, err
  2713. }
  2714. return out, nil
  2715. }
  2716. func (c *logicExtClient) GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error) {
  2717. out := new(GetGroupMembersResp)
  2718. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupMembers", in, out, opts...)
  2719. if err != nil {
  2720. return nil, err
  2721. }
  2722. return out, nil
  2723. }
  2724. // LogicExtServer is the server API for LogicExt service.
  2725. // All implementations must embed UnimplementedLogicExtServer
  2726. // for forward compatibility
  2727. type LogicExtServer interface {
  2728. // 注册设备
  2729. RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error)
  2730. // 发送消息
  2731. SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error)
  2732. // 撤回消息
  2733. RecallMessage(context.Context, *RecallMessageReq) (*RecallMessageResp, error)
  2734. // 推送消息到房间
  2735. PushRoom(context.Context, *PushRoomReq) (*Empty, error)
  2736. // 发送红包
  2737. SendRedPacket(context.Context, *SendRedPacketReq) (*SendRedPacketResp, error)
  2738. // 添加好友
  2739. AddFriend(context.Context, *AddFriendReq) (*Empty, error)
  2740. // 同意添加好友
  2741. AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error)
  2742. // 删除好友
  2743. DeleteFriend(context.Context, *DeleteFriendReq) (*Empty, error)
  2744. // 设置好友信息
  2745. SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error)
  2746. // 获取好友列表
  2747. GetFriends(context.Context, *Empty) (*GetFriendsResp, error)
  2748. // 创建群组
  2749. CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
  2750. // 更新群组
  2751. UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error)
  2752. // 获取群组信息
  2753. GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error)
  2754. // 获取用户加入的所有群组
  2755. GetGroups(context.Context, *Empty) (*GetGroupsResp, error)
  2756. // 添加群组成员
  2757. AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error)
  2758. // 更新群组成员信息
  2759. UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error)
  2760. // 添加群组成员
  2761. DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error)
  2762. // 获取群组成员
  2763. GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error)
  2764. }
  2765. // UnimplementedLogicExtServer must be embedded to have forward compatible implementations.
  2766. type UnimplementedLogicExtServer struct {
  2767. }
  2768. func (UnimplementedLogicExtServer) RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error) {
  2769. return nil, status.Errorf(codes.Unimplemented, "method RegisterDevice not implemented")
  2770. }
  2771. func (UnimplementedLogicExtServer) SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error) {
  2772. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  2773. }
  2774. func (UnimplementedLogicExtServer) RecallMessage(context.Context, *RecallMessageReq) (*RecallMessageResp, error) {
  2775. return nil, status.Errorf(codes.Unimplemented, "method RecallMessage not implemented")
  2776. }
  2777. func (UnimplementedLogicExtServer) PushRoom(context.Context, *PushRoomReq) (*Empty, error) {
  2778. return nil, status.Errorf(codes.Unimplemented, "method PushRoom not implemented")
  2779. }
  2780. func (UnimplementedLogicExtServer) SendRedPacket(context.Context, *SendRedPacketReq) (*SendRedPacketResp, error) {
  2781. return nil, status.Errorf(codes.Unimplemented, "method SendRedPacket not implemented")
  2782. }
  2783. func (UnimplementedLogicExtServer) AddFriend(context.Context, *AddFriendReq) (*Empty, error) {
  2784. return nil, status.Errorf(codes.Unimplemented, "method AddFriend not implemented")
  2785. }
  2786. func (UnimplementedLogicExtServer) AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error) {
  2787. return nil, status.Errorf(codes.Unimplemented, "method AgreeAddFriend not implemented")
  2788. }
  2789. func (UnimplementedLogicExtServer) DeleteFriend(context.Context, *DeleteFriendReq) (*Empty, error) {
  2790. return nil, status.Errorf(codes.Unimplemented, "method DeleteFriend not implemented")
  2791. }
  2792. func (UnimplementedLogicExtServer) SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error) {
  2793. return nil, status.Errorf(codes.Unimplemented, "method SetFriend not implemented")
  2794. }
  2795. func (UnimplementedLogicExtServer) GetFriends(context.Context, *Empty) (*GetFriendsResp, error) {
  2796. return nil, status.Errorf(codes.Unimplemented, "method GetFriends not implemented")
  2797. }
  2798. func (UnimplementedLogicExtServer) CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error) {
  2799. return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented")
  2800. }
  2801. func (UnimplementedLogicExtServer) UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error) {
  2802. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented")
  2803. }
  2804. func (UnimplementedLogicExtServer) GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error) {
  2805. return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented")
  2806. }
  2807. func (UnimplementedLogicExtServer) GetGroups(context.Context, *Empty) (*GetGroupsResp, error) {
  2808. return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
  2809. }
  2810. func (UnimplementedLogicExtServer) AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error) {
  2811. return nil, status.Errorf(codes.Unimplemented, "method AddGroupMembers not implemented")
  2812. }
  2813. func (UnimplementedLogicExtServer) UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error) {
  2814. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroupMember not implemented")
  2815. }
  2816. func (UnimplementedLogicExtServer) DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error) {
  2817. return nil, status.Errorf(codes.Unimplemented, "method DeleteGroupMember not implemented")
  2818. }
  2819. func (UnimplementedLogicExtServer) GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error) {
  2820. return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembers not implemented")
  2821. }
  2822. func RegisterLogicExtServer(s grpc.ServiceRegistrar, srv LogicExtServer) {
  2823. s.RegisterService(&LogicExt_ServiceDesc, srv)
  2824. }
  2825. func _LogicExt_RegisterDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2826. in := new(RegisterDeviceReq)
  2827. if err := dec(in); err != nil {
  2828. return nil, err
  2829. }
  2830. if interceptor == nil {
  2831. return srv.(LogicExtServer).RegisterDevice(ctx, in)
  2832. }
  2833. info := &grpc.UnaryServerInfo{
  2834. Server: srv,
  2835. FullMethod: "/pb.LogicExt/RegisterDevice",
  2836. }
  2837. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2838. return srv.(LogicExtServer).RegisterDevice(ctx, req.(*RegisterDeviceReq))
  2839. }
  2840. return interceptor(ctx, in, info, handler)
  2841. }
  2842. func _LogicExt_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2843. in := new(SendMessageReq)
  2844. if err := dec(in); err != nil {
  2845. return nil, err
  2846. }
  2847. if interceptor == nil {
  2848. return srv.(LogicExtServer).SendMessage(ctx, in)
  2849. }
  2850. info := &grpc.UnaryServerInfo{
  2851. Server: srv,
  2852. FullMethod: "/pb.LogicExt/SendMessage",
  2853. }
  2854. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2855. return srv.(LogicExtServer).SendMessage(ctx, req.(*SendMessageReq))
  2856. }
  2857. return interceptor(ctx, in, info, handler)
  2858. }
  2859. func _LogicExt_RecallMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2860. in := new(RecallMessageReq)
  2861. if err := dec(in); err != nil {
  2862. return nil, err
  2863. }
  2864. if interceptor == nil {
  2865. return srv.(LogicExtServer).RecallMessage(ctx, in)
  2866. }
  2867. info := &grpc.UnaryServerInfo{
  2868. Server: srv,
  2869. FullMethod: "/pb.LogicExt/RecallMessage",
  2870. }
  2871. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2872. return srv.(LogicExtServer).RecallMessage(ctx, req.(*RecallMessageReq))
  2873. }
  2874. return interceptor(ctx, in, info, handler)
  2875. }
  2876. func _LogicExt_PushRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2877. in := new(PushRoomReq)
  2878. if err := dec(in); err != nil {
  2879. return nil, err
  2880. }
  2881. if interceptor == nil {
  2882. return srv.(LogicExtServer).PushRoom(ctx, in)
  2883. }
  2884. info := &grpc.UnaryServerInfo{
  2885. Server: srv,
  2886. FullMethod: "/pb.LogicExt/PushRoom",
  2887. }
  2888. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2889. return srv.(LogicExtServer).PushRoom(ctx, req.(*PushRoomReq))
  2890. }
  2891. return interceptor(ctx, in, info, handler)
  2892. }
  2893. func _LogicExt_SendRedPacket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2894. in := new(SendRedPacketReq)
  2895. if err := dec(in); err != nil {
  2896. return nil, err
  2897. }
  2898. if interceptor == nil {
  2899. return srv.(LogicExtServer).SendRedPacket(ctx, in)
  2900. }
  2901. info := &grpc.UnaryServerInfo{
  2902. Server: srv,
  2903. FullMethod: "/pb.LogicExt/SendRedPacket",
  2904. }
  2905. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2906. return srv.(LogicExtServer).SendRedPacket(ctx, req.(*SendRedPacketReq))
  2907. }
  2908. return interceptor(ctx, in, info, handler)
  2909. }
  2910. func _LogicExt_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2911. in := new(AddFriendReq)
  2912. if err := dec(in); err != nil {
  2913. return nil, err
  2914. }
  2915. if interceptor == nil {
  2916. return srv.(LogicExtServer).AddFriend(ctx, in)
  2917. }
  2918. info := &grpc.UnaryServerInfo{
  2919. Server: srv,
  2920. FullMethod: "/pb.LogicExt/AddFriend",
  2921. }
  2922. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2923. return srv.(LogicExtServer).AddFriend(ctx, req.(*AddFriendReq))
  2924. }
  2925. return interceptor(ctx, in, info, handler)
  2926. }
  2927. func _LogicExt_AgreeAddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2928. in := new(AgreeAddFriendReq)
  2929. if err := dec(in); err != nil {
  2930. return nil, err
  2931. }
  2932. if interceptor == nil {
  2933. return srv.(LogicExtServer).AgreeAddFriend(ctx, in)
  2934. }
  2935. info := &grpc.UnaryServerInfo{
  2936. Server: srv,
  2937. FullMethod: "/pb.LogicExt/AgreeAddFriend",
  2938. }
  2939. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2940. return srv.(LogicExtServer).AgreeAddFriend(ctx, req.(*AgreeAddFriendReq))
  2941. }
  2942. return interceptor(ctx, in, info, handler)
  2943. }
  2944. func _LogicExt_DeleteFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2945. in := new(DeleteFriendReq)
  2946. if err := dec(in); err != nil {
  2947. return nil, err
  2948. }
  2949. if interceptor == nil {
  2950. return srv.(LogicExtServer).DeleteFriend(ctx, in)
  2951. }
  2952. info := &grpc.UnaryServerInfo{
  2953. Server: srv,
  2954. FullMethod: "/pb.LogicExt/DeleteFriend",
  2955. }
  2956. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2957. return srv.(LogicExtServer).DeleteFriend(ctx, req.(*DeleteFriendReq))
  2958. }
  2959. return interceptor(ctx, in, info, handler)
  2960. }
  2961. func _LogicExt_SetFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2962. in := new(SetFriendReq)
  2963. if err := dec(in); err != nil {
  2964. return nil, err
  2965. }
  2966. if interceptor == nil {
  2967. return srv.(LogicExtServer).SetFriend(ctx, in)
  2968. }
  2969. info := &grpc.UnaryServerInfo{
  2970. Server: srv,
  2971. FullMethod: "/pb.LogicExt/SetFriend",
  2972. }
  2973. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2974. return srv.(LogicExtServer).SetFriend(ctx, req.(*SetFriendReq))
  2975. }
  2976. return interceptor(ctx, in, info, handler)
  2977. }
  2978. func _LogicExt_GetFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2979. in := new(Empty)
  2980. if err := dec(in); err != nil {
  2981. return nil, err
  2982. }
  2983. if interceptor == nil {
  2984. return srv.(LogicExtServer).GetFriends(ctx, in)
  2985. }
  2986. info := &grpc.UnaryServerInfo{
  2987. Server: srv,
  2988. FullMethod: "/pb.LogicExt/GetFriends",
  2989. }
  2990. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2991. return srv.(LogicExtServer).GetFriends(ctx, req.(*Empty))
  2992. }
  2993. return interceptor(ctx, in, info, handler)
  2994. }
  2995. func _LogicExt_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2996. in := new(CreateGroupReq)
  2997. if err := dec(in); err != nil {
  2998. return nil, err
  2999. }
  3000. if interceptor == nil {
  3001. return srv.(LogicExtServer).CreateGroup(ctx, in)
  3002. }
  3003. info := &grpc.UnaryServerInfo{
  3004. Server: srv,
  3005. FullMethod: "/pb.LogicExt/CreateGroup",
  3006. }
  3007. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3008. return srv.(LogicExtServer).CreateGroup(ctx, req.(*CreateGroupReq))
  3009. }
  3010. return interceptor(ctx, in, info, handler)
  3011. }
  3012. func _LogicExt_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3013. in := new(UpdateGroupReq)
  3014. if err := dec(in); err != nil {
  3015. return nil, err
  3016. }
  3017. if interceptor == nil {
  3018. return srv.(LogicExtServer).UpdateGroup(ctx, in)
  3019. }
  3020. info := &grpc.UnaryServerInfo{
  3021. Server: srv,
  3022. FullMethod: "/pb.LogicExt/UpdateGroup",
  3023. }
  3024. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3025. return srv.(LogicExtServer).UpdateGroup(ctx, req.(*UpdateGroupReq))
  3026. }
  3027. return interceptor(ctx, in, info, handler)
  3028. }
  3029. func _LogicExt_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3030. in := new(GetGroupReq)
  3031. if err := dec(in); err != nil {
  3032. return nil, err
  3033. }
  3034. if interceptor == nil {
  3035. return srv.(LogicExtServer).GetGroup(ctx, in)
  3036. }
  3037. info := &grpc.UnaryServerInfo{
  3038. Server: srv,
  3039. FullMethod: "/pb.LogicExt/GetGroup",
  3040. }
  3041. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3042. return srv.(LogicExtServer).GetGroup(ctx, req.(*GetGroupReq))
  3043. }
  3044. return interceptor(ctx, in, info, handler)
  3045. }
  3046. func _LogicExt_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3047. in := new(Empty)
  3048. if err := dec(in); err != nil {
  3049. return nil, err
  3050. }
  3051. if interceptor == nil {
  3052. return srv.(LogicExtServer).GetGroups(ctx, in)
  3053. }
  3054. info := &grpc.UnaryServerInfo{
  3055. Server: srv,
  3056. FullMethod: "/pb.LogicExt/GetGroups",
  3057. }
  3058. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3059. return srv.(LogicExtServer).GetGroups(ctx, req.(*Empty))
  3060. }
  3061. return interceptor(ctx, in, info, handler)
  3062. }
  3063. func _LogicExt_AddGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3064. in := new(AddGroupMembersReq)
  3065. if err := dec(in); err != nil {
  3066. return nil, err
  3067. }
  3068. if interceptor == nil {
  3069. return srv.(LogicExtServer).AddGroupMembers(ctx, in)
  3070. }
  3071. info := &grpc.UnaryServerInfo{
  3072. Server: srv,
  3073. FullMethod: "/pb.LogicExt/AddGroupMembers",
  3074. }
  3075. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3076. return srv.(LogicExtServer).AddGroupMembers(ctx, req.(*AddGroupMembersReq))
  3077. }
  3078. return interceptor(ctx, in, info, handler)
  3079. }
  3080. func _LogicExt_UpdateGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3081. in := new(UpdateGroupMemberReq)
  3082. if err := dec(in); err != nil {
  3083. return nil, err
  3084. }
  3085. if interceptor == nil {
  3086. return srv.(LogicExtServer).UpdateGroupMember(ctx, in)
  3087. }
  3088. info := &grpc.UnaryServerInfo{
  3089. Server: srv,
  3090. FullMethod: "/pb.LogicExt/UpdateGroupMember",
  3091. }
  3092. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3093. return srv.(LogicExtServer).UpdateGroupMember(ctx, req.(*UpdateGroupMemberReq))
  3094. }
  3095. return interceptor(ctx, in, info, handler)
  3096. }
  3097. func _LogicExt_DeleteGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3098. in := new(DeleteGroupMemberReq)
  3099. if err := dec(in); err != nil {
  3100. return nil, err
  3101. }
  3102. if interceptor == nil {
  3103. return srv.(LogicExtServer).DeleteGroupMember(ctx, in)
  3104. }
  3105. info := &grpc.UnaryServerInfo{
  3106. Server: srv,
  3107. FullMethod: "/pb.LogicExt/DeleteGroupMember",
  3108. }
  3109. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3110. return srv.(LogicExtServer).DeleteGroupMember(ctx, req.(*DeleteGroupMemberReq))
  3111. }
  3112. return interceptor(ctx, in, info, handler)
  3113. }
  3114. func _LogicExt_GetGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3115. in := new(GetGroupMembersReq)
  3116. if err := dec(in); err != nil {
  3117. return nil, err
  3118. }
  3119. if interceptor == nil {
  3120. return srv.(LogicExtServer).GetGroupMembers(ctx, in)
  3121. }
  3122. info := &grpc.UnaryServerInfo{
  3123. Server: srv,
  3124. FullMethod: "/pb.LogicExt/GetGroupMembers",
  3125. }
  3126. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3127. return srv.(LogicExtServer).GetGroupMembers(ctx, req.(*GetGroupMembersReq))
  3128. }
  3129. return interceptor(ctx, in, info, handler)
  3130. }
  3131. // LogicExt_ServiceDesc is the grpc.ServiceDesc for LogicExt service.
  3132. // It's only intended for direct use with grpc.RegisterService,
  3133. // and not to be introspected or modified (even as a copy)
  3134. var LogicExt_ServiceDesc = grpc.ServiceDesc{
  3135. ServiceName: "pb.LogicExt",
  3136. HandlerType: (*LogicExtServer)(nil),
  3137. Methods: []grpc.MethodDesc{
  3138. {
  3139. MethodName: "RegisterDevice",
  3140. Handler: _LogicExt_RegisterDevice_Handler,
  3141. },
  3142. {
  3143. MethodName: "SendMessage",
  3144. Handler: _LogicExt_SendMessage_Handler,
  3145. },
  3146. {
  3147. MethodName: "RecallMessage",
  3148. Handler: _LogicExt_RecallMessage_Handler,
  3149. },
  3150. {
  3151. MethodName: "PushRoom",
  3152. Handler: _LogicExt_PushRoom_Handler,
  3153. },
  3154. {
  3155. MethodName: "SendRedPacket",
  3156. Handler: _LogicExt_SendRedPacket_Handler,
  3157. },
  3158. {
  3159. MethodName: "AddFriend",
  3160. Handler: _LogicExt_AddFriend_Handler,
  3161. },
  3162. {
  3163. MethodName: "AgreeAddFriend",
  3164. Handler: _LogicExt_AgreeAddFriend_Handler,
  3165. },
  3166. {
  3167. MethodName: "DeleteFriend",
  3168. Handler: _LogicExt_DeleteFriend_Handler,
  3169. },
  3170. {
  3171. MethodName: "SetFriend",
  3172. Handler: _LogicExt_SetFriend_Handler,
  3173. },
  3174. {
  3175. MethodName: "GetFriends",
  3176. Handler: _LogicExt_GetFriends_Handler,
  3177. },
  3178. {
  3179. MethodName: "CreateGroup",
  3180. Handler: _LogicExt_CreateGroup_Handler,
  3181. },
  3182. {
  3183. MethodName: "UpdateGroup",
  3184. Handler: _LogicExt_UpdateGroup_Handler,
  3185. },
  3186. {
  3187. MethodName: "GetGroup",
  3188. Handler: _LogicExt_GetGroup_Handler,
  3189. },
  3190. {
  3191. MethodName: "GetGroups",
  3192. Handler: _LogicExt_GetGroups_Handler,
  3193. },
  3194. {
  3195. MethodName: "AddGroupMembers",
  3196. Handler: _LogicExt_AddGroupMembers_Handler,
  3197. },
  3198. {
  3199. MethodName: "UpdateGroupMember",
  3200. Handler: _LogicExt_UpdateGroupMember_Handler,
  3201. },
  3202. {
  3203. MethodName: "DeleteGroupMember",
  3204. Handler: _LogicExt_DeleteGroupMember_Handler,
  3205. },
  3206. {
  3207. MethodName: "GetGroupMembers",
  3208. Handler: _LogicExt_GetGroupMembers_Handler,
  3209. },
  3210. },
  3211. Streams: []grpc.StreamDesc{},
  3212. Metadata: "logic.ext.proto",
  3213. }