123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.25.0
- // protoc v3.11.4
- // source: gamelang-bingo.proto
- package bingopb
- import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- // This is a compile-time assertion that a sufficiently up-to-date version
- // of the legacy proto package is being used.
- const _ = proto.ProtoPackageIsVersion4
- type Option_TypeEnum int32
- const (
- Option_STRING Option_TypeEnum = 0
- Option_BOOL Option_TypeEnum = 1
- Option_INT Option_TypeEnum = 2
- )
- // Enum value maps for Option_TypeEnum.
- var (
- Option_TypeEnum_name = map[int32]string{
- 0: "STRING",
- 1: "BOOL",
- 2: "INT",
- }
- Option_TypeEnum_value = map[string]int32{
- "STRING": 0,
- "BOOL": 1,
- "INT": 2,
- }
- )
- func (x Option_TypeEnum) Enum() *Option_TypeEnum {
- p := new(Option_TypeEnum)
- *p = x
- return p
- }
- func (x Option_TypeEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (Option_TypeEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_gamelang_bingo_proto_enumTypes[0].Descriptor()
- }
- func (Option_TypeEnum) Type() protoreflect.EnumType {
- return &file_gamelang_bingo_proto_enumTypes[0]
- }
- func (x Option_TypeEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use Option_TypeEnum.Descriptor instead.
- func (Option_TypeEnum) EnumDescriptor() ([]byte, []int) {
- return file_gamelang_bingo_proto_rawDescGZIP(), []int{2, 0}
- }
- type Field struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
- Checked bool `protobuf:"varint,3,opt,name=checked,proto3" json:"checked,omitempty"`
- Checker []string `protobuf:"bytes,4,rep,name=checker,proto3" json:"checker,omitempty"`
- }
- func (x *Field) Reset() {
- *x = Field{}
- if protoimpl.UnsafeEnabled {
- mi := &file_gamelang_bingo_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Field) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Field) ProtoMessage() {}
- func (x *Field) ProtoReflect() protoreflect.Message {
- mi := &file_gamelang_bingo_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Field.ProtoReflect.Descriptor instead.
- func (*Field) Descriptor() ([]byte, []int) {
- return file_gamelang_bingo_proto_rawDescGZIP(), []int{0}
- }
- func (x *Field) GetId() uint32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Field) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
- func (x *Field) GetChecked() bool {
- if x != nil {
- return x.Checked
- }
- return false
- }
- func (x *Field) GetChecker() []string {
- if x != nil {
- return x.Checker
- }
- return nil
- }
- type FieldMatrix struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Rows []*FieldMatrix_MatrixRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
- }
- func (x *FieldMatrix) Reset() {
- *x = FieldMatrix{}
- if protoimpl.UnsafeEnabled {
- mi := &file_gamelang_bingo_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FieldMatrix) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FieldMatrix) ProtoMessage() {}
- func (x *FieldMatrix) ProtoReflect() protoreflect.Message {
- mi := &file_gamelang_bingo_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FieldMatrix.ProtoReflect.Descriptor instead.
- func (*FieldMatrix) Descriptor() ([]byte, []int) {
- return file_gamelang_bingo_proto_rawDescGZIP(), []int{1}
- }
- func (x *FieldMatrix) GetRows() []*FieldMatrix_MatrixRow {
- if x != nil {
- return x.Rows
- }
- return nil
- }
- type Option struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
- Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
- Type Option_TypeEnum `protobuf:"varint,3,opt,name=type,proto3,enum=gamelang.Option_TypeEnum" json:"type,omitempty"`
- Bool bool `protobuf:"varint,4,opt,name=bool,proto3" json:"bool,omitempty"`
- Int uint32 `protobuf:"varint,5,opt,name=int,proto3" json:"int,omitempty"`
- }
- func (x *Option) Reset() {
- *x = Option{}
- if protoimpl.UnsafeEnabled {
- mi := &file_gamelang_bingo_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Option) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Option) ProtoMessage() {}
- func (x *Option) ProtoReflect() protoreflect.Message {
- mi := &file_gamelang_bingo_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Option.ProtoReflect.Descriptor instead.
- func (*Option) Descriptor() ([]byte, []int) {
- return file_gamelang_bingo_proto_rawDescGZIP(), []int{2}
- }
- func (x *Option) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
- }
- func (x *Option) GetValue() string {
- if x != nil {
- return x.Value
- }
- return ""
- }
- func (x *Option) GetType() Option_TypeEnum {
- if x != nil {
- return x.Type
- }
- return Option_STRING
- }
- func (x *Option) GetBool() bool {
- if x != nil {
- return x.Bool
- }
- return false
- }
- func (x *Option) GetInt() uint32 {
- if x != nil {
- return x.Int
- }
- return 0
- }
- type Event struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
- Game string `protobuf:"bytes,2,opt,name=game,proto3" json:"game,omitempty"`
- Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
- Gamename string `protobuf:"bytes,4,opt,name=gamename,proto3" json:"gamename,omitempty"`
- Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
- Neighborgames []string `protobuf:"bytes,6,rep,name=neighborgames,proto3" json:"neighborgames,omitempty"`
- }
- func (x *Event) Reset() {
- *x = Event{}
- if protoimpl.UnsafeEnabled {
- mi := &file_gamelang_bingo_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Event) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Event) ProtoMessage() {}
- func (x *Event) ProtoReflect() protoreflect.Message {
- mi := &file_gamelang_bingo_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Event.ProtoReflect.Descriptor instead.
- func (*Event) Descriptor() ([]byte, []int) {
- return file_gamelang_bingo_proto_rawDescGZIP(), []int{3}
- }
- func (x *Event) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *Event) GetGame() string {
- if x != nil {
- return x.Game
- }
- return ""
- }
- func (x *Event) GetValue() string {
- if x != nil {
- return x.Value
- }
- return ""
- }
- func (x *Event) GetGamename() string {
- if x != nil {
- return x.Gamename
- }
- return ""
- }
- func (x *Event) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *Event) GetNeighborgames() []string {
- if x != nil {
- return x.Neighborgames
- }
- return nil
- }
- type Bingo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Textlist []string `protobuf:"bytes,3,rep,name=textlist,proto3" json:"textlist,omitempty"`
- Options []*Option `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
- Fields *FieldMatrix `protobuf:"bytes,5,opt,name=fields,proto3" json:"fields,omitempty"`
- Started bool `protobuf:"varint,6,opt,name=started,proto3" json:"started,omitempty"`
- Finished bool `protobuf:"varint,7,opt,name=finished,proto3" json:"finished,omitempty"`
- Winner string `protobuf:"bytes,8,opt,name=winner,proto3" json:"winner,omitempty"`
- Numrows uint32 `protobuf:"varint,9,opt,name=numrows,proto3" json:"numrows,omitempty"`
- Numcols uint32 `protobuf:"varint,10,opt,name=numcols,proto3" json:"numcols,omitempty"`
- }
- func (x *Bingo) Reset() {
- *x = Bingo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_gamelang_bingo_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Bingo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Bingo) ProtoMessage() {}
- func (x *Bingo) ProtoReflect() protoreflect.Message {
- mi := &file_gamelang_bingo_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Bingo.ProtoReflect.Descriptor instead.
- func (*Bingo) Descriptor() ([]byte, []int) {
- return file_gamelang_bingo_proto_rawDescGZIP(), []int{4}
- }
- func (x *Bingo) GetId() uint32 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Bingo) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *Bingo) GetTextlist() []string {
- if x != nil {
- return x.Textlist
- }
- return nil
- }
- func (x *Bingo) GetOptions() []*Option {
- if x != nil {
- return x.Options
- }
- return nil
- }
- func (x *Bingo) GetFields() *FieldMatrix {
- if x != nil {
- return x.Fields
- }
- return nil
- }
- func (x *Bingo) GetStarted() bool {
- if x != nil {
- return x.Started
- }
- return false
- }
- func (x *Bingo) GetFinished() bool {
- if x != nil {
- return x.Finished
- }
- return false
- }
- func (x *Bingo) GetWinner() string {
- if x != nil {
- return x.Winner
- }
- return ""
- }
- func (x *Bingo) GetNumrows() uint32 {
- if x != nil {
- return x.Numrows
- }
- return 0
- }
- func (x *Bingo) GetNumcols() uint32 {
- if x != nil {
- return x.Numcols
- }
- return 0
- }
- type FieldMatrix_MatrixRow struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
- }
- func (x *FieldMatrix_MatrixRow) Reset() {
- *x = FieldMatrix_MatrixRow{}
- if protoimpl.UnsafeEnabled {
- mi := &file_gamelang_bingo_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FieldMatrix_MatrixRow) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FieldMatrix_MatrixRow) ProtoMessage() {}
- func (x *FieldMatrix_MatrixRow) ProtoReflect() protoreflect.Message {
- mi := &file_gamelang_bingo_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FieldMatrix_MatrixRow.ProtoReflect.Descriptor instead.
- func (*FieldMatrix_MatrixRow) Descriptor() ([]byte, []int) {
- return file_gamelang_bingo_proto_rawDescGZIP(), []int{1, 0}
- }
- func (x *FieldMatrix_MatrixRow) GetFields() []*Field {
- if x != nil {
- return x.Fields
- }
- return nil
- }
- var File_gamelang_bingo_proto protoreflect.FileDescriptor
- var file_gamelang_bingo_proto_rawDesc = []byte{
- 0x0a, 0x14, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2d, 0x62, 0x69, 0x6e, 0x67, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
- 0x22, 0x5f, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78,
- 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a,
- 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
- 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b,
- 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65,
- 0x72, 0x22, 0x78, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78,
- 0x12, 0x33, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
- 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,
- 0x61, 0x74, 0x72, 0x69, 0x78, 0x2e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x6f, 0x77, 0x52,
- 0x04, 0x72, 0x6f, 0x77, 0x73, 0x1a, 0x34, 0x0a, 0x09, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52,
- 0x6f, 0x77, 0x12, 0x27, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x46, 0x69,
- 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x06,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2d,
- 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67,
- 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54,
- 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a,
- 0x04, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x62, 0x6f, 0x6f,
- 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03,
- 0x69, 0x6e, 0x74, 0x22, 0x29, 0x0a, 0x08, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12,
- 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x42,
- 0x4f, 0x4f, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x49, 0x4e, 0x54, 0x10, 0x02, 0x22, 0xa3,
- 0x01, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04,
- 0x67, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x61, 0x6d, 0x65,
- 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24,
- 0x0a, 0x0d, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x18,
- 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x67,
- 0x61, 0x6d, 0x65, 0x73, 0x22, 0xa4, 0x02, 0x0a, 0x05, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0e,
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x78, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
- 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x78, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2a,
- 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x10, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2d, 0x0a, 0x06, 0x66, 0x69,
- 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x61, 0x6d,
- 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x74, 0x72, 0x69,
- 0x78, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61,
- 0x72, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72,
- 0x74, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12,
- 0x16, 0x0a, 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x77, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x72, 0x6f,
- 0x77, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x72, 0x6f, 0x77,
- 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x01,
- 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x63, 0x6f, 0x6c, 0x73, 0x32, 0x3a, 0x0a, 0x0c, 0x45,
- 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x49,
- 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
- 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
- 0x67, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x32, 0x80, 0x02, 0x0a, 0x0c, 0x42, 0x69, 0x6e, 0x67,
- 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61,
- 0x74, 0x65, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
- 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
- 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x2f, 0x0a, 0x0b, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
- 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65,
- 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x2c, 0x0a, 0x08, 0x47, 0x65,
- 0x74, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
- 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61,
- 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x2f, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74,
- 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67,
- 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e,
- 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x30, 0x01, 0x12, 0x2f, 0x0a, 0x0b, 0x4d, 0x6f, 0x64,
- 0x69, 0x66, 0x79, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x6c,
- 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x1a, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65,
- 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x67, 0x6f, 0x42, 0x13, 0x5a, 0x11, 0x2f, 0x67,
- 0x61, 0x6d, 0x65, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x62, 0x69, 0x6e, 0x67, 0x6f, 0x70, 0x62, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_gamelang_bingo_proto_rawDescOnce sync.Once
- file_gamelang_bingo_proto_rawDescData = file_gamelang_bingo_proto_rawDesc
- )
- func file_gamelang_bingo_proto_rawDescGZIP() []byte {
- file_gamelang_bingo_proto_rawDescOnce.Do(func() {
- file_gamelang_bingo_proto_rawDescData = protoimpl.X.CompressGZIP(file_gamelang_bingo_proto_rawDescData)
- })
- return file_gamelang_bingo_proto_rawDescData
- }
- var file_gamelang_bingo_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_gamelang_bingo_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
- var file_gamelang_bingo_proto_goTypes = []interface{}{
- (Option_TypeEnum)(0), // 0: gamelang.Option.TypeEnum
- (*Field)(nil), // 1: gamelang.Field
- (*FieldMatrix)(nil), // 2: gamelang.FieldMatrix
- (*Option)(nil), // 3: gamelang.Option
- (*Event)(nil), // 4: gamelang.Event
- (*Bingo)(nil), // 5: gamelang.Bingo
- (*FieldMatrix_MatrixRow)(nil), // 6: gamelang.FieldMatrix.MatrixRow
- }
- var file_gamelang_bingo_proto_depIdxs = []int32{
- 6, // 0: gamelang.FieldMatrix.rows:type_name -> gamelang.FieldMatrix.MatrixRow
- 0, // 1: gamelang.Option.type:type_name -> gamelang.Option.TypeEnum
- 3, // 2: gamelang.Bingo.options:type_name -> gamelang.Option
- 2, // 3: gamelang.Bingo.fields:type_name -> gamelang.FieldMatrix
- 1, // 4: gamelang.FieldMatrix.MatrixRow.fields:type_name -> gamelang.Field
- 4, // 5: gamelang.EventService.Inform:input_type -> gamelang.Event
- 5, // 6: gamelang.BingoService.CreateBingo:input_type -> gamelang.Bingo
- 5, // 7: gamelang.BingoService.DeleteBingo:input_type -> gamelang.Bingo
- 5, // 8: gamelang.BingoService.GetBingo:input_type -> gamelang.Bingo
- 5, // 9: gamelang.BingoService.ListBingo:input_type -> gamelang.Bingo
- 5, // 10: gamelang.BingoService.ModifyBingo:input_type -> gamelang.Bingo
- 4, // 11: gamelang.EventService.Inform:output_type -> gamelang.Event
- 5, // 12: gamelang.BingoService.CreateBingo:output_type -> gamelang.Bingo
- 5, // 13: gamelang.BingoService.DeleteBingo:output_type -> gamelang.Bingo
- 5, // 14: gamelang.BingoService.GetBingo:output_type -> gamelang.Bingo
- 5, // 15: gamelang.BingoService.ListBingo:output_type -> gamelang.Bingo
- 5, // 16: gamelang.BingoService.ModifyBingo:output_type -> gamelang.Bingo
- 11, // [11:17] is the sub-list for method output_type
- 5, // [5:11] is the sub-list for method input_type
- 5, // [5:5] is the sub-list for extension type_name
- 5, // [5:5] is the sub-list for extension extendee
- 0, // [0:5] is the sub-list for field type_name
- }
- func init() { file_gamelang_bingo_proto_init() }
- func file_gamelang_bingo_proto_init() {
- if File_gamelang_bingo_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_gamelang_bingo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Field); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_gamelang_bingo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldMatrix); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_gamelang_bingo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Option); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_gamelang_bingo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Event); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_gamelang_bingo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Bingo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_gamelang_bingo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldMatrix_MatrixRow); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_gamelang_bingo_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 6,
- NumExtensions: 0,
- NumServices: 2,
- },
- GoTypes: file_gamelang_bingo_proto_goTypes,
- DependencyIndexes: file_gamelang_bingo_proto_depIdxs,
- EnumInfos: file_gamelang_bingo_proto_enumTypes,
- MessageInfos: file_gamelang_bingo_proto_msgTypes,
- }.Build()
- File_gamelang_bingo_proto = out.File
- file_gamelang_bingo_proto_rawDesc = nil
- file_gamelang_bingo_proto_goTypes = nil
- file_gamelang_bingo_proto_depIdxs = nil
- }
|