Package com.streamlayer.users.common
Interface UserMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
UserMetadata,UserMetadata.Builder
public interface UserMetadataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetActive()bool active = 6;java.lang.StringgetAvatar()string avatar = 2;java.lang.StringgetAvatarBackgroundColour()string avatar_background_colour = 3;com.google.protobuf.ByteStringgetAvatarBackgroundColourBytes()string avatar_background_colour = 3;com.google.protobuf.ByteStringgetAvatarBytes()string avatar = 2;java.lang.StringgetFirstName()string first_name = 7;com.google.protobuf.ByteStringgetFirstNameBytes()string first_name = 7;java.lang.StringgetLastName()string last_name = 8;com.google.protobuf.ByteStringgetLastNameBytes()string last_name = 8;UserNotificationPreferencegetNotificationPreference().streamlayer.users.UserNotificationPreference notification_preference = 5;intgetNotificationPreferenceValue().streamlayer.users.UserNotificationPreference notification_preference = 5;java.lang.StringgetRoles(int index)repeated string roles = 9;com.google.protobuf.ByteStringgetRolesBytes(int index)repeated string roles = 9;intgetRolesCount()repeated string roles = 9;java.util.List<java.lang.String>getRolesList()repeated string roles = 9;java.lang.StringgetTimezone()string timezone = 4;com.google.protobuf.ByteStringgetTimezoneBytes()string timezone = 4;
-
-
-
Method Detail
-
getAvatar
java.lang.String getAvatar()
string avatar = 2;- Returns:
- The avatar.
-
getAvatarBytes
com.google.protobuf.ByteString getAvatarBytes()
string avatar = 2;- Returns:
- The bytes for avatar.
-
getAvatarBackgroundColour
java.lang.String getAvatarBackgroundColour()
string avatar_background_colour = 3;- Returns:
- The avatarBackgroundColour.
-
getAvatarBackgroundColourBytes
com.google.protobuf.ByteString getAvatarBackgroundColourBytes()
string avatar_background_colour = 3;- Returns:
- The bytes for avatarBackgroundColour.
-
getTimezone
java.lang.String getTimezone()
string timezone = 4;- Returns:
- The timezone.
-
getTimezoneBytes
com.google.protobuf.ByteString getTimezoneBytes()
string timezone = 4;- Returns:
- The bytes for timezone.
-
getNotificationPreferenceValue
int getNotificationPreferenceValue()
.streamlayer.users.UserNotificationPreference notification_preference = 5;- Returns:
- The enum numeric value on the wire for notificationPreference.
-
getNotificationPreference
UserNotificationPreference getNotificationPreference()
.streamlayer.users.UserNotificationPreference notification_preference = 5;- Returns:
- The notificationPreference.
-
getActive
boolean getActive()
bool active = 6;- Returns:
- The active.
-
getFirstName
java.lang.String getFirstName()
string first_name = 7;- Returns:
- The firstName.
-
getFirstNameBytes
com.google.protobuf.ByteString getFirstNameBytes()
string first_name = 7;- Returns:
- The bytes for firstName.
-
getLastName
java.lang.String getLastName()
string last_name = 8;- Returns:
- The lastName.
-
getLastNameBytes
com.google.protobuf.ByteString getLastNameBytes()
string last_name = 8;- Returns:
- The bytes for lastName.
-
getRolesList
java.util.List<java.lang.String> getRolesList()
repeated string roles = 9;- Returns:
- A list containing the roles.
-
getRolesCount
int getRolesCount()
repeated string roles = 9;- Returns:
- The count of roles.
-
getRoles
java.lang.String getRoles(int index)
repeated string roles = 9;- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
com.google.protobuf.ByteString getRolesBytes(int index)
repeated string roles = 9;- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
-