github.com/turingchain2020/turingchain@v1.1.21/common/db/table/proto/game.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: game.proto 3 4 package proto 5 6 import ( 7 fmt "fmt" 8 9 proto "github.com/golang/protobuf/proto" 10 11 math "math" 12 ) 13 14 // Reference imports to suppress errors if they are not otherwise used. 15 var _ = proto.Marshal 16 var _ = fmt.Errorf 17 var _ = math.Inf 18 19 // This is a compile-time assertion to ensure that this generated file 20 // is compatible with the proto package it is being compiled against. 21 // A compilation error at this line likely means your copy of the 22 // proto package needs to be updated. 23 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 24 25 type Game struct { 26 GameID string `protobuf:"bytes,1,opt,name=gameID,proto3" json:"gameID,omitempty"` 27 Status int64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` 28 XXX_NoUnkeyedLiteral struct{} `json:"-"` 29 XXX_unrecognized []byte `json:"-"` 30 XXX_sizecache int32 `json:"-"` 31 } 32 33 func (m *Game) Reset() { *m = Game{} } 34 func (m *Game) String() string { return proto.CompactTextString(m) } 35 func (*Game) ProtoMessage() {} 36 func (*Game) Descriptor() ([]byte, []int) { 37 return fileDescriptor_game_c30dd93766b91ef0, []int{0} 38 } 39 func (m *Game) XXX_Unmarshal(b []byte) error { 40 return xxx_messageInfo_Game.Unmarshal(m, b) 41 } 42 func (m *Game) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 43 return xxx_messageInfo_Game.Marshal(b, m, deterministic) 44 } 45 func (dst *Game) XXX_Merge(src proto.Message) { 46 xxx_messageInfo_Game.Merge(dst, src) 47 } 48 func (m *Game) XXX_Size() int { 49 return xxx_messageInfo_Game.Size(m) 50 } 51 func (m *Game) XXX_DiscardUnknown() { 52 xxx_messageInfo_Game.DiscardUnknown(m) 53 } 54 55 var xxx_messageInfo_Game proto.InternalMessageInfo 56 57 func (m *Game) GetGameID() string { 58 if m != nil { 59 return m.GameID 60 } 61 return "" 62 } 63 64 func (m *Game) GetStatus() int64 { 65 if m != nil { 66 return m.Status 67 } 68 return 0 69 } 70 71 type GameAddr struct { 72 Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"` 73 GameID string `protobuf:"bytes,2,opt,name=gameID,proto3" json:"gameID,omitempty"` 74 Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` 75 XXX_NoUnkeyedLiteral struct{} `json:"-"` 76 XXX_unrecognized []byte `json:"-"` 77 XXX_sizecache int32 `json:"-"` 78 } 79 80 func (m *GameAddr) Reset() { *m = GameAddr{} } 81 func (m *GameAddr) String() string { return proto.CompactTextString(m) } 82 func (*GameAddr) ProtoMessage() {} 83 func (*GameAddr) Descriptor() ([]byte, []int) { 84 return fileDescriptor_game_c30dd93766b91ef0, []int{1} 85 } 86 func (m *GameAddr) XXX_Unmarshal(b []byte) error { 87 return xxx_messageInfo_GameAddr.Unmarshal(m, b) 88 } 89 func (m *GameAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 90 return xxx_messageInfo_GameAddr.Marshal(b, m, deterministic) 91 } 92 func (dst *GameAddr) XXX_Merge(src proto.Message) { 93 xxx_messageInfo_GameAddr.Merge(dst, src) 94 } 95 func (m *GameAddr) XXX_Size() int { 96 return xxx_messageInfo_GameAddr.Size(m) 97 } 98 func (m *GameAddr) XXX_DiscardUnknown() { 99 xxx_messageInfo_GameAddr.DiscardUnknown(m) 100 } 101 102 var xxx_messageInfo_GameAddr proto.InternalMessageInfo 103 104 func (m *GameAddr) GetTxhash() string { 105 if m != nil { 106 return m.Txhash 107 } 108 return "" 109 } 110 111 func (m *GameAddr) GetGameID() string { 112 if m != nil { 113 return m.GameID 114 } 115 return "" 116 } 117 118 func (m *GameAddr) GetAddr() string { 119 if m != nil { 120 return m.Addr 121 } 122 return "" 123 } 124 125 func init() { 126 proto.RegisterType((*Game)(nil), "proto.Game") 127 proto.RegisterType((*GameAddr)(nil), "proto.GameAddr") 128 } 129 130 func init() { proto.RegisterFile("game.proto", fileDescriptor_game_c30dd93766b91ef0) } 131 132 var fileDescriptor_game_c30dd93766b91ef0 = []byte{ 133 // 131 bytes of a gzipped FileDescriptorProto 134 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x4f, 0xcc, 0x4d, 135 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x53, 0x4a, 0x66, 0x5c, 0x2c, 0xee, 0x89, 136 0xb9, 0xa9, 0x42, 0x62, 0x5c, 0x6c, 0x20, 0x49, 0x4f, 0x17, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 137 0x20, 0x28, 0x0f, 0x24, 0x5e, 0x5c, 0x92, 0x58, 0x52, 0x5a, 0x2c, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 138 0x1c, 0x04, 0xe5, 0x29, 0xf9, 0x71, 0x71, 0x80, 0xf4, 0x39, 0xa6, 0xa4, 0x14, 0x81, 0xd4, 0x94, 139 0x54, 0x64, 0x24, 0x16, 0x67, 0xc0, 0xf4, 0x42, 0x78, 0x48, 0x66, 0x32, 0xa1, 0x98, 0x29, 0xc4, 140 0xc5, 0x92, 0x98, 0x92, 0x52, 0x24, 0xc1, 0x0c, 0x16, 0x05, 0xb3, 0x9d, 0xd8, 0xa3, 0x20, 0x0e, 141 0x4a, 0x62, 0x03, 0x53, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd5, 0x93, 0x12, 0xbb, 0xac, 142 0x00, 0x00, 0x00, 143 }