pb

package
v0.0.0-...-f64dbd0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GameStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "WAITING_FOR_PLAYERS",
	2: "IN_PROGRESS",
	3: "FINISHED",
}
View Source
var GameStatus_value = map[string]int32{
	"UNKNOWN":             0,
	"WAITING_FOR_PLAYERS": 1,
	"IN_PROGRESS":         2,
	"FINISHED":            3,
}
View Source
var Word_Orientation_name = map[int32]string{
	0: "UNKNOWN",
	1: "HORIZONTAL",
	2: "VERTICAL",
}
View Source
var Word_Orientation_value = map[string]int32{
	"UNKNOWN":    0,
	"HORIZONTAL": 1,
	"VERTICAL":   2,
}

Functions

func RegisterBananaServiceServer

func RegisterBananaServiceServer(s *grpc.Server, srv BananaServiceServer)

Types

type BananaServiceClient

BananaServiceClient is the client API for BananaService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBananaServiceClient

func NewBananaServiceClient(cc *grpc.ClientConn) BananaServiceClient

type BananaService_JoinGameClient

type BananaService_JoinGameClient interface {
	Recv() (*GameUpdate, error)
	grpc.ClientStream
}

type BananaService_JoinGameServer

type BananaService_JoinGameServer interface {
	Send(*GameUpdate) error
	grpc.ServerStream
}

type BananaService_SpectateClient

type BananaService_SpectateClient interface {
	Recv() (*SpectateUpdate, error)
	grpc.ClientStream
}

type BananaService_SpectateServer

type BananaService_SpectateServer interface {
	Send(*SpectateUpdate) error
	grpc.ServerStream
}

type BananaService_StreamGamesClient

type BananaService_StreamGamesClient interface {
	Recv() (*GamesList, error)
	grpc.ClientStream
}

type BananaService_StreamGamesServer

type BananaService_StreamGamesServer interface {
	Send(*GamesList) error
	grpc.ServerStream
}

type BananaService_StreamLogsClient

type BananaService_StreamLogsClient interface {
	Recv() (*LogEntry, error)
	grpc.ClientStream
}

type BananaService_StreamLogsServer

type BananaService_StreamLogsServer interface {
	Send(*LogEntry) error
	grpc.ServerStream
}

type Board

