main.java.com.streamlayer.inplay.common.Game 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;
/**
* Protobuf type {@code streamlayer.inplay.common.Game}
*/
public final class Game extends
com.google.protobuf.GeneratedMessageLite<
Game, Game.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.inplay.common.Game)
GameOrBuilder {
private Game() {
id_ = "";
sport_ = "";
scheduled_ = "";
name_ = "";
league_ = "";
markets_ = emptyProtobufList();
periods_ = emptyProtobufList();
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
id_ = value;
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
*/
private void clearId() {
id_ = getDefaultInstance().getId();
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
id_ = value.toStringUtf8();
}
public static final int SPORT_FIELD_NUMBER = 2;
private java.lang.String sport_;
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
@java.lang.Override
public java.lang.String getSport() {
return sport_;
}
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSportBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sport_);
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The sport to set.
*/
private void setSport(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
sport_ = value;
}
/**
* string sport = 2 [json_name = "sport"];
*/
private void clearSport() {
sport_ = getDefaultInstance().getSport();
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The bytes for sport to set.
*/
private void setSportBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sport_ = value.toStringUtf8();
}
public static final int SCHEDULED_FIELD_NUMBER = 3;
private java.lang.String scheduled_;
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @return The scheduled.
*/
@java.lang.Override
public java.lang.String getScheduled() {
return scheduled_;
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @return The bytes for scheduled.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getScheduledBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(scheduled_);
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @param value The scheduled to set.
*/
private void setScheduled(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
scheduled_ = value;
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
*/
private void clearScheduled() {
scheduled_ = getDefaultInstance().getScheduled();
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @param value The bytes for scheduled to set.
*/
private void setScheduledBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
scheduled_ = value.toStringUtf8();
}
public static final int NAME_FIELD_NUMBER = 4;
private java.lang.String name_;
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
name_ = value;
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
*/
private void clearName() {
name_ = getDefaultInstance().getName();
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
name_ = value.toStringUtf8();
}
public static final int LEAGUE_FIELD_NUMBER = 5;
private java.lang.String league_;
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @return The league.
*/
@java.lang.Override
public java.lang.String getLeague() {
return league_;
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @return The bytes for league.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLeagueBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(league_);
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @param value The league to set.
*/
private void setLeague(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
league_ = value;
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
*/
private void clearLeague() {
league_ = getDefaultInstance().getLeague();
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @param value The bytes for league to set.
*/
private void setLeagueBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
league_ = value.toStringUtf8();
}
public static final int HOME_FIELD_NUMBER = 6;
private com.streamlayer.inplay.common.Competitor home_;
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
@java.lang.Override
public boolean hasHome() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Competitor getHome() {
return home_ == null ? com.streamlayer.inplay.common.Competitor.getDefaultInstance() : home_;
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
private void setHome(com.streamlayer.inplay.common.Competitor value) {
value.getClass();
home_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeHome(com.streamlayer.inplay.common.Competitor value) {
value.getClass();
if (home_ != null &&
home_ != com.streamlayer.inplay.common.Competitor.getDefaultInstance()) {
home_ =
com.streamlayer.inplay.common.Competitor.newBuilder(home_).mergeFrom(value).buildPartial();
} else {
home_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
private void clearHome() { home_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int AWAY_FIELD_NUMBER = 7;
private com.streamlayer.inplay.common.Competitor away_;
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
@java.lang.Override
public boolean hasAway() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Competitor getAway() {
return away_ == null ? com.streamlayer.inplay.common.Competitor.getDefaultInstance() : away_;
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
private void setAway(com.streamlayer.inplay.common.Competitor value) {
value.getClass();
away_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAway(com.streamlayer.inplay.common.Competitor value) {
value.getClass();
if (away_ != null &&
away_ != com.streamlayer.inplay.common.Competitor.getDefaultInstance()) {
away_ =
com.streamlayer.inplay.common.Competitor.newBuilder(away_).mergeFrom(value).buildPartial();
} else {
away_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
private void clearAway() { away_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int SCHEDULED_TIMESTAMP_FIELD_NUMBER = 8;
private int scheduledTimestamp_;
/**
*
* time when game starts represented in number of seconds since UNIX epoch
*
*
* int32 scheduled_timestamp = 8 [json_name = "scheduledTimestamp"];
* @return The scheduledTimestamp.
*/
@java.lang.Override
public int getScheduledTimestamp() {
return scheduledTimestamp_;
}
/**
*
* time when game starts represented in number of seconds since UNIX epoch
*
*
* int32 scheduled_timestamp = 8 [json_name = "scheduledTimestamp"];
* @param value The scheduledTimestamp to set.
*/
private void setScheduledTimestamp(int value) {
scheduledTimestamp_ = value;
}
/**
*
* time when game starts represented in number of seconds since UNIX epoch
*
*
* int32 scheduled_timestamp = 8 [json_name = "scheduledTimestamp"];
*/
private void clearScheduledTimestamp() {
scheduledTimestamp_ = 0;
}
public static final int MARKETS_FIELD_NUMBER = 9;
private com.google.protobuf.Internal.ProtobufList markets_;
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
@java.lang.Override
public java.util.List getMarketsList() {
return markets_;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public java.util.List extends com.streamlayer.inplay.common.MarketOrBuilder>
getMarketsOrBuilderList() {
return markets_;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
@java.lang.Override
public int getMarketsCount() {
return markets_.size();
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Market getMarkets(int index) {
return markets_.get(index);
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public com.streamlayer.inplay.common.MarketOrBuilder getMarketsOrBuilder(
int index) {
return markets_.get(index);
}
private void ensureMarketsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = markets_;
if (!tmp.isModifiable()) {
markets_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
private void setMarkets(
int index, com.streamlayer.inplay.common.Market value) {
value.getClass();
ensureMarketsIsMutable();
markets_.set(index, value);
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
private void addMarkets(com.streamlayer.inplay.common.Market value) {
value.getClass();
ensureMarketsIsMutable();
markets_.add(value);
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
private void addMarkets(
int index, com.streamlayer.inplay.common.Market value) {
value.getClass();
ensureMarketsIsMutable();
markets_.add(index, value);
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
private void addAllMarkets(
java.lang.Iterable extends com.streamlayer.inplay.common.Market> values) {
ensureMarketsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, markets_);
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
private void clearMarkets() {
markets_ = emptyProtobufList();
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
private void removeMarkets(int index) {
ensureMarketsIsMutable();
markets_.remove(index);
}
public static final int PERIODS_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.ProtobufList periods_;
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
@java.lang.Override
public java.util.List getPeriodsList() {
return periods_;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public java.util.List extends com.streamlayer.inplay.common.PeriodOrBuilder>
getPeriodsOrBuilderList() {
return periods_;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
@java.lang.Override
public int getPeriodsCount() {
return periods_.size();
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Period getPeriods(int index) {
return periods_.get(index);
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public com.streamlayer.inplay.common.PeriodOrBuilder getPeriodsOrBuilder(
int index) {
return periods_.get(index);
}
private void ensurePeriodsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = periods_;
if (!tmp.isModifiable()) {
periods_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
private void setPeriods(
int index, com.streamlayer.inplay.common.Period value) {
value.getClass();
ensurePeriodsIsMutable();
periods_.set(index, value);
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
private void addPeriods(com.streamlayer.inplay.common.Period value) {
value.getClass();
ensurePeriodsIsMutable();
periods_.add(value);
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
private void addPeriods(
int index, com.streamlayer.inplay.common.Period value) {
value.getClass();
ensurePeriodsIsMutable();
periods_.add(index, value);
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
private void addAllPeriods(
java.lang.Iterable extends com.streamlayer.inplay.common.Period> values) {
ensurePeriodsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, periods_);
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
private void clearPeriods() {
periods_ = emptyProtobufList();
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
private void removePeriods(int index) {
ensurePeriodsIsMutable();
periods_.remove(index);
}
public static final int EVENT_TIME_FIELD_NUMBER = 11;
private com.streamlayer.inplay.common.EventTime eventTime_;
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
@java.lang.Override
public boolean hasEventTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.EventTime getEventTime() {
return eventTime_ == null ? com.streamlayer.inplay.common.EventTime.getDefaultInstance() : eventTime_;
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
private void setEventTime(com.streamlayer.inplay.common.EventTime value) {
value.getClass();
eventTime_ = value;
bitField0_ |= 0x00000004;
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeEventTime(com.streamlayer.inplay.common.EventTime value) {
value.getClass();
if (eventTime_ != null &&
eventTime_ != com.streamlayer.inplay.common.EventTime.getDefaultInstance()) {
eventTime_ =
com.streamlayer.inplay.common.EventTime.newBuilder(eventTime_).mergeFrom(value).buildPartial();
} else {
eventTime_ = value;
}
bitField0_ |= 0x00000004;
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
private void clearEventTime() { eventTime_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int SCORE_FIELD_NUMBER = 12;
private com.streamlayer.inplay.common.Score score_;
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
@java.lang.Override
public boolean hasScore() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Score getScore() {
return score_ == null ? com.streamlayer.inplay.common.Score.getDefaultInstance() : score_;
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
private void setScore(com.streamlayer.inplay.common.Score value) {
value.getClass();
score_ = value;
bitField0_ |= 0x00000008;
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeScore(com.streamlayer.inplay.common.Score value) {
value.getClass();
if (score_ != null &&
score_ != com.streamlayer.inplay.common.Score.getDefaultInstance()) {
score_ =
com.streamlayer.inplay.common.Score.newBuilder(score_).mergeFrom(value).buildPartial();
} else {
score_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
private void clearScore() { score_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int STATUS_FIELD_NUMBER = 13;
private int status_;
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
public int getStatusValue() {
return status_;
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @return The status.
*/
@java.lang.Override
public com.streamlayer.inplay.common.GameStatus getStatus() {
com.streamlayer.inplay.common.GameStatus result = com.streamlayer.inplay.common.GameStatus.forNumber(status_);
return result == null ? com.streamlayer.inplay.common.GameStatus.UNRECOGNIZED : result;
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @param value The enum numeric value on the wire for status to set.
*/
private void setStatusValue(int value) {
status_ = value;
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @param value The status to set.
*/
private void setStatus(com.streamlayer.inplay.common.GameStatus value) {
status_ = value.getNumber();
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
*/
private void clearStatus() {
status_ = 0;
}
public static com.streamlayer.inplay.common.Game parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.common.Game parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.inplay.common.Game parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.common.Game parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.inplay.common.Game parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.common.Game parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.inplay.common.Game parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.common.Game parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.inplay.common.Game parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.common.Game parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.inplay.common.Game parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.common.Game parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.inplay.common.Game prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.inplay.common.Game}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.inplay.common.Game, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.inplay.common.Game)
com.streamlayer.inplay.common.GameOrBuilder {
// Construct using com.streamlayer.inplay.common.Game.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
*
* match id,
*
*
* string id = 1 [json_name = "id"];
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
@java.lang.Override
public java.lang.String getSport() {
return instance.getSport();
}
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSportBytes() {
return instance.getSportBytes();
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The sport to set.
* @return This builder for chaining.
*/
public Builder setSport(
java.lang.String value) {
copyOnWrite();
instance.setSport(value);
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @return This builder for chaining.
*/
public Builder clearSport() {
copyOnWrite();
instance.clearSport();
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The bytes for sport to set.
* @return This builder for chaining.
*/
public Builder setSportBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSportBytes(value);
return this;
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @return The scheduled.
*/
@java.lang.Override
public java.lang.String getScheduled() {
return instance.getScheduled();
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @return The bytes for scheduled.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getScheduledBytes() {
return instance.getScheduledBytes();
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @param value The scheduled to set.
* @return This builder for chaining.
*/
public Builder setScheduled(
java.lang.String value) {
copyOnWrite();
instance.setScheduled(value);
return this;
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @return This builder for chaining.
*/
public Builder clearScheduled() {
copyOnWrite();
instance.clearScheduled();
return this;
}
/**
*
* time when game starts in ISO8601 format, always in UTC
*
*
* string scheduled = 3 [json_name = "scheduled"];
* @param value The bytes for scheduled to set.
* @return This builder for chaining.
*/
public Builder setScheduledBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setScheduledBytes(value);
return this;
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
*
* name of the game, generally is `<home> vs <away>`
*
*
* string name = 4 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @return The league.
*/
@java.lang.Override
public java.lang.String getLeague() {
return instance.getLeague();
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @return The bytes for league.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLeagueBytes() {
return instance.getLeagueBytes();
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @param value The league to set.
* @return This builder for chaining.
*/
public Builder setLeague(
java.lang.String value) {
copyOnWrite();
instance.setLeague(value);
return this;
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @return This builder for chaining.
*/
public Builder clearLeague() {
copyOnWrite();
instance.clearLeague();
return this;
}
/**
*
* name of a competition
*
*
* string league = 5 [json_name = "league"];
* @param value The bytes for league to set.
* @return This builder for chaining.
*/
public Builder setLeagueBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLeagueBytes(value);
return this;
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
@java.lang.Override
public boolean hasHome() {
return instance.hasHome();
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Competitor getHome() {
return instance.getHome();
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
public Builder setHome(com.streamlayer.inplay.common.Competitor value) {
copyOnWrite();
instance.setHome(value);
return this;
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
public Builder setHome(
com.streamlayer.inplay.common.Competitor.Builder builderForValue) {
copyOnWrite();
instance.setHome(builderForValue.build());
return this;
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
public Builder mergeHome(com.streamlayer.inplay.common.Competitor value) {
copyOnWrite();
instance.mergeHome(value);
return this;
}
/**
* .streamlayer.inplay.common.Competitor home = 6 [json_name = "home"];
*/
public Builder clearHome() { copyOnWrite();
instance.clearHome();
return this;
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
@java.lang.Override
public boolean hasAway() {
return instance.hasAway();
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Competitor getAway() {
return instance.getAway();
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
public Builder setAway(com.streamlayer.inplay.common.Competitor value) {
copyOnWrite();
instance.setAway(value);
return this;
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
public Builder setAway(
com.streamlayer.inplay.common.Competitor.Builder builderForValue) {
copyOnWrite();
instance.setAway(builderForValue.build());
return this;
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
public Builder mergeAway(com.streamlayer.inplay.common.Competitor value) {
copyOnWrite();
instance.mergeAway(value);
return this;
}
/**
* .streamlayer.inplay.common.Competitor away = 7 [json_name = "away"];
*/
public Builder clearAway() { copyOnWrite();
instance.clearAway();
return this;
}
/**
*
* time when game starts represented in number of seconds since UNIX epoch
*
*
* int32 scheduled_timestamp = 8 [json_name = "scheduledTimestamp"];
* @return The scheduledTimestamp.
*/
@java.lang.Override
public int getScheduledTimestamp() {
return instance.getScheduledTimestamp();
}
/**
*
* time when game starts represented in number of seconds since UNIX epoch
*
*
* int32 scheduled_timestamp = 8 [json_name = "scheduledTimestamp"];
* @param value The scheduledTimestamp to set.
* @return This builder for chaining.
*/
public Builder setScheduledTimestamp(int value) {
copyOnWrite();
instance.setScheduledTimestamp(value);
return this;
}
/**
*
* time when game starts represented in number of seconds since UNIX epoch
*
*
* int32 scheduled_timestamp = 8 [json_name = "scheduledTimestamp"];
* @return This builder for chaining.
*/
public Builder clearScheduledTimestamp() {
copyOnWrite();
instance.clearScheduledTimestamp();
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
@java.lang.Override
public java.util.List getMarketsList() {
return java.util.Collections.unmodifiableList(
instance.getMarketsList());
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
@java.lang.Override
public int getMarketsCount() {
return instance.getMarketsCount();
}/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Market getMarkets(int index) {
return instance.getMarkets(index);
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder setMarkets(
int index, com.streamlayer.inplay.common.Market value) {
copyOnWrite();
instance.setMarkets(index, value);
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder setMarkets(
int index, com.streamlayer.inplay.common.Market.Builder builderForValue) {
copyOnWrite();
instance.setMarkets(index,
builderForValue.build());
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder addMarkets(com.streamlayer.inplay.common.Market value) {
copyOnWrite();
instance.addMarkets(value);
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder addMarkets(
int index, com.streamlayer.inplay.common.Market value) {
copyOnWrite();
instance.addMarkets(index, value);
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder addMarkets(
com.streamlayer.inplay.common.Market.Builder builderForValue) {
copyOnWrite();
instance.addMarkets(builderForValue.build());
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder addMarkets(
int index, com.streamlayer.inplay.common.Market.Builder builderForValue) {
copyOnWrite();
instance.addMarkets(index,
builderForValue.build());
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder addAllMarkets(
java.lang.Iterable extends com.streamlayer.inplay.common.Market> values) {
copyOnWrite();
instance.addAllMarkets(values);
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder clearMarkets() {
copyOnWrite();
instance.clearMarkets();
return this;
}
/**
*
* list of markets i.e. betting opportunities
*
*
* repeated .streamlayer.inplay.common.Market markets = 9 [json_name = "markets"];
*/
public Builder removeMarkets(int index) {
copyOnWrite();
instance.removeMarkets(index);
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
@java.lang.Override
public java.util.List getPeriodsList() {
return java.util.Collections.unmodifiableList(
instance.getPeriodsList());
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
@java.lang.Override
public int getPeriodsCount() {
return instance.getPeriodsCount();
}/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Period getPeriods(int index) {
return instance.getPeriods(index);
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder setPeriods(
int index, com.streamlayer.inplay.common.Period value) {
copyOnWrite();
instance.setPeriods(index, value);
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder setPeriods(
int index, com.streamlayer.inplay.common.Period.Builder builderForValue) {
copyOnWrite();
instance.setPeriods(index,
builderForValue.build());
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder addPeriods(com.streamlayer.inplay.common.Period value) {
copyOnWrite();
instance.addPeriods(value);
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder addPeriods(
int index, com.streamlayer.inplay.common.Period value) {
copyOnWrite();
instance.addPeriods(index, value);
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder addPeriods(
com.streamlayer.inplay.common.Period.Builder builderForValue) {
copyOnWrite();
instance.addPeriods(builderForValue.build());
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder addPeriods(
int index, com.streamlayer.inplay.common.Period.Builder builderForValue) {
copyOnWrite();
instance.addPeriods(index,
builderForValue.build());
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder addAllPeriods(
java.lang.Iterable extends com.streamlayer.inplay.common.Period> values) {
copyOnWrite();
instance.addAllPeriods(values);
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder clearPeriods() {
copyOnWrite();
instance.clearPeriods();
return this;
}
/**
*
* score by period
*
*
* repeated .streamlayer.inplay.common.Period periods = 10 [json_name = "periods"];
*/
public Builder removePeriods(int index) {
copyOnWrite();
instance.removePeriods(index);
return this;
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
@java.lang.Override
public boolean hasEventTime() {
return instance.hasEventTime();
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.EventTime getEventTime() {
return instance.getEventTime();
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
public Builder setEventTime(com.streamlayer.inplay.common.EventTime value) {
copyOnWrite();
instance.setEventTime(value);
return this;
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
public Builder setEventTime(
com.streamlayer.inplay.common.EventTime.Builder builderForValue) {
copyOnWrite();
instance.setEventTime(builderForValue.build());
return this;
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
public Builder mergeEventTime(com.streamlayer.inplay.common.EventTime value) {
copyOnWrite();
instance.mergeEventTime(value);
return this;
}
/**
*
* Time on event display (11:14 3rd)
*
*
* .streamlayer.inplay.common.EventTime event_time = 11 [json_name = "eventTime"];
*/
public Builder clearEventTime() { copyOnWrite();
instance.clearEventTime();
return this;
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
@java.lang.Override
public boolean hasScore() {
return instance.hasScore();
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
@java.lang.Override
public com.streamlayer.inplay.common.Score getScore() {
return instance.getScore();
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
public Builder setScore(com.streamlayer.inplay.common.Score value) {
copyOnWrite();
instance.setScore(value);
return this;
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
public Builder setScore(
com.streamlayer.inplay.common.Score.Builder builderForValue) {
copyOnWrite();
instance.setScore(builderForValue.build());
return this;
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
public Builder mergeScore(com.streamlayer.inplay.common.Score value) {
copyOnWrite();
instance.mergeScore(value);
return this;
}
/**
* .streamlayer.inplay.common.Score score = 12 [json_name = "score"];
*/
public Builder clearScore() { copyOnWrite();
instance.clearScore();
return this;
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
public int getStatusValue() {
return instance.getStatusValue();
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
copyOnWrite();
instance.setStatusValue(value);
return this;
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @return The status.
*/
@java.lang.Override
public com.streamlayer.inplay.common.GameStatus getStatus() {
return instance.getStatus();
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.streamlayer.inplay.common.GameStatus value) {
copyOnWrite();
instance.setStatus(value);
return this;
}
/**
* .streamlayer.inplay.common.GameStatus status = 13 [json_name = "status"];
* @return This builder for chaining.
*/
public Builder clearStatus() {
copyOnWrite();
instance.clearStatus();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.inplay.common.Game)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.inplay.common.Game();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"sport_",
"scheduled_",
"name_",
"league_",
"home_",
"away_",
"scheduledTimestamp_",
"markets_",
com.streamlayer.inplay.common.Market.class,
"periods_",
com.streamlayer.inplay.common.Period.class,
"eventTime_",
"score_",
"status_",
};
java.lang.String info =
"\u0000\r\u0000\u0001\u0001\r\r\u0000\u0002\u0000\u0001\u0208\u0002\u0208\u0003\u0208" +
"\u0004\u0208\u0005\u0208\u0006\u1009\u0000\u0007\u1009\u0001\b\u0004\t\u001b\n\u001b" +
"\u000b\u1009\u0002\f\u1009\u0003\r\f";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.inplay.common.Game.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.inplay.common.Game)
private static final com.streamlayer.inplay.common.Game DEFAULT_INSTANCE;
static {
Game defaultInstance = new Game();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Game.class, defaultInstance);
}
public static com.streamlayer.inplay.common.Game getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}