websocket.pb.go 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1-devel
  4. // protoc v3.21.8
  5. // source: websocket.proto
  6. package websocket
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. emptypb "google.golang.org/protobuf/types/known/emptypb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type FindOnlineCanMatchingPersonReply struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. List []*FindOnlineCanMatchingPersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  25. }
  26. func (x *FindOnlineCanMatchingPersonReply) Reset() {
  27. *x = FindOnlineCanMatchingPersonReply{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_websocket_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *FindOnlineCanMatchingPersonReply) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*FindOnlineCanMatchingPersonReply) ProtoMessage() {}
  38. func (x *FindOnlineCanMatchingPersonReply) ProtoReflect() protoreflect.Message {
  39. mi := &file_websocket_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use FindOnlineCanMatchingPersonReply.ProtoReflect.Descriptor instead.
  50. func (*FindOnlineCanMatchingPersonReply) Descriptor() ([]byte, []int) {
  51. return file_websocket_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *FindOnlineCanMatchingPersonReply) GetList() []*FindOnlineCanMatchingPersonInfo {
  54. if x != nil {
  55. return x.List
  56. }
  57. return make([]*FindOnlineCanMatchingPersonInfo, 0)
  58. }
  59. type FindOnlineCanMatchingPersonInfo struct {
  60. state protoimpl.MessageState
  61. sizeCache protoimpl.SizeCache
  62. unknownFields protoimpl.UnknownFields
  63. TodayMatchedNum int64 `protobuf:"varint,1,opt,name=todayMatchedNum,proto3" json:"todayMatchedNum"` // 今日被匹配数
  64. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
  65. Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight"` // 权重
  66. WorkingStatus string `protobuf:"bytes,4,opt,name=workingStatus,proto3" json:"workingStatus"` // 工作状态
  67. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  68. Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
  69. Province string `protobuf:"bytes,7,opt,name=province,proto3" json:"province"` // 省
  70. City string `protobuf:"bytes,8,opt,name=city,proto3" json:"city"` // 市
  71. }
  72. func (x *FindOnlineCanMatchingPersonInfo) Reset() {
  73. *x = FindOnlineCanMatchingPersonInfo{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_websocket_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *FindOnlineCanMatchingPersonInfo) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*FindOnlineCanMatchingPersonInfo) ProtoMessage() {}
  84. func (x *FindOnlineCanMatchingPersonInfo) ProtoReflect() protoreflect.Message {
  85. mi := &file_websocket_proto_msgTypes[1]
  86. if protoimpl.UnsafeEnabled && x != nil {
  87. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  88. if ms.LoadMessageInfo() == nil {
  89. ms.StoreMessageInfo(mi)
  90. }
  91. return ms
  92. }
  93. return mi.MessageOf(x)
  94. }
  95. // Deprecated: Use FindOnlineCanMatchingPersonInfo.ProtoReflect.Descriptor instead.
  96. func (*FindOnlineCanMatchingPersonInfo) Descriptor() ([]byte, []int) {
  97. return file_websocket_proto_rawDescGZIP(), []int{1}
  98. }
  99. func (x *FindOnlineCanMatchingPersonInfo) GetTodayMatchedNum() int64 {
  100. if x != nil {
  101. return x.TodayMatchedNum
  102. }
  103. return 0
  104. }
  105. func (x *FindOnlineCanMatchingPersonInfo) GetPersonId() string {
  106. if x != nil {
  107. return x.PersonId
  108. }
  109. return ""
  110. }
  111. func (x *FindOnlineCanMatchingPersonInfo) GetWeight() int64 {
  112. if x != nil {
  113. return x.Weight
  114. }
  115. return 0
  116. }
  117. func (x *FindOnlineCanMatchingPersonInfo) GetWorkingStatus() string {
  118. if x != nil {
  119. return x.WorkingStatus
  120. }
  121. return ""
  122. }
  123. func (x *FindOnlineCanMatchingPersonInfo) GetSex() int64 {
  124. if x != nil {
  125. return x.Sex
  126. }
  127. return 0
  128. }
  129. func (x *FindOnlineCanMatchingPersonInfo) GetAge() int64 {
  130. if x != nil {
  131. return x.Age
  132. }
  133. return 0
  134. }
  135. func (x *FindOnlineCanMatchingPersonInfo) GetProvince() string {
  136. if x != nil {
  137. return x.Province
  138. }
  139. return ""
  140. }
  141. func (x *FindOnlineCanMatchingPersonInfo) GetCity() string {
  142. if x != nil {
  143. return x.City
  144. }
  145. return ""
  146. }
  147. type OnlinePersonReply struct {
  148. state protoimpl.MessageState
  149. sizeCache protoimpl.SizeCache
  150. unknownFields protoimpl.UnknownFields
  151. UserManNum int64 `protobuf:"varint,1,opt,name=userManNum,proto3" json:"userManNum"` // 男用户在线数
  152. UserWomanNum int64 `protobuf:"varint,2,opt,name=userWomanNum,proto3" json:"userWomanNum"` // 女用户在线数
  153. UserOtherNum int64 `protobuf:"varint,3,opt,name=userOtherNum,proto3" json:"userOtherNum"` // 未填写性别的用户在线数
  154. }
  155. func (x *OnlinePersonReply) Reset() {
  156. *x = OnlinePersonReply{}
  157. if protoimpl.UnsafeEnabled {
  158. mi := &file_websocket_proto_msgTypes[2]
  159. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  160. ms.StoreMessageInfo(mi)
  161. }
  162. }
  163. func (x *OnlinePersonReply) String() string {
  164. return protoimpl.X.MessageStringOf(x)
  165. }
  166. func (*OnlinePersonReply) ProtoMessage() {}
  167. func (x *OnlinePersonReply) ProtoReflect() protoreflect.Message {
  168. mi := &file_websocket_proto_msgTypes[2]
  169. if protoimpl.UnsafeEnabled && x != nil {
  170. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  171. if ms.LoadMessageInfo() == nil {
  172. ms.StoreMessageInfo(mi)
  173. }
  174. return ms
  175. }
  176. return mi.MessageOf(x)
  177. }
  178. // Deprecated: Use OnlinePersonReply.ProtoReflect.Descriptor instead.
  179. func (*OnlinePersonReply) Descriptor() ([]byte, []int) {
  180. return file_websocket_proto_rawDescGZIP(), []int{2}
  181. }
  182. func (x *OnlinePersonReply) GetUserManNum() int64 {
  183. if x != nil {
  184. return x.UserManNum
  185. }
  186. return 0
  187. }
  188. func (x *OnlinePersonReply) GetUserWomanNum() int64 {
  189. if x != nil {
  190. return x.UserWomanNum
  191. }
  192. return 0
  193. }
  194. func (x *OnlinePersonReply) GetUserOtherNum() int64 {
  195. if x != nil {
  196. return x.UserOtherNum
  197. }
  198. return 0
  199. }
  200. type CheckIsOnlineRequest struct {
  201. state protoimpl.MessageState
  202. sizeCache protoimpl.SizeCache
  203. unknownFields protoimpl.UnknownFields
  204. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"` // 身份ID
  205. }
  206. func (x *CheckIsOnlineRequest) Reset() {
  207. *x = CheckIsOnlineRequest{}
  208. if protoimpl.UnsafeEnabled {
  209. mi := &file_websocket_proto_msgTypes[3]
  210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  211. ms.StoreMessageInfo(mi)
  212. }
  213. }
  214. func (x *CheckIsOnlineRequest) String() string {
  215. return protoimpl.X.MessageStringOf(x)
  216. }
  217. func (*CheckIsOnlineRequest) ProtoMessage() {}
  218. func (x *CheckIsOnlineRequest) ProtoReflect() protoreflect.Message {
  219. mi := &file_websocket_proto_msgTypes[3]
  220. if protoimpl.UnsafeEnabled && x != nil {
  221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  222. if ms.LoadMessageInfo() == nil {
  223. ms.StoreMessageInfo(mi)
  224. }
  225. return ms
  226. }
  227. return mi.MessageOf(x)
  228. }
  229. // Deprecated: Use CheckIsOnlineRequest.ProtoReflect.Descriptor instead.
  230. func (*CheckIsOnlineRequest) Descriptor() ([]byte, []int) {
  231. return file_websocket_proto_rawDescGZIP(), []int{3}
  232. }
  233. func (x *CheckIsOnlineRequest) GetUserId() string {
  234. if x != nil {
  235. return x.UserId
  236. }
  237. return ""
  238. }
  239. type CheckIsOnlineByIDsParam struct {
  240. state protoimpl.MessageState
  241. sizeCache protoimpl.SizeCache
  242. unknownFields protoimpl.UnknownFields
  243. UserIds []string `protobuf:"bytes,1,rep,name=userIds,proto3" json:"userIds"` // 身份ID
  244. }
  245. func (x *CheckIsOnlineByIDsParam) Reset() {
  246. *x = CheckIsOnlineByIDsParam{}
  247. if protoimpl.UnsafeEnabled {
  248. mi := &file_websocket_proto_msgTypes[4]
  249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  250. ms.StoreMessageInfo(mi)
  251. }
  252. }
  253. func (x *CheckIsOnlineByIDsParam) String() string {
  254. return protoimpl.X.MessageStringOf(x)
  255. }
  256. func (*CheckIsOnlineByIDsParam) ProtoMessage() {}
  257. func (x *CheckIsOnlineByIDsParam) ProtoReflect() protoreflect.Message {
  258. mi := &file_websocket_proto_msgTypes[4]
  259. if protoimpl.UnsafeEnabled && x != nil {
  260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  261. if ms.LoadMessageInfo() == nil {
  262. ms.StoreMessageInfo(mi)
  263. }
  264. return ms
  265. }
  266. return mi.MessageOf(x)
  267. }
  268. // Deprecated: Use CheckIsOnlineByIDsParam.ProtoReflect.Descriptor instead.
  269. func (*CheckIsOnlineByIDsParam) Descriptor() ([]byte, []int) {
  270. return file_websocket_proto_rawDescGZIP(), []int{4}
  271. }
  272. func (x *CheckIsOnlineByIDsParam) GetUserIds() []string {
  273. if x != nil {
  274. return x.UserIds
  275. }
  276. return make([]string, 0)
  277. }
  278. type CheckIsOnlineReply struct {
  279. state protoimpl.MessageState
  280. sizeCache protoimpl.SizeCache
  281. unknownFields protoimpl.UnknownFields
  282. IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline"` // 是否在线
  283. }
  284. func (x *CheckIsOnlineReply) Reset() {
  285. *x = CheckIsOnlineReply{}
  286. if protoimpl.UnsafeEnabled {
  287. mi := &file_websocket_proto_msgTypes[5]
  288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  289. ms.StoreMessageInfo(mi)
  290. }
  291. }
  292. func (x *CheckIsOnlineReply) String() string {
  293. return protoimpl.X.MessageStringOf(x)
  294. }
  295. func (*CheckIsOnlineReply) ProtoMessage() {}
  296. func (x *CheckIsOnlineReply) ProtoReflect() protoreflect.Message {
  297. mi := &file_websocket_proto_msgTypes[5]
  298. if protoimpl.UnsafeEnabled && x != nil {
  299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  300. if ms.LoadMessageInfo() == nil {
  301. ms.StoreMessageInfo(mi)
  302. }
  303. return ms
  304. }
  305. return mi.MessageOf(x)
  306. }
  307. // Deprecated: Use CheckIsOnlineReply.ProtoReflect.Descriptor instead.
  308. func (*CheckIsOnlineReply) Descriptor() ([]byte, []int) {
  309. return file_websocket_proto_rawDescGZIP(), []int{5}
  310. }
  311. func (x *CheckIsOnlineReply) GetIsOnline() bool {
  312. if x != nil {
  313. return x.IsOnline
  314. }
  315. return false
  316. }
  317. type UpdateWorkingStatusRequest struct {
  318. state protoimpl.MessageState
  319. sizeCache protoimpl.SizeCache
  320. unknownFields protoimpl.UnknownFields
  321. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  322. WorkingStatus string `protobuf:"bytes,2,opt,name=workingStatus,proto3" json:"workingStatus"`
  323. }
  324. func (x *UpdateWorkingStatusRequest) Reset() {
  325. *x = UpdateWorkingStatusRequest{}
  326. if protoimpl.UnsafeEnabled {
  327. mi := &file_websocket_proto_msgTypes[6]
  328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  329. ms.StoreMessageInfo(mi)
  330. }
  331. }
  332. func (x *UpdateWorkingStatusRequest) String() string {
  333. return protoimpl.X.MessageStringOf(x)
  334. }
  335. func (*UpdateWorkingStatusRequest) ProtoMessage() {}
  336. func (x *UpdateWorkingStatusRequest) ProtoReflect() protoreflect.Message {
  337. mi := &file_websocket_proto_msgTypes[6]
  338. if protoimpl.UnsafeEnabled && x != nil {
  339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  340. if ms.LoadMessageInfo() == nil {
  341. ms.StoreMessageInfo(mi)
  342. }
  343. return ms
  344. }
  345. return mi.MessageOf(x)
  346. }
  347. // Deprecated: Use UpdateWorkingStatusRequest.ProtoReflect.Descriptor instead.
  348. func (*UpdateWorkingStatusRequest) Descriptor() ([]byte, []int) {
  349. return file_websocket_proto_rawDescGZIP(), []int{6}
  350. }
  351. func (x *UpdateWorkingStatusRequest) GetId() string {
  352. if x != nil {
  353. return x.Id
  354. }
  355. return ""
  356. }
  357. func (x *UpdateWorkingStatusRequest) GetWorkingStatus() string {
  358. if x != nil {
  359. return x.WorkingStatus
  360. }
  361. return ""
  362. }
  363. type UpdateWeightRequest struct {
  364. state protoimpl.MessageState
  365. sizeCache protoimpl.SizeCache
  366. unknownFields protoimpl.UnknownFields
  367. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  368. Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight"`
  369. }
  370. func (x *UpdateWeightRequest) Reset() {
  371. *x = UpdateWeightRequest{}
  372. if protoimpl.UnsafeEnabled {
  373. mi := &file_websocket_proto_msgTypes[7]
  374. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  375. ms.StoreMessageInfo(mi)
  376. }
  377. }
  378. func (x *UpdateWeightRequest) String() string {
  379. return protoimpl.X.MessageStringOf(x)
  380. }
  381. func (*UpdateWeightRequest) ProtoMessage() {}
  382. func (x *UpdateWeightRequest) ProtoReflect() protoreflect.Message {
  383. mi := &file_websocket_proto_msgTypes[7]
  384. if protoimpl.UnsafeEnabled && x != nil {
  385. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  386. if ms.LoadMessageInfo() == nil {
  387. ms.StoreMessageInfo(mi)
  388. }
  389. return ms
  390. }
  391. return mi.MessageOf(x)
  392. }
  393. // Deprecated: Use UpdateWeightRequest.ProtoReflect.Descriptor instead.
  394. func (*UpdateWeightRequest) Descriptor() ([]byte, []int) {
  395. return file_websocket_proto_rawDescGZIP(), []int{7}
  396. }
  397. func (x *UpdateWeightRequest) GetId() string {
  398. if x != nil {
  399. return x.Id
  400. }
  401. return ""
  402. }
  403. func (x *UpdateWeightRequest) GetWeight() int64 {
  404. if x != nil {
  405. return x.Weight
  406. }
  407. return 0
  408. }
  409. type UpdateTodayMatchedNumRequest struct {
  410. state protoimpl.MessageState
  411. sizeCache protoimpl.SizeCache
  412. unknownFields protoimpl.UnknownFields
  413. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  414. TodayMatchedNum int64 `protobuf:"varint,2,opt,name=todayMatchedNum,proto3" json:"todayMatchedNum"`
  415. }
  416. func (x *UpdateTodayMatchedNumRequest) Reset() {
  417. *x = UpdateTodayMatchedNumRequest{}
  418. if protoimpl.UnsafeEnabled {
  419. mi := &file_websocket_proto_msgTypes[8]
  420. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  421. ms.StoreMessageInfo(mi)
  422. }
  423. }
  424. func (x *UpdateTodayMatchedNumRequest) String() string {
  425. return protoimpl.X.MessageStringOf(x)
  426. }
  427. func (*UpdateTodayMatchedNumRequest) ProtoMessage() {}
  428. func (x *UpdateTodayMatchedNumRequest) ProtoReflect() protoreflect.Message {
  429. mi := &file_websocket_proto_msgTypes[8]
  430. if protoimpl.UnsafeEnabled && x != nil {
  431. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  432. if ms.LoadMessageInfo() == nil {
  433. ms.StoreMessageInfo(mi)
  434. }
  435. return ms
  436. }
  437. return mi.MessageOf(x)
  438. }
  439. // Deprecated: Use UpdateTodayMatchedNumRequest.ProtoReflect.Descriptor instead.
  440. func (*UpdateTodayMatchedNumRequest) Descriptor() ([]byte, []int) {
  441. return file_websocket_proto_rawDescGZIP(), []int{8}
  442. }
  443. func (x *UpdateTodayMatchedNumRequest) GetId() string {
  444. if x != nil {
  445. return x.Id
  446. }
  447. return ""
  448. }
  449. func (x *UpdateTodayMatchedNumRequest) GetTodayMatchedNum() int64 {
  450. if x != nil {
  451. return x.TodayMatchedNum
  452. }
  453. return 0
  454. }
  455. type MessageInfo struct {
  456. state protoimpl.MessageState
  457. sizeCache protoimpl.SizeCache
  458. unknownFields protoimpl.UnknownFields
  459. RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"` // 房间ID
  460. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message"` // 发送的消息
  461. MsgType string `protobuf:"bytes,3,opt,name=msgType,proto3" json:"msgType"` // 消息类型
  462. }
  463. func (x *MessageInfo) Reset() {
  464. *x = MessageInfo{}
  465. if protoimpl.UnsafeEnabled {
  466. mi := &file_websocket_proto_msgTypes[9]
  467. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  468. ms.StoreMessageInfo(mi)
  469. }
  470. }
  471. func (x *MessageInfo) String() string {
  472. return protoimpl.X.MessageStringOf(x)
  473. }
  474. func (*MessageInfo) ProtoMessage() {}
  475. func (x *MessageInfo) ProtoReflect() protoreflect.Message {
  476. mi := &file_websocket_proto_msgTypes[9]
  477. if protoimpl.UnsafeEnabled && x != nil {
  478. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  479. if ms.LoadMessageInfo() == nil {
  480. ms.StoreMessageInfo(mi)
  481. }
  482. return ms
  483. }
  484. return mi.MessageOf(x)
  485. }
  486. // Deprecated: Use MessageInfo.ProtoReflect.Descriptor instead.
  487. func (*MessageInfo) Descriptor() ([]byte, []int) {
  488. return file_websocket_proto_rawDescGZIP(), []int{9}
  489. }
  490. func (x *MessageInfo) GetRoomId() int64 {
  491. if x != nil {
  492. return x.RoomId
  493. }
  494. return 0
  495. }
  496. func (x *MessageInfo) GetMessage() string {
  497. if x != nil {
  498. return x.Message
  499. }
  500. return ""
  501. }
  502. func (x *MessageInfo) GetMsgType() string {
  503. if x != nil {
  504. return x.MsgType
  505. }
  506. return ""
  507. }
  508. type SendMsgRequest struct {
  509. state protoimpl.MessageState
  510. sizeCache protoimpl.SizeCache
  511. unknownFields protoimpl.UnknownFields
  512. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  513. Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method"`
  514. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data"`
  515. Code int32 `protobuf:"varint,4,opt,name=code,proto3" json:"code"`
  516. Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message"`
  517. WebsocketTag string `protobuf:"bytes,6,opt,name=websocketTag,proto3" json:"websocketTag"`
  518. IsSelf bool `protobuf:"varint,7,opt,name=isSelf,proto3" json:"isSelf"` // 是否是给自己发送的
  519. }
  520. func (x *SendMsgRequest) Reset() {
  521. *x = SendMsgRequest{}
  522. if protoimpl.UnsafeEnabled {
  523. mi := &file_websocket_proto_msgTypes[10]
  524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  525. ms.StoreMessageInfo(mi)
  526. }
  527. }
  528. func (x *SendMsgRequest) String() string {
  529. return protoimpl.X.MessageStringOf(x)
  530. }
  531. func (*SendMsgRequest) ProtoMessage() {}
  532. func (x *SendMsgRequest) ProtoReflect() protoreflect.Message {
  533. mi := &file_websocket_proto_msgTypes[10]
  534. if protoimpl.UnsafeEnabled && x != nil {
  535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  536. if ms.LoadMessageInfo() == nil {
  537. ms.StoreMessageInfo(mi)
  538. }
  539. return ms
  540. }
  541. return mi.MessageOf(x)
  542. }
  543. // Deprecated: Use SendMsgRequest.ProtoReflect.Descriptor instead.
  544. func (*SendMsgRequest) Descriptor() ([]byte, []int) {
  545. return file_websocket_proto_rawDescGZIP(), []int{10}
  546. }
  547. func (x *SendMsgRequest) GetId() string {
  548. if x != nil {
  549. return x.Id
  550. }
  551. return ""
  552. }
  553. func (x *SendMsgRequest) GetMethod() string {
  554. if x != nil {
  555. return x.Method
  556. }
  557. return ""
  558. }
  559. func (x *SendMsgRequest) GetData() []byte {
  560. if x != nil {
  561. return x.Data
  562. }
  563. return make([]byte, 0)
  564. }
  565. func (x *SendMsgRequest) GetCode() int32 {
  566. if x != nil {
  567. return x.Code
  568. }
  569. return 0
  570. }
  571. func (x *SendMsgRequest) GetMessage() string {
  572. if x != nil {
  573. return x.Message
  574. }
  575. return ""
  576. }
  577. func (x *SendMsgRequest) GetWebsocketTag() string {
  578. if x != nil {
  579. return x.WebsocketTag
  580. }
  581. return ""
  582. }
  583. func (x *SendMsgRequest) GetIsSelf() bool {
  584. if x != nil {
  585. return x.IsSelf
  586. }
  587. return false
  588. }
  589. type SendMsgReply struct {
  590. state protoimpl.MessageState
  591. sizeCache protoimpl.SizeCache
  592. unknownFields protoimpl.UnknownFields
  593. }
  594. func (x *SendMsgReply) Reset() {
  595. *x = SendMsgReply{}
  596. if protoimpl.UnsafeEnabled {
  597. mi := &file_websocket_proto_msgTypes[11]
  598. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  599. ms.StoreMessageInfo(mi)
  600. }
  601. }
  602. func (x *SendMsgReply) String() string {
  603. return protoimpl.X.MessageStringOf(x)
  604. }
  605. func (*SendMsgReply) ProtoMessage() {}
  606. func (x *SendMsgReply) ProtoReflect() protoreflect.Message {
  607. mi := &file_websocket_proto_msgTypes[11]
  608. if protoimpl.UnsafeEnabled && x != nil {
  609. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  610. if ms.LoadMessageInfo() == nil {
  611. ms.StoreMessageInfo(mi)
  612. }
  613. return ms
  614. }
  615. return mi.MessageOf(x)
  616. }
  617. // Deprecated: Use SendMsgReply.ProtoReflect.Descriptor instead.
  618. func (*SendMsgReply) Descriptor() ([]byte, []int) {
  619. return file_websocket_proto_rawDescGZIP(), []int{11}
  620. }
  621. type FindOnlinePersonReply struct {
  622. state protoimpl.MessageState
  623. sizeCache protoimpl.SizeCache
  624. unknownFields protoimpl.UnknownFields
  625. List []*OnlinePersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  626. }
  627. func (x *FindOnlinePersonReply) Reset() {
  628. *x = FindOnlinePersonReply{}
  629. if protoimpl.UnsafeEnabled {
  630. mi := &file_websocket_proto_msgTypes[12]
  631. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  632. ms.StoreMessageInfo(mi)
  633. }
  634. }
  635. func (x *FindOnlinePersonReply) String() string {
  636. return protoimpl.X.MessageStringOf(x)
  637. }
  638. func (*FindOnlinePersonReply) ProtoMessage() {}
  639. func (x *FindOnlinePersonReply) ProtoReflect() protoreflect.Message {
  640. mi := &file_websocket_proto_msgTypes[12]
  641. if protoimpl.UnsafeEnabled && x != nil {
  642. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  643. if ms.LoadMessageInfo() == nil {
  644. ms.StoreMessageInfo(mi)
  645. }
  646. return ms
  647. }
  648. return mi.MessageOf(x)
  649. }
  650. // Deprecated: Use FindOnlinePersonReply.ProtoReflect.Descriptor instead.
  651. func (*FindOnlinePersonReply) Descriptor() ([]byte, []int) {
  652. return file_websocket_proto_rawDescGZIP(), []int{12}
  653. }
  654. func (x *FindOnlinePersonReply) GetList() []*OnlinePersonInfo {
  655. if x != nil {
  656. return x.List
  657. }
  658. return make([]*OnlinePersonInfo, 0)
  659. }
  660. type OnlinePersonInfo struct {
  661. state protoimpl.MessageState
  662. sizeCache protoimpl.SizeCache
  663. unknownFields protoimpl.UnknownFields
  664. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
  665. Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight"` // 权重
  666. WorkingStatus string `protobuf:"bytes,4,opt,name=workingStatus,proto3" json:"workingStatus"` // 工作状态
  667. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  668. }
  669. func (x *OnlinePersonInfo) Reset() {
  670. *x = OnlinePersonInfo{}
  671. if protoimpl.UnsafeEnabled {
  672. mi := &file_websocket_proto_msgTypes[13]
  673. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  674. ms.StoreMessageInfo(mi)
  675. }
  676. }
  677. func (x *OnlinePersonInfo) String() string {
  678. return protoimpl.X.MessageStringOf(x)
  679. }
  680. func (*OnlinePersonInfo) ProtoMessage() {}
  681. func (x *OnlinePersonInfo) ProtoReflect() protoreflect.Message {
  682. mi := &file_websocket_proto_msgTypes[13]
  683. if protoimpl.UnsafeEnabled && x != nil {
  684. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  685. if ms.LoadMessageInfo() == nil {
  686. ms.StoreMessageInfo(mi)
  687. }
  688. return ms
  689. }
  690. return mi.MessageOf(x)
  691. }
  692. // Deprecated: Use OnlinePersonInfo.ProtoReflect.Descriptor instead.
  693. func (*OnlinePersonInfo) Descriptor() ([]byte, []int) {
  694. return file_websocket_proto_rawDescGZIP(), []int{13}
  695. }
  696. func (x *OnlinePersonInfo) GetPersonId() string {
  697. if x != nil {
  698. return x.PersonId
  699. }
  700. return ""
  701. }
  702. func (x *OnlinePersonInfo) GetWeight() int64 {
  703. if x != nil {
  704. return x.Weight
  705. }
  706. return 0
  707. }
  708. func (x *OnlinePersonInfo) GetWorkingStatus() string {
  709. if x != nil {
  710. return x.WorkingStatus
  711. }
  712. return ""
  713. }
  714. func (x *OnlinePersonInfo) GetSex() int64 {
  715. if x != nil {
  716. return x.Sex
  717. }
  718. return 0
  719. }
  720. var File_websocket_proto protoreflect.FileDescriptor
  721. var file_websocket_proto_rawDesc = []byte{
  722. 0x0a, 0x0f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  723. 0x6f, 0x12, 0x0d, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
  724. 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  725. 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a,
  726. 0x20, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61,
  727. 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c,
  728. 0x79, 0x12, 0x42, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  729. 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e,
  730. 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74,
  731. 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  732. 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xf9, 0x01, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e,
  733. 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50,
  734. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x6f, 0x64,
  735. 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01,
  736. 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,
  737. 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18,
  738. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12,
  739. 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  740. 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69,
  741. 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  742. 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a,
  743. 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
  744. 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67,
  745. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20,
  746. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a,
  747. 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74,
  748. 0x79, 0x22, 0x7b, 0x0a, 0x11, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f,
  749. 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x61,
  750. 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72,
  751. 0x4d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x57, 0x6f,
  752. 0x6d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x75, 0x73,
  753. 0x65, 0x72, 0x57, 0x6f, 0x6d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x75, 0x73,
  754. 0x65, 0x72, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
  755. 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x22, 0x2e,
  756. 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52,
  757. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  758. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x33,
  759. 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42,
  760. 0x79, 0x49, 0x44, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65,
  761. 0x72, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72,
  762. 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e,
  763. 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f,
  764. 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f,
  765. 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x52, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,
  766. 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75,
  767. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  768. 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74,
  769. 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b,
  770. 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3d, 0x0a, 0x13, 0x55, 0x70, 0x64,
  771. 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  772. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  773. 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  774. 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x58, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61,
  775. 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75,
  776. 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  777. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x6f, 0x64, 0x61,
  778. 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28,
  779. 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e,
  780. 0x75, 0x6d, 0x22, 0x59, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66,
  781. 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  782. 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  783. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  784. 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03,
  785. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0xb6, 0x01,
  786. 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  787. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  788. 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  789. 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  790. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
  791. 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
  792. 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
  793. 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65,
  794. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  795. 0x52, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x16,
  796. 0x0a, 0x06, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
  797. 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73,
  798. 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e,
  799. 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
  800. 0x33, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
  801. 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4f, 0x6e,
  802. 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04,
  803. 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7e, 0x0a, 0x10, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65,
  804. 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73,
  805. 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73,
  806. 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03,
  807. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d,
  808. 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20,
  809. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74,
  810. 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
  811. 0x03, 0x73, 0x65, 0x78, 0x32, 0xac, 0x06, 0x0a, 0x09, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b,
  812. 0x65, 0x74, 0x12, 0x50, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
  813. 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  814. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x24,
  815. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x46,
  816. 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52,
  817. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x66, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69,
  818. 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72,
  819. 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  820. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x2f, 0x2e, 0x61, 0x70,
  821. 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64,
  822. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e,
  823. 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x47, 0x0a, 0x07,
  824. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65,
  825. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52,
  826. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62,
  827. 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65,
  828. 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,
  829. 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 0x2e, 0x61,
  830. 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64,
  831. 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
  832. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  833. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
  834. 0x00, 0x12, 0x4c, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68,
  835. 0x74, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65,
  836. 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65,
  837. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  838. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12,
  839. 0x5e, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61,
  840. 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77,
  841. 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
  842. 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x52, 0x65,
  843. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  844. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12,
  845. 0x59, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
  846. 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
  847. 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65,
  848. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73,
  849. 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c,
  850. 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x12, 0x43, 0x68,
  851. 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73,
  852. 0x12, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
  853. 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x79,
  854. 0x49, 0x44, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77,
  855. 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73,
  856. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d,
  857. 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
  858. 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  859. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  860. 0x79, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65,
  861. 0x74, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65,
  862. 0x70, 0x6c, 0x79, 0x42, 0x4c, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f,
  863. 0x63, 0x6b, 0x65, 0x74, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62,
  864. 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77,
  865. 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x65,
  866. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65,
  867. 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  868. }
  869. var (
  870. file_websocket_proto_rawDescOnce sync.Once
  871. file_websocket_proto_rawDescData = file_websocket_proto_rawDesc
  872. )
  873. func file_websocket_proto_rawDescGZIP() []byte {
  874. file_websocket_proto_rawDescOnce.Do(func() {
  875. file_websocket_proto_rawDescData = protoimpl.X.CompressGZIP(file_websocket_proto_rawDescData)
  876. })
  877. return file_websocket_proto_rawDescData
  878. }
  879. var file_websocket_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  880. var file_websocket_proto_goTypes = []interface{}{
  881. (*FindOnlineCanMatchingPersonReply)(nil), // 0: api.websocket.FindOnlineCanMatchingPersonReply
  882. (*FindOnlineCanMatchingPersonInfo)(nil), // 1: api.websocket.FindOnlineCanMatchingPersonInfo
  883. (*OnlinePersonReply)(nil), // 2: api.websocket.OnlinePersonReply
  884. (*CheckIsOnlineRequest)(nil), // 3: api.websocket.CheckIsOnlineRequest
  885. (*CheckIsOnlineByIDsParam)(nil), // 4: api.websocket.CheckIsOnlineByIDsParam
  886. (*CheckIsOnlineReply)(nil), // 5: api.websocket.CheckIsOnlineReply
  887. (*UpdateWorkingStatusRequest)(nil), // 6: api.websocket.UpdateWorkingStatusRequest
  888. (*UpdateWeightRequest)(nil), // 7: api.websocket.UpdateWeightRequest
  889. (*UpdateTodayMatchedNumRequest)(nil), // 8: api.websocket.UpdateTodayMatchedNumRequest
  890. (*MessageInfo)(nil), // 9: api.websocket.MessageInfo
  891. (*SendMsgRequest)(nil), // 10: api.websocket.SendMsgRequest
  892. (*SendMsgReply)(nil), // 11: api.websocket.SendMsgReply
  893. (*FindOnlinePersonReply)(nil), // 12: api.websocket.FindOnlinePersonReply
  894. (*OnlinePersonInfo)(nil), // 13: api.websocket.OnlinePersonInfo
  895. (*emptypb.Empty)(nil), // 14: google.protobuf.Empty
  896. }
  897. var file_websocket_proto_depIdxs = []int32{
  898. 1, // 0: api.websocket.FindOnlineCanMatchingPersonReply.list:type_name -> api.websocket.FindOnlineCanMatchingPersonInfo
  899. 13, // 1: api.websocket.FindOnlinePersonReply.list:type_name -> api.websocket.OnlinePersonInfo
  900. 14, // 2: api.websocket.Websocket.FindOnlinePerson:input_type -> google.protobuf.Empty
  901. 14, // 3: api.websocket.Websocket.FindOnlineCanMatchingPerson:input_type -> google.protobuf.Empty
  902. 10, // 4: api.websocket.Websocket.SendMsg:input_type -> api.websocket.SendMsgRequest
  903. 6, // 5: api.websocket.Websocket.UpdateWorkingStatus:input_type -> api.websocket.UpdateWorkingStatusRequest
  904. 7, // 6: api.websocket.Websocket.UpdateWeight:input_type -> api.websocket.UpdateWeightRequest
  905. 8, // 7: api.websocket.Websocket.UpdateTodayMatchedNum:input_type -> api.websocket.UpdateTodayMatchedNumRequest
  906. 3, // 8: api.websocket.Websocket.CheckIsOnline:input_type -> api.websocket.CheckIsOnlineRequest
  907. 4, // 9: api.websocket.Websocket.CheckIsOnlineByIDs:input_type -> api.websocket.CheckIsOnlineByIDsParam
  908. 14, // 10: api.websocket.Websocket.FindOnlinePersonNum:input_type -> google.protobuf.Empty
  909. 12, // 11: api.websocket.Websocket.FindOnlinePerson:output_type -> api.websocket.FindOnlinePersonReply
  910. 0, // 12: api.websocket.Websocket.FindOnlineCanMatchingPerson:output_type -> api.websocket.FindOnlineCanMatchingPersonReply
  911. 11, // 13: api.websocket.Websocket.SendMsg:output_type -> api.websocket.SendMsgReply
  912. 14, // 14: api.websocket.Websocket.UpdateWorkingStatus:output_type -> google.protobuf.Empty
  913. 14, // 15: api.websocket.Websocket.UpdateWeight:output_type -> google.protobuf.Empty
  914. 14, // 16: api.websocket.Websocket.UpdateTodayMatchedNum:output_type -> google.protobuf.Empty
  915. 5, // 17: api.websocket.Websocket.CheckIsOnline:output_type -> api.websocket.CheckIsOnlineReply
  916. 4, // 18: api.websocket.Websocket.CheckIsOnlineByIDs:output_type -> api.websocket.CheckIsOnlineByIDsParam
  917. 2, // 19: api.websocket.Websocket.FindOnlinePersonNum:output_type -> api.websocket.OnlinePersonReply
  918. 11, // [11:20] is the sub-list for method output_type
  919. 2, // [2:11] is the sub-list for method input_type
  920. 2, // [2:2] is the sub-list for extension type_name
  921. 2, // [2:2] is the sub-list for extension extendee
  922. 0, // [0:2] is the sub-list for field type_name
  923. }
  924. func init() { file_websocket_proto_init() }
  925. func file_websocket_proto_init() {
  926. if File_websocket_proto != nil {
  927. return
  928. }
  929. if !protoimpl.UnsafeEnabled {
  930. file_websocket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  931. switch v := v.(*FindOnlineCanMatchingPersonReply); i {
  932. case 0:
  933. return &v.state
  934. case 1:
  935. return &v.sizeCache
  936. case 2:
  937. return &v.unknownFields
  938. default:
  939. return nil
  940. }
  941. }
  942. file_websocket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  943. switch v := v.(*FindOnlineCanMatchingPersonInfo); i {
  944. case 0:
  945. return &v.state
  946. case 1:
  947. return &v.sizeCache
  948. case 2:
  949. return &v.unknownFields
  950. default:
  951. return nil
  952. }
  953. }
  954. file_websocket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  955. switch v := v.(*OnlinePersonReply); i {
  956. case 0:
  957. return &v.state
  958. case 1:
  959. return &v.sizeCache
  960. case 2:
  961. return &v.unknownFields
  962. default:
  963. return nil
  964. }
  965. }
  966. file_websocket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  967. switch v := v.(*CheckIsOnlineRequest); i {
  968. case 0:
  969. return &v.state
  970. case 1:
  971. return &v.sizeCache
  972. case 2:
  973. return &v.unknownFields
  974. default:
  975. return nil
  976. }
  977. }
  978. file_websocket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  979. switch v := v.(*CheckIsOnlineByIDsParam); i {
  980. case 0:
  981. return &v.state
  982. case 1:
  983. return &v.sizeCache
  984. case 2:
  985. return &v.unknownFields
  986. default:
  987. return nil
  988. }
  989. }
  990. file_websocket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  991. switch v := v.(*CheckIsOnlineReply); i {
  992. case 0:
  993. return &v.state
  994. case 1:
  995. return &v.sizeCache
  996. case 2:
  997. return &v.unknownFields
  998. default:
  999. return nil
  1000. }
  1001. }
  1002. file_websocket_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1003. switch v := v.(*UpdateWorkingStatusRequest); i {
  1004. case 0:
  1005. return &v.state
  1006. case 1:
  1007. return &v.sizeCache
  1008. case 2:
  1009. return &v.unknownFields
  1010. default:
  1011. return nil
  1012. }
  1013. }
  1014. file_websocket_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1015. switch v := v.(*UpdateWeightRequest); i {
  1016. case 0:
  1017. return &v.state
  1018. case 1:
  1019. return &v.sizeCache
  1020. case 2:
  1021. return &v.unknownFields
  1022. default:
  1023. return nil
  1024. }
  1025. }
  1026. file_websocket_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1027. switch v := v.(*UpdateTodayMatchedNumRequest); i {
  1028. case 0:
  1029. return &v.state
  1030. case 1:
  1031. return &v.sizeCache
  1032. case 2:
  1033. return &v.unknownFields
  1034. default:
  1035. return nil
  1036. }
  1037. }
  1038. file_websocket_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1039. switch v := v.(*MessageInfo); i {
  1040. case 0:
  1041. return &v.state
  1042. case 1:
  1043. return &v.sizeCache
  1044. case 2:
  1045. return &v.unknownFields
  1046. default:
  1047. return nil
  1048. }
  1049. }
  1050. file_websocket_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1051. switch v := v.(*SendMsgRequest); i {
  1052. case 0:
  1053. return &v.state
  1054. case 1:
  1055. return &v.sizeCache
  1056. case 2:
  1057. return &v.unknownFields
  1058. default:
  1059. return nil
  1060. }
  1061. }
  1062. file_websocket_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1063. switch v := v.(*SendMsgReply); i {
  1064. case 0:
  1065. return &v.state
  1066. case 1:
  1067. return &v.sizeCache
  1068. case 2:
  1069. return &v.unknownFields
  1070. default:
  1071. return nil
  1072. }
  1073. }
  1074. file_websocket_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1075. switch v := v.(*FindOnlinePersonReply); i {
  1076. case 0:
  1077. return &v.state
  1078. case 1:
  1079. return &v.sizeCache
  1080. case 2:
  1081. return &v.unknownFields
  1082. default:
  1083. return nil
  1084. }
  1085. }
  1086. file_websocket_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1087. switch v := v.(*OnlinePersonInfo); i {
  1088. case 0:
  1089. return &v.state
  1090. case 1:
  1091. return &v.sizeCache
  1092. case 2:
  1093. return &v.unknownFields
  1094. default:
  1095. return nil
  1096. }
  1097. }
  1098. }
  1099. type x struct{}
  1100. out := protoimpl.TypeBuilder{
  1101. File: protoimpl.DescBuilder{
  1102. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1103. RawDescriptor: file_websocket_proto_rawDesc,
  1104. NumEnums: 0,
  1105. NumMessages: 14,
  1106. NumExtensions: 0,
  1107. NumServices: 1,
  1108. },
  1109. GoTypes: file_websocket_proto_goTypes,
  1110. DependencyIndexes: file_websocket_proto_depIdxs,
  1111. MessageInfos: file_websocket_proto_msgTypes,
  1112. }.Build()
  1113. File_websocket_proto = out.File
  1114. file_websocket_proto_rawDesc = nil
  1115. file_websocket_proto_goTypes = nil
  1116. file_websocket_proto_depIdxs = nil
  1117. }