Class ClientSettings.Builder

    • Method Detail

      • getVisibleStatusValue

        public int getVisibleStatusValue()
        .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
        Specified by:
        getVisibleStatusValue in interface ClientSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for visibleStatus.
      • setVisibleStatusValue

        public ClientSettings.Builder setVisibleStatusValue​(int value)
        .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
        Parameters:
        value - The visibleStatus to set.
        Returns:
        This builder for chaining.
      • setVisibleStatus

        public ClientSettings.Builder setVisibleStatus​(VisibleStatus value)
        .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
        Parameters:
        value - The enum numeric value on the wire for visibleStatus to set.
        Returns:
        This builder for chaining.
      • clearVisibleStatus

        public ClientSettings.Builder clearVisibleStatus()
        .streamlayer.sdkSettings.client.VisibleStatus visible_status = 1 [json_name = "visibleStatus"];
        Returns:
        This builder for chaining.
      • getMessagesNotifyValue

        public int getMessagesNotifyValue()
        .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
        Specified by:
        getMessagesNotifyValue in interface ClientSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for messagesNotify.
      • setMessagesNotifyValue

        public ClientSettings.Builder setMessagesNotifyValue​(int value)
        .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
        Parameters:
        value - The messagesNotify to set.
        Returns:
        This builder for chaining.
      • setMessagesNotify

        public ClientSettings.Builder setMessagesNotify​(MessagesNotify value)
        .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
        Parameters:
        value - The enum numeric value on the wire for messagesNotify to set.
        Returns:
        This builder for chaining.
      • clearMessagesNotify

        public ClientSettings.Builder clearMessagesNotify()
        .streamlayer.sdkSettings.client.MessagesNotify messages_notify = 2 [json_name = "messagesNotify"];
        Returns:
        This builder for chaining.
      • getFriendsNotifyValue

        public int getFriendsNotifyValue()
        .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
        Specified by:
        getFriendsNotifyValue in interface ClientSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for friendsNotify.
      • setFriendsNotifyValue

        public ClientSettings.Builder setFriendsNotifyValue​(int value)
        .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
        Parameters:
        value - The friendsNotify to set.
        Returns:
        This builder for chaining.
      • setFriendsNotify

        public ClientSettings.Builder setFriendsNotify​(FriendsNotify value)
        .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
        Parameters:
        value - The enum numeric value on the wire for friendsNotify to set.
        Returns:
        This builder for chaining.
      • clearFriendsNotify

        public ClientSettings.Builder clearFriendsNotify()
        .streamlayer.sdkSettings.client.FriendsNotify friends_notify = 3 [json_name = "friendsNotify"];
        Returns:
        This builder for chaining.
      • getCallsSoundValue

        public int getCallsSoundValue()
        .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
        Specified by:
        getCallsSoundValue in interface ClientSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for callsSound.
      • setCallsSoundValue

        public ClientSettings.Builder setCallsSoundValue​(int value)
        .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
        Parameters:
        value - The callsSound to set.
        Returns:
        This builder for chaining.
      • getCallsSound

        public CallsSound getCallsSound()
        .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
        Specified by:
        getCallsSound in interface ClientSettingsOrBuilder
        Returns:
        The callsSound.
      • setCallsSound

        public ClientSettings.Builder setCallsSound​(CallsSound value)
        .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
        Parameters:
        value - The enum numeric value on the wire for callsSound to set.
        Returns:
        This builder for chaining.
      • clearCallsSound

        public ClientSettings.Builder clearCallsSound()
        .streamlayer.sdkSettings.client.CallsSound calls_sound = 4 [json_name = "callsSound"];
        Returns:
        This builder for chaining.
      • getMessagesSoundValue

        public int getMessagesSoundValue()
        .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
        Specified by:
        getMessagesSoundValue in interface ClientSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for messagesSound.
      • setMessagesSoundValue

        public ClientSettings.Builder setMessagesSoundValue​(int value)
        .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
        Parameters:
        value - The messagesSound to set.
        Returns:
        This builder for chaining.
      • setMessagesSound

        public ClientSettings.Builder setMessagesSound​(MessagesSound value)
        .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
        Parameters:
        value - The enum numeric value on the wire for messagesSound to set.
        Returns:
        This builder for chaining.
      • clearMessagesSound

        public ClientSettings.Builder clearMessagesSound()
        .streamlayer.sdkSettings.client.MessagesSound messages_sound = 5 [json_name = "messagesSound"];
        Returns:
        This builder for chaining.
      • getFriendsSoundValue

        public int getFriendsSoundValue()
        .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
        Specified by:
        getFriendsSoundValue in interface ClientSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for friendsSound.
      • setFriendsSoundValue

        public ClientSettings.Builder setFriendsSoundValue​(int value)
        .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
        Parameters:
        value - The friendsSound to set.
        Returns:
        This builder for chaining.
      • setFriendsSound

        public ClientSettings.Builder setFriendsSound​(FriendsSound value)
        .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
        Parameters:
        value - The enum numeric value on the wire for friendsSound to set.
        Returns:
        This builder for chaining.
      • clearFriendsSound

        public ClientSettings.Builder clearFriendsSound()
        .streamlayer.sdkSettings.client.FriendsSound friends_sound = 6 [json_name = "friendsSound"];
        Returns:
        This builder for chaining.
      • getTwitterNotifyValue

        public int getTwitterNotifyValue()
        .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
        Specified by:
        getTwitterNotifyValue in interface ClientSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for twitterNotify.
      • setTwitterNotifyValue

        public ClientSettings.Builder setTwitterNotifyValue​(int value)
        .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
        Parameters:
        value - The twitterNotify to set.
        Returns:
        This builder for chaining.
      • setTwitterNotify

        public ClientSettings.Builder setTwitterNotify​(TwitterNotify value)
        .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
        Parameters:
        value - The enum numeric value on the wire for twitterNotify to set.
        Returns:
        This builder for chaining.
      • clearTwitterNotify

        public ClientSettings.Builder clearTwitterNotify()
        .streamlayer.sdkSettings.client.TwitterNotify twitter_notify = 7 [json_name = "twitterNotify"];
        Returns:
        This builder for chaining.
      • getTwitterSoundValue

        public int getTwitterSoundValue()
        .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
        Specified by:
        getTwitterSoundValue in interface ClientSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for twitterSound.
      • setTwitterSoundValue

        public ClientSettings.Builder setTwitterSoundValue​(int value)
        .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
        Parameters:
        value - The twitterSound to set.
        Returns:
        This builder for chaining.
      • setTwitterSound

        public ClientSettings.Builder setTwitterSound​(TwitterSound value)
        .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
        Parameters:
        value - The enum numeric value on the wire for twitterSound to set.
        Returns:
        This builder for chaining.
      • clearTwitterSound

        public ClientSettings.Builder clearTwitterSound()
        .streamlayer.sdkSettings.client.TwitterSound twitter_sound = 8 [json_name = "twitterSound"];
        Returns:
        This builder for chaining.
      • hasGamification

        public boolean hasGamification()
        .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
        Specified by:
        hasGamification in interface ClientSettingsOrBuilder
        Returns:
        Whether the gamification field is set.
      • clearGamification

        public ClientSettings.Builder clearGamification()
        .streamlayer.sdkSettings.client.ClientSettingsNotifications gamification = 9 [json_name = "gamification"];
      • hasWatchPartyInvitation

        public boolean hasWatchPartyInvitation()
        .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
        Specified by:
        hasWatchPartyInvitation in interface ClientSettingsOrBuilder
        Returns:
        Whether the watchPartyInvitation field is set.
      • setWatchPartyInvitation

        public ClientSettings.Builder setWatchPartyInvitation​(ClientSettingsNotifications value)
        .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
      • mergeWatchPartyInvitation

        public ClientSettings.Builder mergeWatchPartyInvitation​(ClientSettingsNotifications value)
        .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
      • clearWatchPartyInvitation

        public ClientSettings.Builder clearWatchPartyInvitation()
        .streamlayer.sdkSettings.client.ClientSettingsNotifications watch_party_invitation = 10 [json_name = "watchPartyInvitation"];
      • hasTwitterQuestion

        public boolean hasTwitterQuestion()
        .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];
        Specified by:
        hasTwitterQuestion in interface ClientSettingsOrBuilder
        Returns:
        Whether the twitterQuestion field is set.
      • clearTwitterQuestion

        public ClientSettings.Builder clearTwitterQuestion()
        .streamlayer.sdkSettings.client.ClientSettingsNotifications twitter_question = 11 [json_name = "twitterQuestion"];