tournament_service

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TType_name = map[int32]string{
		0: "STANDARD",
		1: "CLUB",
		2: "CHILD",
		3: "LEGACY",
	}
	TType_value = map[string]int32{
		"STANDARD": 0,
		"CLUB":     1,
		"CHILD":    2,
		"LEGACY":   3,
	}
)

Enum value maps for TType.

View Source
var File_proto_tournament_service_tournament_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CheckinRequest

type CheckinRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckinRequest) Descriptor deprecated

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

Deprecated: Use CheckinRequest.ProtoReflect.Descriptor instead.

func (*CheckinRequest) GetId

func (x *CheckinRequest) GetId() string

func (*CheckinRequest) ProtoMessage

func (*CheckinRequest) ProtoMessage()

func (*CheckinRequest) ProtoReflect

func (x *CheckinRequest) ProtoReflect() protoreflect.Message

func (*CheckinRequest) Reset

func (x *CheckinRequest) Reset()

func (*CheckinRequest) String

func (x *CheckinRequest) String() string

type ClubSessionResponse

type ClubSessionResponse struct {

	// Note that club sessions are tournaments in our backend. We return
	// the created tournament ID here:
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// slug will look like /club/{club_name}/{date}. It should be
	// case-insensitive.
	Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*ClubSessionResponse) Descriptor deprecated

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

Deprecated: Use ClubSessionResponse.ProtoReflect.Descriptor instead.

func (*ClubSessionResponse) GetSlug

func (x *ClubSessionResponse) GetSlug() string

func (*ClubSessionResponse) GetTournamentId

func (x *ClubSessionResponse) GetTournamentId() string

func (*ClubSessionResponse) ProtoMessage

func (*ClubSessionResponse) ProtoMessage()

func (*ClubSessionResponse) ProtoReflect

func (x *ClubSessionResponse) ProtoReflect() protoreflect.Message

func (*ClubSessionResponse) Reset

func (x *ClubSessionResponse) Reset()

func (*ClubSessionResponse) String

func (x *ClubSessionResponse) String() string

type ClubSessionsResponse

type ClubSessionsResponse struct {
	Sessions []*ClubSessionResponse `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*ClubSessionsResponse) Descriptor deprecated

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

Deprecated: Use ClubSessionsResponse.ProtoReflect.Descriptor instead.

func (*ClubSessionsResponse) GetSessions

func (x *ClubSessionsResponse) GetSessions() []*ClubSessionResponse

func (*ClubSessionsResponse) ProtoMessage

func (*ClubSessionsResponse) ProtoMessage()

func (*ClubSessionsResponse) ProtoReflect

func (x *ClubSessionsResponse) ProtoReflect() protoreflect.Message

func (*ClubSessionsResponse) Reset

func (x *ClubSessionsResponse) Reset()

func (*ClubSessionsResponse) String

func (x *ClubSessionsResponse) String() string

type DivisionRenameRequest

type DivisionRenameRequest struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"`
	NewName  string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DivisionRenameRequest) Descriptor deprecated

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

Deprecated: Use DivisionRenameRequest.ProtoReflect.Descriptor instead.

func (*DivisionRenameRequest) GetDivision

func (x *DivisionRenameRequest) GetDivision() string

func (*DivisionRenameRequest) GetId

func (x *DivisionRenameRequest) GetId() string

func (*DivisionRenameRequest) GetNewName

func (x *DivisionRenameRequest) GetNewName() string

func (*DivisionRenameRequest) ProtoMessage

func (*DivisionRenameRequest) ProtoMessage()

func (*DivisionRenameRequest) ProtoReflect

func (x *DivisionRenameRequest) ProtoReflect() protoreflect.Message

func (*DivisionRenameRequest) Reset

func (x *DivisionRenameRequest) Reset()

func (*DivisionRenameRequest) String

func (x *DivisionRenameRequest) String() string

type ExportTournamentRequest

type ExportTournamentRequest struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportTournamentRequest) Descriptor deprecated

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

Deprecated: Use ExportTournamentRequest.ProtoReflect.Descriptor instead.

func (*ExportTournamentRequest) GetFormat

func (x *ExportTournamentRequest) GetFormat() string

func (*ExportTournamentRequest) GetId

func (x *ExportTournamentRequest) GetId() string

func (*ExportTournamentRequest) ProtoMessage

func (*ExportTournamentRequest) ProtoMessage()

func (*ExportTournamentRequest) ProtoReflect

func (x *ExportTournamentRequest) ProtoReflect() protoreflect.Message

func (*ExportTournamentRequest) Reset

func (x *ExportTournamentRequest) Reset()

func (*ExportTournamentRequest) String

func (x *ExportTournamentRequest) String() string

type ExportTournamentResponse

