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;EventTimegetEventTime()Time on event display (11:14 3rd)CompetitorgetHome().streamlayer.inplay.common.Competitor home = 6;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;java.lang.StringgetSport()string sport = 2;com.google.protobuf.ByteStringgetSportBytes()string sport = 2;GameStatusgetStatus().streamlayer.inplay.common.GameStatus status = 13;intgetStatusValue().streamlayer.inplay.common.GameStatus status = 13;booleanhasAway().streamlayer.inplay.common.Competitor away = 7;booleanhasEventTime()Time on event display (11:14 3rd)booleanhasHome().streamlayer.inplay.common.Competitor home = 6;booleanhasScore().streamlayer.inplay.common.Score score = 12;
-
-
-
Method Detail
-
getId
java.lang.String getId()
match id,
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
match id,
string id = 1;- Returns:
- The bytes for id.
-
getSport
java.lang.String getSport()
string sport = 2;- Returns:
- The sport.
-
getSportBytes
com.google.protobuf.ByteString getSportBytes()
string sport = 2;- Returns:
- The bytes for sport.
-
getScheduled
java.lang.String getScheduled()
time when game starts in ISO8601 format, always in UTC
string scheduled = 3;- Returns:
- The scheduled.
-
getScheduledBytes
com.google.protobuf.ByteString getScheduledBytes()
time when game starts in ISO8601 format, always in UTC
string scheduled = 3;- Returns:
- The bytes for scheduled.
-
getName
java.lang.String getName()
name of the game, generally is `<home> vs <away>`
string name = 4;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
name of the game, generally is `<home> vs <away>`
string name = 4;- Returns:
- The bytes for name.
-
getLeague
java.lang.String getLeague()
name of a competition
string league = 5;- Returns:
- The league.
-
getLeagueBytes
com.google.protobuf.ByteString getLeagueBytes()
name of a competition
string league = 5;- Returns:
- The bytes for league.
-
hasHome
boolean hasHome()
.streamlayer.inplay.common.Competitor home = 6;- Returns:
- Whether the home field is set.
-
getHome
Competitor getHome()
.streamlayer.inplay.common.Competitor home = 6;- Returns:
- The home.
-
hasAway
boolean hasAway()
.streamlayer.inplay.common.Competitor away = 7;- Returns:
- Whether the away field is set.
-
getAway
Competitor getAway()
.streamlayer.inplay.common.Competitor away = 7;- Returns:
- The away.
-
getScheduledTimestamp
int getScheduledTimestamp()
time when game starts represented in number of seconds since UNIX epoch
int32 scheduled_timestamp = 8;- Returns:
- The scheduledTimestamp.
-
getMarketsList
java.util.List<Market> getMarketsList()
list of markets i.e. betting opportunities
repeated .streamlayer.inplay.common.Market markets = 9;
-
getMarkets
Market getMarkets(int index)
list of markets i.e. betting opportunities
repeated .streamlayer.inplay.common.Market markets = 9;
-
getMarketsCount
int getMarketsCount()
list of markets i.e. betting opportunities
repeated .streamlayer.inplay.common.Market markets = 9;
-
getPeriodsList
java.util.List<Period> getPeriodsList()
score by period
repeated .streamlayer.inplay.common.Period periods = 10;
-
getPeriods
Period getPeriods(int index)
score by period
repeated .streamlayer.inplay.common.Period periods = 10;
-
getPeriodsCount
int getPeriodsCount()
score by period
repeated .streamlayer.inplay.common.Period periods = 10;
-
hasEventTime
boolean hasEventTime()
Time on event display (11:14 3rd)
.streamlayer.inplay.common.EventTime event_time = 11;- Returns:
- Whether the eventTime field is set.
-
getEventTime
EventTime getEventTime()
Time on event display (11:14 3rd)
.streamlayer.inplay.common.EventTime event_time = 11;- Returns:
- The eventTime.
-
hasScore
boolean hasScore()
.streamlayer.inplay.common.Score score = 12;- Returns:
- Whether the score field is set.
-
getScore
Score getScore()
.streamlayer.inplay.common.Score score = 12;- Returns:
- The score.
-
getStatusValue
int getStatusValue()
.streamlayer.inplay.common.GameStatus status = 13;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
GameStatus getStatus()
.streamlayer.inplay.common.GameStatus status = 13;- Returns:
- The status.
-
-