gamelang-bingo.pb.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  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-bingo.proto
  6. package bingopb
  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_bingo_proto_enumTypes[0].Descriptor()
  52. }
  53. func (Option_TypeEnum) Type() protoreflect.EnumType {
  54. return &file_gamelang_bingo_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_bingo_proto_rawDescGZIP(), []int{2, 0}
  62. }
  63. type Field struct {
  64. state protoimpl.MessageState
  65. sizeCache protoimpl.SizeCache
  66. unknownFields protoimpl.UnknownFields
  67. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  68. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
  69. Checked bool `protobuf:"varint,3,opt,name=checked,proto3" json:"checked,omitempty"`
  70. Checker []string `protobuf:"bytes,4,rep,name=checker,proto3" json:"checker,omitempty"`
  71. }
  72. func (x *Field) Reset() {
  73. *x = Field{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_gamelang_bingo_proto_msgTypes[0]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *Field) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*Field) ProtoMessage() {}
  84. func (x *Field) ProtoReflect() protoreflect.Message {
  85. mi := &file_gamelang_bingo_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 Field.ProtoReflect.Descriptor instead.
  96. func (*Field) Descriptor() ([]byte, []int) {
  97. return file_gamelang_bingo_proto_rawDescGZIP(), []int{0}
  98. }
  99. func (x *Field) GetId() uint32 {
  100. if x != nil {
  101. return x.Id
  102. }
  103. return 0
  104. }
  105. func (x *Field) GetText() string {
  106. if x != nil {
  107. return x.Text
  108. }
  109. return ""
  110. }
  111. func (x *Field) GetChecked() bool {
  112. if x != nil {
  113. return x.Checked
  114. }
  115. return false
  116. }
  117. func (x *Field) GetChecker() []string {
  118. if x != nil {
  119. return x.Checker
  120. }
  121. return nil
  122. }
  123. type FieldMatrix struct {
  124. state protoimpl.MessageState
  125. sizeCache protoimpl.SizeCache
  126. unknownFields protoimpl.UnknownFields
  127. Rows []*FieldMatrix_MatrixRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
  128. }
  129. func (x *FieldMatrix) Reset() {
  130. *x = FieldMatrix{}
  131. if protoimpl.UnsafeEnabled {
  132. mi := &file_gamelang_bingo_proto_msgTypes[1]
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. ms.StoreMessageInfo(mi)
  135. }
  136. }
  137. func (x *FieldMatrix) String() string {
  138. return protoimpl.X.MessageStringOf(x)
  139. }
  140. func (*FieldMatrix) ProtoMessage() {}
  141. func (x *FieldMatrix) ProtoReflect() protoreflect.Message {
  142. mi := &file_gamelang_bingo_proto_msgTypes[1]
  143. if protoimpl.UnsafeEnabled && x != nil {
  144. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  145. if ms.LoadMessageInfo() == nil {
  146. ms.StoreMessageInfo(mi)
  147. }
  148. return ms
  149. }
  150. return mi.MessageOf(x)
  151. }
  152. // Deprecated: Use FieldMatrix.ProtoReflect.Descriptor instead.
  153. func (*FieldMatrix) Descriptor() ([]byte, []int) {
  154. return file_gamelang_bingo_proto_rawDescGZIP(), []int{1}
  155. }
  156. func (x *FieldMatrix) GetRows() []*FieldMatrix_MatrixRow {
  157. if x != nil {
  158. return x.Rows
  159. }
  160. return nil
  161. }
  162. type Option struct {
  163. state protoimpl.MessageState
  164. sizeCache protoimpl.SizeCache
  165. unknownFields protoimpl.UnknownFields
  166. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  167. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  168. Type Option_TypeEnum `protobuf:"varint,3,opt,name=type,proto3,enum=gamelang.Option_TypeEnum" json:"type,omitempty"`
  169. Bool bool `protobuf:"varint,4,opt,name=bool,proto3" json:"bool,omitempty"`
  170. Int uint32 `protobuf:"varint,5,opt,name=int,proto3" json:"int,omitempty"`
  171. }
  172. func (x *Option) Reset() {
  173. *x = Option{}
  174. if protoimpl.UnsafeEnabled {
  175. mi := &file_gamelang_bingo_proto_msgTypes[2]
  176. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  177. ms.StoreMessageInfo(mi)
  178. }
  179. }
  180. func (x *Option) String() string {
  181. return protoimpl.X.MessageStringOf(x)
  182. }
  183. func (*Option) ProtoMessage() {}
  184. func (x *Option) ProtoReflect() protoreflect.Message {
  185. mi := &file_gamelang_bingo_proto_msgTypes[2]
  186. if protoimpl.UnsafeEnabled && x != nil {
  187. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  188. if ms.LoadMessageInfo() == nil {
  189. ms.StoreMessageInfo(mi)
  190. }
  191. return ms
  192. }
  193. return mi.MessageOf(x)
  194. }
  195. // Deprecated: Use Option.ProtoReflect.Descriptor instead.
  196. func (*Option) Descriptor() ([]byte, []int) {
  197. return file_gamelang_bingo_proto_rawDescGZIP(), []int{2}
  198. }
  199. func (x *Option) GetKey() string {
  200. if x != nil {
  201. return x.Key
  202. }
  203. return ""
  204. }
  205. func (x *Option) GetValue() string {
  206. if x != nil {
  207. return x.Value
  208. }
  209. return ""
  210. }
  211. func (x *Option) GetType() Option_TypeEnum {
  212. if x != nil {
  213. return x.Type
  214. }
  215. return Option_STRING
  216. }
  217. func (x *Option) GetBool() bool {
  218. if x != nil {
  219. return x.Bool
  220. }
  221. return false
  222. }
  223. func (x *Option) GetInt() uint32 {
  224. if x != nil {
  225. return x.Int
  226. }
  227. return 0
  228. }
  229. type Event struct {
  230. state protoimpl.MessageState
  231. sizeCache protoimpl.SizeCache
  232. unknownFields protoimpl.UnknownFields
  233. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  234. Game string `protobuf:"bytes,2,opt,name=game,proto3" json:"game,omitempty"`
  235. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  236. Gamename string `protobuf:"bytes,4,opt,name=gamename,proto3" json:"gamename,omitempty"`
  237. Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
  238. Neighborgames []string `protobuf:"bytes,6,rep,name=neighborgames,proto3" json:"neighborgames,omitempty"`
  239. }
  240. func (x *Event) Reset() {
  241. *x = Event{}
  242. if protoimpl.UnsafeEnabled {
  243. mi := &file_gamelang_bingo_proto_msgTypes[3]
  244. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  245. ms.StoreMessageInfo(mi)
  246. }
  247. }
  248. func (x *Event) String() string {
  249. return protoimpl.X.MessageStringOf(x)
  250. }
  251. func (*Event) ProtoMessage() {}
  252. func (x *Event) ProtoReflect() protoreflect.Message {
  253. mi := &file_gamelang_bingo_proto_msgTypes[3]
  254. if protoimpl.UnsafeEnabled && x != nil {
  255. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  256. if ms.LoadMessageInfo() == nil {
  257. ms.StoreMessageInfo(mi)
  258. }
  259. return ms
  260. }
  261. return mi.MessageOf(x)
  262. }
  263. // Deprecated: Use Event.ProtoReflect.Descriptor instead.
  264. func (*Event) Descriptor() ([]byte, []int) {
  265. return file_gamelang_bingo_proto_rawDescGZIP(), []int{3}
  266. }
  267. func (x *Event) GetType() string {
  268. if x != nil {
  269. return x.Type
  270. }
  271. return ""
  272. }
  273. func (x *Event) GetGame() string {
  274. if x != nil {
  275. return x.Game
  276. }
  277. return ""
  278. }
  279. func (x *Event) GetValue() string {
  280. if x != nil {
  281. return x.Value
  282. }
  283. return ""
  284. }
  285. func (x *Event) GetGamename() string {
  286. if x != nil {
  287. return x.Gamename
  288. }
  289. return ""
  290. }
  291. func (x *Event) GetUsername() string {
  292. if x != nil {
  293. return x.Username
  294. }
  295. return ""
  296. }
  297. func (x *Event) GetNeighborgames() []string {
  298. if x != nil {
  299. return x.Neighborgames
  300. }
  301. return nil
  302. }
  303. type Bingo struct {
  304. state protoimpl.MessageState
  305. sizeCache protoimpl.SizeCache
  306. unknownFields protoimpl.UnknownFields
  307. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  308. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  309. Textlist []string `protobuf:"bytes,3,rep,name=textlist,proto3" json:"textlist,omitempty"`
  310. Options []*Option `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
  311. Fields *FieldMatrix `protobuf:"bytes,5,opt,name=fields,proto3" json:"fields,omitempty"`
  312. Started bool `protobuf:"varint,6,opt,name=started,proto3" json:"started,omitempty"`
  313. Finished bool `protobuf:"varint,7,opt,name=finished,proto3" json:"finished,omitempty"`
  314. Winner string `protobuf:"bytes,8,opt,name=winner,proto3" json:"winner,omitempty"`
  315. Numrows uint32 `protobuf:"varint,9,opt,name=numrows,proto3" json:"numrows,omitempty"`
  316. Numcols uint32 `protobuf:"varint,10,opt,name=numcols,proto3" json:"numcols,omitempty"`
  317. }
  318. func (x *Bingo) Reset() {
  319. *x = Bingo{}
  320. if protoimpl.UnsafeEnabled {
  321. mi := &file_gamelang_bingo_proto_msgTypes[4]
  322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  323. ms.StoreMessageInfo(mi)
  324. }
  325. }
  326. func (x *Bingo) String() string {
  327. return protoimpl.X.MessageStringOf(x)
  328. }
  329. func (*Bingo) ProtoMessage() {}
  330. func (x *Bingo) ProtoReflect() protoreflect.Message {
  331. mi := &file_gamelang_bingo_proto_msgTypes[4]
  332. if protoimpl.UnsafeEnabled && x != nil {
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. if ms.LoadMessageInfo() == nil {
  335. ms.StoreMessageInfo(mi)
  336. }
  337. return ms
  338. }
  339. return mi.MessageOf(x)
  340. }
  341. // Deprecated: Use Bingo.ProtoReflect.Descriptor instead.
  342. func (*Bingo) Descriptor() ([]byte, []int) {
  343. return file_gamelang_bingo_proto_rawDescGZIP(), []int{4}
  344. }
  345. func (x *Bingo) GetId() uint32 {
  346. if x != nil {
  347. return x.Id
  348. }
  349. return 0
  350. }
  351. func (x *Bingo) GetName() string {
  352. if x != nil {
  353. return x.Name
  354. }
  355. return ""
  356. }
  357. func (x *Bingo) GetTextlist() []string {
  358. if x != nil {
  359. return x.Textlist
  360. }
  361. return nil
  362. }
  363. func (x *Bingo) GetOptions() []*Option {
  364. if x != nil {
  365. return x.Options
  366. }
  367. return nil
  368. }
  369. func (x *Bingo) GetFields() *FieldMatrix {
  370. if x != nil {
  371. return x.Fields
  372. }
  373. return nil
  374. }
  375. func (x *Bingo) GetStarted() bool {
  376. if x != nil {
  377. return x.Started
  378. }
  379. return false
  380. }
  381. func (x *Bingo) GetFinished() bool {
  382. if x != nil {
  383. return x.Finished
  384. }
  385. return false
  386. }
  387. func (x *Bingo) GetWinner() string {
  388. if x != nil {
  389. return x.Winner
  390. }
  391. return ""
  392. }
  393. func (x *Bingo) GetNumrows() uint32 {
  394. if x != nil {
  395. return x.Numrows
  396. }
  397. return 0
  398. }
  399. func (x *Bingo) GetNumcols() uint32 {
  400. if x != nil {
  401. return x.Numcols
  402. }
  403. return 0
  404. }
  405. type FieldMatrix_MatrixRow struct {
  406. state protoimpl.MessageState
  407. sizeCache protoimpl.SizeCache
  408. unknownFields protoimpl.UnknownFields
  409. Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
  410. }
  411. func (x *FieldMatrix_MatrixRow) Reset() {
  412. *x = FieldMatrix_MatrixRow{}
  413. if protoimpl.UnsafeEnabled {
  414. mi := &file_gamelang_bingo_proto_msgTypes[5]
  415. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  416. ms.StoreMessageInfo(mi)
  417. }
  418. }
  419. func (x *FieldMatrix_MatrixRow) String() string {
  420. return protoimpl.X.MessageStringOf(x)
  421. }
  422. func (*FieldMatrix_MatrixRow) ProtoMessage() {}
  423. func (x *FieldMatrix_MatrixRow) ProtoReflect() protoreflect.Message {
  424. mi := &file_gamelang_bingo_proto_msgTypes[5]
  425. if protoimpl.UnsafeEnabled && x != nil {
  426. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  427. if ms.LoadMessageInfo() == nil {
  428. ms.StoreMessageInfo(mi)
  429. }
  430. return ms
  431. }
  432. return mi.MessageOf(x)
  433. }
  434. // Deprecated: Use FieldMatrix_MatrixRow.ProtoReflect.Descriptor instead.
  435. func (*FieldMatrix_MatrixRow) Descriptor() ([]byte, []int) {
  436. return file_gamelang_bingo_proto_rawDescGZIP(), []int{1, 0}
  437. }
  438. func (x *FieldMatrix_MatrixRow) GetFields() []*Field {
  439. if x != nil {
  440. return x.Fields
  441. }
  442. return nil
  443. }
  444. var File_gamelang_bingo_proto protoreflect.FileDescriptor
  445. var file_gamelang_bingo_proto_rawDesc = []byte{
  446. 0x0a, 0x14, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2d, 0x62, 0x69, 0x6e, 0x67, 0x6f,
  447. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
  448. 0x22, 0x5f, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  449. 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78,
  450. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a,
  451. 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
  452. 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b,
  453. 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65,
  454. 0x72, 0x22, 0x78, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78,
  455. 0x12, 0x33, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
  456. 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,
  457. 0x61, 0x74, 0x72, 0x69, 0x78, 0x2e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x6f, 0x77, 0x52,
  458. 0x04, 0x72, 0x6f, 0x77, 0x73, 0x1a, 0x34, 0x0a, 0x09, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52,
  459. 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
  460. 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x46, 0x69,
  461. 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x06,
  462. 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  463. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  464. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2d,
  465. 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67,
  466. 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54,
  467. 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a,
  468. 0x04, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x62, 0x6f, 0x6f,
  469. 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03,
  470. 0x69, 0x6e, 0x74, 0x22, 0x29, 0x0a, 0x08, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12,
  471. 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x42,
  472. 0x4f, 0x4f, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x49, 0x4e, 0x54, 0x10, 0x02, 0x22, 0xa3,
  473. 0x01, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  474. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04,
  475. 0x67, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x61, 0x6d, 0x65,
  476. 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  477. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6e, 0x61,
  478. 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6e, 0x61,
  479. 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05,
  480. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24,
  481. 0x0a, 0x0d, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x18,
  482. 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x67,
  483. 0x61, 0x6d, 0x65, 0x73, 0x22, 0xa4, 0x02, 0x0a, 0x05, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0e,
  484. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
  485. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  486. 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x78, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  487. 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x78, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2a,
  488. 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
  489. 0x10, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
  490. 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2d, 0x0a, 0x06, 0x66, 0x69,
  491. 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x61, 0x6d,
  492. 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x74, 0x72, 0x69,
  493. 0x78, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61,
  494. 0x72, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72,
  495. 0x74, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18,
  496. 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12,
  497. 0x16, 0x0a, 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
  498. 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x72, 0x6f,
  499. 0x77, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x72, 0x6f, 0x77,
  500. 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x01,
  501. 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x63, 0x6f, 0x6c, 0x73, 0x32, 0x3a, 0x0a, 0x0c, 0x45,
  502. 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x49,
  503. 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
  504. 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
  505. 0x67, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x32, 0x80, 0x02, 0x0a, 0x0c, 0x42, 0x69, 0x6e, 0x67,
  506. 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61,
  507. 0x74, 0x65, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
  508. 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
  509. 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x2f, 0x0a, 0x0b, 0x44, 0x65, 0x6c,
  510. 0x65, 0x74, 0x65, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
  511. 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65,
  512. 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x2c, 0x0a, 0x08, 0x47, 0x65,
  513. 0x74, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
  514. 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
  515. 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x2f, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74,
  516. 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
  517. 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
  518. 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x30, 0x01, 0x12, 0x2f, 0x0a, 0x0b, 0x4d, 0x6f, 0x64,
  519. 0x69, 0x66, 0x79, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
  520. 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65,
  521. 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x42, 0x13, 0x5a, 0x11, 0x2f, 0x67,
  522. 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x62, 0x69, 0x6e, 0x67, 0x6f, 0x70, 0x62, 0x62,
  523. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  524. }
  525. var (
  526. file_gamelang_bingo_proto_rawDescOnce sync.Once
  527. file_gamelang_bingo_proto_rawDescData = file_gamelang_bingo_proto_rawDesc
  528. )
  529. func file_gamelang_bingo_proto_rawDescGZIP() []byte {
  530. file_gamelang_bingo_proto_rawDescOnce.Do(func() {
  531. file_gamelang_bingo_proto_rawDescData = protoimpl.X.CompressGZIP(file_gamelang_bingo_proto_rawDescData)
  532. })
  533. return file_gamelang_bingo_proto_rawDescData
  534. }
  535. var file_gamelang_bingo_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  536. var file_gamelang_bingo_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  537. var file_gamelang_bingo_proto_goTypes = []interface{}{
  538. (Option_TypeEnum)(0), // 0: gamelang.Option.TypeEnum
  539. (*Field)(nil), // 1: gamelang.Field
  540. (*FieldMatrix)(nil), // 2: gamelang.FieldMatrix
  541. (*Option)(nil), // 3: gamelang.Option
  542. (*Event)(nil), // 4: gamelang.Event
  543. (*Bingo)(nil), // 5: gamelang.Bingo
  544. (*FieldMatrix_MatrixRow)(nil), // 6: gamelang.FieldMatrix.MatrixRow
  545. }
  546. var file_gamelang_bingo_proto_depIdxs = []int32{
  547. 6, // 0: gamelang.FieldMatrix.rows:type_name -> gamelang.FieldMatrix.MatrixRow
  548. 0, // 1: gamelang.Option.type:type_name -> gamelang.Option.TypeEnum
  549. 3, // 2: gamelang.Bingo.options:type_name -> gamelang.Option
  550. 2, // 3: gamelang.Bingo.fields:type_name -> gamelang.FieldMatrix
  551. 1, // 4: gamelang.FieldMatrix.MatrixRow.fields:type_name -> gamelang.Field
  552. 4, // 5: gamelang.EventService.Inform:input_type -> gamelang.Event
  553. 5, // 6: gamelang.BingoService.CreateBingo:input_type -> gamelang.Bingo
  554. 5, // 7: gamelang.BingoService.DeleteBingo:input_type -> gamelang.Bingo
  555. 5, // 8: gamelang.BingoService.GetBingo:input_type -> gamelang.Bingo
  556. 5, // 9: gamelang.BingoService.ListBingo:input_type -> gamelang.Bingo
  557. 5, // 10: gamelang.BingoService.ModifyBingo:input_type -> gamelang.Bingo
  558. 4, // 11: gamelang.EventService.Inform:output_type -> gamelang.Event
  559. 5, // 12: gamelang.BingoService.CreateBingo:output_type -> gamelang.Bingo
  560. 5, // 13: gamelang.BingoService.DeleteBingo:output_type -> gamelang.Bingo
  561. 5, // 14: gamelang.BingoService.GetBingo:output_type -> gamelang.Bingo
  562. 5, // 15: gamelang.BingoService.ListBingo:output_type -> gamelang.Bingo
  563. 5, // 16: gamelang.BingoService.ModifyBingo:output_type -> gamelang.Bingo
  564. 11, // [11:17] is the sub-list for method output_type
  565. 5, // [5:11] is the sub-list for method input_type
  566. 5, // [5:5] is the sub-list for extension type_name
  567. 5, // [5:5] is the sub-list for extension extendee
  568. 0, // [0:5] is the sub-list for field type_name
  569. }
  570. func init() { file_gamelang_bingo_proto_init() }
  571. func file_gamelang_bingo_proto_init() {
  572. if File_gamelang_bingo_proto != nil {
  573. return
  574. }
  575. if !protoimpl.UnsafeEnabled {
  576. file_gamelang_bingo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  577. switch v := v.(*Field); i {
  578. case 0:
  579. return &v.state
  580. case 1:
  581. return &v.sizeCache
  582. case 2:
  583. return &v.unknownFields
  584. default:
  585. return nil
  586. }
  587. }
  588. file_gamelang_bingo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  589. switch v := v.(*FieldMatrix); i {
  590. case 0:
  591. return &v.state
  592. case 1:
  593. return &v.sizeCache
  594. case 2:
  595. return &v.unknownFields
  596. default:
  597. return nil
  598. }
  599. }
  600. file_gamelang_bingo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  601. switch v := v.(*Option); i {
  602. case 0:
  603. return &v.state
  604. case 1:
  605. return &v.sizeCache
  606. case 2:
  607. return &v.unknownFields
  608. default:
  609. return nil
  610. }
  611. }
  612. file_gamelang_bingo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  613. switch v := v.(*Event); i {
  614. case 0:
  615. return &v.state
  616. case 1:
  617. return &v.sizeCache
  618. case 2:
  619. return &v.unknownFields
  620. default:
  621. return nil
  622. }
  623. }
  624. file_gamelang_bingo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  625. switch v := v.(*Bingo); i {
  626. case 0:
  627. return &v.state
  628. case 1:
  629. return &v.sizeCache
  630. case 2:
  631. return &v.unknownFields
  632. default:
  633. return nil
  634. }
  635. }
  636. file_gamelang_bingo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  637. switch v := v.(*FieldMatrix_MatrixRow); i {
  638. case 0:
  639. return &v.state
  640. case 1:
  641. return &v.sizeCache
  642. case 2:
  643. return &v.unknownFields
  644. default:
  645. return nil
  646. }
  647. }
  648. }
  649. type x struct{}
  650. out := protoimpl.TypeBuilder{
  651. File: protoimpl.DescBuilder{
  652. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  653. RawDescriptor: file_gamelang_bingo_proto_rawDesc,
  654. NumEnums: 1,
  655. NumMessages: 6,
  656. NumExtensions: 0,
  657. NumServices: 2,
  658. },
  659. GoTypes: file_gamelang_bingo_proto_goTypes,
  660. DependencyIndexes: file_gamelang_bingo_proto_depIdxs,
  661. EnumInfos: file_gamelang_bingo_proto_enumTypes,
  662. MessageInfos: file_gamelang_bingo_proto_msgTypes,
  663. }.Build()
  664. File_gamelang_bingo_proto = out.File
  665. file_gamelang_bingo_proto_rawDesc = nil
  666. file_gamelang_bingo_proto_goTypes = nil
  667. file_gamelang_bingo_proto_depIdxs = nil
  668. }