Class DashboardRequestFilter.Builder

    • Method Detail

      • hasPeriod

        public boolean hasPeriod()
         period
         
        .streamlayer.analytics.v1.common.Period period = 1 [json_name = "period"];
        Specified by:
        hasPeriod in interface DashboardRequestFilterOrBuilder
        Returns:
        Whether the period field is set.
      • setEventId

        public DashboardRequestFilter.Builder setEventId​(long value)
         sports event ids
         
        uint64 event_id = 2 [json_name = "eventId"];
        Parameters:
        value - The eventId to set.
        Returns:
        This builder for chaining.
      • clearEventId

        public DashboardRequestFilter.Builder clearEventId()
         sports event ids
         
        uint64 event_id = 2 [json_name = "eventId"];
        Returns:
        This builder for chaining.
      • hasLivePeriod

        public boolean hasLivePeriod()
         period
         
        .streamlayer.analytics.v1.common.Period live_period = 3 [json_name = "livePeriod"];
        Specified by:
        hasLivePeriod in interface DashboardRequestFilterOrBuilder
        Returns:
        Whether the livePeriod field is set.
      • mergeLivePeriod

        public DashboardRequestFilter.Builder mergeLivePeriod​(Period value)
         period
         
        .streamlayer.analytics.v1.common.Period live_period = 3 [json_name = "livePeriod"];
      • clearLivePeriod

        public DashboardRequestFilter.Builder clearLivePeriod()
         period
         
        .streamlayer.analytics.v1.common.Period live_period = 3 [json_name = "livePeriod"];
      • getEventIdsList

        public java.util.List<java.lang.Long> getEventIdsList()
        repeated uint64 event_ids = 4 [json_name = "eventIds"];
        Specified by:
        getEventIdsList in interface DashboardRequestFilterOrBuilder
        Returns:
        A list containing the eventIds.
      • getEventIds

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

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

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

        public DashboardRequestFilter.Builder addAllEventIds​(java.lang.Iterable<? extends java.lang.Long> values)
        repeated uint64 event_ids = 4 [json_name = "eventIds"];
        Parameters:
        values - The eventIds to add.
        Returns:
        This builder for chaining.
      • clearEventIds

        public DashboardRequestFilter.Builder clearEventIds()
        repeated uint64 event_ids = 4 [json_name = "eventIds"];
        Returns:
        This builder for chaining.