main.java.com.streamlayer.sports.soccer.SoccerLastGame 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/soccer/soccer.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.soccer;
/**
* Protobuf type {@code streamlayer.sports.soccer.SoccerLastGame}
*/
public final class SoccerLastGame extends
com.google.protobuf.GeneratedMessageLite<
SoccerLastGame, SoccerLastGame.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.soccer.SoccerLastGame)
SoccerLastGameOrBuilder {
private SoccerLastGame() {
}
public interface SoccerLastGameAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string league = 1 [json_name = "league"];
* @return The league.
*/
java.lang.String getLeague();
/**
* string league = 1 [json_name = "league"];
* @return The bytes for league.
*/
com.google.protobuf.ByteString
getLeagueBytes();
/**
* string home_team = 2 [json_name = "homeTeam"];
* @return The homeTeam.
*/
java.lang.String getHomeTeam();
/**
* string home_team = 2 [json_name = "homeTeam"];
* @return The bytes for homeTeam.
*/
com.google.protobuf.ByteString
getHomeTeamBytes();
/**
* string away_team = 3 [json_name = "awayTeam"];
* @return The awayTeam.
*/
java.lang.String getAwayTeam();
/**
* string away_team = 3 [json_name = "awayTeam"];
* @return The bytes for awayTeam.
*/
com.google.protobuf.ByteString
getAwayTeamBytes();
/**
* int32 home_score = 5 [json_name = "homeScore"];
* @return The homeScore.
*/
int getHomeScore();
/**
* int32 away_score = 6 [json_name = "awayScore"];
* @return The awayScore.
*/
int getAwayScore();
/**
* string date = 7 [json_name = "date"];
* @return The date.
*/
java.lang.String getDate();
/**
* string date = 7 [json_name = "date"];
* @return The bytes for date.
*/
com.google.protobuf.ByteString
getDateBytes();
}
/**
* Protobuf type {@code streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes}
*/
public static final class SoccerLastGameAttributes extends
com.google.protobuf.GeneratedMessageLite<
SoccerLastGameAttributes, SoccerLastGameAttributes.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes)
SoccerLastGameAttributesOrBuilder {
private SoccerLastGameAttributes() {
league_ = "";
homeTeam_ = "";
awayTeam_ = "";
date_ = "";
}
public static final int LEAGUE_FIELD_NUMBER = 1;
private java.lang.String league_;
/**
* string league = 1 [json_name = "league"];
* @return The league.
*/
@java.lang.Override
public java.lang.String getLeague() {
return league_;
}
/**
* string league = 1 [json_name = "league"];
* @return The bytes for league.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLeagueBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(league_);
}
/**
* string league = 1 [json_name = "league"];
* @param value The league to set.
*/
private void setLeague(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
league_ = value;
}
/**
* string league = 1 [json_name = "league"];
*/
private void clearLeague() {
league_ = getDefaultInstance().getLeague();
}
/**
* string league = 1 [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_TEAM_FIELD_NUMBER = 2;
private java.lang.String homeTeam_;
/**
* string home_team = 2 [json_name = "homeTeam"];
* @return The homeTeam.
*/
@java.lang.Override
public java.lang.String getHomeTeam() {
return homeTeam_;
}
/**
* string home_team = 2 [json_name = "homeTeam"];
* @return The bytes for homeTeam.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHomeTeamBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(homeTeam_);
}
/**
* string home_team = 2 [json_name = "homeTeam"];
* @param value The homeTeam to set.
*/
private void setHomeTeam(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
homeTeam_ = value;
}
/**
* string home_team = 2 [json_name = "homeTeam"];
*/
private void clearHomeTeam() {
homeTeam_ = getDefaultInstance().getHomeTeam();
}
/**
* string home_team = 2 [json_name = "homeTeam"];
* @param value The bytes for homeTeam to set.
*/
private void setHomeTeamBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
homeTeam_ = value.toStringUtf8();
}
public static final int AWAY_TEAM_FIELD_NUMBER = 3;
private java.lang.String awayTeam_;
/**
* string away_team = 3 [json_name = "awayTeam"];
* @return The awayTeam.
*/
@java.lang.Override
public java.lang.String getAwayTeam() {
return awayTeam_;
}
/**
* string away_team = 3 [json_name = "awayTeam"];
* @return The bytes for awayTeam.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAwayTeamBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(awayTeam_);
}
/**
* string away_team = 3 [json_name = "awayTeam"];
* @param value The awayTeam to set.
*/
private void setAwayTeam(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
awayTeam_ = value;
}
/**
* string away_team = 3 [json_name = "awayTeam"];
*/
private void clearAwayTeam() {
awayTeam_ = getDefaultInstance().getAwayTeam();
}
/**
* string away_team = 3 [json_name = "awayTeam"];
* @param value The bytes for awayTeam to set.
*/
private void setAwayTeamBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
awayTeam_ = value.toStringUtf8();
}
public static final int HOME_SCORE_FIELD_NUMBER = 5;
private int homeScore_;
/**
* int32 home_score = 5 [json_name = "homeScore"];
* @return The homeScore.
*/
@java.lang.Override
public int getHomeScore() {
return homeScore_;
}
/**
* int32 home_score = 5 [json_name = "homeScore"];
* @param value The homeScore to set.
*/
private void setHomeScore(int value) {
homeScore_ = value;
}
/**
* int32 home_score = 5 [json_name = "homeScore"];
*/
private void clearHomeScore() {
homeScore_ = 0;
}
public static final int AWAY_SCORE_FIELD_NUMBER = 6;
private int awayScore_;
/**
* int32 away_score = 6 [json_name = "awayScore"];
* @return The awayScore.
*/
@java.lang.Override
public int getAwayScore() {
return awayScore_;
}
/**
* int32 away_score = 6 [json_name = "awayScore"];
* @param value The awayScore to set.
*/
private void setAwayScore(int value) {
awayScore_ = value;
}
/**
* int32 away_score = 6 [json_name = "awayScore"];
*/
private void clearAwayScore() {
awayScore_ = 0;
}
public static final int DATE_FIELD_NUMBER = 7;
private java.lang.String date_;
/**
* string date = 7 [json_name = "date"];
* @return The date.
*/
@java.lang.Override
public java.lang.String getDate() {
return date_;
}
/**
* string date = 7 [json_name = "date"];
* @return The bytes for date.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDateBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(date_);
}
/**
* string date = 7 [json_name = "date"];
* @param value The date to set.
*/
private void setDate(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
date_ = value;
}
/**
* string date = 7 [json_name = "date"];
*/
private void clearDate() {
date_ = getDefaultInstance().getDate();
}
/**
* string date = 7 [json_name = "date"];
* @param value The bytes for date to set.
*/
private void setDateBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
date_ = value.toStringUtf8();
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes 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.sports.soccer.SoccerLastGame.SoccerLastGameAttributes parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes 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.sports.soccer.SoccerLastGame.SoccerLastGameAttributes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes 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.sports.soccer.SoccerLastGame.SoccerLastGameAttributes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes 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.sports.soccer.SoccerLastGame.SoccerLastGameAttributes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes 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.sports.soccer.SoccerLastGame.SoccerLastGameAttributes prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes)
com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributesOrBuilder {
// Construct using com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string league = 1 [json_name = "league"];
* @return The league.
*/
@java.lang.Override
public java.lang.String getLeague() {
return instance.getLeague();
}
/**
* string league = 1 [json_name = "league"];
* @return The bytes for league.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLeagueBytes() {
return instance.getLeagueBytes();
}
/**
* string league = 1 [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;
}
/**
* string league = 1 [json_name = "league"];
* @return This builder for chaining.
*/
public Builder clearLeague() {
copyOnWrite();
instance.clearLeague();
return this;
}
/**
* string league = 1 [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;
}
/**
* string home_team = 2 [json_name = "homeTeam"];
* @return The homeTeam.
*/
@java.lang.Override
public java.lang.String getHomeTeam() {
return instance.getHomeTeam();
}
/**
* string home_team = 2 [json_name = "homeTeam"];
* @return The bytes for homeTeam.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHomeTeamBytes() {
return instance.getHomeTeamBytes();
}
/**
* string home_team = 2 [json_name = "homeTeam"];
* @param value The homeTeam to set.
* @return This builder for chaining.
*/
public Builder setHomeTeam(
java.lang.String value) {
copyOnWrite();
instance.setHomeTeam(value);
return this;
}
/**
* string home_team = 2 [json_name = "homeTeam"];
* @return This builder for chaining.
*/
public Builder clearHomeTeam() {
copyOnWrite();
instance.clearHomeTeam();
return this;
}
/**
* string home_team = 2 [json_name = "homeTeam"];
* @param value The bytes for homeTeam to set.
* @return This builder for chaining.
*/
public Builder setHomeTeamBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHomeTeamBytes(value);
return this;
}
/**
* string away_team = 3 [json_name = "awayTeam"];
* @return The awayTeam.
*/
@java.lang.Override
public java.lang.String getAwayTeam() {
return instance.getAwayTeam();
}
/**
* string away_team = 3 [json_name = "awayTeam"];
* @return The bytes for awayTeam.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAwayTeamBytes() {
return instance.getAwayTeamBytes();
}
/**
* string away_team = 3 [json_name = "awayTeam"];
* @param value The awayTeam to set.
* @return This builder for chaining.
*/
public Builder setAwayTeam(
java.lang.String value) {
copyOnWrite();
instance.setAwayTeam(value);
return this;
}
/**
* string away_team = 3 [json_name = "awayTeam"];
* @return This builder for chaining.
*/
public Builder clearAwayTeam() {
copyOnWrite();
instance.clearAwayTeam();
return this;
}
/**
* string away_team = 3 [json_name = "awayTeam"];
* @param value The bytes for awayTeam to set.
* @return This builder for chaining.
*/
public Builder setAwayTeamBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAwayTeamBytes(value);
return this;
}
/**
* int32 home_score = 5 [json_name = "homeScore"];
* @return The homeScore.
*/
@java.lang.Override
public int getHomeScore() {
return instance.getHomeScore();
}
/**
* int32 home_score = 5 [json_name = "homeScore"];
* @param value The homeScore to set.
* @return This builder for chaining.
*/
public Builder setHomeScore(int value) {
copyOnWrite();
instance.setHomeScore(value);
return this;
}
/**
* int32 home_score = 5 [json_name = "homeScore"];
* @return This builder for chaining.
*/
public Builder clearHomeScore() {
copyOnWrite();
instance.clearHomeScore();
return this;
}
/**
* int32 away_score = 6 [json_name = "awayScore"];
* @return The awayScore.
*/
@java.lang.Override
public int getAwayScore() {
return instance.getAwayScore();
}
/**
* int32 away_score = 6 [json_name = "awayScore"];
* @param value The awayScore to set.
* @return This builder for chaining.
*/
public Builder setAwayScore(int value) {
copyOnWrite();
instance.setAwayScore(value);
return this;
}
/**
* int32 away_score = 6 [json_name = "awayScore"];
* @return This builder for chaining.
*/
public Builder clearAwayScore() {
copyOnWrite();
instance.clearAwayScore();
return this;
}
/**
* string date = 7 [json_name = "date"];
* @return The date.
*/
@java.lang.Override
public java.lang.String getDate() {
return instance.getDate();
}
/**
* string date = 7 [json_name = "date"];
* @return The bytes for date.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDateBytes() {
return instance.getDateBytes();
}
/**
* string date = 7 [json_name = "date"];
* @param value The date to set.
* @return This builder for chaining.
*/
public Builder setDate(
java.lang.String value) {
copyOnWrite();
instance.setDate(value);
return this;
}
/**
* string date = 7 [json_name = "date"];
* @return This builder for chaining.
*/
public Builder clearDate() {
copyOnWrite();
instance.clearDate();
return this;
}
/**
* string date = 7 [json_name = "date"];
* @param value The bytes for date to set.
* @return This builder for chaining.
*/
public Builder setDateBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDateBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes)
}
@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.sports.soccer.SoccerLastGame.SoccerLastGameAttributes();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"league_",
"homeTeam_",
"awayTeam_",
"homeScore_",
"awayScore_",
"date_",
};
java.lang.String info =
"\u0000\u0006\u0000\u0000\u0001\u0007\u0006\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208\u0005\u0004\u0006\u0004\u0007\u0208";
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.sports.soccer.SoccerLastGame.SoccerLastGameAttributes.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.sports.soccer.SoccerLastGame.SoccerLastGameAttributes)
private static final com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes DEFAULT_INSTANCE;
static {
SoccerLastGameAttributes defaultInstance = new SoccerLastGameAttributes();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SoccerLastGameAttributes.class, defaultInstance);
}
public static com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* uint64 id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* uint64 id = 1 [json_name = "id"];
* @param value The id to set.
*/
private void setId(long value) {
id_ = value;
}
/**
* uint64 id = 1 [json_name = "id"];
*/
private void clearId() {
id_ = 0L;
}
public static final int ATTRIBUTES_FIELD_NUMBER = 2;
private com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes_;
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes getAttributes() {
return attributes_ == null ? com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes.getDefaultInstance() : attributes_;
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
private void setAttributes(com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes value) {
value.getClass();
attributes_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAttributes(com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes value) {
value.getClass();
if (attributes_ != null &&
attributes_ != com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes.getDefaultInstance()) {
attributes_ =
com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
private void clearAttributes() { attributes_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.soccer.SoccerLastGame parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerLastGame 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.sports.soccer.SoccerLastGame parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerLastGame 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.sports.soccer.SoccerLastGame parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.soccer.SoccerLastGame 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.sports.soccer.SoccerLastGame parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerLastGame 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.sports.soccer.SoccerLastGame parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerLastGame parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sports.soccer.SoccerLastGame parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.soccer.SoccerLastGame 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.sports.soccer.SoccerLastGame prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.soccer.SoccerLastGame}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.soccer.SoccerLastGame, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.soccer.SoccerLastGame)
com.streamlayer.sports.soccer.SoccerLastGameOrBuilder {
// Construct using com.streamlayer.sports.soccer.SoccerLastGame.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* uint64 id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public long getId() {
return instance.getId();
}
/**
* uint64 id = 1 [json_name = "id"];
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* uint64 id = 1 [json_name = "id"];
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return instance.hasAttributes();
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes getAttributes() {
return instance.getAttributes();
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder setAttributes(com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes value) {
copyOnWrite();
instance.setAttributes(value);
return this;
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder setAttributes(
com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes.Builder builderForValue) {
copyOnWrite();
instance.setAttributes(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder mergeAttributes(com.streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes value) {
copyOnWrite();
instance.mergeAttributes(value);
return this;
}
/**
* .streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder clearAttributes() { copyOnWrite();
instance.clearAttributes();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.soccer.SoccerLastGame)
}
@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.sports.soccer.SoccerLastGame();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"attributes_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0003\u0002\u1009" +
"\u0000";
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.sports.soccer.SoccerLastGame.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.sports.soccer.SoccerLastGame)
private static final com.streamlayer.sports.soccer.SoccerLastGame DEFAULT_INSTANCE;
static {
SoccerLastGame defaultInstance = new SoccerLastGame();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SoccerLastGame.class, defaultInstance);
}
public static com.streamlayer.sports.soccer.SoccerLastGame getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}