type ExportTournamentResponse struct {
	Exported string `protobuf:"bytes,1,opt,name=exported,proto3" json:"exported,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportTournamentResponse) Descriptor deprecated

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

Deprecated: Use ExportTournamentResponse.ProtoReflect.Descriptor instead.

func (*ExportTournamentResponse) GetExported

func (x *ExportTournamentResponse) GetExported() string

func (*ExportTournamentResponse) ProtoMessage

func (*ExportTournamentResponse) ProtoMessage()

func (*ExportTournamentResponse) ProtoReflect

func (x *ExportTournamentResponse) ProtoReflect() protoreflect.Message

func (*ExportTournamentResponse) Reset

func (x *ExportTournamentResponse) Reset()

func (*ExportTournamentResponse) String

func (x *ExportTournamentResponse) String() string

type FinishTournamentRequest

type FinishTournamentRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishTournamentRequest) Descriptor deprecated

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

Deprecated: Use FinishTournamentRequest.ProtoReflect.Descriptor instead.

func (*FinishTournamentRequest) GetId

func (x *FinishTournamentRequest) GetId() string

func (*FinishTournamentRequest) ProtoMessage

func (*FinishTournamentRequest) ProtoMessage()

func (*FinishTournamentRequest) ProtoReflect

func (x *FinishTournamentRequest) ProtoReflect() protoreflect.Message

func (*FinishTournamentRequest) Reset

func (x *FinishTournamentRequest) Reset()

func (*FinishTournamentRequest) String

func (x *FinishTournamentRequest) String() string

type GetTournamentMetadataRequest

type GetTournamentMetadataRequest struct {

	// User must provide the ID, or the slug (but not both)
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTournamentMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetTournamentMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetTournamentMetadataRequest) GetId

func (*GetTournamentMetadataRequest) GetSlug

func (x *GetTournamentMetadataRequest) GetSlug() string

func (*GetTournamentMetadataRequest) ProtoMessage

func (*GetTournamentMetadataRequest) ProtoMessage()

func (*GetTournamentMetadataRequest) ProtoReflect

func (*GetTournamentMetadataRequest) Reset

func (x *GetTournamentMetadataRequest) Reset()

func (*GetTournamentMetadataRequest) String

type GetTournamentRequest

type GetTournamentRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTournamentRequest) Descriptor deprecated

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

Deprecated: Use GetTournamentRequest.ProtoReflect.Descriptor instead.

func (*GetTournamentRequest) GetId

func (x *GetTournamentRequest) GetId() string

func (*GetTournamentRequest) ProtoMessage

func (*GetTournamentRequest) ProtoMessage()

func (*GetTournamentRequest) ProtoReflect

func (x *GetTournamentRequest) ProtoReflect() protoreflect.Message

func (*GetTournamentRequest) Reset

func (x *GetTournamentRequest) Reset()

func (*GetTournamentRequest) String

func (x *GetTournamentRequest) String() string

type NewClubSessionRequest

type NewClubSessionRequest struct {

	// date is the date of the session
	Date   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	ClubId string                 `protobuf:"bytes,2,opt,name=club_id,json=clubId,proto3" json:"club_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NewClubSessionRequest) Descriptor deprecated

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

Deprecated: Use NewClubSessionRequest.ProtoReflect.Descriptor instead.

func (*NewClubSessionRequest) GetClubId

func (x *NewClubSessionRequest) GetClubId() string

func (*NewClubSessionRequest) GetDate

func (*NewClubSessionRequest) ProtoMessage

func (*NewClubSessionRequest) ProtoMessage()

func (*NewClubSessionRequest) ProtoReflect

func (x *NewClubSessionRequest) ProtoReflect() protoreflect.Message

func (*NewClubSessionRequest) Reset

func (x *NewClubSessionRequest) Reset()

func (*NewClubSessionRequest) String

func (x *NewClubSessionRequest) String() string

type NewTournamentRequest

type NewTournamentRequest struct {

	// If slug is not assigned, a random ID will be chosen.
	Slug              string   `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	Name              string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description       string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	DirectorUsernames []string `protobuf:"bytes,4,rep,name=director_usernames,json=directorUsernames,proto3" json:"director_usernames,omitempty"`
	Type              TType    `protobuf:"varint,5,opt,name=type,proto3,enum=tournament_service.TType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*NewTournamentRequest) Descriptor deprecated

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

Deprecated: Use NewTournamentRequest.ProtoReflect.Descriptor instead.

func (*NewTournamentRequest) GetDescription

func (x *NewTournamentRequest) GetDescription() string

func (*NewTournamentRequest) GetDirectorUsernames

func (x *NewTournamentRequest) GetDirectorUsernames() []string

func (*NewTournamentRequest) GetName

func (x *NewTournamentRequest) GetName() string

func (*NewTournamentRequest) GetSlug

func (x *NewTournamentRequest) GetSlug() string

func (*NewTournamentRequest) GetType

func (x *NewTournamentRequest) GetType() TType

func (*NewTournamentRequest) ProtoMessage

func (*NewTournamentRequest) ProtoMessage()

func (*NewTournamentRequest) ProtoReflect

func (x *NewTournamentRequest) ProtoReflect() protoreflect.Message

func (*NewTournamentRequest) Reset

func (x *NewTournamentRequest) Reset()

func (*NewTournamentRequest) String

func (x *NewTournamentRequest) String() string

type NewTournamentResponse

type NewTournamentResponse struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*NewTournamentResponse) Descriptor deprecated

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

Deprecated: Use NewTournamentResponse.ProtoReflect.Descriptor instead.

func (*NewTournamentResponse) GetId

func (x *NewTournamentResponse) GetId() string

func (*NewTournamentResponse) GetSlug

func (x *NewTournamentResponse) GetSlug() string

func (*NewTournamentResponse) ProtoMessage

func (*NewTournamentResponse) ProtoMessage()

func (*NewTournamentResponse) ProtoReflect

func (x *NewTournamentResponse) ProtoReflect() protoreflect.Message

func (*NewTournamentResponse) Reset

func (x *NewTournamentResponse) Reset()

func (*NewTournamentResponse) String

func (x *NewTournamentResponse) String() string

type PairRoundRequest

type PairRoundRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Division       string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"`
	Round          int32  `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	PreserveByes   bool   `protobuf:"varint,4,opt,name=preserve_byes,json=preserveByes,proto3" json:"preserve_byes,omitempty"`
	DeletePairings bool   `protobuf:"varint,5,opt,name=delete_pairings,json=deletePairings,proto3" json:"delete_pairings,omitempty"`
	// contains filtered or unexported fields
}

func (*PairRoundRequest) Descriptor deprecated

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

Deprecated: Use PairRoundRequest.ProtoReflect.Descriptor instead.

func (*PairRoundRequest) GetDeletePairings

func (x *PairRoundRequest) GetDeletePairings() bool

func (*PairRoundRequest) GetDivision

func (x *PairRoundRequest) GetDivision() string

func (*PairRoundRequest) GetId

func (x *PairRoundRequest) GetId() string

func (*PairRoundRequest) GetPreserveByes

func (x *PairRoundRequest) GetPreserveByes() bool

func (*PairRoundRequest) GetRound

func (x *PairRoundRequest) GetRound() int32

func (*PairRoundRequest) ProtoMessage

func (*PairRoundRequest) ProtoMessage()

func (*PairRoundRequest) ProtoReflect

func (x *PairRoundRequest) ProtoReflect() protoreflect.Message

func (*PairRoundRequest) Reset

func (x *PairRoundRequest) Reset()

func (*PairRoundRequest) String

func (x *PairRoundRequest) String() string

type RecentClubSessionsRequest

type RecentClubSessionsRequest struct {

	// club_id
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Count  int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Offset int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*RecentClubSessionsRequest) Descriptor deprecated

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

Deprecated: Use RecentClubSessionsRequest.ProtoReflect.Descriptor instead.

func (*RecentClubSessionsRequest) GetCount

func (x *RecentClubSessionsRequest) GetCount() int32

func (*RecentClubSessionsRequest) GetId

func (x *RecentClubSessionsRequest) GetId() string

func (*RecentClubSessionsRequest) GetOffset

func (x *RecentClubSessionsRequest) GetOffset() int32

func (*RecentClubSessionsRequest) ProtoMessage

func (*RecentClubSessionsRequest) ProtoMessage()

func (*RecentClubSessionsRequest) ProtoReflect

func (*RecentClubSessionsRequest) Reset

func (x *RecentClubSessionsRequest) Reset()

func (*RecentClubSessionsRequest) String

func (x *RecentClubSessionsRequest) String() string

type RecentGamesRequest

type RecentGamesRequest struct {

	// tournament id
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NumGames int32  `protobuf:"varint,2,opt,name=num_games,json=numGames,proto3" json:"num_games,omitempty"`
	Offset   int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*RecentGamesRequest) Descriptor deprecated

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

Deprecated: Use RecentGamesRequest.ProtoReflect.Descriptor instead.

func (*RecentGamesRequest) GetId

func (x *RecentGamesRequest) GetId() string

func (*RecentGamesRequest) GetNumGames

func (x *RecentGamesRequest) GetNumGames() int32

func (*RecentGamesRequest) GetOffset

func (x *RecentGamesRequest) GetOffset() int32

func (*RecentGamesRequest) ProtoMessage

func (*RecentGamesRequest) ProtoMessage()

func (*RecentGamesRequest) ProtoReflect

func (x *RecentGamesRequest) ProtoReflect() protoreflect.Message

func (*RecentGamesRequest) Reset

func (x *RecentGamesRequest) Reset()

func (*RecentGamesRequest) String

func (x *RecentGamesRequest) String() string

type RecentGamesResponse

type RecentGamesResponse struct {
	Games []*ipc.TournamentGameEndedEvent `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
	// contains filtered or unexported fields
}

