api

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 80

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Friend_State_name = map[int32]string{
	0: "FRIEND",
	1: "INVITE_SENT",
	2: "INVITE_RECEIVED",
	3: "BLOCKED",
}
View Source
var Friend_State_value = map[string]int32{
	"FRIEND":          0,
	"INVITE_SENT":     1,
	"INVITE_RECEIVED": 2,
	"BLOCKED":         3,
}
View Source
var GroupUserList_GroupUser_State_name = map[int32]string{
	0: "SUPERADMIN",
	1: "ADMIN",
	2: "MEMBER",
	3: "JOIN_REQUEST",
}
View Source
var GroupUserList_GroupUser_State_value = map[string]int32{
	"SUPERADMIN":   0,
	"ADMIN":        1,
	"MEMBER":       2,
	"JOIN_REQUEST": 3,
}
View Source
var UserGroupList_UserGroup_State_name = map[int32]string{
	0: "SUPERADMIN",
	1: "ADMIN",
	2: "MEMBER",
	3: "JOIN_REQUEST",
}
View Source
var UserGroupList_UserGroup_State_value = map[string]int32{
	"SUPERADMIN":   0,
	"ADMIN":        1,
	"MEMBER":       2,
	"JOIN_REQUEST": 3,
}

Functions

This section is empty.

Types

type Account

