Package com.heroiclabs.nakama.api
Class NakamaGrpc.NakamaBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<NakamaGrpc.NakamaBlockingStub>
com.heroiclabs.nakama.api.NakamaGrpc.NakamaBlockingStub
- Enclosing class:
- NakamaGrpc
public static final class NakamaGrpc.NakamaBlockingStub
extends io.grpc.stub.AbstractBlockingStub<NakamaGrpc.NakamaBlockingStub>
The Nakama RPC protocol service built with GRPC.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionaddFriends
(AddFriendsRequest request) Add friends by ID or username to a user's account.addGroupUsers
(AddGroupUsersRequest request) Add users to a group.Authenticate a user with an Apple ID against the server.Authenticate a user with a custom id against the server.Authenticate a user with a device id against the server.Authenticate a user with an email+password against the server.Authenticate a user with a Facebook OAuth token against the server.Authenticate a user with a Facebook Instant Game token against the server.Authenticate a user with Apple's GameCenter against the server.Authenticate a user with Google against the server.Authenticate a user with Steam against the server.banGroupUsers
(BanGroupUsersRequest request) Ban a set of users from a group.blockFriends
(BlockFriendsRequest request) Block one or more users by ID or username.protected NakamaGrpc.NakamaBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createGroup
(CreateGroupRequest request) Create a new group with the current user as the owner.deleteFriends
(DeleteFriendsRequest request) Delete one or more users by ID or username.deleteGroup
(DeleteGroupRequest request) Delete a group by ID.Delete a leaderboard record.Delete one or more notifications for the current user.Delete one or more objects by ID or username.demoteGroupUsers
(DemoteGroupUsersRequest request) Demote a set of users in a group to the next role down.Submit an event for processing in the server's registered runtime custom events handler.getAccount
(Empty request) Fetch the current user's account.getUsers
(GetUsersRequest request) Fetch zero or more users by ID and/or username.healthcheck
(Empty request) A healthcheck which load balancers can use to check the service.Import Facebook friends and add them to a user's account.joinGroup
(JoinGroupRequest request) Immediately join an open group, or request to join a closed one.joinTournament
(JoinTournamentRequest request) Attempt to join an open and running tournament.kickGroupUsers
(KickGroupUsersRequest request) Kick a set of users from a group.leaveGroup
(LeaveGroupRequest request) Leave a group the user is a member of.linkApple
(AccountApple request) Add an Apple ID to the social profiles on the current user's account.linkCustom
(AccountCustom request) Add a custom ID to the social profiles on the current user's account.linkDevice
(AccountDevice request) Add a device ID to the social profiles on the current user's account.linkEmail
(AccountEmail request) Add an email+password to the social profiles on the current user's account.linkFacebook
(LinkFacebookRequest request) Add Facebook to the social profiles on the current user's account.Add Facebook Instant Game to the social profiles on the current user's account.linkGameCenter
(AccountGameCenter request) Add Apple's GameCenter to the social profiles on the current user's account.linkGoogle
(AccountGoogle request) Add Google to the social profiles on the current user's account.linkSteam
(AccountSteam request) Add Steam to the social profiles on the current user's account.List a channel's message history.listFriends
(ListFriendsRequest request) List all friends for the current user.listGroups
(ListGroupsRequest request) List groups based on given filters.listGroupUsers
(ListGroupUsersRequest request) List all users that are part of a group.List leaderboard records.List leaderboard records that belong to a user.listMatches
(ListMatchesRequest request) Fetch list of running matches.Fetch list of notifications.List publicly readable storage objects in a given collection.List tournament records.List tournament records for a given owner.listTournaments
(ListTournamentsRequest request) List current or upcoming tournaments.listUserGroups
(ListUserGroupsRequest request) List groups the current user belongs to.Promote a set of users in a group to the next role up.Get storage objects.Execute a Lua function on the server.unlinkApple
(AccountApple request) Remove the Apple ID from the social profiles on the current user's account.unlinkCustom
(AccountCustom request) Remove the custom ID from the social profiles on the current user's account.unlinkDevice
(AccountDevice request) Remove the device ID from the social profiles on the current user's account.unlinkEmail
(AccountEmail request) Remove the email+password from the social profiles on the current user's account.unlinkFacebook
(AccountFacebook request) Remove Facebook from the social profiles on the current user's account.Remove Facebook Instant Game profile from the social profiles on the current user's account.unlinkGameCenter
(AccountGameCenter request) Remove Apple's GameCenter from the social profiles on the current user's account.unlinkGoogle
(AccountGoogle request) Remove Google from the social profiles on the current user's account.unlinkSteam
(AccountSteam request) Remove Steam from the social profiles on the current user's account.updateAccount
(UpdateAccountRequest request) Update fields in the current user's account.updateGroup
(UpdateGroupRequest request) Update fields in a given group.Write a record to a leaderboard.Write objects into the storage engine.Write a record to a tournament.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected NakamaGrpc.NakamaBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<NakamaGrpc.NakamaBlockingStub>
-
addFriends
Add friends by ID or username to a user's account.
-
addGroupUsers
Add users to a group.
-
authenticateApple
Authenticate a user with an Apple ID against the server.
-
authenticateCustom
Authenticate a user with a custom id against the server.
-
authenticateDevice
Authenticate a user with a device id against the server.
-
authenticateEmail
Authenticate a user with an email+password against the server.
-
authenticateFacebook
Authenticate a user with a Facebook OAuth token against the server.
-
authenticateFacebookInstantGame
Authenticate a user with a Facebook Instant Game token against the server.
-
authenticateGameCenter
Authenticate a user with Apple's GameCenter against the server.
-
authenticateGoogle
Authenticate a user with Google against the server.
-
authenticateSteam
Authenticate a user with Steam against the server.
-
banGroupUsers
Ban a set of users from a group.
-
blockFriends
Block one or more users by ID or username.
-
createGroup
Create a new group with the current user as the owner.
-
deleteFriends
Delete one or more users by ID or username.
-
deleteGroup
Delete a group by ID.
-
deleteLeaderboardRecord
Delete a leaderboard record.
-
deleteNotifications
Delete one or more notifications for the current user.
-
deleteStorageObjects
Delete one or more objects by ID or username.
-
event
Submit an event for processing in the server's registered runtime custom events handler.
-
getAccount
Fetch the current user's account.
-
getUsers
Fetch zero or more users by ID and/or username.
-
healthcheck
A healthcheck which load balancers can use to check the service.
-
importFacebookFriends
Import Facebook friends and add them to a user's account.
-
joinGroup
Immediately join an open group, or request to join a closed one.
-
joinTournament
Attempt to join an open and running tournament.
-
kickGroupUsers
Kick a set of users from a group.
-
leaveGroup
Leave a group the user is a member of.
-
linkApple
Add an Apple ID to the social profiles on the current user's account.
-
linkCustom
Add a custom ID to the social profiles on the current user's account.
-
linkDevice
Add a device ID to the social profiles on the current user's account.
-
linkEmail
Add an email+password to the social profiles on the current user's account.
-
linkFacebook
Add Facebook to the social profiles on the current user's account.
-
linkFacebookInstantGame
Add Facebook Instant Game to the social profiles on the current user's account.
-
linkGameCenter
Add Apple's GameCenter to the social profiles on the current user's account.
-
linkGoogle
Add Google to the social profiles on the current user's account.
-
linkSteam
Add Steam to the social profiles on the current user's account.
-
listChannelMessages
List a channel's message history.
-
listFriends
List all friends for the current user.
-
listGroups
List groups based on given filters.
-
listGroupUsers
List all users that are part of a group.
-
listLeaderboardRecords
List leaderboard records.
-
listLeaderboardRecordsAroundOwner
public LeaderboardRecordList listLeaderboardRecordsAroundOwner(ListLeaderboardRecordsAroundOwnerRequest request) List leaderboard records that belong to a user.
-
listMatches
Fetch list of running matches.
-
listNotifications
Fetch list of notifications.
-
listStorageObjects
List publicly readable storage objects in a given collection.
-
listTournaments
List current or upcoming tournaments.
-
listTournamentRecords
List tournament records.
-
listTournamentRecordsAroundOwner
public TournamentRecordList listTournamentRecordsAroundOwner(ListTournamentRecordsAroundOwnerRequest request) List tournament records for a given owner.
-
listUserGroups
List groups the current user belongs to.
-
promoteGroupUsers
Promote a set of users in a group to the next role up.
-
demoteGroupUsers
Demote a set of users in a group to the next role down.
-
readStorageObjects
Get storage objects.
-
rpcFunc
Execute a Lua function on the server.
-
unlinkApple
Remove the Apple ID from the social profiles on the current user's account.
-
unlinkCustom
Remove the custom ID from the social profiles on the current user's account.
-
unlinkDevice
Remove the device ID from the social profiles on the current user's account.
-
unlinkEmail
Remove the email+password from the social profiles on the current user's account.
-
unlinkFacebook
Remove Facebook from the social profiles on the current user's account.
-
unlinkFacebookInstantGame
Remove Facebook Instant Game profile from the social profiles on the current user's account.
-
unlinkGameCenter
Remove Apple's GameCenter from the social profiles on the current user's account.
-
unlinkGoogle
Remove Google from the social profiles on the current user's account.
-
unlinkSteam
Remove Steam from the social profiles on the current user's account.
-
updateAccount
Update fields in the current user's account.
-
updateGroup
Update fields in a given group.
-
writeLeaderboardRecord
Write a record to a leaderboard.
-
writeStorageObjects
Write objects into the storage engine.
-
writeTournamentRecord
Write a record to a tournament.
-