websocket.pb.go 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250
  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. }
  519. func (x *SendMsgRequest) Reset() {
  520. *x = SendMsgRequest{}
  521. if protoimpl.UnsafeEnabled {
  522. mi := &file_websocket_proto_msgTypes[10]
  523. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  524. ms.StoreMessageInfo(mi)
  525. }
  526. }
  527. func (x *SendMsgRequest) String() string {
  528. return protoimpl.X.MessageStringOf(x)
  529. }
  530. func (*SendMsgRequest) ProtoMessage() {}
  531. func (x *SendMsgRequest) ProtoReflect() protoreflect.Message {
  532. mi := &file_websocket_proto_msgTypes[10]
  533. if protoimpl.UnsafeEnabled && x != nil {
  534. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  535. if ms.LoadMessageInfo() == nil {
  536. ms.StoreMessageInfo(mi)
  537. }
  538. return ms
  539. }
  540. return mi.MessageOf(x)
  541. }
  542. // Deprecated: Use SendMsgRequest.ProtoReflect.Descriptor instead.
  543. func (*SendMsgRequest) Descriptor() ([]byte, []int) {
  544. return file_websocket_proto_rawDescGZIP(), []int{10}
  545. }
  546. func (x *SendMsgRequest) GetId() string {
  547. if x != nil {
  548. return x.Id
  549. }
  550. return ""
  551. }
  552. func (x *SendMsgRequest) GetMethod() string {
  553. if x != nil {
  554. return x.Method
  555. }
  556. return ""
  557. }
  558. func (x *SendMsgRequest) GetData() []byte {
  559. if x != nil {
  560. return x.Data
  561. }
  562. return make([]byte, 0)
  563. }
  564. func (x *SendMsgRequest) GetCode() int32 {
  565. if x != nil {
  566. return x.Code
  567. }
  568. return 0
  569. }
  570. func (x *SendMsgRequest) GetMessage() string {
  571. if x != nil {
  572. return x.Message
  573. }
  574. return ""
  575. }
  576. func (x *SendMsgRequest) GetWebsocketTag() string {
  577. if x != nil {
  578. return x.WebsocketTag
  579. }
  580. return ""
  581. }
  582. type SendMsgReply struct {
  583. state protoimpl.MessageState
  584. sizeCache protoimpl.SizeCache
  585. unknownFields protoimpl.UnknownFields
  586. }
  587. func (x *SendMsgReply) Reset() {
  588. *x = SendMsgReply{}
  589. if protoimpl.UnsafeEnabled {
  590. mi := &file_websocket_proto_msgTypes[11]
  591. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  592. ms.StoreMessageInfo(mi)
  593. }
  594. }
  595. func (x *SendMsgReply) String() string {
  596. return protoimpl.X.MessageStringOf(x)
  597. }
  598. func (*SendMsgReply) ProtoMessage() {}
  599. func (x *SendMsgReply) ProtoReflect() protoreflect.Message {
  600. mi := &file_websocket_proto_msgTypes[11]
  601. if protoimpl.UnsafeEnabled && x != nil {
  602. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  603. if ms.LoadMessageInfo() == nil {
  604. ms.StoreMessageInfo(mi)
  605. }
  606. return ms
  607. }
  608. return mi.MessageOf(x)
  609. }
  610. // Deprecated: Use SendMsgReply.ProtoReflect.Descriptor instead.
  611. func (*SendMsgReply) Descriptor() ([]byte, []int) {
  612. return file_websocket_proto_rawDescGZIP(), []int{11}
  613. }
  614. type FindOnlinePersonReply struct {
  615. state protoimpl.MessageState
  616. sizeCache protoimpl.SizeCache
  617. unknownFields protoimpl.UnknownFields
  618. List []*OnlinePersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  619. }
  620. func (x *FindOnlinePersonReply) Reset() {
  621. *x = FindOnlinePersonReply{}
  622. if protoimpl.UnsafeEnabled {
  623. mi := &file_websocket_proto_msgTypes[12]
  624. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  625. ms.StoreMessageInfo(mi)
  626. }
  627. }
  628. func (x *FindOnlinePersonReply) String() string {
  629. return protoimpl.X.MessageStringOf(x)
  630. }
  631. func (*FindOnlinePersonReply) ProtoMessage() {}
  632. func (x *FindOnlinePersonReply) ProtoReflect() protoreflect.Message {
  633. mi := &file_websocket_proto_msgTypes[12]
  634. if protoimpl.UnsafeEnabled && x != nil {
  635. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  636. if ms.LoadMessageInfo() == nil {
  637. ms.StoreMessageInfo(mi)
  638. }
  639. return ms
  640. }
  641. return mi.MessageOf(x)
  642. }
  643. // Deprecated: Use FindOnlinePersonReply.ProtoReflect.Descriptor instead.
  644. func (*FindOnlinePersonReply) Descriptor() ([]byte, []int) {
  645. return file_websocket_proto_rawDescGZIP(), []int{12}
  646. }
  647. func (x *FindOnlinePersonReply) GetList() []*OnlinePersonInfo {
  648. if x != nil {
  649. return x.List
  650. }
  651. return make([]*OnlinePersonInfo, 0)
  652. }
  653. type OnlinePersonInfo struct {
  654. state protoimpl.MessageState
  655. sizeCache protoimpl.SizeCache
  656. unknownFields protoimpl.UnknownFields
  657. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
  658. Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight"` // 权重
  659. WorkingStatus string `protobuf:"bytes,4,opt,name=workingStatus,proto3" json:"workingStatus"` // 工作状态
  660. Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
  661. }
  662. func (x *OnlinePersonInfo) Reset() {
  663. *x = OnlinePersonInfo{}
  664. if protoimpl.UnsafeEnabled {
  665. mi := &file_websocket_proto_msgTypes[13]
  666. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  667. ms.StoreMessageInfo(mi)
  668. }
  669. }
  670. func (x *OnlinePersonInfo) String() string {
  671. return protoimpl.X.MessageStringOf(x)
  672. }
  673. func (*OnlinePersonInfo) ProtoMessage() {}
  674. func (x *OnlinePersonInfo) ProtoReflect() protoreflect.Message {
  675. mi := &file_websocket_proto_msgTypes[13]
  676. if protoimpl.UnsafeEnabled && x != nil {
  677. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  678. if ms.LoadMessageInfo() == nil {
  679. ms.StoreMessageInfo(mi)
  680. }
  681. return ms
  682. }
  683. return mi.MessageOf(x)
  684. }
  685. // Deprecated: Use OnlinePersonInfo.ProtoReflect.Descriptor instead.
  686. func (*OnlinePersonInfo) Descriptor() ([]byte, []int) {
  687. return file_websocket_proto_rawDescGZIP(), []int{13}
  688. }
  689. func (x *OnlinePersonInfo) GetPersonId() string {
  690. if x != nil {
  691. return x.PersonId
  692. }
  693. return ""
  694. }
  695. func (x *OnlinePersonInfo) GetWeight() int64 {
  696. if x != nil {
  697. return x.Weight
  698. }
  699. return 0
  700. }
  701. func (x *OnlinePersonInfo) GetWorkingStatus() string {
  702. if x != nil {
  703. return x.WorkingStatus
  704. }
  705. return ""
  706. }
  707. func (x *OnlinePersonInfo) GetSex() int64 {
  708. if x != nil {
  709. return x.Sex
  710. }
  711. return 0
  712. }
  713. var File_websocket_proto protoreflect.FileDescriptor
  714. var file_websocket_proto_rawDesc = []byte{
  715. 0x0a, 0x0f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  716. 0x6f, 0x12, 0x0d, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
  717. 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  718. 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a,
  719. 0x20, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61,
  720. 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c,
  721. 0x79, 0x12, 0x42, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  722. 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e,
  723. 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74,
  724. 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
  725. 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xf9, 0x01, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e,
  726. 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50,
  727. 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x6f, 0x64,
  728. 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01,
  729. 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,
  730. 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18,
  731. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12,
  732. 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  733. 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69,
  734. 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  735. 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a,
  736. 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
  737. 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67,
  738. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20,
  739. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a,
  740. 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74,
  741. 0x79, 0x22, 0x7b, 0x0a, 0x11, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f,
  742. 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x61,
  743. 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72,
  744. 0x4d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x57, 0x6f,
  745. 0x6d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x75, 0x73,
  746. 0x65, 0x72, 0x57, 0x6f, 0x6d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x75, 0x73,
  747. 0x65, 0x72, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
  748. 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x22, 0x2e,
  749. 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52,
  750. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  751. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x33,
  752. 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42,
  753. 0x79, 0x49, 0x44, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65,
  754. 0x72, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72,
  755. 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e,
  756. 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f,
  757. 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f,
  758. 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x52, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,
  759. 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75,
  760. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  761. 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74,
  762. 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b,
  763. 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3d, 0x0a, 0x13, 0x55, 0x70, 0x64,
  764. 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  765. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  766. 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  767. 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x58, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61,
  768. 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75,
  769. 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  770. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x6f, 0x64, 0x61,
  771. 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28,
  772. 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e,
  773. 0x75, 0x6d, 0x22, 0x59, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66,
  774. 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  775. 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  776. 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  777. 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03,
  778. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9e, 0x01,
  779. 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  780. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  781. 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  782. 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  783. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
  784. 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
  785. 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
  786. 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65,
  787. 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  788. 0x52, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x22, 0x0e,
  789. 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x4c,
  790. 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73,
  791. 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x33, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
  792. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73,
  793. 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73,
  794. 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7e, 0x0a, 0x10,
  795. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f,
  796. 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
  797. 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
  798. 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65,
  799. 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53,
  800. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72,
  801. 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
  802. 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x32, 0xac, 0x06, 0x0a,
  803. 0x09, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x50, 0x0a, 0x10, 0x46, 0x69,
  804. 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x16,
  805. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  806. 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62,
  807. 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  808. 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x66, 0x0a, 0x1b,
  809. 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74,
  810. 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f,
  811. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
  812. 0x70, 0x74, 0x79, 0x1a, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
  813. 0x6b, 0x65, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61,
  814. 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52,
  815. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x47, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12,
  816. 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e,
  817. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b,
  818. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53,
  819. 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5a, 0x0a,
  820. 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74,
  821. 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f,
  822. 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69,
  823. 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  824. 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  825. 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0c, 0x55, 0x70, 0x64,
  826. 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  827. 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  828. 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  829. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  830. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74,
  831. 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d,
  832. 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
  833. 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63,
  834. 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  835. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  836. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b,
  837. 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77,
  838. 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73,
  839. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
  840. 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68,
  841. 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79,
  842. 0x22, 0x00, 0x12, 0x66, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c,
  843. 0x69, 0x6e, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x12, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77,
  844. 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73,
  845. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d,
  846. 0x1a, 0x26, 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, 0x42, 0x79,
  848. 0x49, 0x44, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x13, 0x46, 0x69,
  849. 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x75,
  850. 0x6d, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  851. 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  852. 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
  853. 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x4c, 0x0a, 0x0d, 0x61,
  854. 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x01, 0x5a, 0x39,
  855. 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73,
  856. 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  857. 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x3b,
  858. 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  859. 0x33,
  860. }
  861. var (
  862. file_websocket_proto_rawDescOnce sync.Once
  863. file_websocket_proto_rawDescData = file_websocket_proto_rawDesc
  864. )
  865. func file_websocket_proto_rawDescGZIP() []byte {
  866. file_websocket_proto_rawDescOnce.Do(func() {
  867. file_websocket_proto_rawDescData = protoimpl.X.CompressGZIP(file_websocket_proto_rawDescData)
  868. })
  869. return file_websocket_proto_rawDescData
  870. }
  871. var file_websocket_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  872. var file_websocket_proto_goTypes = []interface{}{
  873. (*FindOnlineCanMatchingPersonReply)(nil), // 0: api.websocket.FindOnlineCanMatchingPersonReply
  874. (*FindOnlineCanMatchingPersonInfo)(nil), // 1: api.websocket.FindOnlineCanMatchingPersonInfo
  875. (*OnlinePersonReply)(nil), // 2: api.websocket.OnlinePersonReply
  876. (*CheckIsOnlineRequest)(nil), // 3: api.websocket.CheckIsOnlineRequest
  877. (*CheckIsOnlineByIDsParam)(nil), // 4: api.websocket.CheckIsOnlineByIDsParam
  878. (*CheckIsOnlineReply)(nil), // 5: api.websocket.CheckIsOnlineReply
  879. (*UpdateWorkingStatusRequest)(nil), // 6: api.websocket.UpdateWorkingStatusRequest
  880. (*UpdateWeightRequest)(nil), // 7: api.websocket.UpdateWeightRequest
  881. (*UpdateTodayMatchedNumRequest)(nil), // 8: api.websocket.UpdateTodayMatchedNumRequest
  882. (*MessageInfo)(nil), // 9: api.websocket.MessageInfo
  883. (*SendMsgRequest)(nil), // 10: api.websocket.SendMsgRequest
  884. (*SendMsgReply)(nil), // 11: api.websocket.SendMsgReply
  885. (*FindOnlinePersonReply)(nil), // 12: api.websocket.FindOnlinePersonReply
  886. (*OnlinePersonInfo)(nil), // 13: api.websocket.OnlinePersonInfo
  887. (*emptypb.Empty)(nil), // 14: google.protobuf.Empty
  888. }
  889. var file_websocket_proto_depIdxs = []int32{
  890. 1, // 0: api.websocket.FindOnlineCanMatchingPersonReply.list:type_name -> api.websocket.FindOnlineCanMatchingPersonInfo
  891. 13, // 1: api.websocket.FindOnlinePersonReply.list:type_name -> api.websocket.OnlinePersonInfo
  892. 14, // 2: api.websocket.Websocket.FindOnlinePerson:input_type -> google.protobuf.Empty
  893. 14, // 3: api.websocket.Websocket.FindOnlineCanMatchingPerson:input_type -> google.protobuf.Empty
  894. 10, // 4: api.websocket.Websocket.SendMsg:input_type -> api.websocket.SendMsgRequest
  895. 6, // 5: api.websocket.Websocket.UpdateWorkingStatus:input_type -> api.websocket.UpdateWorkingStatusRequest
  896. 7, // 6: api.websocket.Websocket.UpdateWeight:input_type -> api.websocket.UpdateWeightRequest
  897. 8, // 7: api.websocket.Websocket.UpdateTodayMatchedNum:input_type -> api.websocket.UpdateTodayMatchedNumRequest
  898. 3, // 8: api.websocket.Websocket.CheckIsOnline:input_type -> api.websocket.CheckIsOnlineRequest
  899. 4, // 9: api.websocket.Websocket.CheckIsOnlineByIDs:input_type -> api.websocket.CheckIsOnlineByIDsParam
  900. 14, // 10: api.websocket.Websocket.FindOnlinePersonNum:input_type -> google.protobuf.Empty
  901. 12, // 11: api.websocket.Websocket.FindOnlinePerson:output_type -> api.websocket.FindOnlinePersonReply
  902. 0, // 12: api.websocket.Websocket.FindOnlineCanMatchingPerson:output_type -> api.websocket.FindOnlineCanMatchingPersonReply
  903. 11, // 13: api.websocket.Websocket.SendMsg:output_type -> api.websocket.SendMsgReply
  904. 14, // 14: api.websocket.Websocket.UpdateWorkingStatus:output_type -> google.protobuf.Empty
  905. 14, // 15: api.websocket.Websocket.UpdateWeight:output_type -> google.protobuf.Empty
  906. 14, // 16: api.websocket.Websocket.UpdateTodayMatchedNum:output_type -> google.protobuf.Empty
  907. 5, // 17: api.websocket.Websocket.CheckIsOnline:output_type -> api.websocket.CheckIsOnlineReply
  908. 4, // 18: api.websocket.Websocket.CheckIsOnlineByIDs:output_type -> api.websocket.CheckIsOnlineByIDsParam
  909. 2, // 19: api.websocket.Websocket.FindOnlinePersonNum:output_type -> api.websocket.OnlinePersonReply
  910. 11, // [11:20] is the sub-list for method output_type
  911. 2, // [2:11] is the sub-list for method input_type
  912. 2, // [2:2] is the sub-list for extension type_name
  913. 2, // [2:2] is the sub-list for extension extendee
  914. 0, // [0:2] is the sub-list for field type_name
  915. }
  916. func init() { file_websocket_proto_init() }
  917. func file_websocket_proto_init() {
  918. if File_websocket_proto != nil {
  919. return
  920. }
  921. if !protoimpl.UnsafeEnabled {
  922. file_websocket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  923. switch v := v.(*FindOnlineCanMatchingPersonReply); i {
  924. case 0:
  925. return &v.state
  926. case 1:
  927. return &v.sizeCache
  928. case 2:
  929. return &v.unknownFields
  930. default:
  931. return nil
  932. }
  933. }
  934. file_websocket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  935. switch v := v.(*FindOnlineCanMatchingPersonInfo); i {
  936. case 0:
  937. return &v.state
  938. case 1:
  939. return &v.sizeCache
  940. case 2:
  941. return &v.unknownFields
  942. default:
  943. return nil
  944. }
  945. }
  946. file_websocket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  947. switch v := v.(*OnlinePersonReply); i {
  948. case 0:
  949. return &v.state
  950. case 1:
  951. return &v.sizeCache
  952. case 2:
  953. return &v.unknownFields
  954. default:
  955. return nil
  956. }
  957. }
  958. file_websocket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  959. switch v := v.(*CheckIsOnlineRequest); i {
  960. case 0:
  961. return &v.state
  962. case 1:
  963. return &v.sizeCache
  964. case 2:
  965. return &v.unknownFields
  966. default:
  967. return nil
  968. }
  969. }
  970. file_websocket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  971. switch v := v.(*CheckIsOnlineByIDsParam); i {
  972. case 0:
  973. return &v.state
  974. case 1:
  975. return &v.sizeCache
  976. case 2:
  977. return &v.unknownFields
  978. default:
  979. return nil
  980. }
  981. }
  982. file_websocket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  983. switch v := v.(*CheckIsOnlineReply); i {
  984. case 0:
  985. return &v.state
  986. case 1:
  987. return &v.sizeCache
  988. case 2:
  989. return &v.unknownFields
  990. default:
  991. return nil
  992. }
  993. }
  994. file_websocket_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  995. switch v := v.(*UpdateWorkingStatusRequest); i {
  996. case 0:
  997. return &v.state
  998. case 1:
  999. return &v.sizeCache
  1000. case 2:
  1001. return &v.unknownFields
  1002. default:
  1003. return nil
  1004. }
  1005. }
  1006. file_websocket_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1007. switch v := v.(*UpdateWeightRequest); i {
  1008. case 0:
  1009. return &v.state
  1010. case 1:
  1011. return &v.sizeCache
  1012. case 2:
  1013. return &v.unknownFields
  1014. default:
  1015. return nil
  1016. }
  1017. }
  1018. file_websocket_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1019. switch v := v.(*UpdateTodayMatchedNumRequest); i {
  1020. case 0:
  1021. return &v.state
  1022. case 1:
  1023. return &v.sizeCache
  1024. case 2:
  1025. return &v.unknownFields
  1026. default:
  1027. return nil
  1028. }
  1029. }
  1030. file_websocket_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1031. switch v := v.(*MessageInfo); i {
  1032. case 0:
  1033. return &v.state
  1034. case 1:
  1035. return &v.sizeCache
  1036. case 2:
  1037. return &v.unknownFields
  1038. default:
  1039. return nil
  1040. }
  1041. }
  1042. file_websocket_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1043. switch v := v.(*SendMsgRequest); i {
  1044. case 0:
  1045. return &v.state
  1046. case 1:
  1047. return &v.sizeCache
  1048. case 2:
  1049. return &v.unknownFields
  1050. default:
  1051. return nil
  1052. }
  1053. }
  1054. file_websocket_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1055. switch v := v.(*SendMsgReply); i {
  1056. case 0:
  1057. return &v.state
  1058. case 1:
  1059. return &v.sizeCache
  1060. case 2:
  1061. return &v.unknownFields
  1062. default:
  1063. return nil
  1064. }
  1065. }
  1066. file_websocket_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1067. switch v := v.(*FindOnlinePersonReply); i {
  1068. case 0:
  1069. return &v.state
  1070. case 1:
  1071. return &v.sizeCache
  1072. case 2:
  1073. return &v.unknownFields
  1074. default:
  1075. return nil
  1076. }
  1077. }
  1078. file_websocket_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1079. switch v := v.(*OnlinePersonInfo); i {
  1080. case 0:
  1081. return &v.state
  1082. case 1:
  1083. return &v.sizeCache
  1084. case 2:
  1085. return &v.unknownFields
  1086. default:
  1087. return nil
  1088. }
  1089. }
  1090. }
  1091. type x struct{}
  1092. out := protoimpl.TypeBuilder{
  1093. File: protoimpl.DescBuilder{
  1094. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1095. RawDescriptor: file_websocket_proto_rawDesc,
  1096. NumEnums: 0,
  1097. NumMessages: 14,
  1098. NumExtensions: 0,
  1099. NumServices: 1,
  1100. },
  1101. GoTypes: file_websocket_proto_goTypes,
  1102. DependencyIndexes: file_websocket_proto_depIdxs,
  1103. MessageInfos: file_websocket_proto_msgTypes,
  1104. }.Build()
  1105. File_websocket_proto = out.File
  1106. file_websocket_proto_rawDesc = nil
  1107. file_websocket_proto_goTypes = nil
  1108. file_websocket_proto_depIdxs = nil
  1109. }