type Account struct {
	// The user object.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// The user's wallet data.
	Wallet string `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"`
	// The email address of the user.
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// The devices which belong to the user's account.
	Devices []*AccountDevice `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
	// The custom id in the user's account.
	CustomId string `protobuf:"bytes,5,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"`
	// The UNIX time when the user's email was verified.
	VerifyTime           *timestamp.Timestamp `protobuf:"bytes,6,opt,name=verify_time,json=verifyTime,proto3" json:"verify_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A user with additional account details. Always the current user.

func (*Account) Descriptor

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

func (*Account) GetCustomId

func (m *Account) GetCustomId() string

func (*Account) GetDevices

func (m *Account) GetDevices() []*AccountDevice

func (*Account) GetEmail

func (m *Account) GetEmail() string

func (*Account) GetUser

func (m *Account) GetUser() *User

func (*Account) GetVerifyTime

func (m *Account) GetVerifyTime() *timestamp.Timestamp

func (*Account) GetWallet

func (m *Account) GetWallet() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type AccountCustom

type AccountCustom struct {
	// A custom identifier.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Send a custom ID to the server. Used with authenticate/link/unlink.

func (*AccountCustom) Descriptor

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

func (*AccountCustom) GetId

func (m *AccountCustom) GetId() string

func (*AccountCustom) ProtoMessage

func (*AccountCustom) ProtoMessage()

func (*AccountCustom) Reset

func (m *AccountCustom) Reset()

func (*AccountCustom) String

func (m *AccountCustom) String() string

func (*AccountCustom) XXX_DiscardUnknown

func (m *AccountCustom) XXX_DiscardUnknown()

func (*AccountCustom) XXX_Marshal

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

func (*AccountCustom) XXX_Merge

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

func (*AccountCustom) XXX_Size

func (m *AccountCustom) XXX_Size() int

func (*AccountCustom) XXX_Unmarshal

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

type AccountDevice

type AccountDevice struct {
	// A device identifier. Should be obtained by a platform-specific device API.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Send a device to the server. Used with authenticate/link/unlink and user.

func (*AccountDevice) Descriptor

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

func (*AccountDevice) GetId

func (m *AccountDevice) GetId() string

func (*AccountDevice) ProtoMessage

func (*AccountDevice) ProtoMessage()

func (*AccountDevice) Reset

func (m *AccountDevice) Reset()

func (*AccountDevice) String

func (m *AccountDevice) String() string

func (*AccountDevice) XXX_DiscardUnknown

func (m *AccountDevice) XXX_DiscardUnknown()

func (*AccountDevice) XXX_Marshal

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

func (*AccountDevice) XXX_Merge

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

func (*AccountDevice) XXX_Size

func (m *AccountDevice) XXX_Size() int

func (*AccountDevice) XXX_Unmarshal

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

type AccountEmail

type AccountEmail struct {
	// A valid RFC-5322 email address.
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// A password for the user account.
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Send an email with password to the server. Used with authenticate/link/unlink.

func (*AccountEmail) Descriptor

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

func (*AccountEmail) GetEmail

func (m *AccountEmail) GetEmail() string

func (*AccountEmail) GetPassword

func (m *AccountEmail) GetPassword() string

func (*AccountEmail) ProtoMessage

func (*AccountEmail) ProtoMessage()

func (*AccountEmail) Reset

func (m *AccountEmail) Reset()

func (*AccountEmail) String

func (m *AccountEmail) String() string

func (*AccountEmail) XXX_DiscardUnknown

func (m *AccountEmail) XXX_DiscardUnknown()

func (*AccountEmail) XXX_Marshal

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

func (*AccountEmail) XXX_Merge

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

func (*AccountEmail) XXX_Size

func (m *AccountEmail) XXX_Size() int

func (*AccountEmail) XXX_Unmarshal

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

type AccountFacebook

type AccountFacebook struct {
	// The OAuth token received from Facebook to access their profile API.
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Send a Facebook token to the server. Used with authenticate/link/unlink.

func (*AccountFacebook) Descriptor

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

func (*AccountFacebook) GetToken

func (m *AccountFacebook) GetToken() string

func (*AccountFacebook) ProtoMessage

func (*AccountFacebook) ProtoMessage()

func (*AccountFacebook) Reset

func (m *AccountFacebook) Reset()

func (*AccountFacebook) String

func (m *AccountFacebook) String() string

func (*AccountFacebook) XXX_DiscardUnknown

func (m *AccountFacebook) XXX_DiscardUnknown()

func (*AccountFacebook) XXX_Marshal

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

func (*AccountFacebook) XXX_Merge

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

func (*AccountFacebook) XXX_Size

func (m *AccountFacebook) XXX_Size() int

func (*AccountFacebook) XXX_Unmarshal

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

type AccountGameCenter

type AccountGameCenter struct {
	// Player ID (generated by GameCenter).
	PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
	// Bundle ID (generated by GameCenter).
	BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
	// Time since UNIX epoch when the signature was created.
	TimestampSeconds int64 `protobuf:"varint,3,opt,name=timestamp_seconds,json=timestampSeconds,proto3" json:"timestamp_seconds,omitempty"`
	// A random "NSString" used to compute the hash and keep it randomized.
	Salt string `protobuf:"bytes,4,opt,name=salt,proto3" json:"salt,omitempty"`
	// The verification signature data generated.
	Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// The URL for the public encryption key.
	PublicKeyUrl         string   `protobuf:"bytes,6,opt,name=public_key_url,json=publicKeyUrl,proto3" json:"public_key_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Send Apple's Game Center account credentials to the server. Used with authenticate/link/unlink.

func (*AccountGameCenter) Descriptor

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

func (*AccountGameCenter) GetBundleId

func (m *AccountGameCenter) GetBundleId() string

func (*AccountGameCenter) GetPlayerId

func (m *AccountGameCenter) GetPlayerId() string

func (*AccountGameCenter) GetPublicKeyUrl

func (m *AccountGameCenter) GetPublicKeyUrl() string

func (*AccountGameCenter) GetSalt

func (m *AccountGameCenter) GetSalt() string

func (*AccountGameCenter) GetSignature

func (m *AccountGameCenter) GetSignature() string

func (*AccountGameCenter) GetTimestampSeconds

func (m *AccountGameCenter) GetTimestampSeconds() int64

func (*AccountGameCenter) ProtoMessage

func (*AccountGameCenter) ProtoMessage()

func (*AccountGameCenter) Reset

func (m *AccountGameCenter) Reset()

func (*AccountGameCenter) String

func (m *AccountGameCenter) String() string

func (*AccountGameCenter) XXX_DiscardUnknown

func (m *AccountGameCenter) XXX_DiscardUnknown()

func (*AccountGameCenter) XXX_Marshal

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

func (*AccountGameCenter) XXX_Merge

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

func (*AccountGameCenter) XXX_Size

func (m *AccountGameCenter) XXX_Size() int

func (*AccountGameCenter) XXX_Unmarshal

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

type AccountGoogle

type AccountGoogle struct {
	// The OAuth token received from Google to access their profile API.
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Send a Google token to the server. Used with authenticate/link/unlink.

func (*AccountGoogle) Descriptor

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

func (*AccountGoogle) GetToken

func (m *AccountGoogle) GetToken() string

func (*AccountGoogle) ProtoMessage

func (*AccountGoogle) ProtoMessage()

func (*AccountGoogle) Reset

func (m *AccountGoogle) Reset()

func (*AccountGoogle) String

func (m *AccountGoogle) String() string

func (*AccountGoogle) XXX_DiscardUnknown

func (m *AccountGoogle) XXX_DiscardUnknown()

func (*AccountGoogle) XXX_Marshal

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

func (*AccountGoogle) XXX_Merge

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

func (*AccountGoogle) XXX_Size

func (m *AccountGoogle) XXX_Size() int

func (*AccountGoogle) XXX_Unmarshal

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

type AccountSteam

type AccountSteam struct {
	// The account token received from Steam to access their profile API.
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Send a Steam token to the server. Used with authenticate/link/unlink.

func (*AccountSteam) Descriptor

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

func (*AccountSteam) GetToken

func (m *AccountSteam) GetToken() string

func (*AccountSteam) ProtoMessage

func (*AccountSteam) ProtoMessage()

func (*AccountSteam) Reset

func (m *AccountSteam) Reset()

func (*AccountSteam) String

func (m *AccountSteam) String() string

func (*AccountSteam) XXX_DiscardUnknown

func (m *AccountSteam) XXX_DiscardUnknown()

func (*AccountSteam) XXX_Marshal

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

func (*AccountSteam) XXX_Merge

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

func (*AccountSteam) XXX_Size

func (m *AccountSteam) XXX_Size() int

func (*AccountSteam) XXX_Unmarshal

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

type AddFriendsRequest

type AddFriendsRequest struct {
	// The account id of a user.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The account username of a user.
	Usernames            []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Add one or more friends to the current user.

func (*AddFriendsRequest) Descriptor

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

func (*AddFriendsRequest) GetIds

func (m *AddFriendsRequest) GetIds() []string

func (*AddFriendsRequest) GetUsernames

func (m *AddFriendsRequest) GetUsernames() []string

func (*AddFriendsRequest) ProtoMessage

func (*AddFriendsRequest) ProtoMessage()

func (*AddFriendsRequest) Reset

func (m *AddFriendsRequest) Reset()

func (*AddFriendsRequest) String

func (m *AddFriendsRequest) String() string

func (*AddFriendsRequest) XXX_DiscardUnknown

func (m *AddFriendsRequest) XXX_DiscardUnknown()

func (*AddFriendsRequest) XXX_Marshal

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

func (*AddFriendsRequest) XXX_Merge

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

func (*AddFriendsRequest) XXX_Size

func (m *AddFriendsRequest) XXX_Size() int

func (*AddFriendsRequest) XXX_Unmarshal

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

type AddGroupUsersRequest

type AddGroupUsersRequest struct {
	// The group to add users to.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The users to add.
	UserIds              []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Add users to a group.

func (*AddGroupUsersRequest) Descriptor

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

func (*AddGroupUsersRequest) GetGroupId

func (m *AddGroupUsersRequest) GetGroupId() string

func (*AddGroupUsersRequest) GetUserIds

func (m *AddGroupUsersRequest) GetUserIds() []string

func (*AddGroupUsersRequest) ProtoMessage

func (*AddGroupUsersRequest) ProtoMessage()

func (*AddGroupUsersRequest) Reset

func (m *AddGroupUsersRequest) Reset()

func (*AddGroupUsersRequest) String

func (m *AddGroupUsersRequest) String() string

func (*AddGroupUsersRequest) XXX_DiscardUnknown

func (m *AddGroupUsersRequest) XXX_DiscardUnknown()

func (*AddGroupUsersRequest) XXX_Marshal

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

func (*AddGroupUsersRequest) XXX_Merge

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

func (*AddGroupUsersRequest) XXX_Size

func (m *AddGroupUsersRequest) XXX_Size() int

func (*AddGroupUsersRequest) XXX_Unmarshal

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

type AuthenticateCustomRequest

type AuthenticateCustomRequest struct {
	// The custom account details.
	Account *AccountCustom `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *wrappers.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	// Set the username on the account at register. Must be unique.
	Username             string   `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Authenticate against the server with a custom ID.

func (*AuthenticateCustomRequest) Descriptor

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

func (*AuthenticateCustomRequest) GetAccount

func (m *AuthenticateCustomRequest) GetAccount() *AccountCustom

func (*AuthenticateCustomRequest) GetCreate

func (*AuthenticateCustomRequest) GetUsername

func (m *AuthenticateCustomRequest) GetUsername() string

func (*AuthenticateCustomRequest) ProtoMessage

func (*AuthenticateCustomRequest) ProtoMessage()

func (*AuthenticateCustomRequest) Reset

func (m *AuthenticateCustomRequest) Reset()

func (*AuthenticateCustomRequest) String

func (m *AuthenticateCustomRequest) String() string

func (*AuthenticateCustomRequest) XXX_DiscardUnknown

func (m *AuthenticateCustomRequest) XXX_DiscardUnknown()

func (*AuthenticateCustomRequest) XXX_Marshal

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

func (*AuthenticateCustomRequest) XXX_Merge

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

func (*AuthenticateCustomRequest) XXX_Size

func (m *AuthenticateCustomRequest) XXX_Size() int

func (*AuthenticateCustomRequest) XXX_Unmarshal

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

type AuthenticateDeviceRequest

type AuthenticateDeviceRequest struct {
	// The device account details.
	Account *AccountDevice `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *wrappers.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	// Set the username on the account at register. Must be unique.
	Username             string   `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Authenticate against the server with a device ID.

func (*AuthenticateDeviceRequest) Descriptor

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

func (*AuthenticateDeviceRequest) GetAccount

func (m *AuthenticateDeviceRequest) GetAccount() *AccountDevice

func (*AuthenticateDeviceRequest) GetCreate

func (*AuthenticateDeviceRequest) GetUsername

func (m *AuthenticateDeviceRequest) GetUsername() string

func (*AuthenticateDeviceRequest) ProtoMessage

func (*AuthenticateDeviceRequest) ProtoMessage()

func (*AuthenticateDeviceRequest) Reset

func (m *AuthenticateDeviceRequest) Reset()

func (*AuthenticateDeviceRequest) String

func (m *AuthenticateDeviceRequest) String() string

func (*AuthenticateDeviceRequest) XXX_DiscardUnknown

func (m *AuthenticateDeviceRequest) XXX_DiscardUnknown()

func (*AuthenticateDeviceRequest) XXX_Marshal

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

func (*AuthenticateDeviceRequest) XXX_Merge

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

func (*AuthenticateDeviceRequest) XXX_Size

func (m *AuthenticateDeviceRequest) XXX_Size() int

func (*AuthenticateDeviceRequest) XXX_Unmarshal

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

type AuthenticateEmailRequest

type AuthenticateEmailRequest struct {
	// The email account details.
	Account *AccountEmail `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *wrappers.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	// Set the username on the account at register. Must be unique.
	Username             string   `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Authenticate against the server with email+password.

func (*AuthenticateEmailRequest) Descriptor

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

func (*AuthenticateEmailRequest) GetAccount

func (m *AuthenticateEmailRequest) GetAccount() *AccountEmail

func (*AuthenticateEmailRequest) GetCreate

func (*AuthenticateEmailRequest) GetUsername

func (m *AuthenticateEmailRequest) GetUsername() string

func (*AuthenticateEmailRequest) ProtoMessage

func (*AuthenticateEmailRequest) ProtoMessage()

func (*AuthenticateEmailRequest) Reset

func (m *AuthenticateEmailRequest) Reset()

func (*AuthenticateEmailRequest) String

func (m *AuthenticateEmailRequest) String() string

func (*AuthenticateEmailRequest) XXX_DiscardUnknown

func (m *AuthenticateEmailRequest) XXX_DiscardUnknown()

func (*AuthenticateEmailRequest) XXX_Marshal

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

func (*AuthenticateEmailRequest) XXX_Merge

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

func (*AuthenticateEmailRequest) XXX_Size

func (m *AuthenticateEmailRequest) XXX_Size() int

func (*AuthenticateEmailRequest) XXX_Unmarshal

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

type AuthenticateFacebookRequest

type AuthenticateFacebookRequest struct {
	// The Facebook account details.
	Account *AccountFacebook `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *wrappers.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	// Set the username on the account at register. Must be unique.
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// Import Facebook friends for the user.
	Sync                 *wrappers.BoolValue `protobuf:"bytes,4,opt,name=sync,proto3" json:"sync,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Authenticate against the server with Facebook.

func (*AuthenticateFacebookRequest) Descriptor

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

func (*AuthenticateFacebookRequest) GetAccount

func (*AuthenticateFacebookRequest) GetCreate

func (*AuthenticateFacebookRequest) GetSync

func (*AuthenticateFacebookRequest) GetUsername

func (m *AuthenticateFacebookRequest) GetUsername() string

func (*AuthenticateFacebookRequest) ProtoMessage

func (*AuthenticateFacebookRequest) ProtoMessage()

func (*AuthenticateFacebookRequest) Reset

func (m *AuthenticateFacebookRequest) Reset()

func (*AuthenticateFacebookRequest) String

func (m *AuthenticateFacebookRequest) String() string

func (*AuthenticateFacebookRequest) XXX_DiscardUnknown

func (m *AuthenticateFacebookRequest) XXX_DiscardUnknown()

func (*AuthenticateFacebookRequest) XXX_Marshal

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

func (*AuthenticateFacebookRequest) XXX_Merge

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

func (*AuthenticateFacebookRequest) XXX_Size

func (m *AuthenticateFacebookRequest) XXX_Size() int

func (*AuthenticateFacebookRequest) XXX_Unmarshal

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

type AuthenticateGameCenterRequest

type AuthenticateGameCenterRequest struct {
	// The Game Center account details.
	Account *AccountGameCenter `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *wrappers.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	// Set the username on the account at register. Must be unique.
	Username             string   `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Authenticate against the server with Apple's Game Center.

func (*AuthenticateGameCenterRequest) Descriptor

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

func (*AuthenticateGameCenterRequest) GetAccount

func (*AuthenticateGameCenterRequest) GetCreate

func (*AuthenticateGameCenterRequest) GetUsername

func (m *AuthenticateGameCenterRequest) GetUsername() string

func (*AuthenticateGameCenterRequest) ProtoMessage

func (*AuthenticateGameCenterRequest) ProtoMessage()

func (*AuthenticateGameCenterRequest) Reset

func (m *AuthenticateGameCenterRequest) Reset()

func (*AuthenticateGameCenterRequest) String

func (*AuthenticateGameCenterRequest) XXX_DiscardUnknown

func (m *AuthenticateGameCenterRequest) XXX_DiscardUnknown()

func (*AuthenticateGameCenterRequest) XXX_Marshal

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

func (*AuthenticateGameCenterRequest) XXX_Merge

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

func (*AuthenticateGameCenterRequest) XXX_Size

func (m *AuthenticateGameCenterRequest) XXX_Size() int

func (*AuthenticateGameCenterRequest) XXX_Unmarshal

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

type AuthenticateGoogleRequest

type AuthenticateGoogleRequest struct {
	// The Google account details.
	Account *AccountGoogle `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *wrappers.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	// Set the username on the account at register. Must be unique.
	Username             string   `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Authenticate against the server with Google.

func (*AuthenticateGoogleRequest) Descriptor

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

func (*AuthenticateGoogleRequest) GetAccount

func (m *AuthenticateGoogleRequest) GetAccount() *AccountGoogle

func (*AuthenticateGoogleRequest) GetCreate

func (*AuthenticateGoogleRequest) GetUsername

func (m *AuthenticateGoogleRequest) GetUsername() string

func (*AuthenticateGoogleRequest) ProtoMessage

func (*AuthenticateGoogleRequest) ProtoMessage()

func (*AuthenticateGoogleRequest) Reset

func (m *AuthenticateGoogleRequest) Reset()

func (*AuthenticateGoogleRequest) String

func (m *AuthenticateGoogleRequest) String() string

func (*AuthenticateGoogleRequest) XXX_DiscardUnknown

func (m *AuthenticateGoogleRequest) XXX_DiscardUnknown()

func (*AuthenticateGoogleRequest) XXX_Marshal

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

func (*AuthenticateGoogleRequest) XXX_Merge

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

func (*AuthenticateGoogleRequest) XXX_Size

func (m *AuthenticateGoogleRequest) XXX_Size() int

func (*AuthenticateGoogleRequest) XXX_Unmarshal

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

type AuthenticateSteamRequest

type AuthenticateSteamRequest struct {
	// The Steam account details.
	Account *AccountSteam `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Register the account if the user does not already exist.
	Create *wrappers.BoolValue `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	// Set the username on the account at register. Must be unique.
	Username             string   `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Authenticate against the server with Steam.

func (*AuthenticateSteamRequest) Descriptor

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

func (*AuthenticateSteamRequest) GetAccount

func (m *AuthenticateSteamRequest) GetAccount() *AccountSteam

func (*AuthenticateSteamRequest) GetCreate

func (*AuthenticateSteamRequest) GetUsername

func (m *AuthenticateSteamRequest) GetUsername() string

func (*AuthenticateSteamRequest) ProtoMessage

func (*AuthenticateSteamRequest) ProtoMessage()

func (*AuthenticateSteamRequest) Reset

func (m *AuthenticateSteamRequest) Reset()

func (*AuthenticateSteamRequest) String

func (m *AuthenticateSteamRequest) String() string

func (*AuthenticateSteamRequest) XXX_DiscardUnknown

func (m *AuthenticateSteamRequest) XXX_DiscardUnknown()

func (*AuthenticateSteamRequest) XXX_Marshal

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

func (*AuthenticateSteamRequest) XXX_Merge

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

func (*AuthenticateSteamRequest) XXX_Size

func (m *AuthenticateSteamRequest) XXX_Size() int

func (*AuthenticateSteamRequest) XXX_Unmarshal

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

type BlockFriendsRequest

type BlockFriendsRequest struct {
	// The account id of a user.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The account username of a user.
	Usernames            []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Block one or more friends for the current user.

func (*BlockFriendsRequest) Descriptor

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

func (*BlockFriendsRequest) GetIds

func (m *BlockFriendsRequest) GetIds() []string

func (*BlockFriendsRequest) GetUsernames

func (m *BlockFriendsRequest) GetUsernames() []string

func (*BlockFriendsRequest) ProtoMessage

func (*BlockFriendsRequest) ProtoMessage()

func (*BlockFriendsRequest) Reset

func (m *BlockFriendsRequest) Reset()

func (*BlockFriendsRequest) String

func (m *BlockFriendsRequest) String() string

func (*BlockFriendsRequest) XXX_DiscardUnknown

func (m *BlockFriendsRequest) XXX_DiscardUnknown()

func (*BlockFriendsRequest) XXX_Marshal

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

func (*BlockFriendsRequest) XXX_Merge

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

func (*BlockFriendsRequest) XXX_Size

func (m *BlockFriendsRequest) XXX_Size() int

func (*BlockFriendsRequest) XXX_Unmarshal

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

type ChannelMessage

type ChannelMessage struct {
	// The channel this message belongs to.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The unique ID of this message.
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The code representing a message type or category.
	Code *wrappers.Int32Value `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	// Message sender, usually a user ID.
	SenderId string `protobuf:"bytes,4,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	// The username of the message sender, if any.
	Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	// The content payload.
	Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	// The UNIX time when the message was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time when the message was last updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// True if the message was persisted to the channel's history, false otherwise.
	Persistent           *wrappers.BoolValue `protobuf:"bytes,9,opt,name=persistent,proto3" json:"persistent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

A message sent on a channel.

func (*ChannelMessage) Descriptor

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

func (*ChannelMessage) GetChannelId

func (m *ChannelMessage) GetChannelId() string

func (*ChannelMessage) GetCode

func (m *ChannelMessage) GetCode() *wrappers.Int32Value

func (*ChannelMessage) GetContent

func (m *ChannelMessage) GetContent() string

func (*ChannelMessage) GetCreateTime

func (m *ChannelMessage) GetCreateTime() *timestamp.Timestamp

func (*ChannelMessage) GetMessageId

func (m *ChannelMessage) GetMessageId() string

func (*ChannelMessage) GetPersistent

func (m *ChannelMessage) GetPersistent() *wrappers.BoolValue

func (*ChannelMessage) GetSenderId

func (m *ChannelMessage) GetSenderId() string

func (*ChannelMessage) GetUpdateTime

func (m *ChannelMessage) GetUpdateTime() *timestamp.Timestamp

func (*ChannelMessage) GetUsername

func (m *ChannelMessage) GetUsername() string

func (*ChannelMessage) ProtoMessage

func (*ChannelMessage) ProtoMessage()

func (*ChannelMessage) Reset

func (m *ChannelMessage) Reset()

func (*ChannelMessage) String

func (m *ChannelMessage) String() string

func (*ChannelMessage) XXX_DiscardUnknown

func (m *ChannelMessage) XXX_DiscardUnknown()

func (*ChannelMessage) XXX_Marshal

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

func (*ChannelMessage) XXX_Merge

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

func (*ChannelMessage) XXX_Size

func (m *ChannelMessage) XXX_Size() int

func (*ChannelMessage) XXX_Unmarshal

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

type ChannelMessageList

type ChannelMessageList struct {
	// A list of messages.
	Messages []*ChannelMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// The cursor to send when retireving the next page, if any.
	NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// The cursor to send when retrieving the previous page, if any.
	PrevCursor           string   `protobuf:"bytes,3,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A list of channel messages, usually a result of a list operation.

func (*ChannelMessageList) Descriptor

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

func (*ChannelMessageList) GetMessages

func (m *ChannelMessageList) GetMessages() []*ChannelMessage

func (*ChannelMessageList) GetNextCursor

func (m *ChannelMessageList) GetNextCursor() string

func (*ChannelMessageList) GetPrevCursor

func (m *ChannelMessageList) GetPrevCursor() string

func (*ChannelMessageList) ProtoMessage

func (*ChannelMessageList) ProtoMessage()

func (*ChannelMessageList) Reset

func (m *ChannelMessageList) Reset()

func (*ChannelMessageList) String

func (m *ChannelMessageList) String() string

func (*ChannelMessageList) XXX_DiscardUnknown

func (m *ChannelMessageList) XXX_DiscardUnknown()

func (*ChannelMessageList) XXX_Marshal

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

func (*ChannelMessageList) XXX_Merge

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

func (*ChannelMessageList) XXX_Size

func (m *ChannelMessageList) XXX_Size() int

func (*ChannelMessageList) XXX_Unmarshal

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

type CreateGroupRequest

type CreateGroupRequest struct {
	// A unique name for the group.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description for the group.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The language expected to be a tag which follows the BCP-47 spec.
	LangTag string `protobuf:"bytes,3,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// A URL for an avatar image.
	AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Mark a group as open or not where only admins can accept members.
	Open                 bool     `protobuf:"varint,5,opt,name=open,proto3" json:"open,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Create a group with the current user as owner.

func (*CreateGroupRequest) Descriptor

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

func (*CreateGroupRequest) GetAvatarUrl

func (m *CreateGroupRequest) GetAvatarUrl() string

func (*CreateGroupRequest) GetDescription

func (m *CreateGroupRequest) GetDescription() string

func (*CreateGroupRequest) GetLangTag

func (m *CreateGroupRequest) GetLangTag() string

func (*CreateGroupRequest) GetName

func (m *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) GetOpen

func (m *CreateGroupRequest) GetOpen() bool

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) Reset

func (m *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (m *CreateGroupRequest) String() string

func (*CreateGroupRequest) XXX_DiscardUnknown

func (m *CreateGroupRequest) XXX_DiscardUnknown()

func (*CreateGroupRequest) XXX_Marshal

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

func (*CreateGroupRequest) XXX_Merge

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

func (*CreateGroupRequest) XXX_Size

func (m *CreateGroupRequest) XXX_Size() int

func (*CreateGroupRequest) XXX_Unmarshal

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

type DeleteFriendsRequest

type DeleteFriendsRequest struct {
	// The account id of a user.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The account username of a user.
	Usernames            []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete one or more friends for the current user.

func (*DeleteFriendsRequest) Descriptor

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

func (*DeleteFriendsRequest) GetIds

func (m *DeleteFriendsRequest) GetIds() []string

func (*DeleteFriendsRequest) GetUsernames

func (m *DeleteFriendsRequest) GetUsernames() []string

func (*DeleteFriendsRequest) ProtoMessage

func (*DeleteFriendsRequest) ProtoMessage()

func (*DeleteFriendsRequest) Reset

func (m *DeleteFriendsRequest) Reset()

func (*DeleteFriendsRequest) String

func (m *DeleteFriendsRequest) String() string

func (*DeleteFriendsRequest) XXX_DiscardUnknown

func (m *DeleteFriendsRequest) XXX_DiscardUnknown()

func (*DeleteFriendsRequest) XXX_Marshal

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

func (*DeleteFriendsRequest) XXX_Merge

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

func (*DeleteFriendsRequest) XXX_Size

func (m *DeleteFriendsRequest) XXX_Size() int

func (*DeleteFriendsRequest) XXX_Unmarshal

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

type DeleteGroupRequest

type DeleteGroupRequest struct {
	// The id of a group.
	GroupId              string   `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete a group the user has access to.

func (*DeleteGroupRequest) Descriptor

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

func (*DeleteGroupRequest) GetGroupId

func (m *DeleteGroupRequest) GetGroupId() string

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) Reset

func (m *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (m *DeleteGroupRequest) String() string

func (*DeleteGroupRequest) XXX_DiscardUnknown

func (m *DeleteGroupRequest) XXX_DiscardUnknown()

func (*DeleteGroupRequest) XXX_Marshal

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

func (*DeleteGroupRequest) XXX_Merge

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

func (*DeleteGroupRequest) XXX_Size

func (m *DeleteGroupRequest) XXX_Size() int

func (*DeleteGroupRequest) XXX_Unmarshal

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

type DeleteLeaderboardRecordRequest

type DeleteLeaderboardRecordRequest struct {
	// The leaderboard ID to delete from.
	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:"-"`
}

Delete a leaderboard record.

func (*DeleteLeaderboardRecordRequest) Descriptor

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

func (*DeleteLeaderboardRecordRequest) GetLeaderboardId

func (m *DeleteLeaderboardRecordRequest) GetLeaderboardId() string

func (*DeleteLeaderboardRecordRequest) ProtoMessage

func (*DeleteLeaderboardRecordRequest) ProtoMessage()

func (*DeleteLeaderboardRecordRequest) Reset

func (m *DeleteLeaderboardRecordRequest) Reset()

func (*DeleteLeaderboardRecordRequest) String

func (*DeleteLeaderboardRecordRequest) XXX_DiscardUnknown

func (m *DeleteLeaderboardRecordRequest) XXX_DiscardUnknown()

func (*DeleteLeaderboardRecordRequest) XXX_Marshal

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

func (*DeleteLeaderboardRecordRequest) XXX_Merge

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

func (*DeleteLeaderboardRecordRequest) XXX_Size

func (m *DeleteLeaderboardRecordRequest) XXX_Size() int

func (*DeleteLeaderboardRecordRequest) XXX_Unmarshal

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

type DeleteNotificationsRequest

type DeleteNotificationsRequest struct {
	// The id of notifications.
	Ids                  []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete one or more notifications for the current user.

func (*DeleteNotificationsRequest) Descriptor

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

func (*DeleteNotificationsRequest) GetIds

func (m *DeleteNotificationsRequest) GetIds() []string

func (*DeleteNotificationsRequest) ProtoMessage

func (*DeleteNotificationsRequest) ProtoMessage()

func (*DeleteNotificationsRequest) Reset

func (m *DeleteNotificationsRequest) Reset()

func (*DeleteNotificationsRequest) String

func (m *DeleteNotificationsRequest) String() string

func (*DeleteNotificationsRequest) XXX_DiscardUnknown

func (m *DeleteNotificationsRequest) XXX_DiscardUnknown()

func (*DeleteNotificationsRequest) XXX_Marshal

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

func (*DeleteNotificationsRequest) XXX_Merge

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

func (*DeleteNotificationsRequest) XXX_Size

func (m *DeleteNotificationsRequest) XXX_Size() int

func (*DeleteNotificationsRequest) XXX_Unmarshal

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

type DeleteStorageObjectId

type DeleteStorageObjectId struct {
	// The collection which stores the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key of the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The version hash of the object.
	Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Storage objects to delete.

func (*DeleteStorageObjectId) Descriptor

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

func (*DeleteStorageObjectId) GetCollection

func (m *DeleteStorageObjectId) GetCollection() string

func (*DeleteStorageObjectId) GetKey

func (m *DeleteStorageObjectId) GetKey() string

func (*DeleteStorageObjectId) GetVersion

func (m *DeleteStorageObjectId) GetVersion() string

func (*DeleteStorageObjectId) ProtoMessage

func (*DeleteStorageObjectId) ProtoMessage()

func (*DeleteStorageObjectId) Reset

func (m *DeleteStorageObjectId) Reset()

func (*DeleteStorageObjectId) String

func (m *DeleteStorageObjectId) String() string

func (*DeleteStorageObjectId) XXX_DiscardUnknown

func (m *DeleteStorageObjectId) XXX_DiscardUnknown()

func (*DeleteStorageObjectId) XXX_Marshal

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

func (*DeleteStorageObjectId) XXX_Merge

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

func (*DeleteStorageObjectId) XXX_Size

func (m *DeleteStorageObjectId) XXX_Size() int

func (*DeleteStorageObjectId) XXX_Unmarshal

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

type DeleteStorageObjectsRequest

type DeleteStorageObjectsRequest struct {
	// Batch of storage objects.
	ObjectIds            []*DeleteStorageObjectId `protobuf:"bytes,1,rep,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Batch delete storage objects.

func (*DeleteStorageObjectsRequest) Descriptor

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

func (*DeleteStorageObjectsRequest) GetObjectIds

func (*DeleteStorageObjectsRequest) ProtoMessage

func (*DeleteStorageObjectsRequest) ProtoMessage()

func (*DeleteStorageObjectsRequest) Reset

func (m *DeleteStorageObjectsRequest) Reset()

func (*DeleteStorageObjectsRequest) String

func (m *DeleteStorageObjectsRequest) String() string

func (*DeleteStorageObjectsRequest) XXX_DiscardUnknown

func (m *DeleteStorageObjectsRequest) XXX_DiscardUnknown()

func (*DeleteStorageObjectsRequest) XXX_Marshal

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

func (*DeleteStorageObjectsRequest) XXX_Merge

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

func (*DeleteStorageObjectsRequest) XXX_Size

func (m *DeleteStorageObjectsRequest) XXX_Size() int

func (*DeleteStorageObjectsRequest) XXX_Unmarshal

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

type Event

type Event struct {
	// An event name, type, category, or identifier.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Arbitrary event property values.
	Properties map[string]string `` /* 161-byte string literal not displayed */
	// The time when the event was triggered.
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Represents an event to be passed through the server to registered event handlers.

func (*Event) Descriptor

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

func (*Event) GetName

func (m *Event) GetName() string

func (*Event) GetProperties

func (m *Event) GetProperties() map[string]string

func (*Event) GetTimestamp

func (m *Event) GetTimestamp() *timestamp.Timestamp

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

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

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type Friend

type Friend struct {
	// The user object.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// The friend status.
	State                *wrappers.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A friend of a user.

func (*Friend) Descriptor

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

func (*Friend) GetState

func (m *Friend) GetState() *wrappers.Int32Value

func (*Friend) GetUser

func (m *Friend) GetUser() *User

func (*Friend) ProtoMessage

func (*Friend) ProtoMessage()

func (*Friend) Reset

func (m *Friend) Reset()

func (*Friend) String

func (m *Friend) String() string

func (*Friend) XXX_DiscardUnknown

func (m *Friend) XXX_DiscardUnknown()

func (*Friend) XXX_Marshal

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

func (*Friend) XXX_Merge

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

func (*Friend) XXX_Size

func (m *Friend) XXX_Size() int

func (*Friend) XXX_Unmarshal

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

type Friend_State

type Friend_State int32

The friendship status.

const (
	// The user is a friend of the current user.
	Friend_FRIEND Friend_State = 0
	// The current user has sent an invite to the user.
	Friend_INVITE_SENT Friend_State = 1
	// The current user has received an invite from this user.
	Friend_INVITE_RECEIVED Friend_State = 2
	// The current user has blocked this user.
	Friend_BLOCKED Friend_State = 3
)

func (Friend_State) EnumDescriptor

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

func (Friend_State) String

func (x Friend_State) String() string

type Friends

type Friends struct {
	// The Friend objects.
	Friends              []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

A collection of zero or more friends of the user.

func (*Friends) Descriptor

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

func (*Friends) GetFriends

func (m *Friends) GetFriends() []*Friend

func (*Friends) ProtoMessage

func (*Friends) ProtoMessage()

func (*Friends) Reset

func (m *Friends) Reset()

func (*Friends) String

func (m *Friends) String() string

func (*Friends) XXX_DiscardUnknown

func (m *Friends) XXX_DiscardUnknown()

func (*Friends) XXX_Marshal

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

func (*Friends) XXX_Merge

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

func (*Friends) XXX_Size

func (m *Friends) XXX_Size() int

func (*Friends) XXX_Unmarshal

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

type GetUsersRequest

type GetUsersRequest struct {
	// The account id of a user.
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// The account username of a user.
	Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	// The Facebook ID of a user.
	FacebookIds          []string `protobuf:"bytes,3,rep,name=facebook_ids,json=facebookIds,proto3" json:"facebook_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Fetch a batch of zero or more users from the server.

func (*GetUsersRequest) Descriptor

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

func (*GetUsersRequest) GetFacebookIds

func (m *GetUsersRequest) GetFacebookIds() []string

func (*GetUsersRequest) GetIds

func (m *GetUsersRequest) GetIds() []string

func (*GetUsersRequest) GetUsernames

func (m *GetUsersRequest) GetUsernames() []string

func (*GetUsersRequest) ProtoMessage

func (*GetUsersRequest) ProtoMessage()

func (*GetUsersRequest) Reset

func (m *GetUsersRequest) Reset()

func (*GetUsersRequest) String

func (m *GetUsersRequest) String() string

func (*GetUsersRequest) XXX_DiscardUnknown

func (m *GetUsersRequest) XXX_DiscardUnknown()

func (*GetUsersRequest) XXX_Marshal

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

func (*GetUsersRequest) XXX_Merge

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

func (*GetUsersRequest) XXX_Size

func (m *GetUsersRequest) XXX_Size() int

func (*GetUsersRequest) XXX_Unmarshal

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

type Group

type Group struct {
	// The id of a group.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The id of the user who created the group.
	CreatorId string `protobuf:"bytes,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// The unique name of the group.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// A description for the group.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The language expected to be a tag which follows the BCP-47 spec.
	LangTag string `protobuf:"bytes,5,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// Additional information stored as a JSON object.
	Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// A URL for an avatar image.
	AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Anyone can join open groups, otherwise only admins can accept members.
	Open *wrappers.BoolValue `protobuf:"bytes,8,opt,name=open,proto3" json:"open,omitempty"`
	// The current count of all members in the group.
	EdgeCount int32 `protobuf:"varint,9,opt,name=edge_count,json=edgeCount,proto3" json:"edge_count,omitempty"`
	// The maximum number of members allowed.
	MaxCount int32 `protobuf:"varint,10,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
	// The UNIX time when the group was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time when the group was last updated.
	UpdateTime           *timestamp.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A group in the server.

func (*Group) Descriptor

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

func (*Group) GetAvatarUrl

func (m *Group) GetAvatarUrl() string

func (*Group) GetCreateTime

func (m *Group) GetCreateTime() *timestamp.Timestamp

func (*Group) GetCreatorId

func (m *Group) GetCreatorId() string

func (*Group) GetDescription

func (m *Group) GetDescription() string

func (*Group) GetEdgeCount

func (m *Group) GetEdgeCount() int32

func (*Group) GetId

func (m *Group) GetId() string

func (*Group) GetLangTag

func (m *Group) GetLangTag() string

func (*Group) GetMaxCount

func (m *Group) GetMaxCount() int32

func (*Group) GetMetadata

func (m *Group) GetMetadata() string

func (*Group) GetName

func (m *Group) GetName() string

func (*Group) GetOpen

func (m *Group) GetOpen() *wrappers.BoolValue

func (*Group) GetUpdateTime

func (m *Group) GetUpdateTime() *timestamp.Timestamp

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) Reset

func (m *Group) Reset()

func (*Group) String

func (m *Group) String() string

func (*Group) XXX_DiscardUnknown

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal

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

func (*Group) XXX_Merge

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

func (*Group) XXX_Size

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal

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

type GroupList

type GroupList struct {
	// One or more groups.
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// A cursor used to get the next page.
	Cursor               string   `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

One or more groups returned from a listing operation.

func (*GroupList) Descriptor

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

func (*GroupList) GetCursor

func (m *GroupList) GetCursor() string

func (*GroupList) GetGroups

func (m *GroupList) GetGroups() []*Group

func (*GroupList) ProtoMessage

func (*GroupList) ProtoMessage()

func (*GroupList) Reset

func (m *GroupList) Reset()

func (*GroupList) String

func (m *GroupList) String() string

func (*GroupList) XXX_DiscardUnknown

func (m *GroupList) XXX_DiscardUnknown()

func (*GroupList) XXX_Marshal

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

func (*GroupList) XXX_Merge

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

func (*GroupList) XXX_Size

func (m *GroupList) XXX_Size() int

func (*GroupList) XXX_Unmarshal

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

type GroupUserList

type GroupUserList struct {
	// User-role pairs for a group.
	GroupUsers           []*GroupUserList_GroupUser `protobuf:"bytes,1,rep,name=group_users,json=groupUsers,proto3" json:"group_users,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

A list of users belonging to a group, along with their role.

func (*GroupUserList) Descriptor

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

func (*GroupUserList) GetGroupUsers

func (m *GroupUserList) GetGroupUsers() []*GroupUserList_GroupUser

func (*GroupUserList) ProtoMessage

func (*GroupUserList) ProtoMessage()

func (*GroupUserList) Reset

func (m *GroupUserList) Reset()

func (*GroupUserList) String

func (m *GroupUserList) String() string

func (*GroupUserList) XXX_DiscardUnknown

func (m *GroupUserList) XXX_DiscardUnknown()

func (*GroupUserList) XXX_Marshal

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

func (*GroupUserList) XXX_Merge

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

func (*GroupUserList) XXX_Size

func (m *GroupUserList) XXX_Size() int

func (*GroupUserList) XXX_Unmarshal

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

type GroupUserList_GroupUser

type GroupUserList_GroupUser struct {
	// User.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Their relationship to the group.
	State                *wrappers.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A single user-role pair.

func (*GroupUserList_GroupUser) Descriptor

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

func (*GroupUserList_GroupUser) GetState

func (*GroupUserList_GroupUser) GetUser

func (m *GroupUserList_GroupUser) GetUser() *User

func (*GroupUserList_GroupUser) ProtoMessage

func (*GroupUserList_GroupUser) ProtoMessage()

func (*GroupUserList_GroupUser) Reset

func (m *GroupUserList_GroupUser) Reset()

func (*GroupUserList_GroupUser) String

func (m *GroupUserList_GroupUser) String() string

func (*GroupUserList_GroupUser) XXX_DiscardUnknown

func (m *GroupUserList_GroupUser) XXX_DiscardUnknown()

func (*GroupUserList_GroupUser) XXX_Marshal

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

func (*GroupUserList_GroupUser) XXX_Merge

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

func (*GroupUserList_GroupUser) XXX_Size

func (m *GroupUserList_GroupUser) XXX_Size() int

func (*GroupUserList_GroupUser) XXX_Unmarshal

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

type GroupUserList_GroupUser_State

type GroupUserList_GroupUser_State int32

The group role status.

const (
	// The user is a superadmin with full control of the group.
	GroupUserList_GroupUser_SUPERADMIN GroupUserList_GroupUser_State = 0
	// The user is an admin with additional privileges.
	GroupUserList_GroupUser_ADMIN GroupUserList_GroupUser_State = 1
	// The user is a regular member.
	GroupUserList_GroupUser_MEMBER GroupUserList_GroupUser_State = 2
	// The user has requested to join the group
	GroupUserList_GroupUser_JOIN_REQUEST GroupUserList_GroupUser_State = 3
)

func (GroupUserList_GroupUser_State) EnumDescriptor

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

func (GroupUserList_GroupUser_State) String

type ImportFacebookFriendsRequest

type ImportFacebookFriendsRequest struct {
	// The Facebook account details.
	Account *AccountFacebook `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Reset the current user's friends list.
	Reset_               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=reset,proto3" json:"reset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Import Facebook friends into the current user's account.

func (*ImportFacebookFriendsRequest) Descriptor

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

func (*ImportFacebookFriendsRequest) GetAccount

func (*ImportFacebookFriendsRequest) GetReset_

func (*ImportFacebookFriendsRequest) ProtoMessage

func (*ImportFacebookFriendsRequest) ProtoMessage()

func (*ImportFacebookFriendsRequest) Reset

func (m *ImportFacebookFriendsRequest) Reset()

func (*ImportFacebookFriendsRequest) String

func (*ImportFacebookFriendsRequest) XXX_DiscardUnknown

func (m *ImportFacebookFriendsRequest) XXX_DiscardUnknown()

func (*ImportFacebookFriendsRequest) XXX_Marshal

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

func (*ImportFacebookFriendsRequest) XXX_Merge

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

func (*ImportFacebookFriendsRequest) XXX_Size

func (m *ImportFacebookFriendsRequest) XXX_Size() int

func (*ImportFacebookFriendsRequest) XXX_Unmarshal

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

type JoinGroupRequest

type JoinGroupRequest struct {
	// The group ID to join. The group must already exist.
	GroupId              string   `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Immediately join an open group, or request to join a closed one.

func (*JoinGroupRequest) Descriptor

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

func (*JoinGroupRequest) GetGroupId

func (m *JoinGroupRequest) GetGroupId() string

func (*JoinGroupRequest) ProtoMessage

func (*JoinGroupRequest) ProtoMessage()

func (*JoinGroupRequest) Reset

func (m *JoinGroupRequest) Reset()

func (*JoinGroupRequest) String

func (m *JoinGroupRequest) String() string

func (*JoinGroupRequest) XXX_DiscardUnknown

func (m *JoinGroupRequest) XXX_DiscardUnknown()

func (*JoinGroupRequest) XXX_Marshal

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

func (*JoinGroupRequest) XXX_Merge

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

func (*JoinGroupRequest) XXX_Size

func (m *JoinGroupRequest) XXX_Size() int

func (*JoinGroupRequest) XXX_Unmarshal

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

type JoinTournamentRequest

type JoinTournamentRequest struct {
	// The ID of the tournament to join. The tournament must already exist.
	TournamentId         string   `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request to join a tournament.

func (*JoinTournamentRequest) Descriptor

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

func (*JoinTournamentRequest) GetTournamentId

func (m *JoinTournamentRequest) GetTournamentId() string

func (*JoinTournamentRequest) ProtoMessage

func (*JoinTournamentRequest) ProtoMessage()

func (*JoinTournamentRequest) Reset

func (m *JoinTournamentRequest) Reset()

func (*JoinTournamentRequest) String

func (m *JoinTournamentRequest) String() string

func (*JoinTournamentRequest) XXX_DiscardUnknown

func (m *JoinTournamentRequest) XXX_DiscardUnknown()

func (*JoinTournamentRequest) XXX_Marshal

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

func (*JoinTournamentRequest) XXX_Merge

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

func (*JoinTournamentRequest) XXX_Size

func (m *JoinTournamentRequest) XXX_Size() int

func (*JoinTournamentRequest) XXX_Unmarshal

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

type KickGroupUsersRequest

type KickGroupUsersRequest struct {
	// The group ID to kick from.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The users to kick.
	UserIds              []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Kick a set of users from a group.

func (*KickGroupUsersRequest) Descriptor

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

func (*KickGroupUsersRequest) GetGroupId

func (m *KickGroupUsersRequest) GetGroupId() string

func (*KickGroupUsersRequest) GetUserIds

func (m *KickGroupUsersRequest) GetUserIds() []string

func (*KickGroupUsersRequest) ProtoMessage

func (*KickGroupUsersRequest) ProtoMessage()

func (*KickGroupUsersRequest) Reset

func (m *KickGroupUsersRequest) Reset()

func (*KickGroupUsersRequest) String

func (m *KickGroupUsersRequest) String() string

func (*KickGroupUsersRequest) XXX_DiscardUnknown

func (m *KickGroupUsersRequest) XXX_DiscardUnknown()

func (*KickGroupUsersRequest) XXX_Marshal

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

func (*KickGroupUsersRequest) XXX_Merge

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

func (*KickGroupUsersRequest) XXX_Size

func (m *KickGroupUsersRequest) XXX_Size() int

func (*KickGroupUsersRequest) XXX_Unmarshal

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

type LeaderboardRecord

type LeaderboardRecord struct {
	// The ID of the leaderboard this score belongs to.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// The ID of the score owner, usually a user or group.
	OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// The username of the score owner, if the owner is a user.
	Username *wrappers.StringValue `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// The score value.
	Score int64 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"`
	// An optional subscore value.
	Subscore int64 `protobuf:"varint,5,opt,name=subscore,proto3" json:"subscore,omitempty"`
	// The number of submissions to this score record.
	NumScore int32 `protobuf:"varint,6,opt,name=num_score,json=numScore,proto3" json:"num_score,omitempty"`
	// Metadata.
	Metadata string `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The UNIX time when the leaderboard record was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time when the leaderboard record was updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The UNIX time when the leaderboard record expires.
	ExpiryTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
	// The rank of this record.
	Rank int64 `protobuf:"varint,11,opt,name=rank,proto3" json:"rank,omitempty"`
	// The maximum number of score updates allowed by the owner.
	MaxNumScore          uint32   `protobuf:"varint,12,opt,name=max_num_score,json=maxNumScore,proto3" json:"max_num_score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a complete leaderboard record with all scores and associated metadata.

func (*LeaderboardRecord) Descriptor

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

func (*LeaderboardRecord) GetCreateTime

func (m *LeaderboardRecord) GetCreateTime() *timestamp.Timestamp

func (*LeaderboardRecord) GetExpiryTime

func (m *LeaderboardRecord) GetExpiryTime() *timestamp.Timestamp

func (*LeaderboardRecord) GetLeaderboardId

func (m *LeaderboardRecord) GetLeaderboardId() string

func (*LeaderboardRecord) GetMaxNumScore

func (m *LeaderboardRecord) GetMaxNumScore() uint32

func (*LeaderboardRecord) GetMetadata

func (m *LeaderboardRecord) GetMetadata() string

func (*LeaderboardRecord) GetNumScore

func (m *LeaderboardRecord) GetNumScore() int32

func (*LeaderboardRecord) GetOwnerId

func (m *LeaderboardRecord) GetOwnerId() string

func (*LeaderboardRecord) GetRank

func (m *LeaderboardRecord) GetRank() int64

func (*LeaderboardRecord) GetScore

func (m *LeaderboardRecord) GetScore() int64

func (*LeaderboardRecord) GetSubscore

func (m *LeaderboardRecord) GetSubscore() int64

func (*LeaderboardRecord) GetUpdateTime

func (m *LeaderboardRecord) GetUpdateTime() *timestamp.Timestamp

func (*LeaderboardRecord) GetUsername

func (m *LeaderboardRecord) GetUsername() *wrappers.StringValue

func (*LeaderboardRecord) ProtoMessage

func (*LeaderboardRecord) ProtoMessage()

func (*LeaderboardRecord) Reset

func (m *LeaderboardRecord) Reset()

func (*LeaderboardRecord) String

func (m *LeaderboardRecord) String() string

func (*LeaderboardRecord) XXX_DiscardUnknown

func (m *LeaderboardRecord) XXX_DiscardUnknown()

func (*LeaderboardRecord) XXX_Marshal

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

func (*LeaderboardRecord) XXX_Merge

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

func (*LeaderboardRecord) XXX_Size

func (m *LeaderboardRecord) XXX_Size() int

func (*LeaderboardRecord) XXX_Unmarshal

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

type LeaderboardRecordList

type LeaderboardRecordList struct {
	// A list of leaderboard records.
	Records []*LeaderboardRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// A batched set of leaderobard records belonging to specified owners.
	OwnerRecords []*LeaderboardRecord `protobuf:"bytes,2,rep,name=owner_records,json=ownerRecords,proto3" json:"owner_records,omitempty"`
	// The cursor to send when retireving the next page, if any.
	NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// The cursor to send when retrieving the previous page, if any.
	PrevCursor           string   `protobuf:"bytes,4,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A set of leaderboard records, may be part of a leaderboard records page or a batch of individual records.

func (*LeaderboardRecordList) Descriptor

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

func (*LeaderboardRecordList) GetNextCursor

func (m *LeaderboardRecordList) GetNextCursor() string

func (*LeaderboardRecordList) GetOwnerRecords

func (m *LeaderboardRecordList) GetOwnerRecords() []*LeaderboardRecord

func (*LeaderboardRecordList) GetPrevCursor

func (m *LeaderboardRecordList) GetPrevCursor() string

func (*LeaderboardRecordList) GetRecords

func (m *LeaderboardRecordList) GetRecords() []*LeaderboardRecord

func (*LeaderboardRecordList) ProtoMessage

func (*LeaderboardRecordList) ProtoMessage()

func (*LeaderboardRecordList) Reset

func (m *LeaderboardRecordList) Reset()

func (*LeaderboardRecordList) String

func (m *LeaderboardRecordList) String() string

func (*LeaderboardRecordList) XXX_DiscardUnknown

func (m *LeaderboardRecordList) XXX_DiscardUnknown()

func (*LeaderboardRecordList) XXX_Marshal

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

func (*LeaderboardRecordList) XXX_Merge

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

func (*LeaderboardRecordList) XXX_Size

func (m *LeaderboardRecordList) XXX_Size() int

func (*LeaderboardRecordList) XXX_Unmarshal

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

type LeaveGroupRequest

type LeaveGroupRequest struct {
	// The group ID to leave.
	GroupId              string   `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Leave a group.

func (*LeaveGroupRequest) Descriptor

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

func (*LeaveGroupRequest) GetGroupId

func (m *LeaveGroupRequest) GetGroupId() string

func (*LeaveGroupRequest) ProtoMessage

func (*LeaveGroupRequest) ProtoMessage()

func (*LeaveGroupRequest) Reset

func (m *LeaveGroupRequest) Reset()

func (*LeaveGroupRequest) String

func (m *LeaveGroupRequest) String() string

func (*LeaveGroupRequest) XXX_DiscardUnknown

func (m *LeaveGroupRequest) XXX_DiscardUnknown()

func (*LeaveGroupRequest) XXX_Marshal

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

func (*LeaveGroupRequest) XXX_Merge

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

func (*LeaveGroupRequest) XXX_Size

func (m *LeaveGroupRequest) XXX_Size() int

func (*LeaveGroupRequest) XXX_Unmarshal

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

type LinkFacebookRequest

type LinkFacebookRequest struct {
	// The Facebook account details.
	Account *AccountFacebook `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Import Facebook friends for the user.
	Sync                 *wrappers.BoolValue `protobuf:"bytes,4,opt,name=sync,proto3" json:"sync,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Link Facebook to the current user's account.

func (*LinkFacebookRequest) Descriptor

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

func (*LinkFacebookRequest) GetAccount

func (m *LinkFacebookRequest) GetAccount() *AccountFacebook

func (*LinkFacebookRequest) GetSync

func (m *LinkFacebookRequest) GetSync() *wrappers.BoolValue

func (*LinkFacebookRequest) ProtoMessage

func (*LinkFacebookRequest) ProtoMessage()

func (*LinkFacebookRequest) Reset

func (m *LinkFacebookRequest) Reset()

func (*LinkFacebookRequest) String

func (m *LinkFacebookRequest) String() string

func (*LinkFacebookRequest) XXX_DiscardUnknown

func (m *LinkFacebookRequest) XXX_DiscardUnknown()

func (*LinkFacebookRequest) XXX_Marshal

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

func (*LinkFacebookRequest) XXX_Merge

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

func (*LinkFacebookRequest) XXX_Size

func (m *LinkFacebookRequest) XXX_Size() int

func (*LinkFacebookRequest) XXX_Unmarshal

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

type ListChannelMessagesRequest

type ListChannelMessagesRequest struct {
	// The channel ID to list from.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// True if listing should be older messages to newer, false if reverse.
	Forward *wrappers.BoolValue `protobuf:"bytes,3,opt,name=forward,proto3" json:"forward,omitempty"`
	// A pagination cursor, if any.
	Cursor               string   `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List a channel's message history.

func (*ListChannelMessagesRequest) Descriptor

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

func (*ListChannelMessagesRequest) GetChannelId

func (m *ListChannelMessagesRequest) GetChannelId() string

func (*ListChannelMessagesRequest) GetCursor

func (m *ListChannelMessagesRequest) GetCursor() string

func (*ListChannelMessagesRequest) GetForward

func (*ListChannelMessagesRequest) GetLimit

func (*ListChannelMessagesRequest) ProtoMessage

func (*ListChannelMessagesRequest) ProtoMessage()

func (*ListChannelMessagesRequest) Reset

func (m *ListChannelMessagesRequest) Reset()

func (*ListChannelMessagesRequest) String

func (m *ListChannelMessagesRequest) String() string

func (*ListChannelMessagesRequest) XXX_DiscardUnknown

func (m *ListChannelMessagesRequest) XXX_DiscardUnknown()

func (*ListChannelMessagesRequest) XXX_Marshal

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

func (*ListChannelMessagesRequest) XXX_Merge

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

func (*ListChannelMessagesRequest) XXX_Size

func (m *ListChannelMessagesRequest) XXX_Size() int

func (*ListChannelMessagesRequest) XXX_Unmarshal

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

type ListGroupUsersRequest

type ListGroupUsersRequest struct {
	// The group ID to list from.
	GroupId              string   `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List all users that are part of a group.

func (*ListGroupUsersRequest) Descriptor

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

func (*ListGroupUsersRequest) GetGroupId

func (m *ListGroupUsersRequest) GetGroupId() string

func (*ListGroupUsersRequest) ProtoMessage

func (*ListGroupUsersRequest) ProtoMessage()

func (*ListGroupUsersRequest) Reset

func (m *ListGroupUsersRequest) Reset()

func (*ListGroupUsersRequest) String

func (m *ListGroupUsersRequest) String() string

func (*ListGroupUsersRequest) XXX_DiscardUnknown

func (m *ListGroupUsersRequest) XXX_DiscardUnknown()

func (*ListGroupUsersRequest) XXX_Marshal

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

func (*ListGroupUsersRequest) XXX_Merge

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

func (*ListGroupUsersRequest) XXX_Size

func (m *ListGroupUsersRequest) XXX_Size() int

func (*ListGroupUsersRequest) XXX_Unmarshal

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

type ListGroupsRequest

type ListGroupsRequest struct {
	// List groups that contain this value in their names.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional pagination cursor.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// Max number of groups to return. Between 1 and 100.
	Limit                *wrappers.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

List groups based on given filters.

func (*ListGroupsRequest) Descriptor

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

func (*ListGroupsRequest) GetCursor

func (m *ListGroupsRequest) GetCursor() string

func (*ListGroupsRequest) GetLimit

func (m *ListGroupsRequest) GetLimit() *wrappers.Int32Value

func (*ListGroupsRequest) GetName

func (m *ListGroupsRequest) GetName() string

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) Reset

func (m *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (m *ListGroupsRequest) String() string

func (*ListGroupsRequest) XXX_DiscardUnknown

func (m *ListGroupsRequest) XXX_DiscardUnknown()

func (*ListGroupsRequest) XXX_Marshal

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

func (*ListGroupsRequest) XXX_Merge

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

func (*ListGroupsRequest) XXX_Size

func (m *ListGroupsRequest) XXX_Size() int

func (*ListGroupsRequest) XXX_Unmarshal

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

type ListLeaderboardRecordsAroundOwnerRequest

type ListLeaderboardRecordsAroundOwnerRequest struct {
	// The ID of the tournament to list for.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// The owner to retrieve records around.
	OwnerId              string   `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List leaerboard records from a given leaderboard around the owner.

func (*ListLeaderboardRecordsAroundOwnerRequest) Descriptor

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

func (*ListLeaderboardRecordsAroundOwnerRequest) GetLeaderboardId

func (m *ListLeaderboardRecordsAroundOwnerRequest) GetLeaderboardId() string

func (*ListLeaderboardRecordsAroundOwnerRequest) GetLimit

func (*ListLeaderboardRecordsAroundOwnerRequest) GetOwnerId

func (*ListLeaderboardRecordsAroundOwnerRequest) ProtoMessage

func (*ListLeaderboardRecordsAroundOwnerRequest) Reset

func (*ListLeaderboardRecordsAroundOwnerRequest) String

func (*ListLeaderboardRecordsAroundOwnerRequest) XXX_DiscardUnknown

func (m *ListLeaderboardRecordsAroundOwnerRequest) XXX_DiscardUnknown()

func (*ListLeaderboardRecordsAroundOwnerRequest) XXX_Marshal

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

func (*ListLeaderboardRecordsAroundOwnerRequest) XXX_Merge

func (*ListLeaderboardRecordsAroundOwnerRequest) XXX_Size

func (*ListLeaderboardRecordsAroundOwnerRequest) XXX_Unmarshal

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

type ListLeaderboardRecordsRequest

type ListLeaderboardRecordsRequest struct {
	// The ID of the leaderboard to list for.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// One or more owners to retrieve records for.
	OwnerIds []string `protobuf:"bytes,2,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// A next or previous page cursor.
	Cursor               string   `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List leaderboard records from a given leaderboard.

func (*ListLeaderboardRecordsRequest) Descriptor

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

func (*ListLeaderboardRecordsRequest) GetCursor

func (m *ListLeaderboardRecordsRequest) GetCursor() string

func (*ListLeaderboardRecordsRequest) GetLeaderboardId

func (m *ListLeaderboardRecordsRequest) GetLeaderboardId() string

func (*ListLeaderboardRecordsRequest) GetLimit

func (*ListLeaderboardRecordsRequest) GetOwnerIds

func (m *ListLeaderboardRecordsRequest) GetOwnerIds() []string

func (*ListLeaderboardRecordsRequest) ProtoMessage

func (*ListLeaderboardRecordsRequest) ProtoMessage()

func (*ListLeaderboardRecordsRequest) Reset

func (m *ListLeaderboardRecordsRequest) Reset()

func (*ListLeaderboardRecordsRequest) String

func (*ListLeaderboardRecordsRequest) XXX_DiscardUnknown

func (m *ListLeaderboardRecordsRequest) XXX_DiscardUnknown()

func (*ListLeaderboardRecordsRequest) XXX_Marshal

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

func (*ListLeaderboardRecordsRequest) XXX_Merge

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

func (*ListLeaderboardRecordsRequest) XXX_Size

func (m *ListLeaderboardRecordsRequest) XXX_Size() int

func (*ListLeaderboardRecordsRequest) XXX_Unmarshal

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

type ListMatchesRequest

type ListMatchesRequest struct {
	// Limit the number of returned matches.
	Limit *wrappers.Int32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Authoritative or relayed matches.
	Authoritative *wrappers.BoolValue `protobuf:"bytes,2,opt,name=authoritative,proto3" json:"authoritative,omitempty"`
	// Label filter.
	Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// Minimum user count.
	MinSize *wrappers.Int32Value `protobuf:"bytes,4,opt,name=min_size,json=minSize,proto3" json:"min_size,omitempty"`
	// Maximum user count.
	MaxSize *wrappers.Int32Value `protobuf:"bytes,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	// Arbitrary label query.
	Query                *wrappers.StringValue `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

List realtime matches.

func (*ListMatchesRequest) Descriptor

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

func (*ListMatchesRequest) GetAuthoritative

func (m *ListMatchesRequest) GetAuthoritative() *wrappers.BoolValue

func (*ListMatchesRequest) GetLabel

func (m *ListMatchesRequest) GetLabel() *wrappers.StringValue

func (*ListMatchesRequest) GetLimit

func (m *ListMatchesRequest) GetLimit() *wrappers.Int32Value

func (*ListMatchesRequest) GetMaxSize

func (m *ListMatchesRequest) GetMaxSize() *wrappers.Int32Value

func (*ListMatchesRequest) GetMinSize

func (m *ListMatchesRequest) GetMinSize() *wrappers.Int32Value

func (*ListMatchesRequest) GetQuery

func (m *ListMatchesRequest) GetQuery() *wrappers.StringValue

func (*ListMatchesRequest) ProtoMessage

func (*ListMatchesRequest) ProtoMessage()

func (*ListMatchesRequest) Reset

func (m *ListMatchesRequest) Reset()

func (*ListMatchesRequest) String

func (m *ListMatchesRequest) String() string

func (*ListMatchesRequest) XXX_DiscardUnknown

func (m *ListMatchesRequest) XXX_DiscardUnknown()

func (*ListMatchesRequest) XXX_Marshal

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

func (*ListMatchesRequest) XXX_Merge

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

func (*ListMatchesRequest) XXX_Size

func (m *ListMatchesRequest) XXX_Size() int

func (*ListMatchesRequest) XXX_Unmarshal

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

type ListNotificationsRequest

type ListNotificationsRequest struct {
	// The number of notifications to get. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// A cursor to page through notifications. May be cached by clients to get from point in time forwards.
	CacheableCursor      string   `protobuf:"bytes,2,opt,name=cacheable_cursor,json=cacheableCursor,proto3" json:"cacheable_cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Get a list of unexpired notifications.

func (*ListNotificationsRequest) Descriptor

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

func (*ListNotificationsRequest) GetCacheableCursor

func (m *ListNotificationsRequest) GetCacheableCursor() string

func (*ListNotificationsRequest) GetLimit

func (*ListNotificationsRequest) ProtoMessage

func (*ListNotificationsRequest) ProtoMessage()

func (*ListNotificationsRequest) Reset

func (m *ListNotificationsRequest) Reset()

func (*ListNotificationsRequest) String

func (m *ListNotificationsRequest) String() string

func (*ListNotificationsRequest) XXX_DiscardUnknown

func (m *ListNotificationsRequest) XXX_DiscardUnknown()

func (*ListNotificationsRequest) XXX_Marshal

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

func (*ListNotificationsRequest) XXX_Merge

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

func (*ListNotificationsRequest) XXX_Size

func (m *ListNotificationsRequest) XXX_Size() int

func (*ListNotificationsRequest) XXX_Unmarshal

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

type ListStorageObjectsRequest

type ListStorageObjectsRequest struct {
	// ID of the user.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The collection which stores the object.
	Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
	// The number of storage objects to list. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// The cursor to page through results from.
	Cursor               string   `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List publicly readable storage objects in a given collection.

func (*ListStorageObjectsRequest) Descriptor

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

func (*ListStorageObjectsRequest) GetCollection

func (m *ListStorageObjectsRequest) GetCollection() string

func (*ListStorageObjectsRequest) GetCursor

func (m *ListStorageObjectsRequest) GetCursor() string

func (*ListStorageObjectsRequest) GetLimit

func (*ListStorageObjectsRequest) GetUserId

func (m *ListStorageObjectsRequest) GetUserId() string

func (*ListStorageObjectsRequest) ProtoMessage

func (*ListStorageObjectsRequest) ProtoMessage()

func (*ListStorageObjectsRequest) Reset

func (m *ListStorageObjectsRequest) Reset()

func (*ListStorageObjectsRequest) String

func (m *ListStorageObjectsRequest) String() string

func (*ListStorageObjectsRequest) XXX_DiscardUnknown

func (m *ListStorageObjectsRequest) XXX_DiscardUnknown()

func (*ListStorageObjectsRequest) XXX_Marshal

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

func (*ListStorageObjectsRequest) XXX_Merge

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

func (*ListStorageObjectsRequest) XXX_Size

func (m *ListStorageObjectsRequest) XXX_Size() int

func (*ListStorageObjectsRequest) XXX_Unmarshal

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

type ListTournamentRecordsAroundOwnerRequest

type ListTournamentRecordsAroundOwnerRequest struct {
	// The ID of the tournament to list for.
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// The owner to retrieve records around.
	OwnerId              string   `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List tournament records from a given tournament around the owner.

func (*ListTournamentRecordsAroundOwnerRequest) Descriptor

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

func (*ListTournamentRecordsAroundOwnerRequest) GetLimit

func (*ListTournamentRecordsAroundOwnerRequest) GetOwnerId

func (*ListTournamentRecordsAroundOwnerRequest) GetTournamentId

func (m *ListTournamentRecordsAroundOwnerRequest) GetTournamentId() string

func (*ListTournamentRecordsAroundOwnerRequest) ProtoMessage

func (*ListTournamentRecordsAroundOwnerRequest) Reset

func (*ListTournamentRecordsAroundOwnerRequest) String

func (*ListTournamentRecordsAroundOwnerRequest) XXX_DiscardUnknown

func (m *ListTournamentRecordsAroundOwnerRequest) XXX_DiscardUnknown()

func (*ListTournamentRecordsAroundOwnerRequest) XXX_Marshal

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

func (*ListTournamentRecordsAroundOwnerRequest) XXX_Merge

func (*ListTournamentRecordsAroundOwnerRequest) XXX_Size

func (*ListTournamentRecordsAroundOwnerRequest) XXX_Unmarshal

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

type ListTournamentRecordsRequest

type ListTournamentRecordsRequest struct {
	// The ID of the tournament to list for.
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// One or more owners to retrieve records for.
	OwnerIds []string `protobuf:"bytes,2,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// A next or previous page cursor.
	Cursor               string   `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List tournament records from a given tournament.

func (*ListTournamentRecordsRequest) Descriptor

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

func (*ListTournamentRecordsRequest) GetCursor

func (m *ListTournamentRecordsRequest) GetCursor() string

func (*ListTournamentRecordsRequest) GetLimit

func (*ListTournamentRecordsRequest) GetOwnerIds

func (m *ListTournamentRecordsRequest) GetOwnerIds() []string

func (*ListTournamentRecordsRequest) GetTournamentId

func (m *ListTournamentRecordsRequest) GetTournamentId() string

func (*ListTournamentRecordsRequest) ProtoMessage

func (*ListTournamentRecordsRequest) ProtoMessage()

func (*ListTournamentRecordsRequest) Reset

func (m *ListTournamentRecordsRequest) Reset()

func (*ListTournamentRecordsRequest) String

func (*ListTournamentRecordsRequest) XXX_DiscardUnknown

func (m *ListTournamentRecordsRequest) XXX_DiscardUnknown()

func (*ListTournamentRecordsRequest) XXX_Marshal

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

func (*ListTournamentRecordsRequest) XXX_Merge

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

func (*ListTournamentRecordsRequest) XXX_Size

func (m *ListTournamentRecordsRequest) XXX_Size() int

func (*ListTournamentRecordsRequest) XXX_Unmarshal

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

type ListTournamentsRequest

type ListTournamentsRequest struct {
	// The start of the categories to include. Defaults to 0.
	CategoryStart *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=category_start,json=categoryStart,proto3" json:"category_start,omitempty"`
	// The end of the categories to include. Defaults to 128.
	CategoryEnd *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=category_end,json=categoryEnd,proto3" json:"category_end,omitempty"`
	// The start time for tournaments. Defaults to epoch.
	StartTime *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The end time for tournaments. Defaults to +1 year from current Unix time.
	EndTime *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Max number of records to return. Between 1 and 100.
	Limit *wrappers.Int32Value `protobuf:"bytes,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// A next page cursor for listings (optional).
	Cursor               string   `protobuf:"bytes,8,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List active/upcoming tournaments based on given filters.

func (*ListTournamentsRequest) Descriptor

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

func (*ListTournamentsRequest) GetCategoryEnd

func (m *ListTournamentsRequest) GetCategoryEnd() *wrappers.UInt32Value

func (*ListTournamentsRequest) GetCategoryStart

func (m *ListTournamentsRequest) GetCategoryStart() *wrappers.UInt32Value

func (*ListTournamentsRequest) GetCursor

func (m *ListTournamentsRequest) GetCursor() string

func (*ListTournamentsRequest) GetEndTime

func (m *ListTournamentsRequest) GetEndTime() *wrappers.UInt32Value

func (*ListTournamentsRequest) GetLimit

func (*ListTournamentsRequest) GetStartTime

func (m *ListTournamentsRequest) GetStartTime() *wrappers.UInt32Value

func (*ListTournamentsRequest) ProtoMessage

func (*ListTournamentsRequest) ProtoMessage()

func (*ListTournamentsRequest) Reset

func (m *ListTournamentsRequest) Reset()

func (*ListTournamentsRequest) String

func (m *ListTournamentsRequest) String() string

func (*ListTournamentsRequest) XXX_DiscardUnknown

func (m *ListTournamentsRequest) XXX_DiscardUnknown()

func (*ListTournamentsRequest) XXX_Marshal

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

func (*ListTournamentsRequest) XXX_Merge

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

func (*ListTournamentsRequest) XXX_Size

func (m *ListTournamentsRequest) XXX_Size() int

func (*ListTournamentsRequest) XXX_Unmarshal

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

type ListUserGroupsRequest

type ListUserGroupsRequest struct {
	// ID of the user.
	UserId               string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List the groups a user is part of, and their relationship to each.

func (*ListUserGroupsRequest) Descriptor

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

func (*ListUserGroupsRequest) GetUserId

func (m *ListUserGroupsRequest) GetUserId() string

func (*ListUserGroupsRequest) ProtoMessage

func (*ListUserGroupsRequest) ProtoMessage()

func (*ListUserGroupsRequest) Reset

func (m *ListUserGroupsRequest) Reset()

func (*ListUserGroupsRequest) String

func (m *ListUserGroupsRequest) String() string

func (*ListUserGroupsRequest) XXX_DiscardUnknown

func (m *ListUserGroupsRequest) XXX_DiscardUnknown()

func (*ListUserGroupsRequest) XXX_Marshal

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

func (*ListUserGroupsRequest) XXX_Merge

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

func (*ListUserGroupsRequest) XXX_Size

func (m *ListUserGroupsRequest) XXX_Size() int

func (*ListUserGroupsRequest) XXX_Unmarshal

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

type Match

type Match struct {
	// The ID of the match, can be used to join.
	MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
	// True if it's an server-managed authoritative match, false otherwise.
	Authoritative bool `protobuf:"varint,2,opt,name=authoritative,proto3" json:"authoritative,omitempty"`
	// Match label, if any.
	Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// Current number of users in the match.
	Size                 int32    `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a realtime match.

func (*Match) Descriptor

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

func (*Match) GetAuthoritative

func (m *Match) GetAuthoritative() bool

func (*Match) GetLabel

func (m *Match) GetLabel() *wrappers.StringValue

func (*Match) GetMatchId

func (m *Match) GetMatchId() string

func (*Match) GetSize

func (m *Match) GetSize() int32

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) Reset

func (m *Match) Reset()

func (*Match) String

func (m *Match) String() string

func (*Match) XXX_DiscardUnknown

func (m *Match) XXX_DiscardUnknown()

func (*Match) XXX_Marshal

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

func (*Match) XXX_Merge

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

func (*Match) XXX_Size

func (m *Match) XXX_Size() int

func (*Match) XXX_Unmarshal

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

type MatchList

type MatchList struct {
	// A number of matches corresponding to a list operation.
	Matches              []*Match `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A list of realtime matches.

func (*MatchList) Descriptor

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

func (*MatchList) GetMatches

func (m *MatchList) GetMatches() []*Match

func (*MatchList) ProtoMessage

func (*MatchList) ProtoMessage()

func (*MatchList) Reset

func (m *MatchList) Reset()

func (*MatchList) String

func (m *MatchList) String() string

func (*MatchList) XXX_DiscardUnknown

func (m *MatchList) XXX_DiscardUnknown()

func (*MatchList) XXX_Marshal

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

func (*MatchList) XXX_Merge

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

func (*MatchList) XXX_Size

func (m *MatchList) XXX_Size() int

func (*MatchList) XXX_Unmarshal

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

type Notification

type Notification struct {
	// ID of the Notification.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Subject of the notification.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// Content of the notification in JSON.
	Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// Category code for this notification.
	Code int32 `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`
	// ID of the sender, if a user. Otherwise 'null'.
	SenderId string `protobuf:"bytes,5,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	// The UNIX time when the notification was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// True if this notification was persisted to the database.
	Persistent           bool     `protobuf:"varint,7,opt,name=persistent,proto3" json:"persistent,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A notification in the server.

func (*Notification) Descriptor

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

func (*Notification) GetCode

func (m *Notification) GetCode() int32

func (*Notification) GetContent

func (m *Notification) GetContent() string

func (*Notification) GetCreateTime

func (m *Notification) GetCreateTime() *timestamp.Timestamp

func (*Notification) GetId

func (m *Notification) GetId() string

func (*Notification) GetPersistent

func (m *Notification) GetPersistent() bool

func (*Notification) GetSenderId

func (m *Notification) GetSenderId() string

func (*Notification) GetSubject

func (m *Notification) GetSubject() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) Reset

func (m *Notification) Reset()

func (*Notification) String

func (m *Notification) String() string

func (*Notification) XXX_DiscardUnknown

func (m *Notification) XXX_DiscardUnknown()

func (*Notification) XXX_Marshal

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

func (*Notification) XXX_Merge

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

func (*Notification) XXX_Size

func (m *Notification) XXX_Size() int

func (*Notification) XXX_Unmarshal

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

type NotificationList

type NotificationList struct {
	// Collection of notifications.
	Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// Use this cursor to paginate notifications. Cache this to catch up to new notifications.
	CacheableCursor      string   `protobuf:"bytes,2,opt,name=cacheable_cursor,json=cacheableCursor,proto3" json:"cacheable_cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A collection of zero or more notifications.

func (*NotificationList) Descriptor

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

func (*NotificationList) GetCacheableCursor

func (m *NotificationList) GetCacheableCursor() string

func (*NotificationList) GetNotifications

func (m *NotificationList) GetNotifications() []*Notification

func (*NotificationList) ProtoMessage

func (*NotificationList) ProtoMessage()

func (*NotificationList) Reset

func (m *NotificationList) Reset()

func (*NotificationList) String

func (m *NotificationList) String() string

func (*NotificationList) XXX_DiscardUnknown

func (m *NotificationList) XXX_DiscardUnknown()

func (*NotificationList) XXX_Marshal

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

func (*NotificationList) XXX_Merge

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

func (*NotificationList) XXX_Size

func (m *NotificationList) XXX_Size() int

func (*NotificationList) XXX_Unmarshal

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

type PromoteGroupUsersRequest

type PromoteGroupUsersRequest struct {
	// The group ID to promote in.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The users to promote.
	UserIds              []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Promote a set of users in a group to the next role up.

func (*PromoteGroupUsersRequest) Descriptor

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

func (*PromoteGroupUsersRequest) GetGroupId

func (m *PromoteGroupUsersRequest) GetGroupId() string

func (*PromoteGroupUsersRequest) GetUserIds

func (m *PromoteGroupUsersRequest) GetUserIds() []string

func (*PromoteGroupUsersRequest) ProtoMessage

func (*PromoteGroupUsersRequest) ProtoMessage()

func (*PromoteGroupUsersRequest) Reset

func (m *PromoteGroupUsersRequest) Reset()

func (*PromoteGroupUsersRequest) String

func (m *PromoteGroupUsersRequest) String() string

func (*PromoteGroupUsersRequest) XXX_DiscardUnknown

func (m *PromoteGroupUsersRequest) XXX_DiscardUnknown()

func (*PromoteGroupUsersRequest) XXX_Marshal

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

func (*PromoteGroupUsersRequest) XXX_Merge

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

func (*PromoteGroupUsersRequest) XXX_Size

func (m *PromoteGroupUsersRequest) XXX_Size() int

func (*PromoteGroupUsersRequest) XXX_Unmarshal

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

type ReadStorageObjectId

type ReadStorageObjectId struct {
	// The collection which stores the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key of the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The user owner of the object.
	UserId               string   `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Storage objects to get.

func (*ReadStorageObjectId) Descriptor

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

func (*ReadStorageObjectId) GetCollection

func (m *ReadStorageObjectId) GetCollection() string

func (*ReadStorageObjectId) GetKey

func (m *ReadStorageObjectId) GetKey() string

func (*ReadStorageObjectId) GetUserId

func (m *ReadStorageObjectId) GetUserId() string

func (*ReadStorageObjectId) ProtoMessage

func (*ReadStorageObjectId) ProtoMessage()

func (*ReadStorageObjectId) Reset

func (m *ReadStorageObjectId) Reset()

func (*ReadStorageObjectId) String

func (m *ReadStorageObjectId) String() string

func (*ReadStorageObjectId) XXX_DiscardUnknown

func (m *ReadStorageObjectId) XXX_DiscardUnknown()

func (*ReadStorageObjectId) XXX_Marshal

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

func (*ReadStorageObjectId) XXX_Merge

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

func (*ReadStorageObjectId) XXX_Size

func (m *ReadStorageObjectId) XXX_Size() int

func (*ReadStorageObjectId) XXX_Unmarshal

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

type ReadStorageObjectsRequest

type ReadStorageObjectsRequest struct {
	// Batch of storage objects.
	ObjectIds            []*ReadStorageObjectId `protobuf:"bytes,1,rep,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Batch get storage objects.

func (*ReadStorageObjectsRequest) Descriptor

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

func (*ReadStorageObjectsRequest) GetObjectIds

func (m *ReadStorageObjectsRequest) GetObjectIds() []*ReadStorageObjectId

func (*ReadStorageObjectsRequest) ProtoMessage

func (*ReadStorageObjectsRequest) ProtoMessage()

func (*ReadStorageObjectsRequest) Reset

func (m *ReadStorageObjectsRequest) Reset()

func (*ReadStorageObjectsRequest) String

func (m *ReadStorageObjectsRequest) String() string

func (*ReadStorageObjectsRequest) XXX_DiscardUnknown

func (m *ReadStorageObjectsRequest) XXX_DiscardUnknown()

func (*ReadStorageObjectsRequest) XXX_Marshal

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

func (*ReadStorageObjectsRequest) XXX_Merge

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

func (*ReadStorageObjectsRequest) XXX_Size

func (m *ReadStorageObjectsRequest) XXX_Size() int

func (*ReadStorageObjectsRequest) XXX_Unmarshal

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

type Rpc

type Rpc struct {
	// The identifier of the function.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The payload of the function which must be a JSON object.
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// The authentication key used when executed as a non-client HTTP request.
	HttpKey              string   `protobuf:"bytes,3,opt,name=http_key,json=httpKey,proto3" json:"http_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Execute an Lua function on the server.

func (*Rpc) Descriptor

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

func (*Rpc) GetHttpKey

func (m *Rpc) GetHttpKey() string

func (*Rpc) GetId

func (m *Rpc) GetId() string

func (*Rpc) GetPayload

func (m *Rpc) GetPayload() string

func (*Rpc) ProtoMessage

func (*Rpc) ProtoMessage()

func (*Rpc) Reset

func (m *Rpc) Reset()

func (*Rpc) String

func (m *Rpc) String() string

func (*Rpc) XXX_DiscardUnknown

func (m *Rpc) XXX_DiscardUnknown()

func (*Rpc) XXX_Marshal

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

func (*Rpc) XXX_Merge

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

func (*Rpc) XXX_Size

func (m *Rpc) XXX_Size() int

func (*Rpc) XXX_Unmarshal

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

type Session

type Session struct {
	// True if the corresponding account was just created, false otherwise.
	Created bool `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"`
	// Authentication credentials.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// rUDP specific authentication credentials.
	UdpToken             string   `protobuf:"bytes,3,opt,name=udp_token,json=udpToken,proto3" json:"udp_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A user's session used to authenticate messages.

func (*Session) Descriptor

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

func (*Session) GetCreated

func (m *Session) GetCreated() bool

func (*Session) GetToken

func (m *Session) GetToken() string

func (*Session) GetUdpToken

func (m *Session) GetUdpToken() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) Reset

func (m *Session) Reset()

func (*Session) String

func (m *Session) String() string

func (*Session) XXX_DiscardUnknown

func (m *Session) XXX_DiscardUnknown()

func (*Session) XXX_Marshal

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

func (*Session) XXX_Merge

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

func (*Session) XXX_Size

func (m *Session) XXX_Size() int

func (*Session) XXX_Unmarshal

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

type StorageObject

type StorageObject struct {
	// The collection which stores the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key of the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The user owner of the object.
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The value of the object.
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// The version hash of the object.
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// The read access permissions for the object.
	PermissionRead int32 `protobuf:"varint,6,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"`
	// The write access permissions for the object.
	PermissionWrite int32 `protobuf:"varint,7,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"`
	// The UNIX time when the object was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time when the object was last updated.
	UpdateTime           *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

An object within the storage engine.

func (*StorageObject) Descriptor

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

func (*StorageObject) GetCollection

func (m *StorageObject) GetCollection() string

func (*StorageObject) GetCreateTime

func (m *StorageObject) GetCreateTime() *timestamp.Timestamp

func (*StorageObject) GetKey

func (m *StorageObject) GetKey() string

func (*StorageObject) GetPermissionRead

func (m *StorageObject) GetPermissionRead() int32

func (*StorageObject) GetPermissionWrite

func (m *StorageObject) GetPermissionWrite() int32

func (*StorageObject) GetUpdateTime

func (m *StorageObject) GetUpdateTime() *timestamp.Timestamp

func (*StorageObject) GetUserId

func (m *StorageObject) GetUserId() string

func (*StorageObject) GetValue

func (m *StorageObject) GetValue() string

func (*StorageObject) GetVersion

func (m *StorageObject) GetVersion() string

func (*StorageObject) ProtoMessage

func (*StorageObject) ProtoMessage()

func (*StorageObject) Reset

func (m *StorageObject) Reset()

func (*StorageObject) String

func (m *StorageObject) String() string

func (*StorageObject) XXX_DiscardUnknown

func (m *StorageObject) XXX_DiscardUnknown()

func (*StorageObject) XXX_Marshal

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

func (*StorageObject) XXX_Merge

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

func (*StorageObject) XXX_Size

func (m *StorageObject) XXX_Size() int

func (*StorageObject) XXX_Unmarshal

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

type StorageObjectAck

type StorageObjectAck struct {
	// The collection which stores the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key of the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The version hash of the object.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// The owner of the object.
	UserId               string   `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A storage acknowledgement.

func (*StorageObjectAck) Descriptor

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

func (*StorageObjectAck) GetCollection

func (m *StorageObjectAck) GetCollection() string

func (*StorageObjectAck) GetKey

func (m *StorageObjectAck) GetKey() string

func (*StorageObjectAck) GetUserId

func (m *StorageObjectAck) GetUserId() string

func (*StorageObjectAck) GetVersion

func (m *StorageObjectAck) GetVersion() string

func (*StorageObjectAck) ProtoMessage

func (*StorageObjectAck) ProtoMessage()

func (*StorageObjectAck) Reset

func (m *StorageObjectAck) Reset()

func (*StorageObjectAck) String

func (m *StorageObjectAck) String() string

func (*StorageObjectAck) XXX_DiscardUnknown

func (m *StorageObjectAck) XXX_DiscardUnknown()

func (*StorageObjectAck) XXX_Marshal

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

func (*StorageObjectAck) XXX_Merge

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

func (*StorageObjectAck) XXX_Size

func (m *StorageObjectAck) XXX_Size() int

func (*StorageObjectAck) XXX_Unmarshal

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

type StorageObjectAcks

type StorageObjectAcks struct {
	// Batch of storage write acknowledgements.
	Acks                 []*StorageObjectAck `protobuf:"bytes,1,rep,name=acks,proto3" json:"acks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Batch of acknowledgements for the storage object write.

func (*StorageObjectAcks) Descriptor

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

func (*StorageObjectAcks) GetAcks

func (m *StorageObjectAcks) GetAcks() []*StorageObjectAck

func (*StorageObjectAcks) ProtoMessage

func (*StorageObjectAcks) ProtoMessage()

func (*StorageObjectAcks) Reset

func (m *StorageObjectAcks) Reset()

func (*StorageObjectAcks) String

func (m *StorageObjectAcks) String() string

func (*StorageObjectAcks) XXX_DiscardUnknown

func (m *StorageObjectAcks) XXX_DiscardUnknown()

func (*StorageObjectAcks) XXX_Marshal

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

func (*StorageObjectAcks) XXX_Merge

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

func (*StorageObjectAcks) XXX_Size

func (m *StorageObjectAcks) XXX_Size() int

func (*StorageObjectAcks) XXX_Unmarshal

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

type StorageObjectList

type StorageObjectList struct {
	// The list of storage objects.
	Objects []*StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// The cursor associated with the query a page of results.
	Cursor               string   `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List of storage objects.

func (*StorageObjectList) Descriptor

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

func (*StorageObjectList) GetCursor

func (m *StorageObjectList) GetCursor() string

func (*StorageObjectList) GetObjects

func (m *StorageObjectList) GetObjects() []*StorageObject

func (*StorageObjectList) ProtoMessage

func (*StorageObjectList) ProtoMessage()

func (*StorageObjectList) Reset

func (m *StorageObjectList) Reset()

func (*StorageObjectList) String

func (m *StorageObjectList) String() string

func (*StorageObjectList) XXX_DiscardUnknown

func (m *StorageObjectList) XXX_DiscardUnknown()

func (*StorageObjectList) XXX_Marshal

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

func (*StorageObjectList) XXX_Merge

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

func (*StorageObjectList) XXX_Size

func (m *StorageObjectList) XXX_Size() int

func (*StorageObjectList) XXX_Unmarshal

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

type StorageObjects

type StorageObjects struct {
	// The batch of storage objects.
	Objects              []*StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Batch of storage objects.

func (*StorageObjects) Descriptor

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

func (*StorageObjects) GetObjects

func (m *StorageObjects) GetObjects() []*StorageObject

func (*StorageObjects) ProtoMessage

func (*StorageObjects) ProtoMessage()

func (*StorageObjects) Reset

func (m *StorageObjects) Reset()

func (*StorageObjects) String

func (m *StorageObjects) String() string

func (*StorageObjects) XXX_DiscardUnknown

func (m *StorageObjects) XXX_DiscardUnknown()

func (*StorageObjects) XXX_Marshal

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

func (*StorageObjects) XXX_Merge

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

func (*StorageObjects) XXX_Size

func (m *StorageObjects) XXX_Size() int

func (*StorageObjects) XXX_Unmarshal

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

type Tournament

type Tournament struct {
	// The ID of the tournament.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The title for the tournament.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The description of the tournament. May be blank.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The category of the tournament. e.g. "vip" could be category 1.
	Category uint32 `protobuf:"varint,4,opt,name=category,proto3" json:"category,omitempty"`
	// ASC or DESC sort mode of scores in the tournament.
	SortOrder uint32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
	// The current number of players in the tournament.
	Size uint32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	// The maximum number of players for the tournament.
	MaxSize uint32 `protobuf:"varint,7,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	// The maximum score updates allowed per player for the current tournament.
	MaxNumScore uint32 `protobuf:"varint,8,opt,name=max_num_score,json=maxNumScore,proto3" json:"max_num_score,omitempty"`
	// True if the tournament is active and can enter. A computed value.
	CanEnter bool `protobuf:"varint,9,opt,name=can_enter,json=canEnter,proto3" json:"can_enter,omitempty"`
	// The UNIX timestamp when the tournament stops being active until next reset. A computed value.
	EndActive uint32 `protobuf:"varint,10,opt,name=end_active,json=endActive,proto3" json:"end_active,omitempty"`
	// The UNIX timestamp when the tournament is next playable. A computed value.
	NextReset uint32 `protobuf:"varint,11,opt,name=next_reset,json=nextReset,proto3" json:"next_reset,omitempty"`
	// Additional information stored as a JSON object.
	Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The UNIX time when the tournament was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time when the tournament will start.
	StartTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The UNIX time when the tournament will be stopped.
	EndTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The UNIX timestamp for duration of a tournament.
	Duration             uint32   `protobuf:"varint,16,opt,name=duration,proto3" json:"duration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A tournament on the server.

func (*Tournament) Descriptor

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

func (*Tournament) GetCanEnter

func (m *Tournament) GetCanEnter() bool

func (*Tournament) GetCategory

func (m *Tournament) GetCategory() uint32

func (*Tournament) GetCreateTime

func (m *Tournament) GetCreateTime() *timestamp.Timestamp

func (*Tournament) GetDescription

func (m *Tournament) GetDescription() string

func (*Tournament) GetDuration

func (m *Tournament) GetDuration() uint32

func (*Tournament) GetEndActive

func (m *Tournament) GetEndActive() uint32

func (*Tournament) GetEndTime

func (m *Tournament) GetEndTime() *timestamp.Timestamp

func (*Tournament) GetId

func (m *Tournament) GetId() string

func (*Tournament) GetMaxNumScore

func (m *Tournament) GetMaxNumScore() uint32

func (*Tournament) GetMaxSize

func (m *Tournament) GetMaxSize() uint32

func (*Tournament) GetMetadata

func (m *Tournament) GetMetadata() string

func (*Tournament) GetNextReset

func (m *Tournament) GetNextReset() uint32

func (*Tournament) GetSize

func (m *Tournament) GetSize() uint32

func (*Tournament) GetSortOrder

func (m *Tournament) GetSortOrder() uint32

func (*Tournament) GetStartTime

func (m *Tournament) GetStartTime() *timestamp.Timestamp

func (*Tournament) GetTitle

func (m *Tournament) GetTitle() string

func (*Tournament) ProtoMessage

func (*Tournament) ProtoMessage()

func (*Tournament) Reset

func (m *Tournament) Reset()

func (*Tournament) String

func (m *Tournament) String() string

func (*Tournament) XXX_DiscardUnknown

func (m *Tournament) XXX_DiscardUnknown()

func (*Tournament) XXX_Marshal

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

func (*Tournament) XXX_Merge

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

func (*Tournament) XXX_Size

func (m *Tournament) XXX_Size() int

func (*Tournament) XXX_Unmarshal

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

type TournamentList

type TournamentList struct {
	// The list of tournaments returned.
	Tournaments []*Tournament `protobuf:"bytes,1,rep,name=tournaments,proto3" json:"tournaments,omitempty"`
	// A pagination cursor (optional).
	Cursor               string   `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A list of tournaments.

func (*TournamentList) Descriptor

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

func (*TournamentList) GetCursor

func (m *TournamentList) GetCursor() string

func (*TournamentList) GetTournaments

func (m *TournamentList) GetTournaments() []*Tournament

func (*TournamentList) ProtoMessage

func (*TournamentList) ProtoMessage()

func (*TournamentList) Reset

func (m *TournamentList) Reset()

func (*TournamentList) String

func (m *TournamentList) String() string

func (*TournamentList) XXX_DiscardUnknown

func (m *TournamentList) XXX_DiscardUnknown()

func (*TournamentList) XXX_Marshal

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

func (*TournamentList) XXX_Merge

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

func (*TournamentList) XXX_Size

func (m *TournamentList) XXX_Size() int

func (*TournamentList) XXX_Unmarshal

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

type TournamentRecordList

type TournamentRecordList struct {
	// A list of tournament records.
	Records []*LeaderboardRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// A batched set of tournament records belonging to specified owners.
	OwnerRecords []*LeaderboardRecord `protobuf:"bytes,2,rep,name=owner_records,json=ownerRecords,proto3" json:"owner_records,omitempty"`
	// The cursor to send when retireving the next page (optional).
	NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// The cursor to send when retrieving the previous page (optional).
	PrevCursor           string   `protobuf:"bytes,4,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A set of tournament records which may be part of a tournament records page or a batch of individual records.

func (*TournamentRecordList) Descriptor

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

func (*TournamentRecordList) GetNextCursor

func (m *TournamentRecordList) GetNextCursor() string

func (*TournamentRecordList) GetOwnerRecords

func (m *TournamentRecordList) GetOwnerRecords() []*LeaderboardRecord

func (*TournamentRecordList) GetPrevCursor

func (m *TournamentRecordList) GetPrevCursor() string

func (*TournamentRecordList) GetRecords

func (m *TournamentRecordList) GetRecords() []*LeaderboardRecord

func (*TournamentRecordList) ProtoMessage

func (*TournamentRecordList) ProtoMessage()

func (*TournamentRecordList) Reset

func (m *TournamentRecordList) Reset()

func (*TournamentRecordList) String

func (m *TournamentRecordList) String() string

func (*TournamentRecordList) XXX_DiscardUnknown

func (m *TournamentRecordList) XXX_DiscardUnknown()

func (*TournamentRecordList) XXX_Marshal

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

func (*TournamentRecordList) XXX_Merge

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

func (*TournamentRecordList) XXX_Size

func (m *TournamentRecordList) XXX_Size() int

func (*TournamentRecordList) XXX_Unmarshal

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

type UpdateAccountRequest

type UpdateAccountRequest struct {
	// The username of the user's account.
	Username *wrappers.StringValue `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The display name of the user.
	DisplayName *wrappers.StringValue `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A URL for an avatar image.
	AvatarUrl *wrappers.StringValue `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// The language expected to be a tag which follows the BCP-47 spec.
	LangTag *wrappers.StringValue `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// The location set by the user.
	Location *wrappers.StringValue `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// The timezone set by the user.
	Timezone             *wrappers.StringValue `protobuf:"bytes,6,opt,name=timezone,proto3" json:"timezone,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Update a user's account details.

func (*UpdateAccountRequest) Descriptor

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

func (*UpdateAccountRequest) GetAvatarUrl

func (m *UpdateAccountRequest) GetAvatarUrl() *wrappers.StringValue

func (*UpdateAccountRequest) GetDisplayName

func (m *UpdateAccountRequest) GetDisplayName() *wrappers.StringValue

func (*UpdateAccountRequest) GetLangTag

func (m *UpdateAccountRequest) GetLangTag() *wrappers.StringValue

func (*UpdateAccountRequest) GetLocation

func (m *UpdateAccountRequest) GetLocation() *wrappers.StringValue

func (*UpdateAccountRequest) GetTimezone

func (m *UpdateAccountRequest) GetTimezone() *wrappers.StringValue

func (*UpdateAccountRequest) GetUsername

func (m *UpdateAccountRequest) GetUsername() *wrappers.StringValue

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) Reset

func (m *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) String

func (m *UpdateAccountRequest) String() string

func (*UpdateAccountRequest) XXX_DiscardUnknown

func (m *UpdateAccountRequest) XXX_DiscardUnknown()

func (*UpdateAccountRequest) XXX_Marshal

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

func (*UpdateAccountRequest) XXX_Merge

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

func (*UpdateAccountRequest) XXX_Size

func (m *UpdateAccountRequest) XXX_Size() int

func (*UpdateAccountRequest) XXX_Unmarshal

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

type UpdateGroupRequest

type UpdateGroupRequest struct {
	// The ID of the group to update.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Name.
	Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description string.
	Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Lang tag.
	LangTag *wrappers.StringValue `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// Avatar URL.
	AvatarUrl *wrappers.StringValue `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Open is true if anyone should be allowed to join, or false if joins must be approved by a group admin.
	Open                 *wrappers.BoolValue `protobuf:"bytes,6,opt,name=open,proto3" json:"open,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Update fields in a given group.

func (*UpdateGroupRequest) Descriptor

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

func (*UpdateGroupRequest) GetAvatarUrl

func (m *UpdateGroupRequest) GetAvatarUrl() *wrappers.StringValue

func (*UpdateGroupRequest) GetDescription

func (m *UpdateGroupRequest) GetDescription() *wrappers.StringValue

func (*UpdateGroupRequest) GetGroupId

func (m *UpdateGroupRequest) GetGroupId() string

func (*UpdateGroupRequest) GetLangTag

func (m *UpdateGroupRequest) GetLangTag() *wrappers.StringValue

func (*UpdateGroupRequest) GetName

func (m *UpdateGroupRequest) GetName() *wrappers.StringValue

func (*UpdateGroupRequest) GetOpen

func (m *UpdateGroupRequest) GetOpen() *wrappers.BoolValue

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) Reset

func (m *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (m *UpdateGroupRequest) String() string

func (*UpdateGroupRequest) XXX_DiscardUnknown

func (m *UpdateGroupRequest) XXX_DiscardUnknown()

func (*UpdateGroupRequest) XXX_Marshal

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

func (*UpdateGroupRequest) XXX_Merge

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

func (*UpdateGroupRequest) XXX_Size

func (m *UpdateGroupRequest) XXX_Size() int

func (*UpdateGroupRequest) XXX_Unmarshal

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

type User

type User struct {
	// The id of the user's account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The username of the user's account.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// The display name of the user.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A URL for an avatar image.
	AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// The language expected to be a tag which follows the BCP-47 spec.
	LangTag string `protobuf:"bytes,5,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// The location set by the user.
	Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
	// The timezone set by the user.
	Timezone string `protobuf:"bytes,7,opt,name=timezone,proto3" json:"timezone,omitempty"`
	// Additional information stored as a JSON object.
	Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The Facebook id in the user's account.
	FacebookId string `protobuf:"bytes,9,opt,name=facebook_id,json=facebookId,proto3" json:"facebook_id,omitempty"`
	// The Google id in the user's account.
	GoogleId string `protobuf:"bytes,10,opt,name=google_id,json=googleId,proto3" json:"google_id,omitempty"`
	// The Apple Game Center in of the user's account.
	GamecenterId string `protobuf:"bytes,11,opt,name=gamecenter_id,json=gamecenterId,proto3" json:"gamecenter_id,omitempty"`
	// The Steam id in the user's account.
	SteamId string `protobuf:"bytes,12,opt,name=steam_id,json=steamId,proto3" json:"steam_id,omitempty"`
	// Indicates whether the user is currently online.
	Online bool `protobuf:"varint,13,opt,name=online,proto3" json:"online,omitempty"`
	// Number of related edges to this user.
	EdgeCount int32 `protobuf:"varint,14,opt,name=edge_count,json=edgeCount,proto3" json:"edge_count,omitempty"`
	// The UNIX time when the user was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time when the user was last updated.
	UpdateTime           *timestamp.Timestamp `protobuf:"bytes,16,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A user in the server.

func (*User) Descriptor

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

func (*User) GetAvatarUrl

func (m *User) GetAvatarUrl() string

func (*User) GetCreateTime

func (m *User) GetCreateTime() *timestamp.Timestamp

func (*User) GetDisplayName

func (m *User) GetDisplayName() string

func (*User) GetEdgeCount

func (m *User) GetEdgeCount() int32

func (*User) GetFacebookId

func (m *User) GetFacebookId() string

func (*User) GetGamecenterId

func (m *User) GetGamecenterId() string

func (*User) GetGoogleId

func (m *User) GetGoogleId() string

func (*User) GetId

func (m *User) GetId() string

func (*User) GetLangTag

func (m *User) GetLangTag() string

func (*User) GetLocation

func (m *User) GetLocation() string

func (*User) GetMetadata

func (m *User) GetMetadata() string

func (*User) GetOnline

func (m *User) GetOnline() bool

func (*User) GetSteamId

func (m *User) GetSteamId() string

func (*User) GetTimezone

func (m *User) GetTimezone() string

func (*User) GetUpdateTime

func (m *User) GetUpdateTime() *timestamp.Timestamp

func (*User) GetUsername

func (m *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

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

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

type UserGroupList

type UserGroupList struct {
	// Group-role pairs for a user.
	UserGroups           []*UserGroupList_UserGroup `protobuf:"bytes,1,rep,name=user_groups,json=userGroups,proto3" json:"user_groups,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

A list of groups belonging to a user, along with the user's role in each group.

func (*UserGroupList) Descriptor

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

func (*UserGroupList) GetUserGroups

func (m *UserGroupList) GetUserGroups() []*UserGroupList_UserGroup

func (*UserGroupList) ProtoMessage

func (*UserGroupList) ProtoMessage()

func (*UserGroupList) Reset

func (m *UserGroupList) Reset()

func (*UserGroupList) String

func (m *UserGroupList) String() string

func (*UserGroupList) XXX_DiscardUnknown

func (m *UserGroupList) XXX_DiscardUnknown()

func (*UserGroupList) XXX_Marshal

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

func (*UserGroupList) XXX_Merge

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

func (*UserGroupList) XXX_Size

func (m *UserGroupList) XXX_Size() int

func (*UserGroupList) XXX_Unmarshal

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

type UserGroupList_UserGroup

type UserGroupList_UserGroup struct {
	// Group.
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// The user's relationship to the group.
	State                *wrappers.Int32Value `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A single group-role pair.

func (*UserGroupList_UserGroup) Descriptor

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

func (*UserGroupList_UserGroup) GetGroup

func (m *UserGroupList_UserGroup) GetGroup() *Group

func (*UserGroupList_UserGroup) GetState

func (*UserGroupList_UserGroup) ProtoMessage

func (*UserGroupList_UserGroup) ProtoMessage()

func (*UserGroupList_UserGroup) Reset

func (m *UserGroupList_UserGroup) Reset()

func (*UserGroupList_UserGroup) String

func (m *UserGroupList_UserGroup) String() string

func (*UserGroupList_UserGroup) XXX_DiscardUnknown

func (m *UserGroupList_UserGroup) XXX_DiscardUnknown()

func (*UserGroupList_UserGroup) XXX_Marshal

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

func (*UserGroupList_UserGroup) XXX_Merge

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

func (*UserGroupList_UserGroup) XXX_Size

func (m *UserGroupList_UserGroup) XXX_Size() int

func (*UserGroupList_UserGroup) XXX_Unmarshal

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

type UserGroupList_UserGroup_State

type UserGroupList_UserGroup_State int32

The group role status.

const (
	// The user is a superadmin with full control of the group.
	UserGroupList_UserGroup_SUPERADMIN UserGroupList_UserGroup_State = 0
	// The user is an admin with additional privileges.
	UserGroupList_UserGroup_ADMIN UserGroupList_UserGroup_State = 1
	// The user is a regular member.
	UserGroupList_UserGroup_MEMBER UserGroupList_UserGroup_State = 2
	// The user has requested to join the group
	UserGroupList_UserGroup_JOIN_REQUEST UserGroupList_UserGroup_State = 3
)

func (UserGroupList_UserGroup_State) EnumDescriptor

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

func (UserGroupList_UserGroup_State) String

type Users

type Users struct {
	// The User objects.
	Users                []*User  `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A collection of zero or more users.

func (*Users) Descriptor

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

func (*Users) GetUsers

func (m *Users) GetUsers() []*User

func (*Users) ProtoMessage

func (*Users) ProtoMessage()

func (*Users) Reset

func (m *Users) Reset()

func (*Users) String

func (m *Users) String() string

func (*Users) XXX_DiscardUnknown

func (m *Users) XXX_DiscardUnknown()

func (*Users) XXX_Marshal

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

func (*Users) XXX_Merge

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

func (*Users) XXX_Size

func (m *Users) XXX_Size() int

func (*Users) XXX_Unmarshal

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

type WriteLeaderboardRecordRequest

type WriteLeaderboardRecordRequest struct {
	// The ID of the leaderboard to write to.
	LeaderboardId string `protobuf:"bytes,1,opt,name=leaderboard_id,json=leaderboardId,proto3" json:"leaderboard_id,omitempty"`
	// Record input.
	Record               *WriteLeaderboardRecordRequest_LeaderboardRecordWrite `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

A request to submit a score to a leaderboard.

func (*WriteLeaderboardRecordRequest) Descriptor

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

func (*WriteLeaderboardRecordRequest) GetLeaderboardId

func (m *WriteLeaderboardRecordRequest) GetLeaderboardId() string

func (*WriteLeaderboardRecordRequest) GetRecord

func (*WriteLeaderboardRecordRequest) ProtoMessage

func (*WriteLeaderboardRecordRequest) ProtoMessage()

func (*WriteLeaderboardRecordRequest) Reset

func (m *WriteLeaderboardRecordRequest) Reset()

func (*WriteLeaderboardRecordRequest) String

func (*WriteLeaderboardRecordRequest) XXX_DiscardUnknown

func (m *WriteLeaderboardRecordRequest) XXX_DiscardUnknown()

func (*WriteLeaderboardRecordRequest) XXX_Marshal

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

func (*WriteLeaderboardRecordRequest) XXX_Merge

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

func (*WriteLeaderboardRecordRequest) XXX_Size

func (m *WriteLeaderboardRecordRequest) XXX_Size() int

func (*WriteLeaderboardRecordRequest) XXX_Unmarshal

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

type WriteLeaderboardRecordRequest_LeaderboardRecordWrite

type WriteLeaderboardRecordRequest_LeaderboardRecordWrite struct {
	// The score value to submit.
	Score int64 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"`
	// An optional secondary value.
	Subscore int64 `protobuf:"varint,2,opt,name=subscore,proto3" json:"subscore,omitempty"`
	// Optional record metadata.
	Metadata             string   `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Record values to write.

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Descriptor

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetMetadata

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetScore

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) GetSubscore

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) ProtoMessage

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) Reset

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) String

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_DiscardUnknown

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Marshal

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

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Merge

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Size

func (*WriteLeaderboardRecordRequest_LeaderboardRecordWrite) XXX_Unmarshal

type WriteStorageObject

type WriteStorageObject struct {
	// The collection to store the object.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// The key for the object within the collection.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The value of the object.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// The version hash of the object to check. Possible values are: ["", "*", "#hash#"].
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// The read access permissions for the object.
	PermissionRead *wrappers.Int32Value `protobuf:"bytes,5,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"`
	// The write access permissions for the object.
	PermissionWrite      *wrappers.Int32Value `protobuf:"bytes,6,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The object to store.

func (*WriteStorageObject) Descriptor

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

func (*WriteStorageObject) GetCollection

func (m *WriteStorageObject) GetCollection() string

func (*WriteStorageObject) GetKey

func (m *WriteStorageObject) GetKey() string

func (*WriteStorageObject) GetPermissionRead

func (m *WriteStorageObject) GetPermissionRead() *wrappers.Int32Value

func (*WriteStorageObject) GetPermissionWrite

func (m *WriteStorageObject) GetPermissionWrite() *wrappers.Int32Value

func (*WriteStorageObject) GetValue

func (m *WriteStorageObject) GetValue() string

func (*WriteStorageObject) GetVersion

func (m *WriteStorageObject) GetVersion() string

func (*WriteStorageObject) ProtoMessage

func (*WriteStorageObject) ProtoMessage()

func (*WriteStorageObject) Reset

func (m *WriteStorageObject) Reset()

func (*WriteStorageObject) String

func (m *WriteStorageObject) String() string

func (*WriteStorageObject) XXX_DiscardUnknown

func (m *WriteStorageObject) XXX_DiscardUnknown()

func (*WriteStorageObject) XXX_Marshal

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

func (*WriteStorageObject) XXX_Merge

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

func (*WriteStorageObject) XXX_Size

func (m *WriteStorageObject) XXX_Size() int

func (*WriteStorageObject) XXX_Unmarshal

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

type WriteStorageObjectsRequest

type WriteStorageObjectsRequest struct {
	// The objects to store on the server.
	Objects              []*WriteStorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Write objects to the storage engine.

func (*WriteStorageObjectsRequest) Descriptor

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

func (*WriteStorageObjectsRequest) GetObjects

func (*WriteStorageObjectsRequest) ProtoMessage

func (*WriteStorageObjectsRequest) ProtoMessage()

func (*WriteStorageObjectsRequest) Reset

func (m *WriteStorageObjectsRequest) Reset()

func (*WriteStorageObjectsRequest) String

func (m *WriteStorageObjectsRequest) String() string

func (*WriteStorageObjectsRequest) XXX_DiscardUnknown

func (m *WriteStorageObjectsRequest) XXX_DiscardUnknown()

func (*WriteStorageObjectsRequest) XXX_Marshal

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

func (*WriteStorageObjectsRequest) XXX_Merge

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

func (*WriteStorageObjectsRequest) XXX_Size

func (m *WriteStorageObjectsRequest) XXX_Size() int

func (*WriteStorageObjectsRequest) XXX_Unmarshal

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

type WriteTournamentRecordRequest

type WriteTournamentRecordRequest struct {
	// The tournament ID to write the record for.
	TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"`
	// Record input.
	Record               *WriteTournamentRecordRequest_TournamentRecordWrite `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                            `json:"-"`
	XXX_unrecognized     []byte                                              `json:"-"`
	XXX_sizecache        int32                                               `json:"-"`
}

A request to submit a score to a tournament.

func (*WriteTournamentRecordRequest) Descriptor

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

func (*WriteTournamentRecordRequest) GetRecord

func (*WriteTournamentRecordRequest) GetTournamentId

func (m *WriteTournamentRecordRequest) GetTournamentId() string

func (*WriteTournamentRecordRequest) ProtoMessage

func (*WriteTournamentRecordRequest) ProtoMessage()

func (*WriteTournamentRecordRequest) Reset

func (m *WriteTournamentRecordRequest) Reset()

func (*WriteTournamentRecordRequest) String

func (*WriteTournamentRecordRequest) XXX_DiscardUnknown

func (m *WriteTournamentRecordRequest) XXX_DiscardUnknown()

func (*WriteTournamentRecordRequest) XXX_Marshal

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

func (*WriteTournamentRecordRequest) XXX_Merge

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

func (*WriteTournamentRecordRequest) XXX_Size

func (m *WriteTournamentRecordRequest) XXX_Size() int

func (*WriteTournamentRecordRequest) XXX_Unmarshal

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

type WriteTournamentRecordRequest_TournamentRecordWrite

type WriteTournamentRecordRequest_TournamentRecordWrite struct {
	// The score value to submit.
	Score int64 `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"`
	// An optional secondary value.
	Subscore int64 `protobuf:"varint,2,opt,name=subscore,proto3" json:"subscore,omitempty"`
	// A JSON object of additional properties (optional).
	Metadata             string   `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Record values to write.

func (*WriteTournamentRecordRequest_TournamentRecordWrite) Descriptor

func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetMetadata

func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetScore

func (*WriteTournamentRecordRequest_TournamentRecordWrite) GetSubscore

func (*WriteTournamentRecordRequest_TournamentRecordWrite) ProtoMessage

func (*WriteTournamentRecordRequest_TournamentRecordWrite) Reset

func (*WriteTournamentRecordRequest_TournamentRecordWrite) String

func (*WriteTournamentRecordRequest_TournamentRecordWrite) XXX_DiscardUnknown

func (*WriteTournamentRecordRequest_TournamentRecordWrite) XXX_Marshal

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

func (*WriteTournamentRecordRequest_TournamentRecordWrite) XXX_Merge

func (*WriteTournamentRecordRequest_TournamentRecordWrite) XXX_Size

func (*WriteTournamentRecordRequest_TournamentRecordWrite) XXX_Unmarshal

Jump to

Keyboard shortcuts

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