func (*RecentGamesResponse) Descriptor deprecated

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

Deprecated: Use RecentGamesResponse.ProtoReflect.Descriptor instead.

func (*RecentGamesResponse) GetGames

func (*RecentGamesResponse) ProtoMessage

func (*RecentGamesResponse) ProtoMessage()

func (*RecentGamesResponse) ProtoReflect

func (x *RecentGamesResponse) ProtoReflect() protoreflect.Message

func (*RecentGamesResponse) Reset

func (x *RecentGamesResponse) Reset()

func (*RecentGamesResponse) String

func (x *RecentGamesResponse) String() string

type SetTournamentMetadataRequest

type SetTournamentMetadataRequest struct {
	Metadata *TournamentMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// set_only_specified sets only the specified fields,
	// and not the entire metadata.
	// non-zero-value fields will be treated as "specified"
	SetOnlySpecified bool `protobuf:"varint,2,opt,name=set_only_specified,json=setOnlySpecified,proto3" json:"set_only_specified,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTournamentMetadataRequest) Descriptor deprecated

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

Deprecated: Use SetTournamentMetadataRequest.ProtoReflect.Descriptor instead.

func (*SetTournamentMetadataRequest) GetMetadata

func (*SetTournamentMetadataRequest) GetSetOnlySpecified

func (x *SetTournamentMetadataRequest) GetSetOnlySpecified() bool

func (*SetTournamentMetadataRequest) ProtoMessage

func (*SetTournamentMetadataRequest) ProtoMessage()

func (*SetTournamentMetadataRequest) ProtoReflect

func (*SetTournamentMetadataRequest) Reset

func (x *SetTournamentMetadataRequest) Reset()

func (*SetTournamentMetadataRequest) String

type SingleRoundControlsRequest

type SingleRoundControlsRequest struct {
	Id            string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Division      string            `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"`
	Round         int32             `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	RoundControls *ipc.RoundControl `protobuf:"bytes,4,opt,name=round_controls,json=roundControls,proto3" json:"round_controls,omitempty"`
	// contains filtered or unexported fields
}

func (*SingleRoundControlsRequest) Descriptor deprecated

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

Deprecated: Use SingleRoundControlsRequest.ProtoReflect.Descriptor instead.

func (*SingleRoundControlsRequest) GetDivision

func (x *SingleRoundControlsRequest) GetDivision() string

func (*SingleRoundControlsRequest) GetId

func (*SingleRoundControlsRequest) GetRound

func (x *SingleRoundControlsRequest) GetRound() int32

func (*SingleRoundControlsRequest) GetRoundControls

func (x *SingleRoundControlsRequest) GetRoundControls() *ipc.RoundControl

func (*SingleRoundControlsRequest) ProtoMessage

func (*SingleRoundControlsRequest) ProtoMessage()

func (*SingleRoundControlsRequest) ProtoReflect

func (*SingleRoundControlsRequest) Reset

func (x *SingleRoundControlsRequest) Reset()

func (*SingleRoundControlsRequest) String

func (x *SingleRoundControlsRequest) String() string

type StartRoundRequest

type StartRoundRequest struct {
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	Round        int32  `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRoundRequest) Descriptor deprecated

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

