main.java.com.streamlayer.sports.events.LineupResponse 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.LineupResponse}
*/
public final class LineupResponse extends
com.google.protobuf.GeneratedMessageLite<
LineupResponse, LineupResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.LineupResponse)
LineupResponseOrBuilder {
private LineupResponse() {
}
public interface ResponseDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.events.LineupResponse.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.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
* @return Whether the attributes field is set.
*/
boolean hasAttributes();
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
* @return The attributes.
*/
com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes getAttributes();
}
/**
* Protobuf type {@code streamlayer.sports.events.LineupResponse.ResponseData}
*/
public static final class ResponseData extends
com.google.protobuf.GeneratedMessageLite<
ResponseData, ResponseData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.LineupResponse.ResponseData)
ResponseDataOrBuilder {
private ResponseData() {
}
public interface LineupResponseAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes)
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.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
* @return Whether the soccer field is set.
*/
boolean hasSoccer();
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
* @return The soccer.
*/
com.streamlayer.sports.soccer.SoccerMatchLineups getSoccer();
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
* @return Whether the basketball field is set.
*/
boolean hasBasketball();
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
* @return The basketball.
*/
com.streamlayer.sports.basketball.BasketballMatchLineups getBasketball();
public com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes.SportsCase getSportsCase();
}
/**
* Protobuf type {@code streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes}
*/
public static final class LineupResponseAttributes extends
com.google.protobuf.GeneratedMessageLite<
LineupResponseAttributes, LineupResponseAttributes.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes)
LineupResponseAttributesOrBuilder {
private LineupResponseAttributes() {
}
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.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
@java.lang.Override
public boolean hasSoccer() {
return sportsCase_ == 2;
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerMatchLineups getSoccer() {
if (sportsCase_ == 2) {
return (com.streamlayer.sports.soccer.SoccerMatchLineups) sports_;
}
return com.streamlayer.sports.soccer.SoccerMatchLineups.getDefaultInstance();
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
private void setSoccer(com.streamlayer.sports.soccer.SoccerMatchLineups value) {
value.getClass();
sports_ = value;
sportsCase_ = 2;
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
private void mergeSoccer(com.streamlayer.sports.soccer.SoccerMatchLineups value) {
value.getClass();
if (sportsCase_ == 2 &&
sports_ != com.streamlayer.sports.soccer.SoccerMatchLineups.getDefaultInstance()) {
sports_ = com.streamlayer.sports.soccer.SoccerMatchLineups.newBuilder((com.streamlayer.sports.soccer.SoccerMatchLineups) sports_)
.mergeFrom(value).buildPartial();
} else {
sports_ = value;
}
sportsCase_ = 2;
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups 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.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public boolean hasBasketball() {
return sportsCase_ == 3;
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballMatchLineups getBasketball() {
if (sportsCase_ == 3) {
return (com.streamlayer.sports.basketball.BasketballMatchLineups) sports_;
}
return com.streamlayer.sports.basketball.BasketballMatchLineups.getDefaultInstance();
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
private void setBasketball(com.streamlayer.sports.basketball.BasketballMatchLineups value) {
value.getClass();
sports_ = value;
sportsCase_ = 3;
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
private void mergeBasketball(com.streamlayer.sports.basketball.BasketballMatchLineups value) {
value.getClass();
if (sportsCase_ == 3 &&
sports_ != com.streamlayer.sports.basketball.BasketballMatchLineups.getDefaultInstance()) {
sports_ = com.streamlayer.sports.basketball.BasketballMatchLineups.newBuilder((com.streamlayer.sports.basketball.BasketballMatchLineups) sports_)
.mergeFrom(value).buildPartial();
} else {
sports_ = value;
}
sportsCase_ = 3;
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
private void clearBasketball() {
if (sportsCase_ == 3) {
sportsCase_ = 0;
sports_ = null;
}
}
public static com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes)
com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributesOrBuilder {
// Construct using com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes.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.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
@java.lang.Override
public boolean hasSoccer() {
return instance.hasSoccer();
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.SoccerMatchLineups getSoccer() {
return instance.getSoccer();
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
public Builder setSoccer(com.streamlayer.sports.soccer.SoccerMatchLineups value) {
copyOnWrite();
instance.setSoccer(value);
return this;
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
public Builder setSoccer(
com.streamlayer.sports.soccer.SoccerMatchLineups.Builder builderForValue) {
copyOnWrite();
instance.setSoccer(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
public Builder mergeSoccer(com.streamlayer.sports.soccer.SoccerMatchLineups value) {
copyOnWrite();
instance.mergeSoccer(value);
return this;
}
/**
* .streamlayer.sports.soccer.SoccerMatchLineups soccer = 2 [json_name = "soccer"];
*/
public Builder clearSoccer() {
copyOnWrite();
instance.clearSoccer();
return this;
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public boolean hasBasketball() {
return instance.hasBasketball();
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.BasketballMatchLineups getBasketball() {
return instance.getBasketball();
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
public Builder setBasketball(com.streamlayer.sports.basketball.BasketballMatchLineups value) {
copyOnWrite();
instance.setBasketball(value);
return this;
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
public Builder setBasketball(
com.streamlayer.sports.basketball.BasketballMatchLineups.Builder builderForValue) {
copyOnWrite();
instance.setBasketball(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
public Builder mergeBasketball(com.streamlayer.sports.basketball.BasketballMatchLineups value) {
copyOnWrite();
instance.mergeBasketball(value);
return this;
}
/**
* .streamlayer.sports.basketball.BasketballMatchLineups basketball = 3 [json_name = "basketball"];
*/
public Builder clearBasketball() {
copyOnWrite();
instance.clearBasketball();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes)
}
@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.LineupResponse.ResponseData.LineupResponseAttributes();
}
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.SoccerMatchLineups.class,
com.streamlayer.sports.basketball.BasketballMatchLineups.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.LineupResponse.ResponseData.LineupResponseAttributes.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.LineupResponse.ResponseData.LineupResponseAttributes)
private static final com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes DEFAULT_INSTANCE;
static {
LineupResponseAttributes defaultInstance = new LineupResponseAttributes();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LineupResponseAttributes.class, defaultInstance);
}
public static com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes 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.LineupResponse.ResponseData.LineupResponseAttributes attributes_;
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes getAttributes() {
return attributes_ == null ? com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes.getDefaultInstance() : attributes_;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
private void setAttributes(com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes value) {
value.getClass();
attributes_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAttributes(com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes value) {
value.getClass();
if (attributes_ != null &&
attributes_ != com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes.getDefaultInstance()) {
attributes_ =
com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
private void clearAttributes() { attributes_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.events.LineupResponse.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.LineupResponse.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.LineupResponse.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.LineupResponse.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.LineupResponse.ResponseData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LineupResponse.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.LineupResponse.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.LineupResponse.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.LineupResponse.ResponseData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LineupResponse.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.LineupResponse.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.LineupResponse.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.LineupResponse.ResponseData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.LineupResponse.ResponseData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.LineupResponse.ResponseData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.LineupResponse.ResponseData)
com.streamlayer.sports.events.LineupResponse.ResponseDataOrBuilder {
// Construct using com.streamlayer.sports.events.LineupResponse.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.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return instance.hasAttributes();
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes getAttributes() {
return instance.getAttributes();
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder setAttributes(com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes value) {
copyOnWrite();
instance.setAttributes(value);
return this;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder setAttributes(
com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes.Builder builderForValue) {
copyOnWrite();
instance.setAttributes(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder mergeAttributes(com.streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes value) {
copyOnWrite();
instance.mergeAttributes(value);
return this;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder clearAttributes() { copyOnWrite();
instance.clearAttributes();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.LineupResponse.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.LineupResponse.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.LineupResponse.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.LineupResponse.ResponseData)
private static final com.streamlayer.sports.events.LineupResponse.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.LineupResponse.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.LineupResponse.ResponseData data_;
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.sports.events.LineupResponse.ResponseData getData() {
return data_ == null ? com.streamlayer.sports.events.LineupResponse.ResponseData.getDefaultInstance() : data_;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
private void setData(com.streamlayer.sports.events.LineupResponse.ResponseData value) {
value.getClass();
data_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeData(com.streamlayer.sports.events.LineupResponse.ResponseData value) {
value.getClass();
if (data_ != null &&
data_ != com.streamlayer.sports.events.LineupResponse.ResponseData.getDefaultInstance()) {
data_ =
com.streamlayer.sports.events.LineupResponse.ResponseData.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
private void clearData() { data_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.events.LineupResponse 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.LineupResponse 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.LineupResponse 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.LineupResponse 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.LineupResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.LineupResponse 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.LineupResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LineupResponse 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.LineupResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.LineupResponse 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.LineupResponse 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.LineupResponse 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.LineupResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.LineupResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.LineupResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.LineupResponse)
com.streamlayer.sports.events.LineupResponseOrBuilder {
// Construct using com.streamlayer.sports.events.LineupResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.sports.events.LineupResponse.ResponseData getData() {
return instance.getData();
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder setData(com.streamlayer.sports.events.LineupResponse.ResponseData value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder setData(
com.streamlayer.sports.events.LineupResponse.ResponseData.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder mergeData(com.streamlayer.sports.events.LineupResponse.ResponseData value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* .streamlayer.sports.events.LineupResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder clearData() { copyOnWrite();
instance.clearData();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.LineupResponse)
}
@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.LineupResponse();
}
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.LineupResponse.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.LineupResponse)
private static final com.streamlayer.sports.events.LineupResponse DEFAULT_INSTANCE;
static {
LineupResponse defaultInstance = new LineupResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LineupResponse.class, defaultInstance);
}
public static com.streamlayer.sports.events.LineupResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}