Package com.streamlayer.inplay.games
Class ListRequest.Filter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<ListRequest.Filter,ListRequest.Filter.Builder>
-
- com.streamlayer.inplay.games.ListRequest.Filter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ListRequest.FilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- ListRequest.Filter
public static final class ListRequest.Filter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ListRequest.Filter,ListRequest.Filter.Builder> implements ListRequest.FilterOrBuilder
Protobuf typestreamlayer.inplay.games.ListRequest.Filter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRequest.Filter.BuilderaddAllCountries(java.lang.Iterable<java.lang.String> values)repeated string countries = 3 [json_name = "countries"];ListRequest.Filter.BuilderaddAllGames(java.lang.Iterable<java.lang.String> values)repeated string games = 1 [json_name = "games"];ListRequest.Filter.BuilderaddAllLeagues(java.lang.Iterable<java.lang.String> values)repeated string leagues = 4 [json_name = "leagues"];ListRequest.Filter.BuilderaddAllSports(java.lang.Iterable<java.lang.String> values)repeated string sports = 2 [json_name = "sports"];ListRequest.Filter.BuilderaddCountries(java.lang.String value)repeated string countries = 3 [json_name = "countries"];ListRequest.Filter.BuilderaddCountriesBytes(com.google.protobuf.ByteString value)repeated string countries = 3 [json_name = "countries"];ListRequest.Filter.BuilderaddGames(java.lang.String value)repeated string games = 1 [json_name = "games"];ListRequest.Filter.BuilderaddGamesBytes(com.google.protobuf.ByteString value)repeated string games = 1 [json_name = "games"];ListRequest.Filter.BuilderaddLeagues(java.lang.String value)repeated string leagues = 4 [json_name = "leagues"];ListRequest.Filter.BuilderaddLeaguesBytes(com.google.protobuf.ByteString value)repeated string leagues = 4 [json_name = "leagues"];ListRequest.Filter.BuilderaddSports(java.lang.String value)repeated string sports = 2 [json_name = "sports"];ListRequest.Filter.BuilderaddSportsBytes(com.google.protobuf.ByteString value)repeated string sports = 2 [json_name = "sports"];ListRequest.Filter.BuilderclearAllowClosedMarkets()bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"];ListRequest.Filter.BuilderclearAllowPast()bool allow_past = 6 [json_name = "allowPast"];ListRequest.Filter.BuilderclearCountries()repeated string countries = 3 [json_name = "countries"];ListRequest.Filter.BuilderclearGames()repeated string games = 1 [json_name = "games"];ListRequest.Filter.BuilderclearLeagueId()uint64 league_id = 11 [json_name = "leagueId"];ListRequest.Filter.BuilderclearLeagues()repeated string leagues = 4 [json_name = "leagues"];ListRequest.Filter.BuilderclearSince()int32 since = 8 [json_name = "since"];ListRequest.Filter.BuilderclearSportId()use for favoritesListRequest.Filter.BuilderclearSports()repeated string sports = 2 [json_name = "sports"];ListRequest.Filter.BuilderclearSynced()bool synced = 7 [json_name = "synced"];ListRequest.Filter.BuilderclearTeamId()uint64 team_id = 12 [json_name = "teamId"];ListRequest.Filter.BuilderclearTill()int32 till = 9 [json_name = "till"];booleangetAllowClosedMarkets()bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"];booleangetAllowPast()bool allow_past = 6 [json_name = "allowPast"];java.lang.StringgetCountries(int index)repeated string countries = 3 [json_name = "countries"];com.google.protobuf.ByteStringgetCountriesBytes(int index)repeated string countries = 3 [json_name = "countries"];intgetCountriesCount()repeated string countries = 3 [json_name = "countries"];java.util.List<java.lang.String>getCountriesList()repeated string countries = 3 [json_name = "countries"];java.lang.StringgetGames(int index)repeated string games = 1 [json_name = "games"];com.google.protobuf.ByteStringgetGamesBytes(int index)repeated string games = 1 [json_name = "games"];intgetGamesCount()repeated string games = 1 [json_name = "games"];java.util.List<java.lang.String>getGamesList()repeated string games = 1 [json_name = "games"];longgetLeagueId()uint64 league_id = 11 [json_name = "leagueId"];java.lang.StringgetLeagues(int index)repeated string leagues = 4 [json_name = "leagues"];com.google.protobuf.ByteStringgetLeaguesBytes(int index)repeated string leagues = 4 [json_name = "leagues"];intgetLeaguesCount()repeated string leagues = 4 [json_name = "leagues"];java.util.List<java.lang.String>getLeaguesList()repeated string leagues = 4 [json_name = "leagues"];intgetSince()int32 since = 8 [json_name = "since"];longgetSportId()use for favoritesjava.lang.StringgetSports(int index)repeated string sports = 2 [json_name = "sports"];com.google.protobuf.ByteStringgetSportsBytes(int index)repeated string sports = 2 [json_name = "sports"];intgetSportsCount()repeated string sports = 2 [json_name = "sports"];java.util.List<java.lang.String>getSportsList()repeated string sports = 2 [json_name = "sports"];booleangetSynced()bool synced = 7 [json_name = "synced"];longgetTeamId()uint64 team_id = 12 [json_name = "teamId"];intgetTill()int32 till = 9 [json_name = "till"];ListRequest.Filter.BuildersetAllowClosedMarkets(boolean value)bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"];ListRequest.Filter.BuildersetAllowPast(boolean value)bool allow_past = 6 [json_name = "allowPast"];ListRequest.Filter.BuildersetCountries(int index, java.lang.String value)repeated string countries = 3 [json_name = "countries"];ListRequest.Filter.BuildersetGames(int index, java.lang.String value)repeated string games = 1 [json_name = "games"];ListRequest.Filter.BuildersetLeagueId(long value)uint64 league_id = 11 [json_name = "leagueId"];ListRequest.Filter.BuildersetLeagues(int index, java.lang.String value)repeated string leagues = 4 [json_name = "leagues"];ListRequest.Filter.BuildersetSince(int value)int32 since = 8 [json_name = "since"];ListRequest.Filter.BuildersetSportId(long value)use for favoritesListRequest.Filter.BuildersetSports(int index, java.lang.String value)repeated string sports = 2 [json_name = "sports"];ListRequest.Filter.BuildersetSynced(boolean value)bool synced = 7 [json_name = "synced"];ListRequest.Filter.BuildersetTeamId(long value)uint64 team_id = 12 [json_name = "teamId"];ListRequest.Filter.BuildersetTill(int value)int32 till = 9 [json_name = "till"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getGamesList
public java.util.List<java.lang.String> getGamesList()
repeated string games = 1 [json_name = "games"];- Specified by:
getGamesListin interfaceListRequest.FilterOrBuilder- Returns:
- A list containing the games.
-
getGamesCount
public int getGamesCount()
repeated string games = 1 [json_name = "games"];- Specified by:
getGamesCountin interfaceListRequest.FilterOrBuilder- Returns:
- The count of games.
-
getGames
public java.lang.String getGames(int index)
repeated string games = 1 [json_name = "games"];- Specified by:
getGamesin interfaceListRequest.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:
getGamesBytesin interfaceListRequest.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:
getSportsListin interfaceListRequest.FilterOrBuilder- Returns:
- A list containing the sports.
-
getSportsCount
public int getSportsCount()
repeated string sports = 2 [json_name = "sports"];- Specified by:
getSportsCountin interfaceListRequest.FilterOrBuilder- Returns:
- The count of sports.
-
getSports
public java.lang.String getSports(int index)
repeated string sports = 2 [json_name = "sports"];- Specified by:
getSportsin interfaceListRequest.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:
getSportsBytesin interfaceListRequest.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:
getCountriesListin interfaceListRequest.FilterOrBuilder- Returns:
- A list containing the countries.
-
getCountriesCount
public int getCountriesCount()
repeated string countries = 3 [json_name = "countries"];- Specified by:
getCountriesCountin interfaceListRequest.FilterOrBuilder- Returns:
- The count of countries.
-
getCountries
public java.lang.String getCountries(int index)
repeated string countries = 3 [json_name = "countries"];- Specified by:
getCountriesin interfaceListRequest.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:
getCountriesBytesin interfaceListRequest.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:
getLeaguesListin interfaceListRequest.FilterOrBuilder- Returns:
- A list containing the leagues.
-
getLeaguesCount
public int getLeaguesCount()
repeated string leagues = 4 [json_name = "leagues"];- Specified by:
getLeaguesCountin interfaceListRequest.FilterOrBuilder- Returns:
- The count of leagues.
-
getLeagues
public java.lang.String getLeagues(int index)
repeated string leagues = 4 [json_name = "leagues"];- Specified by:
getLeaguesin interfaceListRequest.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:
getLeaguesBytesin interfaceListRequest.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:
getAllowClosedMarketsin interfaceListRequest.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.
-
getAllowPast
public boolean getAllowPast()
bool allow_past = 6 [json_name = "allowPast"];- Specified by:
getAllowPastin interfaceListRequest.FilterOrBuilder- Returns:
- The allowPast.
-
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.
-
getSynced
public boolean getSynced()
bool synced = 7 [json_name = "synced"];- Specified by:
getSyncedin interfaceListRequest.FilterOrBuilder- Returns:
- The synced.
-
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.
-
getSince
public int getSince()
int32 since = 8 [json_name = "since"];- Specified by:
getSincein interfaceListRequest.FilterOrBuilder- Returns:
- The since.
-
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.
-
getTill
public int getTill()
int32 till = 9 [json_name = "till"];- Specified by:
getTillin interfaceListRequest.FilterOrBuilder- Returns:
- The till.
-
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:
getSportIdin interfaceListRequest.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.
-
getLeagueId
public long getLeagueId()
uint64 league_id = 11 [json_name = "leagueId"];- Specified by:
getLeagueIdin interfaceListRequest.FilterOrBuilder- Returns:
- The leagueId.
-
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.
-
getTeamId
public long getTeamId()
uint64 team_id = 12 [json_name = "teamId"];- Specified by:
getTeamIdin interfaceListRequest.FilterOrBuilder- Returns:
- The teamId.
-
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.
-
-