Class PickHistoryRequest.Builder

    • Method Detail

      • getQuestionTypeList

        public java.util.List<QuestionType> getQuestionTypeList()
        repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];
        Specified by:
        getQuestionTypeList in interface PickHistoryRequestOrBuilder
        Returns:
        A list containing the questionType.
      • getQuestionTypeCount

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

        public QuestionType getQuestionType​(int index)
        repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];
        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 [json_name = "questionType"];
        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 [json_name = "questionType"];
        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 [json_name = "questionType"];
        Parameters:
        values - The questionType to add.
        Returns:
        This builder for chaining.
      • clearQuestionType

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

        public java.util.List<java.lang.Integer> getQuestionTypeValueList()
        repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];
        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 [json_name = "questionType"];
        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 [json_name = "questionType"];
        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 [json_name = "questionType"];
        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 [json_name = "questionType"];
        Parameters:
        values - The enum numeric values on the wire for questionType to add.
        Returns:
        This builder for chaining.
      • getEventId

        public java.lang.String getEventId()
        string event_id = 3 [json_name = "eventId"];
        Specified by:
        getEventId in interface PickHistoryRequestOrBuilder
        Returns:
        The eventId.
      • getEventIdBytes

        public com.google.protobuf.ByteString getEventIdBytes()
        string event_id = 3 [json_name = "eventId"];
        Specified by:
        getEventIdBytes in interface PickHistoryRequestOrBuilder
        Returns:
        The bytes for eventId.
      • setEventId

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

        public PickHistoryRequest.Builder clearEventId()
        string event_id = 3 [json_name = "eventId"];
        Returns:
        This builder for chaining.
      • setEventIdBytes

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

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

        public PickHistoryRequest.Builder clearPagination()
        .streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];