Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRankerHttpHandlers(router *mux.Router, prefix string, cli RankerClient)
- func RegisterRankerServer(s grpc.ServiceRegistrar, srv RankerServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetCompleteAt() *timestamppb.Timestamp
- func (x *Activity) GetCreatedAt() *timestamppb.Timestamp
- func (x *Activity) GetError() string
- func (x *Activity) GetId() string
- func (x *Activity) GetProgress() uint32
- func (x *Activity) GetProgressAt() *timestamppb.Timestamp
- func (x *Activity) GetScoreboardId() string
- func (x *Activity) GetStartedAt() *timestamppb.Timestamp
- func (x *Activity) GetStatus() Activity_Status
- func (x *Activity) GetTotal() uint32
- func (x *Activity) GetType() Activity_Type
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type Activity_Status
- func (Activity_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Activity_Status) Enum() *Activity_Status
- func (Activity_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Activity_Status) Number() protoreflect.EnumNumber
- func (x Activity_Status) String() string
- func (Activity_Status) Type() protoreflect.EnumType
- type Activity_Type
- func (Activity_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Activity_Type) Enum() *Activity_Type
- func (Activity_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Activity_Type) Number() protoreflect.EnumNumber
- func (x Activity_Type) String() string
- func (Activity_Type) Type() protoreflect.EnumType
- type AddScoreboardColumnInput
- func (*AddScoreboardColumnInput) Descriptor() ([]byte, []int)deprecated
- func (x *AddScoreboardColumnInput) GetColumn() *Scoreboard_Column
- func (x *AddScoreboardColumnInput) GetScoreboardId() string
- func (*AddScoreboardColumnInput) ProtoMessage()
- func (x *AddScoreboardColumnInput) ProtoReflect() protoreflect.Message
- func (x *AddScoreboardColumnInput) Reset()
- func (x *AddScoreboardColumnInput) String() string
- type AddScoreboardColumnOutput
- func (*AddScoreboardColumnOutput) Descriptor() ([]byte, []int)deprecated
- func (x *AddScoreboardColumnOutput) GetColumnId() string
- func (*AddScoreboardColumnOutput) ProtoMessage()
- func (x *AddScoreboardColumnOutput) ProtoReflect() protoreflect.Message
- func (x *AddScoreboardColumnOutput) Reset()
- func (x *AddScoreboardColumnOutput) String() string
- type CreateScoreboardInput
- func (*CreateScoreboardInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateScoreboardInput) GetAddDefaultColumns() bool
- func (x *CreateScoreboardInput) GetDuplicateScoreboardId() string
- func (x *CreateScoreboardInput) GetScoreboard() *Scoreboard
- func (*CreateScoreboardInput) ProtoMessage()
- func (x *CreateScoreboardInput) ProtoReflect() protoreflect.Message
- func (x *CreateScoreboardInput) Reset()
- func (x *CreateScoreboardInput) String() string
- type CreateScoreboardOutput
- func (*CreateScoreboardOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateScoreboardOutput) GetScoreboardId() string
- func (*CreateScoreboardOutput) ProtoMessage()
- func (x *CreateScoreboardOutput) ProtoReflect() protoreflect.Message
- func (x *CreateScoreboardOutput) Reset()
- func (x *CreateScoreboardOutput) String() string
- type DeleteScoreboardColumnInput
- func (*DeleteScoreboardColumnInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteScoreboardColumnInput) GetColumnId() string
- func (x *DeleteScoreboardColumnInput) GetScoreboardId() string
- func (*DeleteScoreboardColumnInput) ProtoMessage()
- func (x *DeleteScoreboardColumnInput) ProtoReflect() protoreflect.Message
- func (x *DeleteScoreboardColumnInput) Reset()
- func (x *DeleteScoreboardColumnInput) String() string
- type DeleteScoreboardColumnOutput
- func (*DeleteScoreboardColumnOutput) Descriptor() ([]byte, []int)deprecated
- func (*DeleteScoreboardColumnOutput) ProtoMessage()
- func (x *DeleteScoreboardColumnOutput) ProtoReflect() protoreflect.Message
- func (x *DeleteScoreboardColumnOutput) Reset()
- func (x *DeleteScoreboardColumnOutput) String() string
- type DeleteScoreboardInput
- func (*DeleteScoreboardInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteScoreboardInput) GetScoreboardId() string
- func (*DeleteScoreboardInput) ProtoMessage()
- func (x *DeleteScoreboardInput) ProtoReflect() protoreflect.Message
- func (x *DeleteScoreboardInput) Reset()
- func (x *DeleteScoreboardInput) String() string
- type DeleteScoreboardOutput
- type DescribeScoreboardColumnInput
- func (*DescribeScoreboardColumnInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeScoreboardColumnInput) GetColumnId() string
- func (x *DescribeScoreboardColumnInput) GetScoreboardId() string
- func (*DescribeScoreboardColumnInput) ProtoMessage()
- func (x *DescribeScoreboardColumnInput) ProtoReflect() protoreflect.Message
- func (x *DescribeScoreboardColumnInput) Reset()
- func (x *DescribeScoreboardColumnInput) String() string
- type DescribeScoreboardColumnOutput
- func (*DescribeScoreboardColumnOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeScoreboardColumnOutput) GetColumn() *Scoreboard_Column
- func (*DescribeScoreboardColumnOutput) ProtoMessage()
- func (x *DescribeScoreboardColumnOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeScoreboardColumnOutput) Reset()
- func (x *DescribeScoreboardColumnOutput) String() string
- type DescribeScoreboardInput
- func (*DescribeScoreboardInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeScoreboardInput) GetScoreboardId() string
- func (x *DescribeScoreboardInput) GetScoreboardKey() string
- func (*DescribeScoreboardInput) ProtoMessage()
- func (x *DescribeScoreboardInput) ProtoReflect() protoreflect.Message
- func (x *DescribeScoreboardInput) Reset()
- func (x *DescribeScoreboardInput) String() string
- type DescribeScoreboardOutput
- func (*DescribeScoreboardOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeScoreboardOutput) GetScoreboard() *Scoreboard
- func (*DescribeScoreboardOutput) ProtoMessage()
- func (x *DescribeScoreboardOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeScoreboardOutput) Reset()
- func (x *DescribeScoreboardOutput) String() string
- type DescribeScoreboardRowInput
- func (*DescribeScoreboardRowInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeScoreboardRowInput) GetMemberId() string
- func (x *DescribeScoreboardRowInput) GetMode() Scoreboard_FetchingMode
- func (x *DescribeScoreboardRowInput) GetPunctualTime() uint32
- func (x *DescribeScoreboardRowInput) GetScoreboardId() string
- func (*DescribeScoreboardRowInput) ProtoMessage()
- func (x *DescribeScoreboardRowInput) ProtoReflect() protoreflect.Message
- func (x *DescribeScoreboardRowInput) Reset()
- func (x *DescribeScoreboardRowInput) String() string
- type DescribeScoreboardRowOutput
- func (*DescribeScoreboardRowOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeScoreboardRowOutput) GetFrozen() bool
- func (x *DescribeScoreboardRowOutput) GetRow() *Scoreboard_Row
- func (*DescribeScoreboardRowOutput) ProtoMessage()
- func (x *DescribeScoreboardRowOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeScoreboardRowOutput) Reset()
- func (x *DescribeScoreboardRowOutput) String() string
- type Format
- type ListActivitiesInput
- func (*ListActivitiesInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivitiesInput) GetOffset() int32
- func (x *ListActivitiesInput) GetScoreboardId() string
- func (x *ListActivitiesInput) GetSize() int32
- func (*ListActivitiesInput) ProtoMessage()
- func (x *ListActivitiesInput) ProtoReflect() protoreflect.Message
- func (x *ListActivitiesInput) Reset()
- func (x *ListActivitiesInput) String() string
- type ListActivitiesOutput
- func (*ListActivitiesOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivitiesOutput) GetItems() []*Activity
- func (x *ListActivitiesOutput) GetTotal() int32
- func (*ListActivitiesOutput) ProtoMessage()
- func (x *ListActivitiesOutput) ProtoReflect() protoreflect.Message
- func (x *ListActivitiesOutput) Reset()
- func (x *ListActivitiesOutput) String() string
- type ListScheduledActionsInput
- func (*ListScheduledActionsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListScheduledActionsInput) GetScoreboardId() string
- func (*ListScheduledActionsInput) ProtoMessage()
- func (x *ListScheduledActionsInput) ProtoReflect() protoreflect.Message
- func (x *ListScheduledActionsInput) Reset()
- func (x *ListScheduledActionsInput) String() string
- type ListScheduledActionsOutput
- func (*ListScheduledActionsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListScheduledActionsOutput) GetItems() []*Scoreboard_Action
- func (x *ListScheduledActionsOutput) GetTotal() int32
- func (*ListScheduledActionsOutput) ProtoMessage()
- func (x *ListScheduledActionsOutput) ProtoReflect() protoreflect.Message
- func (x *ListScheduledActionsOutput) Reset()
- func (x *ListScheduledActionsOutput) String() string
- type ListScoreboardColumnsInput
- func (*ListScoreboardColumnsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardColumnsInput) GetScoreboardId() string
- func (*ListScoreboardColumnsInput) ProtoMessage()
- func (x *ListScoreboardColumnsInput) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardColumnsInput) Reset()
- func (x *ListScoreboardColumnsInput) String() string
- type ListScoreboardColumnsOutput
- func (*ListScoreboardColumnsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardColumnsOutput) GetItems() []*Scoreboard_Column
- func (x *ListScoreboardColumnsOutput) GetTotal() int32
- func (*ListScoreboardColumnsOutput) ProtoMessage()
- func (x *ListScoreboardColumnsOutput) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardColumnsOutput) Reset()
- func (x *ListScoreboardColumnsOutput) String() string
- type ListScoreboardRowsInput
- func (*ListScoreboardRowsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardRowsInput) GetFilters() *ListScoreboardRowsInput_Filter
- func (x *ListScoreboardRowsInput) GetMode() Scoreboard_FetchingMode
- func (x *ListScoreboardRowsInput) GetOffset() int32
- func (x *ListScoreboardRowsInput) GetOrder() wellknown.Direction
- func (x *ListScoreboardRowsInput) GetPunctualTime() uint32
- func (x *ListScoreboardRowsInput) GetScoreboardId() string
- func (x *ListScoreboardRowsInput) GetSize() int32
- func (x *ListScoreboardRowsInput) GetSort() string
- func (*ListScoreboardRowsInput) ProtoMessage()
- func (x *ListScoreboardRowsInput) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardRowsInput) Reset()
- func (x *ListScoreboardRowsInput) String() string
- type ListScoreboardRowsInput_ExpressionColumn
- func (*ListScoreboardRowsInput_ExpressionColumn) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardRowsInput_ExpressionColumn) GetEnum() *wellknown.ExpressionEnum
- func (x *ListScoreboardRowsInput_ExpressionColumn) GetKey() string
- func (x *ListScoreboardRowsInput_ExpressionColumn) GetNumber() *wellknown.ExpressionInt
- func (x *ListScoreboardRowsInput_ExpressionColumn) GetString_() *wellknown.ExpressionString
- func (*ListScoreboardRowsInput_ExpressionColumn) ProtoMessage()
- func (x *ListScoreboardRowsInput_ExpressionColumn) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardRowsInput_ExpressionColumn) Reset()
- func (x *ListScoreboardRowsInput_ExpressionColumn) String() string
- type ListScoreboardRowsInput_Filter
- func (*ListScoreboardRowsInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardRowsInput_Filter) GetColumn() []*ListScoreboardRowsInput_ExpressionColumn
- func (x *ListScoreboardRowsInput_Filter) GetMemberId() []*wellknown.ExpressionID
- func (*ListScoreboardRowsInput_Filter) ProtoMessage()
- func (x *ListScoreboardRowsInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardRowsInput_Filter) Reset()
- func (x *ListScoreboardRowsInput_Filter) String() string
- type ListScoreboardRowsOutput
- func (*ListScoreboardRowsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardRowsOutput) GetFrozen() bool
- func (x *ListScoreboardRowsOutput) GetItems() []*Scoreboard_Row
- func (x *ListScoreboardRowsOutput) GetTotal() int32
- func (*ListScoreboardRowsOutput) ProtoMessage()
- func (x *ListScoreboardRowsOutput) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardRowsOutput) Reset()
- func (x *ListScoreboardRowsOutput) String() string
- type ListScoreboardsInput
- func (*ListScoreboardsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardsInput) GetFilters() *ListScoreboardsInput_Filter
- func (x *ListScoreboardsInput) GetOffset() int32
- func (x *ListScoreboardsInput) GetSize() int32
- func (*ListScoreboardsInput) ProtoMessage()
- func (x *ListScoreboardsInput) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardsInput) Reset()
- func (x *ListScoreboardsInput) String() string
- type ListScoreboardsInput_Filter
- func (*ListScoreboardsInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardsInput_Filter) GetId() []*wellknown.ExpressionID
- func (*ListScoreboardsInput_Filter) ProtoMessage()
- func (x *ListScoreboardsInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardsInput_Filter) Reset()
- func (x *ListScoreboardsInput_Filter) String() string
- type ListScoreboardsOutput
- func (*ListScoreboardsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListScoreboardsOutput) GetItems() []*Scoreboard
- func (x *ListScoreboardsOutput) GetTotal() int32
- func (*ListScoreboardsOutput) ProtoMessage()
- func (x *ListScoreboardsOutput) ProtoReflect() protoreflect.Message
- func (x *ListScoreboardsOutput) Reset()
- func (x *ListScoreboardsOutput) String() string
- type RankerClient
- type RankerInterceptor
- func (i *RankerInterceptor) AddScoreboardColumn(ctx context.Context, in *AddScoreboardColumnInput, opts ...grpc.CallOption) (*AddScoreboardColumnOutput, error)
- func (i *RankerInterceptor) CreateScoreboard(ctx context.Context, in *CreateScoreboardInput, opts ...grpc.CallOption) (*CreateScoreboardOutput, error)
- func (i *RankerInterceptor) DeleteScoreboard(ctx context.Context, in *DeleteScoreboardInput, opts ...grpc.CallOption) (*DeleteScoreboardOutput, error)
- func (i *RankerInterceptor) DeleteScoreboardColumn(ctx context.Context, in *DeleteScoreboardColumnInput, opts ...grpc.CallOption) (*DeleteScoreboardColumnOutput, error)
- func (i *RankerInterceptor) DescribeScoreboard(ctx context.Context, in *DescribeScoreboardInput, opts ...grpc.CallOption) (*DescribeScoreboardOutput, error)
- func (i *RankerInterceptor) DescribeScoreboardColumn(ctx context.Context, in *DescribeScoreboardColumnInput, ...) (*DescribeScoreboardColumnOutput, error)
- func (i *RankerInterceptor) DescribeScoreboardRow(ctx context.Context, in *DescribeScoreboardRowInput, opts ...grpc.CallOption) (*DescribeScoreboardRowOutput, error)
- func (i *RankerInterceptor) ListActivities(ctx context.Context, in *ListActivitiesInput, opts ...grpc.CallOption) (*ListActivitiesOutput, error)
- func (i *RankerInterceptor) ListScheduledActions(ctx context.Context, in *ListScheduledActionsInput, opts ...grpc.CallOption) (*ListScheduledActionsOutput, error)
- func (i *RankerInterceptor) ListScoreboardColumns(ctx context.Context, in *ListScoreboardColumnsInput, opts ...grpc.CallOption) (*ListScoreboardColumnsOutput, error)
- func (i *RankerInterceptor) ListScoreboardRows(ctx context.Context, in *ListScoreboardRowsInput, opts ...grpc.CallOption) (*ListScoreboardRowsOutput, error)
- func (i *RankerInterceptor) ListScoreboards(ctx context.Context, in *ListScoreboardsInput, opts ...grpc.CallOption) (*ListScoreboardsOutput, error)
- func (i *RankerInterceptor) RebuildScoreboard(ctx context.Context, in *RebuildScoreboardInput, opts ...grpc.CallOption) (*RebuildScoreboardOutput, error)
- func (i *RankerInterceptor) ScheduleAction(ctx context.Context, in *ScheduleActionInput, opts ...grpc.CallOption) (*ScheduleActionOutput, error)
- func (i *RankerInterceptor) UnscheduleAction(ctx context.Context, in *UnscheduleActionInput, opts ...grpc.CallOption) (*UnscheduleActionOutput, error)
- func (i *RankerInterceptor) UpdateScoreboard(ctx context.Context, in *UpdateScoreboardInput, opts ...grpc.CallOption) (*UpdateScoreboardOutput, error)
- func (i *RankerInterceptor) UpdateScoreboardColumn(ctx context.Context, in *UpdateScoreboardColumnInput, opts ...grpc.CallOption) (*UpdateScoreboardColumnOutput, error)
- type RankerServer
- type RankerService
- func (s *RankerService) AddScoreboardColumn(ctx context.Context, in *AddScoreboardColumnInput) (*AddScoreboardColumnOutput, error)
- func (s *RankerService) CreateScoreboard(ctx context.Context, in *CreateScoreboardInput) (*CreateScoreboardOutput, error)
- func (s *RankerService) DeleteScoreboard(ctx context.Context, in *DeleteScoreboardInput) (*DeleteScoreboardOutput, error)
- func (s *RankerService) DeleteScoreboardColumn(ctx context.Context, in *DeleteScoreboardColumnInput) (*DeleteScoreboardColumnOutput, error)
- func (s *RankerService) DescribeScoreboard(ctx context.Context, in *DescribeScoreboardInput) (*DescribeScoreboardOutput, error)
- func (s *RankerService) DescribeScoreboardColumn(ctx context.Context, in *DescribeScoreboardColumnInput) (*DescribeScoreboardColumnOutput, error)
- func (s *RankerService) DescribeScoreboardRow(ctx context.Context, in *DescribeScoreboardRowInput) (*DescribeScoreboardRowOutput, error)
- func (s *RankerService) ListActivities(ctx context.Context, in *ListActivitiesInput) (*ListActivitiesOutput, error)
- func (s *RankerService) ListScheduledActions(ctx context.Context, in *ListScheduledActionsInput) (*ListScheduledActionsOutput, error)
- func (s *RankerService) ListScoreboardColumns(ctx context.Context, in *ListScoreboardColumnsInput) (*ListScoreboardColumnsOutput, error)
- func (s *RankerService) ListScoreboardRows(ctx context.Context, in *ListScoreboardRowsInput) (*ListScoreboardRowsOutput, error)
- func (s *RankerService) ListScoreboards(ctx context.Context, in *ListScoreboardsInput) (*ListScoreboardsOutput, error)
- func (s *RankerService) RebuildScoreboard(ctx context.Context, in *RebuildScoreboardInput) (*RebuildScoreboardOutput, error)
- func (s *RankerService) ScheduleAction(ctx context.Context, in *ScheduleActionInput) (*ScheduleActionOutput, error)
- func (s *RankerService) UnscheduleAction(ctx context.Context, in *UnscheduleActionInput) (*UnscheduleActionOutput, error)
- func (s *RankerService) UpdateScoreboard(ctx context.Context, in *UpdateScoreboardInput) (*UpdateScoreboardOutput, error)
- func (s *RankerService) UpdateScoreboardColumn(ctx context.Context, in *UpdateScoreboardColumnInput) (*UpdateScoreboardColumnOutput, error)
- type RebuildScoreboardEvent
- func (*RebuildScoreboardEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RebuildScoreboardEvent) GetActivityId() string
- func (x *RebuildScoreboardEvent) GetScoreboardId() string
- func (x *RebuildScoreboardEvent) GetSpaceId() string
- func (*RebuildScoreboardEvent) ProtoMessage()
- func (x *RebuildScoreboardEvent) ProtoReflect() protoreflect.Message
- func (x *RebuildScoreboardEvent) Reset()
- func (x *RebuildScoreboardEvent) String() string
- type RebuildScoreboardInput
- func (*RebuildScoreboardInput) Descriptor() ([]byte, []int)deprecated
- func (x *RebuildScoreboardInput) GetScoreboardId() string
- func (*RebuildScoreboardInput) ProtoMessage()
- func (x *RebuildScoreboardInput) ProtoReflect() protoreflect.Message
- func (x *RebuildScoreboardInput) Reset()
- func (x *RebuildScoreboardInput) String() string
- type RebuildScoreboardOutput
- func (*RebuildScoreboardOutput) Descriptor() ([]byte, []int)deprecated
- func (x *RebuildScoreboardOutput) GetActivityId() string
- func (*RebuildScoreboardOutput) ProtoMessage()
- func (x *RebuildScoreboardOutput) ProtoReflect() protoreflect.Message
- func (x *RebuildScoreboardOutput) Reset()
- func (x *RebuildScoreboardOutput) String() string
- type ScheduleActionInput
- func (*ScheduleActionInput) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleActionInput) GetAction() *Scoreboard_Action
- func (x *ScheduleActionInput) GetScoreboardId() string
- func (*ScheduleActionInput) ProtoMessage()
- func (x *ScheduleActionInput) ProtoReflect() protoreflect.Message
- func (x *ScheduleActionInput) Reset()
- func (x *ScheduleActionInput) String() string
- type ScheduleActionOutput
- func (*ScheduleActionOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleActionOutput) GetActionId() string
- func (*ScheduleActionOutput) ProtoMessage()
- func (x *ScheduleActionOutput) ProtoReflect() protoreflect.Message
- func (x *ScheduleActionOutput) Reset()
- func (x *ScheduleActionOutput) String() string
- type Scoreboard
- func (*Scoreboard) Descriptor() ([]byte, []int)deprecated
- func (x *Scoreboard) GetDefaultSortColumn() string
- func (x *Scoreboard) GetDefaultSortOrder() wellknown.Direction
- func (x *Scoreboard) GetFormat() Format
- func (x *Scoreboard) GetFreezeAt() *timestamppb.Timestamp
- func (x *Scoreboard) GetFreezeIn() uint32
- func (x *Scoreboard) GetFrozen() bool
- func (x *Scoreboard) GetHistorical() bool
- func (x *Scoreboard) GetId() string
- func (x *Scoreboard) GetKey() string
- func (x *Scoreboard) GetName() string
- func (x *Scoreboard) GetUnfreezeAt() *timestamppb.Timestamp
- func (x *Scoreboard) GetUnfreezeIn() uint32
- func (*Scoreboard) ProtoMessage()
- func (x *Scoreboard) ProtoReflect() protoreflect.Message
- func (x *Scoreboard) Reset()
- func (x *Scoreboard) String() string
- type Scoreboard_Action
- func (*Scoreboard_Action) Descriptor() ([]byte, []int)deprecated
- func (x *Scoreboard_Action) GetExecuteAt() *timestamppb.Timestamp
- func (x *Scoreboard_Action) GetId() string
- func (x *Scoreboard_Action) GetType() Scoreboard_Action_Type
- func (*Scoreboard_Action) ProtoMessage()
- func (x *Scoreboard_Action) ProtoReflect() protoreflect.Message
- func (x *Scoreboard_Action) Reset()
- func (x *Scoreboard_Action) String() string
- type Scoreboard_Action_Type
- func (Scoreboard_Action_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Scoreboard_Action_Type) Enum() *Scoreboard_Action_Type
- func (Scoreboard_Action_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Scoreboard_Action_Type) Number() protoreflect.EnumNumber
- func (x Scoreboard_Action_Type) String() string
- func (Scoreboard_Action_Type) Type() protoreflect.EnumType
- type Scoreboard_Column
- func (*Scoreboard_Column) Descriptor() ([]byte, []int)deprecated
- func (x *Scoreboard_Column) GetCommunityAttributeKey() string
- func (x *Scoreboard_Column) GetCommunityAttributeType() string
- func (x *Scoreboard_Column) GetFilterable() bool
- func (x *Scoreboard_Column) GetId() string
- func (x *Scoreboard_Column) GetIndex() uint32
- func (x *Scoreboard_Column) GetJudgeContestId() string
- func (x *Scoreboard_Column) GetJudgeProblemId() string
- func (x *Scoreboard_Column) GetKey() string
- func (x *Scoreboard_Column) GetName() string
- func (x *Scoreboard_Column) GetParentId() string
- func (x *Scoreboard_Column) GetShortName() string
- func (x *Scoreboard_Column) GetSortable() bool
- func (x *Scoreboard_Column) GetType() Scoreboard_Column_Type
- func (x *Scoreboard_Column) GetVisible() bool
- func (*Scoreboard_Column) ProtoMessage()
- func (x *Scoreboard_Column) ProtoReflect() protoreflect.Message
- func (x *Scoreboard_Column) Reset()
- func (x *Scoreboard_Column) String() string
- type Scoreboard_Column_Type
- func (Scoreboard_Column_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Scoreboard_Column_Type) Enum() *Scoreboard_Column_Type
- func (Scoreboard_Column_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Scoreboard_Column_Type) Number() protoreflect.EnumNumber
- func (x Scoreboard_Column_Type) String() string
- func (Scoreboard_Column_Type) Type() protoreflect.EnumType
- type Scoreboard_FetchingMode
- func (Scoreboard_FetchingMode) Descriptor() protoreflect.EnumDescriptor
- func (x Scoreboard_FetchingMode) Enum() *Scoreboard_FetchingMode
- func (Scoreboard_FetchingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Scoreboard_FetchingMode) Number() protoreflect.EnumNumber
- func (x Scoreboard_FetchingMode) String() string
- func (Scoreboard_FetchingMode) Type() protoreflect.EnumType
- type Scoreboard_Row
- func (*Scoreboard_Row) Descriptor() ([]byte, []int)deprecated
- func (x *Scoreboard_Row) GetGhost() bool
- func (x *Scoreboard_Row) GetId() string
- func (x *Scoreboard_Row) GetMemberId() string
- func (x *Scoreboard_Row) GetName() string
- func (x *Scoreboard_Row) GetPenalty() float32
- func (x *Scoreboard_Row) GetRank() uint32
- func (x *Scoreboard_Row) GetRankLower() uint32
- func (x *Scoreboard_Row) GetScore() float32
- func (x *Scoreboard_Row) GetUnofficial() bool
- func (x *Scoreboard_Row) GetValues() []*Scoreboard_Row_Value
- func (*Scoreboard_Row) ProtoMessage()
- func (x *Scoreboard_Row) ProtoReflect() protoreflect.Message
- func (x *Scoreboard_Row) Reset()
- func (x *Scoreboard_Row) String() string
- type Scoreboard_Row_Value
- func (*Scoreboard_Row_Value) Descriptor() ([]byte, []int)deprecated
- func (x *Scoreboard_Row_Value) GetAttempts() uint32
- func (x *Scoreboard_Row_Value) GetColumnId() string
- func (x *Scoreboard_Row_Value) GetId() string
- func (x *Scoreboard_Row_Value) GetPenalty() float32
- func (x *Scoreboard_Row_Value) GetPercentage() float32
- func (x *Scoreboard_Row_Value) GetScore() float32
- func (x *Scoreboard_Row_Value) GetSolvedIn() uint32
- func (x *Scoreboard_Row_Value) GetUpsolve() bool
- func (x *Scoreboard_Row_Value) GetValidAfter() uint32
- func (x *Scoreboard_Row_Value) GetValidUntil() uint32
- func (x *Scoreboard_Row_Value) GetValueNumber() int32
- func (x *Scoreboard_Row_Value) GetValueString() string
- func (*Scoreboard_Row_Value) ProtoMessage()
- func (x *Scoreboard_Row_Value) ProtoReflect() protoreflect.Message
- func (x *Scoreboard_Row_Value) Reset()
- func (x *Scoreboard_Row_Value) String() string
- type UnimplementedRankerServer
- func (UnimplementedRankerServer) AddScoreboardColumn(context.Context, *AddScoreboardColumnInput) (*AddScoreboardColumnOutput, error)
- func (UnimplementedRankerServer) CreateScoreboard(context.Context, *CreateScoreboardInput) (*CreateScoreboardOutput, error)
- func (UnimplementedRankerServer) DeleteScoreboard(context.Context, *DeleteScoreboardInput) (*DeleteScoreboardOutput, error)
- func (UnimplementedRankerServer) DeleteScoreboardColumn(context.Context, *DeleteScoreboardColumnInput) (*DeleteScoreboardColumnOutput, error)
- func (UnimplementedRankerServer) DescribeScoreboard(context.Context, *DescribeScoreboardInput) (*DescribeScoreboardOutput, error)
- func (UnimplementedRankerServer) DescribeScoreboardColumn(context.Context, *DescribeScoreboardColumnInput) (*DescribeScoreboardColumnOutput, error)
- func (UnimplementedRankerServer) DescribeScoreboardRow(context.Context, *DescribeScoreboardRowInput) (*DescribeScoreboardRowOutput, error)
- func (UnimplementedRankerServer) ListActivities(context.Context, *ListActivitiesInput) (*ListActivitiesOutput, error)
- func (UnimplementedRankerServer) ListScheduledActions(context.Context, *ListScheduledActionsInput) (*ListScheduledActionsOutput, error)
- func (UnimplementedRankerServer) ListScoreboardColumns(context.Context, *ListScoreboardColumnsInput) (*ListScoreboardColumnsOutput, error)
- func (UnimplementedRankerServer) ListScoreboardRows(context.Context, *ListScoreboardRowsInput) (*ListScoreboardRowsOutput, error)
- func (UnimplementedRankerServer) ListScoreboards(context.Context, *ListScoreboardsInput) (*ListScoreboardsOutput, error)
- func (UnimplementedRankerServer) RebuildScoreboard(context.Context, *RebuildScoreboardInput) (*RebuildScoreboardOutput, error)
- func (UnimplementedRankerServer) ScheduleAction(context.Context, *ScheduleActionInput) (*ScheduleActionOutput, error)
- func (UnimplementedRankerServer) UnscheduleAction(context.Context, *UnscheduleActionInput) (*UnscheduleActionOutput, error)
- func (UnimplementedRankerServer) UpdateScoreboard(context.Context, *UpdateScoreboardInput) (*UpdateScoreboardOutput, error)
- func (UnimplementedRankerServer) UpdateScoreboardColumn(context.Context, *UpdateScoreboardColumnInput) (*UpdateScoreboardColumnOutput, error)
- type UnsafeRankerServer
- type UnscheduleActionInput
- func (*UnscheduleActionInput) Descriptor() ([]byte, []int)deprecated
- func (x *UnscheduleActionInput) GetActionId() string
- func (x *UnscheduleActionInput) GetScoreboardId() string
- func (*UnscheduleActionInput) ProtoMessage()
- func (x *UnscheduleActionInput) ProtoReflect() protoreflect.Message
- func (x *UnscheduleActionInput) Reset()
- func (x *UnscheduleActionInput) String() string
- type UnscheduleActionOutput
- type UpdateScoreboardColumnInput
- func (*UpdateScoreboardColumnInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateScoreboardColumnInput) GetColumn() *Scoreboard_Column
- func (x *UpdateScoreboardColumnInput) GetColumnId() string
- func (x *UpdateScoreboardColumnInput) GetPatch() []UpdateScoreboardColumnInput_Patch
- func (x *UpdateScoreboardColumnInput) GetScoreboardId() string
- func (*UpdateScoreboardColumnInput) ProtoMessage()
- func (x *UpdateScoreboardColumnInput) ProtoReflect() protoreflect.Message
- func (x *UpdateScoreboardColumnInput) Reset()
- func (x *UpdateScoreboardColumnInput) String() string
- type UpdateScoreboardColumnInput_Patch
- func (UpdateScoreboardColumnInput_Patch) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateScoreboardColumnInput_Patch) Enum() *UpdateScoreboardColumnInput_Patch
- func (UpdateScoreboardColumnInput_Patch) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateScoreboardColumnInput_Patch) Number() protoreflect.EnumNumber
- func (x UpdateScoreboardColumnInput_Patch) String() string
- func (UpdateScoreboardColumnInput_Patch) Type() protoreflect.EnumType
- type UpdateScoreboardColumnOutput
- func (*UpdateScoreboardColumnOutput) Descriptor() ([]byte, []int)deprecated
- func (*UpdateScoreboardColumnOutput) ProtoMessage()
- func (x *UpdateScoreboardColumnOutput) ProtoReflect() protoreflect.Message
- func (x *UpdateScoreboardColumnOutput) Reset()
- func (x *UpdateScoreboardColumnOutput) String() string
- type UpdateScoreboardInput
- func (*UpdateScoreboardInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateScoreboardInput) GetPatch() []UpdateScoreboardInput_Patch
- func (x *UpdateScoreboardInput) GetScoreboard() *Scoreboard
- func (x *UpdateScoreboardInput) GetScoreboardId() string
- func (*UpdateScoreboardInput) ProtoMessage()
- func (x *UpdateScoreboardInput) ProtoReflect() protoreflect.Message
- func (x *UpdateScoreboardInput) Reset()
- func (x *UpdateScoreboardInput) String() string
- type UpdateScoreboardInput_Patch
- func (UpdateScoreboardInput_Patch) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateScoreboardInput_Patch) Enum() *UpdateScoreboardInput_Patch
- func (UpdateScoreboardInput_Patch) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateScoreboardInput_Patch) Number() protoreflect.EnumNumber
- func (x UpdateScoreboardInput_Patch) String() string
- func (UpdateScoreboardInput_Patch) Type() protoreflect.EnumType
- type UpdateScoreboardOutput
Constants ¶
const ( Ranker_CreateScoreboard_FullMethodName = "/eolymp.ranker.Ranker/CreateScoreboard" Ranker_UpdateScoreboard_FullMethodName = "/eolymp.ranker.Ranker/UpdateScoreboard" Ranker_RebuildScoreboard_FullMethodName = "/eolymp.ranker.Ranker/RebuildScoreboard" Ranker_DeleteScoreboard_FullMethodName = "/eolymp.ranker.Ranker/DeleteScoreboard" Ranker_DescribeScoreboard_FullMethodName = "/eolymp.ranker.Ranker/DescribeScoreboard" Ranker_ListScoreboards_FullMethodName = "/eolymp.ranker.Ranker/ListScoreboards" Ranker_DescribeScoreboardRow_FullMethodName = "/eolymp.ranker.Ranker/DescribeScoreboardRow" Ranker_ListScoreboardRows_FullMethodName = "/eolymp.ranker.Ranker/ListScoreboardRows" Ranker_AddScoreboardColumn_FullMethodName = "/eolymp.ranker.Ranker/AddScoreboardColumn" Ranker_UpdateScoreboardColumn_FullMethodName = "/eolymp.ranker.Ranker/UpdateScoreboardColumn" Ranker_DeleteScoreboardColumn_FullMethodName = "/eolymp.ranker.Ranker/DeleteScoreboardColumn" Ranker_DescribeScoreboardColumn_FullMethodName = "/eolymp.ranker.Ranker/DescribeScoreboardColumn" Ranker_ListScoreboardColumns_FullMethodName = "/eolymp.ranker.Ranker/ListScoreboardColumns" Ranker_ListActivities_FullMethodName = "/eolymp.ranker.Ranker/ListActivities" Ranker_ScheduleAction_FullMethodName = "/eolymp.ranker.Ranker/ScheduleAction" Ranker_UnscheduleAction_FullMethodName = "/eolymp.ranker.Ranker/UnscheduleAction" Ranker_ListScheduledActions_FullMethodName = "/eolymp.ranker.Ranker/ListScheduledActions" )
Variables ¶
var ( Activity_Type_name = map[int32]string{ 0: "NONE", 1: "SCOREBOARD_REBUILD", } Activity_Type_value = map[string]int32{ "NONE": 0, "SCOREBOARD_REBUILD": 1, } )
Enum value maps for Activity_Type.
var ( Activity_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATED", 2: "STARTED", 3: "COMPLETE", 4: "ERROR", } Activity_Status_value = map[string]int32{ "UNKNOWN": 0, "CREATED": 1, "STARTED": 2, "COMPLETE": 3, "ERROR": 4, } )
Enum value maps for Activity_Status.
var ( Format_name = map[int32]string{ 0: "NONE", 1: "IOI", 2: "ICPC", } Format_value = map[string]int32{ "NONE": 0, "IOI": 1, "ICPC": 2, } )
Enum value maps for Format.
var ( UpdateScoreboardInput_Patch_name = map[int32]string{ 0: "ALL", 1: "KEY", 2: "NAME", 3: "DEFAULT_SORT", 4: "HISTORICAL", } UpdateScoreboardInput_Patch_value = map[string]int32{ "ALL": 0, "KEY": 1, "NAME": 2, "DEFAULT_SORT": 3, "HISTORICAL": 4, } )
Enum value maps for UpdateScoreboardInput_Patch.
var ( UpdateScoreboardColumnInput_Patch_name = map[int32]string{ 0: "ALL", 1: "PARENT_ID", 2: "KEY", 3: "NAME", 4: "SHORT_NAME", 5: "INDEX", 6: "VISIBLE", 7: "FILTERABLE", 8: "SORTABLE", } UpdateScoreboardColumnInput_Patch_value = map[string]int32{ "ALL": 0, "PARENT_ID": 1, "KEY": 2, "NAME": 3, "SHORT_NAME": 4, "INDEX": 5, "VISIBLE": 6, "FILTERABLE": 7, "SORTABLE": 8, } )
Enum value maps for UpdateScoreboardColumnInput_Patch.
var ( Scoreboard_FetchingMode_name = map[int32]string{ 0: "LATEST", 1: "PUNCTUAL", 2: "FROZEN", 3: "UPSOLVE", } Scoreboard_FetchingMode_value = map[string]int32{ "LATEST": 0, "PUNCTUAL": 1, "FROZEN": 2, "UPSOLVE": 3, } )
Enum value maps for Scoreboard_FetchingMode.
var ( Scoreboard_Column_Type_name = map[int32]string{ 0: "NONE", 1: "CONTEST", 2: "PROBLEM", 3: "ATTRIBUTE", 4: "NAME", 5: "TOTAL", } Scoreboard_Column_Type_value = map[string]int32{ "NONE": 0, "CONTEST": 1, "PROBLEM": 2, "ATTRIBUTE": 3, "NAME": 4, "TOTAL": 5, } )
Enum value maps for Scoreboard_Column_Type.
var ( Scoreboard_Action_Type_name = map[int32]string{ 0: "NONE", 1: "FREEZE", 2: "UNFREEZE", } Scoreboard_Action_Type_value = map[string]int32{ "NONE": 0, "FREEZE": 1, "UNFREEZE": 2, } )
Enum value maps for Scoreboard_Action_Type.
var File_eolymp_ranker_activity_proto protoreflect.FileDescriptor
var File_eolymp_ranker_events_proto protoreflect.FileDescriptor
var File_eolymp_ranker_format_proto protoreflect.FileDescriptor
var File_eolymp_ranker_ranker_proto protoreflect.FileDescriptor
var File_eolymp_ranker_scoreboard_proto protoreflect.FileDescriptor
var Ranker_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.ranker.Ranker", HandlerType: (*RankerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateScoreboard", Handler: _Ranker_CreateScoreboard_Handler, }, { MethodName: "UpdateScoreboard", Handler: _Ranker_UpdateScoreboard_Handler, }, { MethodName: "RebuildScoreboard", Handler: _Ranker_RebuildScoreboard_Handler, }, { MethodName: "DeleteScoreboard", Handler: _Ranker_DeleteScoreboard_Handler, }, { MethodName: "DescribeScoreboard", Handler: _Ranker_DescribeScoreboard_Handler, }, { MethodName: "ListScoreboards", Handler: _Ranker_ListScoreboards_Handler, }, { MethodName: "DescribeScoreboardRow", Handler: _Ranker_DescribeScoreboardRow_Handler, }, { MethodName: "ListScoreboardRows", Handler: _Ranker_ListScoreboardRows_Handler, }, { MethodName: "AddScoreboardColumn", Handler: _Ranker_AddScoreboardColumn_Handler, }, { MethodName: "UpdateScoreboardColumn", Handler: _Ranker_UpdateScoreboardColumn_Handler, }, { MethodName: "DeleteScoreboardColumn", Handler: _Ranker_DeleteScoreboardColumn_Handler, }, { MethodName: "DescribeScoreboardColumn", Handler: _Ranker_DescribeScoreboardColumn_Handler, }, { MethodName: "ListScoreboardColumns", Handler: _Ranker_ListScoreboardColumns_Handler, }, { MethodName: "ListActivities", Handler: _Ranker_ListActivities_Handler, }, { MethodName: "ScheduleAction", Handler: _Ranker_ScheduleAction_Handler, }, { MethodName: "UnscheduleAction", Handler: _Ranker_UnscheduleAction_Handler, }, { MethodName: "ListScheduledActions", Handler: _Ranker_ListScheduledActions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/ranker/ranker.proto", }
Ranker_ServiceDesc is the grpc.ServiceDesc for Ranker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRankerHttpHandlers ¶
func RegisterRankerHttpHandlers(router *mux.Router, prefix string, cli RankerClient)
RegisterRankerHttpHandlers adds handlers for for RankerClient This constructor creates http.Handler, the actual implementation might change at any moment
func RegisterRankerServer ¶
func RegisterRankerServer(s grpc.ServiceRegistrar, srv RankerServer)
Types ¶
type Activity ¶
type Activity struct { // Activity unique identifier. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type Activity_Type `protobuf:"varint,2,opt,name=type,proto3,enum=eolymp.ranker.Activity_Type" json:"type,omitempty"` Status Activity_Status `protobuf:"varint,3,opt,name=status,proto3,enum=eolymp.ranker.Activity_Status" json:"status,omitempty"` // Contest where activity is running. ScoreboardId string `protobuf:"bytes,5,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` // Timestamp when activity was created, started, updated and complete. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` StartedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` ProgressAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=progress_at,json=progressAt,proto3" json:"progress_at,omitempty"` CompleteAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=complete_at,json=completeAt,proto3" json:"complete_at,omitempty"` // progress is a number from 0 to `total`, showing amount of work complete Progress uint32 `protobuf:"varint,20,opt,name=progress,proto3" json:"progress,omitempty"` // total is a number indicating total amount of work to be complete, 0 means it's unknown Total uint32 `protobuf:"varint,21,opt,name=total,proto3" json:"total,omitempty"` // error is a string indicating why job has failed Error string `protobuf:"bytes,30,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Activity) Descriptor
deprecated
func (*Activity) GetCompleteAt ¶
func (x *Activity) GetCompleteAt() *timestamppb.Timestamp
func (*Activity) GetCreatedAt ¶
func (x *Activity) GetCreatedAt() *timestamppb.Timestamp
func (*Activity) GetProgress ¶
func (*Activity) GetProgressAt ¶
func (x *Activity) GetProgressAt() *timestamppb.Timestamp
func (*Activity) GetScoreboardId ¶
func (*Activity) GetStartedAt ¶
func (x *Activity) GetStartedAt() *timestamppb.Timestamp
func (*Activity) GetStatus ¶
func (x *Activity) GetStatus() Activity_Status
func (*Activity) GetType ¶
func (x *Activity) GetType() Activity_Type
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶
func (x *Activity) ProtoReflect() protoreflect.Message
type Activity_Status ¶
type Activity_Status int32
const ( Activity_UNKNOWN Activity_Status = 0 Activity_CREATED Activity_Status = 1 Activity_STARTED Activity_Status = 2 Activity_COMPLETE Activity_Status = 3 Activity_ERROR Activity_Status = 4 )
func (Activity_Status) Descriptor ¶
func (Activity_Status) Descriptor() protoreflect.EnumDescriptor
func (Activity_Status) Enum ¶
func (x Activity_Status) Enum() *Activity_Status
func (Activity_Status) EnumDescriptor
deprecated
func (Activity_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Activity_Status.Descriptor instead.
func (Activity_Status) Number ¶
func (x Activity_Status) Number() protoreflect.EnumNumber
func (Activity_Status) String ¶
func (x Activity_Status) String() string
func (Activity_Status) Type ¶
func (Activity_Status) Type() protoreflect.EnumType
type Activity_Type ¶
type Activity_Type int32
const ( Activity_NONE Activity_Type = 0 Activity_SCOREBOARD_REBUILD Activity_Type = 1 )
func (Activity_Type) Descriptor ¶
func (Activity_Type) Descriptor() protoreflect.EnumDescriptor
func (Activity_Type) Enum ¶
func (x Activity_Type) Enum() *Activity_Type
func (Activity_Type) EnumDescriptor
deprecated
func (Activity_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Activity_Type.Descriptor instead.
func (Activity_Type) Number ¶
func (x Activity_Type) Number() protoreflect.EnumNumber
func (Activity_Type) String ¶
func (x Activity_Type) String() string
func (Activity_Type) Type ¶
func (Activity_Type) Type() protoreflect.EnumType
type AddScoreboardColumnInput ¶
type AddScoreboardColumnInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` Column *Scoreboard_Column `protobuf:"bytes,2,opt,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
func (*AddScoreboardColumnInput) Descriptor
deprecated
func (*AddScoreboardColumnInput) Descriptor() ([]byte, []int)
Deprecated: Use AddScoreboardColumnInput.ProtoReflect.Descriptor instead.
func (*AddScoreboardColumnInput) GetColumn ¶
func (x *AddScoreboardColumnInput) GetColumn() *Scoreboard_Column
func (*AddScoreboardColumnInput) GetScoreboardId ¶
func (x *AddScoreboardColumnInput) GetScoreboardId() string
func (*AddScoreboardColumnInput) ProtoMessage ¶
func (*AddScoreboardColumnInput) ProtoMessage()
func (*AddScoreboardColumnInput) ProtoReflect ¶
func (x *AddScoreboardColumnInput) ProtoReflect() protoreflect.Message
func (*AddScoreboardColumnInput) Reset ¶
func (x *AddScoreboardColumnInput) Reset()
func (*AddScoreboardColumnInput) String ¶
func (x *AddScoreboardColumnInput) String() string
type AddScoreboardColumnOutput ¶
type AddScoreboardColumnOutput struct { ColumnId string `protobuf:"bytes,1,opt,name=column_id,json=columnId,proto3" json:"column_id,omitempty"` // contains filtered or unexported fields }
func (*AddScoreboardColumnOutput) Descriptor
deprecated
func (*AddScoreboardColumnOutput) Descriptor() ([]byte, []int)
Deprecated: Use AddScoreboardColumnOutput.ProtoReflect.Descriptor instead.
func (*AddScoreboardColumnOutput) GetColumnId ¶
func (x *AddScoreboardColumnOutput) GetColumnId() string
func (*AddScoreboardColumnOutput) ProtoMessage ¶
func (*AddScoreboardColumnOutput) ProtoMessage()
func (*AddScoreboardColumnOutput) ProtoReflect ¶
func (x *AddScoreboardColumnOutput) ProtoReflect() protoreflect.Message
func (*AddScoreboardColumnOutput) Reset ¶
func (x *AddScoreboardColumnOutput) Reset()
func (*AddScoreboardColumnOutput) String ¶
func (x *AddScoreboardColumnOutput) String() string
type CreateScoreboardInput ¶
type CreateScoreboardInput struct { Scoreboard *Scoreboard `protobuf:"bytes,1,opt,name=scoreboard,proto3" json:"scoreboard,omitempty"` AddDefaultColumns bool `protobuf:"varint,2,opt,name=add_default_columns,json=addDefaultColumns,proto3" json:"add_default_columns,omitempty"` DuplicateScoreboardId string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateScoreboardInput) Descriptor
deprecated
func (*CreateScoreboardInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateScoreboardInput.ProtoReflect.Descriptor instead.
func (*CreateScoreboardInput) GetAddDefaultColumns ¶
func (x *CreateScoreboardInput) GetAddDefaultColumns() bool
func (*CreateScoreboardInput) GetDuplicateScoreboardId ¶
func (x *CreateScoreboardInput) GetDuplicateScoreboardId() string
func (*CreateScoreboardInput) GetScoreboard ¶
func (x *CreateScoreboardInput) GetScoreboard() *Scoreboard
func (*CreateScoreboardInput) ProtoMessage ¶
func (*CreateScoreboardInput) ProtoMessage()
func (*CreateScoreboardInput) ProtoReflect ¶
func (x *CreateScoreboardInput) ProtoReflect() protoreflect.Message
func (*CreateScoreboardInput) Reset ¶
func (x *CreateScoreboardInput) Reset()
func (*CreateScoreboardInput) String ¶
func (x *CreateScoreboardInput) String() string
type CreateScoreboardOutput ¶
type CreateScoreboardOutput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` // contains filtered or unexported fields }
func (*CreateScoreboardOutput) Descriptor
deprecated
func (*CreateScoreboardOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateScoreboardOutput.ProtoReflect.Descriptor instead.
func (*CreateScoreboardOutput) GetScoreboardId ¶
func (x *CreateScoreboardOutput) GetScoreboardId() string
func (*CreateScoreboardOutput) ProtoMessage ¶
func (*CreateScoreboardOutput) ProtoMessage()
func (*CreateScoreboardOutput) ProtoReflect ¶
func (x *CreateScoreboardOutput) ProtoReflect() protoreflect.Message
func (*CreateScoreboardOutput) Reset ¶
func (x *CreateScoreboardOutput) Reset()
func (*CreateScoreboardOutput) String ¶
func (x *CreateScoreboardOutput) String() string
type DeleteScoreboardColumnInput ¶
type DeleteScoreboardColumnInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` ColumnId string `protobuf:"bytes,2,opt,name=column_id,json=columnId,proto3" json:"column_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteScoreboardColumnInput) Descriptor
deprecated
func (*DeleteScoreboardColumnInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteScoreboardColumnInput.ProtoReflect.Descriptor instead.
func (*DeleteScoreboardColumnInput) GetColumnId ¶
func (x *DeleteScoreboardColumnInput) GetColumnId() string
func (*DeleteScoreboardColumnInput) GetScoreboardId ¶
func (x *DeleteScoreboardColumnInput) GetScoreboardId() string
func (*DeleteScoreboardColumnInput) ProtoMessage ¶
func (*DeleteScoreboardColumnInput) ProtoMessage()
func (*DeleteScoreboardColumnInput) ProtoReflect ¶
func (x *DeleteScoreboardColumnInput) ProtoReflect() protoreflect.Message
func (*DeleteScoreboardColumnInput) Reset ¶
func (x *DeleteScoreboardColumnInput) Reset()
func (*DeleteScoreboardColumnInput) String ¶
func (x *DeleteScoreboardColumnInput) String() string
type DeleteScoreboardColumnOutput ¶
type DeleteScoreboardColumnOutput struct {
// contains filtered or unexported fields
}
func (*DeleteScoreboardColumnOutput) Descriptor
deprecated
func (*DeleteScoreboardColumnOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteScoreboardColumnOutput.ProtoReflect.Descriptor instead.
func (*DeleteScoreboardColumnOutput) ProtoMessage ¶
func (*DeleteScoreboardColumnOutput) ProtoMessage()
func (*DeleteScoreboardColumnOutput) ProtoReflect ¶
func (x *DeleteScoreboardColumnOutput) ProtoReflect() protoreflect.Message
func (*DeleteScoreboardColumnOutput) Reset ¶
func (x *DeleteScoreboardColumnOutput) Reset()
func (*DeleteScoreboardColumnOutput) String ¶
func (x *DeleteScoreboardColumnOutput) String() string
type DeleteScoreboardInput ¶
type DeleteScoreboardInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteScoreboardInput) Descriptor
deprecated
func (*DeleteScoreboardInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteScoreboardInput.ProtoReflect.Descriptor instead.
func (*DeleteScoreboardInput) GetScoreboardId ¶
func (x *DeleteScoreboardInput) GetScoreboardId() string
func (*DeleteScoreboardInput) ProtoMessage ¶
func (*DeleteScoreboardInput) ProtoMessage()
func (*DeleteScoreboardInput) ProtoReflect ¶
func (x *DeleteScoreboardInput) ProtoReflect() protoreflect.Message
func (*DeleteScoreboardInput) Reset ¶
func (x *DeleteScoreboardInput) Reset()
func (*DeleteScoreboardInput) String ¶
func (x *DeleteScoreboardInput) String() string
type DeleteScoreboardOutput ¶
type DeleteScoreboardOutput struct {
// contains filtered or unexported fields
}
func (*DeleteScoreboardOutput) Descriptor
deprecated
func (*DeleteScoreboardOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteScoreboardOutput.ProtoReflect.Descriptor instead.
func (*DeleteScoreboardOutput) ProtoMessage ¶
func (*DeleteScoreboardOutput) ProtoMessage()
func (*DeleteScoreboardOutput) ProtoReflect ¶
func (x *DeleteScoreboardOutput) ProtoReflect() protoreflect.Message
func (*DeleteScoreboardOutput) Reset ¶
func (x *DeleteScoreboardOutput) Reset()
func (*DeleteScoreboardOutput) String ¶
func (x *DeleteScoreboardOutput) String() string
type DescribeScoreboardColumnInput ¶
type DescribeScoreboardColumnInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` ColumnId string `protobuf:"bytes,2,opt,name=column_id,json=columnId,proto3" json:"column_id,omitempty"` // contains filtered or unexported fields }
func (*DescribeScoreboardColumnInput) Descriptor
deprecated
func (*DescribeScoreboardColumnInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeScoreboardColumnInput.ProtoReflect.Descriptor instead.
func (*DescribeScoreboardColumnInput) GetColumnId ¶
func (x *DescribeScoreboardColumnInput) GetColumnId() string
func (*DescribeScoreboardColumnInput) GetScoreboardId ¶
func (x *DescribeScoreboardColumnInput) GetScoreboardId() string
func (*DescribeScoreboardColumnInput) ProtoMessage ¶
func (*DescribeScoreboardColumnInput) ProtoMessage()
func (*DescribeScoreboardColumnInput) ProtoReflect ¶
func (x *DescribeScoreboardColumnInput) ProtoReflect() protoreflect.Message
func (*DescribeScoreboardColumnInput) Reset ¶
func (x *DescribeScoreboardColumnInput) Reset()
func (*DescribeScoreboardColumnInput) String ¶
func (x *DescribeScoreboardColumnInput) String() string
type DescribeScoreboardColumnOutput ¶
type DescribeScoreboardColumnOutput struct { Column *Scoreboard_Column `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
func (*DescribeScoreboardColumnOutput) Descriptor
deprecated
func (*DescribeScoreboardColumnOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeScoreboardColumnOutput.ProtoReflect.Descriptor instead.
func (*DescribeScoreboardColumnOutput) GetColumn ¶
func (x *DescribeScoreboardColumnOutput) GetColumn() *Scoreboard_Column
func (*DescribeScoreboardColumnOutput) ProtoMessage ¶
func (*DescribeScoreboardColumnOutput) ProtoMessage()
func (*DescribeScoreboardColumnOutput) ProtoReflect ¶
func (x *DescribeScoreboardColumnOutput) ProtoReflect() protoreflect.Message
func (*DescribeScoreboardColumnOutput) Reset ¶
func (x *DescribeScoreboardColumnOutput) Reset()
func (*DescribeScoreboardColumnOutput) String ¶
func (x *DescribeScoreboardColumnOutput) String() string
type DescribeScoreboardInput ¶
type DescribeScoreboardInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` ScoreboardKey string `protobuf:"bytes,2,opt,name=scoreboard_key,json=scoreboardKey,proto3" json:"scoreboard_key,omitempty"` // contains filtered or unexported fields }
func (*DescribeScoreboardInput) Descriptor
deprecated
func (*DescribeScoreboardInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeScoreboardInput.ProtoReflect.Descriptor instead.
func (*DescribeScoreboardInput) GetScoreboardId ¶
func (x *DescribeScoreboardInput) GetScoreboardId() string
func (*DescribeScoreboardInput) GetScoreboardKey ¶
func (x *DescribeScoreboardInput) GetScoreboardKey() string
func (*DescribeScoreboardInput) ProtoMessage ¶
func (*DescribeScoreboardInput) ProtoMessage()
func (*DescribeScoreboardInput) ProtoReflect ¶
func (x *DescribeScoreboardInput) ProtoReflect() protoreflect.Message
func (*DescribeScoreboardInput) Reset ¶
func (x *DescribeScoreboardInput) Reset()
func (*DescribeScoreboardInput) String ¶
func (x *DescribeScoreboardInput) String() string
type DescribeScoreboardOutput ¶
type DescribeScoreboardOutput struct { Scoreboard *Scoreboard `protobuf:"bytes,1,opt,name=scoreboard,proto3" json:"scoreboard,omitempty"` // contains filtered or unexported fields }
func (*DescribeScoreboardOutput) Descriptor
deprecated
func (*DescribeScoreboardOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeScoreboardOutput.ProtoReflect.Descriptor instead.
func (*DescribeScoreboardOutput) GetScoreboard ¶
func (x *DescribeScoreboardOutput) GetScoreboard() *Scoreboard
func (*DescribeScoreboardOutput) ProtoMessage ¶
func (*DescribeScoreboardOutput) ProtoMessage()
func (*DescribeScoreboardOutput) ProtoReflect ¶
func (x *DescribeScoreboardOutput) ProtoReflect() protoreflect.Message
func (*DescribeScoreboardOutput) Reset ¶
func (x *DescribeScoreboardOutput) Reset()
func (*DescribeScoreboardOutput) String ¶
func (x *DescribeScoreboardOutput) String() string
type DescribeScoreboardRowInput ¶
type DescribeScoreboardRowInput struct { // Mode for fetching score value (see enum description). Mode Scoreboard_FetchingMode `protobuf:"varint,10,opt,name=mode,proto3,enum=eolymp.ranker.Scoreboard_FetchingMode" json:"mode,omitempty"` // For PUNCTUAL fetch mode this parameter sets time of interest. PunctualTime uint32 `protobuf:"varint,11,opt,name=punctual_time,json=punctualTime,proto3" json:"punctual_time,omitempty"` ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // contains filtered or unexported fields }
func (*DescribeScoreboardRowInput) Descriptor
deprecated
func (*DescribeScoreboardRowInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeScoreboardRowInput.ProtoReflect.Descriptor instead.
func (*DescribeScoreboardRowInput) GetMemberId ¶
func (x *DescribeScoreboardRowInput) GetMemberId() string
func (*DescribeScoreboardRowInput) GetMode ¶
func (x *DescribeScoreboardRowInput) GetMode() Scoreboard_FetchingMode
func (*DescribeScoreboardRowInput) GetPunctualTime ¶
func (x *DescribeScoreboardRowInput) GetPunctualTime() uint32
func (*DescribeScoreboardRowInput) GetScoreboardId ¶
func (x *DescribeScoreboardRowInput) GetScoreboardId() string
func (*DescribeScoreboardRowInput) ProtoMessage ¶
func (*DescribeScoreboardRowInput) ProtoMessage()
func (*DescribeScoreboardRowInput) ProtoReflect ¶
func (x *DescribeScoreboardRowInput) ProtoReflect() protoreflect.Message
func (*DescribeScoreboardRowInput) Reset ¶
func (x *DescribeScoreboardRowInput) Reset()
func (*DescribeScoreboardRowInput) String ¶
func (x *DescribeScoreboardRowInput) String() string
type DescribeScoreboardRowOutput ¶
type DescribeScoreboardRowOutput struct { Row *Scoreboard_Row `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"` Frozen bool `protobuf:"varint,10,opt,name=frozen,proto3" json:"frozen,omitempty"` // contains filtered or unexported fields }
func (*DescribeScoreboardRowOutput) Descriptor
deprecated
func (*DescribeScoreboardRowOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeScoreboardRowOutput.ProtoReflect.Descriptor instead.
func (*DescribeScoreboardRowOutput) GetFrozen ¶
func (x *DescribeScoreboardRowOutput) GetFrozen() bool
func (*DescribeScoreboardRowOutput) GetRow ¶
func (x *DescribeScoreboardRowOutput) GetRow() *Scoreboard_Row
func (*DescribeScoreboardRowOutput) ProtoMessage ¶
func (*DescribeScoreboardRowOutput) ProtoMessage()
func (*DescribeScoreboardRowOutput) ProtoReflect ¶
func (x *DescribeScoreboardRowOutput) ProtoReflect() protoreflect.Message
func (*DescribeScoreboardRowOutput) Reset ¶
func (x *DescribeScoreboardRowOutput) Reset()
func (*DescribeScoreboardRowOutput) String ¶
func (x *DescribeScoreboardRowOutput) String() string
type Format ¶
type Format int32
const ( // Reserved, should not be used. Format_NONE Format = 0 // IOI scoring mode ranks participants by total number of points scored in each problem. // // - Total score is a sum of scores in each problem // - Problem score is maximum number of points scored among all submissions. Format_IOI Format = 1 // ICPC scoring mode first ranks participants by number of solved problems and then ranks those who solved // problems faster higher. Additional penalty is added for each unsuccessful attempt to solve problem. // // - Each solved problem gives 1 score point. // - Once problem is solved, a penalty point is awarded for each minute it took to solve problem. // - Once problem is solved, 20 penalty points are awarded for attempt to solve problem. Attempts are compiled // submissions made before one which solves problem. // - Unsolved problem do not add penalty. // - Submissions made after problem is solved do not count towards attempts. // - Submissions which were not compiled do not count towards attempts. Format_ICPC Format = 2 )
func (Format) Descriptor ¶
func (Format) Descriptor() protoreflect.EnumDescriptor
func (Format) EnumDescriptor
deprecated
func (Format) Number ¶
func (x Format) Number() protoreflect.EnumNumber
func (Format) Type ¶
func (Format) Type() protoreflect.EnumType
type ListActivitiesInput ¶
type ListActivitiesInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListActivitiesInput) Descriptor
deprecated
func (*ListActivitiesInput) Descriptor() ([]byte, []int)
Deprecated: Use ListActivitiesInput.ProtoReflect.Descriptor instead.
func (*ListActivitiesInput) GetOffset ¶
func (x *ListActivitiesInput) GetOffset() int32
func (*ListActivitiesInput) GetScoreboardId ¶
func (x *ListActivitiesInput) GetScoreboardId() string
func (*ListActivitiesInput) GetSize ¶
func (x *ListActivitiesInput) GetSize() int32
func (*ListActivitiesInput) ProtoMessage ¶
func (*ListActivitiesInput) ProtoMessage()
func (*ListActivitiesInput) ProtoReflect ¶
func (x *ListActivitiesInput) ProtoReflect() protoreflect.Message
func (*ListActivitiesInput) Reset ¶
func (x *ListActivitiesInput) Reset()
func (*ListActivitiesInput) String ¶
func (x *ListActivitiesInput) String() string
type ListActivitiesOutput ¶
type ListActivitiesOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Activity `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListActivitiesOutput) Descriptor
deprecated
func (*ListActivitiesOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListActivitiesOutput.ProtoReflect.Descriptor instead.
func (*ListActivitiesOutput) GetItems ¶
func (x *ListActivitiesOutput) GetItems() []*Activity
func (*ListActivitiesOutput) GetTotal ¶
func (x *ListActivitiesOutput) GetTotal() int32
func (*ListActivitiesOutput) ProtoMessage ¶
func (*ListActivitiesOutput) ProtoMessage()
func (*ListActivitiesOutput) ProtoReflect ¶
func (x *ListActivitiesOutput) ProtoReflect() protoreflect.Message
func (*ListActivitiesOutput) Reset ¶
func (x *ListActivitiesOutput) Reset()
func (*ListActivitiesOutput) String ¶
func (x *ListActivitiesOutput) String() string
type ListScheduledActionsInput ¶
type ListScheduledActionsInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` // contains filtered or unexported fields }
func (*ListScheduledActionsInput) Descriptor
deprecated
func (*ListScheduledActionsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListScheduledActionsInput.ProtoReflect.Descriptor instead.
func (*ListScheduledActionsInput) GetScoreboardId ¶
func (x *ListScheduledActionsInput) GetScoreboardId() string
func (*ListScheduledActionsInput) ProtoMessage ¶
func (*ListScheduledActionsInput) ProtoMessage()
func (*ListScheduledActionsInput) ProtoReflect ¶
func (x *ListScheduledActionsInput) ProtoReflect() protoreflect.Message
func (*ListScheduledActionsInput) Reset ¶
func (x *ListScheduledActionsInput) Reset()
func (*ListScheduledActionsInput) String ¶
func (x *ListScheduledActionsInput) String() string
type ListScheduledActionsOutput ¶
type ListScheduledActionsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Scoreboard_Action `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListScheduledActionsOutput) Descriptor
deprecated
func (*ListScheduledActionsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListScheduledActionsOutput.ProtoReflect.Descriptor instead.
func (*ListScheduledActionsOutput) GetItems ¶
func (x *ListScheduledActionsOutput) GetItems() []*Scoreboard_Action
func (*ListScheduledActionsOutput) GetTotal ¶
func (x *ListScheduledActionsOutput) GetTotal() int32
func (*ListScheduledActionsOutput) ProtoMessage ¶
func (*ListScheduledActionsOutput) ProtoMessage()
func (*ListScheduledActionsOutput) ProtoReflect ¶
func (x *ListScheduledActionsOutput) ProtoReflect() protoreflect.Message
func (*ListScheduledActionsOutput) Reset ¶
func (x *ListScheduledActionsOutput) Reset()
func (*ListScheduledActionsOutput) String ¶
func (x *ListScheduledActionsOutput) String() string
type ListScoreboardColumnsInput ¶
type ListScoreboardColumnsInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardColumnsInput) Descriptor
deprecated
func (*ListScoreboardColumnsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardColumnsInput.ProtoReflect.Descriptor instead.
func (*ListScoreboardColumnsInput) GetScoreboardId ¶
func (x *ListScoreboardColumnsInput) GetScoreboardId() string
func (*ListScoreboardColumnsInput) ProtoMessage ¶
func (*ListScoreboardColumnsInput) ProtoMessage()
func (*ListScoreboardColumnsInput) ProtoReflect ¶
func (x *ListScoreboardColumnsInput) ProtoReflect() protoreflect.Message
func (*ListScoreboardColumnsInput) Reset ¶
func (x *ListScoreboardColumnsInput) Reset()
func (*ListScoreboardColumnsInput) String ¶
func (x *ListScoreboardColumnsInput) String() string
type ListScoreboardColumnsOutput ¶
type ListScoreboardColumnsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Scoreboard_Column `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardColumnsOutput) Descriptor
deprecated
func (*ListScoreboardColumnsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardColumnsOutput.ProtoReflect.Descriptor instead.
func (*ListScoreboardColumnsOutput) GetItems ¶
func (x *ListScoreboardColumnsOutput) GetItems() []*Scoreboard_Column
func (*ListScoreboardColumnsOutput) GetTotal ¶
func (x *ListScoreboardColumnsOutput) GetTotal() int32
func (*ListScoreboardColumnsOutput) ProtoMessage ¶
func (*ListScoreboardColumnsOutput) ProtoMessage()
func (*ListScoreboardColumnsOutput) ProtoReflect ¶
func (x *ListScoreboardColumnsOutput) ProtoReflect() protoreflect.Message
func (*ListScoreboardColumnsOutput) Reset ¶
func (x *ListScoreboardColumnsOutput) Reset()
func (*ListScoreboardColumnsOutput) String ¶
func (x *ListScoreboardColumnsOutput) String() string
type ListScoreboardRowsInput ¶
type ListScoreboardRowsInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` // Mode for fetching score value (see enum description). Mode Scoreboard_FetchingMode `protobuf:"varint,2,opt,name=mode,proto3,enum=eolymp.ranker.Scoreboard_FetchingMode" json:"mode,omitempty"` // For PUNCTUAL fetch mode this parameter sets time of interest. PunctualTime uint32 `protobuf:"varint,3,opt,name=punctual_time,json=punctualTime,proto3" json:"punctual_time,omitempty"` Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` Filters *ListScoreboardRowsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` Sort string `protobuf:"bytes,50,opt,name=sort,proto3" json:"sort,omitempty"` Order wellknown.Direction `protobuf:"varint,51,opt,name=order,proto3,enum=eolymp.wellknown.Direction" json:"order,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardRowsInput) Descriptor
deprecated
func (*ListScoreboardRowsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardRowsInput.ProtoReflect.Descriptor instead.
func (*ListScoreboardRowsInput) GetFilters ¶
func (x *ListScoreboardRowsInput) GetFilters() *ListScoreboardRowsInput_Filter
func (*ListScoreboardRowsInput) GetMode ¶
func (x *ListScoreboardRowsInput) GetMode() Scoreboard_FetchingMode
func (*ListScoreboardRowsInput) GetOffset ¶
func (x *ListScoreboardRowsInput) GetOffset() int32
func (*ListScoreboardRowsInput) GetOrder ¶
func (x *ListScoreboardRowsInput) GetOrder() wellknown.Direction
func (*ListScoreboardRowsInput) GetPunctualTime ¶
func (x *ListScoreboardRowsInput) GetPunctualTime() uint32
func (*ListScoreboardRowsInput) GetScoreboardId ¶
func (x *ListScoreboardRowsInput) GetScoreboardId() string
func (*ListScoreboardRowsInput) GetSize ¶
func (x *ListScoreboardRowsInput) GetSize() int32
func (*ListScoreboardRowsInput) GetSort ¶
func (x *ListScoreboardRowsInput) GetSort() string
func (*ListScoreboardRowsInput) ProtoMessage ¶
func (*ListScoreboardRowsInput) ProtoMessage()
func (*ListScoreboardRowsInput) ProtoReflect ¶
func (x *ListScoreboardRowsInput) ProtoReflect() protoreflect.Message
func (*ListScoreboardRowsInput) Reset ¶
func (x *ListScoreboardRowsInput) Reset()
func (*ListScoreboardRowsInput) String ¶
func (x *ListScoreboardRowsInput) String() string
type ListScoreboardRowsInput_ExpressionColumn ¶
type ListScoreboardRowsInput_ExpressionColumn struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` String_ *wellknown.ExpressionString `protobuf:"bytes,10,opt,name=string,proto3" json:"string,omitempty"` Number *wellknown.ExpressionInt `protobuf:"bytes,11,opt,name=number,proto3" json:"number,omitempty"` Enum *wellknown.ExpressionEnum `protobuf:"bytes,12,opt,name=enum,proto3" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardRowsInput_ExpressionColumn) Descriptor
deprecated
func (*ListScoreboardRowsInput_ExpressionColumn) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardRowsInput_ExpressionColumn.ProtoReflect.Descriptor instead.
func (*ListScoreboardRowsInput_ExpressionColumn) GetEnum ¶
func (x *ListScoreboardRowsInput_ExpressionColumn) GetEnum() *wellknown.ExpressionEnum
func (*ListScoreboardRowsInput_ExpressionColumn) GetKey ¶
func (x *ListScoreboardRowsInput_ExpressionColumn) GetKey() string
func (*ListScoreboardRowsInput_ExpressionColumn) GetNumber ¶
func (x *ListScoreboardRowsInput_ExpressionColumn) GetNumber() *wellknown.ExpressionInt
func (*ListScoreboardRowsInput_ExpressionColumn) GetString_ ¶
func (x *ListScoreboardRowsInput_ExpressionColumn) GetString_() *wellknown.ExpressionString
func (*ListScoreboardRowsInput_ExpressionColumn) ProtoMessage ¶
func (*ListScoreboardRowsInput_ExpressionColumn) ProtoMessage()
func (*ListScoreboardRowsInput_ExpressionColumn) ProtoReflect ¶
func (x *ListScoreboardRowsInput_ExpressionColumn) ProtoReflect() protoreflect.Message
func (*ListScoreboardRowsInput_ExpressionColumn) Reset ¶
func (x *ListScoreboardRowsInput_ExpressionColumn) Reset()
func (*ListScoreboardRowsInput_ExpressionColumn) String ¶
func (x *ListScoreboardRowsInput_ExpressionColumn) String() string
type ListScoreboardRowsInput_Filter ¶
type ListScoreboardRowsInput_Filter struct { MemberId []*wellknown.ExpressionID `protobuf:"bytes,1,rep,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` Column []*ListScoreboardRowsInput_ExpressionColumn `protobuf:"bytes,2,rep,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardRowsInput_Filter) Descriptor
deprecated
func (*ListScoreboardRowsInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardRowsInput_Filter.ProtoReflect.Descriptor instead.
func (*ListScoreboardRowsInput_Filter) GetColumn ¶
func (x *ListScoreboardRowsInput_Filter) GetColumn() []*ListScoreboardRowsInput_ExpressionColumn
func (*ListScoreboardRowsInput_Filter) GetMemberId ¶
func (x *ListScoreboardRowsInput_Filter) GetMemberId() []*wellknown.ExpressionID
func (*ListScoreboardRowsInput_Filter) ProtoMessage ¶
func (*ListScoreboardRowsInput_Filter) ProtoMessage()
func (*ListScoreboardRowsInput_Filter) ProtoReflect ¶
func (x *ListScoreboardRowsInput_Filter) ProtoReflect() protoreflect.Message
func (*ListScoreboardRowsInput_Filter) Reset ¶
func (x *ListScoreboardRowsInput_Filter) Reset()
func (*ListScoreboardRowsInput_Filter) String ¶
func (x *ListScoreboardRowsInput_Filter) String() string
type ListScoreboardRowsOutput ¶
type ListScoreboardRowsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Scoreboard_Row `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` Frozen bool `protobuf:"varint,10,opt,name=frozen,proto3" json:"frozen,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardRowsOutput) Descriptor
deprecated
func (*ListScoreboardRowsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardRowsOutput.ProtoReflect.Descriptor instead.
func (*ListScoreboardRowsOutput) GetFrozen ¶
func (x *ListScoreboardRowsOutput) GetFrozen() bool
func (*ListScoreboardRowsOutput) GetItems ¶
func (x *ListScoreboardRowsOutput) GetItems() []*Scoreboard_Row
func (*ListScoreboardRowsOutput) GetTotal ¶
func (x *ListScoreboardRowsOutput) GetTotal() int32
func (*ListScoreboardRowsOutput) ProtoMessage ¶
func (*ListScoreboardRowsOutput) ProtoMessage()
func (*ListScoreboardRowsOutput) ProtoReflect ¶
func (x *ListScoreboardRowsOutput) ProtoReflect() protoreflect.Message
func (*ListScoreboardRowsOutput) Reset ¶
func (x *ListScoreboardRowsOutput) Reset()
func (*ListScoreboardRowsOutput) String ¶
func (x *ListScoreboardRowsOutput) String() string
type ListScoreboardsInput ¶
type ListScoreboardsInput struct { Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` Filters *ListScoreboardsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardsInput) Descriptor
deprecated
func (*ListScoreboardsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardsInput.ProtoReflect.Descriptor instead.
func (*ListScoreboardsInput) GetFilters ¶
func (x *ListScoreboardsInput) GetFilters() *ListScoreboardsInput_Filter
func (*ListScoreboardsInput) GetOffset ¶
func (x *ListScoreboardsInput) GetOffset() int32
func (*ListScoreboardsInput) GetSize ¶
func (x *ListScoreboardsInput) GetSize() int32
func (*ListScoreboardsInput) ProtoMessage ¶
func (*ListScoreboardsInput) ProtoMessage()
func (*ListScoreboardsInput) ProtoReflect ¶
func (x *ListScoreboardsInput) ProtoReflect() protoreflect.Message
func (*ListScoreboardsInput) Reset ¶
func (x *ListScoreboardsInput) Reset()
func (*ListScoreboardsInput) String ¶
func (x *ListScoreboardsInput) String() string
type ListScoreboardsInput_Filter ¶
type ListScoreboardsInput_Filter struct { Id []*wellknown.ExpressionID `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardsInput_Filter) Descriptor
deprecated
func (*ListScoreboardsInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardsInput_Filter.ProtoReflect.Descriptor instead.
func (*ListScoreboardsInput_Filter) GetId ¶
func (x *ListScoreboardsInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListScoreboardsInput_Filter) ProtoMessage ¶
func (*ListScoreboardsInput_Filter) ProtoMessage()
func (*ListScoreboardsInput_Filter) ProtoReflect ¶
func (x *ListScoreboardsInput_Filter) ProtoReflect() protoreflect.Message
func (*ListScoreboardsInput_Filter) Reset ¶
func (x *ListScoreboardsInput_Filter) Reset()
func (*ListScoreboardsInput_Filter) String ¶
func (x *ListScoreboardsInput_Filter) String() string
type ListScoreboardsOutput ¶
type ListScoreboardsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Scoreboard `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListScoreboardsOutput) Descriptor
deprecated
func (*ListScoreboardsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListScoreboardsOutput.ProtoReflect.Descriptor instead.
func (*ListScoreboardsOutput) GetItems ¶
func (x *ListScoreboardsOutput) GetItems() []*Scoreboard
func (*ListScoreboardsOutput) GetTotal ¶
func (x *ListScoreboardsOutput) GetTotal() int32
func (*ListScoreboardsOutput) ProtoMessage ¶
func (*ListScoreboardsOutput) ProtoMessage()
func (*ListScoreboardsOutput) ProtoReflect ¶
func (x *ListScoreboardsOutput) ProtoReflect() protoreflect.Message
func (*ListScoreboardsOutput) Reset ¶
func (x *ListScoreboardsOutput) Reset()
func (*ListScoreboardsOutput) String ¶
func (x *ListScoreboardsOutput) String() string
type RankerClient ¶
type RankerClient interface { // Create a scoreboard CreateScoreboard(ctx context.Context, in *CreateScoreboardInput, opts ...grpc.CallOption) (*CreateScoreboardOutput, error) // Update existing scoreboard in a contest UpdateScoreboard(ctx context.Context, in *UpdateScoreboardInput, opts ...grpc.CallOption) (*UpdateScoreboardOutput, error) // Rebuild scoreboard: recalculate score for all participants RebuildScoreboard(ctx context.Context, in *RebuildScoreboardInput, opts ...grpc.CallOption) (*RebuildScoreboardOutput, error) // Delete scoreboard DeleteScoreboard(ctx context.Context, in *DeleteScoreboardInput, opts ...grpc.CallOption) (*DeleteScoreboardOutput, error) // Describe scoreboard DescribeScoreboard(ctx context.Context, in *DescribeScoreboardInput, opts ...grpc.CallOption) (*DescribeScoreboardOutput, error) // List scoreboards of a contest ListScoreboards(ctx context.Context, in *ListScoreboardsInput, opts ...grpc.CallOption) (*ListScoreboardsOutput, error) // List scoreboards of a contest DescribeScoreboardRow(ctx context.Context, in *DescribeScoreboardRowInput, opts ...grpc.CallOption) (*DescribeScoreboardRowOutput, error) // List scoreboards of a contest ListScoreboardRows(ctx context.Context, in *ListScoreboardRowsInput, opts ...grpc.CallOption) (*ListScoreboardRowsOutput, error) AddScoreboardColumn(ctx context.Context, in *AddScoreboardColumnInput, opts ...grpc.CallOption) (*AddScoreboardColumnOutput, error) UpdateScoreboardColumn(ctx context.Context, in *UpdateScoreboardColumnInput, opts ...grpc.CallOption) (*UpdateScoreboardColumnOutput, error) DeleteScoreboardColumn(ctx context.Context, in *DeleteScoreboardColumnInput, opts ...grpc.CallOption) (*DeleteScoreboardColumnOutput, error) DescribeScoreboardColumn(ctx context.Context, in *DescribeScoreboardColumnInput, opts ...grpc.CallOption) (*DescribeScoreboardColumnOutput, error) // List scoreboards of a contest ListScoreboardColumns(ctx context.Context, in *ListScoreboardColumnsInput, opts ...grpc.CallOption) (*ListScoreboardColumnsOutput, error) ListActivities(ctx context.Context, in *ListActivitiesInput, opts ...grpc.CallOption) (*ListActivitiesOutput, error) ScheduleAction(ctx context.Context, in *ScheduleActionInput, opts ...grpc.CallOption) (*ScheduleActionOutput, error) UnscheduleAction(ctx context.Context, in *UnscheduleActionInput, opts ...grpc.CallOption) (*UnscheduleActionOutput, error) ListScheduledActions(ctx context.Context, in *ListScheduledActionsInput, opts ...grpc.CallOption) (*ListScheduledActionsOutput, error) }
RankerClient is the client API for Ranker service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRankerClient ¶
func NewRankerClient(cc grpc.ClientConnInterface) RankerClient
type RankerInterceptor ¶
type RankerInterceptor struct {
// contains filtered or unexported fields
}
func NewRankerInterceptor ¶
func NewRankerInterceptor(cli RankerClient, middleware ..._RankerMiddleware) *RankerInterceptor
NewRankerInterceptor constructs additional middleware for a server based on annotations in proto files
func (*RankerInterceptor) AddScoreboardColumn ¶
func (i *RankerInterceptor) AddScoreboardColumn(ctx context.Context, in *AddScoreboardColumnInput, opts ...grpc.CallOption) (*AddScoreboardColumnOutput, error)
func (*RankerInterceptor) CreateScoreboard ¶
func (i *RankerInterceptor) CreateScoreboard(ctx context.Context, in *CreateScoreboardInput, opts ...grpc.CallOption) (*CreateScoreboardOutput, error)
func (*RankerInterceptor) DeleteScoreboard ¶
func (i *RankerInterceptor) DeleteScoreboard(ctx context.Context, in *DeleteScoreboardInput, opts ...grpc.CallOption) (*DeleteScoreboardOutput, error)
func (*RankerInterceptor) DeleteScoreboardColumn ¶
func (i *RankerInterceptor) DeleteScoreboardColumn(ctx context.Context, in *DeleteScoreboardColumnInput, opts ...grpc.CallOption) (*DeleteScoreboardColumnOutput, error)
func (*RankerInterceptor) DescribeScoreboard ¶
func (i *RankerInterceptor) DescribeScoreboard(ctx context.Context, in *DescribeScoreboardInput, opts ...grpc.CallOption) (*DescribeScoreboardOutput, error)
func (*RankerInterceptor) DescribeScoreboardColumn ¶
func (i *RankerInterceptor) DescribeScoreboardColumn(ctx context.Context, in *DescribeScoreboardColumnInput, opts ...grpc.CallOption) (*DescribeScoreboardColumnOutput, error)
func (*RankerInterceptor) DescribeScoreboardRow ¶
func (i *RankerInterceptor) DescribeScoreboardRow(ctx context.Context, in *DescribeScoreboardRowInput, opts ...grpc.CallOption) (*DescribeScoreboardRowOutput, error)
func (*RankerInterceptor) ListActivities ¶
func (i *RankerInterceptor) ListActivities(ctx context.Context, in *ListActivitiesInput, opts ...grpc.CallOption) (*ListActivitiesOutput, error)
func (*RankerInterceptor) ListScheduledActions ¶
func (i *RankerInterceptor) ListScheduledActions(ctx context.Context, in *ListScheduledActionsInput, opts ...grpc.CallOption) (*ListScheduledActionsOutput, error)
func (*RankerInterceptor) ListScoreboardColumns ¶
func (i *RankerInterceptor) ListScoreboardColumns(ctx context.Context, in *ListScoreboardColumnsInput, opts ...grpc.CallOption) (*ListScoreboardColumnsOutput, error)
func (*RankerInterceptor) ListScoreboardRows ¶
func (i *RankerInterceptor) ListScoreboardRows(ctx context.Context, in *ListScoreboardRowsInput, opts ...grpc.CallOption) (*ListScoreboardRowsOutput, error)
func (*RankerInterceptor) ListScoreboards ¶
func (i *RankerInterceptor) ListScoreboards(ctx context.Context, in *ListScoreboardsInput, opts ...grpc.CallOption) (*ListScoreboardsOutput, error)
func (*RankerInterceptor) RebuildScoreboard ¶
func (i *RankerInterceptor) RebuildScoreboard(ctx context.Context, in *RebuildScoreboardInput, opts ...grpc.CallOption) (*RebuildScoreboardOutput, error)
func (*RankerInterceptor) ScheduleAction ¶
func (i *RankerInterceptor) ScheduleAction(ctx context.Context, in *ScheduleActionInput, opts ...grpc.CallOption) (*ScheduleActionOutput, error)
func (*RankerInterceptor) UnscheduleAction ¶
func (i *RankerInterceptor) UnscheduleAction(ctx context.Context, in *UnscheduleActionInput, opts ...grpc.CallOption) (*UnscheduleActionOutput, error)
func (*RankerInterceptor) UpdateScoreboard ¶
func (i *RankerInterceptor) UpdateScoreboard(ctx context.Context, in *UpdateScoreboardInput, opts ...grpc.CallOption) (*UpdateScoreboardOutput, error)
func (*RankerInterceptor) UpdateScoreboardColumn ¶
func (i *RankerInterceptor) UpdateScoreboardColumn(ctx context.Context, in *UpdateScoreboardColumnInput, opts ...grpc.CallOption) (*UpdateScoreboardColumnOutput, error)
type RankerServer ¶
type RankerServer interface { // Create a scoreboard CreateScoreboard(context.Context, *CreateScoreboardInput) (*CreateScoreboardOutput, error) // Update existing scoreboard in a contest UpdateScoreboard(context.Context, *UpdateScoreboardInput) (*UpdateScoreboardOutput, error) // Rebuild scoreboard: recalculate score for all participants RebuildScoreboard(context.Context, *RebuildScoreboardInput) (*RebuildScoreboardOutput, error) // Delete scoreboard DeleteScoreboard(context.Context, *DeleteScoreboardInput) (*DeleteScoreboardOutput, error) // Describe scoreboard DescribeScoreboard(context.Context, *DescribeScoreboardInput) (*DescribeScoreboardOutput, error) // List scoreboards of a contest ListScoreboards(context.Context, *ListScoreboardsInput) (*ListScoreboardsOutput, error) // List scoreboards of a contest DescribeScoreboardRow(context.Context, *DescribeScoreboardRowInput) (*DescribeScoreboardRowOutput, error) // List scoreboards of a contest ListScoreboardRows(context.Context, *ListScoreboardRowsInput) (*ListScoreboardRowsOutput, error) AddScoreboardColumn(context.Context, *AddScoreboardColumnInput) (*AddScoreboardColumnOutput, error) UpdateScoreboardColumn(context.Context, *UpdateScoreboardColumnInput) (*UpdateScoreboardColumnOutput, error) DeleteScoreboardColumn(context.Context, *DeleteScoreboardColumnInput) (*DeleteScoreboardColumnOutput, error) DescribeScoreboardColumn(context.Context, *DescribeScoreboardColumnInput) (*DescribeScoreboardColumnOutput, error) // List scoreboards of a contest ListScoreboardColumns(context.Context, *ListScoreboardColumnsInput) (*ListScoreboardColumnsOutput, error) ListActivities(context.Context, *ListActivitiesInput) (*ListActivitiesOutput, error) ScheduleAction(context.Context, *ScheduleActionInput) (*ScheduleActionOutput, error) UnscheduleAction(context.Context, *UnscheduleActionInput) (*UnscheduleActionOutput, error) ListScheduledActions(context.Context, *ListScheduledActionsInput) (*ListScheduledActionsOutput, error) }
RankerServer is the server API for Ranker service. All implementations should embed UnimplementedRankerServer for forward compatibility
type RankerService ¶
type RankerService struct {
// contains filtered or unexported fields
}
func NewRankerHttpClient ¶
func NewRankerHttpClient(url string, cli _RankerHttpClient) *RankerService
NewRankerHttpClient constructs client for Ranker
func (*RankerService) AddScoreboardColumn ¶
func (s *RankerService) AddScoreboardColumn(ctx context.Context, in *AddScoreboardColumnInput) (*AddScoreboardColumnOutput, error)
func (*RankerService) CreateScoreboard ¶
func (s *RankerService) CreateScoreboard(ctx context.Context, in *CreateScoreboardInput) (*CreateScoreboardOutput, error)
func (*RankerService) DeleteScoreboard ¶
func (s *RankerService) DeleteScoreboard(ctx context.Context, in *DeleteScoreboardInput) (*DeleteScoreboardOutput, error)
func (*RankerService) DeleteScoreboardColumn ¶
func (s *RankerService) DeleteScoreboardColumn(ctx context.Context, in *DeleteScoreboardColumnInput) (*DeleteScoreboardColumnOutput, error)
func (*RankerService) DescribeScoreboard ¶
func (s *RankerService) DescribeScoreboard(ctx context.Context, in *DescribeScoreboardInput) (*DescribeScoreboardOutput, error)
func (*RankerService) DescribeScoreboardColumn ¶
func (s *RankerService) DescribeScoreboardColumn(ctx context.Context, in *DescribeScoreboardColumnInput) (*DescribeScoreboardColumnOutput, error)
func (*RankerService) DescribeScoreboardRow ¶
func (s *RankerService) DescribeScoreboardRow(ctx context.Context, in *DescribeScoreboardRowInput) (*DescribeScoreboardRowOutput, error)
func (*RankerService) ListActivities ¶
func (s *RankerService) ListActivities(ctx context.Context, in *ListActivitiesInput) (*ListActivitiesOutput, error)
func (*RankerService) ListScheduledActions ¶
func (s *RankerService) ListScheduledActions(ctx context.Context, in *ListScheduledActionsInput) (*ListScheduledActionsOutput, error)
func (*RankerService) ListScoreboardColumns ¶
func (s *RankerService) ListScoreboardColumns(ctx context.Context, in *ListScoreboardColumnsInput) (*ListScoreboardColumnsOutput, error)
func (*RankerService) ListScoreboardRows ¶
func (s *RankerService) ListScoreboardRows(ctx context.Context, in *ListScoreboardRowsInput) (*ListScoreboardRowsOutput, error)
func (*RankerService) ListScoreboards ¶
func (s *RankerService) ListScoreboards(ctx context.Context, in *ListScoreboardsInput) (*ListScoreboardsOutput, error)
func (*RankerService) RebuildScoreboard ¶
func (s *RankerService) RebuildScoreboard(ctx context.Context, in *RebuildScoreboardInput) (*RebuildScoreboardOutput, error)
func (*RankerService) ScheduleAction ¶
func (s *RankerService) ScheduleAction(ctx context.Context, in *ScheduleActionInput) (*ScheduleActionOutput, error)
func (*RankerService) UnscheduleAction ¶
func (s *RankerService) UnscheduleAction(ctx context.Context, in *UnscheduleActionInput) (*UnscheduleActionOutput, error)
func (*RankerService) UpdateScoreboard ¶
func (s *RankerService) UpdateScoreboard(ctx context.Context, in *UpdateScoreboardInput) (*UpdateScoreboardOutput, error)
func (*RankerService) UpdateScoreboardColumn ¶
func (s *RankerService) UpdateScoreboardColumn(ctx context.Context, in *UpdateScoreboardColumnInput) (*UpdateScoreboardColumnOutput, error)
type RebuildScoreboardEvent ¶
type RebuildScoreboardEvent struct { SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` ScoreboardId string `protobuf:"bytes,2,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` ActivityId string `protobuf:"bytes,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` // contains filtered or unexported fields }
func (*RebuildScoreboardEvent) Descriptor
deprecated
func (*RebuildScoreboardEvent) Descriptor() ([]byte, []int)
Deprecated: Use RebuildScoreboardEvent.ProtoReflect.Descriptor instead.
func (*RebuildScoreboardEvent) GetActivityId ¶
func (x *RebuildScoreboardEvent) GetActivityId() string
func (*RebuildScoreboardEvent) GetScoreboardId ¶
func (x *RebuildScoreboardEvent) GetScoreboardId() string
func (*RebuildScoreboardEvent) GetSpaceId ¶
func (x *RebuildScoreboardEvent) GetSpaceId() string
func (*RebuildScoreboardEvent) ProtoMessage ¶
func (*RebuildScoreboardEvent) ProtoMessage()
func (*RebuildScoreboardEvent) ProtoReflect ¶
func (x *RebuildScoreboardEvent) ProtoReflect() protoreflect.Message
func (*RebuildScoreboardEvent) Reset ¶
func (x *RebuildScoreboardEvent) Reset()
func (*RebuildScoreboardEvent) String ¶
func (x *RebuildScoreboardEvent) String() string
type RebuildScoreboardInput ¶
type RebuildScoreboardInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` // contains filtered or unexported fields }
func (*RebuildScoreboardInput) Descriptor
deprecated
func (*RebuildScoreboardInput) Descriptor() ([]byte, []int)
Deprecated: Use RebuildScoreboardInput.ProtoReflect.Descriptor instead.
func (*RebuildScoreboardInput) GetScoreboardId ¶
func (x *RebuildScoreboardInput) GetScoreboardId() string
func (*RebuildScoreboardInput) ProtoMessage ¶
func (*RebuildScoreboardInput) ProtoMessage()
func (*RebuildScoreboardInput) ProtoReflect ¶
func (x *RebuildScoreboardInput) ProtoReflect() protoreflect.Message
func (*RebuildScoreboardInput) Reset ¶
func (x *RebuildScoreboardInput) Reset()
func (*RebuildScoreboardInput) String ¶
func (x *RebuildScoreboardInput) String() string
type RebuildScoreboardOutput ¶
type RebuildScoreboardOutput struct { ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` // contains filtered or unexported fields }
func (*RebuildScoreboardOutput) Descriptor
deprecated
func (*RebuildScoreboardOutput) Descriptor() ([]byte, []int)
Deprecated: Use RebuildScoreboardOutput.ProtoReflect.Descriptor instead.
func (*RebuildScoreboardOutput) GetActivityId ¶
func (x *RebuildScoreboardOutput) GetActivityId() string
func (*RebuildScoreboardOutput) ProtoMessage ¶
func (*RebuildScoreboardOutput) ProtoMessage()
func (*RebuildScoreboardOutput) ProtoReflect ¶
func (x *RebuildScoreboardOutput) ProtoReflect() protoreflect.Message
func (*RebuildScoreboardOutput) Reset ¶
func (x *RebuildScoreboardOutput) Reset()
func (*RebuildScoreboardOutput) String ¶
func (x *RebuildScoreboardOutput) String() string
type ScheduleActionInput ¶
type ScheduleActionInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` Action *Scoreboard_Action `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*ScheduleActionInput) Descriptor
deprecated
func (*ScheduleActionInput) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleActionInput.ProtoReflect.Descriptor instead.
func (*ScheduleActionInput) GetAction ¶
func (x *ScheduleActionInput) GetAction() *Scoreboard_Action
func (*ScheduleActionInput) GetScoreboardId ¶
func (x *ScheduleActionInput) GetScoreboardId() string
func (*ScheduleActionInput) ProtoMessage ¶
func (*ScheduleActionInput) ProtoMessage()
func (*ScheduleActionInput) ProtoReflect ¶
func (x *ScheduleActionInput) ProtoReflect() protoreflect.Message
func (*ScheduleActionInput) Reset ¶
func (x *ScheduleActionInput) Reset()
func (*ScheduleActionInput) String ¶
func (x *ScheduleActionInput) String() string
type ScheduleActionOutput ¶
type ScheduleActionOutput struct { ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // contains filtered or unexported fields }
func (*ScheduleActionOutput) Descriptor
deprecated
func (*ScheduleActionOutput) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleActionOutput.ProtoReflect.Descriptor instead.
func (*ScheduleActionOutput) GetActionId ¶
func (x *ScheduleActionOutput) GetActionId() string
func (*ScheduleActionOutput) ProtoMessage ¶
func (*ScheduleActionOutput) ProtoMessage()
func (*ScheduleActionOutput) ProtoReflect ¶
func (x *ScheduleActionOutput) ProtoReflect() protoreflect.Message
func (*ScheduleActionOutput) Reset ¶
func (x *ScheduleActionOutput) Reset()
func (*ScheduleActionOutput) String ¶
func (x *ScheduleActionOutput) String() string
type Scoreboard ¶
type Scoreboard struct { // Unique identifier. This field is readonly, it's assigned automatically when scoreboard is returned. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A user friendly identifier for the scoreboard, used as part of the domain name for the scoreboard. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // A user friendly name for the scoreboard. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Scoreboard will keep historical score data (ie. user can request score at specific point in time). // This flag must be set to true for scoreboard freezing to work. Historical bool `protobuf:"varint,7,opt,name=historical,proto3" json:"historical,omitempty"` // This flag means the scoreboard is currently frozen. Frozen bool `protobuf:"varint,20,opt,name=frozen,proto3" json:"frozen,omitempty"` FreezeAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=freeze_at,json=freezeAt,proto3" json:"freeze_at,omitempty"` FreezeIn uint32 `protobuf:"varint,22,opt,name=freeze_in,json=freezeIn,proto3" json:"freeze_in,omitempty"` UnfreezeAt *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=unfreeze_at,json=unfreezeAt,proto3" json:"unfreeze_at,omitempty"` UnfreezeIn uint32 `protobuf:"varint,24,opt,name=unfreeze_in,json=unfreezeIn,proto3" json:"unfreeze_in,omitempty"` // Column ID used to sort records by default and to calculate row ranking. DefaultSortColumn string `protobuf:"bytes,40,opt,name=default_sort_column,json=defaultSortColumn,proto3" json:"default_sort_column,omitempty"` // Sorting direction by default. DefaultSortOrder wellknown.Direction `` /* 145-byte string literal not displayed */ // Scoreboard format (IOI, ICPC). Can not be modified. Format Format `protobuf:"varint,10,opt,name=format,proto3,enum=eolymp.ranker.Format" json:"format,omitempty"` // contains filtered or unexported fields }
func (*Scoreboard) Descriptor
deprecated
func (*Scoreboard) Descriptor() ([]byte, []int)
Deprecated: Use Scoreboard.ProtoReflect.Descriptor instead.
func (*Scoreboard) GetDefaultSortColumn ¶
func (x *Scoreboard) GetDefaultSortColumn() string
func (*Scoreboard) GetDefaultSortOrder ¶
func (x *Scoreboard) GetDefaultSortOrder() wellknown.Direction
func (*Scoreboard) GetFormat ¶
func (x *Scoreboard) GetFormat() Format
func (*Scoreboard) GetFreezeAt ¶
func (x *Scoreboard) GetFreezeAt() *timestamppb.Timestamp
func (*Scoreboard) GetFreezeIn ¶
func (x *Scoreboard) GetFreezeIn() uint32
func (*Scoreboard) GetFrozen ¶
func (x *Scoreboard) GetFrozen() bool
func (*Scoreboard) GetHistorical ¶
func (x *Scoreboard) GetHistorical() bool
func (*Scoreboard) GetId ¶
func (x *Scoreboard) GetId() string
func (*Scoreboard) GetKey ¶
func (x *Scoreboard) GetKey() string
func (*Scoreboard) GetName ¶
func (x *Scoreboard) GetName() string
func (*Scoreboard) GetUnfreezeAt ¶
func (x *Scoreboard) GetUnfreezeAt() *timestamppb.Timestamp
func (*Scoreboard) GetUnfreezeIn ¶
func (x *Scoreboard) GetUnfreezeIn() uint32
func (*Scoreboard) ProtoMessage ¶
func (*Scoreboard) ProtoMessage()
func (*Scoreboard) ProtoReflect ¶
func (x *Scoreboard) ProtoReflect() protoreflect.Message
func (*Scoreboard) Reset ¶
func (x *Scoreboard) Reset()
func (*Scoreboard) String ¶
func (x *Scoreboard) String() string
type Scoreboard_Action ¶
type Scoreboard_Action struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ExecuteAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=execute_at,json=executeAt,proto3" json:"execute_at,omitempty"` Type Scoreboard_Action_Type `protobuf:"varint,3,opt,name=type,proto3,enum=eolymp.ranker.Scoreboard_Action_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Scoreboard_Action) Descriptor
deprecated
func (*Scoreboard_Action) Descriptor() ([]byte, []int)
Deprecated: Use Scoreboard_Action.ProtoReflect.Descriptor instead.
func (*Scoreboard_Action) GetExecuteAt ¶
func (x *Scoreboard_Action) GetExecuteAt() *timestamppb.Timestamp
func (*Scoreboard_Action) GetId ¶
func (x *Scoreboard_Action) GetId() string
func (*Scoreboard_Action) GetType ¶
func (x *Scoreboard_Action) GetType() Scoreboard_Action_Type
func (*Scoreboard_Action) ProtoMessage ¶
func (*Scoreboard_Action) ProtoMessage()
func (*Scoreboard_Action) ProtoReflect ¶
func (x *Scoreboard_Action) ProtoReflect() protoreflect.Message
func (*Scoreboard_Action) Reset ¶
func (x *Scoreboard_Action) Reset()
func (*Scoreboard_Action) String ¶
func (x *Scoreboard_Action) String() string
type Scoreboard_Action_Type ¶
type Scoreboard_Action_Type int32
const ( Scoreboard_Action_NONE Scoreboard_Action_Type = 0 Scoreboard_Action_FREEZE Scoreboard_Action_Type = 1 Scoreboard_Action_UNFREEZE Scoreboard_Action_Type = 2 )
func (Scoreboard_Action_Type) Descriptor ¶
func (Scoreboard_Action_Type) Descriptor() protoreflect.EnumDescriptor
func (Scoreboard_Action_Type) Enum ¶
func (x Scoreboard_Action_Type) Enum() *Scoreboard_Action_Type
func (Scoreboard_Action_Type) EnumDescriptor
deprecated
func (Scoreboard_Action_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scoreboard_Action_Type.Descriptor instead.
func (Scoreboard_Action_Type) Number ¶
func (x Scoreboard_Action_Type) Number() protoreflect.EnumNumber
func (Scoreboard_Action_Type) String ¶
func (x Scoreboard_Action_Type) String() string
func (Scoreboard_Action_Type) Type ¶
func (Scoreboard_Action_Type) Type() protoreflect.EnumType
type Scoreboard_Column ¶
type Scoreboard_Column struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` ShortName string `protobuf:"bytes,5,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` Type Scoreboard_Column_Type `protobuf:"varint,6,opt,name=type,proto3,enum=eolymp.ranker.Scoreboard_Column_Type" json:"type,omitempty"` Index uint32 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"` Visible bool `protobuf:"varint,8,opt,name=visible,proto3" json:"visible,omitempty"` Filterable bool `protobuf:"varint,9,opt,name=filterable,proto3" json:"filterable,omitempty"` Sortable bool `protobuf:"varint,10,opt,name=sortable,proto3" json:"sortable,omitempty"` JudgeContestId string `protobuf:"bytes,20,opt,name=judge_contest_id,json=judgeContestId,proto3" json:"judge_contest_id,omitempty"` JudgeProblemId string `protobuf:"bytes,21,opt,name=judge_problem_id,json=judgeProblemId,proto3" json:"judge_problem_id,omitempty"` CommunityAttributeKey string `` /* 127-byte string literal not displayed */ CommunityAttributeType string `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Scoreboard_Column) Descriptor
deprecated
func (*Scoreboard_Column) Descriptor() ([]byte, []int)
Deprecated: Use Scoreboard_Column.ProtoReflect.Descriptor instead.
func (*Scoreboard_Column) GetCommunityAttributeKey ¶
func (x *Scoreboard_Column) GetCommunityAttributeKey() string
func (*Scoreboard_Column) GetCommunityAttributeType ¶
func (x *Scoreboard_Column) GetCommunityAttributeType() string
func (*Scoreboard_Column) GetFilterable ¶
func (x *Scoreboard_Column) GetFilterable() bool
func (*Scoreboard_Column) GetId ¶
func (x *Scoreboard_Column) GetId() string
func (*Scoreboard_Column) GetIndex ¶
func (x *Scoreboard_Column) GetIndex() uint32
func (*Scoreboard_Column) GetJudgeContestId ¶
func (x *Scoreboard_Column) GetJudgeContestId() string
func (*Scoreboard_Column) GetJudgeProblemId ¶
func (x *Scoreboard_Column) GetJudgeProblemId() string
func (*Scoreboard_Column) GetKey ¶
func (x *Scoreboard_Column) GetKey() string
func (*Scoreboard_Column) GetName ¶
func (x *Scoreboard_Column) GetName() string
func (*Scoreboard_Column) GetParentId ¶
func (x *Scoreboard_Column) GetParentId() string
func (*Scoreboard_Column) GetShortName ¶
func (x *Scoreboard_Column) GetShortName() string
func (*Scoreboard_Column) GetSortable ¶
func (x *Scoreboard_Column) GetSortable() bool
func (*Scoreboard_Column) GetType ¶
func (x *Scoreboard_Column) GetType() Scoreboard_Column_Type
func (*Scoreboard_Column) GetVisible ¶
func (x *Scoreboard_Column) GetVisible() bool
func (*Scoreboard_Column) ProtoMessage ¶
func (*Scoreboard_Column) ProtoMessage()
func (*Scoreboard_Column) ProtoReflect ¶
func (x *Scoreboard_Column) ProtoReflect() protoreflect.Message
func (*Scoreboard_Column) Reset ¶
func (x *Scoreboard_Column) Reset()
func (*Scoreboard_Column) String ¶
func (x *Scoreboard_Column) String() string
type Scoreboard_Column_Type ¶
type Scoreboard_Column_Type int32
const ( Scoreboard_Column_NONE Scoreboard_Column_Type = 0 Scoreboard_Column_CONTEST Scoreboard_Column_Type = 1 Scoreboard_Column_PROBLEM Scoreboard_Column_Type = 2 Scoreboard_Column_ATTRIBUTE Scoreboard_Column_Type = 3 Scoreboard_Column_NAME Scoreboard_Column_Type = 4 Scoreboard_Column_TOTAL Scoreboard_Column_Type = 5 )
func (Scoreboard_Column_Type) Descriptor ¶
func (Scoreboard_Column_Type) Descriptor() protoreflect.EnumDescriptor
func (Scoreboard_Column_Type) Enum ¶
func (x Scoreboard_Column_Type) Enum() *Scoreboard_Column_Type
func (Scoreboard_Column_Type) EnumDescriptor
deprecated
func (Scoreboard_Column_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scoreboard_Column_Type.Descriptor instead.
func (Scoreboard_Column_Type) Number ¶
func (x Scoreboard_Column_Type) Number() protoreflect.EnumNumber
func (Scoreboard_Column_Type) String ¶
func (x Scoreboard_Column_Type) String() string
func (Scoreboard_Column_Type) Type ¶
func (Scoreboard_Column_Type) Type() protoreflect.EnumType
type Scoreboard_FetchingMode ¶
type Scoreboard_FetchingMode int32
const ( // Latest score returns the latest score recorded. This mode is intended for admins to see current scoreboard. // Users without admin permissions will get PermissionDenied error when requesting score in latest mode. Scoreboard_LATEST Scoreboard_FetchingMode = 0 // Punctual score returns score at particular moment, use time_offset parameter to specify time. This mode is // intended to show historical score at a given moment. Value will be capped by freeze time if user does not // have admin permissions. Scoreboard_PUNCTUAL Scoreboard_FetchingMode = 1 // Frozen score returns the latest score recorded before freezing time. This mode is intended for admins to see // frozen scoreboard. Scoreboard_FROZEN Scoreboard_FetchingMode = 2 // Upsolve score Scoreboard_UPSOLVE Scoreboard_FetchingMode = 3 )
func (Scoreboard_FetchingMode) Descriptor ¶
func (Scoreboard_FetchingMode) Descriptor() protoreflect.EnumDescriptor
func (Scoreboard_FetchingMode) Enum ¶
func (x Scoreboard_FetchingMode) Enum() *Scoreboard_FetchingMode
func (Scoreboard_FetchingMode) EnumDescriptor
deprecated
func (Scoreboard_FetchingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Scoreboard_FetchingMode.Descriptor instead.
func (Scoreboard_FetchingMode) Number ¶
func (x Scoreboard_FetchingMode) Number() protoreflect.EnumNumber
func (Scoreboard_FetchingMode) String ¶
func (x Scoreboard_FetchingMode) String() string
func (Scoreboard_FetchingMode) Type ¶
func (Scoreboard_FetchingMode) Type() protoreflect.EnumType
type Scoreboard_Row ¶
type Scoreboard_Row struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Row unique identifier Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Participant name (identifier). MemberId string `protobuf:"bytes,3,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // Member ID. Score float32 `protobuf:"fixed32,10,opt,name=score,proto3" json:"score,omitempty"` // Total score. Penalty float32 `protobuf:"fixed32,11,opt,name=penalty,proto3" json:"penalty,omitempty"` // Total penalty. Ghost bool `protobuf:"varint,40,opt,name=ghost,proto3" json:"ghost,omitempty"` Unofficial bool `protobuf:"varint,41,opt,name=unofficial,proto3" json:"unofficial,omitempty"` Rank uint32 `protobuf:"varint,30,opt,name=rank,proto3" json:"rank,omitempty"` // Rank in the scoreboard RankLower uint32 `protobuf:"varint,31,opt,name=rank_lower,json=rankLower,proto3" json:"rank_lower,omitempty"` // Lower bound of the rank (when shared) Values []*Scoreboard_Row_Value `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty"` // Score breakdown by contest and problem. // contains filtered or unexported fields }
func (*Scoreboard_Row) Descriptor
deprecated
func (*Scoreboard_Row) Descriptor() ([]byte, []int)
Deprecated: Use Scoreboard_Row.ProtoReflect.Descriptor instead.
func (*Scoreboard_Row) GetGhost ¶
func (x *Scoreboard_Row) GetGhost() bool
func (*Scoreboard_Row) GetId ¶
func (x *Scoreboard_Row) GetId() string
func (*Scoreboard_Row) GetMemberId ¶
func (x *Scoreboard_Row) GetMemberId() string
func (*Scoreboard_Row) GetName ¶
func (x *Scoreboard_Row) GetName() string
func (*Scoreboard_Row) GetPenalty ¶
func (x *Scoreboard_Row) GetPenalty() float32
func (*Scoreboard_Row) GetRank ¶
func (x *Scoreboard_Row) GetRank() uint32
func (*Scoreboard_Row) GetRankLower ¶
func (x *Scoreboard_Row) GetRankLower() uint32
func (*Scoreboard_Row) GetScore ¶
func (x *Scoreboard_Row) GetScore() float32
func (*Scoreboard_Row) GetUnofficial ¶
func (x *Scoreboard_Row) GetUnofficial() bool
func (*Scoreboard_Row) GetValues ¶
func (x *Scoreboard_Row) GetValues() []*Scoreboard_Row_Value
func (*Scoreboard_Row) ProtoMessage ¶
func (*Scoreboard_Row) ProtoMessage()
func (*Scoreboard_Row) ProtoReflect ¶
func (x *Scoreboard_Row) ProtoReflect() protoreflect.Message
func (*Scoreboard_Row) Reset ¶
func (x *Scoreboard_Row) Reset()
func (*Scoreboard_Row) String ¶
func (x *Scoreboard_Row) String() string
type Scoreboard_Row_Value ¶
type Scoreboard_Row_Value struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ColumnId string `protobuf:"bytes,2,opt,name=column_id,json=columnId,proto3" json:"column_id,omitempty"` // UNIX timestamp when this value was set (only populated, if scoreboard keeps historical data) ValidAfter uint32 `protobuf:"varint,31,opt,name=valid_after,json=validAfter,proto3" json:"valid_after,omitempty"` // UNIX timestamp when this value was overriden by newer value (only populated, if scoreboard keeps historical data) // if set to 0, means latest value ValidUntil uint32 `protobuf:"varint,32,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"` // score and related fields for CONTEST and PROBLEM columns. Score float32 `protobuf:"fixed32,10,opt,name=score,proto3" json:"score,omitempty"` Penalty float32 `protobuf:"fixed32,11,opt,name=penalty,proto3" json:"penalty,omitempty"` Percentage float32 `protobuf:"fixed32,12,opt,name=percentage,proto3" json:"percentage,omitempty"` // Percentage of points scored, from 0 to 1. Attempts uint32 `protobuf:"varint,13,opt,name=attempts,proto3" json:"attempts,omitempty"` // Number of attempts before problem was solved. SolvedIn uint32 `protobuf:"varint,14,opt,name=solved_in,json=solvedIn,proto3" json:"solved_in,omitempty"` // How much time it took to solve problem since beginning of the contest, in seconds. Upsolve bool `protobuf:"varint,40,opt,name=upsolve,proto3" json:"upsolve,omitempty"` // value for NAME and ATTRIBUTE columns. ValueString string `protobuf:"bytes,20,opt,name=value_string,json=valueString,proto3" json:"value_string,omitempty"` ValueNumber int32 `protobuf:"varint,21,opt,name=value_number,json=valueNumber,proto3" json:"value_number,omitempty"` // contains filtered or unexported fields }
func (*Scoreboard_Row_Value) Descriptor
deprecated
func (*Scoreboard_Row_Value) Descriptor() ([]byte, []int)
Deprecated: Use Scoreboard_Row_Value.ProtoReflect.Descriptor instead.
func (*Scoreboard_Row_Value) GetAttempts ¶
func (x *Scoreboard_Row_Value) GetAttempts() uint32
func (*Scoreboard_Row_Value) GetColumnId ¶
func (x *Scoreboard_Row_Value) GetColumnId() string
func (*Scoreboard_Row_Value) GetId ¶
func (x *Scoreboard_Row_Value) GetId() string
func (*Scoreboard_Row_Value) GetPenalty ¶
func (x *Scoreboard_Row_Value) GetPenalty() float32
func (*Scoreboard_Row_Value) GetPercentage ¶
func (x *Scoreboard_Row_Value) GetPercentage() float32
func (*Scoreboard_Row_Value) GetScore ¶
func (x *Scoreboard_Row_Value) GetScore() float32
func (*Scoreboard_Row_Value) GetSolvedIn ¶
func (x *Scoreboard_Row_Value) GetSolvedIn() uint32
func (*Scoreboard_Row_Value) GetUpsolve ¶
func (x *Scoreboard_Row_Value) GetUpsolve() bool
func (*Scoreboard_Row_Value) GetValidAfter ¶
func (x *Scoreboard_Row_Value) GetValidAfter() uint32
func (*Scoreboard_Row_Value) GetValidUntil ¶
func (x *Scoreboard_Row_Value) GetValidUntil() uint32
func (*Scoreboard_Row_Value) GetValueNumber ¶
func (x *Scoreboard_Row_Value) GetValueNumber() int32
func (*Scoreboard_Row_Value) GetValueString ¶
func (x *Scoreboard_Row_Value) GetValueString() string
func (*Scoreboard_Row_Value) ProtoMessage ¶
func (*Scoreboard_Row_Value) ProtoMessage()
func (*Scoreboard_Row_Value) ProtoReflect ¶
func (x *Scoreboard_Row_Value) ProtoReflect() protoreflect.Message
func (*Scoreboard_Row_Value) Reset ¶
func (x *Scoreboard_Row_Value) Reset()
func (*Scoreboard_Row_Value) String ¶
func (x *Scoreboard_Row_Value) String() string
type UnimplementedRankerServer ¶
type UnimplementedRankerServer struct { }
UnimplementedRankerServer should be embedded to have forward compatible implementations.
func (UnimplementedRankerServer) AddScoreboardColumn ¶
func (UnimplementedRankerServer) AddScoreboardColumn(context.Context, *AddScoreboardColumnInput) (*AddScoreboardColumnOutput, error)
func (UnimplementedRankerServer) CreateScoreboard ¶
func (UnimplementedRankerServer) CreateScoreboard(context.Context, *CreateScoreboardInput) (*CreateScoreboardOutput, error)
func (UnimplementedRankerServer) DeleteScoreboard ¶
func (UnimplementedRankerServer) DeleteScoreboard(context.Context, *DeleteScoreboardInput) (*DeleteScoreboardOutput, error)
func (UnimplementedRankerServer) DeleteScoreboardColumn ¶
func (UnimplementedRankerServer) DeleteScoreboardColumn(context.Context, *DeleteScoreboardColumnInput) (*DeleteScoreboardColumnOutput, error)
func (UnimplementedRankerServer) DescribeScoreboard ¶
func (UnimplementedRankerServer) DescribeScoreboard(context.Context, *DescribeScoreboardInput) (*DescribeScoreboardOutput, error)
func (UnimplementedRankerServer) DescribeScoreboardColumn ¶
func (UnimplementedRankerServer) DescribeScoreboardColumn(context.Context, *DescribeScoreboardColumnInput) (*DescribeScoreboardColumnOutput, error)
func (UnimplementedRankerServer) DescribeScoreboardRow ¶
func (UnimplementedRankerServer) DescribeScoreboardRow(context.Context, *DescribeScoreboardRowInput) (*DescribeScoreboardRowOutput, error)
func (UnimplementedRankerServer) ListActivities ¶
func (UnimplementedRankerServer) ListActivities(context.Context, *ListActivitiesInput) (*ListActivitiesOutput, error)
func (UnimplementedRankerServer) ListScheduledActions ¶
func (UnimplementedRankerServer) ListScheduledActions(context.Context, *ListScheduledActionsInput) (*ListScheduledActionsOutput, error)
func (UnimplementedRankerServer) ListScoreboardColumns ¶
func (UnimplementedRankerServer) ListScoreboardColumns(context.Context, *ListScoreboardColumnsInput) (*ListScoreboardColumnsOutput, error)
func (UnimplementedRankerServer) ListScoreboardRows ¶
func (UnimplementedRankerServer) ListScoreboardRows(context.Context, *ListScoreboardRowsInput) (*ListScoreboardRowsOutput, error)
func (UnimplementedRankerServer) ListScoreboards ¶
func (UnimplementedRankerServer) ListScoreboards(context.Context, *ListScoreboardsInput) (*ListScoreboardsOutput, error)
func (UnimplementedRankerServer) RebuildScoreboard ¶
func (UnimplementedRankerServer) RebuildScoreboard(context.Context, *RebuildScoreboardInput) (*RebuildScoreboardOutput, error)
func (UnimplementedRankerServer) ScheduleAction ¶
func (UnimplementedRankerServer) ScheduleAction(context.Context, *ScheduleActionInput) (*ScheduleActionOutput, error)
func (UnimplementedRankerServer) UnscheduleAction ¶
func (UnimplementedRankerServer) UnscheduleAction(context.Context, *UnscheduleActionInput) (*UnscheduleActionOutput, error)
func (UnimplementedRankerServer) UpdateScoreboard ¶
func (UnimplementedRankerServer) UpdateScoreboard(context.Context, *UpdateScoreboardInput) (*UpdateScoreboardOutput, error)
func (UnimplementedRankerServer) UpdateScoreboardColumn ¶
func (UnimplementedRankerServer) UpdateScoreboardColumn(context.Context, *UpdateScoreboardColumnInput) (*UpdateScoreboardColumnOutput, error)
type UnsafeRankerServer ¶
type UnsafeRankerServer interface {
// contains filtered or unexported methods
}
UnsafeRankerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RankerServer will result in compilation errors.
type UnscheduleActionInput ¶
type UnscheduleActionInput struct { ScoreboardId string `protobuf:"bytes,1,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` ActionId string `protobuf:"bytes,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // contains filtered or unexported fields }
func (*UnscheduleActionInput) Descriptor
deprecated
func (*UnscheduleActionInput) Descriptor() ([]byte, []int)
Deprecated: Use UnscheduleActionInput.ProtoReflect.Descriptor instead.
func (*UnscheduleActionInput) GetActionId ¶
func (x *UnscheduleActionInput) GetActionId() string
func (*UnscheduleActionInput) GetScoreboardId ¶
func (x *UnscheduleActionInput) GetScoreboardId() string
func (*UnscheduleActionInput) ProtoMessage ¶
func (*UnscheduleActionInput) ProtoMessage()
func (*UnscheduleActionInput) ProtoReflect ¶
func (x *UnscheduleActionInput) ProtoReflect() protoreflect.Message
func (*UnscheduleActionInput) Reset ¶
func (x *UnscheduleActionInput) Reset()
func (*UnscheduleActionInput) String ¶
func (x *UnscheduleActionInput) String() string
type UnscheduleActionOutput ¶
type UnscheduleActionOutput struct {
// contains filtered or unexported fields
}
func (*UnscheduleActionOutput) Descriptor
deprecated
func (*UnscheduleActionOutput) Descriptor() ([]byte, []int)
Deprecated: Use UnscheduleActionOutput.ProtoReflect.Descriptor instead.
func (*UnscheduleActionOutput) ProtoMessage ¶
func (*UnscheduleActionOutput) ProtoMessage()
func (*UnscheduleActionOutput) ProtoReflect ¶
func (x *UnscheduleActionOutput) ProtoReflect() protoreflect.Message
func (*UnscheduleActionOutput) Reset ¶
func (x *UnscheduleActionOutput) Reset()
func (*UnscheduleActionOutput) String ¶
func (x *UnscheduleActionOutput) String() string
type UpdateScoreboardColumnInput ¶
type UpdateScoreboardColumnInput struct { Patch []UpdateScoreboardColumnInput_Patch `protobuf:"varint,1,rep,packed,name=patch,proto3,enum=eolymp.ranker.UpdateScoreboardColumnInput_Patch" json:"patch,omitempty"` ScoreboardId string `protobuf:"bytes,2,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` ColumnId string `protobuf:"bytes,3,opt,name=column_id,json=columnId,proto3" json:"column_id,omitempty"` Column *Scoreboard_Column `protobuf:"bytes,4,opt,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
func (*UpdateScoreboardColumnInput) Descriptor
deprecated
func (*UpdateScoreboardColumnInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateScoreboardColumnInput.ProtoReflect.Descriptor instead.
func (*UpdateScoreboardColumnInput) GetColumn ¶
func (x *UpdateScoreboardColumnInput) GetColumn() *Scoreboard_Column
func (*UpdateScoreboardColumnInput) GetColumnId ¶
func (x *UpdateScoreboardColumnInput) GetColumnId() string
func (*UpdateScoreboardColumnInput) GetPatch ¶
func (x *UpdateScoreboardColumnInput) GetPatch() []UpdateScoreboardColumnInput_Patch
func (*UpdateScoreboardColumnInput) GetScoreboardId ¶
func (x *UpdateScoreboardColumnInput) GetScoreboardId() string
func (*UpdateScoreboardColumnInput) ProtoMessage ¶
func (*UpdateScoreboardColumnInput) ProtoMessage()
func (*UpdateScoreboardColumnInput) ProtoReflect ¶
func (x *UpdateScoreboardColumnInput) ProtoReflect() protoreflect.Message
func (*UpdateScoreboardColumnInput) Reset ¶
func (x *UpdateScoreboardColumnInput) Reset()
func (*UpdateScoreboardColumnInput) String ¶
func (x *UpdateScoreboardColumnInput) String() string
type UpdateScoreboardColumnInput_Patch ¶
type UpdateScoreboardColumnInput_Patch int32
const ( UpdateScoreboardColumnInput_ALL UpdateScoreboardColumnInput_Patch = 0 UpdateScoreboardColumnInput_PARENT_ID UpdateScoreboardColumnInput_Patch = 1 UpdateScoreboardColumnInput_KEY UpdateScoreboardColumnInput_Patch = 2 UpdateScoreboardColumnInput_NAME UpdateScoreboardColumnInput_Patch = 3 UpdateScoreboardColumnInput_SHORT_NAME UpdateScoreboardColumnInput_Patch = 4 UpdateScoreboardColumnInput_INDEX UpdateScoreboardColumnInput_Patch = 5 UpdateScoreboardColumnInput_VISIBLE UpdateScoreboardColumnInput_Patch = 6 UpdateScoreboardColumnInput_FILTERABLE UpdateScoreboardColumnInput_Patch = 7 UpdateScoreboardColumnInput_SORTABLE UpdateScoreboardColumnInput_Patch = 8 )
func (UpdateScoreboardColumnInput_Patch) Descriptor ¶
func (UpdateScoreboardColumnInput_Patch) Descriptor() protoreflect.EnumDescriptor
func (UpdateScoreboardColumnInput_Patch) Enum ¶
func (x UpdateScoreboardColumnInput_Patch) Enum() *UpdateScoreboardColumnInput_Patch
func (UpdateScoreboardColumnInput_Patch) EnumDescriptor
deprecated
func (UpdateScoreboardColumnInput_Patch) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateScoreboardColumnInput_Patch.Descriptor instead.
func (UpdateScoreboardColumnInput_Patch) Number ¶
func (x UpdateScoreboardColumnInput_Patch) Number() protoreflect.EnumNumber
func (UpdateScoreboardColumnInput_Patch) String ¶
func (x UpdateScoreboardColumnInput_Patch) String() string
func (UpdateScoreboardColumnInput_Patch) Type ¶
func (UpdateScoreboardColumnInput_Patch) Type() protoreflect.EnumType
type UpdateScoreboardColumnOutput ¶
type UpdateScoreboardColumnOutput struct {
// contains filtered or unexported fields
}
func (*UpdateScoreboardColumnOutput) Descriptor
deprecated
func (*UpdateScoreboardColumnOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateScoreboardColumnOutput.ProtoReflect.Descriptor instead.
func (*UpdateScoreboardColumnOutput) ProtoMessage ¶
func (*UpdateScoreboardColumnOutput) ProtoMessage()
func (*UpdateScoreboardColumnOutput) ProtoReflect ¶
func (x *UpdateScoreboardColumnOutput) ProtoReflect() protoreflect.Message
func (*UpdateScoreboardColumnOutput) Reset ¶
func (x *UpdateScoreboardColumnOutput) Reset()
func (*UpdateScoreboardColumnOutput) String ¶
func (x *UpdateScoreboardColumnOutput) String() string
type UpdateScoreboardInput ¶
type UpdateScoreboardInput struct { Patch []UpdateScoreboardInput_Patch `protobuf:"varint,1,rep,packed,name=patch,proto3,enum=eolymp.ranker.UpdateScoreboardInput_Patch" json:"patch,omitempty"` ScoreboardId string `protobuf:"bytes,2,opt,name=scoreboard_id,json=scoreboardId,proto3" json:"scoreboard_id,omitempty"` Scoreboard *Scoreboard `protobuf:"bytes,3,opt,name=scoreboard,proto3" json:"scoreboard,omitempty"` // contains filtered or unexported fields }
func (*UpdateScoreboardInput) Descriptor
deprecated
func (*UpdateScoreboardInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateScoreboardInput.ProtoReflect.Descriptor instead.
func (*UpdateScoreboardInput) GetPatch ¶
func (x *UpdateScoreboardInput) GetPatch() []UpdateScoreboardInput_Patch
func (*UpdateScoreboardInput) GetScoreboard ¶
func (x *UpdateScoreboardInput) GetScoreboard() *Scoreboard
func (*UpdateScoreboardInput) GetScoreboardId ¶
func (x *UpdateScoreboardInput) GetScoreboardId() string
func (*UpdateScoreboardInput) ProtoMessage ¶
func (*UpdateScoreboardInput) ProtoMessage()
func (*UpdateScoreboardInput) ProtoReflect ¶
func (x *UpdateScoreboardInput) ProtoReflect() protoreflect.Message
func (*UpdateScoreboardInput) Reset ¶
func (x *UpdateScoreboardInput) Reset()
func (*UpdateScoreboardInput) String ¶
func (x *UpdateScoreboardInput) String() string
type UpdateScoreboardInput_Patch ¶
type UpdateScoreboardInput_Patch int32
const ( UpdateScoreboardInput_ALL UpdateScoreboardInput_Patch = 0 UpdateScoreboardInput_KEY UpdateScoreboardInput_Patch = 1 UpdateScoreboardInput_NAME UpdateScoreboardInput_Patch = 2 UpdateScoreboardInput_DEFAULT_SORT UpdateScoreboardInput_Patch = 3 UpdateScoreboardInput_HISTORICAL UpdateScoreboardInput_Patch = 4 )
func (UpdateScoreboardInput_Patch) Descriptor ¶
func (UpdateScoreboardInput_Patch) Descriptor() protoreflect.EnumDescriptor
func (UpdateScoreboardInput_Patch) Enum ¶
func (x UpdateScoreboardInput_Patch) Enum() *UpdateScoreboardInput_Patch
func (UpdateScoreboardInput_Patch) EnumDescriptor
deprecated
func (UpdateScoreboardInput_Patch) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateScoreboardInput_Patch.Descriptor instead.
func (UpdateScoreboardInput_Patch) Number ¶
func (x UpdateScoreboardInput_Patch) Number() protoreflect.EnumNumber
func (UpdateScoreboardInput_Patch) String ¶
func (x UpdateScoreboardInput_Patch) String() string
func (UpdateScoreboardInput_Patch) Type ¶
func (UpdateScoreboardInput_Patch) Type() protoreflect.EnumType
type UpdateScoreboardOutput ¶
type UpdateScoreboardOutput struct {
// contains filtered or unexported fields
}
func (*UpdateScoreboardOutput) Descriptor
deprecated
func (*UpdateScoreboardOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateScoreboardOutput.ProtoReflect.Descriptor instead.
func (*UpdateScoreboardOutput) ProtoMessage ¶
func (*UpdateScoreboardOutput) ProtoMessage()
func (*UpdateScoreboardOutput) ProtoReflect ¶
func (x *UpdateScoreboardOutput) ProtoReflect() protoreflect.Message
func (*UpdateScoreboardOutput) Reset ¶
func (x *UpdateScoreboardOutput) Reset()
func (*UpdateScoreboardOutput) String ¶
func (x *UpdateScoreboardOutput) String() string