Documentation ¶
Index ¶
- Variables
- type APIPuzzleGenerationJobRequest
- func (*APIPuzzleGenerationJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIPuzzleGenerationJobRequest) GetRequest() *PuzzleGenerationJobRequest
- func (x *APIPuzzleGenerationJobRequest) GetSecretKey() string
- func (*APIPuzzleGenerationJobRequest) ProtoMessage()
- func (x *APIPuzzleGenerationJobRequest) ProtoReflect() protoreflect.Message
- func (x *APIPuzzleGenerationJobRequest) Reset()
- func (x *APIPuzzleGenerationJobRequest) String() string
- type APIPuzzleGenerationJobResponse
- func (*APIPuzzleGenerationJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIPuzzleGenerationJobResponse) GetStarted() bool
- func (*APIPuzzleGenerationJobResponse) ProtoMessage()
- func (x *APIPuzzleGenerationJobResponse) ProtoReflect() protoreflect.Message
- func (x *APIPuzzleGenerationJobResponse) Reset()
- func (x *APIPuzzleGenerationJobResponse) String() string
- type AnswerResponse
- func (*AnswerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnswerResponse) GetAfterText() string
- func (x *AnswerResponse) GetAttempts() int32
- func (x *AnswerResponse) GetCorrectAnswer() *macondo.GameEvent
- func (x *AnswerResponse) GetFirstAttemptTime() *timestamppb.Timestamp
- func (x *AnswerResponse) GetGameId() string
- func (x *AnswerResponse) GetLastAttemptTime() *timestamppb.Timestamp
- func (x *AnswerResponse) GetNewPuzzleRating() int32
- func (x *AnswerResponse) GetNewUserRating() int32
- func (x *AnswerResponse) GetStatus() PuzzleStatus
- func (x *AnswerResponse) GetTurnNumber() int32
- func (*AnswerResponse) ProtoMessage()
- func (x *AnswerResponse) ProtoReflect() protoreflect.Message
- func (x *AnswerResponse) Reset()
- func (x *AnswerResponse) String() string
- type NextClosestRatingPuzzleIdRequest
- func (*NextClosestRatingPuzzleIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextClosestRatingPuzzleIdRequest) GetLexicon() string
- func (*NextClosestRatingPuzzleIdRequest) ProtoMessage()
- func (x *NextClosestRatingPuzzleIdRequest) ProtoReflect() protoreflect.Message
- func (x *NextClosestRatingPuzzleIdRequest) Reset()
- func (x *NextClosestRatingPuzzleIdRequest) String() string
- type NextClosestRatingPuzzleIdResponse
- func (*NextClosestRatingPuzzleIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextClosestRatingPuzzleIdResponse) GetPuzzleId() string
- func (x *NextClosestRatingPuzzleIdResponse) GetQueryResult() PuzzleQueryResult
- func (*NextClosestRatingPuzzleIdResponse) ProtoMessage()
- func (x *NextClosestRatingPuzzleIdResponse) ProtoReflect() protoreflect.Message
- func (x *NextClosestRatingPuzzleIdResponse) Reset()
- func (x *NextClosestRatingPuzzleIdResponse) String() string
- type NextPuzzleIdRequest
- func (*NextPuzzleIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextPuzzleIdRequest) GetLexicon() string
- func (*NextPuzzleIdRequest) ProtoMessage()
- func (x *NextPuzzleIdRequest) ProtoReflect() protoreflect.Message
- func (x *NextPuzzleIdRequest) Reset()
- func (x *NextPuzzleIdRequest) String() string
- type NextPuzzleIdResponse
- func (*NextPuzzleIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextPuzzleIdResponse) GetPuzzleId() string
- func (x *NextPuzzleIdResponse) GetQueryResult() PuzzleQueryResult
- func (*NextPuzzleIdResponse) ProtoMessage()
- func (x *NextPuzzleIdResponse) ProtoReflect() protoreflect.Message
- func (x *NextPuzzleIdResponse) Reset()
- func (x *NextPuzzleIdResponse) String() string
- type PreviousPuzzleRequest
- func (*PreviousPuzzleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreviousPuzzleRequest) GetPuzzleId() string
- func (*PreviousPuzzleRequest) ProtoMessage()
- func (x *PreviousPuzzleRequest) ProtoReflect() protoreflect.Message
- func (x *PreviousPuzzleRequest) Reset()
- func (x *PreviousPuzzleRequest) String() string
- type PreviousPuzzleResponse
- func (*PreviousPuzzleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreviousPuzzleResponse) GetPuzzleId() string
- func (*PreviousPuzzleResponse) ProtoMessage()
- func (x *PreviousPuzzleResponse) ProtoReflect() protoreflect.Message
- func (x *PreviousPuzzleResponse) Reset()
- func (x *PreviousPuzzleResponse) String() string
- type PuzzleGenerationJobRequest
- func (*PuzzleGenerationJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PuzzleGenerationJobRequest) GetAvoidBotGames() bool
- func (x *PuzzleGenerationJobRequest) GetBotVsBot() bool
- func (x *PuzzleGenerationJobRequest) GetDaysPerChunk() uint32
- func (x *PuzzleGenerationJobRequest) GetEquityLossTotalLimit() uint32
- func (x *PuzzleGenerationJobRequest) GetGameConsiderationLimit() int32
- func (x *PuzzleGenerationJobRequest) GetGameCreationLimit() int32
- func (x *PuzzleGenerationJobRequest) GetLetterDistribution() string
- func (x *PuzzleGenerationJobRequest) GetLexicon() string
- func (x *PuzzleGenerationJobRequest) GetRequest() *macondo.PuzzleGenerationRequest
- func (x *PuzzleGenerationJobRequest) GetSqlOffset() int32deprecated
- func (x *PuzzleGenerationJobRequest) GetStartDate() string
- func (*PuzzleGenerationJobRequest) ProtoMessage()
- func (x *PuzzleGenerationJobRequest) ProtoReflect() protoreflect.Message
- func (x *PuzzleGenerationJobRequest) Reset()
- func (x *PuzzleGenerationJobRequest) String() string
- type PuzzleJobLog
- func (*PuzzleJobLog) Descriptor() ([]byte, []int)deprecated
- func (x *PuzzleJobLog) GetCompletedAt() *timestamppb.Timestamp
- func (x *PuzzleJobLog) GetCreatedAt() *timestamppb.Timestamp
- func (x *PuzzleJobLog) GetErrorStatus() string
- func (x *PuzzleJobLog) GetFulfilled() bool
- func (x *PuzzleJobLog) GetId() int64
- func (x *PuzzleJobLog) GetRequest() *PuzzleGenerationJobRequest
- func (*PuzzleJobLog) ProtoMessage()
- func (x *PuzzleJobLog) ProtoReflect() protoreflect.Message
- func (x *PuzzleJobLog) Reset()
- func (x *PuzzleJobLog) String() string
- type PuzzleJobLogsRequest
- func (*PuzzleJobLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PuzzleJobLogsRequest) GetLimit() int32
- func (x *PuzzleJobLogsRequest) GetOffset() int32
- func (*PuzzleJobLogsRequest) ProtoMessage()
- func (x *PuzzleJobLogsRequest) ProtoReflect() protoreflect.Message
- func (x *PuzzleJobLogsRequest) Reset()
- func (x *PuzzleJobLogsRequest) String() string
- type PuzzleJobLogsResponse
- func (*PuzzleJobLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PuzzleJobLogsResponse) GetLogs() []*PuzzleJobLog
- func (*PuzzleJobLogsResponse) ProtoMessage()
- func (x *PuzzleJobLogsResponse) ProtoReflect() protoreflect.Message
- func (x *PuzzleJobLogsResponse) Reset()
- func (x *PuzzleJobLogsResponse) String() string
- type PuzzleQueryResult
- func (PuzzleQueryResult) Descriptor() protoreflect.EnumDescriptor
- func (x PuzzleQueryResult) Enum() *PuzzleQueryResult
- func (PuzzleQueryResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x PuzzleQueryResult) Number() protoreflect.EnumNumber
- func (x PuzzleQueryResult) String() string
- func (PuzzleQueryResult) Type() protoreflect.EnumType
- type PuzzleRequest
- type PuzzleResponse
- func (*PuzzleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PuzzleResponse) GetAnswer() *AnswerResponse
- func (x *PuzzleResponse) GetBeforeText() string
- func (x *PuzzleResponse) GetHistory() *macondo.GameHistory
- func (*PuzzleResponse) ProtoMessage()
- func (x *PuzzleResponse) ProtoReflect() protoreflect.Message
- func (x *PuzzleResponse) Reset()
- func (x *PuzzleResponse) String() string
- type PuzzleStatus
- func (PuzzleStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PuzzleStatus) Enum() *PuzzleStatus
- func (PuzzleStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PuzzleStatus) Number() protoreflect.EnumNumber
- func (x PuzzleStatus) String() string
- func (PuzzleStatus) Type() protoreflect.EnumType
- type PuzzleVoteRequest
- func (*PuzzleVoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PuzzleVoteRequest) GetPuzzleId() string
- func (x *PuzzleVoteRequest) GetVote() int32
- func (*PuzzleVoteRequest) ProtoMessage()
- func (x *PuzzleVoteRequest) ProtoReflect() protoreflect.Message
- func (x *PuzzleVoteRequest) Reset()
- func (x *PuzzleVoteRequest) String() string
- type PuzzleVoteResponse
- type StartPuzzleIdRequest
- func (*StartPuzzleIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartPuzzleIdRequest) GetLexicon() string
- func (*StartPuzzleIdRequest) ProtoMessage()
- func (x *StartPuzzleIdRequest) ProtoReflect() protoreflect.Message
- func (x *StartPuzzleIdRequest) Reset()
- func (x *StartPuzzleIdRequest) String() string
- type StartPuzzleIdResponse
- func (*StartPuzzleIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartPuzzleIdResponse) GetPuzzleId() string
- func (x *StartPuzzleIdResponse) GetQueryResult() PuzzleQueryResult
- func (*StartPuzzleIdResponse) ProtoMessage()
- func (x *StartPuzzleIdResponse) ProtoReflect() protoreflect.Message
- func (x *StartPuzzleIdResponse) Reset()
- func (x *StartPuzzleIdResponse) String() string
- type SubmissionRequest
- func (*SubmissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmissionRequest) GetAnswer() *ipc.ClientGameplayEvent
- func (x *SubmissionRequest) GetPuzzleId() string
- func (x *SubmissionRequest) GetShowSolution() bool
- func (*SubmissionRequest) ProtoMessage()
- func (x *SubmissionRequest) ProtoReflect() protoreflect.Message
- func (x *SubmissionRequest) Reset()
- func (x *SubmissionRequest) String() string
- type SubmissionResponse
- func (*SubmissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmissionResponse) GetAnswer() *AnswerResponse
- func (x *SubmissionResponse) GetUserIsCorrect() bool
- func (*SubmissionResponse) ProtoMessage()
- func (x *SubmissionResponse) ProtoReflect() protoreflect.Message
- func (x *SubmissionResponse) Reset()
- func (x *SubmissionResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( PuzzleQueryResult_name = map[int32]string{ 0: "UNSEEN", 1: "UNRATED", 2: "UNFINISHED", 3: "EXHAUSTED", 4: "RANDOM", 5: "START", } PuzzleQueryResult_value = map[string]int32{ "UNSEEN": 0, "UNRATED": 1, "UNFINISHED": 2, "EXHAUSTED": 3, "RANDOM": 4, "START": 5, } )
Enum value maps for PuzzleQueryResult.
var ( PuzzleStatus_name = map[int32]string{ 0: "UNANSWERED", 1: "CORRECT", 2: "INCORRECT", } PuzzleStatus_value = map[string]int32{ "UNANSWERED": 0, "CORRECT": 1, "INCORRECT": 2, } )
Enum value maps for PuzzleStatus.
var File_proto_puzzle_service_puzzle_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type APIPuzzleGenerationJobRequest ¶
type APIPuzzleGenerationJobRequest struct { Request *PuzzleGenerationJobRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` // contains filtered or unexported fields }
func (*APIPuzzleGenerationJobRequest) Descriptor
deprecated
func (*APIPuzzleGenerationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIPuzzleGenerationJobRequest.ProtoReflect.Descriptor instead.
func (*APIPuzzleGenerationJobRequest) GetRequest ¶
func (x *APIPuzzleGenerationJobRequest) GetRequest() *PuzzleGenerationJobRequest
func (*APIPuzzleGenerationJobRequest) GetSecretKey ¶
func (x *APIPuzzleGenerationJobRequest) GetSecretKey() string
func (*APIPuzzleGenerationJobRequest) ProtoMessage ¶
func (*APIPuzzleGenerationJobRequest) ProtoMessage()
func (*APIPuzzleGenerationJobRequest) ProtoReflect ¶
func (x *APIPuzzleGenerationJobRequest) ProtoReflect() protoreflect.Message
func (*APIPuzzleGenerationJobRequest) Reset ¶
func (x *APIPuzzleGenerationJobRequest) Reset()
func (*APIPuzzleGenerationJobRequest) String ¶
func (x *APIPuzzleGenerationJobRequest) String() string
type APIPuzzleGenerationJobResponse ¶
type APIPuzzleGenerationJobResponse struct { Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` // contains filtered or unexported fields }
func (*APIPuzzleGenerationJobResponse) Descriptor
deprecated
func (*APIPuzzleGenerationJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIPuzzleGenerationJobResponse.ProtoReflect.Descriptor instead.
func (*APIPuzzleGenerationJobResponse) GetStarted ¶
func (x *APIPuzzleGenerationJobResponse) GetStarted() bool
func (*APIPuzzleGenerationJobResponse) ProtoMessage ¶
func (*APIPuzzleGenerationJobResponse) ProtoMessage()
func (*APIPuzzleGenerationJobResponse) ProtoReflect ¶
func (x *APIPuzzleGenerationJobResponse) ProtoReflect() protoreflect.Message
func (*APIPuzzleGenerationJobResponse) Reset ¶
func (x *APIPuzzleGenerationJobResponse) Reset()
func (*APIPuzzleGenerationJobResponse) String ¶
func (x *APIPuzzleGenerationJobResponse) String() string
type AnswerResponse ¶
type AnswerResponse struct { CorrectAnswer *macondo.GameEvent `protobuf:"bytes,1,opt,name=correct_answer,json=correctAnswer,proto3" json:"correct_answer,omitempty"` Status PuzzleStatus `protobuf:"varint,2,opt,name=status,proto3,enum=puzzle_service.PuzzleStatus" json:"status,omitempty"` Attempts int32 `protobuf:"varint,3,opt,name=attempts,proto3" json:"attempts,omitempty"` GameId string `protobuf:"bytes,4,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` TurnNumber int32 `protobuf:"varint,5,opt,name=turn_number,json=turnNumber,proto3" json:"turn_number,omitempty"` AfterText string `protobuf:"bytes,6,opt,name=after_text,json=afterText,proto3" json:"after_text,omitempty"` NewUserRating int32 `protobuf:"varint,7,opt,name=new_user_rating,json=newUserRating,proto3" json:"new_user_rating,omitempty"` NewPuzzleRating int32 `protobuf:"varint,8,opt,name=new_puzzle_rating,json=newPuzzleRating,proto3" json:"new_puzzle_rating,omitempty"` FirstAttemptTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=first_attempt_time,json=firstAttemptTime,proto3" json:"first_attempt_time,omitempty"` LastAttemptTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_attempt_time,json=lastAttemptTime,proto3" json:"last_attempt_time,omitempty"` // contains filtered or unexported fields }
func (*AnswerResponse) Descriptor
deprecated
func (*AnswerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnswerResponse.ProtoReflect.Descriptor instead.
func (*AnswerResponse) GetAfterText ¶
func (x *AnswerResponse) GetAfterText() string
func (*AnswerResponse) GetAttempts ¶
func (x *AnswerResponse) GetAttempts() int32
func (*AnswerResponse) GetCorrectAnswer ¶
func (x *AnswerResponse) GetCorrectAnswer() *macondo.GameEvent
func (*AnswerResponse) GetFirstAttemptTime ¶
func (x *AnswerResponse) GetFirstAttemptTime() *timestamppb.Timestamp
func (*AnswerResponse) GetGameId ¶
func (x *AnswerResponse) GetGameId() string
func (*AnswerResponse) GetLastAttemptTime ¶
func (x *AnswerResponse) GetLastAttemptTime() *timestamppb.Timestamp
func (*AnswerResponse) GetNewPuzzleRating ¶
func (x *AnswerResponse) GetNewPuzzleRating() int32
func (*AnswerResponse) GetNewUserRating ¶
func (x *AnswerResponse) GetNewUserRating() int32
func (*AnswerResponse) GetStatus ¶
func (x *AnswerResponse) GetStatus() PuzzleStatus
func (*AnswerResponse) GetTurnNumber ¶
func (x *AnswerResponse) GetTurnNumber() int32
func (*AnswerResponse) ProtoMessage ¶
func (*AnswerResponse) ProtoMessage()
func (*AnswerResponse) ProtoReflect ¶
func (x *AnswerResponse) ProtoReflect() protoreflect.Message
func (*AnswerResponse) Reset ¶
func (x *AnswerResponse) Reset()
func (*AnswerResponse) String ¶
func (x *AnswerResponse) String() string
type NextClosestRatingPuzzleIdRequest ¶
type NextClosestRatingPuzzleIdRequest struct { Lexicon string `protobuf:"bytes,1,opt,name=lexicon,proto3" json:"lexicon,omitempty"` // contains filtered or unexported fields }
func (*NextClosestRatingPuzzleIdRequest) Descriptor
deprecated
func (*NextClosestRatingPuzzleIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextClosestRatingPuzzleIdRequest.ProtoReflect.Descriptor instead.
func (*NextClosestRatingPuzzleIdRequest) GetLexicon ¶
func (x *NextClosestRatingPuzzleIdRequest) GetLexicon() string
func (*NextClosestRatingPuzzleIdRequest) ProtoMessage ¶
func (*NextClosestRatingPuzzleIdRequest) ProtoMessage()
func (*NextClosestRatingPuzzleIdRequest) ProtoReflect ¶
func (x *NextClosestRatingPuzzleIdRequest) ProtoReflect() protoreflect.Message
func (*NextClosestRatingPuzzleIdRequest) Reset ¶
func (x *NextClosestRatingPuzzleIdRequest) Reset()
func (*NextClosestRatingPuzzleIdRequest) String ¶
func (x *NextClosestRatingPuzzleIdRequest) String() string
type NextClosestRatingPuzzleIdResponse ¶
type NextClosestRatingPuzzleIdResponse struct { PuzzleId string `protobuf:"bytes,1,opt,name=puzzle_id,json=puzzleId,proto3" json:"puzzle_id,omitempty"` QueryResult PuzzleQueryResult `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NextClosestRatingPuzzleIdResponse) Descriptor
deprecated
func (*NextClosestRatingPuzzleIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextClosestRatingPuzzleIdResponse.ProtoReflect.Descriptor instead.
func (*NextClosestRatingPuzzleIdResponse) GetPuzzleId ¶
func (x *NextClosestRatingPuzzleIdResponse) GetPuzzleId() string
func (*NextClosestRatingPuzzleIdResponse) GetQueryResult ¶
func (x *NextClosestRatingPuzzleIdResponse) GetQueryResult() PuzzleQueryResult
func (*NextClosestRatingPuzzleIdResponse) ProtoMessage ¶
func (*NextClosestRatingPuzzleIdResponse) ProtoMessage()
func (*NextClosestRatingPuzzleIdResponse) ProtoReflect ¶
func (x *NextClosestRatingPuzzleIdResponse) ProtoReflect() protoreflect.Message
func (*NextClosestRatingPuzzleIdResponse) Reset ¶
func (x *NextClosestRatingPuzzleIdResponse) Reset()
func (*NextClosestRatingPuzzleIdResponse) String ¶
func (x *NextClosestRatingPuzzleIdResponse) String() string
type NextPuzzleIdRequest ¶
type NextPuzzleIdRequest struct { Lexicon string `protobuf:"bytes,1,opt,name=lexicon,proto3" json:"lexicon,omitempty"` // contains filtered or unexported fields }
func (*NextPuzzleIdRequest) Descriptor
deprecated
func (*NextPuzzleIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextPuzzleIdRequest.ProtoReflect.Descriptor instead.
func (*NextPuzzleIdRequest) GetLexicon ¶
func (x *NextPuzzleIdRequest) GetLexicon() string
func (*NextPuzzleIdRequest) ProtoMessage ¶
func (*NextPuzzleIdRequest) ProtoMessage()
func (*NextPuzzleIdRequest) ProtoReflect ¶
func (x *NextPuzzleIdRequest) ProtoReflect() protoreflect.Message
func (*NextPuzzleIdRequest) Reset ¶
func (x *NextPuzzleIdRequest) Reset()
func (*NextPuzzleIdRequest) String ¶
func (x *NextPuzzleIdRequest) String() string
type NextPuzzleIdResponse ¶
type NextPuzzleIdResponse struct { PuzzleId string `protobuf:"bytes,1,opt,name=puzzle_id,json=puzzleId,proto3" json:"puzzle_id,omitempty"` QueryResult PuzzleQueryResult `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NextPuzzleIdResponse) Descriptor
deprecated
func (*NextPuzzleIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextPuzzleIdResponse.ProtoReflect.Descriptor instead.
func (*NextPuzzleIdResponse) GetPuzzleId ¶
func (x *NextPuzzleIdResponse) GetPuzzleId() string
func (*NextPuzzleIdResponse) GetQueryResult ¶
func (x *NextPuzzleIdResponse) GetQueryResult() PuzzleQueryResult
func (*NextPuzzleIdResponse) ProtoMessage ¶
func (*NextPuzzleIdResponse) ProtoMessage()
func (*NextPuzzleIdResponse) ProtoReflect ¶
func (x *NextPuzzleIdResponse) ProtoReflect() protoreflect.Message
func (*NextPuzzleIdResponse) Reset ¶
func (x *NextPuzzleIdResponse) Reset()
func (*NextPuzzleIdResponse) String ¶
func (x *NextPuzzleIdResponse) String() string
type PreviousPuzzleRequest ¶
type PreviousPuzzleRequest struct { PuzzleId string `protobuf:"bytes,1,opt,name=puzzle_id,json=puzzleId,proto3" json:"puzzle_id,omitempty"` // contains filtered or unexported fields }
func (*PreviousPuzzleRequest) Descriptor
deprecated
func (*PreviousPuzzleRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreviousPuzzleRequest.ProtoReflect.Descriptor instead.
func (*PreviousPuzzleRequest) GetPuzzleId ¶
func (x *PreviousPuzzleRequest) GetPuzzleId() string
func (*PreviousPuzzleRequest) ProtoMessage ¶
func (*PreviousPuzzleRequest) ProtoMessage()
func (*PreviousPuzzleRequest) ProtoReflect ¶
func (x *PreviousPuzzleRequest) ProtoReflect() protoreflect.Message
func (*PreviousPuzzleRequest) Reset ¶
func (x *PreviousPuzzleRequest) Reset()
func (*PreviousPuzzleRequest) String ¶
func (x *PreviousPuzzleRequest) String() string
type PreviousPuzzleResponse ¶
type PreviousPuzzleResponse struct { PuzzleId string `protobuf:"bytes,1,opt,name=puzzle_id,json=puzzleId,proto3" json:"puzzle_id,omitempty"` // contains filtered or unexported fields }
func (*PreviousPuzzleResponse) Descriptor
deprecated
func (*PreviousPuzzleResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreviousPuzzleResponse.ProtoReflect.Descriptor instead.
func (*PreviousPuzzleResponse) GetPuzzleId ¶
func (x *PreviousPuzzleResponse) GetPuzzleId() string
func (*PreviousPuzzleResponse) ProtoMessage ¶
func (*PreviousPuzzleResponse) ProtoMessage()
func (*PreviousPuzzleResponse) ProtoReflect ¶
func (x *PreviousPuzzleResponse) ProtoReflect() protoreflect.Message
func (*PreviousPuzzleResponse) Reset ¶
func (x *PreviousPuzzleResponse) Reset()
func (*PreviousPuzzleResponse) String ¶
func (x *PreviousPuzzleResponse) String() string
type PuzzleGenerationJobRequest ¶
type PuzzleGenerationJobRequest struct { BotVsBot bool `protobuf:"varint,1,opt,name=bot_vs_bot,json=botVsBot,proto3" json:"bot_vs_bot,omitempty"` Lexicon string `protobuf:"bytes,2,opt,name=lexicon,proto3" json:"lexicon,omitempty"` LetterDistribution string `protobuf:"bytes,3,opt,name=letter_distribution,json=letterDistribution,proto3" json:"letter_distribution,omitempty"` // Deprecated: Marked as deprecated in proto/puzzle_service/puzzle_service.proto. SqlOffset int32 `protobuf:"varint,4,opt,name=sql_offset,json=sqlOffset,proto3" json:"sql_offset,omitempty"` GameConsiderationLimit int32 `` /* 130-byte string literal not displayed */ GameCreationLimit int32 `protobuf:"varint,6,opt,name=game_creation_limit,json=gameCreationLimit,proto3" json:"game_creation_limit,omitempty"` Request *macondo.PuzzleGenerationRequest `protobuf:"bytes,7,opt,name=request,proto3" json:"request,omitempty"` // start_date is just a YYYY-MM-DD date at which we should // start looking for games (in non bot_v_bot), and go backwards // from there. StartDate string `protobuf:"bytes,8,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EquityLossTotalLimit uint32 `` /* 126-byte string literal not displayed */ AvoidBotGames bool `protobuf:"varint,10,opt,name=avoid_bot_games,json=avoidBotGames,proto3" json:"avoid_bot_games,omitempty"` DaysPerChunk uint32 `protobuf:"varint,11,opt,name=days_per_chunk,json=daysPerChunk,proto3" json:"days_per_chunk,omitempty"` // contains filtered or unexported fields }
func (*PuzzleGenerationJobRequest) Descriptor
deprecated
func (*PuzzleGenerationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use PuzzleGenerationJobRequest.ProtoReflect.Descriptor instead.
func (*PuzzleGenerationJobRequest) GetAvoidBotGames ¶
func (x *PuzzleGenerationJobRequest) GetAvoidBotGames() bool
func (*PuzzleGenerationJobRequest) GetBotVsBot ¶
func (x *PuzzleGenerationJobRequest) GetBotVsBot() bool
func (*PuzzleGenerationJobRequest) GetDaysPerChunk ¶
func (x *PuzzleGenerationJobRequest) GetDaysPerChunk() uint32
func (*PuzzleGenerationJobRequest) GetEquityLossTotalLimit ¶
func (x *PuzzleGenerationJobRequest) GetEquityLossTotalLimit() uint32
func (*PuzzleGenerationJobRequest) GetGameConsiderationLimit ¶
func (x *PuzzleGenerationJobRequest) GetGameConsiderationLimit() int32
func (*PuzzleGenerationJobRequest) GetGameCreationLimit ¶
func (x *PuzzleGenerationJobRequest) GetGameCreationLimit() int32
func (*PuzzleGenerationJobRequest) GetLetterDistribution ¶
func (x *PuzzleGenerationJobRequest) GetLetterDistribution() string
func (*PuzzleGenerationJobRequest) GetLexicon ¶
func (x *PuzzleGenerationJobRequest) GetLexicon() string
func (*PuzzleGenerationJobRequest) GetRequest ¶
func (x *PuzzleGenerationJobRequest) GetRequest() *macondo.PuzzleGenerationRequest
func (*PuzzleGenerationJobRequest) GetSqlOffset
deprecated
func (x *PuzzleGenerationJobRequest) GetSqlOffset() int32
Deprecated: Marked as deprecated in proto/puzzle_service/puzzle_service.proto.
func (*PuzzleGenerationJobRequest) GetStartDate ¶
func (x *PuzzleGenerationJobRequest) GetStartDate() string
func (*PuzzleGenerationJobRequest) ProtoMessage ¶
func (*PuzzleGenerationJobRequest) ProtoMessage()
func (*PuzzleGenerationJobRequest) ProtoReflect ¶
func (x *PuzzleGenerationJobRequest) ProtoReflect() protoreflect.Message
func (*PuzzleGenerationJobRequest) Reset ¶
func (x *PuzzleGenerationJobRequest) Reset()
func (*PuzzleGenerationJobRequest) String ¶
func (x *PuzzleGenerationJobRequest) String() string
type PuzzleJobLog ¶
type PuzzleJobLog struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Request *PuzzleGenerationJobRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` Fulfilled bool `protobuf:"varint,3,opt,name=fulfilled,proto3" json:"fulfilled,omitempty"` ErrorStatus string `protobuf:"bytes,4,opt,name=error_status,json=errorStatus,proto3" json:"error_status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CompletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` // contains filtered or unexported fields }
func (*PuzzleJobLog) Descriptor
deprecated
func (*PuzzleJobLog) Descriptor() ([]byte, []int)
Deprecated: Use PuzzleJobLog.ProtoReflect.Descriptor instead.
func (*PuzzleJobLog) GetCompletedAt ¶
func (x *PuzzleJobLog) GetCompletedAt() *timestamppb.Timestamp
func (*PuzzleJobLog) GetCreatedAt ¶
func (x *PuzzleJobLog) GetCreatedAt() *timestamppb.Timestamp
func (*PuzzleJobLog) GetErrorStatus ¶
func (x *PuzzleJobLog) GetErrorStatus() string
func (*PuzzleJobLog) GetFulfilled ¶
func (x *PuzzleJobLog) GetFulfilled() bool
func (*PuzzleJobLog) GetId ¶
func (x *PuzzleJobLog) GetId() int64
func (*PuzzleJobLog) GetRequest ¶
func (x *PuzzleJobLog) GetRequest() *PuzzleGenerationJobRequest
func (*PuzzleJobLog) ProtoMessage ¶
func (*PuzzleJobLog) ProtoMessage()
func (*PuzzleJobLog) ProtoReflect ¶
func (x *PuzzleJobLog) ProtoReflect() protoreflect.Message
func (*PuzzleJobLog) Reset ¶
func (x *PuzzleJobLog) Reset()
func (*PuzzleJobLog) String ¶
func (x *PuzzleJobLog) String() string
type PuzzleJobLogsRequest ¶
type PuzzleJobLogsRequest struct { Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*PuzzleJobLogsRequest) Descriptor
deprecated
func (*PuzzleJobLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PuzzleJobLogsRequest.ProtoReflect.Descriptor instead.
func (*PuzzleJobLogsRequest) GetLimit ¶
func (x *PuzzleJobLogsRequest) GetLimit() int32
func (*PuzzleJobLogsRequest) GetOffset ¶
func (x *PuzzleJobLogsRequest) GetOffset() int32
func (*PuzzleJobLogsRequest) ProtoMessage ¶
func (*PuzzleJobLogsRequest) ProtoMessage()
func (*PuzzleJobLogsRequest) ProtoReflect ¶
func (x *PuzzleJobLogsRequest) ProtoReflect() protoreflect.Message
func (*PuzzleJobLogsRequest) Reset ¶
func (x *PuzzleJobLogsRequest) Reset()
func (*PuzzleJobLogsRequest) String ¶
func (x *PuzzleJobLogsRequest) String() string
type PuzzleJobLogsResponse ¶
type PuzzleJobLogsResponse struct { Logs []*PuzzleJobLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*PuzzleJobLogsResponse) Descriptor
deprecated
func (*PuzzleJobLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PuzzleJobLogsResponse.ProtoReflect.Descriptor instead.
func (*PuzzleJobLogsResponse) GetLogs ¶
func (x *PuzzleJobLogsResponse) GetLogs() []*PuzzleJobLog
func (*PuzzleJobLogsResponse) ProtoMessage ¶
func (*PuzzleJobLogsResponse) ProtoMessage()
func (*PuzzleJobLogsResponse) ProtoReflect ¶
func (x *PuzzleJobLogsResponse) ProtoReflect() protoreflect.Message
func (*PuzzleJobLogsResponse) Reset ¶
func (x *PuzzleJobLogsResponse) Reset()
func (*PuzzleJobLogsResponse) String ¶
func (x *PuzzleJobLogsResponse) String() string
type PuzzleQueryResult ¶
type PuzzleQueryResult int32
const ( PuzzleQueryResult_UNSEEN PuzzleQueryResult = 0 PuzzleQueryResult_UNRATED PuzzleQueryResult = 1 PuzzleQueryResult_UNFINISHED PuzzleQueryResult = 2 PuzzleQueryResult_EXHAUSTED PuzzleQueryResult = 3 PuzzleQueryResult_RANDOM PuzzleQueryResult = 4 PuzzleQueryResult_START PuzzleQueryResult = 5 )
func (PuzzleQueryResult) Descriptor ¶
func (PuzzleQueryResult) Descriptor() protoreflect.EnumDescriptor
func (PuzzleQueryResult) Enum ¶
func (x PuzzleQueryResult) Enum() *PuzzleQueryResult
func (PuzzleQueryResult) EnumDescriptor
deprecated
func (PuzzleQueryResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use PuzzleQueryResult.Descriptor instead.
func (PuzzleQueryResult) Number ¶
func (x PuzzleQueryResult) Number() protoreflect.EnumNumber
func (PuzzleQueryResult) String ¶
func (x PuzzleQueryResult) String() string
func (PuzzleQueryResult) Type ¶
func (PuzzleQueryResult) Type() protoreflect.EnumType
type PuzzleRequest ¶
type PuzzleRequest struct { PuzzleId string `protobuf:"bytes,1,opt,name=puzzle_id,json=puzzleId,proto3" json:"puzzle_id,omitempty"` // contains filtered or unexported fields }
func (*PuzzleRequest) Descriptor
deprecated
func (*PuzzleRequest) Descriptor() ([]byte, []int)
Deprecated: Use PuzzleRequest.ProtoReflect.Descriptor instead.
func (*PuzzleRequest) GetPuzzleId ¶
func (x *PuzzleRequest) GetPuzzleId() string
func (*PuzzleRequest) ProtoMessage ¶
func (*PuzzleRequest) ProtoMessage()
func (*PuzzleRequest) ProtoReflect ¶
func (x *PuzzleRequest) ProtoReflect() protoreflect.Message
func (*PuzzleRequest) Reset ¶
func (x *PuzzleRequest) Reset()
func (*PuzzleRequest) String ¶
func (x *PuzzleRequest) String() string
type PuzzleResponse ¶
type PuzzleResponse struct { History *macondo.GameHistory `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` BeforeText string `protobuf:"bytes,2,opt,name=before_text,json=beforeText,proto3" json:"before_text,omitempty"` Answer *AnswerResponse `protobuf:"bytes,3,opt,name=answer,proto3" json:"answer,omitempty"` // contains filtered or unexported fields }
func (*PuzzleResponse) Descriptor
deprecated
func (*PuzzleResponse) Descriptor() ([]byte, []int)
Deprecated: Use PuzzleResponse.ProtoReflect.Descriptor instead.
func (*PuzzleResponse) GetAnswer ¶
func (x *PuzzleResponse) GetAnswer() *AnswerResponse
func (*PuzzleResponse) GetBeforeText ¶
func (x *PuzzleResponse) GetBeforeText() string
func (*PuzzleResponse) GetHistory ¶
func (x *PuzzleResponse) GetHistory() *macondo.GameHistory
func (*PuzzleResponse) ProtoMessage ¶
func (*PuzzleResponse) ProtoMessage()
func (*PuzzleResponse) ProtoReflect ¶
func (x *PuzzleResponse) ProtoReflect() protoreflect.Message
func (*PuzzleResponse) Reset ¶
func (x *PuzzleResponse) Reset()
func (*PuzzleResponse) String ¶
func (x *PuzzleResponse) String() string
type PuzzleStatus ¶
type PuzzleStatus int32
const ( PuzzleStatus_UNANSWERED PuzzleStatus = 0 PuzzleStatus_CORRECT PuzzleStatus = 1 PuzzleStatus_INCORRECT PuzzleStatus = 2 )
func (PuzzleStatus) Descriptor ¶
func (PuzzleStatus) Descriptor() protoreflect.EnumDescriptor
func (PuzzleStatus) Enum ¶
func (x PuzzleStatus) Enum() *PuzzleStatus
func (PuzzleStatus) EnumDescriptor
deprecated
func (PuzzleStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PuzzleStatus.Descriptor instead.
func (PuzzleStatus) Number ¶
func (x PuzzleStatus) Number() protoreflect.EnumNumber
func (PuzzleStatus) String ¶
func (x PuzzleStatus) String() string
func (PuzzleStatus) Type ¶
func (PuzzleStatus) Type() protoreflect.EnumType
type PuzzleVoteRequest ¶
type PuzzleVoteRequest struct { PuzzleId string `protobuf:"bytes,1,opt,name=puzzle_id,json=puzzleId,proto3" json:"puzzle_id,omitempty"` Vote int32 `protobuf:"varint,2,opt,name=vote,proto3" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*PuzzleVoteRequest) Descriptor
deprecated
func (*PuzzleVoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use PuzzleVoteRequest.ProtoReflect.Descriptor instead.
func (*PuzzleVoteRequest) GetPuzzleId ¶
func (x *PuzzleVoteRequest) GetPuzzleId() string
func (*PuzzleVoteRequest) GetVote ¶
func (x *PuzzleVoteRequest) GetVote() int32
func (*PuzzleVoteRequest) ProtoMessage ¶
func (*PuzzleVoteRequest) ProtoMessage()
func (*PuzzleVoteRequest) ProtoReflect ¶
func (x *PuzzleVoteRequest) ProtoReflect() protoreflect.Message
func (*PuzzleVoteRequest) Reset ¶
func (x *PuzzleVoteRequest) Reset()
func (*PuzzleVoteRequest) String ¶
func (x *PuzzleVoteRequest) String() string
type PuzzleVoteResponse ¶
type PuzzleVoteResponse struct {
// contains filtered or unexported fields
}
func (*PuzzleVoteResponse) Descriptor
deprecated
func (*PuzzleVoteResponse) Descriptor() ([]byte, []int)
Deprecated: Use PuzzleVoteResponse.ProtoReflect.Descriptor instead.
func (*PuzzleVoteResponse) ProtoMessage ¶
func (*PuzzleVoteResponse) ProtoMessage()
func (*PuzzleVoteResponse) ProtoReflect ¶
func (x *PuzzleVoteResponse) ProtoReflect() protoreflect.Message
func (*PuzzleVoteResponse) Reset ¶
func (x *PuzzleVoteResponse) Reset()
func (*PuzzleVoteResponse) String ¶
func (x *PuzzleVoteResponse) String() string
type StartPuzzleIdRequest ¶
type StartPuzzleIdRequest struct { Lexicon string `protobuf:"bytes,1,opt,name=lexicon,proto3" json:"lexicon,omitempty"` // contains filtered or unexported fields }
func (*StartPuzzleIdRequest) Descriptor
deprecated
func (*StartPuzzleIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartPuzzleIdRequest.ProtoReflect.Descriptor instead.
func (*StartPuzzleIdRequest) GetLexicon ¶
func (x *StartPuzzleIdRequest) GetLexicon() string
func (*StartPuzzleIdRequest) ProtoMessage ¶
func (*StartPuzzleIdRequest) ProtoMessage()
func (*StartPuzzleIdRequest) ProtoReflect ¶
func (x *StartPuzzleIdRequest) ProtoReflect() protoreflect.Message
func (*StartPuzzleIdRequest) Reset ¶
func (x *StartPuzzleIdRequest) Reset()
func (*StartPuzzleIdRequest) String ¶
func (x *StartPuzzleIdRequest) String() string
type StartPuzzleIdResponse ¶
type StartPuzzleIdResponse struct { PuzzleId string `protobuf:"bytes,1,opt,name=puzzle_id,json=puzzleId,proto3" json:"puzzle_id,omitempty"` QueryResult PuzzleQueryResult `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StartPuzzleIdResponse) Descriptor
deprecated
func (*StartPuzzleIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartPuzzleIdResponse.ProtoReflect.Descriptor instead.
func (*StartPuzzleIdResponse) GetPuzzleId ¶
func (x *StartPuzzleIdResponse) GetPuzzleId() string
func (*StartPuzzleIdResponse) GetQueryResult ¶
func (x *StartPuzzleIdResponse) GetQueryResult() PuzzleQueryResult
func (*StartPuzzleIdResponse) ProtoMessage ¶
func (*StartPuzzleIdResponse) ProtoMessage()
func (*StartPuzzleIdResponse) ProtoReflect ¶
func (x *StartPuzzleIdResponse) ProtoReflect() protoreflect.Message
func (*StartPuzzleIdResponse) Reset ¶
func (x *StartPuzzleIdResponse) Reset()
func (*StartPuzzleIdResponse) String ¶
func (x *StartPuzzleIdResponse) String() string
type SubmissionRequest ¶
type SubmissionRequest struct { PuzzleId string `protobuf:"bytes,1,opt,name=puzzle_id,json=puzzleId,proto3" json:"puzzle_id,omitempty"` Answer *ipc.ClientGameplayEvent `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` ShowSolution bool `protobuf:"varint,3,opt,name=show_solution,json=showSolution,proto3" json:"show_solution,omitempty"` // contains filtered or unexported fields }
func (*SubmissionRequest) Descriptor
deprecated
func (*SubmissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmissionRequest.ProtoReflect.Descriptor instead.
func (*SubmissionRequest) GetAnswer ¶
func (x *SubmissionRequest) GetAnswer() *ipc.ClientGameplayEvent
func (*SubmissionRequest) GetPuzzleId ¶
func (x *SubmissionRequest) GetPuzzleId() string
func (*SubmissionRequest) GetShowSolution ¶
func (x *SubmissionRequest) GetShowSolution() bool
func (*SubmissionRequest) ProtoMessage ¶
func (*SubmissionRequest) ProtoMessage()
func (*SubmissionRequest) ProtoReflect ¶
func (x *SubmissionRequest) ProtoReflect() protoreflect.Message
func (*SubmissionRequest) Reset ¶
func (x *SubmissionRequest) Reset()
func (*SubmissionRequest) String ¶
func (x *SubmissionRequest) String() string
type SubmissionResponse ¶
type SubmissionResponse struct { UserIsCorrect bool `protobuf:"varint,1,opt,name=user_is_correct,json=userIsCorrect,proto3" json:"user_is_correct,omitempty"` Answer *AnswerResponse `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` // contains filtered or unexported fields }
func (*SubmissionResponse) Descriptor
deprecated
func (*SubmissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmissionResponse.ProtoReflect.Descriptor instead.
func (*SubmissionResponse) GetAnswer ¶
func (x *SubmissionResponse) GetAnswer() *AnswerResponse
func (*SubmissionResponse) GetUserIsCorrect ¶
func (x *SubmissionResponse) GetUserIsCorrect() bool
func (*SubmissionResponse) ProtoMessage ¶
func (*SubmissionResponse) ProtoMessage()
func (*SubmissionResponse) ProtoReflect ¶
func (x *SubmissionResponse) ProtoReflect() protoreflect.Message
func (*SubmissionResponse) Reset ¶
func (x *SubmissionResponse) Reset()
func (*SubmissionResponse) String ¶
func (x *SubmissionResponse) String() string