Deprecated: Use StartRoundRequest.ProtoReflect.Descriptor instead.

func (*StartRoundRequest) GetRound

func (x *StartRoundRequest) GetRound() int32

func (*StartRoundRequest) GetTournamentId

func (x *StartRoundRequest) GetTournamentId() string

func (*StartRoundRequest) ProtoMessage

func (*StartRoundRequest) ProtoMessage()

func (*StartRoundRequest) ProtoReflect

func (x *StartRoundRequest) ProtoReflect() protoreflect.Message

func (*StartRoundRequest) Reset

func (x *StartRoundRequest) Reset()

func (*StartRoundRequest) String

func (x *StartRoundRequest) String() string

type TType

type TType int32
const (
	// A Standard tournament
	TType_STANDARD TType = 0
	// A new "clubhouse"
	TType_CLUB TType = 1
	// A club session or child tournament.
	TType_CHILD TType = 2
	// A legacy tournament
	TType_LEGACY TType = 3
)

func (TType) Descriptor

func (TType) Descriptor() protoreflect.EnumDescriptor

func (TType) Enum

func (x TType) Enum() *TType

func (TType) EnumDescriptor deprecated

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

Deprecated: Use TType.Descriptor instead.

func (TType) Number

func (x TType) Number() protoreflect.EnumNumber

