gamelang-jeopardy.pb.go 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.11.4
  5. // source: gamelang-jeopardy.proto
  6. package jeopardypb
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  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. // This is a compile-time assertion that a sufficiently up-to-date version
  21. // of the legacy proto package is being used.
  22. const _ = proto.ProtoPackageIsVersion4
  23. type Option_TypeEnum int32
  24. const (
  25. Option_STRING Option_TypeEnum = 0
  26. Option_BOOL Option_TypeEnum = 1
  27. Option_INT Option_TypeEnum = 2
  28. )
  29. // Enum value maps for Option_TypeEnum.
  30. var (
  31. Option_TypeEnum_name = map[int32]string{
  32. 0: "STRING",
  33. 1: "BOOL",
  34. 2: "INT",
  35. }
  36. Option_TypeEnum_value = map[string]int32{
  37. "STRING": 0,
  38. "BOOL": 1,
  39. "INT": 2,
  40. }
  41. )
  42. func (x Option_TypeEnum) Enum() *Option_TypeEnum {
  43. p := new(Option_TypeEnum)
  44. *p = x
  45. return p
  46. }
  47. func (x Option_TypeEnum) String() string {
  48. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  49. }
  50. func (Option_TypeEnum) Descriptor() protoreflect.EnumDescriptor {
  51. return file_gamelang_jeopardy_proto_enumTypes[0].Descriptor()
  52. }
  53. func (Option_TypeEnum) Type() protoreflect.EnumType {
  54. return &file_gamelang_jeopardy_proto_enumTypes[0]
  55. }
  56. func (x Option_TypeEnum) Number() protoreflect.EnumNumber {
  57. return protoreflect.EnumNumber(x)
  58. }
  59. // Deprecated: Use Option_TypeEnum.Descriptor instead.
  60. func (Option_TypeEnum) EnumDescriptor() ([]byte, []int) {
  61. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{3, 0}
  62. }
  63. type PlayerType int32
  64. const (
  65. Player_SHOWMASTER PlayerType = 0
  66. Player_CONTESTANT PlayerType = 1
  67. Player_VIEWER PlayerType = 2
  68. )
  69. // Enum value maps for PlayerType.
  70. var (
  71. PlayerType_name = map[int32]string{
  72. 0: "SHOWMASTER",
  73. 1: "CONTESTANT",
  74. 2: "VIEWER",
  75. }
  76. PlayerType_value = map[string]int32{
  77. "SHOWMASTER": 0,
  78. "CONTESTANT": 1,
  79. "VIEWER": 2,
  80. }
  81. )
  82. func (x PlayerType) Enum() *PlayerType {
  83. p := new(PlayerType)
  84. *p = x
  85. return p
  86. }
  87. func (x PlayerType) String() string {
  88. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  89. }
  90. func (PlayerType) Descriptor() protoreflect.EnumDescriptor {
  91. return file_gamelang_jeopardy_proto_enumTypes[1].Descriptor()
  92. }
  93. func (PlayerType) Type() protoreflect.EnumType {
  94. return &file_gamelang_jeopardy_proto_enumTypes[1]
  95. }
  96. func (x PlayerType) Number() protoreflect.EnumNumber {
  97. return protoreflect.EnumNumber(x)
  98. }
  99. // Deprecated: Use PlayerType.Descriptor instead.
  100. func (PlayerType) EnumDescriptor() ([]byte, []int) {
  101. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{5, 0}
  102. }
  103. type Challenge struct {
  104. state protoimpl.MessageState
  105. sizeCache protoimpl.SizeCache
  106. unknownFields protoimpl.UnknownFields
  107. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  108. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  109. Clue string `protobuf:"bytes,3,opt,name=clue,proto3" json:"clue,omitempty"`
  110. Solution string `protobuf:"bytes,4,opt,name=solution,proto3" json:"solution,omitempty"`
  111. Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
  112. Points uint32 `protobuf:"varint,6,opt,name=points,proto3" json:"points,omitempty"`
  113. Checked bool `protobuf:"varint,7,opt,name=checked,proto3" json:"checked,omitempty"`
  114. Checker []string `protobuf:"bytes,8,rep,name=checker,proto3" json:"checker,omitempty"`
  115. Moderators []string `protobuf:"bytes,9,rep,name=moderators,proto3" json:"moderators,omitempty"`
  116. }
  117. func (x *Challenge) Reset() {
  118. *x = Challenge{}
  119. if protoimpl.UnsafeEnabled {
  120. mi := &file_gamelang_jeopardy_proto_msgTypes[0]
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. ms.StoreMessageInfo(mi)
  123. }
  124. }
  125. func (x *Challenge) String() string {
  126. return protoimpl.X.MessageStringOf(x)
  127. }
  128. func (*Challenge) ProtoMessage() {}
  129. func (x *Challenge) ProtoReflect() protoreflect.Message {
  130. mi := &file_gamelang_jeopardy_proto_msgTypes[0]
  131. if protoimpl.UnsafeEnabled && x != nil {
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. if ms.LoadMessageInfo() == nil {
  134. ms.StoreMessageInfo(mi)
  135. }
  136. return ms
  137. }
  138. return mi.MessageOf(x)
  139. }
  140. // Deprecated: Use Challenge.ProtoReflect.Descriptor instead.
  141. func (*Challenge) Descriptor() ([]byte, []int) {
  142. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{0}
  143. }
  144. func (x *Challenge) GetId() uint32 {
  145. if x != nil {
  146. return x.Id
  147. }
  148. return 0
  149. }
  150. func (x *Challenge) GetDescription() string {
  151. if x != nil {
  152. return x.Description
  153. }
  154. return ""
  155. }
  156. func (x *Challenge) GetClue() string {
  157. if x != nil {
  158. return x.Clue
  159. }
  160. return ""
  161. }
  162. func (x *Challenge) GetSolution() string {
  163. if x != nil {
  164. return x.Solution
  165. }
  166. return ""
  167. }
  168. func (x *Challenge) GetUrl() string {
  169. if x != nil {
  170. return x.Url
  171. }
  172. return ""
  173. }
  174. func (x *Challenge) GetPoints() uint32 {
  175. if x != nil {
  176. return x.Points
  177. }
  178. return 0
  179. }
  180. func (x *Challenge) GetChecked() bool {
  181. if x != nil {
  182. return x.Checked
  183. }
  184. return false
  185. }
  186. func (x *Challenge) GetChecker() []string {
  187. if x != nil {
  188. return x.Checker
  189. }
  190. return nil
  191. }
  192. func (x *Challenge) GetModerators() []string {
  193. if x != nil {
  194. return x.Moderators
  195. }
  196. return nil
  197. }
  198. type Category struct {
  199. state protoimpl.MessageState
  200. sizeCache protoimpl.SizeCache
  201. unknownFields protoimpl.UnknownFields
  202. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  203. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  204. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  205. Challenges []*Challenge `protobuf:"bytes,4,rep,name=challenges,proto3" json:"challenges,omitempty"`
  206. Moderators []string `protobuf:"bytes,5,rep,name=moderators,proto3" json:"moderators,omitempty"`
  207. }
  208. func (x *Category) Reset() {
  209. *x = Category{}
  210. if protoimpl.UnsafeEnabled {
  211. mi := &file_gamelang_jeopardy_proto_msgTypes[1]
  212. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  213. ms.StoreMessageInfo(mi)
  214. }
  215. }
  216. func (x *Category) String() string {
  217. return protoimpl.X.MessageStringOf(x)
  218. }
  219. func (*Category) ProtoMessage() {}
  220. func (x *Category) ProtoReflect() protoreflect.Message {
  221. mi := &file_gamelang_jeopardy_proto_msgTypes[1]
  222. if protoimpl.UnsafeEnabled && x != nil {
  223. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  224. if ms.LoadMessageInfo() == nil {
  225. ms.StoreMessageInfo(mi)
  226. }
  227. return ms
  228. }
  229. return mi.MessageOf(x)
  230. }
  231. // Deprecated: Use Category.ProtoReflect.Descriptor instead.
  232. func (*Category) Descriptor() ([]byte, []int) {
  233. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{1}
  234. }
  235. func (x *Category) GetId() uint32 {
  236. if x != nil {
  237. return x.Id
  238. }
  239. return 0
  240. }
  241. func (x *Category) GetName() string {
  242. if x != nil {
  243. return x.Name
  244. }
  245. return ""
  246. }
  247. func (x *Category) GetDescription() string {
  248. if x != nil {
  249. return x.Description
  250. }
  251. return ""
  252. }
  253. func (x *Category) GetChallenges() []*Challenge {
  254. if x != nil {
  255. return x.Challenges
  256. }
  257. return nil
  258. }
  259. func (x *Category) GetModerators() []string {
  260. if x != nil {
  261. return x.Moderators
  262. }
  263. return nil
  264. }
  265. type Round struct {
  266. state protoimpl.MessageState
  267. sizeCache protoimpl.SizeCache
  268. unknownFields protoimpl.UnknownFields
  269. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  270. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  271. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  272. Categories []*Category `protobuf:"bytes,4,rep,name=categories,proto3" json:"categories,omitempty"`
  273. Curcats []uint32 `protobuf:"varint,5,rep,packed,name=curcats,proto3" json:"curcats,omitempty"`
  274. Moderators []string `protobuf:"bytes,6,rep,name=moderators,proto3" json:"moderators,omitempty"`
  275. }
  276. func (x *Round) Reset() {
  277. *x = Round{}
  278. if protoimpl.UnsafeEnabled {
  279. mi := &file_gamelang_jeopardy_proto_msgTypes[2]
  280. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  281. ms.StoreMessageInfo(mi)
  282. }
  283. }
  284. func (x *Round) String() string {
  285. return protoimpl.X.MessageStringOf(x)
  286. }
  287. func (*Round) ProtoMessage() {}
  288. func (x *Round) ProtoReflect() protoreflect.Message {
  289. mi := &file_gamelang_jeopardy_proto_msgTypes[2]
  290. if protoimpl.UnsafeEnabled && x != nil {
  291. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  292. if ms.LoadMessageInfo() == nil {
  293. ms.StoreMessageInfo(mi)
  294. }
  295. return ms
  296. }
  297. return mi.MessageOf(x)
  298. }
  299. // Deprecated: Use Round.ProtoReflect.Descriptor instead.
  300. func (*Round) Descriptor() ([]byte, []int) {
  301. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{2}
  302. }
  303. func (x *Round) GetId() uint32 {
  304. if x != nil {
  305. return x.Id
  306. }
  307. return 0
  308. }
  309. func (x *Round) GetName() string {
  310. if x != nil {
  311. return x.Name
  312. }
  313. return ""
  314. }
  315. func (x *Round) GetDescription() string {
  316. if x != nil {
  317. return x.Description
  318. }
  319. return ""
  320. }
  321. func (x *Round) GetCategories() []*Category {
  322. if x != nil {
  323. return x.Categories
  324. }
  325. return nil
  326. }
  327. func (x *Round) GetCurcats() []uint32 {
  328. if x != nil {
  329. return x.Curcats
  330. }
  331. return nil
  332. }
  333. func (x *Round) GetModerators() []string {
  334. if x != nil {
  335. return x.Moderators
  336. }
  337. return nil
  338. }
  339. type Option struct {
  340. state protoimpl.MessageState
  341. sizeCache protoimpl.SizeCache
  342. unknownFields protoimpl.UnknownFields
  343. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  344. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  345. Type Option_TypeEnum `protobuf:"varint,3,opt,name=type,proto3,enum=gamelang.Option_TypeEnum" json:"type,omitempty"`
  346. Bool bool `protobuf:"varint,4,opt,name=bool,proto3" json:"bool,omitempty"`
  347. Int uint32 `protobuf:"varint,5,opt,name=int,proto3" json:"int,omitempty"`
  348. }
  349. func (x *Option) Reset() {
  350. *x = Option{}
  351. if protoimpl.UnsafeEnabled {
  352. mi := &file_gamelang_jeopardy_proto_msgTypes[3]
  353. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  354. ms.StoreMessageInfo(mi)
  355. }
  356. }
  357. func (x *Option) String() string {
  358. return protoimpl.X.MessageStringOf(x)
  359. }
  360. func (*Option) ProtoMessage() {}
  361. func (x *Option) ProtoReflect() protoreflect.Message {
  362. mi := &file_gamelang_jeopardy_proto_msgTypes[3]
  363. if protoimpl.UnsafeEnabled && x != nil {
  364. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  365. if ms.LoadMessageInfo() == nil {
  366. ms.StoreMessageInfo(mi)
  367. }
  368. return ms
  369. }
  370. return mi.MessageOf(x)
  371. }
  372. // Deprecated: Use Option.ProtoReflect.Descriptor instead.
  373. func (*Option) Descriptor() ([]byte, []int) {
  374. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{3}
  375. }
  376. func (x *Option) GetKey() string {
  377. if x != nil {
  378. return x.Key
  379. }
  380. return ""
  381. }
  382. func (x *Option) GetValue() string {
  383. if x != nil {
  384. return x.Value
  385. }
  386. return ""
  387. }
  388. func (x *Option) GetType() Option_TypeEnum {
  389. if x != nil {
  390. return x.Type
  391. }
  392. return Option_STRING
  393. }
  394. func (x *Option) GetBool() bool {
  395. if x != nil {
  396. return x.Bool
  397. }
  398. return false
  399. }
  400. func (x *Option) GetInt() uint32 {
  401. if x != nil {
  402. return x.Int
  403. }
  404. return 0
  405. }
  406. type Event struct {
  407. state protoimpl.MessageState
  408. sizeCache protoimpl.SizeCache
  409. unknownFields protoimpl.UnknownFields
  410. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  411. Game string `protobuf:"bytes,2,opt,name=game,proto3" json:"game,omitempty"`
  412. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  413. Gamename string `protobuf:"bytes,4,opt,name=gamename,proto3" json:"gamename,omitempty"`
  414. Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
  415. Neighborgames []string `protobuf:"bytes,6,rep,name=neighborgames,proto3" json:"neighborgames,omitempty"`
  416. }
  417. func (x *Event) Reset() {
  418. *x = Event{}
  419. if protoimpl.UnsafeEnabled {
  420. mi := &file_gamelang_jeopardy_proto_msgTypes[4]
  421. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  422. ms.StoreMessageInfo(mi)
  423. }
  424. }
  425. func (x *Event) String() string {
  426. return protoimpl.X.MessageStringOf(x)
  427. }
  428. func (*Event) ProtoMessage() {}
  429. func (x *Event) ProtoReflect() protoreflect.Message {
  430. mi := &file_gamelang_jeopardy_proto_msgTypes[4]
  431. if protoimpl.UnsafeEnabled && x != nil {
  432. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  433. if ms.LoadMessageInfo() == nil {
  434. ms.StoreMessageInfo(mi)
  435. }
  436. return ms
  437. }
  438. return mi.MessageOf(x)
  439. }
  440. // Deprecated: Use Event.ProtoReflect.Descriptor instead.
  441. func (*Event) Descriptor() ([]byte, []int) {
  442. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{4}
  443. }
  444. func (x *Event) GetType() string {
  445. if x != nil {
  446. return x.Type
  447. }
  448. return ""
  449. }
  450. func (x *Event) GetGame() string {
  451. if x != nil {
  452. return x.Game
  453. }
  454. return ""
  455. }
  456. func (x *Event) GetValue() string {
  457. if x != nil {
  458. return x.Value
  459. }
  460. return ""
  461. }
  462. func (x *Event) GetGamename() string {
  463. if x != nil {
  464. return x.Gamename
  465. }
  466. return ""
  467. }
  468. func (x *Event) GetUsername() string {
  469. if x != nil {
  470. return x.Username
  471. }
  472. return ""
  473. }
  474. func (x *Event) GetNeighborgames() []string {
  475. if x != nil {
  476. return x.Neighborgames
  477. }
  478. return nil
  479. }
  480. type Player struct {
  481. state protoimpl.MessageState
  482. sizeCache protoimpl.SizeCache
  483. unknownFields protoimpl.UnknownFields
  484. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  485. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  486. Points uint32 `protobuf:"varint,3,opt,name=points,proto3" json:"points,omitempty"`
  487. }
  488. func (x *Player) Reset() {
  489. *x = Player{}
  490. if protoimpl.UnsafeEnabled {
  491. mi := &file_gamelang_jeopardy_proto_msgTypes[5]
  492. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  493. ms.StoreMessageInfo(mi)
  494. }
  495. }
  496. func (x *Player) String() string {
  497. return protoimpl.X.MessageStringOf(x)
  498. }
  499. func (*Player) ProtoMessage() {}
  500. func (x *Player) ProtoReflect() protoreflect.Message {
  501. mi := &file_gamelang_jeopardy_proto_msgTypes[5]
  502. if protoimpl.UnsafeEnabled && x != nil {
  503. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  504. if ms.LoadMessageInfo() == nil {
  505. ms.StoreMessageInfo(mi)
  506. }
  507. return ms
  508. }
  509. return mi.MessageOf(x)
  510. }
  511. // Deprecated: Use Player.ProtoReflect.Descriptor instead.
  512. func (*Player) Descriptor() ([]byte, []int) {
  513. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{5}
  514. }
  515. func (x *Player) GetId() uint32 {
  516. if x != nil {
  517. return x.Id
  518. }
  519. return 0
  520. }
  521. func (x *Player) GetName() string {
  522. if x != nil {
  523. return x.Name
  524. }
  525. return ""
  526. }
  527. func (x *Player) GetPoints() uint32 {
  528. if x != nil {
  529. return x.Points
  530. }
  531. return 0
  532. }
  533. type Jeopardy struct {
  534. state protoimpl.MessageState
  535. sizeCache protoimpl.SizeCache
  536. unknownFields protoimpl.UnknownFields
  537. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  538. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  539. Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
  540. Rounds []*Round `protobuf:"bytes,4,rep,name=rounds,proto3" json:"rounds,omitempty"`
  541. Curround uint32 `protobuf:"varint,5,opt,name=curround,proto3" json:"curround,omitempty"`
  542. Players []*Player `protobuf:"bytes,6,rep,name=players,proto3" json:"players,omitempty"`
  543. Started bool `protobuf:"varint,7,opt,name=started,proto3" json:"started,omitempty"`
  544. Finished bool `protobuf:"varint,8,opt,name=finished,proto3" json:"finished,omitempty"`
  545. Winner string `protobuf:"bytes,9,opt,name=winner,proto3" json:"winner,omitempty"`
  546. Moderators []string `protobuf:"bytes,10,rep,name=moderators,proto3" json:"moderators,omitempty"`
  547. }
  548. func (x *Jeopardy) Reset() {
  549. *x = Jeopardy{}
  550. if protoimpl.UnsafeEnabled {
  551. mi := &file_gamelang_jeopardy_proto_msgTypes[6]
  552. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  553. ms.StoreMessageInfo(mi)
  554. }
  555. }
  556. func (x *Jeopardy) String() string {
  557. return protoimpl.X.MessageStringOf(x)
  558. }
  559. func (*Jeopardy) ProtoMessage() {}
  560. func (x *Jeopardy) ProtoReflect() protoreflect.Message {
  561. mi := &file_gamelang_jeopardy_proto_msgTypes[6]
  562. if protoimpl.UnsafeEnabled && x != nil {
  563. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  564. if ms.LoadMessageInfo() == nil {
  565. ms.StoreMessageInfo(mi)
  566. }
  567. return ms
  568. }
  569. return mi.MessageOf(x)
  570. }
  571. // Deprecated: Use Jeopardy.ProtoReflect.Descriptor instead.
  572. func (*Jeopardy) Descriptor() ([]byte, []int) {
  573. return file_gamelang_jeopardy_proto_rawDescGZIP(), []int{6}
  574. }
  575. func (x *Jeopardy) GetId() uint32 {
  576. if x != nil {
  577. return x.Id
  578. }
  579. return 0
  580. }
  581. func (x *Jeopardy) GetName() string {
  582. if x != nil {
  583. return x.Name
  584. }
  585. return ""
  586. }
  587. func (x *Jeopardy) GetOptions() []*Option {
  588. if x != nil {
  589. return x.Options
  590. }
  591. return nil
  592. }
  593. func (x *Jeopardy) GetRounds() []*Round {
  594. if x != nil {
  595. return x.Rounds
  596. }
  597. return nil
  598. }
  599. func (x *Jeopardy) GetCurround() uint32 {
  600. if x != nil {
  601. return x.Curround
  602. }
  603. return 0
  604. }
  605. func (x *Jeopardy) GetPlayers() []*Player {
  606. if x != nil {
  607. return x.Players
  608. }
  609. return nil
  610. }
  611. func (x *Jeopardy) GetStarted() bool {
  612. if x != nil {
  613. return x.Started
  614. }
  615. return false
  616. }
  617. func (x *Jeopardy) GetFinished() bool {
  618. if x != nil {
  619. return x.Finished
  620. }
  621. return false
  622. }
  623. func (x *Jeopardy) GetWinner() string {
  624. if x != nil {
  625. return x.Winner
  626. }
  627. return ""
  628. }
  629. func (x *Jeopardy) GetModerators() []string {
  630. if x != nil {
  631. return x.Moderators
  632. }
  633. return nil
  634. }
  635. var File_gamelang_jeopardy_proto protoreflect.FileDescriptor
  636. var file_gamelang_jeopardy_proto_rawDesc = []byte{
  637. 0x0a, 0x17, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2d, 0x6a, 0x65, 0x6f, 0x70, 0x61,
  638. 0x72, 0x64, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6c,
  639. 0x61, 0x6e, 0x67, 0x22, 0xeb, 0x01, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
  640. 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69,
  641. 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  642. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
  643. 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  644. 0x09, 0x52, 0x04, 0x63, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x6f, 0x6c, 0x75, 0x74,
  645. 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x6f, 0x6c, 0x75, 0x74,
  646. 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  647. 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18,
  648. 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x18, 0x0a,
  649. 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
  650. 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b,
  651. 0x65, 0x72, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65,
  652. 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18,
  653. 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
  654. 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x08, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x0e,
  655. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
  656. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  657. 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  658. 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
  659. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
  660. 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
  661. 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x63,
  662. 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x6f, 0x64,
  663. 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6d,
  664. 0x6f, 0x64, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x05, 0x52, 0x6f,
  665. 0x75, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  666. 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  667. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
  668. 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
  669. 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x61, 0x74,
  670. 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e,
  671. 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
  672. 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a,
  673. 0x07, 0x63, 0x75, 0x72, 0x63, 0x61, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07,
  674. 0x63, 0x75, 0x72, 0x63, 0x61, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x72,
  675. 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64,
  676. 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x69,
  677. 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  678. 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
  679. 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79,
  680. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
  681. 0x61, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x45,
  682. 0x6e, 0x75, 0x6d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x6f,
  683. 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x10, 0x0a,
  684. 0x03, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x69, 0x6e, 0x74, 0x22,
  685. 0x29, 0x0a, 0x08, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0a, 0x0a, 0x06, 0x53,
  686. 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10,
  687. 0x01, 0x12, 0x07, 0x0a, 0x03, 0x49, 0x4e, 0x54, 0x10, 0x02, 0x22, 0xa3, 0x01, 0x0a, 0x05, 0x45,
  688. 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
  689. 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x61, 0x6d, 0x65,
  690. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
  691. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
  692. 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04,
  693. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a,
  694. 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  695. 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x65,
  696. 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
  697. 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x67, 0x61, 0x6d, 0x65, 0x73,
  698. 0x22, 0x78, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  699. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  700. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16,
  701. 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06,
  702. 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e,
  703. 0x0a, 0x0a, 0x53, 0x48, 0x4f, 0x57, 0x4d, 0x41, 0x53, 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0e,
  704. 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x53, 0x54, 0x41, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0a,
  705. 0x0a, 0x06, 0x56, 0x49, 0x45, 0x57, 0x45, 0x52, 0x10, 0x02, 0x22, 0xb9, 0x02, 0x0a, 0x08, 0x4a,
  706. 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  707. 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  708. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x07, 0x6f,
  709. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67,
  710. 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07,
  711. 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x6e, 0x64,
  712. 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
  713. 0x6e, 0x67, 0x2e, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x73,
  714. 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01,
  715. 0x28, 0x0d, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x2a, 0x0a, 0x07,
  716. 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
  717. 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52,
  718. 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72,
  719. 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74,
  720. 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x08,
  721. 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x16,
  722. 0x0a, 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  723. 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x72, 0x61,
  724. 0x74, 0x6f, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x65,
  725. 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x32, 0x3a, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53,
  726. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d,
  727. 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x45, 0x76, 0x65, 0x6e,
  728. 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x45, 0x76, 0x65,
  729. 0x6e, 0x74, 0x32, 0xd0, 0x06, 0x0a, 0x0f, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x53,
  730. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  731. 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x12, 0x12, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
  732. 0x61, 0x6e, 0x67, 0x2e, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x1a, 0x12, 0x2e, 0x67,
  733. 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79,
  734. 0x12, 0x38, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72,
  735. 0x64, 0x79, 0x12, 0x12, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4a, 0x65,
  736. 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x1a, 0x12, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
  737. 0x67, 0x2e, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x12, 0x38, 0x0a, 0x0e, 0x44, 0x65,
  738. 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x12, 0x12, 0x2e, 0x67,
  739. 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79,
  740. 0x1a, 0x12, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4a, 0x65, 0x6f, 0x70,
  741. 0x61, 0x72, 0x64, 0x79, 0x12, 0x35, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4a, 0x65, 0x6f, 0x70, 0x61,
  742. 0x72, 0x64, 0x79, 0x12, 0x12, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4a,
  743. 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x1a, 0x12, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
  744. 0x6e, 0x67, 0x2e, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x12, 0x38, 0x0a, 0x0c, 0x4c,
  745. 0x69, 0x73, 0x74, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x12, 0x12, 0x2e, 0x67, 0x61,
  746. 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x1a,
  747. 0x12, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4a, 0x65, 0x6f, 0x70, 0x61,
  748. 0x72, 0x64, 0x79, 0x30, 0x01, 0x12, 0x2f, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
  749. 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
  750. 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
  751. 0x2e, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  752. 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
  753. 0x2e, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
  754. 0x67, 0x2e, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74,
  755. 0x65, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
  756. 0x67, 0x2e, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
  757. 0x6e, 0x67, 0x2e, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x2c, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52,
  758. 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
  759. 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
  760. 0x2e, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f,
  761. 0x75, 0x6e, 0x64, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x52,
  762. 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
  763. 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x30, 0x01, 0x12, 0x3b, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74,
  764. 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x13, 0x2e, 0x67, 0x61, 0x6d,
  765. 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x1a,
  766. 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c,
  767. 0x65, 0x6e, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68,
  768. 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
  769. 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x67,
  770. 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
  771. 0x65, 0x12, 0x3b, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c,
  772. 0x65, 0x6e, 0x67, 0x65, 0x12, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
  773. 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65,
  774. 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x38,
  775. 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x13,
  776. 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65,
  777. 0x6e, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43,
  778. 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74,
  779. 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x13, 0x2e, 0x67, 0x61, 0x6d, 0x65,
  780. 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x1a, 0x13,
  781. 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65,
  782. 0x6e, 0x67, 0x65, 0x30, 0x01, 0x42, 0x16, 0x5a, 0x14, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
  783. 0x6e, 0x67, 0x2f, 0x6a, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70,
  784. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  785. }
  786. var (
  787. file_gamelang_jeopardy_proto_rawDescOnce sync.Once
  788. file_gamelang_jeopardy_proto_rawDescData = file_gamelang_jeopardy_proto_rawDesc
  789. )
  790. func file_gamelang_jeopardy_proto_rawDescGZIP() []byte {
  791. file_gamelang_jeopardy_proto_rawDescOnce.Do(func() {
  792. file_gamelang_jeopardy_proto_rawDescData = protoimpl.X.CompressGZIP(file_gamelang_jeopardy_proto_rawDescData)
  793. })
  794. return file_gamelang_jeopardy_proto_rawDescData
  795. }
  796. var file_gamelang_jeopardy_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  797. var file_gamelang_jeopardy_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  798. var file_gamelang_jeopardy_proto_goTypes = []interface{}{
  799. (Option_TypeEnum)(0), // 0: gamelang.Option.TypeEnum
  800. (PlayerType)(0), // 1: gamelang.Player.type
  801. (*Challenge)(nil), // 2: gamelang.Challenge
  802. (*Category)(nil), // 3: gamelang.Category
  803. (*Round)(nil), // 4: gamelang.Round
  804. (*Option)(nil), // 5: gamelang.Option
  805. (*Event)(nil), // 6: gamelang.Event
  806. (*Player)(nil), // 7: gamelang.Player
  807. (*Jeopardy)(nil), // 8: gamelang.Jeopardy
  808. }
  809. var file_gamelang_jeopardy_proto_depIdxs = []int32{
  810. 2, // 0: gamelang.Category.challenges:type_name -> gamelang.Challenge
  811. 3, // 1: gamelang.Round.categories:type_name -> gamelang.Category
  812. 0, // 2: gamelang.Option.type:type_name -> gamelang.Option.TypeEnum
  813. 5, // 3: gamelang.Jeopardy.options:type_name -> gamelang.Option
  814. 4, // 4: gamelang.Jeopardy.rounds:type_name -> gamelang.Round
  815. 7, // 5: gamelang.Jeopardy.players:type_name -> gamelang.Player
  816. 6, // 6: gamelang.EventService.Inform:input_type -> gamelang.Event
  817. 8, // 7: gamelang.JeopardyService.CreateJeopardy:input_type -> gamelang.Jeopardy
  818. 8, // 8: gamelang.JeopardyService.UpdateJeopardy:input_type -> gamelang.Jeopardy
  819. 8, // 9: gamelang.JeopardyService.DeleteJeopardy:input_type -> gamelang.Jeopardy
  820. 8, // 10: gamelang.JeopardyService.GetJeopardy:input_type -> gamelang.Jeopardy
  821. 8, // 11: gamelang.JeopardyService.ListJeopardy:input_type -> gamelang.Jeopardy
  822. 4, // 12: gamelang.JeopardyService.CreateRound:input_type -> gamelang.Round
  823. 4, // 13: gamelang.JeopardyService.UpdateRound:input_type -> gamelang.Round
  824. 4, // 14: gamelang.JeopardyService.DeleteRound:input_type -> gamelang.Round
  825. 4, // 15: gamelang.JeopardyService.GetRound:input_type -> gamelang.Round
  826. 4, // 16: gamelang.JeopardyService.ListRound:input_type -> gamelang.Round
  827. 2, // 17: gamelang.JeopardyService.CreateChallenge:input_type -> gamelang.Challenge
  828. 2, // 18: gamelang.JeopardyService.UpdateChallenge:input_type -> gamelang.Challenge
  829. 2, // 19: gamelang.JeopardyService.DeleteChallenge:input_type -> gamelang.Challenge
  830. 2, // 20: gamelang.JeopardyService.GetChallenge:input_type -> gamelang.Challenge
  831. 2, // 21: gamelang.JeopardyService.ListChallenge:input_type -> gamelang.Challenge
  832. 6, // 22: gamelang.EventService.Inform:output_type -> gamelang.Event
  833. 8, // 23: gamelang.JeopardyService.CreateJeopardy:output_type -> gamelang.Jeopardy
  834. 8, // 24: gamelang.JeopardyService.UpdateJeopardy:output_type -> gamelang.Jeopardy
  835. 8, // 25: gamelang.JeopardyService.DeleteJeopardy:output_type -> gamelang.Jeopardy
  836. 8, // 26: gamelang.JeopardyService.GetJeopardy:output_type -> gamelang.Jeopardy
  837. 8, // 27: gamelang.JeopardyService.ListJeopardy:output_type -> gamelang.Jeopardy
  838. 4, // 28: gamelang.JeopardyService.CreateRound:output_type -> gamelang.Round
  839. 4, // 29: gamelang.JeopardyService.UpdateRound:output_type -> gamelang.Round
  840. 4, // 30: gamelang.JeopardyService.DeleteRound:output_type -> gamelang.Round
  841. 4, // 31: gamelang.JeopardyService.GetRound:output_type -> gamelang.Round
  842. 4, // 32: gamelang.JeopardyService.ListRound:output_type -> gamelang.Round
  843. 2, // 33: gamelang.JeopardyService.CreateChallenge:output_type -> gamelang.Challenge
  844. 2, // 34: gamelang.JeopardyService.UpdateChallenge:output_type -> gamelang.Challenge
  845. 2, // 35: gamelang.JeopardyService.DeleteChallenge:output_type -> gamelang.Challenge
  846. 2, // 36: gamelang.JeopardyService.GetChallenge:output_type -> gamelang.Challenge
  847. 2, // 37: gamelang.JeopardyService.ListChallenge:output_type -> gamelang.Challenge
  848. 22, // [22:38] is the sub-list for method output_type
  849. 6, // [6:22] is the sub-list for method input_type
  850. 6, // [6:6] is the sub-list for extension type_name
  851. 6, // [6:6] is the sub-list for extension extendee
  852. 0, // [0:6] is the sub-list for field type_name
  853. }
  854. func init() { file_gamelang_jeopardy_proto_init() }
  855. func file_gamelang_jeopardy_proto_init() {
  856. if File_gamelang_jeopardy_proto != nil {
  857. return
  858. }
  859. if !protoimpl.UnsafeEnabled {
  860. file_gamelang_jeopardy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  861. switch v := v.(*Challenge); i {
  862. case 0:
  863. return &v.state
  864. case 1:
  865. return &v.sizeCache
  866. case 2:
  867. return &v.unknownFields
  868. default:
  869. return nil
  870. }
  871. }
  872. file_gamelang_jeopardy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  873. switch v := v.(*Category); i {
  874. case 0:
  875. return &v.state
  876. case 1:
  877. return &v.sizeCache
  878. case 2:
  879. return &v.unknownFields
  880. default:
  881. return nil
  882. }
  883. }
  884. file_gamelang_jeopardy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  885. switch v := v.(*Round); i {
  886. case 0:
  887. return &v.state
  888. case 1:
  889. return &v.sizeCache
  890. case 2:
  891. return &v.unknownFields
  892. default:
  893. return nil
  894. }
  895. }
  896. file_gamelang_jeopardy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  897. switch v := v.(*Option); i {
  898. case 0:
  899. return &v.state
  900. case 1:
  901. return &v.sizeCache
  902. case 2:
  903. return &v.unknownFields
  904. default:
  905. return nil
  906. }
  907. }
  908. file_gamelang_jeopardy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  909. switch v := v.(*Event); i {
  910. case 0:
  911. return &v.state
  912. case 1:
  913. return &v.sizeCache
  914. case 2:
  915. return &v.unknownFields
  916. default:
  917. return nil
  918. }
  919. }
  920. file_gamelang_jeopardy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  921. switch v := v.(*Player); i {
  922. case 0:
  923. return &v.state
  924. case 1:
  925. return &v.sizeCache
  926. case 2:
  927. return &v.unknownFields
  928. default:
  929. return nil
  930. }
  931. }
  932. file_gamelang_jeopardy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  933. switch v := v.(*Jeopardy); i {
  934. case 0:
  935. return &v.state
  936. case 1:
  937. return &v.sizeCache
  938. case 2:
  939. return &v.unknownFields
  940. default:
  941. return nil
  942. }
  943. }
  944. }
  945. type x struct{}
  946. out := protoimpl.TypeBuilder{
  947. File: protoimpl.DescBuilder{
  948. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  949. RawDescriptor: file_gamelang_jeopardy_proto_rawDesc,
  950. NumEnums: 2,
  951. NumMessages: 7,
  952. NumExtensions: 0,
  953. NumServices: 2,
  954. },
  955. GoTypes: file_gamelang_jeopardy_proto_goTypes,
  956. DependencyIndexes: file_gamelang_jeopardy_proto_depIdxs,
  957. EnumInfos: file_gamelang_jeopardy_proto_enumTypes,
  958. MessageInfos: file_gamelang_jeopardy_proto_msgTypes,
  959. }.Build()
  960. File_gamelang_jeopardy_proto = out.File
  961. file_gamelang_jeopardy_proto_rawDesc = nil
  962. file_gamelang_jeopardy_proto_goTypes = nil
  963. file_gamelang_jeopardy_proto_depIdxs = nil
  964. }