Class TotalNotificationsRequest.TotalRequestFilter.Builder

    • Method Detail

      • getEventIds

        public long getEventIds​(int index)
         sports event ids
         
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Specified by:
        getEventIds in interface TotalNotificationsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The eventIds at the given index.
      • setEventIds

        public TotalNotificationsRequest.TotalRequestFilter.Builder setEventIds​(int index,
                                                                                long value)
         sports event ids
         
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Parameters:
        value - The eventIds to set.
        Returns:
        This builder for chaining.
      • addAllEventIds

        public TotalNotificationsRequest.TotalRequestFilter.Builder addAllEventIds​(java.lang.Iterable<? extends java.lang.Long> values)
         sports event ids
         
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Parameters:
        values - The eventIds to add.
        Returns:
        This builder for chaining.
      • setCategories

        public TotalNotificationsRequest.TotalRequestFilter.Builder setCategories​(int index,
                                                                                  Category value)
         categories
         
        repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];
        Parameters:
        index - The index to set the value at.
        value - The categories to set.
        Returns:
        This builder for chaining.
      • addAllCategories

        public TotalNotificationsRequest.TotalRequestFilter.Builder addAllCategories​(java.lang.Iterable<? extends Category> values)
         categories
         
        repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];
        Parameters:
        values - The categories to add.
        Returns:
        This builder for chaining.
      • getCategoriesValueList

        public java.util.List<java.lang.Integer> getCategoriesValueList()
         categories
         
        repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];
        Specified by:
        getCategoriesValueList in interface TotalNotificationsRequest.TotalRequestFilterOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for categories.
      • getCategoriesValue

        public int getCategoriesValue​(int index)
         categories
         
        repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];
        Specified by:
        getCategoriesValue in interface TotalNotificationsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of categories at the given index.
      • setCategoriesValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder setCategoriesValue​(int index,
                                                                                       int value)
         categories
         
        repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for categories to set.
        Returns:
        This builder for chaining.
      • addCategoriesValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder addCategoriesValue​(int value)
         categories
         
        repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];
        Parameters:
        value - The enum numeric value on the wire for categories to add.
        Returns:
        This builder for chaining.
      • addAllCategoriesValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder addAllCategoriesValue​(java.lang.Iterable<java.lang.Integer> values)
         categories
         
        repeated .streamlayer.analytics.v1.common.Category categories = 3 [json_name = "categories"];
        Parameters:
        values - The enum numeric values on the wire for categories to add.
        Returns:
        This builder for chaining.
      • setNotificationKinds

        public TotalNotificationsRequest.TotalRequestFilter.Builder setNotificationKinds​(int index,
                                                                                         NotificationKind value)
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Parameters:
        index - The index to set the value at.
        value - The notificationKinds to set.
        Returns:
        This builder for chaining.
      • addNotificationKinds

        public TotalNotificationsRequest.TotalRequestFilter.Builder addNotificationKinds​(NotificationKind value)
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Parameters:
        value - The notificationKinds to add.
        Returns:
        This builder for chaining.
      • addAllNotificationKinds

        public TotalNotificationsRequest.TotalRequestFilter.Builder addAllNotificationKinds​(java.lang.Iterable<? extends NotificationKind> values)
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Parameters:
        values - The notificationKinds to add.
        Returns:
        This builder for chaining.
      • clearNotificationKinds

        public TotalNotificationsRequest.TotalRequestFilter.Builder clearNotificationKinds()
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Returns:
        This builder for chaining.
      • getNotificationKindsValueList

        public java.util.List<java.lang.Integer> getNotificationKindsValueList()
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Specified by:
        getNotificationKindsValueList in interface TotalNotificationsRequest.TotalRequestFilterOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for notificationKinds.
      • getNotificationKindsValue

        public int getNotificationKindsValue​(int index)
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Specified by:
        getNotificationKindsValue in interface TotalNotificationsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of notificationKinds at the given index.
      • setNotificationKindsValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder setNotificationKindsValue​(int index,
                                                                                              int value)
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for notificationKinds to set.
        Returns:
        This builder for chaining.
      • addNotificationKindsValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder addNotificationKindsValue​(int value)
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Parameters:
        value - The enum numeric value on the wire for notificationKinds to add.
        Returns:
        This builder for chaining.
      • addAllNotificationKindsValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder addAllNotificationKindsValue​(java.lang.Iterable<java.lang.Integer> values)
         notification kind
         
        repeated .streamlayer.analytics.v1.notifications.NotificationKind notification_kinds = 4 [json_name = "notificationKinds"];
        Parameters:
        values - The enum numeric values on the wire for notificationKinds to add.
        Returns:
        This builder for chaining.
      • setNotificationTypes

        public TotalNotificationsRequest.TotalRequestFilter.Builder setNotificationTypes​(int index,
                                                                                         NotificationType value)
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Parameters:
        index - The index to set the value at.
        value - The notificationTypes to set.
        Returns:
        This builder for chaining.
      • addNotificationTypes

        public TotalNotificationsRequest.TotalRequestFilter.Builder addNotificationTypes​(NotificationType value)
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Parameters:
        value - The notificationTypes to add.
        Returns:
        This builder for chaining.
      • addAllNotificationTypes

        public TotalNotificationsRequest.TotalRequestFilter.Builder addAllNotificationTypes​(java.lang.Iterable<? extends NotificationType> values)
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Parameters:
        values - The notificationTypes to add.
        Returns:
        This builder for chaining.
      • clearNotificationTypes

        public TotalNotificationsRequest.TotalRequestFilter.Builder clearNotificationTypes()
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Returns:
        This builder for chaining.
      • getNotificationTypesValueList

        public java.util.List<java.lang.Integer> getNotificationTypesValueList()
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Specified by:
        getNotificationTypesValueList in interface TotalNotificationsRequest.TotalRequestFilterOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for notificationTypes.
      • getNotificationTypesValue

        public int getNotificationTypesValue​(int index)
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Specified by:
        getNotificationTypesValue in interface TotalNotificationsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of notificationTypes at the given index.
      • setNotificationTypesValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder setNotificationTypesValue​(int index,
                                                                                              int value)
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for notificationTypes to set.
        Returns:
        This builder for chaining.
      • addNotificationTypesValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder addNotificationTypesValue​(int value)
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Parameters:
        value - The enum numeric value on the wire for notificationTypes to add.
        Returns:
        This builder for chaining.
      • addAllNotificationTypesValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder addAllNotificationTypesValue​(java.lang.Iterable<java.lang.Integer> values)
         notification types
         
        repeated .streamlayer.analytics.v1.notifications.NotificationType notification_types = 5 [json_name = "notificationTypes"];
        Parameters:
        values - The enum numeric values on the wire for notificationTypes to add.
        Returns:
        This builder for chaining.
      • setKindValue

        public TotalNotificationsRequest.TotalRequestFilter.Builder setKindValue​(int value)
         kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
         
        .streamlayer.analytics.v1.common.Kind kind = 6 [json_name = "kind"];
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • setKind

        public TotalNotificationsRequest.TotalRequestFilter.Builder setKind​(Kind value)
         kind: KIND_NOTIFICATION_RECEIVED, KIND_NOTIFICATION_OPENED
         
        .streamlayer.analytics.v1.common.Kind kind = 6 [json_name = "kind"];
        Parameters:
        value - The enum numeric value on the wire for kind to set.
        Returns:
        This builder for chaining.
      • setCountUnique

        public TotalNotificationsRequest.TotalRequestFilter.Builder setCountUnique​(boolean value)
         for counting statistics, unique by device id
         
        bool count_unique = 7 [json_name = "countUnique"];
        Parameters:
        value - The countUnique to set.
        Returns:
        This builder for chaining.