Class PickHistoryRequest.Builder

    • Method Detail

      • getQuestionTypeCount

        public int getQuestionTypeCount()
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Specified by:
        getQuestionTypeCount in interface PickHistoryRequestOrBuilder
        Returns:
        The count of questionType.
      • getQuestionType

        public QuestionType getQuestionType​(int index)
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Specified by:
        getQuestionType in interface PickHistoryRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The questionType at the given index.
      • setQuestionType

        public PickHistoryRequest.Builder setQuestionType​(int index,
                                                          QuestionType value)
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Parameters:
        index - The index to set the value at.
        value - The questionType to set.
        Returns:
        This builder for chaining.
      • addQuestionType

        public PickHistoryRequest.Builder addQuestionType​(QuestionType value)
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Parameters:
        value - The questionType to add.
        Returns:
        This builder for chaining.
      • addAllQuestionType

        public PickHistoryRequest.Builder addAllQuestionType​(java.lang.Iterable<? extends QuestionType> values)
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Parameters:
        values - The questionType to add.
        Returns:
        This builder for chaining.
      • clearQuestionType

        public PickHistoryRequest.Builder clearQuestionType()
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Returns:
        This builder for chaining.
      • getQuestionTypeValueList

        public java.util.List<java.lang.Integer> getQuestionTypeValueList()
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Specified by:
        getQuestionTypeValueList in interface PickHistoryRequestOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for questionType.
      • getQuestionTypeValue

        public int getQuestionTypeValue​(int index)
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Specified by:
        getQuestionTypeValue in interface PickHistoryRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of questionType at the given index.
      • setQuestionTypeValue

        public PickHistoryRequest.Builder setQuestionTypeValue​(int index,
                                                               int value)
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for questionType to set.
        Returns:
        This builder for chaining.
      • addQuestionTypeValue

        public PickHistoryRequest.Builder addQuestionTypeValue​(int value)
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Parameters:
        value - The enum numeric value on the wire for questionType to add.
        Returns:
        This builder for chaining.
      • addAllQuestionTypeValue

        public PickHistoryRequest.Builder addAllQuestionTypeValue​(java.lang.Iterable<java.lang.Integer> values)
        repeated .streamlayer.interactive.QuestionType question_type = 1;
        Parameters:
        values - The enum numeric values on the wire for questionType to add.
        Returns:
        This builder for chaining.
      • setEventId

        public PickHistoryRequest.Builder setEventId​(java.lang.String value)
        string event_id = 3;
        Parameters:
        value - The eventId to set.
        Returns:
        This builder for chaining.
      • setEventIdBytes

        public PickHistoryRequest.Builder setEventIdBytes​(com.google.protobuf.ByteString value)
        string event_id = 3;
        Parameters:
        value - The bytes for eventId to set.
        Returns:
        This builder for chaining.
      • hasPagination

        public boolean hasPagination()
        .streamlayer.interactive.Pagination pagination = 2;
        Specified by:
        hasPagination in interface PickHistoryRequestOrBuilder
        Returns:
        Whether the pagination field is set.