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
      Competitor getAway()
      .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
      EventTime getEventTime()
      Time on event display (11:14 3rd)
      Competitor getHome()
      .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
      java.lang.String getId()
      match id,
      com.google.protobuf.ByteString getIdBytes()
      match id,
      java.lang.String getLeague()
      name of a competition
      com.google.protobuf.ByteString getLeagueBytes()
      name of a competition
      Market getMarkets​(int index)
      list of markets i.e.
      int getMarketsCount()
      list of markets i.e.
      java.util.List<Market> getMarketsList()
      list of markets i.e.
      java.lang.String getName()
      name of the game, generally is `<home> vs <away>`
      com.google.protobuf.ByteString getNameBytes()
      name of the game, generally is `<home> vs <away>`
      Period getPeriods​(int index)
      score by period
      int getPeriodsCount()
      score by period
      java.util.List<Period> getPeriodsList()
      score by period
      java.lang.String getScheduled()
      time when game starts in ISO8601 format, always in UTC
      com.google.protobuf.ByteString getScheduledBytes()
      time when game starts in ISO8601 format, always in UTC
      int getScheduledTimestamp()
      time when game starts represented in number of seconds since UNIX epoch
      Score getScore()
      .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
      java.lang.String getSport()
      string sport = 2 [json_name = "sport"];
      com.google.protobuf.ByteString getSportBytes()
      string sport = 2 [json_name = "sport"];
      GameStatus getStatus()
      .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
      int getStatusValue()
      .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
      boolean hasAway()
      .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
      boolean hasEventTime()
      Time on event display (11:14 3rd)
      boolean hasHome()
      .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
      boolean hasScore()
      .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • 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.