Class SearchRequest.SearchRequestData.Builder

    • Method Detail

      • getTypesCount

        public int getTypesCount()
         allowed tags for question types
         
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Specified by:
        getTypesCount in interface SearchRequest.SearchRequestDataOrBuilder
        Returns:
        The count of types.
      • getTypes

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

        public SearchRequest.SearchRequestData.Builder setTypes​(int index,
                                                                QuestionType value)
         allowed tags for question types
         
        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.
      • addTypes

        public SearchRequest.SearchRequestData.Builder addTypes​(QuestionType value)
         allowed tags for question types
         
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Parameters:
        value - The types to add.
        Returns:
        This builder for chaining.
      • addAllTypes

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

        public SearchRequest.SearchRequestData.Builder clearTypes()
         allowed tags for question types
         
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Returns:
        This builder for chaining.
      • getTypesValueList

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

        public int getTypesValue​(int index)
         allowed tags for question types
         
        repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
        Specified by:
        getTypesValue in interface SearchRequest.SearchRequestDataOrBuilder
        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 SearchRequest.SearchRequestData.Builder setTypesValue​(int index,
                                                                     int value)
         allowed tags for question types
         
        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 SearchRequest.SearchRequestData.Builder addTypesValue​(int value)
         allowed tags for question types
         
        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 SearchRequest.SearchRequestData.Builder addAllTypesValue​(java.lang.Iterable<java.lang.Integer> values)
         allowed tags for question types
         
        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.
      • getTagIdsList

        public java.util.List<java.lang.String> getTagIdsList()
         user selected tags
         
        repeated string tag_ids = 2 [json_name = "tagIds"];
        Specified by:
        getTagIdsList in interface SearchRequest.SearchRequestDataOrBuilder
        Returns:
        A list containing the tagIds.
      • getTagIds

        public java.lang.String getTagIds​(int index)
         user selected tags
         
        repeated string tag_ids = 2 [json_name = "tagIds"];
        Specified by:
        getTagIds in interface SearchRequest.SearchRequestDataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tagIds at the given index.
      • getTagIdsBytes

        public com.google.protobuf.ByteString getTagIdsBytes​(int index)
         user selected tags
         
        repeated string tag_ids = 2 [json_name = "tagIds"];
        Specified by:
        getTagIdsBytes in interface SearchRequest.SearchRequestDataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tagIds at the given index.
      • setTagIds

        public SearchRequest.SearchRequestData.Builder setTagIds​(int index,
                                                                 java.lang.String value)
         user selected tags
         
        repeated string tag_ids = 2 [json_name = "tagIds"];
        Parameters:
        index - The index to set the value at.
        value - The tagIds to set.
        Returns:
        This builder for chaining.
      • addTagIds

        public SearchRequest.SearchRequestData.Builder addTagIds​(java.lang.String value)
         user selected tags
         
        repeated string tag_ids = 2 [json_name = "tagIds"];
        Parameters:
        value - The tagIds to add.
        Returns:
        This builder for chaining.
      • addAllTagIds

        public SearchRequest.SearchRequestData.Builder addAllTagIds​(java.lang.Iterable<java.lang.String> values)
         user selected tags
         
        repeated string tag_ids = 2 [json_name = "tagIds"];
        Parameters:
        values - The tagIds to add.
        Returns:
        This builder for chaining.
      • addTagIdsBytes

        public SearchRequest.SearchRequestData.Builder addTagIdsBytes​(com.google.protobuf.ByteString value)
         user selected tags
         
        repeated string tag_ids = 2 [json_name = "tagIds"];
        Parameters:
        value - The bytes of the tagIds to add.
        Returns:
        This builder for chaining.
      • setTagMatch

        public SearchRequest.SearchRequestData.Builder setTagMatch​(java.lang.String value)
         partial tag seaching
         
        string tag_match = 3 [json_name = "tagMatch"];
        Parameters:
        value - The tagMatch to set.
        Returns:
        This builder for chaining.
      • setTagMatchBytes

        public SearchRequest.SearchRequestData.Builder setTagMatchBytes​(com.google.protobuf.ByteString value)
         partial tag seaching
         
        string tag_match = 3 [json_name = "tagMatch"];
        Parameters:
        value - The bytes for tagMatch to set.
        Returns:
        This builder for chaining.