Class SyncQuestionRequest.SyncQuestionRequestFilter.Builder

    • Method Detail

      • setEventIdBytes

        public SyncQuestionRequest.SyncQuestionRequestFilter.Builder setEventIdBytes​(com.google.protobuf.ByteString value)
         sport event id
         
        string event_id = 1 [json_name = "eventId"];
        Parameters:
        value - The bytes for eventId to set.
        Returns:
        This builder for chaining.
      • getTypesCount

        public int getTypesCount()
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypesCount in interface SyncQuestionRequest.SyncQuestionRequestFilterOrBuilder
        Returns:
        The count of types.
      • getTypes

        public QuestionType getTypes​(int index)
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypes in interface SyncQuestionRequest.SyncQuestionRequestFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The types at the given index.
      • setTypes

        public SyncQuestionRequest.SyncQuestionRequestFilter.Builder setTypes​(int index,
                                                                              QuestionType value)
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        index - The index to set the value at.
        value - The types to set.
        Returns:
        This builder for chaining.
      • addTypes

        public SyncQuestionRequest.SyncQuestionRequestFilter.Builder addTypes​(QuestionType value)
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        value - The types to add.
        Returns:
        This builder for chaining.
      • addAllTypes

        public SyncQuestionRequest.SyncQuestionRequestFilter.Builder addAllTypes​(java.lang.Iterable<? extends QuestionType> values)
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        values - The types to add.
        Returns:
        This builder for chaining.
      • clearTypes

        public SyncQuestionRequest.SyncQuestionRequestFilter.Builder clearTypes()
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Returns:
        This builder for chaining.
      • getTypesValueList

        public java.util.List<java.lang.Integer> getTypesValueList()
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypesValueList in interface SyncQuestionRequest.SyncQuestionRequestFilterOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for types.
      • getTypesValue

        public int getTypesValue​(int index)
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Specified by:
        getTypesValue in interface SyncQuestionRequest.SyncQuestionRequestFilterOrBuilder
        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 SyncQuestionRequest.SyncQuestionRequestFilter.Builder setTypesValue​(int index,
                                                                                   int value)
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [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 SyncQuestionRequest.SyncQuestionRequestFilter.Builder addTypesValue​(int value)
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        value - The enum numeric value on the wire for types to add.
        Returns:
        This builder for chaining.
      • addAllTypesValue

        public SyncQuestionRequest.SyncQuestionRequestFilter.Builder addAllTypesValue​(java.lang.Iterable<java.lang.Integer> values)
         if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
         
        repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];
        Parameters:
        values - The enum numeric values on the wire for types to add.
        Returns:
        This builder for chaining.