text:
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: console/console.proto

package console

import (
	context "context"
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	empty "github.com/golang/protobuf/ptypes/empty"
	timestamp "github.com/golang/protobuf/ptypes/timestamp"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
	api "github.com/heroiclabs/nakama/api"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	grpc "google.golang.org/grpc"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// Delete a user account.
type AccountDeleteRequest struct {
	// The unique identifier of the user account.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Record the user deletion - used for GDPR compliance.
	RecordDeletion       *wrappers.BoolValue `protobuf:"bytes,2,opt,name=record_deletion,json=recordDeletion,proto3" json:"record_deletion,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *AccountDeleteRequest) Reset()         { *m = AccountDeleteRequest{} }
func (m *AccountDeleteRequest) String() string { return proto.CompactTextString(m) }
func (*AccountDeleteRequest) ProtoMessage()    {}
func (*AccountDeleteRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{0}
}

func (m *AccountDeleteRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AccountDeleteRequest.Unmarshal(m, b)
}
func (m *AccountDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AccountDeleteRequest.Marshal(b, m, deterministic)
}
func (m *AccountDeleteRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AccountDeleteRequest.Merge(m, src)
}
func (m *AccountDeleteRequest) XXX_Size() int {
	return xxx_messageInfo_AccountDeleteRequest.Size(m)
}
func (m *AccountDeleteRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_AccountDeleteRequest.DiscardUnknown(m)
}

var xxx_messageInfo_AccountDeleteRequest proto.InternalMessageInfo

func (m *AccountDeleteRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *AccountDeleteRequest) GetRecordDeletion() *wrappers.BoolValue {
	if m != nil {
		return m.RecordDeletion
	}
	return nil
}

// An export of all information stored for a user account.
type AccountExport struct {
	// The user's account details.
	Account *api.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The user's storage.
	Objects []*api.StorageObject `protobuf:"bytes,2,rep,name=objects,proto3" json:"objects,omitempty"`
	// The user's friends.
	Friends []*api.Friend `protobuf:"bytes,3,rep,name=friends,proto3" json:"friends,omitempty"`
	// The user's groups.
	Groups []*api.Group `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"`
	// The user's chat messages.
	Messages []*api.ChannelMessage `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"`
	// The user's leaderboard records.
	LeaderboardRecords []*api.LeaderboardRecord `protobuf:"bytes,6,rep,name=leaderboard_records,json=leaderboardRecords,proto3" json:"leaderboard_records,omitempty"`
	// The user's notifications.
	Notifications []*api.Notification `protobuf:"bytes,7,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// The user's wallet ledger items.
	WalletLedgers        []*WalletLedger `protobuf:"bytes,8,rep,name=wallet_ledgers,json=walletLedgers,proto3" json:"wallet_ledgers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (m *AccountExport) Reset()         { *m = AccountExport{} }
func (m *AccountExport) String() string { return proto.CompactTextString(m) }
func (*AccountExport) ProtoMessage()    {}
func (*AccountExport) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{1}
}

func (m *AccountExport) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AccountExport.Unmarshal(m, b)
}
func (m *AccountExport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AccountExport.Marshal(b, m, deterministic)
}
func (m *AccountExport) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AccountExport.Merge(m, src)
}
func (m *AccountExport) XXX_Size() int {
	return xxx_messageInfo_AccountExport.Size(m)
}
func (m *AccountExport) XXX_DiscardUnknown() {
	xxx_messageInfo_AccountExport.DiscardUnknown(m)
}

var xxx_messageInfo_AccountExport proto.InternalMessageInfo

func (m *AccountExport) GetAccount() *api.Account {
	if m != nil {
		return m.Account
	}
	return nil
}

func (m *AccountExport) GetObjects() []*api.StorageObject {
	if m != nil {
		return m.Objects
	}
	return nil
}

func (m *AccountExport) GetFriends() []*api.Friend {
	if m != nil {
		return m.Friends
	}
	return nil
}

func (m *AccountExport) GetGroups() []*api.Group {
	if m != nil {
		return m.Groups
	}
	return nil
}

func (m *AccountExport) GetMessages() []*api.ChannelMessage {
	if m != nil {
		return m.Messages
	}
	return nil
}

func (m *AccountExport) GetLeaderboardRecords() []*api.LeaderboardRecord {
	if m != nil {
		return m.LeaderboardRecords
	}
	return nil
}

func (m *AccountExport) GetNotifications() []*api.Notification {
	if m != nil {
		return m.Notifications
	}
	return nil
}

func (m *AccountExport) GetWalletLedgers() []*WalletLedger {
	if m != nil {
		return m.WalletLedgers
	}
	return nil
}

// The identifier for a user account.
type AccountId struct {
	// The unique identifier of the user account.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *AccountId) Reset()         { *m = AccountId{} }
func (m *AccountId) String() string { return proto.CompactTextString(m) }
func (*AccountId) ProtoMessage()    {}
func (*AccountId) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{2}
}

func (m *AccountId) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AccountId.Unmarshal(m, b)
}
func (m *AccountId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AccountId.Marshal(b, m, deterministic)
}
func (m *AccountId) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AccountId.Merge(m, src)
}
func (m *AccountId) XXX_Size() int {
	return xxx_messageInfo_AccountId.Size(m)
}
func (m *AccountId) XXX_DiscardUnknown() {
	xxx_messageInfo_AccountId.DiscardUnknown(m)
}

var xxx_messageInfo_AccountId proto.InternalMessageInfo

func (m *AccountId) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

// Authenticate a console user with username and password.
type AuthenticateRequest struct {
	// The username of the user.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The password of the user.
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *AuthenticateRequest) Reset()         { *m = AuthenticateRequest{} }
func (m *AuthenticateRequest) String() string { return proto.CompactTextString(m) }
func (*AuthenticateRequest) ProtoMessage()    {}
func (*AuthenticateRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{3}
}

func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AuthenticateRequest.Unmarshal(m, b)
}
func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AuthenticateRequest.Marshal(b, m, deterministic)
}
func (m *AuthenticateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AuthenticateRequest.Merge(m, src)
}
func (m *AuthenticateRequest) XXX_Size() int {
	return xxx_messageInfo_AuthenticateRequest.Size(m)
}
func (m *AuthenticateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_AuthenticateRequest.DiscardUnknown(m)
}

var xxx_messageInfo_AuthenticateRequest proto.InternalMessageInfo

