Package com.heroiclabs.nakama.api
Interface UserOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
User
,User.Builder
public interface UserOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Apple Sign In ID in the user's account.com.google.protobuf.ByteString
The Apple Sign In ID in the user's account.A URL for an avatar image.com.google.protobuf.ByteString
A URL for an avatar image.The UNIX time when the user was created.The UNIX time when the user was created.The display name of the user.com.google.protobuf.ByteString
The display name of the user.int
Number of related edges to this user.The Facebook id in the user's account.com.google.protobuf.ByteString
The Facebook id in the user's account.The Facebook Instant Game ID in the user's account.com.google.protobuf.ByteString
The Facebook Instant Game ID in the user's account.The Apple Game Center in of the user's account.com.google.protobuf.ByteString
The Apple Game Center in of the user's account.The Google id in the user's account.com.google.protobuf.ByteString
The Google id in the user's account.getId()
The id of the user's account.com.google.protobuf.ByteString
The id of the user's account.The language expected to be a tag which follows the BCP-47 spec.com.google.protobuf.ByteString
The language expected to be a tag which follows the BCP-47 spec.The location set by the user.com.google.protobuf.ByteString
The location set by the user.Additional information stored as a JSON object.com.google.protobuf.ByteString
Additional information stored as a JSON object.boolean
Indicates whether the user is currently online.The Steam id in the user's account.com.google.protobuf.ByteString
The Steam id in the user's account.The timezone set by the user.com.google.protobuf.ByteString
The timezone set by the user.The UNIX time when the user was last updated.The UNIX time when the user was last updated.The username of the user's account.com.google.protobuf.ByteString
The username of the user's account.boolean
The UNIX time when the user was created.boolean
The UNIX time when the user was last updated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()The id of the user's account.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The id of the user's account.
string id = 1;
- Returns:
- The bytes for id.
-
getUsername
String getUsername()The username of the user's account.
string username = 2;
- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()The username of the user's account.
string username = 2;
- Returns:
- The bytes for username.
-
getDisplayName
String getDisplayName()The display name of the user.
string display_name = 3;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()The display name of the user.
string display_name = 3;
- Returns:
- The bytes for displayName.
-
getAvatarUrl
String getAvatarUrl()A URL for an avatar image.
string avatar_url = 4;
- Returns:
- The avatarUrl.
-
getAvatarUrlBytes
com.google.protobuf.ByteString getAvatarUrlBytes()A URL for an avatar image.
string avatar_url = 4;
- Returns:
- The bytes for avatarUrl.
-
getLangTag
String getLangTag()The language expected to be a tag which follows the BCP-47 spec.
string lang_tag = 5;
- Returns:
- The langTag.
-
getLangTagBytes
com.google.protobuf.ByteString getLangTagBytes()The language expected to be a tag which follows the BCP-47 spec.
string lang_tag = 5;
- Returns:
- The bytes for langTag.
-
getLocation
String getLocation()The location set by the user.
string location = 6;
- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()The location set by the user.
string location = 6;
- Returns:
- The bytes for location.
-
getTimezone
String getTimezone()The timezone set by the user.
string timezone = 7;
- Returns:
- The timezone.
-
getTimezoneBytes
com.google.protobuf.ByteString getTimezoneBytes()The timezone set by the user.
string timezone = 7;
- Returns:
- The bytes for timezone.
-
getMetadata
String getMetadata()Additional information stored as a JSON object.
string metadata = 8;
- Returns:
- The metadata.
-
getMetadataBytes
com.google.protobuf.ByteString getMetadataBytes()Additional information stored as a JSON object.
string metadata = 8;
- Returns:
- The bytes for metadata.
-
getFacebookId
String getFacebookId()The Facebook id in the user's account.
string facebook_id = 9;
- Returns:
- The facebookId.
-
getFacebookIdBytes
com.google.protobuf.ByteString getFacebookIdBytes()The Facebook id in the user's account.
string facebook_id = 9;
- Returns:
- The bytes for facebookId.
-
getGoogleId
String getGoogleId()The Google id in the user's account.
string google_id = 10;
- Returns:
- The googleId.
-
getGoogleIdBytes
com.google.protobuf.ByteString getGoogleIdBytes()The Google id in the user's account.
string google_id = 10;
- Returns:
- The bytes for googleId.
-
getGamecenterId
String getGamecenterId()The Apple Game Center in of the user's account.
string gamecenter_id = 11;
- Returns:
- The gamecenterId.
-
getGamecenterIdBytes
com.google.protobuf.ByteString getGamecenterIdBytes()The Apple Game Center in of the user's account.
string gamecenter_id = 11;
- Returns:
- The bytes for gamecenterId.
-
getSteamId
String getSteamId()The Steam id in the user's account.
string steam_id = 12;
- Returns:
- The steamId.
-
getSteamIdBytes
com.google.protobuf.ByteString getSteamIdBytes()The Steam id in the user's account.
string steam_id = 12;
- Returns:
- The bytes for steamId.
-
getOnline
boolean getOnline()Indicates whether the user is currently online.
bool online = 13;
- Returns:
- The online.
-
getEdgeCount
int getEdgeCount()Number of related edges to this user.
int32 edge_count = 14;
- Returns:
- The edgeCount.
-
hasCreateTime
boolean hasCreateTime()The UNIX time when the user was created.
.google.protobuf.Timestamp create_time = 15;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
Timestamp getCreateTime()The UNIX time when the user was created.
.google.protobuf.Timestamp create_time = 15;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
TimestampOrBuilder getCreateTimeOrBuilder()The UNIX time when the user was created.
.google.protobuf.Timestamp create_time = 15;
-
hasUpdateTime
boolean hasUpdateTime()The UNIX time when the user was last updated.
.google.protobuf.Timestamp update_time = 16;
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
Timestamp getUpdateTime()The UNIX time when the user was last updated.
.google.protobuf.Timestamp update_time = 16;
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
TimestampOrBuilder getUpdateTimeOrBuilder()The UNIX time when the user was last updated.
.google.protobuf.Timestamp update_time = 16;
-
getFacebookInstantGameId
String getFacebookInstantGameId()The Facebook Instant Game ID in the user's account.
string facebook_instant_game_id = 17;
- Returns:
- The facebookInstantGameId.
-
getFacebookInstantGameIdBytes
com.google.protobuf.ByteString getFacebookInstantGameIdBytes()The Facebook Instant Game ID in the user's account.
string facebook_instant_game_id = 17;
- Returns:
- The bytes for facebookInstantGameId.
-
getAppleId
String getAppleId()The Apple Sign In ID in the user's account.
string apple_id = 18;
- Returns:
- The appleId.
-
getAppleIdBytes
com.google.protobuf.ByteString getAppleIdBytes()The Apple Sign In ID in the user's account.
string apple_id = 18;
- Returns:
- The bytes for appleId.
-