type Board struct {
	Words                []*Word  `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Board) Descriptor

func (*Board) Descriptor() ([]byte, []int)

func (*Board) GetWords

func (m *Board) GetWords() []*Word

func (*Board) ProtoMessage

func (*Board) ProtoMessage()

func (*Board) Reset

func (m *Board) Reset()

func (*Board) String

func (m *Board) String() string

func (*Board) XXX_DiscardUnknown

func (m *Board) XXX_DiscardUnknown()

func (*Board) XXX_Marshal

func (m *Board) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Board) XXX_Merge

func (m *Board) XXX_Merge(src proto.Message)

func (*Board) XXX_Size

func (m *Board) XXX_Size() int

func (*Board) XXX_Unmarshal

func (m *Board) XXX_Unmarshal(b []byte) error

type CharLoc

type CharLoc struct {
	Letter               string   `protobuf:"bytes,1,opt,name=letter,proto3" json:"letter,omitempty"`
	X                    int32    `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"`
	Y                    int32    `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CharLoc) Descriptor

func (*CharLoc) Descriptor() ([]byte, []int)

func (*CharLoc) GetLetter

func (m *CharLoc) GetLetter() string

func (*CharLoc) GetX

func (m *CharLoc) GetX() int32

func (*CharLoc) GetY

func (m *CharLoc) GetY() int32

func (*CharLoc) ProtoMessage

func (*CharLoc) ProtoMessage()

func (*CharLoc) Reset

func (m *CharLoc) Reset()

func (*CharLoc) String

func (m *CharLoc) String() string

func (*CharLoc) XXX_DiscardUnknown

func (m *CharLoc) XXX_DiscardUnknown()

func (*CharLoc) XXX_Marshal

func (m *CharLoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CharLoc) XXX_Merge

func (m *CharLoc) XXX_Merge(src proto.Message)

func (*CharLoc) XXX_Size

func (m *CharLoc) XXX_Size() int

func (*CharLoc) XXX_Unmarshal

func (m *CharLoc) XXX_Unmarshal(b []byte) error

type CharLocs

type CharLocs struct {
	Text                 string     `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Locs                 []*CharLoc `protobuf:"bytes,2,rep,name=locs,proto3" json:"locs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*CharLocs) Descriptor

func (*CharLocs) Descriptor() ([]byte, []int)

func (*CharLocs) GetLocs

func (m *CharLocs) GetLocs() []*CharLoc

func (*CharLocs) GetText

func (m *CharLocs) GetText() string

func (*CharLocs) ProtoMessage

func (*CharLocs) ProtoMessage()

func (*CharLocs) Reset

func (m *CharLocs) Reset()

func (*CharLocs) String

func (m *CharLocs) String() string

func (*CharLocs) XXX_DiscardUnknown

func (m *CharLocs) XXX_DiscardUnknown()

func (*CharLocs) XXX_Marshal

func (m *CharLocs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CharLocs) XXX_Merge

func (m *CharLocs) XXX_Merge(src proto.Message)

func (*CharLocs) XXX_Size

func (m *CharLocs) XXX_Size() int

func (*CharLocs) XXX_Unmarshal

func (m *CharLocs) XXX_Unmarshal(b []byte) error

type CurrentStatus

type CurrentStatus struct {
	YourId               string     `protobuf:"bytes,1,opt,name=your_id,json=yourId,proto3" json:"your_id,omitempty"`
	Players              []*Player  `protobuf:"bytes,2,rep,name=players,proto3" json:"players,omitempty"`
	RemainingTiles       int32      `protobuf:"varint,3,opt,name=remaining_tiles,json=remainingTiles,proto3" json:"remaining_tiles,omitempty"`
	Board                *Board     `protobuf:"bytes,4,opt,name=board,proto3" json:"board,omitempty"`
	AllTiles             *Tiles     `protobuf:"bytes,5,opt,name=all_tiles,json=allTiles,proto3" json:"all_tiles,omitempty"`
	Status               GameStatus `protobuf:"varint,6,opt,name=status,proto3,enum=GameStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*CurrentStatus) Descriptor

func (*CurrentStatus) Descriptor() ([]byte, []int)

func (*CurrentStatus) GetAllTiles

func (m *CurrentStatus) GetAllTiles() *Tiles

func (*CurrentStatus) GetBoard

func (m *CurrentStatus) GetBoard() *Board

func (*CurrentStatus) GetPlayers

func (m *CurrentStatus) GetPlayers() []*Player

func (*CurrentStatus) GetRemainingTiles

func (m *CurrentStatus) GetRemainingTiles() int32

func (*CurrentStatus) GetStatus

func (m *CurrentStatus) GetStatus() GameStatus

func (*CurrentStatus) GetYourId

func (m *CurrentStatus) GetYourId() string

func (*CurrentStatus) ProtoMessage

func (*CurrentStatus) ProtoMessage()

func (*CurrentStatus) Reset

func (m *CurrentStatus) Reset()

func (*CurrentStatus) String

func (m *CurrentStatus) String() string

func (*CurrentStatus) XXX_DiscardUnknown

func (m *CurrentStatus) XXX_DiscardUnknown()

func (*CurrentStatus) XXX_Marshal

func (m *CurrentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CurrentStatus) XXX_Merge

func (m *CurrentStatus) XXX_Merge(src proto.Message)

func (*CurrentStatus) XXX_Size

func (m *CurrentStatus) XXX_Size() int

func (*CurrentStatus) XXX_Unmarshal

func (m *CurrentStatus) XXX_Unmarshal(b []byte) error

type DumpRequest

type DumpRequest struct {
	// The unique identifier for the game you're dumping in.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The unique identifier for the player dumping.
	PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// The letter that is being dumped.
	Letter               string   `protobuf:"bytes,3,opt,name=letter,proto3" json:"letter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DumpRequest) Descriptor

func (*DumpRequest) Descriptor() ([]byte, []int)

func (*DumpRequest) GetId

func (m *DumpRequest) GetId() string

func (*DumpRequest) GetLetter

func (m *DumpRequest) GetLetter() string

func (*DumpRequest) GetPlayerId

func (m *DumpRequest) GetPlayerId() string

func (*DumpRequest) ProtoMessage

func (*DumpRequest) ProtoMessage()

func (*DumpRequest) Reset

func (m *DumpRequest) Reset()

func (*DumpRequest) String

func (m *DumpRequest) String() string

func (*DumpRequest) XXX_DiscardUnknown

func (m *DumpRequest) XXX_DiscardUnknown()

func (*DumpRequest) XXX_Marshal

func (m *DumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DumpRequest) XXX_Merge

func (m *DumpRequest) XXX_Merge(src proto.Message)

func (*DumpRequest) XXX_Size

func (m *DumpRequest) XXX_Size() int

func (*DumpRequest) XXX_Unmarshal

func (m *DumpRequest) XXX_Unmarshal(b []byte) error

type DumpResponse

type DumpResponse struct {
	AllTiles             *Tiles   `protobuf:"bytes,1,opt,name=all_tiles,json=allTiles,proto3" json:"all_tiles,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DumpResponse) Descriptor

func (*DumpResponse) Descriptor() ([]byte, []int)

func (*DumpResponse) GetAllTiles

func (m *DumpResponse) GetAllTiles() *Tiles

func (*DumpResponse) ProtoMessage

func (*DumpResponse) ProtoMessage()

func (*DumpResponse) Reset

func (m *DumpResponse) Reset()

func (*DumpResponse) String

func (m *DumpResponse) String() string

func (*DumpResponse) XXX_DiscardUnknown

func (m *DumpResponse) XXX_DiscardUnknown()

func (*DumpResponse) XXX_Marshal

func (m *DumpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DumpResponse) XXX_Merge

func (m *DumpResponse) XXX_Merge(src proto.Message)

func (*DumpResponse) XXX_Size

func (m *DumpResponse) XXX_Size() int

func (*DumpResponse) XXX_Unmarshal

func (m *DumpResponse) XXX_Unmarshal(b []byte) error

type Game

type Game struct {
	Id                   string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Status               GameStatus `protobuf:"varint,3,opt,name=status,proto3,enum=GameStatus" json:"status,omitempty"`
	PlayerCount          int32      `protobuf:"varint,4,opt,name=player_count,json=playerCount,proto3" json:"player_count,omitempty"`
	CreatorId            string     `protobuf:"bytes,5,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Game) Descriptor

func (*Game) Descriptor() ([]byte, []int)

func (*Game) GetCreatorId

func (m *Game) GetCreatorId() string

func (*Game) GetId

func (m *Game) GetId() string

func (*Game) GetName

func (m *Game) GetName() string

func (*Game) GetPlayerCount

func (m *Game) GetPlayerCount() int32

func (*Game) GetStatus

func (m *Game) GetStatus() GameStatus

func (*Game) ProtoMessage

func (*Game) ProtoMessage()

func (*Game) Reset

func (m *Game) Reset()

func (*Game) String

func (m *Game) String() string

func (*Game) XXX_DiscardUnknown

func (m *Game) XXX_DiscardUnknown()

func (*Game) XXX_Marshal

func (m *Game) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Game) XXX_Merge

func (m *Game) XXX_Merge(src proto.Message)

func (*Game) XXX_Size

func (m *Game) XXX_Size() int

func (*Game) XXX_Unmarshal

func (m *Game) XXX_Unmarshal(b []byte) error

type GameEnded

type GameEnded struct {
	Standings            []*Player `protobuf:"bytes,1,rep,name=standings,proto3" json:"standings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GameEnded) Descriptor

func (*GameEnded) Descriptor() ([]byte, []int)

func (*GameEnded) GetStandings

func (m *GameEnded) GetStandings() []*Player

func (*GameEnded) ProtoMessage

func (*GameEnded) ProtoMessage()

func (*GameEnded) Reset

func (m *GameEnded) Reset()

func (*GameEnded) String

func (m *GameEnded) String() string

func (*GameEnded) XXX_DiscardUnknown

func (m *GameEnded) XXX_DiscardUnknown()

func (*GameEnded) XXX_Marshal

func (m *GameEnded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GameEnded) XXX_Merge

func (m *GameEnded) XXX_Merge(src proto.Message)

func (*GameEnded) XXX_Size

func (m *GameEnded) XXX_Size() int

func (*GameEnded) XXX_Unmarshal

func (m *GameEnded) XXX_Unmarshal(b []byte) error

type GameStarted

type GameStarted struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GameStarted) Descriptor

func (*GameStarted) Descriptor() ([]byte, []int)

func (*GameStarted) ProtoMessage

func (*GameStarted) ProtoMessage()

func (*GameStarted) Reset

func (m *GameStarted) Reset()

func (*GameStarted) String

func (m *GameStarted) String() string

func (*GameStarted) XXX_DiscardUnknown

func (m *GameStarted) XXX_DiscardUnknown()

func (*GameStarted) XXX_Marshal

func (m *GameStarted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GameStarted) XXX_Merge

func (m *GameStarted) XXX_Merge(src proto.Message)

func (*GameStarted) XXX_Size

func (m *GameStarted) XXX_Size() int

func (*GameStarted) XXX_Unmarshal

func (m *GameStarted) XXX_Unmarshal(b []byte) error

type GameStatus

type GameStatus int32
const (
	GameStatus_UNKNOWN             GameStatus = 0
	GameStatus_WAITING_FOR_PLAYERS GameStatus = 1
	GameStatus_IN_PROGRESS         GameStatus = 2
	GameStatus_FINISHED            GameStatus = 3
)

func (GameStatus) EnumDescriptor

func (GameStatus) EnumDescriptor() ([]byte, []int)

func (GameStatus) String

func (x GameStatus) String() string

type GameUpdate

type GameUpdate struct {
	// Types that are valid to be assigned to Update:
	//	*GameUpdate_CurrentStatus
	//	*GameUpdate_PlayerUpdate
	//	*GameUpdate_GameStarted
	//	*GameUpdate_GameEnded
	//	*GameUpdate_SelfTileUpdate
	//	*GameUpdate_OtherTileUpdate
	Update               isGameUpdate_Update `protobuf_oneof:"update"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*GameUpdate) Descriptor

func (*GameUpdate) Descriptor() ([]byte, []int)

func (*GameUpdate) GetCurrentStatus

func (m *GameUpdate) GetCurrentStatus() *CurrentStatus

func (*GameUpdate) GetGameEnded

func (m *GameUpdate) GetGameEnded() *GameEnded

func (*GameUpdate) GetGameStarted

func (m *GameUpdate) GetGameStarted() *GameStarted

func (*GameUpdate) GetOtherTileUpdate

func (m *GameUpdate) GetOtherTileUpdate() *OtherTileUpdates

func (*GameUpdate) GetPlayerUpdate

func (m *GameUpdate) GetPlayerUpdate() *PlayerUpdate

func (*GameUpdate) GetSelfTileUpdate

func (m *GameUpdate) GetSelfTileUpdate() *SelfTileUpdate

func (*GameUpdate) GetUpdate

func (m *GameUpdate) GetUpdate() isGameUpdate_Update

func (*GameUpdate) ProtoMessage

func (*GameUpdate) ProtoMessage()

func (*GameUpdate) Reset

func (m *GameUpdate) Reset()

func (*GameUpdate) String

func (m *GameUpdate) String() string

func (*GameUpdate) XXX_DiscardUnknown

func (m *GameUpdate) XXX_DiscardUnknown()

func (*GameUpdate) XXX_Marshal

func (m *GameUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GameUpdate) XXX_Merge

func (m *GameUpdate) XXX_Merge(src proto.Message)

func (*GameUpdate) XXX_OneofWrappers

func (*GameUpdate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GameUpdate) XXX_Size

func (m *GameUpdate) XXX_Size() int

func (*GameUpdate) XXX_Unmarshal

func (m *GameUpdate) XXX_Unmarshal(b []byte) error

type GameUpdate_CurrentStatus

type GameUpdate_CurrentStatus struct {
	CurrentStatus *CurrentStatus `protobuf:"bytes,1,opt,name=current_status,json=currentStatus,proto3,oneof"`
}

type GameUpdate_GameEnded

type GameUpdate_GameEnded struct {
	GameEnded *GameEnded `protobuf:"bytes,4,opt,name=game_ended,json=gameEnded,proto3,oneof"`
}

type GameUpdate_GameStarted

type GameUpdate_GameStarted struct {
	GameStarted *GameStarted `protobuf:"bytes,3,opt,name=game_started,json=gameStarted,proto3,oneof"`
}

type GameUpdate_OtherTileUpdate

type GameUpdate_OtherTileUpdate struct {
	OtherTileUpdate *OtherTileUpdates `protobuf:"bytes,6,opt,name=other_tile_update,json=otherTileUpdate,proto3,oneof"`
}

type GameUpdate_PlayerUpdate

type GameUpdate_PlayerUpdate struct {
	PlayerUpdate *PlayerUpdate `protobuf:"bytes,2,opt,name=player_update,json=playerUpdate,proto3,oneof"`
}

type GameUpdate_SelfTileUpdate

type GameUpdate_SelfTileUpdate struct {
	SelfTileUpdate *SelfTileUpdate `protobuf:"bytes,5,opt,name=self_tile_update,json=selfTileUpdate,proto3,oneof"`
}

type GamesList

type GamesList struct {
	Games                []*Game  `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GamesList) Descriptor

func (*GamesList) Descriptor() ([]byte, []int)

func (*GamesList) GetGames

func (m *GamesList) GetGames() []*Game

func (*GamesList) ProtoMessage

func (*GamesList) ProtoMessage()

func (*GamesList) Reset

func (m *GamesList) Reset()

func (*GamesList) String

func (m *GamesList) String() string

func (*GamesList) XXX_DiscardUnknown

func (m *GamesList) XXX_DiscardUnknown()

func (*GamesList) XXX_Marshal

func (m *GamesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GamesList) XXX_Merge

func (m *GamesList) XXX_Merge(src proto.Message)

func (*GamesList) XXX_Size

func (m *GamesList) XXX_Size() int

func (*GamesList) XXX_Unmarshal

func (m *GamesList) XXX_Unmarshal(b []byte) error

type JoinGameRequest

type JoinGameRequest struct {
	// The unique identifier for the game to join.
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// The ID of the player joining the game.
	PlayerId             string   `protobuf:"bytes,3,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JoinGameRequest) Descriptor

func (*JoinGameRequest) Descriptor() ([]byte, []int)

func (*JoinGameRequest) GetGameId

func (m *JoinGameRequest) GetGameId() string

func (*JoinGameRequest) GetPlayerId

func (m *JoinGameRequest) GetPlayerId() string

func (*JoinGameRequest) ProtoMessage

func (*JoinGameRequest) ProtoMessage()

func (*JoinGameRequest) Reset

func (m *JoinGameRequest) Reset()

func (*JoinGameRequest) String

func (m *JoinGameRequest) String() string

func (*JoinGameRequest) XXX_DiscardUnknown

func (m *JoinGameRequest) XXX_DiscardUnknown()

func (*JoinGameRequest) XXX_Marshal

func (m *JoinGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JoinGameRequest) XXX_Merge

func (m *JoinGameRequest) XXX_Merge(src proto.Message)

func (*JoinGameRequest) XXX_Size

func (m *JoinGameRequest) XXX_Size() int

func (*JoinGameRequest) XXX_Unmarshal

func (m *JoinGameRequest) XXX_Unmarshal(b []byte) error

type ListGamesRequest

type ListGamesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListGamesRequest) Descriptor

func (*ListGamesRequest) Descriptor() ([]byte, []int)

func (*ListGamesRequest) ProtoMessage

func (*ListGamesRequest) ProtoMessage()

func (*ListGamesRequest) Reset

func (m *ListGamesRequest) Reset()

func (*ListGamesRequest) String

func (m *ListGamesRequest) String() string

func (*ListGamesRequest) XXX_DiscardUnknown

func (m *ListGamesRequest) XXX_DiscardUnknown()

func (*ListGamesRequest) XXX_Marshal

func (m *ListGamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListGamesRequest) XXX_Merge

func (m *ListGamesRequest) XXX_Merge(src proto.Message)

func (*ListGamesRequest) XXX_Size

func (m *ListGamesRequest) XXX_Size() int

func (*ListGamesRequest) XXX_Unmarshal

func (m *ListGamesRequest) XXX_Unmarshal(b []byte) error

type ListGamesResponse

type ListGamesResponse struct {
	Games                []*Game  `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListGamesResponse) Descriptor

func (*ListGamesResponse) Descriptor() ([]byte, []int)

func (*ListGamesResponse) GetGames

func (m *ListGamesResponse) GetGames() []*Game

func (*ListGamesResponse) ProtoMessage

func (*ListGamesResponse) ProtoMessage()

func (*ListGamesResponse) Reset

func (m *ListGamesResponse) Reset()

func (*ListGamesResponse) String

func (m *ListGamesResponse) String() string

func (*ListGamesResponse) XXX_DiscardUnknown

func (m *ListGamesResponse) XXX_DiscardUnknown()

func (*ListGamesResponse) XXX_Marshal

func (m *ListGamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListGamesResponse) XXX_Merge

func (m *ListGamesResponse) XXX_Merge(src proto.Message)

func (*ListGamesResponse) XXX_Size

func (m *ListGamesResponse) XXX_Size() int

func (*ListGamesResponse) XXX_Unmarshal

func (m *ListGamesResponse) XXX_Unmarshal(b []byte) error

type LogEntry

type LogEntry struct {
	// Types that are valid to be assigned to Event:
	//	*LogEntry_PlayerMove
	//	*LogEntry_PlayerDump
	//	*LogEntry_PlayerPeel
	Event                isLogEntry_Event `protobuf_oneof:"event"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*LogEntry) Descriptor

func (*LogEntry) Descriptor() ([]byte, []int)

func (*LogEntry) GetEvent

func (m *LogEntry) GetEvent() isLogEntry_Event

func (*LogEntry) GetPlayerDump

func (m *LogEntry) GetPlayerDump() *PlayerDump

func (*LogEntry) GetPlayerMove

func (m *LogEntry) GetPlayerMove() *PlayerMove

func (*LogEntry) GetPlayerPeel

func (m *LogEntry) GetPlayerPeel() *PlayerPeel

func (*LogEntry) ProtoMessage

func (*LogEntry) ProtoMessage()

func (*LogEntry) Reset

func (m *LogEntry) Reset()

func (*LogEntry) String

func (m *LogEntry) String() string

func (*LogEntry) XXX_DiscardUnknown

func (m *LogEntry) XXX_DiscardUnknown()

func (*LogEntry) XXX_Marshal

func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogEntry) XXX_Merge

func (m *LogEntry) XXX_Merge(src proto.Message)

func (*LogEntry) XXX_OneofWrappers

func (*LogEntry) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LogEntry) XXX_Size

func (m *LogEntry) XXX_Size() int

func (*LogEntry) XXX_Unmarshal

func (m *LogEntry) XXX_Unmarshal(b []byte) error

type LogEntry_PlayerDump

type LogEntry_PlayerDump struct {
	PlayerDump *PlayerDump `protobuf:"bytes,2,opt,name=player_dump,json=playerDump,proto3,oneof"`
}

type LogEntry_PlayerMove

type LogEntry_PlayerMove struct {
	PlayerMove *PlayerMove `protobuf:"bytes,1,opt,name=player_move,json=playerMove,proto3,oneof"`
}

type LogEntry_PlayerPeel

type LogEntry_PlayerPeel struct {
	PlayerPeel *PlayerPeel `protobuf:"bytes,3,opt,name=player_peel,json=playerPeel,proto3,oneof"`
}

type NewGameRequest

type NewGameRequest struct {
	// What to name the game.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The minimum number of letters that a word needs to have to be considered
	// valid.
	MinLettersInWord     int32    `protobuf:"varint,2,opt,name=min_letters_in_word,json=minLettersInWord,proto3" json:"min_letters_in_word,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NewGameRequest) Descriptor

func (*NewGameRequest) Descriptor() ([]byte, []int)

func (*NewGameRequest) GetMinLettersInWord

func (m *NewGameRequest) GetMinLettersInWord() int32

func (*NewGameRequest) GetName

func (m *NewGameRequest) GetName() string

func (*NewGameRequest) ProtoMessage

func (*NewGameRequest) ProtoMessage()

func (*NewGameRequest) Reset

func (m *NewGameRequest) Reset()

func (*NewGameRequest) String

func (m *NewGameRequest) String() string

func (*NewGameRequest) XXX_DiscardUnknown

func (m *NewGameRequest) XXX_DiscardUnknown()

func (*NewGameRequest) XXX_Marshal

func (m *NewGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewGameRequest) XXX_Merge

func (m *NewGameRequest) XXX_Merge(src proto.Message)

func (*NewGameRequest) XXX_Size

func (m *NewGameRequest) XXX_Size() int

func (*NewGameRequest) XXX_Unmarshal

func (m *NewGameRequest) XXX_Unmarshal(b []byte) error

type NewGameResponse

type NewGameResponse struct {
	// The unique identifier for the game.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NewGameResponse) Descriptor

func (*NewGameResponse) Descriptor() ([]byte, []int)

func (*NewGameResponse) GetId

func (m *NewGameResponse) GetId() string

func (*NewGameResponse) ProtoMessage

func (*NewGameResponse) ProtoMessage()

func (*NewGameResponse) Reset

func (m *NewGameResponse) Reset()

func (*NewGameResponse) String

func (m *NewGameResponse) String() string

func (*NewGameResponse) XXX_DiscardUnknown

func (m *NewGameResponse) XXX_DiscardUnknown()

func (*NewGameResponse) XXX_Marshal

func (m *NewGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewGameResponse) XXX_Merge

func (m *NewGameResponse) XXX_Merge(src proto.Message)

func (*NewGameResponse) XXX_Size

func (m *NewGameResponse) XXX_Size() int

func (*NewGameResponse) XXX_Unmarshal

func (m *NewGameResponse) XXX_Unmarshal(b []byte) error

type OtherTileUpdate

type OtherTileUpdate struct {
	PlayerId             string   `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	TilesInHand          int32    `protobuf:"varint,2,opt,name=tiles_in_hand,json=tilesInHand,proto3" json:"tiles_in_hand,omitempty"`
	TilesInBoard         int32    `protobuf:"varint,3,opt,name=tiles_in_board,json=tilesInBoard,proto3" json:"tiles_in_board,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OtherTileUpdate) Descriptor

func (*OtherTileUpdate) Descriptor() ([]byte, []int)

func (*OtherTileUpdate) GetPlayerId

func (m *OtherTileUpdate) GetPlayerId() string

func (*OtherTileUpdate) GetTilesInBoard

func (m *OtherTileUpdate) GetTilesInBoard() int32

func (*OtherTileUpdate) GetTilesInHand

func (m *OtherTileUpdate) GetTilesInHand() int32

func (*OtherTileUpdate) ProtoMessage

func (*OtherTileUpdate) ProtoMessage()

func (*OtherTileUpdate) Reset

func (m *OtherTileUpdate) Reset()

func (*OtherTileUpdate) String

func (m *OtherTileUpdate) String() string

func (*OtherTileUpdate) XXX_DiscardUnknown

func (m *OtherTileUpdate) XXX_DiscardUnknown()

func (*OtherTileUpdate) XXX_Marshal

func (m *OtherTileUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OtherTileUpdate) XXX_Merge

func (m *OtherTileUpdate) XXX_Merge(src proto.Message)

func (*OtherTileUpdate) XXX_Size

func (m *OtherTileUpdate) XXX_Size() int

func (*OtherTileUpdate) XXX_Unmarshal

func (m *OtherTileUpdate) XXX_Unmarshal(b []byte) error

type OtherTileUpdates

type OtherTileUpdates struct {
	Updates              []*OtherTileUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
	RemainingTiles       int32              `protobuf:"varint,2,opt,name=remaining_tiles,json=remainingTiles,proto3" json:"remaining_tiles,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*OtherTileUpdates) Descriptor

func (*OtherTileUpdates) Descriptor() ([]byte, []int)

func (*OtherTileUpdates) GetRemainingTiles

func (m *OtherTileUpdates) GetRemainingTiles() int32

func (*OtherTileUpdates) GetUpdates

func (m *OtherTileUpdates) GetUpdates() []*OtherTileUpdate

func (*OtherTileUpdates) ProtoMessage

func (*OtherTileUpdates) ProtoMessage()

func (*OtherTileUpdates) Reset

func (m *OtherTileUpdates) Reset()

func (*OtherTileUpdates) String

func (m *OtherTileUpdates) String() string

func (*OtherTileUpdates) XXX_DiscardUnknown

func (m *OtherTileUpdates) XXX_DiscardUnknown()

func (*OtherTileUpdates) XXX_Marshal

func (m *OtherTileUpdates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OtherTileUpdates) XXX_Merge

func (m *OtherTileUpdates) XXX_Merge(src proto.Message)

func (*OtherTileUpdates) XXX_Size

func (m *OtherTileUpdates) XXX_Size() int

func (*OtherTileUpdates) XXX_Unmarshal

func (m *OtherTileUpdates) XXX_Unmarshal(b []byte) error

type Player

type Player struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	TilesInHand          int32    `protobuf:"varint,3,opt,name=tiles_in_hand,json=tilesInHand,proto3" json:"tiles_in_hand,omitempty"`
	TilesInBoard         int32    `protobuf:"varint,4,opt,name=tiles_in_board,json=tilesInBoard,proto3" json:"tiles_in_board,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Player) Descriptor

func (*Player) Descriptor() ([]byte, []int)

func (*Player) GetId

func (m *Player) GetId() string

func (*Player) GetName

func (m *Player) GetName() string

func (*Player) GetTilesInBoard

func (m *Player) GetTilesInBoard() int32

func (*Player) GetTilesInHand

func (m *Player) GetTilesInHand() int32

func (*Player) ProtoMessage

func (*Player) ProtoMessage()

func (*Player) Reset

func (m *Player) Reset()

func (*Player) String

func (m *Player) String() string

func (*Player) XXX_DiscardUnknown

func (m *Player) XXX_DiscardUnknown()

func (*Player) XXX_Marshal

func (m *Player) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Player) XXX_Merge

func (m *Player) XXX_Merge(src proto.Message)

func (*Player) XXX_Size

func (m *Player) XXX_Size() int

func (*Player) XXX_Unmarshal

func (m *Player) XXX_Unmarshal(b []byte) error

type PlayerDump

type PlayerDump struct {
	PlayerId             string   `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	PlayerName           string   `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlayerDump) Descriptor

func (*PlayerDump) Descriptor() ([]byte, []int)

func (*PlayerDump) GetPlayerId

func (m *PlayerDump) GetPlayerId() string

func (*PlayerDump) GetPlayerName

func (m *PlayerDump) GetPlayerName() string

func (*PlayerDump) ProtoMessage

func (*PlayerDump) ProtoMessage()

func (*PlayerDump) Reset

func (m *PlayerDump) Reset()

func (*PlayerDump) String

func (m *PlayerDump) String() string

func (*PlayerDump) XXX_DiscardUnknown

func (m *PlayerDump) XXX_DiscardUnknown()

func (*PlayerDump) XXX_Marshal

func (m *PlayerDump) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlayerDump) XXX_Merge

func (m *PlayerDump) XXX_Merge(src proto.Message)

func (*PlayerDump) XXX_Size

func (m *PlayerDump) XXX_Size() int

func (*PlayerDump) XXX_Unmarshal

func (m *PlayerDump) XXX_Unmarshal(b []byte) error

type PlayerMove

type PlayerMove struct {
	PlayerId             string   `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	PlayerName           string   `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"`
	Word                 string   `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
	WordValid            bool     `protobuf:"varint,4,opt,name=word_valid,json=wordValid,proto3" json:"word_valid,omitempty"`
	BoardConnected       bool     `protobuf:"varint,5,opt,name=board_connected,json=boardConnected,proto3" json:"board_connected,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlayerMove) Descriptor

func (*PlayerMove) Descriptor() ([]byte, []int)

func (*PlayerMove) GetBoardConnected

func (m *PlayerMove) GetBoardConnected() bool

func (*PlayerMove) GetPlayerId

func (m *PlayerMove) GetPlayerId() string

func (*PlayerMove) GetPlayerName

func (m *PlayerMove) GetPlayerName() string

func (*PlayerMove) GetWord

func (m *PlayerMove) GetWord() string

func (*PlayerMove) GetWordValid

func (m *PlayerMove) GetWordValid() bool

func (*PlayerMove) ProtoMessage

func (*PlayerMove) ProtoMessage()

func (*PlayerMove) Reset

func (m *PlayerMove) Reset()

func (*PlayerMove) String

func (m *PlayerMove) String() string

func (*PlayerMove) XXX_DiscardUnknown

func (m *PlayerMove) XXX_DiscardUnknown()

func (*PlayerMove) XXX_Marshal

func (m *PlayerMove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlayerMove) XXX_Merge

func (m *PlayerMove) XXX_Merge(src proto.Message)

func (*PlayerMove) XXX_Size

func (m *PlayerMove) XXX_Size() int

func (*PlayerMove) XXX_Unmarshal

func (m *PlayerMove) XXX_Unmarshal(b []byte) error

type PlayerPeel

type PlayerPeel struct {
	PlayerId             string   `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	PlayerName           string   `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlayerPeel) Descriptor

func (*PlayerPeel) Descriptor() ([]byte, []int)

func (*PlayerPeel) GetPlayerId

func (m *PlayerPeel) GetPlayerId() string

func (*PlayerPeel) GetPlayerName

func (m *PlayerPeel) GetPlayerName() string

func (*PlayerPeel) ProtoMessage

func (*PlayerPeel) ProtoMessage()

func (*PlayerPeel) Reset

func (m *PlayerPeel) Reset()

func (*PlayerPeel) String

func (m *PlayerPeel) String() string

func (*PlayerPeel) XXX_DiscardUnknown

func (m *PlayerPeel) XXX_DiscardUnknown()

func (*PlayerPeel) XXX_Marshal

func (m *PlayerPeel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlayerPeel) XXX_Merge

func (m *PlayerPeel) XXX_Merge(src proto.Message)

func (*PlayerPeel) XXX_Size

func (m *PlayerPeel) XXX_Size() int

func (*PlayerPeel) XXX_Unmarshal

func (m *PlayerPeel) XXX_Unmarshal(b []byte) error

type PlayerUpdate

type PlayerUpdate struct {
	Player               *Player  `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlayerUpdate) Descriptor

func (*PlayerUpdate) Descriptor() ([]byte, []int)

func (*PlayerUpdate) GetPlayer

func (m *PlayerUpdate) GetPlayer() *Player

func (*PlayerUpdate) ProtoMessage

func (*PlayerUpdate) ProtoMessage()

func (*PlayerUpdate) Reset

func (m *PlayerUpdate) Reset()

func (*PlayerUpdate) String

func (m *PlayerUpdate) String() string

func (*PlayerUpdate) XXX_DiscardUnknown

func (m *PlayerUpdate) XXX_DiscardUnknown()

func (*PlayerUpdate) XXX_Marshal

func (m *PlayerUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlayerUpdate) XXX_Merge

func (m *PlayerUpdate) XXX_Merge(src proto.Message)

func (*PlayerUpdate) XXX_Size

func (m *PlayerUpdate) XXX_Size() int

func (*PlayerUpdate) XXX_Unmarshal

func (m *PlayerUpdate) XXX_Unmarshal(b []byte) error

type RegisterRequest

type RegisterRequest struct {
	// What the users name should be. Must be unique within the system, because
	// why not?
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterRequest) Descriptor

func (*RegisterRequest) Descriptor() ([]byte, []int)

func (*RegisterRequest) GetName

func (m *RegisterRequest) GetName() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) Reset

func (m *RegisterRequest) Reset()

func (*RegisterRequest) String

func (m *RegisterRequest) String() string

func (*RegisterRequest) XXX_DiscardUnknown

func (m *RegisterRequest) XXX_DiscardUnknown()

func (*RegisterRequest) XXX_Marshal

func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterRequest) XXX_Merge

func (m *RegisterRequest) XXX_Merge(src proto.Message)

func (*RegisterRequest) XXX_Size

func (m *RegisterRequest) XXX_Size() int

func (*RegisterRequest) XXX_Unmarshal

func (m *RegisterRequest) XXX_Unmarshal(b []byte) error

type RegisterResponse

type RegisterResponse struct {
	PlayerId             string   `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Token                string   `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterResponse) Descriptor

func (*RegisterResponse) Descriptor() ([]byte, []int)

func (*RegisterResponse) GetPlayerId

func (m *RegisterResponse) GetPlayerId() string

func (*RegisterResponse) GetToken

func (m *RegisterResponse) GetToken() string

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) Reset

func (m *RegisterResponse) Reset()

func (*RegisterResponse) String

func (m *RegisterResponse) String() string

func (*RegisterResponse) XXX_DiscardUnknown

func (m *RegisterResponse) XXX_DiscardUnknown()

func (*RegisterResponse) XXX_Marshal

func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterResponse) XXX_Merge

func (m *RegisterResponse) XXX_Merge(src proto.Message)

func (*RegisterResponse) XXX_Size

func (m *RegisterResponse) XXX_Size() int

func (*RegisterResponse) XXX_Unmarshal

func (m *RegisterResponse) XXX_Unmarshal(b []byte) error

type SelfTileUpdate

type SelfTileUpdate struct {
	AllTiles             *Tiles   `protobuf:"bytes,1,opt,name=all_tiles,json=allTiles,proto3" json:"all_tiles,omitempty"`
	FromOtherPeel        bool     `protobuf:"varint,2,opt,name=from_other_peel,json=fromOtherPeel,proto3" json:"from_other_peel,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SelfTileUpdate) Descriptor

func (*SelfTileUpdate) Descriptor() ([]byte, []int)

func (*SelfTileUpdate) GetAllTiles

func (m *SelfTileUpdate) GetAllTiles() *Tiles

func (*SelfTileUpdate) GetFromOtherPeel

func (m *SelfTileUpdate) GetFromOtherPeel() bool

func (*SelfTileUpdate) ProtoMessage

func (*SelfTileUpdate) ProtoMessage()

func (*SelfTileUpdate) Reset

func (m *SelfTileUpdate) Reset()

func (*SelfTileUpdate) String

func (m *SelfTileUpdate) String() string

func (*SelfTileUpdate) XXX_DiscardUnknown

func (m *SelfTileUpdate) XXX_DiscardUnknown()

func (*SelfTileUpdate) XXX_Marshal

func (m *SelfTileUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelfTileUpdate) XXX_Merge

func (m *SelfTileUpdate) XXX_Merge(src proto.Message)

func (*SelfTileUpdate) XXX_Size

func (m *SelfTileUpdate) XXX_Size() int

func (*SelfTileUpdate) XXX_Unmarshal

func (m *SelfTileUpdate) XXX_Unmarshal(b []byte) error

type SpectateRequest

type SpectateRequest struct {
	// The unique identifier for the game to spectate.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SpectateRequest) Descriptor

func (*SpectateRequest) Descriptor() ([]byte, []int)

func (*SpectateRequest) GetId

func (m *SpectateRequest) GetId() string

func (*SpectateRequest) ProtoMessage

func (*SpectateRequest) ProtoMessage()

func (*SpectateRequest) Reset

func (m *SpectateRequest) Reset()

func (*SpectateRequest) String

func (m *SpectateRequest) String() string

func (*SpectateRequest) XXX_DiscardUnknown

func (m *SpectateRequest) XXX_DiscardUnknown()

func (*SpectateRequest) XXX_Marshal

func (m *SpectateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpectateRequest) XXX_Merge

func (m *SpectateRequest) XXX_Merge(src proto.Message)

func (*SpectateRequest) XXX_Size

func (m *SpectateRequest) XXX_Size() int

func (*SpectateRequest) XXX_Unmarshal

func (m *SpectateRequest) XXX_Unmarshal(b []byte) error

type SpectateUpdate

type SpectateUpdate struct {
	PlayerId             string      `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	PlayerName           string      `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"`
	Board                *Board      `protobuf:"bytes,3,opt,name=board,proto3" json:"board,omitempty"`
	InvalidWords         []*CharLocs `protobuf:"bytes,4,rep,name=invalid_words,json=invalidWords,proto3" json:"invalid_words,omitempty"`
	DetachedBoard        bool        `protobuf:"varint,5,opt,name=detached_board,json=detachedBoard,proto3" json:"detached_board,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*SpectateUpdate) Descriptor

func (*SpectateUpdate) Descriptor() ([]byte, []int)

func (*SpectateUpdate) GetBoard

func (m *SpectateUpdate) GetBoard() *Board

func (*SpectateUpdate) GetDetachedBoard

func (m *SpectateUpdate) GetDetachedBoard() bool

func (*SpectateUpdate) GetInvalidWords

func (m *SpectateUpdate) GetInvalidWords() []*CharLocs

func (*SpectateUpdate) GetPlayerId

func (m *SpectateUpdate) GetPlayerId() string

func (*SpectateUpdate) GetPlayerName

func (m *SpectateUpdate) GetPlayerName() string

func (*SpectateUpdate) ProtoMessage

func (*SpectateUpdate) ProtoMessage()

func (*SpectateUpdate) Reset

func (m *SpectateUpdate) Reset()

func (*SpectateUpdate) String

func (m *SpectateUpdate) String() string

func (*SpectateUpdate) XXX_DiscardUnknown

func (m *SpectateUpdate) XXX_DiscardUnknown()

func (*SpectateUpdate) XXX_Marshal

func (m *SpectateUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpectateUpdate) XXX_Merge

func (m *SpectateUpdate) XXX_Merge(src proto.Message)

func (*SpectateUpdate) XXX_Size

func (m *SpectateUpdate) XXX_Size() int

func (*SpectateUpdate) XXX_Unmarshal

func (m *SpectateUpdate) XXX_Unmarshal(b []byte) error

type StartGameRequest

type StartGameRequest struct {
	// The unique identifier for the game to start.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartGameRequest) Descriptor

func (*StartGameRequest) Descriptor() ([]byte, []int)

func (*StartGameRequest) GetId

func (m *StartGameRequest) GetId() string

func (*StartGameRequest) ProtoMessage

func (*StartGameRequest) ProtoMessage()

func (*StartGameRequest) Reset

func (m *StartGameRequest) Reset()

func (*StartGameRequest) String

func (m *StartGameRequest) String() string

func (*StartGameRequest) XXX_DiscardUnknown

func (m *StartGameRequest) XXX_DiscardUnknown()

func (*StartGameRequest) XXX_Marshal

func (m *StartGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartGameRequest) XXX_Merge

func (m *StartGameRequest) XXX_Merge(src proto.Message)

func (*StartGameRequest) XXX_Size

func (m *StartGameRequest) XXX_Size() int

func (*StartGameRequest) XXX_Unmarshal

func (m *StartGameRequest) XXX_Unmarshal(b []byte) error

type StartGameResponse

type StartGameResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartGameResponse) Descriptor

func (*StartGameResponse) Descriptor() ([]byte, []int)

func (*StartGameResponse) ProtoMessage

func (*StartGameResponse) ProtoMessage()

func (*StartGameResponse) Reset

func (m *StartGameResponse) Reset()

func (*StartGameResponse) String

func (m *StartGameResponse) String() string

func (*StartGameResponse) XXX_DiscardUnknown

func (m *StartGameResponse) XXX_DiscardUnknown()

func (*StartGameResponse) XXX_Marshal

func (m *StartGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartGameResponse) XXX_Merge

func (m *StartGameResponse) XXX_Merge(src proto.Message)

func (*StartGameResponse) XXX_Size

func (m *StartGameResponse) XXX_Size() int

func (*StartGameResponse) XXX_Unmarshal

func (m *StartGameResponse) XXX_Unmarshal(b []byte) error

type StreamLogsRequest

type StreamLogsRequest struct {
	GameId               string   `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	PlayerId             string   `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamLogsRequest) Descriptor

func (*StreamLogsRequest) Descriptor() ([]byte, []int)

func (*StreamLogsRequest) GetGameId

func (m *StreamLogsRequest) GetGameId() string

func (*StreamLogsRequest) GetPlayerId

func (m *StreamLogsRequest) GetPlayerId() string

func (*StreamLogsRequest) ProtoMessage

func (*StreamLogsRequest) ProtoMessage()

func (*StreamLogsRequest) Reset

func (m *StreamLogsRequest) Reset()

func (*StreamLogsRequest) String

func (m *StreamLogsRequest) String() string

func (*StreamLogsRequest) XXX_DiscardUnknown

func (m *StreamLogsRequest) XXX_DiscardUnknown()

func (*StreamLogsRequest) XXX_Marshal

func (m *StreamLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamLogsRequest) XXX_Merge

func (m *StreamLogsRequest) XXX_Merge(src proto.Message)

func (*StreamLogsRequest) XXX_Size

func (m *StreamLogsRequest) XXX_Size() int

func (*StreamLogsRequest) XXX_Unmarshal

func (m *StreamLogsRequest) XXX_Unmarshal(b []byte) error

type Tiles

type Tiles struct {
	// Tiles are just lists of letters
	Letters              []string `protobuf:"bytes,1,rep,name=letters,proto3" json:"letters,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Tiles) Descriptor

func (*Tiles) Descriptor() ([]byte, []int)

func (*Tiles) GetLetters

func (m *Tiles) GetLetters() []string

func (*Tiles) ProtoMessage

func (*Tiles) ProtoMessage()

func (*Tiles) Reset

func (m *Tiles) Reset()

func (*Tiles) String

func (m *Tiles) String() string

func (*Tiles) XXX_DiscardUnknown

func (m *Tiles) XXX_DiscardUnknown()

func (*Tiles) XXX_Marshal

func (m *Tiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tiles) XXX_Merge

func (m *Tiles) XXX_Merge(src proto.Message)

func (*Tiles) XXX_Size

func (m *Tiles) XXX_Size() int

func (*Tiles) XXX_Unmarshal

func (m *Tiles) XXX_Unmarshal(b []byte) error

type UnimplementedBananaServiceServer

type UnimplementedBananaServiceServer struct {
}

UnimplementedBananaServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedBananaServiceServer) Dump

func (*UnimplementedBananaServiceServer) JoinGame

func (*UnimplementedBananaServiceServer) ListGames

func (*UnimplementedBananaServiceServer) NewGame

func (*UnimplementedBananaServiceServer) Register

func (*UnimplementedBananaServiceServer) Spectate

func (*UnimplementedBananaServiceServer) StartGame

func (*UnimplementedBananaServiceServer) StreamGames

func (*UnimplementedBananaServiceServer) StreamLogs

func (*UnimplementedBananaServiceServer) UpdateBoard

type UpdateBoardRequest

type UpdateBoardRequest struct {
	// The unique identifier for the game you're placing in.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The unique identifier for the player peeling.
	PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	Board    *Board `protobuf:"bytes,3,opt,name=board,proto3" json:"board,omitempty"`
	// An optional word to include, to be shared with other players.
	LatestWord           *Word    `protobuf:"bytes,4,opt,name=latest_word,json=latestWord,proto3" json:"latest_word,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateBoardRequest) Descriptor

func (*UpdateBoardRequest) Descriptor() ([]byte, []int)

func (*UpdateBoardRequest) GetBoard

func (m *UpdateBoardRequest) GetBoard() *Board

func (*UpdateBoardRequest) GetId

func (m *UpdateBoardRequest) GetId() string

func (*UpdateBoardRequest) GetLatestWord

func (m *UpdateBoardRequest) GetLatestWord() *Word

func (*UpdateBoardRequest) GetPlayerId

func (m *UpdateBoardRequest) GetPlayerId() string

func (*UpdateBoardRequest) ProtoMessage

func (*UpdateBoardRequest) ProtoMessage()

func (*UpdateBoardRequest) Reset

func (m *UpdateBoardRequest) Reset()

func (*UpdateBoardRequest) String

func (m *UpdateBoardRequest) String() string

func (*UpdateBoardRequest) XXX_DiscardUnknown

func (m *UpdateBoardRequest) XXX_DiscardUnknown()

func (*UpdateBoardRequest) XXX_Marshal

func (m *UpdateBoardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateBoardRequest) XXX_Merge

func (m *UpdateBoardRequest) XXX_Merge(src proto.Message)

func (*UpdateBoardRequest) XXX_Size

func (m *UpdateBoardRequest) XXX_Size() int

func (*UpdateBoardRequest) XXX_Unmarshal

func (m *UpdateBoardRequest) XXX_Unmarshal(b []byte) error

type UpdateBoardResponse

type UpdateBoardResponse struct {
	InvalidWords         []*CharLocs `protobuf:"bytes,1,rep,name=invalid_words,json=invalidWords,proto3" json:"invalid_words,omitempty"`
	ShortWords           []*CharLocs `protobuf:"bytes,2,rep,name=short_words,json=shortWords,proto3" json:"short_words,omitempty"`
	UnusedLetters        []string    `protobuf:"bytes,3,rep,name=unused_letters,json=unusedLetters,proto3" json:"unused_letters,omitempty"`
	DetachedBoard        bool        `protobuf:"varint,4,opt,name=detached_board,json=detachedBoard,proto3" json:"detached_board,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*UpdateBoardResponse) Descriptor

func (*UpdateBoardResponse) Descriptor() ([]byte, []int)

func (*UpdateBoardResponse) GetDetachedBoard

func (m *UpdateBoardResponse) GetDetachedBoard() bool

func (*UpdateBoardResponse) GetInvalidWords

func (m *UpdateBoardResponse) GetInvalidWords() []*CharLocs

func (*UpdateBoardResponse) GetShortWords

func (m *UpdateBoardResponse) GetShortWords() []*CharLocs

func (*UpdateBoardResponse) GetUnusedLetters

func (m *UpdateBoardResponse) GetUnusedLetters() []string

func (*UpdateBoardResponse) ProtoMessage

func (*UpdateBoardResponse) ProtoMessage()

func (*UpdateBoardResponse) Reset

func (m *UpdateBoardResponse) Reset()

func (*UpdateBoardResponse) String

func (m *UpdateBoardResponse) String() string

func (*UpdateBoardResponse) XXX_DiscardUnknown

func (m *UpdateBoardResponse) XXX_DiscardUnknown()

func (*UpdateBoardResponse) XXX_Marshal

func (m *UpdateBoardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateBoardResponse) XXX_Merge

func (m *UpdateBoardResponse) XXX_Merge(src proto.Message)

func (*UpdateBoardResponse) XXX_Size

func (m *UpdateBoardResponse) XXX_Size() int

func (*UpdateBoardResponse) XXX_Unmarshal

func (m *UpdateBoardResponse) XXX_Unmarshal(b []byte) error

type Word

type Word struct {
	Text        string           `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Orientation Word_Orientation `protobuf:"varint,2,opt,name=orientation,proto3,enum=Word_Orientation" json:"orientation,omitempty"`
	// The x-position of the top-left letter on the board.
	X int32 `protobuf:"varint,3,opt,name=x,proto3" json:"x,omitempty"`
	// The y-position of the top-left letter on the board.
	Y                    int32    `protobuf:"varint,4,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Word) Descriptor

func (*Word) Descriptor() ([]byte, []int)

func (*Word) GetOrientation

func (m *Word) GetOrientation() Word_Orientation

func (*Word) GetText

func (m *Word) GetText() string

func (*Word) GetX

func (m *Word) GetX() int32

func (*Word) GetY

func (m *Word) GetY() int32

func (*Word) ProtoMessage

func (*Word) ProtoMessage()

func (*Word) Reset

func (m *Word) Reset()

func (*Word) String

func (m *Word) String() string

func (*Word) XXX_DiscardUnknown

func (m *Word) XXX_DiscardUnknown()

func (*Word) XXX_Marshal

func (m *Word) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Word) XXX_Merge

func (m *Word) XXX_Merge(src proto.Message)

func (*Word) XXX_Size

func (m *Word) XXX_Size() int

func (*Word) XXX_Unmarshal

func (m *Word) XXX_Unmarshal(b []byte) error

type Word_Orientation

type Word_Orientation int32
const (
	Word_UNKNOWN    Word_Orientation = 0
	Word_HORIZONTAL Word_Orientation = 1
	Word_VERTICAL   Word_Orientation = 2
)

func (Word_Orientation) EnumDescriptor

func (Word_Orientation) EnumDescriptor() ([]byte, []int)

func (Word_Orientation) String

func (x Word_Orientation) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL