main.java.com.streamlayer.sports.common.EventOrBuilder 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/sports/sports_common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.common;
public interface EventOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.Event)
com.google.protobuf.MessageLiteOrBuilder {
/**
* uint64 id = 1 [json_name = "id"];
* @return The id.
*/
long getId();
/**
* string custom_fields = 2 [json_name = "customFields"];
* @return The customFields.
*/
java.lang.String getCustomFields();
/**
* string custom_fields = 2 [json_name = "customFields"];
* @return The bytes for customFields.
*/
com.google.protobuf.ByteString
getCustomFieldsBytes();
/**
* uint64 league_id = 3 [json_name = "leagueId"];
* @return The leagueId.
*/
long getLeagueId();
/**
* uint64 season_id = 4 [json_name = "seasonId"];
* @return The seasonId.
*/
long getSeasonId();
/**
* uint64 home_team_id = 5 [json_name = "homeTeamId"];
* @return The homeTeamId.
*/
long getHomeTeamId();
/**
* uint64 away_team_id = 6 [json_name = "awayTeamId"];
* @return The awayTeamId.
*/
long getAwayTeamId();
/**
* uint64 winner_team_id = 7 [json_name = "winnerTeamId"];
* @return The winnerTeamId.
*/
long getWinnerTeamId();
/**
* string scheduled = 8 [json_name = "scheduled"];
* @return The scheduled.
*/
java.lang.String getScheduled();
/**
* string scheduled = 8 [json_name = "scheduled"];
* @return The bytes for scheduled.
*/
com.google.protobuf.ByteString
getScheduledBytes();
/**
* int32 score_home = 9 [json_name = "scoreHome"];
* @return The scoreHome.
*/
int getScoreHome();
/**
* int32 score_away = 10 [json_name = "scoreAway"];
* @return The scoreAway.
*/
int getScoreAway();
/**
* .streamlayer.sports.Venue venue = 11 [json_name = "venue"];
* @return Whether the venue field is set.
*/
boolean hasVenue();
/**
* .streamlayer.sports.Venue venue = 11 [json_name = "venue"];
* @return The venue.
*/
com.streamlayer.sports.common.Venue getVenue();
/**
* .streamlayer.sports.EventTime event_time = 12 [json_name = "eventTime"];
* @return Whether the eventTime field is set.
*/
boolean hasEventTime();
/**
* .streamlayer.sports.EventTime event_time = 12 [json_name = "eventTime"];
* @return The eventTime.
*/
com.streamlayer.sports.common.EventTime getEventTime();
/**
* .streamlayer.sports.EventStatus status = 13 [json_name = "status"];
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
* .streamlayer.sports.EventStatus status = 13 [json_name = "status"];
* @return The status.
*/
com.streamlayer.sports.common.EventStatus getStatus();
/**
* repeated .streamlayer.sports.EventPeriod periods = 14 [json_name = "periods"];
*/
java.util.List
getPeriodsList();
/**
* repeated .streamlayer.sports.EventPeriod periods = 14 [json_name = "periods"];
*/
com.streamlayer.sports.common.EventPeriod getPeriods(int index);
/**
* repeated .streamlayer.sports.EventPeriod periods = 14 [json_name = "periods"];
*/
int getPeriodsCount();
/**
* string start_time = 15 [json_name = "startTime"];
* @return The startTime.
*/
java.lang.String getStartTime();
/**
* string start_time = 15 [json_name = "startTime"];
* @return The bytes for startTime.
*/
com.google.protobuf.ByteString
getStartTimeBytes();
/**
* string end_time = 16 [json_name = "endTime"];
* @return The endTime.
*/
java.lang.String getEndTime();
/**
* string end_time = 16 [json_name = "endTime"];
* @return The bytes for endTime.
*/
com.google.protobuf.ByteString
getEndTimeBytes();
/**
* .streamlayer.sports.EventEndless endless = 17 [json_name = "endless"];
* @return The enum numeric value on the wire for endless.
*/
int getEndlessValue();
/**
* .streamlayer.sports.EventEndless endless = 17 [json_name = "endless"];
* @return The endless.
*/
com.streamlayer.sports.common.EventEndless getEndless();
}