func (m *AuthenticateRequest) GetUsername() string {
	if m != nil {
		return m.Username
	}
	return ""
}

func (m *AuthenticateRequest) GetPassword() string {
	if m != nil {
		return m.Password
	}
	return ""
}

// The current server configuration and any associated warnings.
type Config struct {
	// JSON-encoded active server configuration.
	Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// Any warnings about the current config.
	Warnings             []*Config_Warning `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *Config) Reset()         { *m = Config{} }
func (m *Config) String() string { return proto.CompactTextString(m) }
func (*Config) ProtoMessage()    {}
func (*Config) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{4}
}

func (m *Config) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Config.Unmarshal(m, b)
}
func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Config.Marshal(b, m, deterministic)
}
func (m *Config) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Config.Merge(m, src)
}
func (m *Config) XXX_Size() int {
	return xxx_messageInfo_Config.Size(m)
}
func (m *Config) XXX_DiscardUnknown() {
	xxx_messageInfo_Config.DiscardUnknown(m)
}

var xxx_messageInfo_Config proto.InternalMessageInfo

func (m *Config) GetConfig() string {
	if m != nil {
		return m.Config
	}
	return ""
}

func (m *Config) GetWarnings() []*Config_Warning {
	if m != nil {
		return m.Warnings
	}
	return nil
}

// A warning for a configuration field.
type Config_Warning struct {
	// The config field this warning is for in a JSON pointer format.
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// Warning message text.
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Config_Warning) Reset()         { *m = Config_Warning{} }
func (m *Config_Warning) String() string { return proto.CompactTextString(m) }
func (*Config_Warning) ProtoMessage()    {}
func (*Config_Warning) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{4, 0}
}

func (m *Config_Warning) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Config_Warning.Unmarshal(m, b)
}
func (m *Config_Warning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Config_Warning.Marshal(b, m, deterministic)
}
func (m *Config_Warning) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Config_Warning.Merge(m, src)
}
func (m *Config_Warning) XXX_Size() int {
	return xxx_messageInfo_Config_Warning.Size(m)
}
func (m *Config_Warning) XXX_DiscardUnknown() {
	xxx_messageInfo_Config_Warning.DiscardUnknown(m)
}

var xxx_messageInfo_Config_Warning proto.InternalMessageInfo

func (m *Config_Warning) GetField() string {
	if m != nil {
		return m.Field
	}
	return ""
}

func (m *Config_Warning) GetMessage() string {
	if m != nil {
		return m.Message
	}
	return ""
}

// A console user session.
type ConsoleSession struct {
	// A session token (JWT) for the console user.
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ConsoleSession) Reset()         { *m = ConsoleSession{} }
func (m *ConsoleSession) String() string { return proto.CompactTextString(m) }
func (*ConsoleSession) ProtoMessage()    {}
func (*ConsoleSession) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{5}
}

func (m *ConsoleSession) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ConsoleSession.Unmarshal(m, b)
}
func (m *ConsoleSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ConsoleSession.Marshal(b, m, deterministic)
}
func (m *ConsoleSession) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ConsoleSession.Merge(m, src)
}
func (m *ConsoleSession) XXX_Size() int {
	return xxx_messageInfo_ConsoleSession.Size(m)
}
func (m *ConsoleSession) XXX_DiscardUnknown() {
	xxx_messageInfo_ConsoleSession.DiscardUnknown(m)
}

var xxx_messageInfo_ConsoleSession proto.InternalMessageInfo

func (m *ConsoleSession) GetToken() string {
	if m != nil {
		return m.Token
	}
	return ""
}

// Delete friend relationship between two users.
type DeleteFriendRequest struct {
	// The user do delete for.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// User ID of the friend to remove.
	FriendId             string   `protobuf:"bytes,2,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteFriendRequest) Reset()         { *m = DeleteFriendRequest{} }
func (m *DeleteFriendRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteFriendRequest) ProtoMessage()    {}
func (*DeleteFriendRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{6}
}

func (m *DeleteFriendRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteFriendRequest.Unmarshal(m, b)
}
func (m *DeleteFriendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteFriendRequest.Marshal(b, m, deterministic)
}
func (m *DeleteFriendRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteFriendRequest.Merge(m, src)
}
func (m *DeleteFriendRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteFriendRequest.Size(m)
}
func (m *DeleteFriendRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteFriendRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteFriendRequest proto.InternalMessageInfo

func (m *DeleteFriendRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *DeleteFriendRequest) GetFriendId() string {
	if m != nil {
		return m.FriendId
	}
	return ""
}

// Remove a user from a group.
type DeleteGroupUserRequest struct {
	// User to remove.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the group to remove them from.
	GroupId              string   `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteGroupUserRequest) Reset()         { *m = DeleteGroupUserRequest{} }
func (m *DeleteGroupUserRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteGroupUserRequest) ProtoMessage()    {}
func (*DeleteGroupUserRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{7}
}

func (m *DeleteGroupUserRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteGroupUserRequest.Unmarshal(m, b)
}
func (m *DeleteGroupUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteGroupUserRequest.Marshal(b, m, deterministic)
}
func (m *DeleteGroupUserRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteGroupUserRequest.Merge(m, src)
}
func (m *DeleteGroupUserRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteGroupUserRequest.Size(m)
}
func (m *DeleteGroupUserRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteGroupUserRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteGroupUserRequest proto.InternalMessageInfo

func (m *DeleteGroupUserRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *DeleteGroupUserRequest) GetGroupId() string {
	if m != nil {
		return m.GroupId
	}
	return ""
}

// Delete an individual storage object.
type DeleteStorageObjectRequest struct {
	// Collection.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// Key.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// Owner user ID.
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Version for OCC.
	Version              string   `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteStorageObjectRequest) Reset()         { *m = DeleteStorageObjectRequest{} }
func (m *DeleteStorageObjectRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteStorageObjectRequest) ProtoMessage()    {}
func (*DeleteStorageObjectRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{8}
}

func (m *DeleteStorageObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteStorageObjectRequest.Unmarshal(m, b)
}
func (m *DeleteStorageObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteStorageObjectRequest.Marshal(b, m, deterministic)
}
func (m *DeleteStorageObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteStorageObjectRequest.Merge(m, src)
}
func (m *DeleteStorageObjectRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteStorageObjectRequest.Size(m)
}
func (m *DeleteStorageObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteStorageObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteStorageObjectRequest proto.InternalMessageInfo

func (m *DeleteStorageObjectRequest) GetCollection() string {
	if m != nil {
		return m.Collection
	}
	return ""
}

func (m *DeleteStorageObjectRequest) GetKey() string {
	if m != nil {
		return m.Key
	}
	return ""
}

func (m *DeleteStorageObjectRequest) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

func (m *DeleteStorageObjectRequest) GetVersion() string {
	if m != nil {
		return m.Version
	}
	return ""
}

// Delete a single wallet ledger item.
type DeleteWalletLedgerRequest struct {
	// User ID to remove wallet ledger item from.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the wallet ledger item to remove.
	WalletId             string   `protobuf:"bytes,2,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteWalletLedgerRequest) Reset()         { *m = DeleteWalletLedgerRequest{} }
func (m *DeleteWalletLedgerRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteWalletLedgerRequest) ProtoMessage()    {}
func (*DeleteWalletLedgerRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{9}
}

func (m *DeleteWalletLedgerRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteWalletLedgerRequest.Unmarshal(m, b)
}
func (m *DeleteWalletLedgerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteWalletLedgerRequest.Marshal(b, m, deterministic)
}
func (m *DeleteWalletLedgerRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteWalletLedgerRequest.Merge(m, src)
}
func (m *DeleteWalletLedgerRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteWalletLedgerRequest.Size(m)
}
func (m *DeleteWalletLedgerRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteWalletLedgerRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteWalletLedgerRequest proto.InternalMessageInfo

func (m *DeleteWalletLedgerRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *DeleteWalletLedgerRequest) GetWalletId() string {
	if m != nil {
		return m.WalletId
	}
	return ""
}

// List (and optionally filter) storage objects.
type ListStorageRequest struct {
	// User ID to filter objects for.
	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:"-"`
}

func (m *ListStorageRequest) Reset()         { *m = ListStorageRequest{} }
func (m *ListStorageRequest) String() string { return proto.CompactTextString(m) }
func (*ListStorageRequest) ProtoMessage()    {}
func (*ListStorageRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{10}
}

func (m *ListStorageRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListStorageRequest.Unmarshal(m, b)
}
func (m *ListStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListStorageRequest.Marshal(b, m, deterministic)
}
func (m *ListStorageRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListStorageRequest.Merge(m, src)
}
func (m *ListStorageRequest) XXX_Size() int {
	return xxx_messageInfo_ListStorageRequest.Size(m)
}
func (m *ListStorageRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListStorageRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListStorageRequest proto.InternalMessageInfo

func (m *ListStorageRequest) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

// List (and optionally filter) users.
type ListUsersRequest struct {
	// User ID or username filter.
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// Search only banned users.
	Banned bool `protobuf:"varint,2,opt,name=banned,proto3" json:"banned,omitempty"`
	// Search only recorded deletes.
	Tombstones bool `protobuf:"varint,3,opt,name=tombstones,proto3" json:"tombstones,omitempty"`
	// An (optional) cursor to fetch next page.
	Cursor               []byte   `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ListUsersRequest) Reset()         { *m = ListUsersRequest{} }
func (m *ListUsersRequest) String() string { return proto.CompactTextString(m) }
func (*ListUsersRequest) ProtoMessage()    {}
func (*ListUsersRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{11}
}

func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListUsersRequest.Unmarshal(m, b)
}
func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListUsersRequest.Marshal(b, m, deterministic)
}
func (m *ListUsersRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListUsersRequest.Merge(m, src)
}
func (m *ListUsersRequest) XXX_Size() int {
	return xxx_messageInfo_ListUsersRequest.Size(m)
}
func (m *ListUsersRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListUsersRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListUsersRequest proto.InternalMessageInfo

func (m *ListUsersRequest) GetFilter() string {
	if m != nil {
		return m.Filter
	}
	return ""
}

func (m *ListUsersRequest) GetBanned() bool {
	if m != nil {
		return m.Banned
	}
	return false
}

func (m *ListUsersRequest) GetTombstones() bool {
	if m != nil {
		return m.Tombstones
	}
	return false
}

func (m *ListUsersRequest) GetCursor() []byte {
	if m != nil {
		return m.Cursor
	}
	return nil
}

// List of storage objects.
type StorageList struct {
	// List of storage objects matching list/filter operation.
	Objects []*api.StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// An (optional) cursor for paging results.
	Cursor               []byte   `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *StorageList) Reset()         { *m = StorageList{} }
func (m *StorageList) String() string { return proto.CompactTextString(m) }
func (*StorageList) ProtoMessage()    {}
func (*StorageList) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{12}
}

func (m *StorageList) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StorageList.Unmarshal(m, b)
}
func (m *StorageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StorageList.Marshal(b, m, deterministic)
}
func (m *StorageList) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StorageList.Merge(m, src)
}
func (m *StorageList) XXX_Size() int {
	return xxx_messageInfo_StorageList.Size(m)
}
func (m *StorageList) XXX_DiscardUnknown() {
	xxx_messageInfo_StorageList.DiscardUnknown(m)
}

var xxx_messageInfo_StorageList proto.InternalMessageInfo

func (m *StorageList) GetObjects() []*api.StorageObject {
	if m != nil {
		return m.Objects
	}
	return nil
}

func (m *StorageList) GetCursor() []byte {
	if m != nil {
		return m.Cursor
	}
	return nil
}

// Unlink a particular device ID from a user's account.
type UnlinkDeviceRequest struct {
	// User ID to unlink from.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Device ID to unlink.
	DeviceId             string   `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *UnlinkDeviceRequest) Reset()         { *m = UnlinkDeviceRequest{} }
func (m *UnlinkDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*UnlinkDeviceRequest) ProtoMessage()    {}
func (*UnlinkDeviceRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{13}
}

func (m *UnlinkDeviceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UnlinkDeviceRequest.Unmarshal(m, b)
}
func (m *UnlinkDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UnlinkDeviceRequest.Marshal(b, m, deterministic)
}
func (m *UnlinkDeviceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UnlinkDeviceRequest.Merge(m, src)
}
func (m *UnlinkDeviceRequest) XXX_Size() int {
	return xxx_messageInfo_UnlinkDeviceRequest.Size(m)
}
func (m *UnlinkDeviceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_UnlinkDeviceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_UnlinkDeviceRequest proto.InternalMessageInfo

func (m *UnlinkDeviceRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *UnlinkDeviceRequest) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

// Update user account information.
type UpdateAccountRequest struct {
	// User ID to update.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Username.
	Username *wrappers.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// Display name.
	DisplayName *wrappers.StringValue `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Metadata.
	Metadata *wrappers.StringValue `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Avatar URL.
	AvatarUrl *wrappers.StringValue `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Langtag.
	LangTag *wrappers.StringValue `protobuf:"bytes,6,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
	// Location.
	Location *wrappers.StringValue `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"`
	// Timezone.
	Timezone *wrappers.StringValue `protobuf:"bytes,8,opt,name=timezone,proto3" json:"timezone,omitempty"`
	// Custom ID.
	CustomId *wrappers.StringValue `protobuf:"bytes,9,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"`
	// Email.
	Email *wrappers.StringValue `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"`
	// Device ID modifications.
	DeviceIds map[string]string `protobuf:"bytes,11,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Wallet.
	Wallet               *wrappers.StringValue `protobuf:"bytes,12,opt,name=wallet,proto3" json:"wallet,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *UpdateAccountRequest) Reset()         { *m = UpdateAccountRequest{} }
func (m *UpdateAccountRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateAccountRequest) ProtoMessage()    {}
func (*UpdateAccountRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{14}
}

func (m *UpdateAccountRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UpdateAccountRequest.Unmarshal(m, b)
}
func (m *UpdateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UpdateAccountRequest.Marshal(b, m, deterministic)
}
func (m *UpdateAccountRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UpdateAccountRequest.Merge(m, src)
}
func (m *UpdateAccountRequest) XXX_Size() int {
	return xxx_messageInfo_UpdateAccountRequest.Size(m)
}
func (m *UpdateAccountRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_UpdateAccountRequest.DiscardUnknown(m)
}

var xxx_messageInfo_UpdateAccountRequest proto.InternalMessageInfo

func (m *UpdateAccountRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *UpdateAccountRequest) GetUsername() *wrappers.StringValue {
	if m != nil {
		return m.Username
	}
	return nil
}

func (m *UpdateAccountRequest) GetDisplayName() *wrappers.StringValue {
	if m != nil {
		return m.DisplayName
	}
	return nil
}

func (m *UpdateAccountRequest) GetMetadata() *wrappers.StringValue {
	if m != nil {
		return m.Metadata
	}
	return nil
}

func (m *UpdateAccountRequest) GetAvatarUrl() *wrappers.StringValue {
	if m != nil {
		return m.AvatarUrl
	}
	return nil
}

func (m *UpdateAccountRequest) GetLangTag() *wrappers.StringValue {
	if m != nil {
		return m.LangTag
	}
	return nil
}

func (m *UpdateAccountRequest) GetLocation() *wrappers.StringValue {
	if m != nil {
		return m.Location
	}
	return nil
}

func (m *UpdateAccountRequest) GetTimezone() *wrappers.StringValue {
	if m != nil {
		return m.Timezone
	}
	return nil
}

func (m *UpdateAccountRequest) GetCustomId() *wrappers.StringValue {
	if m != nil {
		return m.CustomId
	}
	return nil
}

func (m *UpdateAccountRequest) GetEmail() *wrappers.StringValue {
	if m != nil {
		return m.Email
	}
	return nil
}

func (m *UpdateAccountRequest) GetDeviceIds() map[string]string {
	if m != nil {
		return m.DeviceIds
	}
	return nil
}

func (m *UpdateAccountRequest) GetWallet() *wrappers.StringValue {
	if m != nil {
		return m.Wallet
	}
	return nil
}

// A list of users.
type UserList struct {
	// A list of users.
	Users []*api.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// A cursor to fetch more results.
	Cursor               []byte   `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *UserList) Reset()         { *m = UserList{} }
func (m *UserList) String() string { return proto.CompactTextString(m) }
func (*UserList) ProtoMessage()    {}
func (*UserList) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{15}
}

func (m *UserList) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UserList.Unmarshal(m, b)
}
func (m *UserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UserList.Marshal(b, m, deterministic)
}
func (m *UserList) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UserList.Merge(m, src)
}
func (m *UserList) XXX_Size() int {
	return xxx_messageInfo_UserList.Size(m)
}
func (m *UserList) XXX_DiscardUnknown() {
	xxx_messageInfo_UserList.DiscardUnknown(m)
}

var xxx_messageInfo_UserList proto.InternalMessageInfo

func (m *UserList) GetUsers() []*api.User {
	if m != nil {
		return m.Users
	}
	return nil
}

func (m *UserList) GetCursor() []byte {
	if m != nil {
		return m.Cursor
	}
	return nil
}

// List of nodes and their stats.
type StatusList struct {
	// List of nodes and their stats.
	Nodes                []*StatusList_Status `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *StatusList) Reset()         { *m = StatusList{} }
func (m *StatusList) String() string { return proto.CompactTextString(m) }
func (*StatusList) ProtoMessage()    {}
func (*StatusList) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{16}
}

func (m *StatusList) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StatusList.Unmarshal(m, b)
}
func (m *StatusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StatusList.Marshal(b, m, deterministic)
}
func (m *StatusList) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StatusList.Merge(m, src)
}
func (m *StatusList) XXX_Size() int {
	return xxx_messageInfo_StatusList.Size(m)
}
func (m *StatusList) XXX_DiscardUnknown() {
	xxx_messageInfo_StatusList.DiscardUnknown(m)
}

