main.java.com.streamlayer.inplay.common.GameOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/inplay/common/inplay.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.inplay.common;
public interface GameOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.inplay.common.Game)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @return The id.
*/
java.lang.String getId();
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
java.lang.String getSport();
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
com.google.protobuf.ByteString
getSportBytes();
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @return The scheduled.
*/
java.lang.String getScheduled();
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @return The bytes for scheduled.
*/
com.google.protobuf.ByteString
getScheduledBytes();
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @return The league.
*/
java.lang.String getLeague();
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @return The bytes for league.
*/
com.google.protobuf.ByteString
getLeagueBytes();
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
* @return Whether the home field is set.
*/
boolean hasHome();
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
* @return The home.
*/
com.streamlayer.inplay.common.Competitor getHome();
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
* @return Whether the away field is set.
*/
boolean hasAway();
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
* @return The away.
*/
com.streamlayer.inplay.common.Competitor getAway();
/**
*
* time when game starts represented in number of seconds since UNIX epoch
*
*
* int32 scheduled_timestamp = 8 [json_name = "scheduledTimestamp"];
* @return The scheduledTimestamp.
*/
int getScheduledTimestamp();
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
java.util.List
getMarketsList();
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
com.streamlayer.inplay.common.Market getMarkets(int index);
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
int getMarketsCount();
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
java.util.List
getPeriodsList();
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
com.streamlayer.inplay.common.Period getPeriods(int index);
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
int getPeriodsCount();
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
* @return Whether the eventTime field is set.
*/
boolean hasEventTime();
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
* @return The eventTime.
*/
com.streamlayer.inplay.common.EventTime getEventTime();
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
* @return Whether the score field is set.
*/
boolean hasScore();
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
* @return The score.
*/
com.streamlayer.inplay.common.Score getScore();
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @return The status.
*/
com.streamlayer.inplay.common.GameStatus getStatus();
}