func (TType) String

func (x TType) String() string

func (TType) Type

func (TType) Type() protoreflect.EnumType

type TournamentDivisionRequest

type TournamentDivisionRequest struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"`
	// contains filtered or unexported fields
}

func (*TournamentDivisionRequest) Descriptor deprecated

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

Deprecated: Use TournamentDivisionRequest.ProtoReflect.Descriptor instead.

func (*TournamentDivisionRequest) GetDivision

func (x *TournamentDivisionRequest) GetDivision() string

func (*TournamentDivisionRequest) GetId

func (x *TournamentDivisionRequest) GetId() string

func (*TournamentDivisionRequest) ProtoMessage

func (*TournamentDivisionRequest) ProtoMessage()

func (*TournamentDivisionRequest) ProtoReflect

func (*TournamentDivisionRequest) Reset

func (x *TournamentDivisionRequest) Reset()

func (*TournamentDivisionRequest) String

func (x *TournamentDivisionRequest) String() string

type TournamentMetadata

type TournamentMetadata 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"`
	// description is the markdown information for the tournament on the
	// right-hand side
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Slug        string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`
	Type        TType  `protobuf:"varint,5,opt,name=type,proto3,enum=tournament_service.TType" json:"type,omitempty"`
	// a caption that shows up for the tournament in various places.
	Disclaimer string `protobuf:"bytes,6,opt,name=disclaimer,proto3" json:"disclaimer,omitempty"`
	// tile_style if set is default
	TileStyle string `protobuf:"bytes,7,opt,name=tile_style,json=tileStyle,proto3" json:"tile_style,omitempty"`
	// board_style if set is default
	BoardStyle string `protobuf:"bytes,8,opt,name=board_style,json=boardStyle,proto3" json:"board_style,omitempty"`
	// for clubs (not tournaments) we want to be able to hard-code settings
	// if the following parameter is set.
	DefaultClubSettings *ipc.GameRequest `protobuf:"bytes,9,opt,name=default_club_settings,json=defaultClubSettings,proto3" json:"default_club_settings,omitempty"`
	// When setting the game request, some clubs would like some parameters
	// to be more freeform (for example, lexicon option or time setting).
	// The following parameter is a list of field names that are freeform.
	// The acceptable values are:
	// lexicon, time, challenge_rule, rating_mode, variant_name
	FreeformClubSettingFields []string `` /* 141-byte string literal not displayed */
	// a simple password for this tournament. Without it you can't see what is
	// happening. Likely front-end only implementation, although password
	// will be at least hashed. For clubs that want to be more private.
	Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
	Logo string `protobuf:"bytes,12,opt,name=logo,proto3" json:"logo,omitempty"`
	// an override color for the gradient in the tournament info
	Color           string `protobuf:"bytes,13,opt,name=color,proto3" json:"color,omitempty"`
	PrivateAnalysis bool   `protobuf:"varint,14,opt,name=private_analysis,json=privateAnalysis,proto3" json:"private_analysis,omitempty"`
	// irl_mode allows tournament mode to be used for pairings for an
	// over-the-board tournament, and will not enforce that usernames
	// are registered on the site.
	IrlMode bool `protobuf:"varint,15,opt,name=irl_mode,json=irlMode,proto3" json:"irl_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*TournamentMetadata) Descriptor deprecated

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

Deprecated: Use TournamentMetadata.ProtoReflect.Descriptor instead.

func (*TournamentMetadata) GetBoardStyle

func (x *TournamentMetadata) GetBoardStyle() string

func (*TournamentMetadata) GetColor

func (x *TournamentMetadata) GetColor() string

func (*TournamentMetadata) GetDefaultClubSettings

func (x *TournamentMetadata) GetDefaultClubSettings() *ipc.GameRequest

func (*TournamentMetadata) GetDescription

func (x *TournamentMetadata) GetDescription() string

func (*TournamentMetadata) GetDisclaimer

func (x *TournamentMetadata) GetDisclaimer() string

func (*TournamentMetadata) GetFreeformClubSettingFields

func (x *TournamentMetadata) GetFreeformClubSettingFields() []string

func (*TournamentMetadata) GetId

func (x *TournamentMetadata) GetId() string

func (*TournamentMetadata) GetIrlMode

func (x *TournamentMetadata) GetIrlMode() bool
func (x *TournamentMetadata) GetLogo() string

func (*TournamentMetadata) GetName

