main.java.com.streamlayer.sports.basketball.BasketballLastGame 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/basketball/basketball.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.basketball;
/**
* Protobuf type {@code streamlayer.sports.basketball.BasketballLastGame}
*/
public final class BasketballLastGame extends
com.google.protobuf.GeneratedMessageLite<
BasketballLastGame, BasketballLastGame.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.basketball.BasketballLastGame)
BasketballLastGameOrBuilder {
private BasketballLastGame() {
}
public interface BasketballLastGameAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes)
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.basketball.BasketballLastGame.BasketballLastGameAttributes}
*/
public static final class BasketballLastGameAttributes extends
com.google.protobuf.GeneratedMessageLite<
BasketballLastGameAttributes, BasketballLastGameAttributes.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes)
BasketballLastGameAttributesOrBuilder {
private BasketballLastGameAttributes() {
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.basketball.BasketballLastGame.BasketballLastGameAttributes parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes 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.basketball.BasketballLastGame.BasketballLastGameAttributes 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.basketball.BasketballLastGame.BasketballLastGameAttributes 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.basketball.BasketballLastGame.BasketballLastGameAttributes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes 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.basketball.BasketballLastGame.BasketballLastGameAttributes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes 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.basketball.BasketballLastGame.BasketballLastGameAttributes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes 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.basketball.BasketballLastGame.BasketballLastGameAttributes parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes 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.basketball.BasketballLastGame.BasketballLastGameAttributes prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes)
com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributesOrBuilder {
// Construct using com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes.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.basketball.BasketballLastGame.BasketballLastGameAttributes)
}
@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.basketball.BasketballLastGame.BasketballLastGameAttributes();
}
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.basketball.BasketballLastGame.BasketballLastGameAttributes.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.basketball.BasketballLastGame.BasketballLastGameAttributes)
private static final com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes DEFAULT_INSTANCE;
static {
BasketballLastGameAttributes defaultInstance = new BasketballLastGameAttributes();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BasketballLastGameAttributes.class, defaultInstance);
}
public static com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes 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.basketball.BasketballLastGame.BasketballLastGameAttributes attributes_;
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes getAttributes() {
return attributes_ == null ? com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes.getDefaultInstance() : attributes_;
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
private void setAttributes(com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes value) {
value.getClass();
attributes_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAttributes(com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes value) {
value.getClass();
if (attributes_ != null &&
attributes_ != com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes.getDefaultInstance()) {
attributes_ =
com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
private void clearAttributes() { attributes_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.basketball.BasketballLastGame parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.basketball.BasketballLastGame 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.basketball.BasketballLastGame 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.basketball.BasketballLastGame 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.basketball.BasketballLastGame parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.basketball.BasketballLastGame 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.basketball.BasketballLastGame parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballLastGame 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.basketball.BasketballLastGame parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballLastGame 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.basketball.BasketballLastGame parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.basketball.BasketballLastGame 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.basketball.BasketballLastGame prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.basketball.BasketballLastGame}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.basketball.BasketballLastGame, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.basketball.BasketballLastGame)
com.streamlayer.sports.basketball.BasketballLastGameOrBuilder {
// Construct using com.streamlayer.sports.basketball.BasketballLastGame.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.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return instance.hasAttributes();
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes getAttributes() {
return instance.getAttributes();
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder setAttributes(com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes value) {
copyOnWrite();
instance.setAttributes(value);
return this;
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder setAttributes(
com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes.Builder builderForValue) {
copyOnWrite();
instance.setAttributes(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder mergeAttributes(com.streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes value) {
copyOnWrite();
instance.mergeAttributes(value);
return this;
}
/**
* .streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes attributes = 2 [json_name = "attributes"];
*/
public Builder clearAttributes() { copyOnWrite();
instance.clearAttributes();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.basketball.BasketballLastGame)
}
@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.basketball.BasketballLastGame();
}
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.basketball.BasketballLastGame.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.basketball.BasketballLastGame)
private static final com.streamlayer.sports.basketball.BasketballLastGame DEFAULT_INSTANCE;
static {
BasketballLastGame defaultInstance = new BasketballLastGame();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BasketballLastGame.class, defaultInstance);
}
public static com.streamlayer.sports.basketball.BasketballLastGame getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}