Package com.streamlayer.users
Class UserMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<UserMetadata,UserMetadata.Builder>
-
- com.streamlayer.users.UserMetadata
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,UserMetadataOrBuilder
public final class UserMetadata extends com.google.protobuf.GeneratedMessageLite<UserMetadata,UserMetadata.Builder> implements UserMetadataOrBuilder
Protobuf typestreamlayer.users.UserMetadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserMetadata.BuilderProtobuf typestreamlayer.users.UserMetadata-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_FIELD_NUMBERstatic intAUDIENCE_TAGS_FIELD_NUMBERstatic intAVATAR_BACKGROUND_COLOUR_FIELD_NUMBERstatic intAVATAR_FIELD_NUMBERstatic intFIRST_NAME_FIELD_NUMBERstatic intLAST_NAME_FIELD_NUMBERstatic intNOTIFICATION_PREFERENCE_FIELD_NUMBERstatic intROLES_FIELD_NUMBERstatic intTIMEZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)booleangetActive()bool active = 6 [json_name = "active"];java.lang.StringgetAudienceTags(int index)repeated string audience_tags = 10 [json_name = "audienceTags"];com.google.protobuf.ByteStringgetAudienceTagsBytes(int index)repeated string audience_tags = 10 [json_name = "audienceTags"];intgetAudienceTagsCount()repeated string audience_tags = 10 [json_name = "audienceTags"];java.util.List<java.lang.String>getAudienceTagsList()repeated string audience_tags = 10 [json_name = "audienceTags"];java.lang.StringgetAvatar()string avatar = 2 [json_name = "avatar"];java.lang.StringgetAvatarBackgroundColour()string avatar_background_colour = 3 [json_name = "avatarBackgroundColour"];com.google.protobuf.ByteStringgetAvatarBackgroundColourBytes()string avatar_background_colour = 3 [json_name = "avatarBackgroundColour"];com.google.protobuf.ByteStringgetAvatarBytes()string avatar = 2 [json_name = "avatar"];static UserMetadatagetDefaultInstance()java.lang.StringgetFirstName()string first_name = 7 [json_name = "firstName"];com.google.protobuf.ByteStringgetFirstNameBytes()string first_name = 7 [json_name = "firstName"];java.lang.StringgetLastName()string last_name = 8 [json_name = "lastName"];com.google.protobuf.ByteStringgetLastNameBytes()string last_name = 8 [json_name = "lastName"];UserNotificationPreferencegetNotificationPreference().streamlayer.users.UserNotificationPreference notification_preference = 5 [json_name = "notificationPreference"];intgetNotificationPreferenceValue().streamlayer.users.UserNotificationPreference notification_preference = 5 [json_name = "notificationPreference"];java.lang.StringgetRoles(int index)repeated string roles = 9 [json_name = "roles"];com.google.protobuf.ByteStringgetRolesBytes(int index)repeated string roles = 9 [json_name = "roles"];intgetRolesCount()repeated string roles = 9 [json_name = "roles"];java.util.List<java.lang.String>getRolesList()repeated string roles = 9 [json_name = "roles"];java.lang.StringgetTimezone()string timezone = 4 [json_name = "timezone"];com.google.protobuf.ByteStringgetTimezoneBytes()string timezone = 4 [json_name = "timezone"];static UserMetadata.BuildernewBuilder()static UserMetadata.BuildernewBuilder(UserMetadata prototype)static UserMetadataparseDelimitedFrom(java.io.InputStream input)static UserMetadataparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UserMetadataparseFrom(byte[] data)static UserMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UserMetadataparseFrom(com.google.protobuf.ByteString data)static UserMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UserMetadataparseFrom(com.google.protobuf.CodedInputStream input)static UserMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UserMetadataparseFrom(java.io.InputStream input)static UserMetadataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UserMetadataparseFrom(java.nio.ByteBuffer data)static UserMetadataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UserMetadata>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
AVATAR_FIELD_NUMBER
public static final int AVATAR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVATAR_BACKGROUND_COLOUR_FIELD_NUMBER
public static final int AVATAR_BACKGROUND_COLOUR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEZONE_FIELD_NUMBER
public static final int TIMEZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATION_PREFERENCE_FIELD_NUMBER
public static final int NOTIFICATION_PREFERENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVE_FIELD_NUMBER
public static final int ACTIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIRST_NAME_FIELD_NUMBER
public static final int FIRST_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_NAME_FIELD_NUMBER
public static final int LAST_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLES_FIELD_NUMBER
public static final int ROLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUDIENCE_TAGS_FIELD_NUMBER
public static final int AUDIENCE_TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAvatar
public java.lang.String getAvatar()
string avatar = 2 [json_name = "avatar"];- Specified by:
getAvatarin interfaceUserMetadataOrBuilder- Returns:
- The avatar.
-
getAvatarBytes
public com.google.protobuf.ByteString getAvatarBytes()
string avatar = 2 [json_name = "avatar"];- Specified by:
getAvatarBytesin interfaceUserMetadataOrBuilder- Returns:
- The bytes for avatar.
-
getAvatarBackgroundColour
public java.lang.String getAvatarBackgroundColour()
string avatar_background_colour = 3 [json_name = "avatarBackgroundColour"];- Specified by:
getAvatarBackgroundColourin interfaceUserMetadataOrBuilder- Returns:
- The avatarBackgroundColour.
-
getAvatarBackgroundColourBytes
public com.google.protobuf.ByteString getAvatarBackgroundColourBytes()
string avatar_background_colour = 3 [json_name = "avatarBackgroundColour"];- Specified by:
getAvatarBackgroundColourBytesin interfaceUserMetadataOrBuilder- Returns:
- The bytes for avatarBackgroundColour.
-
getTimezone
public java.lang.String getTimezone()
string timezone = 4 [json_name = "timezone"];- Specified by:
getTimezonein interfaceUserMetadataOrBuilder- Returns:
- The timezone.
-
getTimezoneBytes
public com.google.protobuf.ByteString getTimezoneBytes()
string timezone = 4 [json_name = "timezone"];- Specified by:
getTimezoneBytesin interfaceUserMetadataOrBuilder- Returns:
- The bytes for timezone.
-
getNotificationPreferenceValue
public int getNotificationPreferenceValue()
.streamlayer.users.UserNotificationPreference notification_preference = 5 [json_name = "notificationPreference"];- Specified by:
getNotificationPreferenceValuein interfaceUserMetadataOrBuilder- Returns:
- The enum numeric value on the wire for notificationPreference.
-
getNotificationPreference
public UserNotificationPreference getNotificationPreference()
.streamlayer.users.UserNotificationPreference notification_preference = 5 [json_name = "notificationPreference"];- Specified by:
getNotificationPreferencein interfaceUserMetadataOrBuilder- Returns:
- The notificationPreference.
-
getActive
public boolean getActive()
bool active = 6 [json_name = "active"];- Specified by:
getActivein interfaceUserMetadataOrBuilder- Returns:
- The active.
-
getFirstName
public java.lang.String getFirstName()
string first_name = 7 [json_name = "firstName"];- Specified by:
getFirstNamein interfaceUserMetadataOrBuilder- Returns:
- The firstName.
-
getFirstNameBytes
public com.google.protobuf.ByteString getFirstNameBytes()
string first_name = 7 [json_name = "firstName"];- Specified by:
getFirstNameBytesin interfaceUserMetadataOrBuilder- Returns:
- The bytes for firstName.
-
getLastName
public java.lang.String getLastName()
string last_name = 8 [json_name = "lastName"];- Specified by:
getLastNamein interfaceUserMetadataOrBuilder- Returns:
- The lastName.
-
getLastNameBytes
public com.google.protobuf.ByteString getLastNameBytes()
string last_name = 8 [json_name = "lastName"];- Specified by:
getLastNameBytesin interfaceUserMetadataOrBuilder- Returns:
- The bytes for lastName.
-
getRolesList
public java.util.List<java.lang.String> getRolesList()
repeated string roles = 9 [json_name = "roles"];- Specified by:
getRolesListin interfaceUserMetadataOrBuilder- Returns:
- A list containing the roles.
-
getRolesCount
public int getRolesCount()
repeated string roles = 9 [json_name = "roles"];- Specified by:
getRolesCountin interfaceUserMetadataOrBuilder- Returns:
- The count of roles.
-
getRoles
public java.lang.String getRoles(int index)
repeated string roles = 9 [json_name = "roles"];- Specified by:
getRolesin interfaceUserMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
public com.google.protobuf.ByteString getRolesBytes(int index)
repeated string roles = 9 [json_name = "roles"];- Specified by:
getRolesBytesin interfaceUserMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
getAudienceTagsList
public java.util.List<java.lang.String> getAudienceTagsList()
repeated string audience_tags = 10 [json_name = "audienceTags"];- Specified by:
getAudienceTagsListin interfaceUserMetadataOrBuilder- Returns:
- A list containing the audienceTags.
-
getAudienceTagsCount
public int getAudienceTagsCount()
repeated string audience_tags = 10 [json_name = "audienceTags"];- Specified by:
getAudienceTagsCountin interfaceUserMetadataOrBuilder- Returns:
- The count of audienceTags.
-
getAudienceTags
public java.lang.String getAudienceTags(int index)
repeated string audience_tags = 10 [json_name = "audienceTags"];- Specified by:
getAudienceTagsin interfaceUserMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The audienceTags at the given index.
-
getAudienceTagsBytes
public com.google.protobuf.ByteString getAudienceTagsBytes(int index)
repeated string audience_tags = 10 [json_name = "audienceTags"];- Specified by:
getAudienceTagsBytesin interfaceUserMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the audienceTags at the given index.
-
parseFrom
public static UserMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserMetadata parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UserMetadata parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static UserMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static UserMetadata parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UserMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UserMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static UserMetadata.Builder newBuilder()
-
newBuilder
public static UserMetadata.Builder newBuilder(UserMetadata prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<UserMetadata,UserMetadata.Builder>
-
getDefaultInstance
public static UserMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UserMetadata> parser()
-
-