func (x *TournamentMetadata) GetName() string

func (*TournamentMetadata) GetPassword

func (x *TournamentMetadata) GetPassword() string

func (*TournamentMetadata) GetPrivateAnalysis

func (x *TournamentMetadata) GetPrivateAnalysis() bool

func (*TournamentMetadata) GetSlug

func (x *TournamentMetadata) GetSlug() string

func (*TournamentMetadata) GetTileStyle

func (x *TournamentMetadata) GetTileStyle() string

func (*TournamentMetadata) GetType

func (x *TournamentMetadata) GetType() TType

func (*TournamentMetadata) ProtoMessage

func (*TournamentMetadata) ProtoMessage()

func (*TournamentMetadata) ProtoReflect

func (x *TournamentMetadata) ProtoReflect() protoreflect.Message

func (*TournamentMetadata) Reset

func (x *TournamentMetadata) Reset()

func (*TournamentMetadata) String

func (x *TournamentMetadata) String() string

type TournamentMetadataResponse

type TournamentMetadataResponse struct {
	Metadata *TournamentMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// directors are not part of the metadata. We decided to make those
	// individually addable/removable (See AddDirectors)
	Directors []string `protobuf:"bytes,2,rep,name=directors,proto3" json:"directors,omitempty"`
	// contains filtered or unexported fields
}

func (*TournamentMetadataResponse) Descriptor deprecated

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

Deprecated: Use TournamentMetadataResponse.ProtoReflect.Descriptor instead.

func (*TournamentMetadataResponse) GetDirectors

func (x *TournamentMetadataResponse) GetDirectors() []string

func (*TournamentMetadataResponse) GetMetadata

func (*TournamentMetadataResponse) ProtoMessage

func (*TournamentMetadataResponse) ProtoMessage()

func (*TournamentMetadataResponse) ProtoReflect

func (*TournamentMetadataResponse) Reset

func (x *TournamentMetadataResponse) Reset()

func (*TournamentMetadataResponse) String

func (x *TournamentMetadataResponse) String() string

type TournamentPairingRequest

type TournamentPairingRequest struct {
	PlayerOneId string `protobuf:"bytes,1,opt,name=player_one_id,json=playerOneId,proto3" json:"player_one_id,omitempty"`
	PlayerTwoId string `protobuf:"bytes,2,opt,name=player_two_id,json=playerTwoId,proto3" json:"player_two_id,omitempty"`
	Round       int32  `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	// If player_one_id and player_two_id are the same, we should specify what
	// we want the result to be (BYE, FORFEIT_LOSS, VOID)
	SelfPlayResult ipc.TournamentGameResult `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TournamentPairingRequest) Descriptor deprecated

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

Deprecated: Use TournamentPairingRequest.ProtoReflect.Descriptor instead.

func (*TournamentPairingRequest) GetPlayerOneId

func (x *TournamentPairingRequest) GetPlayerOneId() string

func (*TournamentPairingRequest) GetPlayerTwoId

func (x *TournamentPairingRequest) GetPlayerTwoId() string

func (*TournamentPairingRequest) GetRound

func (x *TournamentPairingRequest) GetRound() int32

func (*TournamentPairingRequest) GetSelfPlayResult

func (x *TournamentPairingRequest) GetSelfPlayResult() ipc.TournamentGameResult

func (*TournamentPairingRequest) ProtoMessage

func (*TournamentPairingRequest) ProtoMessage()

func (*TournamentPairingRequest) ProtoReflect

func (x *TournamentPairingRequest) ProtoReflect() protoreflect.Message

func (*TournamentPairingRequest) Reset

func (x *TournamentPairingRequest) Reset()

func (*TournamentPairingRequest) String

func (x *TournamentPairingRequest) String() string

type TournamentPairingsRequest

type TournamentPairingsRequest struct {
	Id       string                      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Division string                      `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"`
	Pairings []*TournamentPairingRequest `protobuf:"bytes,3,rep,name=pairings,proto3" json:"pairings,omitempty"`
	// contains filtered or unexported fields
}

func (*TournamentPairingsRequest) Descriptor deprecated

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

Deprecated: Use TournamentPairingsRequest.ProtoReflect.Descriptor instead.

func (*TournamentPairingsRequest) GetDivision

func (x *TournamentPairingsRequest) GetDivision() string

func (*TournamentPairingsRequest) GetId

func (x *TournamentPairingsRequest) GetId() string

func (*TournamentPairingsRequest) GetPairings

func (*TournamentPairingsRequest) ProtoMessage

func (*TournamentPairingsRequest) ProtoMessage()

func (*TournamentPairingsRequest) ProtoReflect

func (*TournamentPairingsRequest) Reset

func (x *TournamentPairingsRequest) Reset()