var xxx_messageInfo_StatusList proto.InternalMessageInfo

func (m *StatusList) GetNodes() []*StatusList_Status {
	if m != nil {
		return m.Nodes
	}
	return nil
}

// The status of a Nakama node.
type StatusList_Status struct {
	// Node name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Currently connected sessions.
	SessionCount int32 `protobuf:"varint,2,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"`
	// Currently registered live presences.
	PresenceCount int32 `protobuf:"varint,3,opt,name=presence_count,json=presenceCount,proto3" json:"presence_count,omitempty"`
	// Current number of active authoritative matches.
	MatchCount int32 `protobuf:"varint,4,opt,name=match_count,json=matchCount,proto3" json:"match_count,omitempty"`
	// Current number of running goroutines.
	GoroutineCount int32 `protobuf:"varint,5,opt,name=goroutine_count,json=goroutineCount,proto3" json:"goroutine_count,omitempty"`
	// Latest average response latency in milliseconds.
	AvgLatencyMs float64 `protobuf:"fixed64,6,opt,name=avg_latency_ms,json=avgLatencyMs,proto3" json:"avg_latency_ms,omitempty"`
	// Average response latency in milliseconds over the last minute.
	AvgLatencyMsMin float64 `protobuf:"fixed64,7,opt,name=avg_latency_ms_min,json=avgLatencyMsMin,proto3" json:"avg_latency_ms_min,omitempty"`
	// Average response latency in milliseconds over the last hour.
	AvgLatencyMsHr float64 `protobuf:"fixed64,8,opt,name=avg_latency_ms_hr,json=avgLatencyMsHr,proto3" json:"avg_latency_ms_hr,omitempty"`
	// Latest number of requests per second.
	RateSec float64 `protobuf:"fixed64,9,opt,name=rate_sec,json=rateSec,proto3" json:"rate_sec,omitempty"`
	// Number of requests per second over the last minute.
	RateSecMin float64 `protobuf:"fixed64,10,opt,name=rate_sec_min,json=rateSecMin,proto3" json:"rate_sec_min,omitempty"`
	// Number of requests per second over the last hour.
	RateSecHr float64 `protobuf:"fixed64,11,opt,name=rate_sec_hr,json=rateSecHr,proto3" json:"rate_sec_hr,omitempty"`
	// Latest input bandwidth usage.
	InputKbs float64 `protobuf:"fixed64,12,opt,name=input_kbs,json=inputKbs,proto3" json:"input_kbs,omitempty"`
	// Input bandwidth usage over the last minute.
	InputKbsMin float64 `protobuf:"fixed64,13,opt,name=input_kbs_min,json=inputKbsMin,proto3" json:"input_kbs_min,omitempty"`
	// Input bandwidth usage over the last hour.
	InputKbsHr float64 `protobuf:"fixed64,14,opt,name=input_kbs_hr,json=inputKbsHr,proto3" json:"input_kbs_hr,omitempty"`
	// Latest output bandwidth usage.
	OutputKbs float64 `protobuf:"fixed64,15,opt,name=output_kbs,json=outputKbs,proto3" json:"output_kbs,omitempty"`
	// Output bandwidth usage over the last minute.
	OutputKbsMin float64 `protobuf:"fixed64,16,opt,name=output_kbs_min,json=outputKbsMin,proto3" json:"output_kbs_min,omitempty"`
	// Output bandwidth usage over the last hour.
	OutputKbsHt          float64  `protobuf:"fixed64,17,opt,name=output_kbs_ht,json=outputKbsHt,proto3" json:"output_kbs_ht,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *StatusList_Status) Reset()         { *m = StatusList_Status{} }
func (m *StatusList_Status) String() string { return proto.CompactTextString(m) }
func (*StatusList_Status) ProtoMessage()    {}
func (*StatusList_Status) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{16, 0}
}

func (m *StatusList_Status) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StatusList_Status.Unmarshal(m, b)
}
func (m *StatusList_Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StatusList_Status.Marshal(b, m, deterministic)
}
func (m *StatusList_Status) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StatusList_Status.Merge(m, src)
}
func (m *StatusList_Status) XXX_Size() int {
	return xxx_messageInfo_StatusList_Status.Size(m)
}
func (m *StatusList_Status) XXX_DiscardUnknown() {
	xxx_messageInfo_StatusList_Status.DiscardUnknown(m)
}

var xxx_messageInfo_StatusList_Status proto.InternalMessageInfo

func (m *StatusList_Status) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *StatusList_Status) GetSessionCount() int32 {
	if m != nil {
		return m.SessionCount
	}
	return 0
}

func (m *StatusList_Status) GetPresenceCount() int32 {
	if m != nil {
		return m.PresenceCount
	}
	return 0
}

func (m *StatusList_Status) GetMatchCount() int32 {
	if m != nil {
		return m.MatchCount
	}
	return 0
}

func (m *StatusList_Status) GetGoroutineCount() int32 {
	if m != nil {
		return m.GoroutineCount
	}
	return 0
}

func (m *StatusList_Status) GetAvgLatencyMs() float64 {
	if m != nil {
		return m.AvgLatencyMs
	}
	return 0
}

func (m *StatusList_Status) GetAvgLatencyMsMin() float64 {
	if m != nil {
		return m.AvgLatencyMsMin
	}
	return 0
}

func (m *StatusList_Status) GetAvgLatencyMsHr() float64 {
	if m != nil {
		return m.AvgLatencyMsHr
	}
	return 0
}

func (m *StatusList_Status) GetRateSec() float64 {
	if m != nil {
		return m.RateSec
	}
	return 0
}

func (m *StatusList_Status) GetRateSecMin() float64 {
	if m != nil {
		return m.RateSecMin
	}
	return 0
}

func (m *StatusList_Status) GetRateSecHr() float64 {
	if m != nil {
		return m.RateSecHr
	}
	return 0
}

func (m *StatusList_Status) GetInputKbs() float64 {
	if m != nil {
		return m.InputKbs
	}
	return 0
}

func (m *StatusList_Status) GetInputKbsMin() float64 {
	if m != nil {
		return m.InputKbsMin
	}
	return 0
}

func (m *StatusList_Status) GetInputKbsHr() float64 {
	if m != nil {
		return m.InputKbsHr
	}
	return 0
}

func (m *StatusList_Status) GetOutputKbs() float64 {
	if m != nil {
		return m.OutputKbs
	}
	return 0
}

func (m *StatusList_Status) GetOutputKbsMin() float64 {
	if m != nil {
		return m.OutputKbsMin
	}
	return 0
}

func (m *StatusList_Status) GetOutputKbsHt() float64 {
	if m != nil {
		return m.OutputKbsHt
	}
	return 0
}

// An individual update to a user's wallet.
type WalletLedger struct {
	// The identifier of this wallet change.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The user ID this wallet ledger item belongs to.
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The changeset.
	Changeset string `protobuf:"bytes,3,opt,name=changeset,proto3" json:"changeset,omitempty"`
	// Any associated metadata.
	Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The UNIX time when the wallet ledger item was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The UNIX time when the wallet ledger item was updated.
	UpdateTime           *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *WalletLedger) Reset()         { *m = WalletLedger{} }
func (m *WalletLedger) String() string { return proto.CompactTextString(m) }
func (*WalletLedger) ProtoMessage()    {}
func (*WalletLedger) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{17}
}

func (m *WalletLedger) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_WalletLedger.Unmarshal(m, b)
}
func (m *WalletLedger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_WalletLedger.Marshal(b, m, deterministic)
}
func (m *WalletLedger) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WalletLedger.Merge(m, src)
}
func (m *WalletLedger) XXX_Size() int {
	return xxx_messageInfo_WalletLedger.Size(m)
}
func (m *WalletLedger) XXX_DiscardUnknown() {
	xxx_messageInfo_WalletLedger.DiscardUnknown(m)
}

var xxx_messageInfo_WalletLedger proto.InternalMessageInfo

func (m *WalletLedger) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *WalletLedger) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

func (m *WalletLedger) GetChangeset() string {
	if m != nil {
		return m.Changeset
	}
	return ""
}

func (m *WalletLedger) GetMetadata() string {
	if m != nil {
		return m.Metadata
	}
	return ""
}

func (m *WalletLedger) GetCreateTime() *timestamp.Timestamp {
	if m != nil {
		return m.CreateTime
	}
	return nil
}

func (m *WalletLedger) GetUpdateTime() *timestamp.Timestamp {
	if m != nil {
		return m.UpdateTime
	}
	return nil
}

// List of wallet ledger items for a particular user.
type WalletLedgerList struct {
	// A list of wallet ledger items.
	Items                []*WalletLedger `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (m *WalletLedgerList) Reset()         { *m = WalletLedgerList{} }
func (m *WalletLedgerList) String() string { return proto.CompactTextString(m) }
func (*WalletLedgerList) ProtoMessage()    {}
func (*WalletLedgerList) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{18}
}

