message.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.32.0
  4. // protoc v4.25.1
  5. // source: proto/message.proto
  6. package model
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  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 RosterChange_Op int32
  21. const (
  22. RosterChange_OP_UNSPECIFIED RosterChange_Op = 0
  23. RosterChange_OP_JOINED RosterChange_Op = 1
  24. RosterChange_OP_LEFT RosterChange_Op = 2
  25. )
  26. // Enum value maps for RosterChange_Op.
  27. var (
  28. RosterChange_Op_name = map[int32]string{
  29. 0: "OP_UNSPECIFIED",
  30. 1: "OP_JOINED",
  31. 2: "OP_LEFT",
  32. }
  33. RosterChange_Op_value = map[string]int32{
  34. "OP_UNSPECIFIED": 0,
  35. "OP_JOINED": 1,
  36. "OP_LEFT": 2,
  37. }
  38. )
  39. func (x RosterChange_Op) Enum() *RosterChange_Op {
  40. p := new(RosterChange_Op)
  41. *p = x
  42. return p
  43. }
  44. func (x RosterChange_Op) String() string {
  45. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  46. }
  47. func (RosterChange_Op) Descriptor() protoreflect.EnumDescriptor {
  48. return file_proto_message_proto_enumTypes[0].Descriptor()
  49. }
  50. func (RosterChange_Op) Type() protoreflect.EnumType {
  51. return &file_proto_message_proto_enumTypes[0]
  52. }
  53. func (x RosterChange_Op) Number() protoreflect.EnumNumber {
  54. return protoreflect.EnumNumber(x)
  55. }
  56. // Deprecated: Use RosterChange_Op.Descriptor instead.
  57. func (RosterChange_Op) EnumDescriptor() ([]byte, []int) {
  58. return file_proto_message_proto_rawDescGZIP(), []int{3, 0}
  59. }
  60. type Message struct {
  61. state protoimpl.MessageState
  62. sizeCache protoimpl.SizeCache
  63. unknownFields protoimpl.UnknownFields
  64. At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
  65. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
  66. Broadcaster string `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
  67. Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
  68. User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
  69. Text string `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"`
  70. Sticker bool `protobuf:"varint,12,opt,name=sticker,proto3" json:"sticker,omitempty"`
  71. }
  72. func (x *Message) Reset() {
  73. *x = Message{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_proto_message_proto_msgTypes[0]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *Message) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*Message) ProtoMessage() {}
  84. func (x *Message) ProtoReflect() protoreflect.Message {
  85. mi := &file_proto_message_proto_msgTypes[0]
  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 Message.ProtoReflect.Descriptor instead.
  96. func (*Message) Descriptor() ([]byte, []int) {
  97. return file_proto_message_proto_rawDescGZIP(), []int{0}
  98. }
  99. func (x *Message) GetAt() *timestamppb.Timestamp {
  100. if x != nil {
  101. return x.At
  102. }
  103. return nil
  104. }
  105. func (x *Message) GetPlatform() string {
  106. if x != nil {
  107. return x.Platform
  108. }
  109. return ""
  110. }
  111. func (x *Message) GetBroadcaster() string {
  112. if x != nil {
  113. return x.Broadcaster
  114. }
  115. return ""
  116. }
  117. func (x *Message) GetRaw() []byte {
  118. if x != nil {
  119. return x.Raw
  120. }
  121. return nil
  122. }
  123. func (x *Message) GetUser() *User {
  124. if x != nil {
  125. return x.User
  126. }
  127. return nil
  128. }
  129. func (x *Message) GetText() string {
  130. if x != nil {
  131. return x.Text
  132. }
  133. return ""
  134. }
  135. func (x *Message) GetSticker() bool {
  136. if x != nil {
  137. return x.Sticker
  138. }
  139. return false
  140. }
  141. type Donation struct {
  142. state protoimpl.MessageState
  143. sizeCache protoimpl.SizeCache
  144. unknownFields protoimpl.UnknownFields
  145. At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
  146. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
  147. Broadcaster string `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
  148. Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
  149. User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
  150. Amount uint64 `protobuf:"varint,11,opt,name=amount,proto3" json:"amount,omitempty"`
  151. }
  152. func (x *Donation) Reset() {
  153. *x = Donation{}
  154. if protoimpl.UnsafeEnabled {
  155. mi := &file_proto_message_proto_msgTypes[1]
  156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  157. ms.StoreMessageInfo(mi)
  158. }
  159. }
  160. func (x *Donation) String() string {
  161. return protoimpl.X.MessageStringOf(x)
  162. }
  163. func (*Donation) ProtoMessage() {}
  164. func (x *Donation) ProtoReflect() protoreflect.Message {
  165. mi := &file_proto_message_proto_msgTypes[1]
  166. if protoimpl.UnsafeEnabled && x != nil {
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. if ms.LoadMessageInfo() == nil {
  169. ms.StoreMessageInfo(mi)
  170. }
  171. return ms
  172. }
  173. return mi.MessageOf(x)
  174. }
  175. // Deprecated: Use Donation.ProtoReflect.Descriptor instead.
  176. func (*Donation) Descriptor() ([]byte, []int) {
  177. return file_proto_message_proto_rawDescGZIP(), []int{1}
  178. }
  179. func (x *Donation) GetAt() *timestamppb.Timestamp {
  180. if x != nil {
  181. return x.At
  182. }
  183. return nil
  184. }
  185. func (x *Donation) GetPlatform() string {
  186. if x != nil {
  187. return x.Platform
  188. }
  189. return ""
  190. }
  191. func (x *Donation) GetBroadcaster() string {
  192. if x != nil {
  193. return x.Broadcaster
  194. }
  195. return ""
  196. }
  197. func (x *Donation) GetRaw() []byte {
  198. if x != nil {
  199. return x.Raw
  200. }
  201. return nil
  202. }
  203. func (x *Donation) GetUser() *User {
  204. if x != nil {
  205. return x.User
  206. }
  207. return nil
  208. }
  209. func (x *Donation) GetAmount() uint64 {
  210. if x != nil {
  211. return x.Amount
  212. }
  213. return 0
  214. }
  215. type Online struct {
  216. state protoimpl.MessageState
  217. sizeCache protoimpl.SizeCache
  218. unknownFields protoimpl.UnknownFields
  219. At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
  220. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
  221. Broadcaster string `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
  222. Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
  223. Total uint64 `protobuf:"varint,12,opt,name=total,proto3" json:"total,omitempty"`
  224. DevicePc uint64 `protobuf:"varint,13,opt,name=device_pc,proto3" json:"device_pc,omitempty"`
  225. DeviceMobile uint64 `protobuf:"varint,14,opt,name=device_mobile,proto3" json:"device_mobile,omitempty"`
  226. DeviceUnknown uint64 `protobuf:"varint,15,opt,name=device_unknown,proto3" json:"device_unknown,omitempty"`
  227. }
  228. func (x *Online) Reset() {
  229. *x = Online{}
  230. if protoimpl.UnsafeEnabled {
  231. mi := &file_proto_message_proto_msgTypes[2]
  232. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  233. ms.StoreMessageInfo(mi)
  234. }
  235. }
  236. func (x *Online) String() string {
  237. return protoimpl.X.MessageStringOf(x)
  238. }
  239. func (*Online) ProtoMessage() {}
  240. func (x *Online) ProtoReflect() protoreflect.Message {
  241. mi := &file_proto_message_proto_msgTypes[2]
  242. if protoimpl.UnsafeEnabled && x != nil {
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. if ms.LoadMessageInfo() == nil {
  245. ms.StoreMessageInfo(mi)
  246. }
  247. return ms
  248. }
  249. return mi.MessageOf(x)
  250. }
  251. // Deprecated: Use Online.ProtoReflect.Descriptor instead.
  252. func (*Online) Descriptor() ([]byte, []int) {
  253. return file_proto_message_proto_rawDescGZIP(), []int{2}
  254. }
  255. func (x *Online) GetAt() *timestamppb.Timestamp {
  256. if x != nil {
  257. return x.At
  258. }
  259. return nil
  260. }
  261. func (x *Online) GetPlatform() string {
  262. if x != nil {
  263. return x.Platform
  264. }
  265. return ""
  266. }
  267. func (x *Online) GetBroadcaster() string {
  268. if x != nil {
  269. return x.Broadcaster
  270. }
  271. return ""
  272. }
  273. func (x *Online) GetRaw() []byte {
  274. if x != nil {
  275. return x.Raw
  276. }
  277. return nil
  278. }
  279. func (x *Online) GetTotal() uint64 {
  280. if x != nil {
  281. return x.Total
  282. }
  283. return 0
  284. }
  285. func (x *Online) GetDevicePc() uint64 {
  286. if x != nil {
  287. return x.DevicePc
  288. }
  289. return 0
  290. }
  291. func (x *Online) GetDeviceMobile() uint64 {
  292. if x != nil {
  293. return x.DeviceMobile
  294. }
  295. return 0
  296. }
  297. func (x *Online) GetDeviceUnknown() uint64 {
  298. if x != nil {
  299. return x.DeviceUnknown
  300. }
  301. return 0
  302. }
  303. type RosterChange struct {
  304. state protoimpl.MessageState
  305. sizeCache protoimpl.SizeCache
  306. unknownFields protoimpl.UnknownFields
  307. At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
  308. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
  309. Broadcaster string `protobuf:"bytes,3,opt,name=broadcaster,proto3" json:"broadcaster,omitempty"`
  310. Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
  311. User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
  312. Operation RosterChange_Op `protobuf:"varint,11,opt,name=operation,json=op,proto3,enum=model.RosterChange_Op" json:"operation,omitempty"`
  313. }
  314. func (x *RosterChange) Reset() {
  315. *x = RosterChange{}
  316. if protoimpl.UnsafeEnabled {
  317. mi := &file_proto_message_proto_msgTypes[3]
  318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  319. ms.StoreMessageInfo(mi)
  320. }
  321. }
  322. func (x *RosterChange) String() string {
  323. return protoimpl.X.MessageStringOf(x)
  324. }
  325. func (*RosterChange) ProtoMessage() {}
  326. func (x *RosterChange) ProtoReflect() protoreflect.Message {
  327. mi := &file_proto_message_proto_msgTypes[3]
  328. if protoimpl.UnsafeEnabled && x != nil {
  329. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  330. if ms.LoadMessageInfo() == nil {
  331. ms.StoreMessageInfo(mi)
  332. }
  333. return ms
  334. }
  335. return mi.MessageOf(x)
  336. }
  337. // Deprecated: Use RosterChange.ProtoReflect.Descriptor instead.
  338. func (*RosterChange) Descriptor() ([]byte, []int) {
  339. return file_proto_message_proto_rawDescGZIP(), []int{3}
  340. }
  341. func (x *RosterChange) GetAt() *timestamppb.Timestamp {
  342. if x != nil {
  343. return x.At
  344. }
  345. return nil
  346. }
  347. func (x *RosterChange) GetPlatform() string {
  348. if x != nil {
  349. return x.Platform
  350. }
  351. return ""
  352. }
  353. func (x *RosterChange) GetBroadcaster() string {
  354. if x != nil {
  355. return x.Broadcaster
  356. }
  357. return ""
  358. }
  359. func (x *RosterChange) GetRaw() []byte {
  360. if x != nil {
  361. return x.Raw
  362. }
  363. return nil
  364. }
  365. func (x *RosterChange) GetUser() *User {
  366. if x != nil {
  367. return x.User
  368. }
  369. return nil
  370. }
  371. func (x *RosterChange) GetOperation() RosterChange_Op {
  372. if x != nil {
  373. return x.Operation
  374. }
  375. return RosterChange_OP_UNSPECIFIED
  376. }
  377. type User struct {
  378. state protoimpl.MessageState
  379. sizeCache protoimpl.SizeCache
  380. unknownFields protoimpl.UnknownFields
  381. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  382. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  383. }
  384. func (x *User) Reset() {
  385. *x = User{}
  386. if protoimpl.UnsafeEnabled {
  387. mi := &file_proto_message_proto_msgTypes[4]
  388. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  389. ms.StoreMessageInfo(mi)
  390. }
  391. }
  392. func (x *User) String() string {
  393. return protoimpl.X.MessageStringOf(x)
  394. }
  395. func (*User) ProtoMessage() {}
  396. func (x *User) ProtoReflect() protoreflect.Message {
  397. mi := &file_proto_message_proto_msgTypes[4]
  398. if protoimpl.UnsafeEnabled && x != nil {
  399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  400. if ms.LoadMessageInfo() == nil {
  401. ms.StoreMessageInfo(mi)
  402. }
  403. return ms
  404. }
  405. return mi.MessageOf(x)
  406. }
  407. // Deprecated: Use User.ProtoReflect.Descriptor instead.
  408. func (*User) Descriptor() ([]byte, []int) {
  409. return file_proto_message_proto_rawDescGZIP(), []int{4}
  410. }
  411. func (x *User) GetId() string {
  412. if x != nil {
  413. return x.Id
  414. }
  415. return ""
  416. }
  417. func (x *User) GetName() string {
  418. if x != nil {
  419. return x.Name
  420. }
  421. return ""
  422. }
  423. var File_proto_message_proto protoreflect.FileDescriptor
  424. var file_proto_message_proto_rawDesc = []byte{
  425. 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
  426. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x1a, 0x1f, 0x67, 0x6f,
  427. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
  428. 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x01,
  429. 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x02, 0x61, 0x74, 0x18,
  430. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  431. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
  432. 0x70, 0x52, 0x02, 0x61, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
  433. 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
  434. 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72,
  435. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73,
  436. 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
  437. 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x1f, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x0a, 0x20,
  438. 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72,
  439. 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0b,
  440. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74,
  441. 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x69,
  442. 0x63, 0x6b, 0x65, 0x72, 0x22, 0xbf, 0x01, 0x0a, 0x08, 0x44, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  443. 0x6e, 0x12, 0x2a, 0x0a, 0x02, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
  444. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  445. 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x61, 0x74, 0x12, 0x1a, 0x0a,
  446. 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  447. 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x72, 0x6f,
  448. 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  449. 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x72,
  450. 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x1f, 0x0a,
  451. 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6d, 0x6f,
  452. 0x64, 0x65, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16,
  453. 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06,
  454. 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x86, 0x02, 0x0a, 0x06, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  455. 0x65, 0x12, 0x2a, 0x0a, 0x02, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
  456. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  457. 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x61, 0x74, 0x12, 0x1a, 0x0a,
  458. 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  459. 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x72, 0x6f,
  460. 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  461. 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x72,
  462. 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x14, 0x0a,
  463. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f,
  464. 0x74, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x63,
  465. 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70,
  466. 0x63, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x62, 0x69,
  467. 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
  468. 0x5f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x65, 0x76, 0x69, 0x63,
  469. 0x65, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52,
  470. 0x0e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x22,
  471. 0x90, 0x02, 0x0a, 0x0c, 0x52, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
  472. 0x12, 0x2a, 0x0a, 0x02, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  473. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  474. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x61, 0x74, 0x12, 0x1a, 0x0a, 0x08,
  475. 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  476. 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x72, 0x6f, 0x61,
  477. 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62,
  478. 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61,
  479. 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x1f, 0x0a, 0x04,
  480. 0x75, 0x73, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6d, 0x6f, 0x64,
  481. 0x65, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x2d, 0x0a,
  482. 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e,
  483. 0x32, 0x16, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x52, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x43,
  484. 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x02, 0x6f, 0x70, 0x22, 0x34, 0x0a, 0x02,
  485. 0x4f, 0x70, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x50, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
  486. 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x50, 0x5f, 0x4a, 0x4f, 0x49,
  487. 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x5f, 0x4c, 0x45, 0x46, 0x54,
  488. 0x10, 0x02, 0x22, 0x2a, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  489. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  490. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09,
  491. 0x5a, 0x07, 0x2e, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  492. 0x33,
  493. }
  494. var (
  495. file_proto_message_proto_rawDescOnce sync.Once
  496. file_proto_message_proto_rawDescData = file_proto_message_proto_rawDesc
  497. )
  498. func file_proto_message_proto_rawDescGZIP() []byte {
  499. file_proto_message_proto_rawDescOnce.Do(func() {
  500. file_proto_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_message_proto_rawDescData)
  501. })
  502. return file_proto_message_proto_rawDescData
  503. }
  504. var file_proto_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  505. var file_proto_message_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  506. var file_proto_message_proto_goTypes = []interface{}{
  507. (RosterChange_Op)(0), // 0: model.RosterChange.Op
  508. (*Message)(nil), // 1: model.Message
  509. (*Donation)(nil), // 2: model.Donation
  510. (*Online)(nil), // 3: model.Online
  511. (*RosterChange)(nil), // 4: model.RosterChange
  512. (*User)(nil), // 5: model.User
  513. (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
  514. }
  515. var file_proto_message_proto_depIdxs = []int32{
  516. 6, // 0: model.Message.at:type_name -> google.protobuf.Timestamp
  517. 5, // 1: model.Message.user:type_name -> model.User
  518. 6, // 2: model.Donation.at:type_name -> google.protobuf.Timestamp
  519. 5, // 3: model.Donation.user:type_name -> model.User
  520. 6, // 4: model.Online.at:type_name -> google.protobuf.Timestamp
  521. 6, // 5: model.RosterChange.at:type_name -> google.protobuf.Timestamp
  522. 5, // 6: model.RosterChange.user:type_name -> model.User
  523. 0, // 7: model.RosterChange.operation:type_name -> model.RosterChange.Op
  524. 8, // [8:8] is the sub-list for method output_type
  525. 8, // [8:8] is the sub-list for method input_type
  526. 8, // [8:8] is the sub-list for extension type_name
  527. 8, // [8:8] is the sub-list for extension extendee
  528. 0, // [0:8] is the sub-list for field type_name
  529. }
  530. func init() { file_proto_message_proto_init() }
  531. func file_proto_message_proto_init() {
  532. if File_proto_message_proto != nil {
  533. return
  534. }
  535. if !protoimpl.UnsafeEnabled {
  536. file_proto_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  537. switch v := v.(*Message); i {
  538. case 0:
  539. return &v.state
  540. case 1:
  541. return &v.sizeCache
  542. case 2:
  543. return &v.unknownFields
  544. default:
  545. return nil
  546. }
  547. }
  548. file_proto_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  549. switch v := v.(*Donation); i {
  550. case 0:
  551. return &v.state
  552. case 1:
  553. return &v.sizeCache
  554. case 2:
  555. return &v.unknownFields
  556. default:
  557. return nil
  558. }
  559. }
  560. file_proto_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  561. switch v := v.(*Online); i {
  562. case 0:
  563. return &v.state
  564. case 1:
  565. return &v.sizeCache
  566. case 2:
  567. return &v.unknownFields
  568. default:
  569. return nil
  570. }
  571. }
  572. file_proto_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  573. switch v := v.(*RosterChange); i {
  574. case 0:
  575. return &v.state
  576. case 1:
  577. return &v.sizeCache
  578. case 2:
  579. return &v.unknownFields
  580. default:
  581. return nil
  582. }
  583. }
  584. file_proto_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  585. switch v := v.(*User); i {
  586. case 0:
  587. return &v.state
  588. case 1:
  589. return &v.sizeCache
  590. case 2:
  591. return &v.unknownFields
  592. default:
  593. return nil
  594. }
  595. }
  596. }
  597. type x struct{}
  598. out := protoimpl.TypeBuilder{
  599. File: protoimpl.DescBuilder{
  600. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  601. RawDescriptor: file_proto_message_proto_rawDesc,
  602. NumEnums: 1,
  603. NumMessages: 5,
  604. NumExtensions: 0,
  605. NumServices: 0,
  606. },
  607. GoTypes: file_proto_message_proto_goTypes,
  608. DependencyIndexes: file_proto_message_proto_depIdxs,
  609. EnumInfos: file_proto_message_proto_enumTypes,
  610. MessageInfos: file_proto_message_proto_msgTypes,
  611. }.Build()
  612. File_proto_message_proto = out.File
  613. file_proto_message_proto_rawDesc = nil
  614. file_proto_message_proto_goTypes = nil
  615. file_proto_message_proto_depIdxs = nil
  616. }