Class TotalPollsRequest.TotalRequestFilter.Builder

    • Method Detail

      • getEventIds

        public long getEventIds​(int index)
         sports events id
         
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Specified by:
        getEventIds in interface TotalPollsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The eventIds at the given index.
      • setEventIds

        public TotalPollsRequest.TotalRequestFilter.Builder setEventIds​(int index,
                                                                        long value)
         sports events id
         
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Parameters:
        value - The eventIds to set.
        Returns:
        This builder for chaining.
      • addEventIds

        public TotalPollsRequest.TotalRequestFilter.Builder addEventIds​(long value)
         sports events id
         
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Parameters:
        value - The eventIds to add.
        Returns:
        This builder for chaining.
      • addAllEventIds

        public TotalPollsRequest.TotalRequestFilter.Builder addAllEventIds​(java.lang.Iterable<? extends java.lang.Long> values)
         sports events id
         
        repeated uint64 event_ids = 2 [json_name = "eventIds"];
        Parameters:
        values - The eventIds to add.
        Returns:
        This builder for chaining.
      • getTopicIds

        public java.lang.String getTopicIds​(int index)
         question id
         
        repeated string topic_ids = 3 [json_name = "topicIds"];
        Specified by:
        getTopicIds in interface TotalPollsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The topicIds at the given index.
      • getTopicIdsBytes

        public com.google.protobuf.ByteString getTopicIdsBytes​(int index)
         question id
         
        repeated string topic_ids = 3 [json_name = "topicIds"];
        Specified by:
        getTopicIdsBytes in interface TotalPollsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the topicIds at the given index.
      • setTopicIds

        public TotalPollsRequest.TotalRequestFilter.Builder setTopicIds​(int index,
                                                                        java.lang.String value)
         question id
         
        repeated string topic_ids = 3 [json_name = "topicIds"];
        Parameters:
        index - The index to set the value at.
        value - The topicIds to set.
        Returns:
        This builder for chaining.
      • addTopicIds

        public TotalPollsRequest.TotalRequestFilter.Builder addTopicIds​(java.lang.String value)
         question id
         
        repeated string topic_ids = 3 [json_name = "topicIds"];
        Parameters:
        value - The topicIds to add.
        Returns:
        This builder for chaining.
      • addAllTopicIds

        public TotalPollsRequest.TotalRequestFilter.Builder addAllTopicIds​(java.lang.Iterable<java.lang.String> values)
         question id
         
        repeated string topic_ids = 3 [json_name = "topicIds"];
        Parameters:
        values - The topicIds to add.
        Returns:
        This builder for chaining.
      • addTopicIdsBytes

        public TotalPollsRequest.TotalRequestFilter.Builder addTopicIdsBytes​(com.google.protobuf.ByteString value)
         question id
         
        repeated string topic_ids = 3 [json_name = "topicIds"];
        Parameters:
        value - The bytes of the topicIds to add.
        Returns:
        This builder for chaining.
      • getKindsList

        public java.util.List<Kind> getKindsList()
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Specified by:
        getKindsList in interface TotalPollsRequest.TotalRequestFilterOrBuilder
        Returns:
        A list containing the kinds.
      • getKindsCount

        public int getKindsCount()
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Specified by:
        getKindsCount in interface TotalPollsRequest.TotalRequestFilterOrBuilder
        Returns:
        The count of kinds.
      • getKinds

        public Kind getKinds​(int index)
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Specified by:
        getKinds in interface TotalPollsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The kinds at the given index.
      • setKinds

        public TotalPollsRequest.TotalRequestFilter.Builder setKinds​(int index,
                                                                     Kind value)
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Parameters:
        index - The index to set the value at.
        value - The kinds to set.
        Returns:
        This builder for chaining.
      • addKinds

        public TotalPollsRequest.TotalRequestFilter.Builder addKinds​(Kind value)
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Parameters:
        value - The kinds to add.
        Returns:
        This builder for chaining.
      • addAllKinds

        public TotalPollsRequest.TotalRequestFilter.Builder addAllKinds​(java.lang.Iterable<? extends Kind> values)
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Parameters:
        values - The kinds to add.
        Returns:
        This builder for chaining.
      • clearKinds

        public TotalPollsRequest.TotalRequestFilter.Builder clearKinds()
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Returns:
        This builder for chaining.
      • getKindsValueList

        public java.util.List<java.lang.Integer> getKindsValueList()
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Specified by:
        getKindsValueList in interface TotalPollsRequest.TotalRequestFilterOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for kinds.
      • getKindsValue

        public int getKindsValue​(int index)
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Specified by:
        getKindsValue in interface TotalPollsRequest.TotalRequestFilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of kinds at the given index.
      • setKindsValue

        public TotalPollsRequest.TotalRequestFilter.Builder setKindsValue​(int index,
                                                                          int value)
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for kinds to set.
        Returns:
        This builder for chaining.
      • addKindsValue

        public TotalPollsRequest.TotalRequestFilter.Builder addKindsValue​(int value)
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Parameters:
        value - The enum numeric value on the wire for kinds to add.
        Returns:
        This builder for chaining.
      • addAllKindsValue

        public TotalPollsRequest.TotalRequestFilter.Builder addAllKindsValue​(java.lang.Iterable<java.lang.Integer> values)
         kind: KIND_POLLS_VOTE | KIND_POLLS_RECEIVED | KIND_POLLS_OPENED
         
        repeated .streamlayer.analytics.v1.common.Kind kinds = 4 [json_name = "kinds"];
        Parameters:
        values - The enum numeric values on the wire for kinds to add.
        Returns:
        This builder for chaining.
      • setCountUnique

        public TotalPollsRequest.TotalRequestFilter.Builder setCountUnique​(boolean value)
         for counting statistics, unique by device id
         
        bool count_unique = 5 [json_name = "countUnique"];
        Parameters:
        value - The countUnique to set.
        Returns:
        This builder for chaining.
      • clearCountUnique

        public TotalPollsRequest.TotalRequestFilter.Builder clearCountUnique()
         for counting statistics, unique by device id
         
        bool count_unique = 5 [json_name = "countUnique"];
        Returns:
        This builder for chaining.