Class UserMetadata

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UserMetadata.Builder
      Protobuf type streamlayer.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      boolean getActive()
      bool active = 6 [json_name = "active"];
      java.lang.String getAudienceTags​(int index)
      repeated string audience_tags = 10 [json_name = "audienceTags"];
      com.google.protobuf.ByteString getAudienceTagsBytes​(int index)
      repeated string audience_tags = 10 [json_name = "audienceTags"];
      int getAudienceTagsCount()
      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.String getAvatar()
      string avatar = 2 [json_name = "avatar"];
      java.lang.String getAvatarBackgroundColour()
      string avatar_background_colour = 3 [json_name = "avatarBackgroundColour"];
      com.google.protobuf.ByteString getAvatarBackgroundColourBytes()
      string avatar_background_colour = 3 [json_name = "avatarBackgroundColour"];
      com.google.protobuf.ByteString getAvatarBytes()
      string avatar = 2 [json_name = "avatar"];
      static UserMetadata getDefaultInstance()  
      java.lang.String getFirstName()
      string first_name = 7 [json_name = "firstName"];
      com.google.protobuf.ByteString getFirstNameBytes()
      string first_name = 7 [json_name = "firstName"];
      java.lang.String getLastName()
      string last_name = 8 [json_name = "lastName"];
      com.google.protobuf.ByteString getLastNameBytes()
      string last_name = 8 [json_name = "lastName"];
      UserNotificationPreference getNotificationPreference()
      .streamlayer.users.UserNotificationPreference notification_preference = 5 [json_name = "notificationPreference"];
      int getNotificationPreferenceValue()
      .streamlayer.users.UserNotificationPreference notification_preference = 5 [json_name = "notificationPreference"];
      java.lang.String getRoles​(int index)
      repeated string roles = 9 [json_name = "roles"];
      com.google.protobuf.ByteString getRolesBytes​(int index)
      repeated string roles = 9 [json_name = "roles"];
      int getRolesCount()
      repeated string roles = 9 [json_name = "roles"];
      java.util.List<java.lang.String> getRolesList()
      repeated string roles = 9 [json_name = "roles"];
      java.lang.String getTimezone()
      string timezone = 4 [json_name = "timezone"];
      com.google.protobuf.ByteString getTimezoneBytes()
      string timezone = 4 [json_name = "timezone"];
      static UserMetadata.Builder newBuilder()  
      static UserMetadata.Builder newBuilder​(UserMetadata prototype)  
      static UserMetadata parseDelimitedFrom​(java.io.InputStream input)  
      static UserMetadata parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UserMetadata parseFrom​(byte[] data)  
      static UserMetadata parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UserMetadata parseFrom​(com.google.protobuf.ByteString data)  
      static UserMetadata parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UserMetadata parseFrom​(com.google.protobuf.CodedInputStream input)  
      static UserMetadata parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UserMetadata parseFrom​(java.io.InputStream input)  
      static UserMetadata parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UserMetadata parseFrom​(java.nio.ByteBuffer data)  
      static UserMetadata parseFrom​(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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getAvatar

        public java.lang.String getAvatar()
        string avatar = 2 [json_name = "avatar"];
        Specified by:
        getAvatar in interface UserMetadataOrBuilder
        Returns:
        The avatar.
      • getAvatarBytes

        public com.google.protobuf.ByteString getAvatarBytes()
        string avatar = 2 [json_name = "avatar"];
        Specified by:
        getAvatarBytes in interface UserMetadataOrBuilder
        Returns:
        The bytes for avatar.
      • getAvatarBackgroundColour

        public java.lang.String getAvatarBackgroundColour()
        string avatar_background_colour = 3 [json_name = "avatarBackgroundColour"];
        Specified by:
        getAvatarBackgroundColour in interface UserMetadataOrBuilder
        Returns:
        The avatarBackgroundColour.
      • getAvatarBackgroundColourBytes

        public com.google.protobuf.ByteString getAvatarBackgroundColourBytes()
        string avatar_background_colour = 3 [json_name = "avatarBackgroundColour"];
        Specified by:
        getAvatarBackgroundColourBytes in interface UserMetadataOrBuilder
        Returns:
        The bytes for avatarBackgroundColour.
      • getTimezone

        public java.lang.String getTimezone()
        string timezone = 4 [json_name = "timezone"];
        Specified by:
        getTimezone in interface UserMetadataOrBuilder
        Returns:
        The timezone.
      • getTimezoneBytes

        public com.google.protobuf.ByteString getTimezoneBytes()
        string timezone = 4 [json_name = "timezone"];
        Specified by:
        getTimezoneBytes in interface UserMetadataOrBuilder
        Returns:
        The bytes for timezone.
      • getNotificationPreferenceValue

        public int getNotificationPreferenceValue()
        .streamlayer.users.UserNotificationPreference notification_preference = 5 [json_name = "notificationPreference"];
        Specified by:
        getNotificationPreferenceValue in interface UserMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for notificationPreference.
      • getActive

        public boolean getActive()
        bool active = 6 [json_name = "active"];
        Specified by:
        getActive in interface UserMetadataOrBuilder
        Returns:
        The active.
      • getFirstName

        public java.lang.String getFirstName()
        string first_name = 7 [json_name = "firstName"];
        Specified by:
        getFirstName in interface UserMetadataOrBuilder
        Returns:
        The firstName.
      • getFirstNameBytes

        public com.google.protobuf.ByteString getFirstNameBytes()
        string first_name = 7 [json_name = "firstName"];
        Specified by:
        getFirstNameBytes in interface UserMetadataOrBuilder
        Returns:
        The bytes for firstName.
      • getLastName

        public java.lang.String getLastName()
        string last_name = 8 [json_name = "lastName"];
        Specified by:
        getLastName in interface UserMetadataOrBuilder
        Returns:
        The lastName.
      • getLastNameBytes

        public com.google.protobuf.ByteString getLastNameBytes()
        string last_name = 8 [json_name = "lastName"];
        Specified by:
        getLastNameBytes in interface UserMetadataOrBuilder
        Returns:
        The bytes for lastName.
      • getRolesList

        public java.util.List<java.lang.String> getRolesList()
        repeated string roles = 9 [json_name = "roles"];
        Specified by:
        getRolesList in interface UserMetadataOrBuilder
        Returns:
        A list containing the roles.
      • getRolesCount

        public int getRolesCount()
        repeated string roles = 9 [json_name = "roles"];
        Specified by:
        getRolesCount in interface UserMetadataOrBuilder
        Returns:
        The count of roles.
      • getRoles

        public java.lang.String getRoles​(int index)
        repeated string roles = 9 [json_name = "roles"];
        Specified by:
        getRoles in interface UserMetadataOrBuilder
        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:
        getRolesBytes in interface UserMetadataOrBuilder
        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:
        getAudienceTagsList in interface UserMetadataOrBuilder
        Returns:
        A list containing the audienceTags.
      • getAudienceTagsCount

        public int getAudienceTagsCount()
        repeated string audience_tags = 10 [json_name = "audienceTags"];
        Specified by:
        getAudienceTagsCount in interface UserMetadataOrBuilder
        Returns:
        The count of audienceTags.
      • getAudienceTags

        public java.lang.String getAudienceTags​(int index)
        repeated string audience_tags = 10 [json_name = "audienceTags"];
        Specified by:
        getAudienceTags in interface UserMetadataOrBuilder
        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:
        getAudienceTagsBytes in interface UserMetadataOrBuilder
        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
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<UserMetadata,​UserMetadata.Builder>
      • getDefaultInstance

        public static UserMetadata getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<UserMetadata> parser()