func (*TournamentPairingsRequest) String

func (x *TournamentPairingsRequest) String() string

type TournamentResponse

type TournamentResponse struct {
	// contains filtered or unexported fields
}

func (*TournamentResponse) Descriptor deprecated

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

Deprecated: Use TournamentResponse.ProtoReflect.Descriptor instead.

func (*TournamentResponse) ProtoMessage

func (*TournamentResponse) ProtoMessage()

func (*TournamentResponse) ProtoReflect

func (x *TournamentResponse) ProtoReflect() protoreflect.Message

func (*TournamentResponse) Reset

func (x *TournamentResponse) Reset()

func (*TournamentResponse) String

func (x *TournamentResponse) String() string

type TournamentResultOverrideRequest

type TournamentResultOverrideRequest struct {
	Id              string                   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Division        string                   `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"`
	PlayerOneId     string                   `protobuf:"bytes,3,opt,name=player_one_id,json=playerOneId,proto3" json:"player_one_id,omitempty"`
	PlayerTwoId     string                   `protobuf:"bytes,4,opt,name=player_two_id,json=playerTwoId,proto3" json:"player_two_id,omitempty"`
	Round           int32                    `protobuf:"varint,5,opt,name=round,proto3" json:"round,omitempty"`
	PlayerOneScore  int32                    `protobuf:"varint,6,opt,name=player_one_score,json=playerOneScore,proto3" json:"player_one_score,omitempty"`
	PlayerTwoScore  int32                    `protobuf:"varint,7,opt,name=player_two_score,json=playerTwoScore,proto3" json:"player_two_score,omitempty"`
	PlayerOneResult ipc.TournamentGameResult `` /* 139-byte string literal not displayed */
	PlayerTwoResult ipc.TournamentGameResult `` /* 139-byte string literal not displayed */
	GameEndReason   ipc.GameEndReason        `` /* 127-byte string literal not displayed */
	Amendment       bool                     `protobuf:"varint,11,opt,name=amendment,proto3" json:"amendment,omitempty"`
	GameIndex       int32                    `protobuf:"varint,12,opt,name=game_index,json=gameIndex,proto3" json:"game_index,omitempty"`
	// contains filtered or unexported fields
}

TournamentResultOverrideRequest is sent when a score needs to be edited or added by a director. Note that player one and player two need to be the players that went first and second, respectively; otherwise, we will not be able to accurately track firsts/seconds.

func (*TournamentResultOverrideRequest) Descriptor deprecated

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

Deprecated: Use TournamentResultOverrideRequest.ProtoReflect.Descriptor instead.

func (*TournamentResultOverrideRequest) GetAmendment

func (x *TournamentResultOverrideRequest) GetAmendment() bool

func (*TournamentResultOverrideRequest) GetDivision

func (x *TournamentResultOverrideRequest) GetDivision() string

func (*TournamentResultOverrideRequest) GetGameEndReason

func (x *TournamentResultOverrideRequest) GetGameEndReason() ipc.GameEndReason

func (*TournamentResultOverrideRequest) GetGameIndex

func (x *TournamentResultOverrideRequest) GetGameIndex() int32

func (*TournamentResultOverrideRequest) GetId

func (*TournamentResultOverrideRequest) GetPlayerOneId

func (x *TournamentResultOverrideRequest) GetPlayerOneId() string

func (*TournamentResultOverrideRequest) GetPlayerOneResult

func (*TournamentResultOverrideRequest) GetPlayerOneScore

func (x *TournamentResultOverrideRequest) GetPlayerOneScore() int32

func (*TournamentResultOverrideRequest) GetPlayerTwoId

func (x *TournamentResultOverrideRequest) GetPlayerTwoId() string

func (*TournamentResultOverrideRequest) GetPlayerTwoResult

func (*TournamentResultOverrideRequest) GetPlayerTwoScore

func (x *TournamentResultOverrideRequest) GetPlayerTwoScore() int32

func (*TournamentResultOverrideRequest) GetRound

func (x *TournamentResultOverrideRequest) GetRound() int32

func (*TournamentResultOverrideRequest) ProtoMessage

func (*TournamentResultOverrideRequest) ProtoMessage()

func (*TournamentResultOverrideRequest) ProtoReflect

func (*TournamentResultOverrideRequest) Reset

func (*TournamentResultOverrideRequest) String

type TournamentScorecardRequest

type TournamentScorecardRequest struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ShowOpponents bool   `protobuf:"varint,2,opt,name=show_opponents,json=showOpponents,proto3" json:"show_opponents,omitempty"`
	ShowSeeds     bool   `protobuf:"varint,3,opt,name=show_seeds,json=showSeeds,proto3" json:"show_seeds,omitempty"`
	ShowQrCode    bool   `protobuf:"varint,4,opt,name=show_qr_code,json=showQrCode,proto3" json:"show_qr_code,omitempty"`
	// contains filtered or unexported fields
}

