Documentation ¶
Overview ¶
Package podium_api_v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterPodiumHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPodiumHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PodiumClient) error
- func RegisterPodiumHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPodiumServer(s *grpc.Server, srv PodiumServer)
- type BulkUpsertScoresRequest
- func (*BulkUpsertScoresRequest) Descriptor() ([]byte, []int)
- func (m *BulkUpsertScoresRequest) GetLeaderboardId() string
- func (m *BulkUpsertScoresRequest) GetMemberScores() *BulkUpsertScoresRequest_MemberScores
- func (m *BulkUpsertScoresRequest) GetPrevRank() bool
- func (m *BulkUpsertScoresRequest) GetScoreTTL() int32
- func (*BulkUpsertScoresRequest) ProtoMessage()
- func (m *BulkUpsertScoresRequest) Reset()
- func (m *BulkUpsertScoresRequest) String() string
- func (m *BulkUpsertScoresRequest) XXX_DiscardUnknown()
- func (m *BulkUpsertScoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BulkUpsertScoresRequest) XXX_Merge(src proto.Message)
- func (m *BulkUpsertScoresRequest) XXX_Size() int
- func (m *BulkUpsertScoresRequest) XXX_Unmarshal(b []byte) error
- type BulkUpsertScoresRequest_MemberScore
- func (*BulkUpsertScoresRequest_MemberScore) Descriptor() ([]byte, []int)
- func (m *BulkUpsertScoresRequest_MemberScore) GetPublicID() string
- func (m *BulkUpsertScoresRequest_MemberScore) GetScore() float64
- func (*BulkUpsertScoresRequest_MemberScore) ProtoMessage()
- func (m *BulkUpsertScoresRequest_MemberScore) Reset()
- func (m *BulkUpsertScoresRequest_MemberScore) String() string
- func (m *BulkUpsertScoresRequest_MemberScore) XXX_DiscardUnknown()
- func (m *BulkUpsertScoresRequest_MemberScore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BulkUpsertScoresRequest_MemberScore) XXX_Merge(src proto.Message)
- func (m *BulkUpsertScoresRequest_MemberScore) XXX_Size() int
- func (m *BulkUpsertScoresRequest_MemberScore) XXX_Unmarshal(b []byte) error
- type BulkUpsertScoresRequest_MemberScores
- func (*BulkUpsertScoresRequest_MemberScores) Descriptor() ([]byte, []int)
- func (m *BulkUpsertScoresRequest_MemberScores) GetMembers() []*BulkUpsertScoresRequest_MemberScore
- func (*BulkUpsertScoresRequest_MemberScores) ProtoMessage()
- func (m *BulkUpsertScoresRequest_MemberScores) Reset()
- func (m *BulkUpsertScoresRequest_MemberScores) String() string
- func (m *BulkUpsertScoresRequest_MemberScores) XXX_DiscardUnknown()
- func (m *BulkUpsertScoresRequest_MemberScores) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BulkUpsertScoresRequest_MemberScores) XXX_Merge(src proto.Message)
- func (m *BulkUpsertScoresRequest_MemberScores) XXX_Size() int
- func (m *BulkUpsertScoresRequest_MemberScores) XXX_Unmarshal(b []byte) error
- type BulkUpsertScoresResponse
- func (*BulkUpsertScoresResponse) Descriptor() ([]byte, []int)
- func (m *BulkUpsertScoresResponse) GetMembers() []*BulkUpsertScoresResponse_Member
- func (m *BulkUpsertScoresResponse) GetSuccess() bool
- func (*BulkUpsertScoresResponse) ProtoMessage()
- func (m *BulkUpsertScoresResponse) Reset()
- func (m *BulkUpsertScoresResponse) String() string
- func (m *BulkUpsertScoresResponse) XXX_DiscardUnknown()
- func (m *BulkUpsertScoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BulkUpsertScoresResponse) XXX_Merge(src proto.Message)
- func (m *BulkUpsertScoresResponse) XXX_Size() int
- func (m *BulkUpsertScoresResponse) XXX_Unmarshal(b []byte) error
- type BulkUpsertScoresResponse_Member
- func (*BulkUpsertScoresResponse_Member) Descriptor() ([]byte, []int)
- func (m *BulkUpsertScoresResponse_Member) GetExpireAt() int32
- func (m *BulkUpsertScoresResponse_Member) GetPreviousRank() int32
- func (m *BulkUpsertScoresResponse_Member) GetPublicID() string
- func (m *BulkUpsertScoresResponse_Member) GetRank() int32
- func (m *BulkUpsertScoresResponse_Member) GetScore() float64
- func (*BulkUpsertScoresResponse_Member) ProtoMessage()
- func (m *BulkUpsertScoresResponse_Member) Reset()
- func (m *BulkUpsertScoresResponse_Member) String() string
- func (m *BulkUpsertScoresResponse_Member) XXX_DiscardUnknown()
- func (m *BulkUpsertScoresResponse_Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BulkUpsertScoresResponse_Member) XXX_Merge(src proto.Message)
- func (m *BulkUpsertScoresResponse_Member) XXX_Size() int
- func (m *BulkUpsertScoresResponse_Member) XXX_Unmarshal(b []byte) error
- type GetAroundMemberRequest
- func (*GetAroundMemberRequest) Descriptor() ([]byte, []int)
- func (m *GetAroundMemberRequest) GetGetLastIfNotFound() bool
- func (m *GetAroundMemberRequest) GetLeaderboardId() string
- func (m *GetAroundMemberRequest) GetMemberPublicId() string
- func (m *GetAroundMemberRequest) GetOrder() string
- func (m *GetAroundMemberRequest) GetPageSize() int32
- func (*GetAroundMemberRequest) ProtoMessage()
- func (m *GetAroundMemberRequest) Reset()
- func (m *GetAroundMemberRequest) String() string
- func (m *GetAroundMemberRequest) XXX_DiscardUnknown()
- func (m *GetAroundMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAroundMemberRequest) XXX_Merge(src proto.Message)
- func (m *GetAroundMemberRequest) XXX_Size() int
- func (m *GetAroundMemberRequest) XXX_Unmarshal(b []byte) error
- type GetAroundMemberResponse
- func (*GetAroundMemberResponse) Descriptor() ([]byte, []int)
- func (m *GetAroundMemberResponse) GetMembers() []*Member
- func (m *GetAroundMemberResponse) GetSuccess() bool
- func (*GetAroundMemberResponse) ProtoMessage()
- func (m *GetAroundMemberResponse) Reset()
- func (m *GetAroundMemberResponse) String() string
- func (m *GetAroundMemberResponse) XXX_DiscardUnknown()
- func (m *GetAroundMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAroundMemberResponse) XXX_Merge(src proto.Message)
- func (m *GetAroundMemberResponse) XXX_Size() int
- func (m *GetAroundMemberResponse) XXX_Unmarshal(b []byte) error
- type GetAroundScoreRequest
- func (*GetAroundScoreRequest) Descriptor() ([]byte, []int)
- func (m *GetAroundScoreRequest) GetLeaderboardId() string
- func (m *GetAroundScoreRequest) GetOrder() string
- func (m *GetAroundScoreRequest) GetPageSize() int32
- func (m *GetAroundScoreRequest) GetScore() float64
- func (*GetAroundScoreRequest) ProtoMessage()
- func (m *GetAroundScoreRequest) Reset()
- func (m *GetAroundScoreRequest) String() string
- func (m *GetAroundScoreRequest) XXX_DiscardUnknown()
- func (m *GetAroundScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAroundScoreRequest) XXX_Merge(src proto.Message)
- func (m *GetAroundScoreRequest) XXX_Size() int
- func (m *GetAroundScoreRequest) XXX_Unmarshal(b []byte) error
- type GetAroundScoreResponse
- func (*GetAroundScoreResponse) Descriptor() ([]byte, []int)
- func (m *GetAroundScoreResponse) GetMembers() []*Member
- func (m *GetAroundScoreResponse) GetSuccess() bool
- func (*GetAroundScoreResponse) ProtoMessage()
- func (m *GetAroundScoreResponse) Reset()
- func (m *GetAroundScoreResponse) String() string
- func (m *GetAroundScoreResponse) XXX_DiscardUnknown()
- func (m *GetAroundScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAroundScoreResponse) XXX_Merge(src proto.Message)
- func (m *GetAroundScoreResponse) XXX_Size() int
- func (m *GetAroundScoreResponse) XXX_Unmarshal(b []byte) error
- type GetMemberRequest
- func (*GetMemberRequest) Descriptor() ([]byte, []int)
- func (m *GetMemberRequest) GetLeaderboardId() string
- func (m *GetMemberRequest) GetMemberPublicId() string
- func (m *GetMemberRequest) GetOrder() string
- func (m *GetMemberRequest) GetScoreTTL() bool
- func (*GetMemberRequest) ProtoMessage()
- func (m *GetMemberRequest) Reset()
- func (m *GetMemberRequest) String() string
- func (m *GetMemberRequest) XXX_DiscardUnknown()
- func (m *GetMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMemberRequest) XXX_Merge(src proto.Message)
- func (m *GetMemberRequest) XXX_Size() int
- func (m *GetMemberRequest) XXX_Unmarshal(b []byte) error
- type GetMemberResponse
- func (*GetMemberResponse) Descriptor() ([]byte, []int)
- func (m *GetMemberResponse) GetExpireAt() int32
- func (m *GetMemberResponse) GetPreviousRank() int32
- func (m *GetMemberResponse) GetPublicID() string
- func (m *GetMemberResponse) GetRank() int32
- func (m *GetMemberResponse) GetScore() float64
- func (m *GetMemberResponse) GetSuccess() bool
- func (*GetMemberResponse) ProtoMessage()
- func (m *GetMemberResponse) Reset()
- func (m *GetMemberResponse) String() string
- func (m *GetMemberResponse) XXX_DiscardUnknown()
- func (m *GetMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMemberResponse) XXX_Merge(src proto.Message)
- func (m *GetMemberResponse) XXX_Size() int
- func (m *GetMemberResponse) XXX_Unmarshal(b []byte) error
- type GetMembersRequest
- func (*GetMembersRequest) Descriptor() ([]byte, []int)
- func (m *GetMembersRequest) GetIds() string
- func (m *GetMembersRequest) GetLeaderboardId() string
- func (m *GetMembersRequest) GetOrder() string
- func (m *GetMembersRequest) GetScoreTTL() bool
- func (*GetMembersRequest) ProtoMessage()
- func (m *GetMembersRequest) Reset()
- func (m *GetMembersRequest) String() string
- func (m *GetMembersRequest) XXX_DiscardUnknown()
- func (m *GetMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMembersRequest) XXX_Merge(src proto.Message)
- func (m *GetMembersRequest) XXX_Size() int
- func (m *GetMembersRequest) XXX_Unmarshal(b []byte) error
- type GetMembersResponse
- func (*GetMembersResponse) Descriptor() ([]byte, []int)
- func (m *GetMembersResponse) GetMembers() []*GetMembersResponse_Member
- func (m *GetMembersResponse) GetNotFound() []string
- func (m *GetMembersResponse) GetSuccess() bool
- func (*GetMembersResponse) ProtoMessage()
- func (m *GetMembersResponse) Reset()
- func (m *GetMembersResponse) String() string
- func (m *GetMembersResponse) XXX_DiscardUnknown()
- func (m *GetMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMembersResponse) XXX_Merge(src proto.Message)
- func (m *GetMembersResponse) XXX_Size() int
- func (m *GetMembersResponse) XXX_Unmarshal(b []byte) error
- type GetMembersResponse_Member
- func (*GetMembersResponse_Member) Descriptor() ([]byte, []int)
- func (m *GetMembersResponse_Member) GetExpireAt() int32
- func (m *GetMembersResponse_Member) GetPosition() int32
- func (m *GetMembersResponse_Member) GetPublicID() string
- func (m *GetMembersResponse_Member) GetRank() int32
- func (m *GetMembersResponse_Member) GetScore() float64
- func (*GetMembersResponse_Member) ProtoMessage()
- func (m *GetMembersResponse_Member) Reset()
- func (m *GetMembersResponse_Member) String() string
- func (m *GetMembersResponse_Member) XXX_DiscardUnknown()
- func (m *GetMembersResponse_Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMembersResponse_Member) XXX_Merge(src proto.Message)
- func (m *GetMembersResponse_Member) XXX_Size() int
- func (m *GetMembersResponse_Member) XXX_Unmarshal(b []byte) error
- type GetRankMultiLeaderboardsRequest
- func (*GetRankMultiLeaderboardsRequest) Descriptor() ([]byte, []int)
- func (m *GetRankMultiLeaderboardsRequest) GetLeaderboardIds() string
- func (m *GetRankMultiLeaderboardsRequest) GetMemberPublicId() string
- func (m *GetRankMultiLeaderboardsRequest) GetOrder() string
- func (m *GetRankMultiLeaderboardsRequest) GetScoreTTL() bool
- func (*GetRankMultiLeaderboardsRequest) ProtoMessage()
- func (m *GetRankMultiLeaderboardsRequest) Reset()
- func (m *GetRankMultiLeaderboardsRequest) String() string
- func (m *GetRankMultiLeaderboardsRequest) XXX_DiscardUnknown()
- func (m *GetRankMultiLeaderboardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRankMultiLeaderboardsRequest) XXX_Merge(src proto.Message)
- func (m *GetRankMultiLeaderboardsRequest) XXX_Size() int
- func (m *GetRankMultiLeaderboardsRequest) XXX_Unmarshal(b []byte) error
- type GetRankMultiLeaderboardsResponse
- func (*GetRankMultiLeaderboardsResponse) Descriptor() ([]byte, []int)
- func (m *GetRankMultiLeaderboardsResponse) GetScores() []*GetRankMultiLeaderboardsResponse_Member
- func (m *GetRankMultiLeaderboardsResponse) GetSuccess() bool
- func (*GetRankMultiLeaderboardsResponse) ProtoMessage()
- func (m *GetRankMultiLeaderboardsResponse) Reset()
- func (m *GetRankMultiLeaderboardsResponse) String() string
- func (m *GetRankMultiLeaderboardsResponse) XXX_DiscardUnknown()
- func (m *GetRankMultiLeaderboardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRankMultiLeaderboardsResponse) XXX_Merge(src proto.Message)
- func (m *GetRankMultiLeaderboardsResponse) XXX_Size() int
- func (m *GetRankMultiLeaderboardsResponse) XXX_Unmarshal(b []byte) error
- type GetRankMultiLeaderboardsResponse_Member
- func (*GetRankMultiLeaderboardsResponse_Member) Descriptor() ([]byte, []int)
- func (m *GetRankMultiLeaderboardsResponse_Member) GetExpireAt() int32
- func (m *GetRankMultiLeaderboardsResponse_Member) GetLeaderboardID() string
- func (m *GetRankMultiLeaderboardsResponse_Member) GetRank() int32
- func (m *GetRankMultiLeaderboardsResponse_Member) GetScore() float64
- func (*GetRankMultiLeaderboardsResponse_Member) ProtoMessage()
- func (m *GetRankMultiLeaderboardsResponse_Member) Reset()
- func (m *GetRankMultiLeaderboardsResponse_Member) String() string
- func (m *GetRankMultiLeaderboardsResponse_Member) XXX_DiscardUnknown()
- func (m *GetRankMultiLeaderboardsResponse_Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRankMultiLeaderboardsResponse_Member) XXX_Merge(src proto.Message)
- func (m *GetRankMultiLeaderboardsResponse_Member) XXX_Size() int
- func (m *GetRankMultiLeaderboardsResponse_Member) XXX_Unmarshal(b []byte) error
- type GetRankRequest
- func (*GetRankRequest) Descriptor() ([]byte, []int)
- func (m *GetRankRequest) GetLeaderboardId() string
- func (m *GetRankRequest) GetMemberPublicId() string
- func (m *GetRankRequest) GetOrder() string
- func (*GetRankRequest) ProtoMessage()
- func (m *GetRankRequest) Reset()
- func (m *GetRankRequest) String() string
- func (m *GetRankRequest) XXX_DiscardUnknown()
- func (m *GetRankRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRankRequest) XXX_Merge(src proto.Message)
- func (m *GetRankRequest) XXX_Size() int
- func (m *GetRankRequest) XXX_Unmarshal(b []byte) error
- type GetRankResponse
- func (*GetRankResponse) Descriptor() ([]byte, []int)
- func (m *GetRankResponse) GetPublicID() string
- func (m *GetRankResponse) GetRank() int32
- func (m *GetRankResponse) GetSuccess() bool
- func (*GetRankResponse) ProtoMessage()
- func (m *GetRankResponse) Reset()
- func (m *GetRankResponse) String() string
- func (m *GetRankResponse) XXX_DiscardUnknown()
- func (m *GetRankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRankResponse) XXX_Merge(src proto.Message)
- func (m *GetRankResponse) XXX_Size() int
- func (m *GetRankResponse) XXX_Unmarshal(b []byte) error
- type GetTopMembersRequest
- func (*GetTopMembersRequest) Descriptor() ([]byte, []int)
- func (m *GetTopMembersRequest) GetLeaderboardId() string
- func (m *GetTopMembersRequest) GetOrder() string
- func (m *GetTopMembersRequest) GetPageNumber() int32
- func (m *GetTopMembersRequest) GetPageSize() int32
- func (*GetTopMembersRequest) ProtoMessage()
- func (m *GetTopMembersRequest) Reset()
- func (m *GetTopMembersRequest) String() string
- func (m *GetTopMembersRequest) XXX_DiscardUnknown()
- func (m *GetTopMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTopMembersRequest) XXX_Merge(src proto.Message)
- func (m *GetTopMembersRequest) XXX_Size() int
- func (m *GetTopMembersRequest) XXX_Unmarshal(b []byte) error
- type GetTopMembersResponse
- func (*GetTopMembersResponse) Descriptor() ([]byte, []int)
- func (m *GetTopMembersResponse) GetMembers() []*Member
- func (m *GetTopMembersResponse) GetSuccess() bool
- func (*GetTopMembersResponse) ProtoMessage()
- func (m *GetTopMembersResponse) Reset()
- func (m *GetTopMembersResponse) String() string
- func (m *GetTopMembersResponse) XXX_DiscardUnknown()
- func (m *GetTopMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTopMembersResponse) XXX_Merge(src proto.Message)
- func (m *GetTopMembersResponse) XXX_Size() int
- func (m *GetTopMembersResponse) XXX_Unmarshal(b []byte) error
- type GetTopPercentageRequest
- func (*GetTopPercentageRequest) Descriptor() ([]byte, []int)
- func (m *GetTopPercentageRequest) GetLeaderboardId() string
- func (m *GetTopPercentageRequest) GetOrder() string
- func (m *GetTopPercentageRequest) GetPercentage() int32
- func (*GetTopPercentageRequest) ProtoMessage()
- func (m *GetTopPercentageRequest) Reset()
- func (m *GetTopPercentageRequest) String() string
- func (m *GetTopPercentageRequest) XXX_DiscardUnknown()
- func (m *GetTopPercentageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTopPercentageRequest) XXX_Merge(src proto.Message)
- func (m *GetTopPercentageRequest) XXX_Size() int
- func (m *GetTopPercentageRequest) XXX_Unmarshal(b []byte) error
- type GetTopPercentageResponse
- func (*GetTopPercentageResponse) Descriptor() ([]byte, []int)
- func (m *GetTopPercentageResponse) GetMembers() []*Member
- func (m *GetTopPercentageResponse) GetSuccess() bool
- func (*GetTopPercentageResponse) ProtoMessage()
- func (m *GetTopPercentageResponse) Reset()
- func (m *GetTopPercentageResponse) String() string
- func (m *GetTopPercentageResponse) XXX_DiscardUnknown()
- func (m *GetTopPercentageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTopPercentageResponse) XXX_Merge(src proto.Message)
- func (m *GetTopPercentageResponse) XXX_Size() int
- func (m *GetTopPercentageResponse) XXX_Unmarshal(b []byte) error
- type HealthCheckRequest
- func (*HealthCheckRequest) Descriptor() ([]byte, []int)
- func (*HealthCheckRequest) ProtoMessage()
- func (m *HealthCheckRequest) Reset()
- func (m *HealthCheckRequest) String() string
- func (m *HealthCheckRequest) XXX_DiscardUnknown()
- func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheckRequest) XXX_Merge(src proto.Message)
- func (m *HealthCheckRequest) XXX_Size() int
- func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)
- func (m *HealthCheckResponse) GetWorkingString() string
- func (*HealthCheckResponse) ProtoMessage()
- func (m *HealthCheckResponse) Reset()
- func (m *HealthCheckResponse) String() string
- func (m *HealthCheckResponse) XXX_DiscardUnknown()
- func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheckResponse) XXX_Merge(src proto.Message)
- func (m *HealthCheckResponse) XXX_Size() int
- func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error
- type IncrementScoreRequest
- func (*IncrementScoreRequest) Descriptor() ([]byte, []int)
- func (m *IncrementScoreRequest) GetBody() *IncrementScoreRequest_Body
- func (m *IncrementScoreRequest) GetLeaderboardId() string
- func (m *IncrementScoreRequest) GetMemberPublicId() string
- func (m *IncrementScoreRequest) GetScoreTTL() int32
- func (*IncrementScoreRequest) ProtoMessage()
- func (m *IncrementScoreRequest) Reset()
- func (m *IncrementScoreRequest) String() string
- func (m *IncrementScoreRequest) XXX_DiscardUnknown()
- func (m *IncrementScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncrementScoreRequest) XXX_Merge(src proto.Message)
- func (m *IncrementScoreRequest) XXX_Size() int
- func (m *IncrementScoreRequest) XXX_Unmarshal(b []byte) error
- type IncrementScoreRequest_Body
- func (*IncrementScoreRequest_Body) Descriptor() ([]byte, []int)
- func (m *IncrementScoreRequest_Body) GetIncrement() float64
- func (*IncrementScoreRequest_Body) ProtoMessage()
- func (m *IncrementScoreRequest_Body) Reset()
- func (m *IncrementScoreRequest_Body) String() string
- func (m *IncrementScoreRequest_Body) XXX_DiscardUnknown()
- func (m *IncrementScoreRequest_Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncrementScoreRequest_Body) XXX_Merge(src proto.Message)
- func (m *IncrementScoreRequest_Body) XXX_Size() int
- func (m *IncrementScoreRequest_Body) XXX_Unmarshal(b []byte) error
- type IncrementScoreResponse
- func (*IncrementScoreResponse) Descriptor() ([]byte, []int)
- func (m *IncrementScoreResponse) GetExpireAt() int32
- func (m *IncrementScoreResponse) GetPreviousRank() int32
- func (m *IncrementScoreResponse) GetPublicID() string
- func (m *IncrementScoreResponse) GetRank() int32
- func (m *IncrementScoreResponse) GetScore() float64
- func (m *IncrementScoreResponse) GetSuccess() bool
- func (*IncrementScoreResponse) ProtoMessage()
- func (m *IncrementScoreResponse) Reset()
- func (m *IncrementScoreResponse) String() string
- func (m *IncrementScoreResponse) XXX_DiscardUnknown()
- func (m *IncrementScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncrementScoreResponse) XXX_Merge(src proto.Message)
- func (m *IncrementScoreResponse) XXX_Size() int
- func (m *IncrementScoreResponse) XXX_Unmarshal(b []byte) error
- type Member
- func (*Member) Descriptor() ([]byte, []int)
- func (m *Member) GetPublicID() string
- func (m *Member) GetRank() int32
- func (m *Member) GetScore() float64
- func (*Member) ProtoMessage()
- func (m *Member) Reset()
- func (m *Member) String() string
- func (m *Member) XXX_DiscardUnknown()
- func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Member) XXX_Merge(src proto.Message)
- func (m *Member) XXX_Size() int
- func (m *Member) XXX_Unmarshal(b []byte) error
- type PodiumClient
- type PodiumServer
- type RemoveLeaderboardRequest
- func (*RemoveLeaderboardRequest) Descriptor() ([]byte, []int)
- func (m *RemoveLeaderboardRequest) GetLeaderboardId() string
- func (*RemoveLeaderboardRequest) ProtoMessage()
- func (m *RemoveLeaderboardRequest) Reset()
- func (m *RemoveLeaderboardRequest) String() string
- func (m *RemoveLeaderboardRequest) XXX_DiscardUnknown()
- func (m *RemoveLeaderboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveLeaderboardRequest) XXX_Merge(src proto.Message)
- func (m *RemoveLeaderboardRequest) XXX_Size() int
- func (m *RemoveLeaderboardRequest) XXX_Unmarshal(b []byte) error
- type RemoveLeaderboardResponse
- func (*RemoveLeaderboardResponse) Descriptor() ([]byte, []int)
- func (m *RemoveLeaderboardResponse) GetReason() string
- func (m *RemoveLeaderboardResponse) GetSuccess() bool
- func (*RemoveLeaderboardResponse) ProtoMessage()
- func (m *RemoveLeaderboardResponse) Reset()
- func (m *RemoveLeaderboardResponse) String() string
- func (m *RemoveLeaderboardResponse) XXX_DiscardUnknown()
- func (m *RemoveLeaderboardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveLeaderboardResponse) XXX_Merge(src proto.Message)
- func (m *RemoveLeaderboardResponse) XXX_Size() int
- func (m *RemoveLeaderboardResponse) XXX_Unmarshal(b []byte) error
- type RemoveMemberRequest
- func (*RemoveMemberRequest) Descriptor() ([]byte, []int)
- func (m *RemoveMemberRequest) GetLeaderboardId() string
- func (m *RemoveMemberRequest) GetMemberPublicId() string
- func (*RemoveMemberRequest) ProtoMessage()
- func (m *RemoveMemberRequest) Reset()
- func (m *RemoveMemberRequest) String() string
- func (m *RemoveMemberRequest) XXX_DiscardUnknown()
- func (m *RemoveMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveMemberRequest) XXX_Merge(src proto.Message)
- func (m *RemoveMemberRequest) XXX_Size() int
- func (m *RemoveMemberRequest) XXX_Unmarshal(b []byte) error
- type RemoveMemberResponse
- func (*RemoveMemberResponse) Descriptor() ([]byte, []int)
- func (m *RemoveMemberResponse) GetReason() string
- func (m *RemoveMemberResponse) GetSuccess() bool
- func (*RemoveMemberResponse) ProtoMessage()
- func (m *RemoveMemberResponse) Reset()
- func (m *RemoveMemberResponse) String() string
- func (m *RemoveMemberResponse) XXX_DiscardUnknown()
- func (m *RemoveMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveMemberResponse) XXX_Merge(src proto.Message)
- func (m *RemoveMemberResponse) XXX_Size() int
- func (m *RemoveMemberResponse) XXX_Unmarshal(b []byte) error
- type RemoveMembersRequest
- func (*RemoveMembersRequest) Descriptor() ([]byte, []int)
- func (m *RemoveMembersRequest) GetIds() string
- func (m *RemoveMembersRequest) GetLeaderboardId() string
- func (*RemoveMembersRequest) ProtoMessage()
- func (m *RemoveMembersRequest) Reset()
- func (m *RemoveMembersRequest) String() string
- func (m *RemoveMembersRequest) XXX_DiscardUnknown()
- func (m *RemoveMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveMembersRequest) XXX_Merge(src proto.Message)
- func (m *RemoveMembersRequest) XXX_Size() int
- func (m *RemoveMembersRequest) XXX_Unmarshal(b []byte) error
- type RemoveMembersResponse
- func (*RemoveMembersResponse) Descriptor() ([]byte, []int)
- func (m *RemoveMembersResponse) GetReason() string
- func (m *RemoveMembersResponse) GetSuccess() bool
- func (*RemoveMembersResponse) ProtoMessage()
- func (m *RemoveMembersResponse) Reset()
- func (m *RemoveMembersResponse) String() string
- func (m *RemoveMembersResponse) XXX_DiscardUnknown()
- func (m *RemoveMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveMembersResponse) XXX_Merge(src proto.Message)
- func (m *RemoveMembersResponse) XXX_Size() int
- func (m *RemoveMembersResponse) XXX_Unmarshal(b []byte) error
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)
- func (m *StatusResponse) GetErrorRate() float64
- func (*StatusResponse) ProtoMessage()
- func (m *StatusResponse) Reset()
- func (m *StatusResponse) String() string
- func (m *StatusResponse) XXX_DiscardUnknown()
- func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse) XXX_Merge(src proto.Message)
- func (m *StatusResponse) XXX_Size() int
- func (m *StatusResponse) XXX_Unmarshal(b []byte) error
- type TotalMembersRequest
- func (*TotalMembersRequest) Descriptor() ([]byte, []int)
- func (m *TotalMembersRequest) GetLeaderboardId() string
- func (*TotalMembersRequest) ProtoMessage()
- func (m *TotalMembersRequest) Reset()
- func (m *TotalMembersRequest) String() string
- func (m *TotalMembersRequest) XXX_DiscardUnknown()
- func (m *TotalMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalMembersRequest) XXX_Merge(src proto.Message)
- func (m *TotalMembersRequest) XXX_Size() int
- func (m *TotalMembersRequest) XXX_Unmarshal(b []byte) error
- type TotalMembersResponse
- func (*TotalMembersResponse) Descriptor() ([]byte, []int)
- func (m *TotalMembersResponse) GetCount() int32
- func (m *TotalMembersResponse) GetSuccess() bool
- func (*TotalMembersResponse) ProtoMessage()
- func (m *TotalMembersResponse) Reset()
- func (m *TotalMembersResponse) String() string
- func (m *TotalMembersResponse) XXX_DiscardUnknown()
- func (m *TotalMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalMembersResponse) XXX_Merge(src proto.Message)
- func (m *TotalMembersResponse) XXX_Size() int
- func (m *TotalMembersResponse) XXX_Unmarshal(b []byte) error
- type UpsertScoreMultiLeaderboardsRequest
- func (*UpsertScoreMultiLeaderboardsRequest) Descriptor() ([]byte, []int)
- func (m *UpsertScoreMultiLeaderboardsRequest) GetMemberPublicId() string
- func (m *UpsertScoreMultiLeaderboardsRequest) GetPrevRank() bool
- func (m *UpsertScoreMultiLeaderboardsRequest) GetScoreMultiChange() *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange
- func (m *UpsertScoreMultiLeaderboardsRequest) GetScoreTTL() int32
- func (*UpsertScoreMultiLeaderboardsRequest) ProtoMessage()
- func (m *UpsertScoreMultiLeaderboardsRequest) Reset()
- func (m *UpsertScoreMultiLeaderboardsRequest) String() string
- func (m *UpsertScoreMultiLeaderboardsRequest) XXX_DiscardUnknown()
- func (m *UpsertScoreMultiLeaderboardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertScoreMultiLeaderboardsRequest) XXX_Merge(src proto.Message)
- func (m *UpsertScoreMultiLeaderboardsRequest) XXX_Size() int
- func (m *UpsertScoreMultiLeaderboardsRequest) XXX_Unmarshal(b []byte) error
- type UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange
- func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) Descriptor() ([]byte, []int)
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) GetLeaderboards() []string
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) GetScore() float64
- func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) ProtoMessage()
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) Reset()
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) String() string
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_DiscardUnknown()
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Merge(src proto.Message)
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Size() int
- func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Unmarshal(b []byte) error
- type UpsertScoreMultiLeaderboardsResponse
- func (*UpsertScoreMultiLeaderboardsResponse) Descriptor() ([]byte, []int)
- func (m *UpsertScoreMultiLeaderboardsResponse) GetScores() []*UpsertScoreMultiLeaderboardsResponse_Member
- func (m *UpsertScoreMultiLeaderboardsResponse) GetSuccess() bool
- func (*UpsertScoreMultiLeaderboardsResponse) ProtoMessage()
- func (m *UpsertScoreMultiLeaderboardsResponse) Reset()
- func (m *UpsertScoreMultiLeaderboardsResponse) String() string
- func (m *UpsertScoreMultiLeaderboardsResponse) XXX_DiscardUnknown()
- func (m *UpsertScoreMultiLeaderboardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertScoreMultiLeaderboardsResponse) XXX_Merge(src proto.Message)
- func (m *UpsertScoreMultiLeaderboardsResponse) XXX_Size() int
- func (m *UpsertScoreMultiLeaderboardsResponse) XXX_Unmarshal(b []byte) error
- type UpsertScoreMultiLeaderboardsResponse_Member
- func (*UpsertScoreMultiLeaderboardsResponse_Member) Descriptor() ([]byte, []int)
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetExpireAt() int32
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetLeaderboardID() string
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetPreviousRank() int32
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetPublicID() string
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetRank() int32
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetScore() float64
- func (*UpsertScoreMultiLeaderboardsResponse_Member) ProtoMessage()
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) Reset()
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) String() string
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_DiscardUnknown()
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_Merge(src proto.Message)
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_Size() int
- func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_Unmarshal(b []byte) error
- type UpsertScoreRequest
- func (*UpsertScoreRequest) Descriptor() ([]byte, []int)
- func (m *UpsertScoreRequest) GetLeaderboardId() string
- func (m *UpsertScoreRequest) GetMemberPublicId() string
- func (m *UpsertScoreRequest) GetPrevRank() bool
- func (m *UpsertScoreRequest) GetScoreChange() *UpsertScoreRequest_ScoreChange
- func (m *UpsertScoreRequest) GetScoreTTL() int32
- func (*UpsertScoreRequest) ProtoMessage()
- func (m *UpsertScoreRequest) Reset()
- func (m *UpsertScoreRequest) String() string
- func (m *UpsertScoreRequest) XXX_DiscardUnknown()
- func (m *UpsertScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertScoreRequest) XXX_Merge(src proto.Message)
- func (m *UpsertScoreRequest) XXX_Size() int
- func (m *UpsertScoreRequest) XXX_Unmarshal(b []byte) error
- type UpsertScoreRequest_ScoreChange
- func (*UpsertScoreRequest_ScoreChange) Descriptor() ([]byte, []int)
- func (m *UpsertScoreRequest_ScoreChange) GetScore() float64
- func (*UpsertScoreRequest_ScoreChange) ProtoMessage()
- func (m *UpsertScoreRequest_ScoreChange) Reset()
- func (m *UpsertScoreRequest_ScoreChange) String() string
- func (m *UpsertScoreRequest_ScoreChange) XXX_DiscardUnknown()
- func (m *UpsertScoreRequest_ScoreChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertScoreRequest_ScoreChange) XXX_Merge(src proto.Message)
- func (m *UpsertScoreRequest_ScoreChange) XXX_Size() int
- func (m *UpsertScoreRequest_ScoreChange) XXX_Unmarshal(b []byte) error
- type UpsertScoreResponse
- func (*UpsertScoreResponse) Descriptor() ([]byte, []int)
- func (m *UpsertScoreResponse) GetExpireAt() int32
- func (m *UpsertScoreResponse) GetPreviousRank() int32
- func (m *UpsertScoreResponse) GetPublicID() string
- func (m *UpsertScoreResponse) GetRank() int32
- func (m *UpsertScoreResponse) GetScore() float64
- func (m *UpsertScoreResponse) GetSuccess() bool
- func (*UpsertScoreResponse) ProtoMessage()
- func (m *UpsertScoreResponse) Reset()
- func (m *UpsertScoreResponse) String() string
- func (m *UpsertScoreResponse) XXX_DiscardUnknown()
- func (m *UpsertScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertScoreResponse) XXX_Merge(src proto.Message)
- func (m *UpsertScoreResponse) XXX_Size() int
- func (m *UpsertScoreResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPodiumHandler ¶
RegisterPodiumHandler registers the http handlers for service Podium to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPodiumHandlerClient ¶
func RegisterPodiumHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PodiumClient) error
RegisterPodiumHandlerClient registers the http handlers for service Podium to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PodiumClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PodiumClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PodiumClient" to call the correct interceptors.
func RegisterPodiumHandlerFromEndpoint ¶
func RegisterPodiumHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPodiumHandlerFromEndpoint is same as RegisterPodiumHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPodiumServer ¶
func RegisterPodiumServer(s *grpc.Server, srv PodiumServer)
Types ¶
type BulkUpsertScoresRequest ¶
type BulkUpsertScoresRequest struct { // The leaderboard identification. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // If set to true, it will also return the previous rank of the player in the leaderboard. // -1 if the player didn’t exist in the leaderboard. PrevRank bool `protobuf:"varint,2,opt,name=prev_rank,json=prevRank,proto3" json:"prev_rank,omitempty"` // If set to more than zero, the score of the player will be expired from the leaderboard past scoreTTL seconds. ScoreTTL int32 `protobuf:"varint,3,opt,name=scoreTTL,proto3" json:"scoreTTL,omitempty"` MemberScores *BulkUpsertScoresRequest_MemberScores `protobuf:"bytes,4,opt,name=member_scores,json=memberScores,proto3" json:"member_scores,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BulkUpsertScoresRequest) Descriptor ¶
func (*BulkUpsertScoresRequest) Descriptor() ([]byte, []int)
func (*BulkUpsertScoresRequest) GetLeaderboardId ¶
func (m *BulkUpsertScoresRequest) GetLeaderboardId() string
func (*BulkUpsertScoresRequest) GetMemberScores ¶
func (m *BulkUpsertScoresRequest) GetMemberScores() *BulkUpsertScoresRequest_MemberScores
func (*BulkUpsertScoresRequest) GetPrevRank ¶
func (m *BulkUpsertScoresRequest) GetPrevRank() bool
func (*BulkUpsertScoresRequest) GetScoreTTL ¶
func (m *BulkUpsertScoresRequest) GetScoreTTL() int32
func (*BulkUpsertScoresRequest) ProtoMessage ¶
func (*BulkUpsertScoresRequest) ProtoMessage()
func (*BulkUpsertScoresRequest) Reset ¶
func (m *BulkUpsertScoresRequest) Reset()
func (*BulkUpsertScoresRequest) String ¶
func (m *BulkUpsertScoresRequest) String() string
func (*BulkUpsertScoresRequest) XXX_DiscardUnknown ¶
func (m *BulkUpsertScoresRequest) XXX_DiscardUnknown()
func (*BulkUpsertScoresRequest) XXX_Marshal ¶
func (m *BulkUpsertScoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BulkUpsertScoresRequest) XXX_Merge ¶
func (m *BulkUpsertScoresRequest) XXX_Merge(src proto.Message)
func (*BulkUpsertScoresRequest) XXX_Size ¶
func (m *BulkUpsertScoresRequest) XXX_Size() int
func (*BulkUpsertScoresRequest) XXX_Unmarshal ¶
func (m *BulkUpsertScoresRequest) XXX_Unmarshal(b []byte) error
type BulkUpsertScoresRequest_MemberScore ¶
type BulkUpsertScoresRequest_MemberScore struct { //TODO: use json_name on variables like this to respect .proto naming format. PublicID string `protobuf:"bytes,1,opt,name=publicID,proto3" json:"publicID,omitempty"` // Score can store integer values from -9007199254740992 and 9007199254740992. // Although the score type is double, internally the service converts this number to a int64 format. Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MemberScore allow to provide score information about a single member.
func (*BulkUpsertScoresRequest_MemberScore) Descriptor ¶
func (*BulkUpsertScoresRequest_MemberScore) Descriptor() ([]byte, []int)
func (*BulkUpsertScoresRequest_MemberScore) GetPublicID ¶
func (m *BulkUpsertScoresRequest_MemberScore) GetPublicID() string
func (*BulkUpsertScoresRequest_MemberScore) GetScore ¶
func (m *BulkUpsertScoresRequest_MemberScore) GetScore() float64
func (*BulkUpsertScoresRequest_MemberScore) ProtoMessage ¶
func (*BulkUpsertScoresRequest_MemberScore) ProtoMessage()
func (*BulkUpsertScoresRequest_MemberScore) Reset ¶
func (m *BulkUpsertScoresRequest_MemberScore) Reset()
func (*BulkUpsertScoresRequest_MemberScore) String ¶
func (m *BulkUpsertScoresRequest_MemberScore) String() string
func (*BulkUpsertScoresRequest_MemberScore) XXX_DiscardUnknown ¶
func (m *BulkUpsertScoresRequest_MemberScore) XXX_DiscardUnknown()
func (*BulkUpsertScoresRequest_MemberScore) XXX_Marshal ¶
func (m *BulkUpsertScoresRequest_MemberScore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BulkUpsertScoresRequest_MemberScore) XXX_Merge ¶
func (m *BulkUpsertScoresRequest_MemberScore) XXX_Merge(src proto.Message)
func (*BulkUpsertScoresRequest_MemberScore) XXX_Size ¶
func (m *BulkUpsertScoresRequest_MemberScore) XXX_Size() int
func (*BulkUpsertScoresRequest_MemberScore) XXX_Unmarshal ¶
func (m *BulkUpsertScoresRequest_MemberScore) XXX_Unmarshal(b []byte) error
type BulkUpsertScoresRequest_MemberScores ¶
type BulkUpsertScoresRequest_MemberScores struct { Members []*BulkUpsertScoresRequest_MemberScore `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ScoreUpserts represent multiple score submissions.
func (*BulkUpsertScoresRequest_MemberScores) Descriptor ¶
func (*BulkUpsertScoresRequest_MemberScores) Descriptor() ([]byte, []int)
func (*BulkUpsertScoresRequest_MemberScores) GetMembers ¶
func (m *BulkUpsertScoresRequest_MemberScores) GetMembers() []*BulkUpsertScoresRequest_MemberScore
func (*BulkUpsertScoresRequest_MemberScores) ProtoMessage ¶
func (*BulkUpsertScoresRequest_MemberScores) ProtoMessage()
func (*BulkUpsertScoresRequest_MemberScores) Reset ¶
func (m *BulkUpsertScoresRequest_MemberScores) Reset()
func (*BulkUpsertScoresRequest_MemberScores) String ¶
func (m *BulkUpsertScoresRequest_MemberScores) String() string
func (*BulkUpsertScoresRequest_MemberScores) XXX_DiscardUnknown ¶
func (m *BulkUpsertScoresRequest_MemberScores) XXX_DiscardUnknown()
func (*BulkUpsertScoresRequest_MemberScores) XXX_Marshal ¶
func (m *BulkUpsertScoresRequest_MemberScores) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BulkUpsertScoresRequest_MemberScores) XXX_Merge ¶
func (m *BulkUpsertScoresRequest_MemberScores) XXX_Merge(src proto.Message)
func (*BulkUpsertScoresRequest_MemberScores) XXX_Size ¶
func (m *BulkUpsertScoresRequest_MemberScores) XXX_Size() int
func (*BulkUpsertScoresRequest_MemberScores) XXX_Unmarshal ¶
func (m *BulkUpsertScoresRequest_MemberScores) XXX_Unmarshal(b []byte) error
type BulkUpsertScoresResponse ¶
type BulkUpsertScoresResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Members []*BulkUpsertScoresResponse_Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BulkUpsertScoresResponse) Descriptor ¶
func (*BulkUpsertScoresResponse) Descriptor() ([]byte, []int)
func (*BulkUpsertScoresResponse) GetMembers ¶
func (m *BulkUpsertScoresResponse) GetMembers() []*BulkUpsertScoresResponse_Member
func (*BulkUpsertScoresResponse) GetSuccess ¶
func (m *BulkUpsertScoresResponse) GetSuccess() bool
func (*BulkUpsertScoresResponse) ProtoMessage ¶
func (*BulkUpsertScoresResponse) ProtoMessage()
func (*BulkUpsertScoresResponse) Reset ¶
func (m *BulkUpsertScoresResponse) Reset()
func (*BulkUpsertScoresResponse) String ¶
func (m *BulkUpsertScoresResponse) String() string
func (*BulkUpsertScoresResponse) XXX_DiscardUnknown ¶
func (m *BulkUpsertScoresResponse) XXX_DiscardUnknown()
func (*BulkUpsertScoresResponse) XXX_Marshal ¶
func (m *BulkUpsertScoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BulkUpsertScoresResponse) XXX_Merge ¶
func (m *BulkUpsertScoresResponse) XXX_Merge(src proto.Message)
func (*BulkUpsertScoresResponse) XXX_Size ¶
func (m *BulkUpsertScoresResponse) XXX_Size() int
func (*BulkUpsertScoresResponse) XXX_Unmarshal ¶
func (m *BulkUpsertScoresResponse) XXX_Unmarshal(b []byte) error
type BulkUpsertScoresResponse_Member ¶
type BulkUpsertScoresResponse_Member struct { PublicID string `protobuf:"bytes,1,opt,name=publicID,proto3" json:"publicID,omitempty"` Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"` Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` // The previous rank of the player in the leaderboard, if requested. PreviousRank int32 `protobuf:"varint,4,opt,name=previous_rank,json=previousRank,proto3" json:"previous_rank,omitempty"` // Unix timestamp of when the member's score will be erased (only if scoreTTL was requested). ExpireAt int32 `protobuf:"varint,5,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Member information returned for BulkUpsertScores request.
func (*BulkUpsertScoresResponse_Member) Descriptor ¶
func (*BulkUpsertScoresResponse_Member) Descriptor() ([]byte, []int)
func (*BulkUpsertScoresResponse_Member) GetExpireAt ¶
func (m *BulkUpsertScoresResponse_Member) GetExpireAt() int32
func (*BulkUpsertScoresResponse_Member) GetPreviousRank ¶
func (m *BulkUpsertScoresResponse_Member) GetPreviousRank() int32
func (*BulkUpsertScoresResponse_Member) GetPublicID ¶
func (m *BulkUpsertScoresResponse_Member) GetPublicID() string
func (*BulkUpsertScoresResponse_Member) GetRank ¶
func (m *BulkUpsertScoresResponse_Member) GetRank() int32
func (*BulkUpsertScoresResponse_Member) GetScore ¶
func (m *BulkUpsertScoresResponse_Member) GetScore() float64
func (*BulkUpsertScoresResponse_Member) ProtoMessage ¶
func (*BulkUpsertScoresResponse_Member) ProtoMessage()
func (*BulkUpsertScoresResponse_Member) Reset ¶
func (m *BulkUpsertScoresResponse_Member) Reset()
func (*BulkUpsertScoresResponse_Member) String ¶
func (m *BulkUpsertScoresResponse_Member) String() string
func (*BulkUpsertScoresResponse_Member) XXX_DiscardUnknown ¶
func (m *BulkUpsertScoresResponse_Member) XXX_DiscardUnknown()
func (*BulkUpsertScoresResponse_Member) XXX_Marshal ¶
func (m *BulkUpsertScoresResponse_Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BulkUpsertScoresResponse_Member) XXX_Merge ¶
func (m *BulkUpsertScoresResponse_Member) XXX_Merge(src proto.Message)
func (*BulkUpsertScoresResponse_Member) XXX_Size ¶
func (m *BulkUpsertScoresResponse_Member) XXX_Size() int
func (*BulkUpsertScoresResponse_Member) XXX_Unmarshal ¶
func (m *BulkUpsertScoresResponse_Member) XXX_Unmarshal(b []byte) error
type GetAroundMemberRequest ¶
type GetAroundMemberRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` MemberPublicId string `protobuf:"bytes,2,opt,name=member_public_id,json=memberPublicId,proto3" json:"member_public_id,omitempty"` Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` GetLastIfNotFound bool `protobuf:"varint,4,opt,name=get_last_if_not_found,json=getLastIfNotFound,proto3" json:"get_last_if_not_found,omitempty"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAroundMemberRequest) Descriptor ¶
func (*GetAroundMemberRequest) Descriptor() ([]byte, []int)
func (*GetAroundMemberRequest) GetGetLastIfNotFound ¶
func (m *GetAroundMemberRequest) GetGetLastIfNotFound() bool
func (*GetAroundMemberRequest) GetLeaderboardId ¶
func (m *GetAroundMemberRequest) GetLeaderboardId() string
func (*GetAroundMemberRequest) GetMemberPublicId ¶
func (m *GetAroundMemberRequest) GetMemberPublicId() string
func (*GetAroundMemberRequest) GetOrder ¶
func (m *GetAroundMemberRequest) GetOrder() string
func (*GetAroundMemberRequest) GetPageSize ¶
func (m *GetAroundMemberRequest) GetPageSize() int32
func (*GetAroundMemberRequest) ProtoMessage ¶
func (*GetAroundMemberRequest) ProtoMessage()
func (*GetAroundMemberRequest) Reset ¶
func (m *GetAroundMemberRequest) Reset()
func (*GetAroundMemberRequest) String ¶
func (m *GetAroundMemberRequest) String() string
func (*GetAroundMemberRequest) XXX_DiscardUnknown ¶
func (m *GetAroundMemberRequest) XXX_DiscardUnknown()
func (*GetAroundMemberRequest) XXX_Marshal ¶
func (m *GetAroundMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAroundMemberRequest) XXX_Merge ¶
func (m *GetAroundMemberRequest) XXX_Merge(src proto.Message)
func (*GetAroundMemberRequest) XXX_Size ¶
func (m *GetAroundMemberRequest) XXX_Size() int
func (*GetAroundMemberRequest) XXX_Unmarshal ¶
func (m *GetAroundMemberRequest) XXX_Unmarshal(b []byte) error
type GetAroundMemberResponse ¶
type GetAroundMemberResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Members []*Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAroundMemberResponse) Descriptor ¶
func (*GetAroundMemberResponse) Descriptor() ([]byte, []int)
func (*GetAroundMemberResponse) GetMembers ¶
func (m *GetAroundMemberResponse) GetMembers() []*Member
func (*GetAroundMemberResponse) GetSuccess ¶
func (m *GetAroundMemberResponse) GetSuccess() bool
func (*GetAroundMemberResponse) ProtoMessage ¶
func (*GetAroundMemberResponse) ProtoMessage()
func (*GetAroundMemberResponse) Reset ¶
func (m *GetAroundMemberResponse) Reset()
func (*GetAroundMemberResponse) String ¶
func (m *GetAroundMemberResponse) String() string
func (*GetAroundMemberResponse) XXX_DiscardUnknown ¶
func (m *GetAroundMemberResponse) XXX_DiscardUnknown()
func (*GetAroundMemberResponse) XXX_Marshal ¶
func (m *GetAroundMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAroundMemberResponse) XXX_Merge ¶
func (m *GetAroundMemberResponse) XXX_Merge(src proto.Message)
func (*GetAroundMemberResponse) XXX_Size ¶
func (m *GetAroundMemberResponse) XXX_Size() int
func (*GetAroundMemberResponse) XXX_Unmarshal ¶
func (m *GetAroundMemberResponse) XXX_Unmarshal(b []byte) error
type GetAroundScoreRequest ¶
type GetAroundScoreRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"` Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAroundScoreRequest) Descriptor ¶
func (*GetAroundScoreRequest) Descriptor() ([]byte, []int)
func (*GetAroundScoreRequest) GetLeaderboardId ¶
func (m *GetAroundScoreRequest) GetLeaderboardId() string
func (*GetAroundScoreRequest) GetOrder ¶
func (m *GetAroundScoreRequest) GetOrder() string
func (*GetAroundScoreRequest) GetPageSize ¶
func (m *GetAroundScoreRequest) GetPageSize() int32
func (*GetAroundScoreRequest) GetScore ¶
func (m *GetAroundScoreRequest) GetScore() float64
func (*GetAroundScoreRequest) ProtoMessage ¶
func (*GetAroundScoreRequest) ProtoMessage()
func (*GetAroundScoreRequest) Reset ¶
func (m *GetAroundScoreRequest) Reset()
func (*GetAroundScoreRequest) String ¶
func (m *GetAroundScoreRequest) String() string
func (*GetAroundScoreRequest) XXX_DiscardUnknown ¶
func (m *GetAroundScoreRequest) XXX_DiscardUnknown()
func (*GetAroundScoreRequest) XXX_Marshal ¶
func (m *GetAroundScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAroundScoreRequest) XXX_Merge ¶
func (m *GetAroundScoreRequest) XXX_Merge(src proto.Message)
func (*GetAroundScoreRequest) XXX_Size ¶
func (m *GetAroundScoreRequest) XXX_Size() int
func (*GetAroundScoreRequest) XXX_Unmarshal ¶
func (m *GetAroundScoreRequest) XXX_Unmarshal(b []byte) error
type GetAroundScoreResponse ¶
type GetAroundScoreResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Members []*Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAroundScoreResponse) Descriptor ¶
func (*GetAroundScoreResponse) Descriptor() ([]byte, []int)
func (*GetAroundScoreResponse) GetMembers ¶
func (m *GetAroundScoreResponse) GetMembers() []*Member
func (*GetAroundScoreResponse) GetSuccess ¶
func (m *GetAroundScoreResponse) GetSuccess() bool
func (*GetAroundScoreResponse) ProtoMessage ¶
func (*GetAroundScoreResponse) ProtoMessage()
func (*GetAroundScoreResponse) Reset ¶
func (m *GetAroundScoreResponse) Reset()
func (*GetAroundScoreResponse) String ¶
func (m *GetAroundScoreResponse) String() string
func (*GetAroundScoreResponse) XXX_DiscardUnknown ¶
func (m *GetAroundScoreResponse) XXX_DiscardUnknown()
func (*GetAroundScoreResponse) XXX_Marshal ¶
func (m *GetAroundScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAroundScoreResponse) XXX_Merge ¶
func (m *GetAroundScoreResponse) XXX_Merge(src proto.Message)
func (*GetAroundScoreResponse) XXX_Size ¶
func (m *GetAroundScoreResponse) XXX_Size() int
func (*GetAroundScoreResponse) XXX_Unmarshal ¶
func (m *GetAroundScoreResponse) XXX_Unmarshal(b []byte) error
type GetMemberRequest ¶
type GetMemberRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` MemberPublicId string `protobuf:"bytes,2,opt,name=member_public_id,json=memberPublicId,proto3" json:"member_public_id,omitempty"` Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` ScoreTTL bool `protobuf:"varint,4,opt,name=scoreTTL,proto3" json:"scoreTTL,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMemberRequest) Descriptor ¶
func (*GetMemberRequest) Descriptor() ([]byte, []int)
func (*GetMemberRequest) GetLeaderboardId ¶
func (m *GetMemberRequest) GetLeaderboardId() string
func (*GetMemberRequest) GetMemberPublicId ¶
func (m *GetMemberRequest) GetMemberPublicId() string
func (*GetMemberRequest) GetOrder ¶
func (m *GetMemberRequest) GetOrder() string
func (*GetMemberRequest) GetScoreTTL ¶
func (m *GetMemberRequest) GetScoreTTL() bool
func (*GetMemberRequest) ProtoMessage ¶
func (*GetMemberRequest) ProtoMessage()
func (*GetMemberRequest) Reset ¶
func (m *GetMemberRequest) Reset()
func (*GetMemberRequest) String ¶
func (m *GetMemberRequest) String() string
func (*GetMemberRequest) XXX_DiscardUnknown ¶
func (m *GetMemberRequest) XXX_DiscardUnknown()
func (*GetMemberRequest) XXX_Marshal ¶
func (m *GetMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMemberRequest) XXX_Merge ¶
func (m *GetMemberRequest) XXX_Merge(src proto.Message)
func (*GetMemberRequest) XXX_Size ¶
func (m *GetMemberRequest) XXX_Size() int
func (*GetMemberRequest) XXX_Unmarshal ¶
func (m *GetMemberRequest) XXX_Unmarshal(b []byte) error
type GetMemberResponse ¶
type GetMemberResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` PublicID string `protobuf:"bytes,2,opt,name=publicID,proto3" json:"publicID,omitempty"` Score float64 `protobuf:"fixed64,3,opt,name=score,proto3" json:"score,omitempty"` Rank int32 `protobuf:"varint,5,opt,name=rank,proto3" json:"rank,omitempty"` // The previous rank of the player in the leaderboard, if requested. PreviousRank int32 `protobuf:"varint,6,opt,name=previous_rank,json=previousRank,proto3" json:"previous_rank,omitempty"` // Unix timestamp of when the member's score will be erased (only if scoreTTL was requested) ExpireAt int32 `protobuf:"varint,7,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMemberResponse) Descriptor ¶
func (*GetMemberResponse) Descriptor() ([]byte, []int)
func (*GetMemberResponse) GetExpireAt ¶
func (m *GetMemberResponse) GetExpireAt() int32
func (*GetMemberResponse) GetPreviousRank ¶
func (m *GetMemberResponse) GetPreviousRank() int32
func (*GetMemberResponse) GetPublicID ¶
func (m *GetMemberResponse) GetPublicID() string
func (*GetMemberResponse) GetRank ¶
func (m *GetMemberResponse) GetRank() int32
func (*GetMemberResponse) GetScore ¶
func (m *GetMemberResponse) GetScore() float64
func (*GetMemberResponse) GetSuccess ¶
func (m *GetMemberResponse) GetSuccess() bool
func (*GetMemberResponse) ProtoMessage ¶
func (*GetMemberResponse) ProtoMessage()
func (*GetMemberResponse) Reset ¶
func (m *GetMemberResponse) Reset()
func (*GetMemberResponse) String ¶
func (m *GetMemberResponse) String() string
func (*GetMemberResponse) XXX_DiscardUnknown ¶
func (m *GetMemberResponse) XXX_DiscardUnknown()
func (*GetMemberResponse) XXX_Marshal ¶
func (m *GetMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMemberResponse) XXX_Merge ¶
func (m *GetMemberResponse) XXX_Merge(src proto.Message)
func (*GetMemberResponse) XXX_Size ¶
func (m *GetMemberResponse) XXX_Size() int
func (*GetMemberResponse) XXX_Unmarshal ¶
func (m *GetMemberResponse) XXX_Unmarshal(b []byte) error
type GetMembersRequest ¶
type GetMembersRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` Order string `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` ScoreTTL bool `protobuf:"varint,3,opt,name=scoreTTL,proto3" json:"scoreTTL,omitempty"` Ids string `protobuf:"bytes,4,opt,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMembersRequest) Descriptor ¶
func (*GetMembersRequest) Descriptor() ([]byte, []int)
func (*GetMembersRequest) GetIds ¶
func (m *GetMembersRequest) GetIds() string
func (*GetMembersRequest) GetLeaderboardId ¶
func (m *GetMembersRequest) GetLeaderboardId() string
func (*GetMembersRequest) GetOrder ¶
func (m *GetMembersRequest) GetOrder() string
func (*GetMembersRequest) GetScoreTTL ¶
func (m *GetMembersRequest) GetScoreTTL() bool
func (*GetMembersRequest) ProtoMessage ¶
func (*GetMembersRequest) ProtoMessage()
func (*GetMembersRequest) Reset ¶
func (m *GetMembersRequest) Reset()
func (*GetMembersRequest) String ¶
func (m *GetMembersRequest) String() string
func (*GetMembersRequest) XXX_DiscardUnknown ¶
func (m *GetMembersRequest) XXX_DiscardUnknown()
func (*GetMembersRequest) XXX_Marshal ¶
func (m *GetMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMembersRequest) XXX_Merge ¶
func (m *GetMembersRequest) XXX_Merge(src proto.Message)
func (*GetMembersRequest) XXX_Size ¶
func (m *GetMembersRequest) XXX_Size() int
func (*GetMembersRequest) XXX_Unmarshal ¶
func (m *GetMembersRequest) XXX_Unmarshal(b []byte) error
type GetMembersResponse ¶
type GetMembersResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Members []*GetMembersResponse_Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` NotFound []string `protobuf:"bytes,3,rep,name=not_found,json=notFound,proto3" json:"not_found,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMembersResponse) Descriptor ¶
func (*GetMembersResponse) Descriptor() ([]byte, []int)
func (*GetMembersResponse) GetMembers ¶
func (m *GetMembersResponse) GetMembers() []*GetMembersResponse_Member
func (*GetMembersResponse) GetNotFound ¶
func (m *GetMembersResponse) GetNotFound() []string
func (*GetMembersResponse) GetSuccess ¶
func (m *GetMembersResponse) GetSuccess() bool
func (*GetMembersResponse) ProtoMessage ¶
func (*GetMembersResponse) ProtoMessage()
func (*GetMembersResponse) Reset ¶
func (m *GetMembersResponse) Reset()
func (*GetMembersResponse) String ¶
func (m *GetMembersResponse) String() string
func (*GetMembersResponse) XXX_DiscardUnknown ¶
func (m *GetMembersResponse) XXX_DiscardUnknown()
func (*GetMembersResponse) XXX_Marshal ¶
func (m *GetMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMembersResponse) XXX_Merge ¶
func (m *GetMembersResponse) XXX_Merge(src proto.Message)
func (*GetMembersResponse) XXX_Size ¶
func (m *GetMembersResponse) XXX_Size() int
func (*GetMembersResponse) XXX_Unmarshal ¶
func (m *GetMembersResponse) XXX_Unmarshal(b []byte) error
type GetMembersResponse_Member ¶
type GetMembersResponse_Member struct { PublicID string `protobuf:"bytes,1,opt,name=publicID,proto3" json:"publicID,omitempty"` Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"` Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` // Unix timestamp of when the member's score will be erased (only if scoreTTL was requested). ExpireAt int32 `protobuf:"varint,5,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` // Member rank for all members returned in this request. Position int32 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Member information returned for GetMembers request.
func (*GetMembersResponse_Member) Descriptor ¶
func (*GetMembersResponse_Member) Descriptor() ([]byte, []int)
func (*GetMembersResponse_Member) GetExpireAt ¶
func (m *GetMembersResponse_Member) GetExpireAt() int32
func (*GetMembersResponse_Member) GetPosition ¶
func (m *GetMembersResponse_Member) GetPosition() int32
func (*GetMembersResponse_Member) GetPublicID ¶
func (m *GetMembersResponse_Member) GetPublicID() string
func (*GetMembersResponse_Member) GetRank ¶
func (m *GetMembersResponse_Member) GetRank() int32
func (*GetMembersResponse_Member) GetScore ¶
func (m *GetMembersResponse_Member) GetScore() float64
func (*GetMembersResponse_Member) ProtoMessage ¶
func (*GetMembersResponse_Member) ProtoMessage()
func (*GetMembersResponse_Member) Reset ¶
func (m *GetMembersResponse_Member) Reset()
func (*GetMembersResponse_Member) String ¶
func (m *GetMembersResponse_Member) String() string
func (*GetMembersResponse_Member) XXX_DiscardUnknown ¶
func (m *GetMembersResponse_Member) XXX_DiscardUnknown()
func (*GetMembersResponse_Member) XXX_Marshal ¶
func (m *GetMembersResponse_Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMembersResponse_Member) XXX_Merge ¶
func (m *GetMembersResponse_Member) XXX_Merge(src proto.Message)
func (*GetMembersResponse_Member) XXX_Size ¶
func (m *GetMembersResponse_Member) XXX_Size() int
func (*GetMembersResponse_Member) XXX_Unmarshal ¶
func (m *GetMembersResponse_Member) XXX_Unmarshal(b []byte) error
type GetRankMultiLeaderboardsRequest ¶
type GetRankMultiLeaderboardsRequest struct { MemberPublicId string `protobuf:"bytes,1,opt,name=member_public_id,json=memberPublicId,proto3" json:"member_public_id,omitempty"` LeaderboardIds string `protobuf:"bytes,2,opt,name=leaderboard_ids,json=leaderboardIds,proto3" json:"leaderboard_ids,omitempty"` Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` ScoreTTL bool `protobuf:"varint,4,opt,name=scoreTTL,proto3" json:"scoreTTL,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRankMultiLeaderboardsRequest) Descriptor ¶
func (*GetRankMultiLeaderboardsRequest) Descriptor() ([]byte, []int)
func (*GetRankMultiLeaderboardsRequest) GetLeaderboardIds ¶
func (m *GetRankMultiLeaderboardsRequest) GetLeaderboardIds() string
func (*GetRankMultiLeaderboardsRequest) GetMemberPublicId ¶
func (m *GetRankMultiLeaderboardsRequest) GetMemberPublicId() string
func (*GetRankMultiLeaderboardsRequest) GetOrder ¶
func (m *GetRankMultiLeaderboardsRequest) GetOrder() string
func (*GetRankMultiLeaderboardsRequest) GetScoreTTL ¶
func (m *GetRankMultiLeaderboardsRequest) GetScoreTTL() bool
func (*GetRankMultiLeaderboardsRequest) ProtoMessage ¶
func (*GetRankMultiLeaderboardsRequest) ProtoMessage()
func (*GetRankMultiLeaderboardsRequest) Reset ¶
func (m *GetRankMultiLeaderboardsRequest) Reset()
func (*GetRankMultiLeaderboardsRequest) String ¶
func (m *GetRankMultiLeaderboardsRequest) String() string
func (*GetRankMultiLeaderboardsRequest) XXX_DiscardUnknown ¶
func (m *GetRankMultiLeaderboardsRequest) XXX_DiscardUnknown()
func (*GetRankMultiLeaderboardsRequest) XXX_Marshal ¶
func (m *GetRankMultiLeaderboardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRankMultiLeaderboardsRequest) XXX_Merge ¶
func (m *GetRankMultiLeaderboardsRequest) XXX_Merge(src proto.Message)
func (*GetRankMultiLeaderboardsRequest) XXX_Size ¶
func (m *GetRankMultiLeaderboardsRequest) XXX_Size() int
func (*GetRankMultiLeaderboardsRequest) XXX_Unmarshal ¶
func (m *GetRankMultiLeaderboardsRequest) XXX_Unmarshal(b []byte) error
type GetRankMultiLeaderboardsResponse ¶
type GetRankMultiLeaderboardsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Scores []*GetRankMultiLeaderboardsResponse_Member `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRankMultiLeaderboardsResponse) Descriptor ¶
func (*GetRankMultiLeaderboardsResponse) Descriptor() ([]byte, []int)
func (*GetRankMultiLeaderboardsResponse) GetScores ¶
func (m *GetRankMultiLeaderboardsResponse) GetScores() []*GetRankMultiLeaderboardsResponse_Member
func (*GetRankMultiLeaderboardsResponse) GetSuccess ¶
func (m *GetRankMultiLeaderboardsResponse) GetSuccess() bool
func (*GetRankMultiLeaderboardsResponse) ProtoMessage ¶
func (*GetRankMultiLeaderboardsResponse) ProtoMessage()
func (*GetRankMultiLeaderboardsResponse) Reset ¶
func (m *GetRankMultiLeaderboardsResponse) Reset()
func (*GetRankMultiLeaderboardsResponse) String ¶
func (m *GetRankMultiLeaderboardsResponse) String() string
func (*GetRankMultiLeaderboardsResponse) XXX_DiscardUnknown ¶
func (m *GetRankMultiLeaderboardsResponse) XXX_DiscardUnknown()
func (*GetRankMultiLeaderboardsResponse) XXX_Marshal ¶
func (m *GetRankMultiLeaderboardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRankMultiLeaderboardsResponse) XXX_Merge ¶
func (m *GetRankMultiLeaderboardsResponse) XXX_Merge(src proto.Message)
func (*GetRankMultiLeaderboardsResponse) XXX_Size ¶
func (m *GetRankMultiLeaderboardsResponse) XXX_Size() int
func (*GetRankMultiLeaderboardsResponse) XXX_Unmarshal ¶
func (m *GetRankMultiLeaderboardsResponse) XXX_Unmarshal(b []byte) error
type GetRankMultiLeaderboardsResponse_Member ¶
type GetRankMultiLeaderboardsResponse_Member struct { LeaderboardID string `protobuf:"bytes,1,opt,name=leaderboardID,proto3" json:"leaderboardID,omitempty"` Rank int32 `protobuf:"varint,2,opt,name=rank,proto3" json:"rank,omitempty"` Score float64 `protobuf:"fixed64,3,opt,name=score,proto3" json:"score,omitempty"` ExpireAt int32 `protobuf:"varint,5,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Member represents member information retrieved from one the leaderboards during MultiGetRankResponse operation.
func (*GetRankMultiLeaderboardsResponse_Member) Descriptor ¶
func (*GetRankMultiLeaderboardsResponse_Member) Descriptor() ([]byte, []int)
func (*GetRankMultiLeaderboardsResponse_Member) GetExpireAt ¶
func (m *GetRankMultiLeaderboardsResponse_Member) GetExpireAt() int32
func (*GetRankMultiLeaderboardsResponse_Member) GetLeaderboardID ¶
func (m *GetRankMultiLeaderboardsResponse_Member) GetLeaderboardID() string
func (*GetRankMultiLeaderboardsResponse_Member) GetRank ¶
func (m *GetRankMultiLeaderboardsResponse_Member) GetRank() int32
func (*GetRankMultiLeaderboardsResponse_Member) GetScore ¶
func (m *GetRankMultiLeaderboardsResponse_Member) GetScore() float64
func (*GetRankMultiLeaderboardsResponse_Member) ProtoMessage ¶
func (*GetRankMultiLeaderboardsResponse_Member) ProtoMessage()
func (*GetRankMultiLeaderboardsResponse_Member) Reset ¶
func (m *GetRankMultiLeaderboardsResponse_Member) Reset()
func (*GetRankMultiLeaderboardsResponse_Member) String ¶
func (m *GetRankMultiLeaderboardsResponse_Member) String() string
func (*GetRankMultiLeaderboardsResponse_Member) XXX_DiscardUnknown ¶
func (m *GetRankMultiLeaderboardsResponse_Member) XXX_DiscardUnknown()
func (*GetRankMultiLeaderboardsResponse_Member) XXX_Marshal ¶
func (m *GetRankMultiLeaderboardsResponse_Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRankMultiLeaderboardsResponse_Member) XXX_Merge ¶
func (m *GetRankMultiLeaderboardsResponse_Member) XXX_Merge(src proto.Message)
func (*GetRankMultiLeaderboardsResponse_Member) XXX_Size ¶
func (m *GetRankMultiLeaderboardsResponse_Member) XXX_Size() int
func (*GetRankMultiLeaderboardsResponse_Member) XXX_Unmarshal ¶
func (m *GetRankMultiLeaderboardsResponse_Member) XXX_Unmarshal(b []byte) error
type GetRankRequest ¶
type GetRankRequest struct { // The leaderboard identification. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // The member identification. MemberPublicId string `protobuf:"bytes,2,opt,name=member_public_id,json=memberPublicId,proto3" json:"member_public_id,omitempty"` // If set to asc, will treat the ranking with ascending scores (less is best). Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message to retrieve the rank of a member
func (*GetRankRequest) Descriptor ¶
func (*GetRankRequest) Descriptor() ([]byte, []int)
func (*GetRankRequest) GetLeaderboardId ¶
func (m *GetRankRequest) GetLeaderboardId() string
func (*GetRankRequest) GetMemberPublicId ¶
func (m *GetRankRequest) GetMemberPublicId() string
func (*GetRankRequest) GetOrder ¶
func (m *GetRankRequest) GetOrder() string
func (*GetRankRequest) ProtoMessage ¶
func (*GetRankRequest) ProtoMessage()
func (*GetRankRequest) Reset ¶
func (m *GetRankRequest) Reset()
func (*GetRankRequest) String ¶
func (m *GetRankRequest) String() string
func (*GetRankRequest) XXX_DiscardUnknown ¶
func (m *GetRankRequest) XXX_DiscardUnknown()
func (*GetRankRequest) XXX_Marshal ¶
func (m *GetRankRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRankRequest) XXX_Merge ¶
func (m *GetRankRequest) XXX_Merge(src proto.Message)
func (*GetRankRequest) XXX_Size ¶
func (m *GetRankRequest) XXX_Size() int
func (*GetRankRequest) XXX_Unmarshal ¶
func (m *GetRankRequest) XXX_Unmarshal(b []byte) error
type GetRankResponse ¶
type GetRankResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` PublicID string `protobuf:"bytes,2,opt,name=publicID,proto3" json:"publicID,omitempty"` Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRankResponse) Descriptor ¶
func (*GetRankResponse) Descriptor() ([]byte, []int)
func (*GetRankResponse) GetPublicID ¶
func (m *GetRankResponse) GetPublicID() string
func (*GetRankResponse) GetRank ¶
func (m *GetRankResponse) GetRank() int32
func (*GetRankResponse) GetSuccess ¶
func (m *GetRankResponse) GetSuccess() bool
func (*GetRankResponse) ProtoMessage ¶
func (*GetRankResponse) ProtoMessage()
func (*GetRankResponse) Reset ¶
func (m *GetRankResponse) Reset()
func (*GetRankResponse) String ¶
func (m *GetRankResponse) String() string
func (*GetRankResponse) XXX_DiscardUnknown ¶
func (m *GetRankResponse) XXX_DiscardUnknown()
func (*GetRankResponse) XXX_Marshal ¶
func (m *GetRankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRankResponse) XXX_Merge ¶
func (m *GetRankResponse) XXX_Merge(src proto.Message)
func (*GetRankResponse) XXX_Size ¶
func (m *GetRankResponse) XXX_Size() int
func (*GetRankResponse) XXX_Unmarshal ¶
func (m *GetRankResponse) XXX_Unmarshal(b []byte) error
type GetTopMembersRequest ¶
type GetTopMembersRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTopMembersRequest) Descriptor ¶
func (*GetTopMembersRequest) Descriptor() ([]byte, []int)
func (*GetTopMembersRequest) GetLeaderboardId ¶
func (m *GetTopMembersRequest) GetLeaderboardId() string
func (*GetTopMembersRequest) GetOrder ¶
func (m *GetTopMembersRequest) GetOrder() string
func (*GetTopMembersRequest) GetPageNumber ¶
func (m *GetTopMembersRequest) GetPageNumber() int32
func (*GetTopMembersRequest) GetPageSize ¶
func (m *GetTopMembersRequest) GetPageSize() int32
func (*GetTopMembersRequest) ProtoMessage ¶
func (*GetTopMembersRequest) ProtoMessage()
func (*GetTopMembersRequest) Reset ¶
func (m *GetTopMembersRequest) Reset()
func (*GetTopMembersRequest) String ¶
func (m *GetTopMembersRequest) String() string
func (*GetTopMembersRequest) XXX_DiscardUnknown ¶
func (m *GetTopMembersRequest) XXX_DiscardUnknown()
func (*GetTopMembersRequest) XXX_Marshal ¶
func (m *GetTopMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTopMembersRequest) XXX_Merge ¶
func (m *GetTopMembersRequest) XXX_Merge(src proto.Message)
func (*GetTopMembersRequest) XXX_Size ¶
func (m *GetTopMembersRequest) XXX_Size() int
func (*GetTopMembersRequest) XXX_Unmarshal ¶
func (m *GetTopMembersRequest) XXX_Unmarshal(b []byte) error
type GetTopMembersResponse ¶
type GetTopMembersResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Members []*Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTopMembersResponse) Descriptor ¶
func (*GetTopMembersResponse) Descriptor() ([]byte, []int)
func (*GetTopMembersResponse) GetMembers ¶
func (m *GetTopMembersResponse) GetMembers() []*Member
func (*GetTopMembersResponse) GetSuccess ¶
func (m *GetTopMembersResponse) GetSuccess() bool
func (*GetTopMembersResponse) ProtoMessage ¶
func (*GetTopMembersResponse) ProtoMessage()
func (*GetTopMembersResponse) Reset ¶
func (m *GetTopMembersResponse) Reset()
func (*GetTopMembersResponse) String ¶
func (m *GetTopMembersResponse) String() string
func (*GetTopMembersResponse) XXX_DiscardUnknown ¶
func (m *GetTopMembersResponse) XXX_DiscardUnknown()
func (*GetTopMembersResponse) XXX_Marshal ¶
func (m *GetTopMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTopMembersResponse) XXX_Merge ¶
func (m *GetTopMembersResponse) XXX_Merge(src proto.Message)
func (*GetTopMembersResponse) XXX_Size ¶
func (m *GetTopMembersResponse) XXX_Size() int
func (*GetTopMembersResponse) XXX_Unmarshal ¶
func (m *GetTopMembersResponse) XXX_Unmarshal(b []byte) error
type GetTopPercentageRequest ¶
type GetTopPercentageRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` Percentage int32 `protobuf:"varint,2,opt,name=percentage,proto3" json:"percentage,omitempty"` Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTopPercentageRequest) Descriptor ¶
func (*GetTopPercentageRequest) Descriptor() ([]byte, []int)
func (*GetTopPercentageRequest) GetLeaderboardId ¶
func (m *GetTopPercentageRequest) GetLeaderboardId() string
func (*GetTopPercentageRequest) GetOrder ¶
func (m *GetTopPercentageRequest) GetOrder() string
func (*GetTopPercentageRequest) GetPercentage ¶
func (m *GetTopPercentageRequest) GetPercentage() int32
func (*GetTopPercentageRequest) ProtoMessage ¶
func (*GetTopPercentageRequest) ProtoMessage()
func (*GetTopPercentageRequest) Reset ¶
func (m *GetTopPercentageRequest) Reset()
func (*GetTopPercentageRequest) String ¶
func (m *GetTopPercentageRequest) String() string
func (*GetTopPercentageRequest) XXX_DiscardUnknown ¶
func (m *GetTopPercentageRequest) XXX_DiscardUnknown()
func (*GetTopPercentageRequest) XXX_Marshal ¶
func (m *GetTopPercentageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTopPercentageRequest) XXX_Merge ¶
func (m *GetTopPercentageRequest) XXX_Merge(src proto.Message)
func (*GetTopPercentageRequest) XXX_Size ¶
func (m *GetTopPercentageRequest) XXX_Size() int
func (*GetTopPercentageRequest) XXX_Unmarshal ¶
func (m *GetTopPercentageRequest) XXX_Unmarshal(b []byte) error
type GetTopPercentageResponse ¶
type GetTopPercentageResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Members []*Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTopPercentageResponse) Descriptor ¶
func (*GetTopPercentageResponse) Descriptor() ([]byte, []int)
func (*GetTopPercentageResponse) GetMembers ¶
func (m *GetTopPercentageResponse) GetMembers() []*Member
func (*GetTopPercentageResponse) GetSuccess ¶
func (m *GetTopPercentageResponse) GetSuccess() bool
func (*GetTopPercentageResponse) ProtoMessage ¶
func (*GetTopPercentageResponse) ProtoMessage()
func (*GetTopPercentageResponse) Reset ¶
func (m *GetTopPercentageResponse) Reset()
func (*GetTopPercentageResponse) String ¶
func (m *GetTopPercentageResponse) String() string
func (*GetTopPercentageResponse) XXX_DiscardUnknown ¶
func (m *GetTopPercentageResponse) XXX_DiscardUnknown()
func (*GetTopPercentageResponse) XXX_Marshal ¶
func (m *GetTopPercentageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTopPercentageResponse) XXX_Merge ¶
func (m *GetTopPercentageResponse) XXX_Merge(src proto.Message)
func (*GetTopPercentageResponse) XXX_Size ¶
func (m *GetTopPercentageResponse) XXX_Size() int
func (*GetTopPercentageResponse) XXX_Unmarshal ¶
func (m *GetTopPercentageResponse) XXX_Unmarshal(b []byte) error
type HealthCheckRequest ¶
type HealthCheckRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckRequest) Descriptor ¶
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) Reset ¶
func (m *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (m *HealthCheckRequest) String() string
func (*HealthCheckRequest) XXX_DiscardUnknown ¶
func (m *HealthCheckRequest) XXX_DiscardUnknown()
func (*HealthCheckRequest) XXX_Marshal ¶
func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckRequest) XXX_Merge ¶
func (m *HealthCheckRequest) XXX_Merge(src proto.Message)
func (*HealthCheckRequest) XXX_Size ¶
func (m *HealthCheckRequest) XXX_Size() int
func (*HealthCheckRequest) XXX_Unmarshal ¶
func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error
type HealthCheckResponse ¶
type HealthCheckResponse struct { // The string configured on healthcheck.workingText to represent that the service is up. WorkingString string `protobuf:"bytes,1,opt,name=working_string,json=workingString,proto3" json:"working_string,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckResponse) Descriptor ¶
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
func (*HealthCheckResponse) GetWorkingString ¶
func (m *HealthCheckResponse) GetWorkingString() string
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) Reset ¶
func (m *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (m *HealthCheckResponse) String() string
func (*HealthCheckResponse) XXX_DiscardUnknown ¶
func (m *HealthCheckResponse) XXX_DiscardUnknown()
func (*HealthCheckResponse) XXX_Marshal ¶
func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckResponse) XXX_Merge ¶
func (m *HealthCheckResponse) XXX_Merge(src proto.Message)
func (*HealthCheckResponse) XXX_Size ¶
func (m *HealthCheckResponse) XXX_Size() int
func (*HealthCheckResponse) XXX_Unmarshal ¶
func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error
type IncrementScoreRequest ¶
type IncrementScoreRequest struct { // The leaderboard identification. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // The member identification. MemberPublicId string `protobuf:"bytes,2,opt,name=member_public_id,json=memberPublicId,proto3" json:"member_public_id,omitempty"` // If set to more than zero, the score of the player will be expired from the leaderboard past scoreTTL seconds. ScoreTTL int32 `protobuf:"varint,3,opt,name=scoreTTL,proto3" json:"scoreTTL,omitempty"` Body *IncrementScoreRequest_Body `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IncrementScoreRequest) Descriptor ¶
func (*IncrementScoreRequest) Descriptor() ([]byte, []int)
func (*IncrementScoreRequest) GetBody ¶
func (m *IncrementScoreRequest) GetBody() *IncrementScoreRequest_Body
func (*IncrementScoreRequest) GetLeaderboardId ¶
func (m *IncrementScoreRequest) GetLeaderboardId() string
func (*IncrementScoreRequest) GetMemberPublicId ¶
func (m *IncrementScoreRequest) GetMemberPublicId() string
func (*IncrementScoreRequest) GetScoreTTL ¶
func (m *IncrementScoreRequest) GetScoreTTL() int32
func (*IncrementScoreRequest) ProtoMessage ¶
func (*IncrementScoreRequest) ProtoMessage()
func (*IncrementScoreRequest) Reset ¶
func (m *IncrementScoreRequest) Reset()
func (*IncrementScoreRequest) String ¶
func (m *IncrementScoreRequest) String() string
func (*IncrementScoreRequest) XXX_DiscardUnknown ¶
func (m *IncrementScoreRequest) XXX_DiscardUnknown()
func (*IncrementScoreRequest) XXX_Marshal ¶
func (m *IncrementScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncrementScoreRequest) XXX_Merge ¶
func (m *IncrementScoreRequest) XXX_Merge(src proto.Message)
func (*IncrementScoreRequest) XXX_Size ¶
func (m *IncrementScoreRequest) XXX_Size() int
func (*IncrementScoreRequest) XXX_Unmarshal ¶
func (m *IncrementScoreRequest) XXX_Unmarshal(b []byte) error
type IncrementScoreRequest_Body ¶
type IncrementScoreRequest_Body struct { Increment float64 `protobuf:"fixed64,1,opt,name=increment,proto3" json:"increment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Body represents the increment payload.
func (*IncrementScoreRequest_Body) Descriptor ¶
func (*IncrementScoreRequest_Body) Descriptor() ([]byte, []int)
func (*IncrementScoreRequest_Body) GetIncrement ¶
func (m *IncrementScoreRequest_Body) GetIncrement() float64
func (*IncrementScoreRequest_Body) ProtoMessage ¶
func (*IncrementScoreRequest_Body) ProtoMessage()
func (*IncrementScoreRequest_Body) Reset ¶
func (m *IncrementScoreRequest_Body) Reset()
func (*IncrementScoreRequest_Body) String ¶
func (m *IncrementScoreRequest_Body) String() string
func (*IncrementScoreRequest_Body) XXX_DiscardUnknown ¶
func (m *IncrementScoreRequest_Body) XXX_DiscardUnknown()
func (*IncrementScoreRequest_Body) XXX_Marshal ¶
func (m *IncrementScoreRequest_Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncrementScoreRequest_Body) XXX_Merge ¶
func (m *IncrementScoreRequest_Body) XXX_Merge(src proto.Message)
func (*IncrementScoreRequest_Body) XXX_Size ¶
func (m *IncrementScoreRequest_Body) XXX_Size() int
func (*IncrementScoreRequest_Body) XXX_Unmarshal ¶
func (m *IncrementScoreRequest_Body) XXX_Unmarshal(b []byte) error
type IncrementScoreResponse ¶
type IncrementScoreResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` PublicID string `protobuf:"bytes,2,opt,name=publicID,proto3" json:"publicID,omitempty"` Score float64 `protobuf:"fixed64,3,opt,name=score,proto3" json:"score,omitempty"` Rank int32 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank,omitempty"` // The previous rank of the player in the leaderboard, if requested. PreviousRank int32 `protobuf:"varint,5,opt,name=previous_rank,json=previousRank,proto3" json:"previous_rank,omitempty"` // Unix timestamp of when the member's score will be erased (only if scoreTTL was requested) ExpireAt int32 `protobuf:"varint,6,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IncrementScoreResponse) Descriptor ¶
func (*IncrementScoreResponse) Descriptor() ([]byte, []int)
func (*IncrementScoreResponse) GetExpireAt ¶
func (m *IncrementScoreResponse) GetExpireAt() int32
func (*IncrementScoreResponse) GetPreviousRank ¶
func (m *IncrementScoreResponse) GetPreviousRank() int32
func (*IncrementScoreResponse) GetPublicID ¶
func (m *IncrementScoreResponse) GetPublicID() string
func (*IncrementScoreResponse) GetRank ¶
func (m *IncrementScoreResponse) GetRank() int32
func (*IncrementScoreResponse) GetScore ¶
func (m *IncrementScoreResponse) GetScore() float64
func (*IncrementScoreResponse) GetSuccess ¶
func (m *IncrementScoreResponse) GetSuccess() bool
func (*IncrementScoreResponse) ProtoMessage ¶
func (*IncrementScoreResponse) ProtoMessage()
func (*IncrementScoreResponse) Reset ¶
func (m *IncrementScoreResponse) Reset()
func (*IncrementScoreResponse) String ¶
func (m *IncrementScoreResponse) String() string
func (*IncrementScoreResponse) XXX_DiscardUnknown ¶
func (m *IncrementScoreResponse) XXX_DiscardUnknown()
func (*IncrementScoreResponse) XXX_Marshal ¶
func (m *IncrementScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncrementScoreResponse) XXX_Merge ¶
func (m *IncrementScoreResponse) XXX_Merge(src proto.Message)
func (*IncrementScoreResponse) XXX_Size ¶
func (m *IncrementScoreResponse) XXX_Size() int
func (*IncrementScoreResponse) XXX_Unmarshal ¶
func (m *IncrementScoreResponse) XXX_Unmarshal(b []byte) error
type Member ¶
type Member struct { PublicID string `protobuf:"bytes,1,opt,name=publicID,proto3" json:"publicID,omitempty"` Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"` Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TODO: Create a single Member structure and make all requests use the same structure (document parts of the requests that are not returned) Member is a basic payload for a leaderboard member used by some responses.
func (*Member) Descriptor ¶
func (*Member) GetPublicID ¶
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) XXX_DiscardUnknown ¶
func (m *Member) XXX_DiscardUnknown()
func (*Member) XXX_Marshal ¶
func (*Member) XXX_Unmarshal ¶
type PodiumClient ¶
type PodiumClient interface { // HealthCheck verifies and returns service health. HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) // Status allows to clients to know additional information about Podium execution. // Currently only returns error rate of the service. Status(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StatusResponse, error) // RemoveLeaderboard removes a specified leaderboard. RemoveLeaderboard(ctx context.Context, in *RemoveLeaderboardRequest, opts ...grpc.CallOption) (*RemoveLeaderboardResponse, error) // BulkUpsertScores allows clients to send multiple scores in a single request. BulkUpsertScores(ctx context.Context, in *BulkUpsertScoresRequest, opts ...grpc.CallOption) (*BulkUpsertScoresResponse, error) // UpsertScore submits a single leaderboard score to Podium. UpsertScore(ctx context.Context, in *UpsertScoreRequest, opts ...grpc.CallOption) (*UpsertScoreResponse, error) // TotalMembers returns the number of members on a leaderboard. TotalMembers(ctx context.Context, in *TotalMembersRequest, opts ...grpc.CallOption) (*TotalMembersResponse, error) // IncrementScore increments a member score. IncrementScore(ctx context.Context, in *IncrementScoreRequest, opts ...grpc.CallOption) (*IncrementScoreResponse, error) // GetMember retrieves leaderboard information from a member. GetMember(ctx context.Context, in *GetMemberRequest, opts ...grpc.CallOption) (*GetMemberResponse, error) // GetMembers retrieves information about multiple members of a leaderboard. GetMembers(ctx context.Context, in *GetMembersRequest, opts ...grpc.CallOption) (*GetMembersResponse, error) // RemoveMember removes a member from a leaderboard. RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...grpc.CallOption) (*RemoveMemberResponse, error) // RemoveMembers allows the removal of multiple members of a leaderboard. RemoveMembers(ctx context.Context, in *RemoveMembersRequest, opts ...grpc.CallOption) (*RemoveMembersResponse, error) // GetRank retrieves ranking information about a member. GetRank(ctx context.Context, in *GetRankRequest, opts ...grpc.CallOption) (*GetRankResponse, error) // GetAroundMember retrieves the closest members to another member on the leaderboard. GetAroundMember(ctx context.Context, in *GetAroundMemberRequest, opts ...grpc.CallOption) (*GetAroundMemberResponse, error) // GetAroundScore retrieves the closest members to a score on the leaderboard. GetAroundScore(ctx context.Context, in *GetAroundScoreRequest, opts ...grpc.CallOption) (*GetAroundScoreResponse, error) // GetTopMembers retrieves the top ranking members of a leaderboard. GetTopMembers(ctx context.Context, in *GetTopMembersRequest, opts ...grpc.CallOption) (*GetTopMembersResponse, error) // GetTopPercentage retrieves a percentage of the top members of the leaderboard. GetTopPercentage(ctx context.Context, in *GetTopPercentageRequest, opts ...grpc.CallOption) (*GetTopPercentageResponse, error) // UpsertScoreMultiLeaderboards sends a member score to multiple leaderboards. UpsertScoreMultiLeaderboards(ctx context.Context, in *UpsertScoreMultiLeaderboardsRequest, opts ...grpc.CallOption) (*UpsertScoreMultiLeaderboardsResponse, error) // GetRankMultiLeaderboards retrieves information about a member in multiple leaderboards. GetRankMultiLeaderboards(ctx context.Context, in *GetRankMultiLeaderboardsRequest, opts ...grpc.CallOption) (*GetRankMultiLeaderboardsResponse, error) }
PodiumClient is the client API for Podium service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPodiumClient ¶
func NewPodiumClient(cc *grpc.ClientConn) PodiumClient
type PodiumServer ¶
type PodiumServer interface { // HealthCheck verifies and returns service health. HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) // Status allows to clients to know additional information about Podium execution. // Currently only returns error rate of the service. Status(context.Context, *empty.Empty) (*StatusResponse, error) // RemoveLeaderboard removes a specified leaderboard. RemoveLeaderboard(context.Context, *RemoveLeaderboardRequest) (*RemoveLeaderboardResponse, error) // BulkUpsertScores allows clients to send multiple scores in a single request. BulkUpsertScores(context.Context, *BulkUpsertScoresRequest) (*BulkUpsertScoresResponse, error) // UpsertScore submits a single leaderboard score to Podium. UpsertScore(context.Context, *UpsertScoreRequest) (*UpsertScoreResponse, error) // TotalMembers returns the number of members on a leaderboard. TotalMembers(context.Context, *TotalMembersRequest) (*TotalMembersResponse, error) // IncrementScore increments a member score. IncrementScore(context.Context, *IncrementScoreRequest) (*IncrementScoreResponse, error) // GetMember retrieves leaderboard information from a member. GetMember(context.Context, *GetMemberRequest) (*GetMemberResponse, error) // GetMembers retrieves information about multiple members of a leaderboard. GetMembers(context.Context, *GetMembersRequest) (*GetMembersResponse, error) // RemoveMember removes a member from a leaderboard. RemoveMember(context.Context, *RemoveMemberRequest) (*RemoveMemberResponse, error) // RemoveMembers allows the removal of multiple members of a leaderboard. RemoveMembers(context.Context, *RemoveMembersRequest) (*RemoveMembersResponse, error) // GetRank retrieves ranking information about a member. GetRank(context.Context, *GetRankRequest) (*GetRankResponse, error) // GetAroundMember retrieves the closest members to another member on the leaderboard. GetAroundMember(context.Context, *GetAroundMemberRequest) (*GetAroundMemberResponse, error) // GetAroundScore retrieves the closest members to a score on the leaderboard. GetAroundScore(context.Context, *GetAroundScoreRequest) (*GetAroundScoreResponse, error) // GetTopMembers retrieves the top ranking members of a leaderboard. GetTopMembers(context.Context, *GetTopMembersRequest) (*GetTopMembersResponse, error) // GetTopPercentage retrieves a percentage of the top members of the leaderboard. GetTopPercentage(context.Context, *GetTopPercentageRequest) (*GetTopPercentageResponse, error) // UpsertScoreMultiLeaderboards sends a member score to multiple leaderboards. UpsertScoreMultiLeaderboards(context.Context, *UpsertScoreMultiLeaderboardsRequest) (*UpsertScoreMultiLeaderboardsResponse, error) // GetRankMultiLeaderboards retrieves information about a member in multiple leaderboards. GetRankMultiLeaderboards(context.Context, *GetRankMultiLeaderboardsRequest) (*GetRankMultiLeaderboardsResponse, error) }
PodiumServer is the server API for Podium service.
type RemoveLeaderboardRequest ¶
type RemoveLeaderboardRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveLeaderboardRequest) Descriptor ¶
func (*RemoveLeaderboardRequest) Descriptor() ([]byte, []int)
func (*RemoveLeaderboardRequest) GetLeaderboardId ¶
func (m *RemoveLeaderboardRequest) GetLeaderboardId() string
func (*RemoveLeaderboardRequest) ProtoMessage ¶
func (*RemoveLeaderboardRequest) ProtoMessage()
func (*RemoveLeaderboardRequest) Reset ¶
func (m *RemoveLeaderboardRequest) Reset()
func (*RemoveLeaderboardRequest) String ¶
func (m *RemoveLeaderboardRequest) String() string
func (*RemoveLeaderboardRequest) XXX_DiscardUnknown ¶
func (m *RemoveLeaderboardRequest) XXX_DiscardUnknown()
func (*RemoveLeaderboardRequest) XXX_Marshal ¶
func (m *RemoveLeaderboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveLeaderboardRequest) XXX_Merge ¶
func (m *RemoveLeaderboardRequest) XXX_Merge(src proto.Message)
func (*RemoveLeaderboardRequest) XXX_Size ¶
func (m *RemoveLeaderboardRequest) XXX_Size() int
func (*RemoveLeaderboardRequest) XXX_Unmarshal ¶
func (m *RemoveLeaderboardRequest) XXX_Unmarshal(b []byte) error
type RemoveLeaderboardResponse ¶
type RemoveLeaderboardResponse struct { // If the request was successfull. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // If the request failed the reason (as a error message) is written here. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveLeaderboardResponse) Descriptor ¶
func (*RemoveLeaderboardResponse) Descriptor() ([]byte, []int)
func (*RemoveLeaderboardResponse) GetReason ¶
func (m *RemoveLeaderboardResponse) GetReason() string
func (*RemoveLeaderboardResponse) GetSuccess ¶
func (m *RemoveLeaderboardResponse) GetSuccess() bool
func (*RemoveLeaderboardResponse) ProtoMessage ¶
func (*RemoveLeaderboardResponse) ProtoMessage()
func (*RemoveLeaderboardResponse) Reset ¶
func (m *RemoveLeaderboardResponse) Reset()
func (*RemoveLeaderboardResponse) String ¶
func (m *RemoveLeaderboardResponse) String() string
func (*RemoveLeaderboardResponse) XXX_DiscardUnknown ¶
func (m *RemoveLeaderboardResponse) XXX_DiscardUnknown()
func (*RemoveLeaderboardResponse) XXX_Marshal ¶
func (m *RemoveLeaderboardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveLeaderboardResponse) XXX_Merge ¶
func (m *RemoveLeaderboardResponse) XXX_Merge(src proto.Message)
func (*RemoveLeaderboardResponse) XXX_Size ¶
func (m *RemoveLeaderboardResponse) XXX_Size() int
func (*RemoveLeaderboardResponse) XXX_Unmarshal ¶
func (m *RemoveLeaderboardResponse) XXX_Unmarshal(b []byte) error
type RemoveMemberRequest ¶
type RemoveMemberRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` MemberPublicId string `protobuf:"bytes,2,opt,name=member_public_id,json=memberPublicId,proto3" json:"member_public_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveMemberRequest) Descriptor ¶
func (*RemoveMemberRequest) Descriptor() ([]byte, []int)
func (*RemoveMemberRequest) GetLeaderboardId ¶
func (m *RemoveMemberRequest) GetLeaderboardId() string
func (*RemoveMemberRequest) GetMemberPublicId ¶
func (m *RemoveMemberRequest) GetMemberPublicId() string
func (*RemoveMemberRequest) ProtoMessage ¶
func (*RemoveMemberRequest) ProtoMessage()
func (*RemoveMemberRequest) Reset ¶
func (m *RemoveMemberRequest) Reset()
func (*RemoveMemberRequest) String ¶
func (m *RemoveMemberRequest) String() string
func (*RemoveMemberRequest) XXX_DiscardUnknown ¶
func (m *RemoveMemberRequest) XXX_DiscardUnknown()
func (*RemoveMemberRequest) XXX_Marshal ¶
func (m *RemoveMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveMemberRequest) XXX_Merge ¶
func (m *RemoveMemberRequest) XXX_Merge(src proto.Message)
func (*RemoveMemberRequest) XXX_Size ¶
func (m *RemoveMemberRequest) XXX_Size() int
func (*RemoveMemberRequest) XXX_Unmarshal ¶
func (m *RemoveMemberRequest) XXX_Unmarshal(b []byte) error
type RemoveMemberResponse ¶
type RemoveMemberResponse struct { // If the request was successfull. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // If the request failed the reason (as a error message) is written here. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveMemberResponse) Descriptor ¶
func (*RemoveMemberResponse) Descriptor() ([]byte, []int)
func (*RemoveMemberResponse) GetReason ¶
func (m *RemoveMemberResponse) GetReason() string
func (*RemoveMemberResponse) GetSuccess ¶
func (m *RemoveMemberResponse) GetSuccess() bool
func (*RemoveMemberResponse) ProtoMessage ¶
func (*RemoveMemberResponse) ProtoMessage()
func (*RemoveMemberResponse) Reset ¶
func (m *RemoveMemberResponse) Reset()
func (*RemoveMemberResponse) String ¶
func (m *RemoveMemberResponse) String() string
func (*RemoveMemberResponse) XXX_DiscardUnknown ¶
func (m *RemoveMemberResponse) XXX_DiscardUnknown()
func (*RemoveMemberResponse) XXX_Marshal ¶
func (m *RemoveMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveMemberResponse) XXX_Merge ¶
func (m *RemoveMemberResponse) XXX_Merge(src proto.Message)
func (*RemoveMemberResponse) XXX_Size ¶
func (m *RemoveMemberResponse) XXX_Size() int
func (*RemoveMemberResponse) XXX_Unmarshal ¶
func (m *RemoveMemberResponse) XXX_Unmarshal(b []byte) error
type RemoveMembersRequest ¶
type RemoveMembersRequest struct { // The leaderboard identification. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // Comma separated member id list (ex: ids="memberPublicID1,memberPublicID2,...") Ids string `protobuf:"bytes,2,opt,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveMembersRequest) Descriptor ¶
func (*RemoveMembersRequest) Descriptor() ([]byte, []int)
func (*RemoveMembersRequest) GetIds ¶
func (m *RemoveMembersRequest) GetIds() string
func (*RemoveMembersRequest) GetLeaderboardId ¶
func (m *RemoveMembersRequest) GetLeaderboardId() string
func (*RemoveMembersRequest) ProtoMessage ¶
func (*RemoveMembersRequest) ProtoMessage()
func (*RemoveMembersRequest) Reset ¶
func (m *RemoveMembersRequest) Reset()
func (*RemoveMembersRequest) String ¶
func (m *RemoveMembersRequest) String() string
func (*RemoveMembersRequest) XXX_DiscardUnknown ¶
func (m *RemoveMembersRequest) XXX_DiscardUnknown()
func (*RemoveMembersRequest) XXX_Marshal ¶
func (m *RemoveMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveMembersRequest) XXX_Merge ¶
func (m *RemoveMembersRequest) XXX_Merge(src proto.Message)
func (*RemoveMembersRequest) XXX_Size ¶
func (m *RemoveMembersRequest) XXX_Size() int
func (*RemoveMembersRequest) XXX_Unmarshal ¶
func (m *RemoveMembersRequest) XXX_Unmarshal(b []byte) error
type RemoveMembersResponse ¶
type RemoveMembersResponse struct { // If the request was successfull. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // If the request failed the reason (as a error message) is written here. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveMembersResponse) Descriptor ¶
func (*RemoveMembersResponse) Descriptor() ([]byte, []int)
func (*RemoveMembersResponse) GetReason ¶
func (m *RemoveMembersResponse) GetReason() string
func (*RemoveMembersResponse) GetSuccess ¶
func (m *RemoveMembersResponse) GetSuccess() bool
func (*RemoveMembersResponse) ProtoMessage ¶
func (*RemoveMembersResponse) ProtoMessage()
func (*RemoveMembersResponse) Reset ¶
func (m *RemoveMembersResponse) Reset()
func (*RemoveMembersResponse) String ¶
func (m *RemoveMembersResponse) String() string
func (*RemoveMembersResponse) XXX_DiscardUnknown ¶
func (m *RemoveMembersResponse) XXX_DiscardUnknown()
func (*RemoveMembersResponse) XXX_Marshal ¶
func (m *RemoveMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveMembersResponse) XXX_Merge ¶
func (m *RemoveMembersResponse) XXX_Merge(src proto.Message)
func (*RemoveMembersResponse) XXX_Size ¶
func (m *RemoveMembersResponse) XXX_Size() int
func (*RemoveMembersResponse) XXX_Unmarshal ¶
func (m *RemoveMembersResponse) XXX_Unmarshal(b []byte) error
type StatusResponse ¶
type StatusResponse struct { // Rate of errors per second. ErrorRate float64 `protobuf:"fixed64,1,opt,name=error_rate,json=errorRate,proto3" json:"error_rate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusResponse) Descriptor ¶
func (*StatusResponse) Descriptor() ([]byte, []int)
func (*StatusResponse) GetErrorRate ¶
func (m *StatusResponse) GetErrorRate() float64
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) Reset ¶
func (m *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (m *StatusResponse) String() string
func (*StatusResponse) XXX_DiscardUnknown ¶
func (m *StatusResponse) XXX_DiscardUnknown()
func (*StatusResponse) XXX_Marshal ¶
func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse) XXX_Merge ¶
func (m *StatusResponse) XXX_Merge(src proto.Message)
func (*StatusResponse) XXX_Size ¶
func (m *StatusResponse) XXX_Size() int
func (*StatusResponse) XXX_Unmarshal ¶
func (m *StatusResponse) XXX_Unmarshal(b []byte) error
type TotalMembersRequest ¶
type TotalMembersRequest struct { LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TotalMembersRequest) Descriptor ¶
func (*TotalMembersRequest) Descriptor() ([]byte, []int)
func (*TotalMembersRequest) GetLeaderboardId ¶
func (m *TotalMembersRequest) GetLeaderboardId() string
func (*TotalMembersRequest) ProtoMessage ¶
func (*TotalMembersRequest) ProtoMessage()
func (*TotalMembersRequest) Reset ¶
func (m *TotalMembersRequest) Reset()
func (*TotalMembersRequest) String ¶
func (m *TotalMembersRequest) String() string
func (*TotalMembersRequest) XXX_DiscardUnknown ¶
func (m *TotalMembersRequest) XXX_DiscardUnknown()
func (*TotalMembersRequest) XXX_Marshal ¶
func (m *TotalMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalMembersRequest) XXX_Merge ¶
func (m *TotalMembersRequest) XXX_Merge(src proto.Message)
func (*TotalMembersRequest) XXX_Size ¶
func (m *TotalMembersRequest) XXX_Size() int
func (*TotalMembersRequest) XXX_Unmarshal ¶
func (m *TotalMembersRequest) XXX_Unmarshal(b []byte) error
type TotalMembersResponse ¶
type TotalMembersResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TotalMembersResponse) Descriptor ¶
func (*TotalMembersResponse) Descriptor() ([]byte, []int)
func (*TotalMembersResponse) GetCount ¶
func (m *TotalMembersResponse) GetCount() int32
func (*TotalMembersResponse) GetSuccess ¶
func (m *TotalMembersResponse) GetSuccess() bool
func (*TotalMembersResponse) ProtoMessage ¶
func (*TotalMembersResponse) ProtoMessage()
func (*TotalMembersResponse) Reset ¶
func (m *TotalMembersResponse) Reset()
func (*TotalMembersResponse) String ¶
func (m *TotalMembersResponse) String() string
func (*TotalMembersResponse) XXX_DiscardUnknown ¶
func (m *TotalMembersResponse) XXX_DiscardUnknown()
func (*TotalMembersResponse) XXX_Marshal ¶
func (m *TotalMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalMembersResponse) XXX_Merge ¶
func (m *TotalMembersResponse) XXX_Merge(src proto.Message)
func (*TotalMembersResponse) XXX_Size ¶
func (m *TotalMembersResponse) XXX_Size() int
func (*TotalMembersResponse) XXX_Unmarshal ¶
func (m *TotalMembersResponse) XXX_Unmarshal(b []byte) error
type UpsertScoreMultiLeaderboardsRequest ¶
type UpsertScoreMultiLeaderboardsRequest struct { MemberPublicId string `protobuf:"bytes,1,opt,name=member_public_id,json=memberPublicId,proto3" json:"member_public_id,omitempty"` ScoreTTL int32 `protobuf:"varint,2,opt,name=scoreTTL,proto3" json:"scoreTTL,omitempty"` PrevRank bool `protobuf:"varint,3,opt,name=prev_rank,json=prevRank,proto3" json:"prev_rank,omitempty"` ScoreMultiChange *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange `protobuf:"bytes,4,opt,name=score_multi_change,json=scoreMultiChange,proto3" json:"score_multi_change,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpsertScoreMultiLeaderboardsRequest) Descriptor ¶
func (*UpsertScoreMultiLeaderboardsRequest) Descriptor() ([]byte, []int)
func (*UpsertScoreMultiLeaderboardsRequest) GetMemberPublicId ¶
func (m *UpsertScoreMultiLeaderboardsRequest) GetMemberPublicId() string
func (*UpsertScoreMultiLeaderboardsRequest) GetPrevRank ¶
func (m *UpsertScoreMultiLeaderboardsRequest) GetPrevRank() bool
func (*UpsertScoreMultiLeaderboardsRequest) GetScoreMultiChange ¶
func (m *UpsertScoreMultiLeaderboardsRequest) GetScoreMultiChange() *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange
func (*UpsertScoreMultiLeaderboardsRequest) GetScoreTTL ¶
func (m *UpsertScoreMultiLeaderboardsRequest) GetScoreTTL() int32
func (*UpsertScoreMultiLeaderboardsRequest) ProtoMessage ¶
func (*UpsertScoreMultiLeaderboardsRequest) ProtoMessage()
func (*UpsertScoreMultiLeaderboardsRequest) Reset ¶
func (m *UpsertScoreMultiLeaderboardsRequest) Reset()
func (*UpsertScoreMultiLeaderboardsRequest) String ¶
func (m *UpsertScoreMultiLeaderboardsRequest) String() string
func (*UpsertScoreMultiLeaderboardsRequest) XXX_DiscardUnknown ¶
func (m *UpsertScoreMultiLeaderboardsRequest) XXX_DiscardUnknown()
func (*UpsertScoreMultiLeaderboardsRequest) XXX_Marshal ¶
func (m *UpsertScoreMultiLeaderboardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertScoreMultiLeaderboardsRequest) XXX_Merge ¶
func (m *UpsertScoreMultiLeaderboardsRequest) XXX_Merge(src proto.Message)
func (*UpsertScoreMultiLeaderboardsRequest) XXX_Size ¶
func (m *UpsertScoreMultiLeaderboardsRequest) XXX_Size() int
func (*UpsertScoreMultiLeaderboardsRequest) XXX_Unmarshal ¶
func (m *UpsertScoreMultiLeaderboardsRequest) XXX_Unmarshal(b []byte) error
type UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange ¶
type UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange struct { Score float64 `protobuf:"fixed64,1,opt,name=score,proto3" json:"score,omitempty"` Leaderboards []string `protobuf:"bytes,2,rep,name=leaderboards,proto3" json:"leaderboards,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ScoreMultiChange is the payload to update the score of a member on multiple leaderboards.
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) Descriptor ¶
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) Descriptor() ([]byte, []int)
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) GetLeaderboards ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) GetLeaderboards() []string
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) GetScore ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) GetScore() float64
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) ProtoMessage ¶
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) ProtoMessage()
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) Reset ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) Reset()
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) String ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) String() string
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_DiscardUnknown ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_DiscardUnknown()
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Marshal ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Merge ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Merge(src proto.Message)
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Size ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Size() int
func (*UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Unmarshal ¶
func (m *UpsertScoreMultiLeaderboardsRequest_ScoreMultiChange) XXX_Unmarshal(b []byte) error
type UpsertScoreMultiLeaderboardsResponse ¶
type UpsertScoreMultiLeaderboardsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Scores []*UpsertScoreMultiLeaderboardsResponse_Member `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpsertScoreMultiLeaderboardsResponse) Descriptor ¶
func (*UpsertScoreMultiLeaderboardsResponse) Descriptor() ([]byte, []int)
func (*UpsertScoreMultiLeaderboardsResponse) GetScores ¶
func (m *UpsertScoreMultiLeaderboardsResponse) GetScores() []*UpsertScoreMultiLeaderboardsResponse_Member
func (*UpsertScoreMultiLeaderboardsResponse) GetSuccess ¶
func (m *UpsertScoreMultiLeaderboardsResponse) GetSuccess() bool
func (*UpsertScoreMultiLeaderboardsResponse) ProtoMessage ¶
func (*UpsertScoreMultiLeaderboardsResponse) ProtoMessage()
func (*UpsertScoreMultiLeaderboardsResponse) Reset ¶
func (m *UpsertScoreMultiLeaderboardsResponse) Reset()
func (*UpsertScoreMultiLeaderboardsResponse) String ¶
func (m *UpsertScoreMultiLeaderboardsResponse) String() string
func (*UpsertScoreMultiLeaderboardsResponse) XXX_DiscardUnknown ¶
func (m *UpsertScoreMultiLeaderboardsResponse) XXX_DiscardUnknown()
func (*UpsertScoreMultiLeaderboardsResponse) XXX_Marshal ¶
func (m *UpsertScoreMultiLeaderboardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertScoreMultiLeaderboardsResponse) XXX_Merge ¶
func (m *UpsertScoreMultiLeaderboardsResponse) XXX_Merge(src proto.Message)
func (*UpsertScoreMultiLeaderboardsResponse) XXX_Size ¶
func (m *UpsertScoreMultiLeaderboardsResponse) XXX_Size() int
func (*UpsertScoreMultiLeaderboardsResponse) XXX_Unmarshal ¶
func (m *UpsertScoreMultiLeaderboardsResponse) XXX_Unmarshal(b []byte) error
type UpsertScoreMultiLeaderboardsResponse_Member ¶
type UpsertScoreMultiLeaderboardsResponse_Member struct { PublicID string `protobuf:"bytes,1,opt,name=publicID,proto3" json:"publicID,omitempty"` Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"` Rank int32 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank,omitempty"` // The previous rank of the player in the leaderboard, if requested. PreviousRank int32 `protobuf:"varint,5,opt,name=previous_rank,json=previousRank,proto3" json:"previous_rank,omitempty"` // Unix timestamp of when the member's score will be erased (only if scoreTTL was requested). ExpireAt int32 `protobuf:"varint,6,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` LeaderboardID string `protobuf:"bytes,8,opt,name=leaderboardID,proto3" json:"leaderboardID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Member represents the information regarding a single member in response to a multi upsert score.
func (*UpsertScoreMultiLeaderboardsResponse_Member) Descriptor ¶
func (*UpsertScoreMultiLeaderboardsResponse_Member) Descriptor() ([]byte, []int)
func (*UpsertScoreMultiLeaderboardsResponse_Member) GetExpireAt ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetExpireAt() int32
func (*UpsertScoreMultiLeaderboardsResponse_Member) GetLeaderboardID ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetLeaderboardID() string
func (*UpsertScoreMultiLeaderboardsResponse_Member) GetPreviousRank ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetPreviousRank() int32
func (*UpsertScoreMultiLeaderboardsResponse_Member) GetPublicID ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetPublicID() string
func (*UpsertScoreMultiLeaderboardsResponse_Member) GetRank ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetRank() int32
func (*UpsertScoreMultiLeaderboardsResponse_Member) GetScore ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) GetScore() float64
func (*UpsertScoreMultiLeaderboardsResponse_Member) ProtoMessage ¶
func (*UpsertScoreMultiLeaderboardsResponse_Member) ProtoMessage()
func (*UpsertScoreMultiLeaderboardsResponse_Member) Reset ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) Reset()
func (*UpsertScoreMultiLeaderboardsResponse_Member) String ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) String() string
func (*UpsertScoreMultiLeaderboardsResponse_Member) XXX_DiscardUnknown ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_DiscardUnknown()
func (*UpsertScoreMultiLeaderboardsResponse_Member) XXX_Marshal ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertScoreMultiLeaderboardsResponse_Member) XXX_Merge ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_Merge(src proto.Message)
func (*UpsertScoreMultiLeaderboardsResponse_Member) XXX_Size ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_Size() int
func (*UpsertScoreMultiLeaderboardsResponse_Member) XXX_Unmarshal ¶
func (m *UpsertScoreMultiLeaderboardsResponse_Member) XXX_Unmarshal(b []byte) error
type UpsertScoreRequest ¶
type UpsertScoreRequest struct { // The leaderboard identification. LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"` // The member identification. MemberPublicId string `protobuf:"bytes,2,opt,name=member_public_id,json=memberPublicId,proto3" json:"member_public_id,omitempty"` // If set to true, it will also return the previous rank of the player in the leaderboard. PrevRank bool `protobuf:"varint,3,opt,name=prev_rank,json=prevRank,proto3" json:"prev_rank,omitempty"` // If set to more than zero, the score of the player will be expired from the leaderboard past scoreTTL seconds. ScoreTTL int32 `protobuf:"varint,4,opt,name=scoreTTL,proto3" json:"scoreTTL,omitempty"` ScoreChange *UpsertScoreRequest_ScoreChange `protobuf:"bytes,5,opt,name=score_change,json=scoreChange,proto3" json:"score_change,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpsertScoreRequest) Descriptor ¶
func (*UpsertScoreRequest) Descriptor() ([]byte, []int)
func (*UpsertScoreRequest) GetLeaderboardId ¶
func (m *UpsertScoreRequest) GetLeaderboardId() string
func (*UpsertScoreRequest) GetMemberPublicId ¶
func (m *UpsertScoreRequest) GetMemberPublicId() string
func (*UpsertScoreRequest) GetPrevRank ¶
func (m *UpsertScoreRequest) GetPrevRank() bool
func (*UpsertScoreRequest) GetScoreChange ¶
func (m *UpsertScoreRequest) GetScoreChange() *UpsertScoreRequest_ScoreChange
func (*UpsertScoreRequest) GetScoreTTL ¶
func (m *UpsertScoreRequest) GetScoreTTL() int32
func (*UpsertScoreRequest) ProtoMessage ¶
func (*UpsertScoreRequest) ProtoMessage()
func (*UpsertScoreRequest) Reset ¶
func (m *UpsertScoreRequest) Reset()
func (*UpsertScoreRequest) String ¶
func (m *UpsertScoreRequest) String() string
func (*UpsertScoreRequest) XXX_DiscardUnknown ¶
func (m *UpsertScoreRequest) XXX_DiscardUnknown()
func (*UpsertScoreRequest) XXX_Marshal ¶
func (m *UpsertScoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertScoreRequest) XXX_Merge ¶
func (m *UpsertScoreRequest) XXX_Merge(src proto.Message)
func (*UpsertScoreRequest) XXX_Size ¶
func (m *UpsertScoreRequest) XXX_Size() int
func (*UpsertScoreRequest) XXX_Unmarshal ¶
func (m *UpsertScoreRequest) XXX_Unmarshal(b []byte) error
type UpsertScoreRequest_ScoreChange ¶
type UpsertScoreRequest_ScoreChange struct { Score float64 `protobuf:"fixed64,1,opt,name=score,proto3" json:"score,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ScoreChange is the score payload when upserting a score.
func (*UpsertScoreRequest_ScoreChange) Descriptor ¶
func (*UpsertScoreRequest_ScoreChange) Descriptor() ([]byte, []int)
func (*UpsertScoreRequest_ScoreChange) GetScore ¶
func (m *UpsertScoreRequest_ScoreChange) GetScore() float64
func (*UpsertScoreRequest_ScoreChange) ProtoMessage ¶
func (*UpsertScoreRequest_ScoreChange) ProtoMessage()
func (*UpsertScoreRequest_ScoreChange) Reset ¶
func (m *UpsertScoreRequest_ScoreChange) Reset()
func (*UpsertScoreRequest_ScoreChange) String ¶
func (m *UpsertScoreRequest_ScoreChange) String() string
func (*UpsertScoreRequest_ScoreChange) XXX_DiscardUnknown ¶
func (m *UpsertScoreRequest_ScoreChange) XXX_DiscardUnknown()
func (*UpsertScoreRequest_ScoreChange) XXX_Marshal ¶
func (m *UpsertScoreRequest_ScoreChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertScoreRequest_ScoreChange) XXX_Merge ¶
func (m *UpsertScoreRequest_ScoreChange) XXX_Merge(src proto.Message)
func (*UpsertScoreRequest_ScoreChange) XXX_Size ¶
func (m *UpsertScoreRequest_ScoreChange) XXX_Size() int
func (*UpsertScoreRequest_ScoreChange) XXX_Unmarshal ¶
func (m *UpsertScoreRequest_ScoreChange) XXX_Unmarshal(b []byte) error
type UpsertScoreResponse ¶
type UpsertScoreResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` PublicID string `protobuf:"bytes,2,opt,name=publicID,proto3" json:"publicID,omitempty"` Score float64 `protobuf:"fixed64,3,opt,name=score,proto3" json:"score,omitempty"` Rank int32 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank,omitempty"` // The previous rank of the player in the leaderboard, if requested. PreviousRank int32 `protobuf:"varint,5,opt,name=previous_rank,json=previousRank,proto3" json:"previous_rank,omitempty"` // Unix timestamp of when the member's score will be erased (only if scoreTTL was requested) ExpireAt int32 `protobuf:"varint,6,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpsertScoreResponse) Descriptor ¶
func (*UpsertScoreResponse) Descriptor() ([]byte, []int)
func (*UpsertScoreResponse) GetExpireAt ¶
func (m *UpsertScoreResponse) GetExpireAt() int32
func (*UpsertScoreResponse) GetPreviousRank ¶
func (m *UpsertScoreResponse) GetPreviousRank() int32
func (*UpsertScoreResponse) GetPublicID ¶
func (m *UpsertScoreResponse) GetPublicID() string
func (*UpsertScoreResponse) GetRank ¶
func (m *UpsertScoreResponse) GetRank() int32
func (*UpsertScoreResponse) GetScore ¶
func (m *UpsertScoreResponse) GetScore() float64
func (*UpsertScoreResponse) GetSuccess ¶
func (m *UpsertScoreResponse) GetSuccess() bool
func (*UpsertScoreResponse) ProtoMessage ¶
func (*UpsertScoreResponse) ProtoMessage()
func (*UpsertScoreResponse) Reset ¶
func (m *UpsertScoreResponse) Reset()
func (*UpsertScoreResponse) String ¶
func (m *UpsertScoreResponse) String() string
func (*UpsertScoreResponse) XXX_DiscardUnknown ¶
func (m *UpsertScoreResponse) XXX_DiscardUnknown()
func (*UpsertScoreResponse) XXX_Marshal ¶
func (m *UpsertScoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertScoreResponse) XXX_Merge ¶
func (m *UpsertScoreResponse) XXX_Merge(src proto.Message)
func (*UpsertScoreResponse) XXX_Size ¶
func (m *UpsertScoreResponse) XXX_Size() int
func (*UpsertScoreResponse) XXX_Unmarshal ¶
func (m *UpsertScoreResponse) XXX_Unmarshal(b []byte) error