Package com.streamlayer.inplay.common
Interface GameOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Game,Game.Builder
public interface GameOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompetitorgetAway().streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];EventTimegetEventTime()Time on event display (11:14 3rd)CompetitorgetHome().streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];java.lang.StringgetId()match id,com.google.protobuf.ByteStringgetIdBytes()match id,java.lang.StringgetLeague()name of a competitioncom.google.protobuf.ByteStringgetLeagueBytes()name of a competitionMarketgetMarkets(int index)list of markets i.e.intgetMarketsCount()list of markets i.e.java.util.List<Market>getMarketsList()list of markets i.e.java.lang.StringgetName()name of the game, generally is `<home> vs <away>`com.google.protobuf.ByteStringgetNameBytes()name of the game, generally is `<home> vs <away>`PeriodgetPeriods(int index)score by periodintgetPeriodsCount()score by periodjava.util.List<Period>getPeriodsList()score by periodjava.lang.StringgetScheduled()time when game starts in ISO8601 format, always in UTCcom.google.protobuf.ByteStringgetScheduledBytes()time when game starts in ISO8601 format, always in UTCintgetScheduledTimestamp()time when game starts represented in number of seconds since UNIX epochScoregetScore().streamlayer.inplay.common.Score score = 12 [json_name = "score"];java.lang.StringgetSport()string sport = 2 [json_name = "sport"];com.google.protobuf.ByteStringgetSportBytes()string sport = 2 [json_name = "sport"];GameStatusgetStatus().streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];intgetStatusValue().streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];booleanhasAway().streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];booleanhasEventTime()Time on event display (11:14 3rd)booleanhasHome().streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];booleanhasScore().streamlayer.inplay.common.Score score = 12 [json_name = "score"];
-
-
-
Method Detail
-
getId
java.lang.String getId()
match id,
string id = 1 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
match id,
string id = 1 [json_name = "id"];- Returns:
- The bytes for id.
-
getSport
java.lang.String getSport()
string sport = 2 [json_name = "sport"];- Returns:
- The sport.
-
getSportBytes
com.google.protobuf.ByteString getSportBytes()
string sport = 2 [json_name = "sport"];- Returns:
- The bytes for sport.
-
getScheduled
java.lang.String getScheduled()
time when game starts in ISO8601 format, always in UTC
string scheduled = 3 [json_name = "scheduled"];- Returns:
- The scheduled.
-
getScheduledBytes
com.google.protobuf.ByteString getScheduledBytes()
time when game starts in ISO8601 format, always in UTC
string scheduled = 3 [json_name = "scheduled"];- Returns:
- The bytes for scheduled.
-
getName
java.lang.String getName()
name of the game, generally is `<home> vs <away>`
string name = 4 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
name of the game, generally is `<home> vs <away>`
string name = 4 [json_name = "name"];- Returns:
- The bytes for name.
-
getLeague
java.lang.String getLeague()
name of a competition
string league = 5 [json_name = "league"];- Returns:
- The league.
-
getLeagueBytes
com.google.protobuf.ByteString getLeagueBytes()
name of a competition
string league = 5 [json_name = "league"];- Returns:
- The bytes for league.
-
hasHome
boolean hasHome()
.streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];- Returns:
- Whether the home field is set.
-
getHome
Competitor getHome()
.streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];- Returns:
- The home.
-
hasAway
boolean hasAway()
.streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];- Returns:
- Whether the away field is set.
-
getAway
Competitor getAway()
.streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];- Returns:
- The away.
-
getScheduledTimestamp
int getScheduledTimestamp()
time when game starts represented in number of seconds since UNIX epoch
int32 scheduled_timestamp = 8 [json_name = "scheduledTimestamp"];- Returns:
- The scheduledTimestamp.
-
getMarketsList
java.util.List<Market> getMarketsList()
list of markets i.e. betting opportunities
repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
-
getMarkets
Market getMarkets(int index)
list of markets i.e. betting opportunities
repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
-
getMarketsCount
int getMarketsCount()
list of markets i.e. betting opportunities
repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
-
getPeriodsList
java.util.List<Period> getPeriodsList()
score by period
repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
-
getPeriods
Period getPeriods(int index)
score by period
repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
-
getPeriodsCount
int getPeriodsCount()
score by period
repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
-
hasEventTime
boolean hasEventTime()
Time on event display (11:14 3rd)
.streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];- Returns:
- Whether the eventTime field is set.
-
getEventTime
EventTime getEventTime()
Time on event display (11:14 3rd)
.streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];- Returns:
- The eventTime.
-
hasScore
boolean hasScore()
.streamlayer.inplay.common.Score score = 12 [json_name = "score"];- Returns:
- Whether the score field is set.
-
getScore
Score getScore()
.streamlayer.inplay.common.Score score = 12 [json_name = "score"];- Returns:
- The score.
-
getStatusValue
int getStatusValue()
.streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
GameStatus getStatus()
.streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];- Returns:
- The status.
-
-