Class ListRequest.Filter.Builder

    • Method Detail

      • getGamesList

        public java.util.List<java.lang.String> getGamesList()
        repeated string games = 1 [json_name = "games"];
        Specified by:
        getGamesList in interface ListRequest.FilterOrBuilder
        Returns:
        A list containing the games.
      • getGames

        public java.lang.String getGames​(int index)
        repeated string games = 1 [json_name = "games"];
        Specified by:
        getGames in interface ListRequest.FilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The games at the given index.
      • getGamesBytes

        public com.google.protobuf.ByteString getGamesBytes​(int index)
        repeated string games = 1 [json_name = "games"];
        Specified by:
        getGamesBytes in interface ListRequest.FilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the games at the given index.
      • setGames

        public ListRequest.Filter.Builder setGames​(int index,
                                                   java.lang.String value)
        repeated string games = 1 [json_name = "games"];
        Parameters:
        index - The index to set the value at.
        value - The games to set.
        Returns:
        This builder for chaining.
      • addGames

        public ListRequest.Filter.Builder addGames​(java.lang.String value)
        repeated string games = 1 [json_name = "games"];
        Parameters:
        value - The games to add.
        Returns:
        This builder for chaining.
      • addAllGames

        public ListRequest.Filter.Builder addAllGames​(java.lang.Iterable<java.lang.String> values)
        repeated string games = 1 [json_name = "games"];
        Parameters:
        values - The games to add.
        Returns:
        This builder for chaining.
      • clearGames

        public ListRequest.Filter.Builder clearGames()
        repeated string games = 1 [json_name = "games"];
        Returns:
        This builder for chaining.
      • addGamesBytes

        public ListRequest.Filter.Builder addGamesBytes​(com.google.protobuf.ByteString value)
        repeated string games = 1 [json_name = "games"];
        Parameters:
        value - The bytes of the games to add.
        Returns:
        This builder for chaining.
      • getSportsList

        public java.util.List<java.lang.String> getSportsList()
        repeated string sports = 2 [json_name = "sports"];
        Specified by:
        getSportsList in interface ListRequest.FilterOrBuilder
        Returns:
        A list containing the sports.
      • getSports

        public java.lang.String getSports​(int index)
        repeated string sports = 2 [json_name = "sports"];
        Specified by:
        getSports in interface ListRequest.FilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The sports at the given index.
      • getSportsBytes

        public com.google.protobuf.ByteString getSportsBytes​(int index)
        repeated string sports = 2 [json_name = "sports"];
        Specified by:
        getSportsBytes in interface ListRequest.FilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sports at the given index.
      • setSports

        public ListRequest.Filter.Builder setSports​(int index,
                                                    java.lang.String value)
        repeated string sports = 2 [json_name = "sports"];
        Parameters:
        index - The index to set the value at.
        value - The sports to set.
        Returns:
        This builder for chaining.
      • addSports

        public ListRequest.Filter.Builder addSports​(java.lang.String value)
        repeated string sports = 2 [json_name = "sports"];
        Parameters:
        value - The sports to add.
        Returns:
        This builder for chaining.
      • addAllSports

        public ListRequest.Filter.Builder addAllSports​(java.lang.Iterable<java.lang.String> values)
        repeated string sports = 2 [json_name = "sports"];
        Parameters:
        values - The sports to add.
        Returns:
        This builder for chaining.
      • clearSports

        public ListRequest.Filter.Builder clearSports()
        repeated string sports = 2 [json_name = "sports"];
        Returns:
        This builder for chaining.
      • addSportsBytes

        public ListRequest.Filter.Builder addSportsBytes​(com.google.protobuf.ByteString value)
        repeated string sports = 2 [json_name = "sports"];
        Parameters:
        value - The bytes of the sports to add.
        Returns:
        This builder for chaining.
      • getCountriesList

        public java.util.List<java.lang.String> getCountriesList()
        repeated string countries = 3 [json_name = "countries"];
        Specified by:
        getCountriesList in interface ListRequest.FilterOrBuilder
        Returns:
        A list containing the countries.
      • getCountries

        public java.lang.String getCountries​(int index)
        repeated string countries = 3 [json_name = "countries"];
        Specified by:
        getCountries in interface ListRequest.FilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The countries at the given index.
      • getCountriesBytes

        public com.google.protobuf.ByteString getCountriesBytes​(int index)
        repeated string countries = 3 [json_name = "countries"];
        Specified by:
        getCountriesBytes in interface ListRequest.FilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the countries at the given index.
      • setCountries

        public ListRequest.Filter.Builder setCountries​(int index,
                                                       java.lang.String value)
        repeated string countries = 3 [json_name = "countries"];
        Parameters:
        index - The index to set the value at.
        value - The countries to set.
        Returns:
        This builder for chaining.
      • addCountries

        public ListRequest.Filter.Builder addCountries​(java.lang.String value)
        repeated string countries = 3 [json_name = "countries"];
        Parameters:
        value - The countries to add.
        Returns:
        This builder for chaining.
      • addAllCountries

        public ListRequest.Filter.Builder addAllCountries​(java.lang.Iterable<java.lang.String> values)
        repeated string countries = 3 [json_name = "countries"];
        Parameters:
        values - The countries to add.
        Returns:
        This builder for chaining.
      • clearCountries

        public ListRequest.Filter.Builder clearCountries()
        repeated string countries = 3 [json_name = "countries"];
        Returns:
        This builder for chaining.
      • addCountriesBytes

        public ListRequest.Filter.Builder addCountriesBytes​(com.google.protobuf.ByteString value)
        repeated string countries = 3 [json_name = "countries"];
        Parameters:
        value - The bytes of the countries to add.
        Returns:
        This builder for chaining.
      • getLeaguesList

        public java.util.List<java.lang.String> getLeaguesList()
        repeated string leagues = 4 [json_name = "leagues"];
        Specified by:
        getLeaguesList in interface ListRequest.FilterOrBuilder
        Returns:
        A list containing the leagues.
      • getLeagues

        public java.lang.String getLeagues​(int index)
        repeated string leagues = 4 [json_name = "leagues"];
        Specified by:
        getLeagues in interface ListRequest.FilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The leagues at the given index.
      • getLeaguesBytes

        public com.google.protobuf.ByteString getLeaguesBytes​(int index)
        repeated string leagues = 4 [json_name = "leagues"];
        Specified by:
        getLeaguesBytes in interface ListRequest.FilterOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the leagues at the given index.
      • setLeagues

        public ListRequest.Filter.Builder setLeagues​(int index,
                                                     java.lang.String value)
        repeated string leagues = 4 [json_name = "leagues"];
        Parameters:
        index - The index to set the value at.
        value - The leagues to set.
        Returns:
        This builder for chaining.
      • addLeagues

        public ListRequest.Filter.Builder addLeagues​(java.lang.String value)
        repeated string leagues = 4 [json_name = "leagues"];
        Parameters:
        value - The leagues to add.
        Returns:
        This builder for chaining.
      • addAllLeagues

        public ListRequest.Filter.Builder addAllLeagues​(java.lang.Iterable<java.lang.String> values)
        repeated string leagues = 4 [json_name = "leagues"];
        Parameters:
        values - The leagues to add.
        Returns:
        This builder for chaining.
      • clearLeagues

        public ListRequest.Filter.Builder clearLeagues()
        repeated string leagues = 4 [json_name = "leagues"];
        Returns:
        This builder for chaining.
      • addLeaguesBytes

        public ListRequest.Filter.Builder addLeaguesBytes​(com.google.protobuf.ByteString value)
        repeated string leagues = 4 [json_name = "leagues"];
        Parameters:
        value - The bytes of the leagues to add.
        Returns:
        This builder for chaining.
      • getAllowClosedMarkets

        public boolean getAllowClosedMarkets()
        bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"];
        Specified by:
        getAllowClosedMarkets in interface ListRequest.FilterOrBuilder
        Returns:
        The allowClosedMarkets.
      • setAllowClosedMarkets

        public ListRequest.Filter.Builder setAllowClosedMarkets​(boolean value)
        bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"];
        Parameters:
        value - The allowClosedMarkets to set.
        Returns:
        This builder for chaining.
      • clearAllowClosedMarkets

        public ListRequest.Filter.Builder clearAllowClosedMarkets()
        bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"];
        Returns:
        This builder for chaining.
      • setAllowPast

        public ListRequest.Filter.Builder setAllowPast​(boolean value)
        bool allow_past = 6 [json_name = "allowPast"];
        Parameters:
        value - The allowPast to set.
        Returns:
        This builder for chaining.
      • clearAllowPast

        public ListRequest.Filter.Builder clearAllowPast()
        bool allow_past = 6 [json_name = "allowPast"];
        Returns:
        This builder for chaining.
      • setSynced

        public ListRequest.Filter.Builder setSynced​(boolean value)
        bool synced = 7 [json_name = "synced"];
        Parameters:
        value - The synced to set.
        Returns:
        This builder for chaining.
      • clearSynced

        public ListRequest.Filter.Builder clearSynced()
        bool synced = 7 [json_name = "synced"];
        Returns:
        This builder for chaining.
      • setSince

        public ListRequest.Filter.Builder setSince​(int value)
        int32 since = 8 [json_name = "since"];
        Parameters:
        value - The since to set.
        Returns:
        This builder for chaining.
      • clearSince

        public ListRequest.Filter.Builder clearSince()
        int32 since = 8 [json_name = "since"];
        Returns:
        This builder for chaining.
      • setTill

        public ListRequest.Filter.Builder setTill​(int value)
        int32 till = 9 [json_name = "till"];
        Parameters:
        value - The till to set.
        Returns:
        This builder for chaining.
      • clearTill

        public ListRequest.Filter.Builder clearTill()
        int32 till = 9 [json_name = "till"];
        Returns:
        This builder for chaining.
      • getSportId

        public long getSportId()
         use for favorites
         
        uint64 sport_id = 10 [json_name = "sportId"];
        Specified by:
        getSportId in interface ListRequest.FilterOrBuilder
        Returns:
        The sportId.
      • setSportId

        public ListRequest.Filter.Builder setSportId​(long value)
         use for favorites
         
        uint64 sport_id = 10 [json_name = "sportId"];
        Parameters:
        value - The sportId to set.
        Returns:
        This builder for chaining.
      • clearSportId

        public ListRequest.Filter.Builder clearSportId()
         use for favorites
         
        uint64 sport_id = 10 [json_name = "sportId"];
        Returns:
        This builder for chaining.
      • setLeagueId

        public ListRequest.Filter.Builder setLeagueId​(long value)
        uint64 league_id = 11 [json_name = "leagueId"];
        Parameters:
        value - The leagueId to set.
        Returns:
        This builder for chaining.
      • clearLeagueId

        public ListRequest.Filter.Builder clearLeagueId()
        uint64 league_id = 11 [json_name = "leagueId"];
        Returns:
        This builder for chaining.
      • setTeamId

        public ListRequest.Filter.Builder setTeamId​(long value)
        uint64 team_id = 12 [json_name = "teamId"];
        Parameters:
        value - The teamId to set.
        Returns:
        This builder for chaining.
      • clearTeamId

        public ListRequest.Filter.Builder clearTeamId()
        uint64 team_id = 12 [json_name = "teamId"];
        Returns:
        This builder for chaining.