websocket.pb.go 45 KB

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