Class FeedListRequest.FeedListFilter.Builder

    • Method Detail

      • getTypes

        public QuestionType getTypes​(int index)
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Specified by:
        getTypes in interface FeedListRequest.FeedListFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The types at the given index.
      • setTypes

        public FeedListRequest.FeedListFilter.Builder setTypes​(int index,
                                                               QuestionType value)
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Parameters:
        index - The index to set the value at.
        value - The types to set.
        Returns:
        This builder for chaining.
      • addAllTypes

        public FeedListRequest.FeedListFilter.Builder addAllTypes​(java.lang.Iterable<? extends QuestionType> values)
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Parameters:
        values - The types to add.
        Returns:
        This builder for chaining.
      • getTypesValueList

        public java.util.List<java.lang.Integer> getTypesValueList()
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Specified by:
        getTypesValueList in interface FeedListRequest.FeedListFilterOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for types.
      • getTypesValue

        public int getTypesValue​(int index)
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Specified by:
        getTypesValue in interface FeedListRequest.FeedListFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of types at the given index.
      • setTypesValue

        public FeedListRequest.FeedListFilter.Builder setTypesValue​(int index,
                                                                    int value)
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for types to set.
        Returns:
        This builder for chaining.
      • addTypesValue

        public FeedListRequest.FeedListFilter.Builder addTypesValue​(int value)
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Parameters:
        value - The enum numeric value on the wire for types to add.
        Returns:
        This builder for chaining.
      • addAllTypesValue

        public FeedListRequest.FeedListFilter.Builder addAllTypesValue​(java.lang.Iterable<java.lang.Integer> values)
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Parameters:
        values - The enum numeric values on the wire for types to add.
        Returns:
        This builder for chaining.
      • getStatuses

        public QuestionStatus getStatuses​(int index)
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Specified by:
        getStatuses in interface FeedListRequest.FeedListFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The statuses at the given index.
      • setStatuses

        public FeedListRequest.FeedListFilter.Builder setStatuses​(int index,
                                                                  QuestionStatus value)
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Parameters:
        index - The index to set the value at.
        value - The statuses to set.
        Returns:
        This builder for chaining.
      • addStatuses

        public FeedListRequest.FeedListFilter.Builder addStatuses​(QuestionStatus value)
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Parameters:
        value - The statuses to add.
        Returns:
        This builder for chaining.
      • addAllStatuses

        public FeedListRequest.FeedListFilter.Builder addAllStatuses​(java.lang.Iterable<? extends QuestionStatus> values)
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Parameters:
        values - The statuses to add.
        Returns:
        This builder for chaining.
      • clearStatuses

        public FeedListRequest.FeedListFilter.Builder clearStatuses()
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Returns:
        This builder for chaining.
      • getStatusesValueList

        public java.util.List<java.lang.Integer> getStatusesValueList()
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Specified by:
        getStatusesValueList in interface FeedListRequest.FeedListFilterOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for statuses.
      • getStatusesValue

        public int getStatusesValue​(int index)
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Specified by:
        getStatusesValue in interface FeedListRequest.FeedListFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of statuses at the given index.
      • setStatusesValue

        public FeedListRequest.FeedListFilter.Builder setStatusesValue​(int index,
                                                                       int value)
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for statuses to set.
        Returns:
        This builder for chaining.
      • addStatusesValue

        public FeedListRequest.FeedListFilter.Builder addStatusesValue​(int value)
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Parameters:
        value - The enum numeric value on the wire for statuses to add.
        Returns:
        This builder for chaining.
      • addAllStatusesValue

        public FeedListRequest.FeedListFilter.Builder addAllStatusesValue​(java.lang.Iterable<java.lang.Integer> values)
        repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
        Parameters:
        values - The enum numeric values on the wire for statuses to add.
        Returns:
        This builder for chaining.
      • getAdUnits

        public AdUnit getAdUnits​(int index)
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Specified by:
        getAdUnits in interface FeedListRequest.FeedListFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The adUnits at the given index.
      • setAdUnits

        public FeedListRequest.FeedListFilter.Builder setAdUnits​(int index,
                                                                 AdUnit value)
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Parameters:
        index - The index to set the value at.
        value - The adUnits to set.
        Returns:
        This builder for chaining.
      • addAdUnits

        public FeedListRequest.FeedListFilter.Builder addAdUnits​(AdUnit value)
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Parameters:
        value - The adUnits to add.
        Returns:
        This builder for chaining.
      • addAllAdUnits

        public FeedListRequest.FeedListFilter.Builder addAllAdUnits​(java.lang.Iterable<? extends AdUnit> values)
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Parameters:
        values - The adUnits to add.
        Returns:
        This builder for chaining.
      • clearAdUnits

        public FeedListRequest.FeedListFilter.Builder clearAdUnits()
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Returns:
        This builder for chaining.
      • getAdUnitsValueList

        public java.util.List<java.lang.Integer> getAdUnitsValueList()
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Specified by:
        getAdUnitsValueList in interface FeedListRequest.FeedListFilterOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for adUnits.
      • getAdUnitsValue

        public int getAdUnitsValue​(int index)
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Specified by:
        getAdUnitsValue in interface FeedListRequest.FeedListFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of adUnits at the given index.
      • setAdUnitsValue

        public FeedListRequest.FeedListFilter.Builder setAdUnitsValue​(int index,
                                                                      int value)
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for adUnits to set.
        Returns:
        This builder for chaining.
      • addAdUnitsValue

        public FeedListRequest.FeedListFilter.Builder addAdUnitsValue​(int value)
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Parameters:
        value - The enum numeric value on the wire for adUnits to add.
        Returns:
        This builder for chaining.
      • addAllAdUnitsValue

        public FeedListRequest.FeedListFilter.Builder addAllAdUnitsValue​(java.lang.Iterable<java.lang.Integer> values)
         [0] default
         
        repeated .streamlayer.interactive.AdUnit ad_units = 3 [json_name = "adUnits"];
        Parameters:
        values - The enum numeric values on the wire for adUnits to add.
        Returns:
        This builder for chaining.