Interface GameOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    Game, Game.Builder

    public interface GameOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • 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.