func (*TournamentScorecardRequest) Descriptor deprecated

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

Deprecated: Use TournamentScorecardRequest.ProtoReflect.Descriptor instead.

func (*TournamentScorecardRequest) GetId

func (*TournamentScorecardRequest) GetShowOpponents

func (x *TournamentScorecardRequest) GetShowOpponents() bool

func (*TournamentScorecardRequest) GetShowQrCode

func (x *TournamentScorecardRequest) GetShowQrCode() bool

func (*TournamentScorecardRequest) GetShowSeeds

func (x *TournamentScorecardRequest) GetShowSeeds() bool

func (*TournamentScorecardRequest) ProtoMessage

func (*TournamentScorecardRequest) ProtoMessage()

func (*TournamentScorecardRequest) ProtoReflect

func (*TournamentScorecardRequest) Reset

func (x *TournamentScorecardRequest) Reset()

func (*TournamentScorecardRequest) String

func (x *TournamentScorecardRequest) String() string

type TournamentScorecardResponse

type TournamentScorecardResponse struct {
	PdfZip []byte `protobuf:"bytes,1,opt,name=pdf_zip,json=pdfZip,proto3" json:"pdf_zip,omitempty"`
	// contains filtered or unexported fields
}

func (*TournamentScorecardResponse) Descriptor deprecated

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

Deprecated: Use TournamentScorecardResponse.ProtoReflect.Descriptor instead.

func (*TournamentScorecardResponse) GetPdfZip

func (x *TournamentScorecardResponse) GetPdfZip() []byte

func (*TournamentScorecardResponse) ProtoMessage

func (*TournamentScorecardResponse) ProtoMessage()

func (*TournamentScorecardResponse) ProtoReflect

func (*TournamentScorecardResponse) Reset

func (x *TournamentScorecardResponse) Reset()

func (*TournamentScorecardResponse) String

func (x *TournamentScorecardResponse) String() string

type TournamentStartRoundCountdownRequest

type TournamentStartRoundCountdownRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Division       string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"`
	Round          int32  `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	StartAllRounds bool   `protobuf:"varint,4,opt,name=start_all_rounds,json=startAllRounds,proto3" json:"start_all_rounds,omitempty"`
	// contains filtered or unexported fields
}

func (*TournamentStartRoundCountdownRequest) Descriptor deprecated

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

Deprecated: Use TournamentStartRoundCountdownRequest.ProtoReflect.Descriptor instead.

func (*TournamentStartRoundCountdownRequest) GetDivision

func (*TournamentStartRoundCountdownRequest) GetId

func (*TournamentStartRoundCountdownRequest) GetRound

func (*TournamentStartRoundCountdownRequest) GetStartAllRounds

func (x *TournamentStartRoundCountdownRequest) GetStartAllRounds() bool

func (*TournamentStartRoundCountdownRequest) ProtoMessage

func (*TournamentStartRoundCountdownRequest) ProtoMessage()

func (*TournamentStartRoundCountdownRequest) ProtoReflect

func (*TournamentStartRoundCountdownRequest) Reset

func (*TournamentStartRoundCountdownRequest) String

type UncheckInRequest

type UncheckInRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*UncheckInRequest) Descriptor deprecated

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

Deprecated: Use UncheckInRequest.ProtoReflect.Descriptor instead.

func (*UncheckInRequest) GetId

func (x *UncheckInRequest) GetId() string

func (*UncheckInRequest) ProtoMessage

func (*UncheckInRequest) ProtoMessage()

func (*UncheckInRequest) ProtoReflect

func (x *UncheckInRequest) ProtoReflect() protoreflect.Message

func (*UncheckInRequest) Reset

func (x *UncheckInRequest) Reset()

func (*UncheckInRequest) String

func (x *UncheckInRequest) String() string

type UnstartTournamentRequest

type UnstartTournamentRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*UnstartTournamentRequest) Descriptor deprecated

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

Deprecated: Use UnstartTournamentRequest.ProtoReflect.Descriptor instead.

func (*UnstartTournamentRequest) GetId

func (x *UnstartTournamentRequest) GetId() string

func (*UnstartTournamentRequest) ProtoMessage

func (*UnstartTournamentRequest) ProtoMessage()

func (*UnstartTournamentRequest) ProtoReflect

func (x *UnstartTournamentRequest) ProtoReflect() protoreflect.Message

func (*UnstartTournamentRequest) Reset

func (x *UnstartTournamentRequest) Reset()

func (*UnstartTournamentRequest) String

func (x *UnstartTournamentRequest) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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