Package com.streamlayer.inplay.markets
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.markets.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.markets.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.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.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 = 4 [json_name = "allowClosedMarkets"];ListRequest.Filter.BuilderclearCountries()repeated string countries = 3 [json_name = "countries"];ListRequest.Filter.BuilderclearGames()repeated string games = 1 [json_name = "games"];ListRequest.Filter.BuilderclearSports()repeated string sports = 2 [json_name = "sports"];booleangetAllowClosedMarkets()bool allow_closed_markets = 4 [json_name = "allowClosedMarkets"];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"];java.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"];ListRequest.Filter.BuildersetAllowClosedMarkets(boolean value)bool allow_closed_markets = 4 [json_name = "allowClosedMarkets"];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.BuildersetSports(int index, java.lang.String value)repeated string sports = 2 [json_name = "sports"];-
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.
-
getAllowClosedMarkets
public boolean getAllowClosedMarkets()
bool allow_closed_markets = 4 [json_name = "allowClosedMarkets"];- Specified by:
getAllowClosedMarketsin interfaceListRequest.FilterOrBuilder- Returns:
- The allowClosedMarkets.
-
setAllowClosedMarkets
public ListRequest.Filter.Builder setAllowClosedMarkets(boolean value)
bool allow_closed_markets = 4 [json_name = "allowClosedMarkets"];- Parameters:
value- The allowClosedMarkets to set.- Returns:
- This builder for chaining.
-
clearAllowClosedMarkets
public ListRequest.Filter.Builder clearAllowClosedMarkets()
bool allow_closed_markets = 4 [json_name = "allowClosedMarkets"];- Returns:
- This builder for chaining.
-
-