func (m *WalletLedgerList) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_WalletLedgerList.Unmarshal(m, b)
}
func (m *WalletLedgerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_WalletLedgerList.Marshal(b, m, deterministic)
}
func (m *WalletLedgerList) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WalletLedgerList.Merge(m, src)
}
func (m *WalletLedgerList) XXX_Size() int {
	return xxx_messageInfo_WalletLedgerList.Size(m)
}
func (m *WalletLedgerList) XXX_DiscardUnknown() {
	xxx_messageInfo_WalletLedgerList.DiscardUnknown(m)
}

var xxx_messageInfo_WalletLedgerList proto.InternalMessageInfo

func (m *WalletLedgerList) GetItems() []*WalletLedger {
	if m != nil {
		return m.Items
	}
	return nil
}

// Write a new storage object or update an existing one.
type WriteStorageObjectRequest struct {
	// Collection.
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	// Key.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// Owner user ID.
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Value.
	Value *wrappers.StringValue `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// Version for OCC.
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// Read permission value.
	PermissionRead *wrappers.Int32Value `protobuf:"bytes,6,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"`
	// Write permission value.
	PermissionWrite      *wrappers.Int32Value `protobuf:"bytes,7,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *WriteStorageObjectRequest) Reset()         { *m = WriteStorageObjectRequest{} }
func (m *WriteStorageObjectRequest) String() string { return proto.CompactTextString(m) }
func (*WriteStorageObjectRequest) ProtoMessage()    {}
func (*WriteStorageObjectRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_9289ac5ba895f2a7, []int{19}
}

func (m *WriteStorageObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_WriteStorageObjectRequest.Unmarshal(m, b)
}
func (m *WriteStorageObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_WriteStorageObjectRequest.Marshal(b, m, deterministic)
}
func (m *WriteStorageObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WriteStorageObjectRequest.Merge(m, src)
}
func (m *WriteStorageObjectRequest) XXX_Size() int {
	return xxx_messageInfo_WriteStorageObjectRequest.Size(m)
}
func (m *WriteStorageObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_WriteStorageObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_WriteStorageObjectRequest proto.InternalMessageInfo

func (m *WriteStorageObjectRequest) GetCollection() string {
	if m != nil {
		return m.Collection
	}
	return ""
}

func (m *WriteStorageObjectRequest) GetKey() string {
	if m != nil {
		return m.Key
	}
	return ""
}

func (m *WriteStorageObjectRequest) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

func (m *WriteStorageObjectRequest) GetValue() *wrappers.StringValue {
	if m != nil {
		return m.Value
	}
	return nil
}

func (m *WriteStorageObjectRequest) GetVersion() string {
	if m != nil {
		return m.Version
	}
	return ""
}

func (m *WriteStorageObjectRequest) GetPermissionRead() *wrappers.Int32Value {
	if m != nil {
		return m.PermissionRead
	}
	return nil
}

func (m *WriteStorageObjectRequest) GetPermissionWrite() *wrappers.Int32Value {
	if m != nil {
		return m.PermissionWrite
	}
	return nil
}

func init() {
	proto.RegisterType((*AccountDeleteRequest)(nil), "nakama.console.AccountDeleteRequest")
	proto.RegisterType((*AccountExport)(nil), "nakama.console.AccountExport")
	proto.RegisterType((*AccountId)(nil), "nakama.console.AccountId")
	proto.RegisterType((*AuthenticateRequest)(nil), "nakama.console.AuthenticateRequest")
	proto.RegisterType((*Config)(nil), "nakama.console.Config")
	proto.RegisterType((*Config_Warning)(nil), "nakama.console.Config.Warning")
	proto.RegisterType((*ConsoleSession)(nil), "nakama.console.ConsoleSession")
	proto.RegisterType((*DeleteFriendRequest)(nil), "nakama.console.DeleteFriendRequest")
	proto.RegisterType((*DeleteGroupUserRequest)(nil), "nakama.console.DeleteGroupUserRequest")
	proto.RegisterType((*DeleteStorageObjectRequest)(nil), "nakama.console.DeleteStorageObjectRequest")
	proto.RegisterType((*DeleteWalletLedgerRequest)(nil), "nakama.console.DeleteWalletLedgerRequest")
	proto.RegisterType((*ListStorageRequest)(nil), "nakama.console.ListStorageRequest")
	proto.RegisterType((*ListUsersRequest)(nil), "nakama.console.ListUsersRequest")
	proto.RegisterType((*StorageList)(nil), "nakama.console.StorageList")
	proto.RegisterType((*UnlinkDeviceRequest)(nil), "nakama.console.UnlinkDeviceRequest")
	proto.RegisterType((*UpdateAccountRequest)(nil), "nakama.console.UpdateAccountRequest")
	proto.RegisterMapType((map[string]string)(nil), "nakama.console.UpdateAccountRequest.DeviceIdsEntry")
	proto.RegisterType((*UserList)(nil), "nakama.console.UserList")
	proto.RegisterType((*StatusList)(nil), "nakama.console.StatusList")
	proto.RegisterType((*StatusList_Status)(nil), "nakama.console.StatusList.Status")
	proto.RegisterType((*WalletLedger)(nil), "nakama.console.WalletLedger")
	proto.RegisterType((*WalletLedgerList)(nil), "nakama.console.WalletLedgerList")
	proto.RegisterType((*WriteStorageObjectRequest)(nil), "nakama.console.WriteStorageObjectRequest")
}

func init() { proto.RegisterFile("console/console.proto", fileDescriptor_9289ac5ba895f2a7) }

var fileDescriptor_9289ac5ba895f2a7 = []byte{
	// 2421 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4d, 0x73, 0x1b, 0xc7,
	0xd1, 0xf6, 0x82, 0x04, 0x01, 0x34, 0x08, 0x90, 0x1a, 0xd2, 0x7a, 0x97, 0xa0, 0x44, 0xc3, 0x6b,
	0x99, 0x92, 0x20, 0x11, 0x90, 0xc0, 0x37, 0x91, 0xcc, 0xb8, 0x92, 0x88, 0x94, 0x44, 0x31, 0x91,
	0x94, 0xd4, 0x52, 0x8c, 0xaa, 0x94, 0x54, 0x50, 0x83, 0xdd, 0x21, 0xb0, 0xe6, 0x62, 0x07, 0xde,
	0x19, 0x90, 0xa1, 0x59, 0xac, 0xca, 0xd7, 0x31, 0x97, 0x38, 0x87, 0xdc, 0x52, 0x95, 0x73, 0xfe,
	0x45, 0xfe, 0x81, 0x2b, 0x27, 0xdf, 0x73, 0xcb, 0x5f, 0xc8, 0x21, 0x35, 0x1f, 0x0b, 0x2c, 0x3e,
	0x96, 0x84, 0xe4, 0xd2, 0x41, 0x25, 0x4c, 0xcf, 0xd3, 0xfd, 0xf4, 0xf4, 0xf6, 0xf4, 0x4c, 0x0f,
	0xe1, 0x43, 0x87, 0x06, 0x8c, 0xfa, 0xa4, 0xa6, 0xff, 0xaf, 0x76, 0x43, 0xca, 0x29, 0x2a, 0x06,
	0xf8, 0x08, 0x77, 0x70, 0x55, 0x4b, 0x4b, 0x95, 0x96, 0xc7, 0xdb, 0x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5f, 0xc4,
	0xdd, 0xae, 0xaf, 0xff, 0xf2, 0x53, 0xfb, 0x82, 0xd1, 0x60, 0x6b, 0x4c, 0xf2, 0xe6, 0x0a, 0x2c,
	0x40, 0x6e, 0x1b, 0x33, 0xcf, 0x11, 0x8e, 0xa1, 0x54, 0xd6, 0x68, 0x2e, 0x40, 0x21, 0x2e, 0xfa,
	0x20, 0xdc, 0x86, 0x4f, 0xb4, 0xf3, 0x8c, 0x84, 0xc7, 0x24, 0xec, 0x2f, 0xd0, 0xa5, 0x4e, 0xaf,
	0x43, 0x02, 0xf5, 0x57, 0x46, 0xb4, 0x1a, 0x2d, 0x61, 0xd8, 0xbd, 0x9a, 0x4b, 0x1d, 0xf6, 0x26,
	0xa3, 0x75, 0x9a, 0x73, 0x32, 0xee, 0x9b, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xa6, 0x55,
	0xf6, 0x8a, 0x1d, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// ConsoleClient is the client API for Console service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ConsoleClient interface {
	// Authenticate a console user with username and password.
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*ConsoleSession, error)
	// Ban a user.
	BanUser(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error)
	// Delete all information stored for a user account.
	DeleteAccount(ctx context.Context, in *AccountDeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Delete the friend relationship between two users.
	DeleteFriend(ctx context.Context, in *DeleteFriendRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Remove a user from a group.
	DeleteGroupUser(ctx context.Context, in *DeleteGroupUserRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Delete all storage data.
	DeleteStorage(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	// Delete a storage object.
	DeleteStorageObject(ctx context.Context, in *DeleteStorageObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Delete (non-recorded) all user accounts.
	DeleteUsers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	// Delete a wallet ledger item.
	DeleteWalletLedger(ctx context.Context, in *DeleteWalletLedgerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Export all information stored about a user account.
	ExportAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*AccountExport, error)
	// Get detailed account information for a single user.
	GetAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*api.Account, error)
	// Get server config and configuration warnings.
	GetConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Config, error)
	// Get a user's list of friend relationships.
	GetFriends(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*api.Friends, error)
	// Get a list of groups the user is a member of.
	GetGroups(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*api.UserGroupList, error)
	// Get current status data for all nodes.
	GetStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StatusList, error)
	// Get a list of the user's wallet transactions.
	GetWalletLedger(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*WalletLedgerList, error)
	// List (and optionally filter) storage data.
	ListStorage(ctx context.Context, in *ListStorageRequest, opts ...grpc.CallOption) (*StorageList, error)
	// List (and optionally filter) users.
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*UserList, error)
	// Unban a user.
	UnbanUser(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error)
	// Unlink the custom ID from a user account.
	UnlinkCustom(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error)
	// Unlink the device ID from a user account.
	UnlinkDevice(ctx context.Context, in *UnlinkDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Unlink the email from a user account.
	UnlinkEmail(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error)
	// Unlink the Facebook ID from a user account.
	UnlinkFacebook(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error)
	// Unlink the Game Center ID from a user account.
	UnlinkGameCenter(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error)
	// Unlink the Google ID from a user account.
	UnlinkGoogle(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error)
	// Unlink the Steam ID from a user account.
	UnlinkSteam(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error)
	// Update one or more fields on a user account.
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Write a new storage object or replace an existing one.
	WriteStorageObject(ctx context.Context, in *WriteStorageObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

type consoleClient struct {
	cc *grpc.ClientConn
}

func NewConsoleClient(cc *grpc.ClientConn) ConsoleClient {
	return &consoleClient{cc}
}

func (c *consoleClient) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*ConsoleSession, error) {
	out := new(ConsoleSession)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/Authenticate", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) BanUser(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/BanUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) DeleteAccount(ctx context.Context, in *AccountDeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/DeleteAccount", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) DeleteFriend(ctx context.Context, in *DeleteFriendRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/DeleteFriend", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) DeleteGroupUser(ctx context.Context, in *DeleteGroupUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/DeleteGroupUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) DeleteStorage(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/DeleteStorage", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) DeleteStorageObject(ctx context.Context, in *DeleteStorageObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/DeleteStorageObject", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) DeleteUsers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/DeleteUsers", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) DeleteWalletLedger(ctx context.Context, in *DeleteWalletLedgerRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/DeleteWalletLedger", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) ExportAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*AccountExport, error) {
	out := new(AccountExport)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/ExportAccount", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) GetAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*api.Account, error) {
	out := new(api.Account)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/GetAccount", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) GetConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Config, error) {
	out := new(Config)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/GetConfig", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) GetFriends(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*api.Friends, error) {
	out := new(api.Friends)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/GetFriends", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) GetGroups(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*api.UserGroupList, error) {
	out := new(api.UserGroupList)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/GetGroups", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) GetStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StatusList, error) {
	out := new(StatusList)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/GetStatus", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) GetWalletLedger(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*WalletLedgerList, error) {
	out := new(WalletLedgerList)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/GetWalletLedger", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) ListStorage(ctx context.Context, in *ListStorageRequest, opts ...grpc.CallOption) (*StorageList, error) {
	out := new(StorageList)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/ListStorage", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*UserList, error) {
	out := new(UserList)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/ListUsers", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UnbanUser(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UnbanUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UnlinkCustom(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UnlinkCustom", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UnlinkDevice(ctx context.Context, in *UnlinkDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UnlinkDevice", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UnlinkEmail(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UnlinkEmail", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UnlinkFacebook(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UnlinkFacebook", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UnlinkGameCenter(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UnlinkGameCenter", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UnlinkGoogle(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UnlinkGoogle", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UnlinkSteam(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UnlinkSteam", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/UpdateAccount", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *consoleClient) WriteStorageObject(ctx context.Context, in *WriteStorageObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/nakama.console.Console/WriteStorageObject", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ConsoleServer is the server API for Console service.
type ConsoleServer interface {
	// Authenticate a console user with username and password.
	Authenticate(context.Context, *AuthenticateRequest) (*ConsoleSession, error)
	// Ban a user.
	BanUser(context.Context, *AccountId) (*empty.Empty, error)
	// Delete all information stored for a user account.
	DeleteAccount(context.Context, *AccountDeleteRequest) (*empty.Empty, error)
	// Delete the friend relationship between two users.
	DeleteFriend(context.Context, *DeleteFriendRequest) (*empty.Empty, error)
	// Remove a user from a group.
	DeleteGroupUser(context.Context, *DeleteGroupUserRequest) (*empty.Empty, error)
	// Delete all storage data.
	DeleteStorage(context.Context, *empty.Empty) (*empty.Empty, error)
	// Delete a storage object.
	DeleteStorageObject(context.Context, *DeleteStorageObjectRequest) (*empty.Empty, error)
	// Delete (non-recorded) all user accounts.
	DeleteUsers(context.Context, *empty.Empty) (*empty.Empty, error)
	// Delete a wallet ledger item.
	DeleteWalletLedger(context.Context, *DeleteWalletLedgerRequest) (*empty.Empty, error)
	// Export all information stored about a user account.
	ExportAccount(context.Context, *AccountId) (*AccountExport, error)
	// Get detailed account information for a single user.
	GetAccount(context.Context, *AccountId) (*api.Account, error)
	// Get server config and configuration warnings.
	GetConfig(context.Context, *empty.Empty) (*Config, error)
	// Get a user's list of friend relationships.
	GetFriends(context.Context, *AccountId) (*api.Friends, error)
	// Get a list of groups the user is a member of.
	GetGroups(context.Context, *AccountId) (*api.UserGroupList, error)
	// Get current status data for all nodes.
	GetStatus(context.Context, *empty.Empty) (*StatusList, error)
	// Get a list of the user's wallet transactions.
	GetWalletLedger(context.Context, *AccountId) (*WalletLedgerList, error)
	// List (and optionally filter) storage data.
	ListStorage(context.Context, *ListStorageRequest) (*StorageList, error)
	// List (and optionally filter) users.
	ListUsers(context.Context, *ListUsersRequest) (*UserList, error)
	// Unban a user.
	UnbanUser(context.Context, *AccountId) (*empty.Empty, error)
	// Unlink the custom ID from a user account.
	UnlinkCustom(context.Context, *AccountId) (*empty.Empty, error)
	// Unlink the device ID from a user account.
	UnlinkDevice(context.Context, *UnlinkDeviceRequest) (*empty.Empty, error)
	// Unlink the email from a user account.
	UnlinkEmail(context.Context, *AccountId) (*empty.Empty, error)
	// Unlink the Facebook ID from a user account.
	UnlinkFacebook(context.Context, *AccountId) (*empty.Empty, error)
	// Unlink the Game Center ID from a user account.
	UnlinkGameCenter(context.Context, *AccountId) (*empty.Empty, error)
	// Unlink the Google ID from a user account.
	UnlinkGoogle(context.Context, *AccountId) (*empty.Empty, error)
	// Unlink the Steam ID from a user account.
	UnlinkSteam(context.Context, *AccountId) (*empty.Empty, error)
	// Update one or more fields on a user account.
	UpdateAccount(context.Context, *UpdateAccountRequest) (*empty.Empty, error)
	// Write a new storage object or replace an existing one.
	WriteStorageObject(context.Context, *WriteStorageObjectRequest) (*empty.Empty, error)
}

func RegisterConsoleServer(s *grpc.Server, srv ConsoleServer) {
	s.RegisterService(&_Console_serviceDesc, srv)
}

func _Console_Authenticate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AuthenticateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ConsoleServer).Authenticate(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/nakama.console.Console/Authenticate",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ConsoleServer).Authenticate(ctx, req.(*AuthenticateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Console_BanUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AccountId)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ConsoleServer).BanUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/nakama.console.Console/BanUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ConsoleServer).BanUser(ctx, req.(*AccountId))
	}
	return interceptor(ctx, in, info, handler)
}

func _Console_DeleteAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AccountDeleteRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ConsoleServer).DeleteAccount(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/nakama.console.Console/DeleteAccount",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ConsoleServer).DeleteAccount(ctx, req.(*AccountDeleteRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Console_DeleteFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteFriendRequest)
	if err := dec(in); err != nil

repository: arayinfree/nakama

repo_name: arayinfree/nakama