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.