main.java.com.streamlayer.sports.events.LastGamesResponse 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/events/events.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.events;
/**
* Protobuf type {@code streamlayer.sports.events.LastGamesResponse}
*/
public final class LastGamesResponse extends
com.google.protobuf.GeneratedMessageLite<
LastGamesResponse, LastGamesResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.LastGamesResponse)
LastGamesResponseOrBuilder {
private LastGamesResponse() {
}
public interface ResponseDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.events.LastGamesResponse.ResponseData)
com.google.protobuf.MessageLiteOrBuilder {
/**
* uint64 id = 1 [json_name = "id"];
* @return The id.
*/
long getId();
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @return The type.
*/
com.streamlayer.sports.events.EventType getType();
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
* @return Whether the attributes field is set.
*/
boolean hasAttributes();
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
* @return The attributes.
*/
com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes getAttributes();
}
/**
* Protobuf type {@code streamlayer.sports.events.LastGamesResponse.ResponseData}
*/
public static final class ResponseData extends
com.google.protobuf.GeneratedMessageLite<
ResponseData, ResponseData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.LastGamesResponse.ResponseData)
ResponseDataOrBuilder {
private ResponseData() {
}
public interface LastGamesResponseAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
* @return Whether the summary field is set.
*/
boolean hasSummary();
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
* @return The summary.
*/
com.streamlayer.sports.common.EventSummary getSummary();
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
* @return Whether the soccer field is set.
*/
boolean hasSoccer();
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
* @return The soccer.
*/
com.streamlayer.sports.soccer.SoccerLastGames getSoccer();
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
* @return Whether the basketball field is set.
*/
boolean hasBasketball();
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
* @return The basketball.
*/
com.streamlayer.sports.basketball.BasketballLastGames getBasketball();
public com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes.SportsCase getSportsCase();
}
/**
* Protobuf type {@code streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes}
*/
public static final class LastGamesResponseAttributes extends
com.google.protobuf.GeneratedMessageLite<
LastGamesResponseAttributes, LastGamesResponseAttributes.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes)
LastGamesResponseAttributesOrBuilder {
private LastGamesResponseAttributes() {
}
private int bitField0_;
private int sportsCase_ = 0;
private java.lang.Object sports_;
public enum SportsCase {
SOCCER(2),
BASKETBALL(3),
SPORTS_NOT_SET(0);
private final int value;
private SportsCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SportsCase valueOf(int value) {
return forNumber(value);
}
public static SportsCase forNumber(int value) {
switch (value) {
case 2: return SOCCER;
case 3: return BASKETBALL;
case 0: return SPORTS_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public SportsCase
getSportsCase() {
return SportsCase.forNumber(
sportsCase_);
}
private void clearSports() {
sportsCase_ = 0;
sports_ = null;
}
public static final int SUMMARY_FIELD_NUMBER = 1;
private com.streamlayer.sports.common.EventSummary summary_;
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public boolean hasSummary() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public com.streamlayer.sports.common.EventSummary getSummary() {
return summary_ == null ? com.streamlayer.sports.common.EventSummary.getDefaultInstance() : summary_;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
private void setSummary(com.streamlayer.sports.common.EventSummary value) {
value.getClass();
summary_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSummary(com.streamlayer.sports.common.EventSummary value) {
value.getClass();
if (summary_ != null &&
summary_ != com.streamlayer.sports.common.EventSummary.getDefaultInstance()) {
summary_ =
com.streamlayer.sports.common.EventSummary.newBuilder(summary_).mergeFrom(value).buildPartial();
} else {
summary_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
private void clearSummary() { summary_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int SOCCER_FIELD_NUMBER = 2;
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
@java.lang.Override
public boolean hasSoccer() {
return sportsCase_ == 2;
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerLastGames getSoccer() {
if (sportsCase_ == 2) {
return (com.streamlayer.sports.soccer.SoccerLastGames) sports_;
}
return com.streamlayer.sports.soccer.SoccerLastGames.getDefaultInstance();
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
private void setSoccer(com.streamlayer.sports.soccer.SoccerLastGames value) {
value.getClass();
sports_ = value;
sportsCase_ = 2;
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
private void mergeSoccer(com.streamlayer.sports.soccer.SoccerLastGames value) {
value.getClass();
if (sportsCase_ == 2 &&
sports_ != com.streamlayer.sports.soccer.SoccerLastGames.getDefaultInstance()) {
sports_ = com.streamlayer.sports.soccer.SoccerLastGames.newBuilder((com.streamlayer.sports.soccer.SoccerLastGames) sports_)
.mergeFrom(value).buildPartial();
} else {
sports_ = value;
}
sportsCase_ = 2;
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
private void clearSoccer() {
if (sportsCase_ == 2) {
sportsCase_ = 0;
sports_ = null;
}
}
public static final int BASKETBALL_FIELD_NUMBER = 3;
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public boolean hasBasketball() {
return sportsCase_ == 3;
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballLastGames getBasketball() {
if (sportsCase_ == 3) {
return (com.streamlayer.sports.basketball.BasketballLastGames) sports_;
}
return com.streamlayer.sports.basketball.BasketballLastGames.getDefaultInstance();
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
private void setBasketball(com.streamlayer.sports.basketball.BasketballLastGames value) {
value.getClass();
sports_ = value;
sportsCase_ = 3;
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
private void mergeBasketball(com.streamlayer.sports.basketball.BasketballLastGames value) {
value.getClass();
if (sportsCase_ == 3 &&
sports_ != com.streamlayer.sports.basketball.BasketballLastGames.getDefaultInstance()) {
sports_ = com.streamlayer.sports.basketball.BasketballLastGames.newBuilder((com.streamlayer.sports.basketball.BasketballLastGames) sports_)
.mergeFrom(value).buildPartial();
} else {
sports_ = value;
}
sportsCase_ = 3;
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
private void clearBasketball() {
if (sportsCase_ == 3) {
sportsCase_ = 0;
sports_ = null;
}
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes 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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes 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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes 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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes 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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes 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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes 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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes 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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes)
com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributesOrBuilder {
// Construct using com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public SportsCase
getSportsCase() {
return instance.getSportsCase();
}
public Builder clearSports() {
copyOnWrite();
instance.clearSports();
return this;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public boolean hasSummary() {
return instance.hasSummary();
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public com.streamlayer.sports.common.EventSummary getSummary() {
return instance.getSummary();
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
public Builder setSummary(com.streamlayer.sports.common.EventSummary value) {
copyOnWrite();
instance.setSummary(value);
return this;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
public Builder setSummary(
com.streamlayer.sports.common.EventSummary.Builder builderForValue) {
copyOnWrite();
instance.setSummary(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
public Builder mergeSummary(com.streamlayer.sports.common.EventSummary value) {
copyOnWrite();
instance.mergeSummary(value);
return this;
}
/**
* .streamlayer.sports.EventSummary summary = 1 [json_name = "summary"];
*/
public Builder clearSummary() { copyOnWrite();
instance.clearSummary();
return this;
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
@java.lang.Override
public boolean hasSoccer() {
return instance.hasSoccer();
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerLastGames getSoccer() {
return instance.getSoccer();
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
public Builder setSoccer(com.streamlayer.sports.soccer.SoccerLastGames value) {
copyOnWrite();
instance.setSoccer(value);
return this;
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
public Builder setSoccer(
com.streamlayer.sports.soccer.SoccerLastGames.Builder builderForValue) {
copyOnWrite();
instance.setSoccer(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
public Builder mergeSoccer(com.streamlayer.sports.soccer.SoccerLastGames value) {
copyOnWrite();
instance.mergeSoccer(value);
return this;
}
/**
* .streamlayer.sports.soccer.SoccerLastGames soccer = 2 [json_name = "soccer"];
*/
public Builder clearSoccer() {
copyOnWrite();
instance.clearSoccer();
return this;
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public boolean hasBasketball() {
return instance.hasBasketball();
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballLastGames getBasketball() {
return instance.getBasketball();
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
public Builder setBasketball(com.streamlayer.sports.basketball.BasketballLastGames value) {
copyOnWrite();
instance.setBasketball(value);
return this;
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
public Builder setBasketball(
com.streamlayer.sports.basketball.BasketballLastGames.Builder builderForValue) {
copyOnWrite();
instance.setBasketball(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
public Builder mergeBasketball(com.streamlayer.sports.basketball.BasketballLastGames value) {
copyOnWrite();
instance.mergeBasketball(value);
return this;
}
/**
* .streamlayer.sports.basketball.BasketballLastGames basketball = 3 [json_name = "basketball"];
*/
public Builder clearBasketball() {
copyOnWrite();
instance.clearBasketball();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes)
}
@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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"sports_",
"sportsCase_",
"bitField0_",
"summary_",
com.streamlayer.sports.soccer.SoccerLastGames.class,
com.streamlayer.sports.basketball.BasketballLastGames.class,
};
java.lang.String info =
"\u0000\u0003\u0001\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"<\u0000\u0003<\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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes.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.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes)
private static final com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes DEFAULT_INSTANCE;
static {
LastGamesResponseAttributes defaultInstance = new LastGamesResponseAttributes();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LastGamesResponseAttributes.class, defaultInstance);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes 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 TYPE_FIELD_NUMBER = 2;
private int type_;
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return type_;
}
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.streamlayer.sports.events.EventType getType() {
com.streamlayer.sports.events.EventType result = com.streamlayer.sports.events.EventType.forNumber(type_);
return result == null ? com.streamlayer.sports.events.EventType.UNRECOGNIZED : result;
}
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
*/
private void setTypeValue(int value) {
type_ = value;
}
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @param value The type to set.
*/
private void setType(com.streamlayer.sports.events.EventType value) {
type_ = value.getNumber();
}
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
*/
private void clearType() {
type_ = 0;
}
public static final int ATTRIBUTES_FIELD_NUMBER = 3;
private com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes_;
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes getAttributes() {
return attributes_ == null ? com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes.getDefaultInstance() : attributes_;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
private void setAttributes(com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes value) {
value.getClass();
attributes_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAttributes(com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes value) {
value.getClass();
if (attributes_ != null &&
attributes_ != com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes.getDefaultInstance()) {
attributes_ =
com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
private void clearAttributes() { attributes_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData 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.events.LastGamesResponse.ResponseData 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.events.LastGamesResponse.ResponseData 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.events.LastGamesResponse.ResponseData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData 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.events.LastGamesResponse.ResponseData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData 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.events.LastGamesResponse.ResponseData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData 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.events.LastGamesResponse.ResponseData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData 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.events.LastGamesResponse.ResponseData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.LastGamesResponse.ResponseData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.LastGamesResponse.ResponseData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.LastGamesResponse.ResponseData)
com.streamlayer.sports.events.LastGamesResponse.ResponseDataOrBuilder {
// Construct using com.streamlayer.sports.events.LastGamesResponse.ResponseData.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.events.EventType type = 2 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return instance.getTypeValue();
}
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
copyOnWrite();
instance.setTypeValue(value);
return this;
}
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.streamlayer.sports.events.EventType getType() {
return instance.getType();
}
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.streamlayer.sports.events.EventType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* .streamlayer.sports.events.EventType type = 2 [json_name = "type"];
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return instance.hasAttributes();
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes getAttributes() {
return instance.getAttributes();
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder setAttributes(com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes value) {
copyOnWrite();
instance.setAttributes(value);
return this;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder setAttributes(
com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes.Builder builderForValue) {
copyOnWrite();
instance.setAttributes(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder mergeAttributes(com.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes value) {
copyOnWrite();
instance.mergeAttributes(value);
return this;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder clearAttributes() { copyOnWrite();
instance.clearAttributes();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.LastGamesResponse.ResponseData)
}
@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.events.LastGamesResponse.ResponseData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"type_",
"attributes_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0003\u0002\f" +
"\u0003\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.events.LastGamesResponse.ResponseData.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.events.LastGamesResponse.ResponseData)
private static final com.streamlayer.sports.events.LastGamesResponse.ResponseData DEFAULT_INSTANCE;
static {
ResponseData defaultInstance = new ResponseData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ResponseData.class, defaultInstance);
}
public static com.streamlayer.sports.events.LastGamesResponse.ResponseData 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 DATA_FIELD_NUMBER = 1;
private com.streamlayer.sports.events.LastGamesResponse.ResponseData data_;
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.sports.events.LastGamesResponse.ResponseData getData() {
return data_ == null ? com.streamlayer.sports.events.LastGamesResponse.ResponseData.getDefaultInstance() : data_;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
private void setData(com.streamlayer.sports.events.LastGamesResponse.ResponseData value) {
value.getClass();
data_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeData(com.streamlayer.sports.events.LastGamesResponse.ResponseData value) {
value.getClass();
if (data_ != null &&
data_ != com.streamlayer.sports.events.LastGamesResponse.ResponseData.getDefaultInstance()) {
data_ =
com.streamlayer.sports.events.LastGamesResponse.ResponseData.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
private void clearData() { data_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.events.LastGamesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LastGamesResponse 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.events.LastGamesResponse 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.events.LastGamesResponse 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.events.LastGamesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LastGamesResponse 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.events.LastGamesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse 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.events.LastGamesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse 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.events.LastGamesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LastGamesResponse 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.events.LastGamesResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.LastGamesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.LastGamesResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.LastGamesResponse)
com.streamlayer.sports.events.LastGamesResponseOrBuilder {
// Construct using com.streamlayer.sports.events.LastGamesResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.sports.events.LastGamesResponse.ResponseData getData() {
return instance.getData();
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder setData(com.streamlayer.sports.events.LastGamesResponse.ResponseData value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder setData(
com.streamlayer.sports.events.LastGamesResponse.ResponseData.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder mergeData(com.streamlayer.sports.events.LastGamesResponse.ResponseData value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* .streamlayer.sports.events.LastGamesResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder clearData() { copyOnWrite();
instance.clearData();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.LastGamesResponse)
}
@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.events.LastGamesResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"data_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\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.events.LastGamesResponse.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.events.LastGamesResponse)
private static final com.streamlayer.sports.events.LastGamesResponse DEFAULT_INSTANCE;
static {
LastGamesResponse defaultInstance = new LastGamesResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LastGamesResponse.class, defaultInstance);
}
public static com.streamlayer.sports.events.LastGamesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}