main.java.com.streamlayer.sports.events.PlayByPlayResponse 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.PlayByPlayResponse}
*/
public final class PlayByPlayResponse extends
com.google.protobuf.GeneratedMessageLite<
PlayByPlayResponse, PlayByPlayResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.PlayByPlayResponse)
PlayByPlayResponseOrBuilder {
private PlayByPlayResponse() {
}
public interface ResponseDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.events.PlayByPlayResponse.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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
* @return Whether the attributes field is set.
*/
boolean hasAttributes();
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
* @return The attributes.
*/
com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes getAttributes();
}
/**
* Protobuf type {@code streamlayer.sports.events.PlayByPlayResponse.ResponseData}
*/
public static final class ResponseData extends
com.google.protobuf.GeneratedMessageLite<
ResponseData, ResponseData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.PlayByPlayResponse.ResponseData)
ResponseDataOrBuilder {
private ResponseData() {
}
public interface PlayByPlayResponseAttributesOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes)
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.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
* @return Whether the baseball field is set.
*/
boolean hasBaseball();
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
* @return The baseball.
*/
com.streamlayer.sports.baseball.PlayByPlay getBaseball();
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
* @return Whether the basketball field is set.
*/
boolean hasBasketball();
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
* @return The basketball.
*/
com.streamlayer.sports.basketball.PlayByPlay getBasketball();
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
* @return Whether the hockey field is set.
*/
boolean hasHockey();
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
* @return The hockey.
*/
com.streamlayer.sports.hockey.PlayByPlay getHockey();
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
* @return Whether the soccer field is set.
*/
boolean hasSoccer();
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
* @return The soccer.
*/
com.streamlayer.sports.soccer.PlayByPlay getSoccer();
public com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes.SportsCase getSportsCase();
}
/**
* Protobuf type {@code streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes}
*/
public static final class PlayByPlayResponseAttributes extends
com.google.protobuf.GeneratedMessageLite<
PlayByPlayResponseAttributes, PlayByPlayResponseAttributes.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes)
PlayByPlayResponseAttributesOrBuilder {
private PlayByPlayResponseAttributes() {
}
private int bitField0_;
private int sportsCase_ = 0;
private java.lang.Object sports_;
public enum SportsCase {
BASEBALL(2),
BASKETBALL(3),
HOCKEY(4),
SOCCER(5),
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 BASEBALL;
case 3: return BASKETBALL;
case 4: return HOCKEY;
case 5: return SOCCER;
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 BASEBALL_FIELD_NUMBER = 2;
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
@java.lang.Override
public boolean hasBaseball() {
return sportsCase_ == 2;
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
@java.lang.Override
public com.streamlayer.sports.baseball.PlayByPlay getBaseball() {
if (sportsCase_ == 2) {
return (com.streamlayer.sports.baseball.PlayByPlay) sports_;
}
return com.streamlayer.sports.baseball.PlayByPlay.getDefaultInstance();
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
private void setBaseball(com.streamlayer.sports.baseball.PlayByPlay value) {
value.getClass();
sports_ = value;
sportsCase_ = 2;
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
private void mergeBaseball(com.streamlayer.sports.baseball.PlayByPlay value) {
value.getClass();
if (sportsCase_ == 2 &&
sports_ != com.streamlayer.sports.baseball.PlayByPlay.getDefaultInstance()) {
sports_ = com.streamlayer.sports.baseball.PlayByPlay.newBuilder((com.streamlayer.sports.baseball.PlayByPlay) sports_)
.mergeFrom(value).buildPartial();
} else {
sports_ = value;
}
sportsCase_ = 2;
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
private void clearBaseball() {
if (sportsCase_ == 2) {
sportsCase_ = 0;
sports_ = null;
}
}
public static final int BASKETBALL_FIELD_NUMBER = 3;
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public boolean hasBasketball() {
return sportsCase_ == 3;
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.PlayByPlay getBasketball() {
if (sportsCase_ == 3) {
return (com.streamlayer.sports.basketball.PlayByPlay) sports_;
}
return com.streamlayer.sports.basketball.PlayByPlay.getDefaultInstance();
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
private void setBasketball(com.streamlayer.sports.basketball.PlayByPlay value) {
value.getClass();
sports_ = value;
sportsCase_ = 3;
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
private void mergeBasketball(com.streamlayer.sports.basketball.PlayByPlay value) {
value.getClass();
if (sportsCase_ == 3 &&
sports_ != com.streamlayer.sports.basketball.PlayByPlay.getDefaultInstance()) {
sports_ = com.streamlayer.sports.basketball.PlayByPlay.newBuilder((com.streamlayer.sports.basketball.PlayByPlay) sports_)
.mergeFrom(value).buildPartial();
} else {
sports_ = value;
}
sportsCase_ = 3;
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
private void clearBasketball() {
if (sportsCase_ == 3) {
sportsCase_ = 0;
sports_ = null;
}
}
public static final int HOCKEY_FIELD_NUMBER = 4;
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
@java.lang.Override
public boolean hasHockey() {
return sportsCase_ == 4;
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
@java.lang.Override
public com.streamlayer.sports.hockey.PlayByPlay getHockey() {
if (sportsCase_ == 4) {
return (com.streamlayer.sports.hockey.PlayByPlay) sports_;
}
return com.streamlayer.sports.hockey.PlayByPlay.getDefaultInstance();
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
private void setHockey(com.streamlayer.sports.hockey.PlayByPlay value) {
value.getClass();
sports_ = value;
sportsCase_ = 4;
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
private void mergeHockey(com.streamlayer.sports.hockey.PlayByPlay value) {
value.getClass();
if (sportsCase_ == 4 &&
sports_ != com.streamlayer.sports.hockey.PlayByPlay.getDefaultInstance()) {
sports_ = com.streamlayer.sports.hockey.PlayByPlay.newBuilder((com.streamlayer.sports.hockey.PlayByPlay) sports_)
.mergeFrom(value).buildPartial();
} else {
sports_ = value;
}
sportsCase_ = 4;
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
private void clearHockey() {
if (sportsCase_ == 4) {
sportsCase_ = 0;
sports_ = null;
}
}
public static final int SOCCER_FIELD_NUMBER = 5;
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
@java.lang.Override
public boolean hasSoccer() {
return sportsCase_ == 5;
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.PlayByPlay getSoccer() {
if (sportsCase_ == 5) {
return (com.streamlayer.sports.soccer.PlayByPlay) sports_;
}
return com.streamlayer.sports.soccer.PlayByPlay.getDefaultInstance();
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
private void setSoccer(com.streamlayer.sports.soccer.PlayByPlay value) {
value.getClass();
sports_ = value;
sportsCase_ = 5;
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
private void mergeSoccer(com.streamlayer.sports.soccer.PlayByPlay value) {
value.getClass();
if (sportsCase_ == 5 &&
sports_ != com.streamlayer.sports.soccer.PlayByPlay.getDefaultInstance()) {
sports_ = com.streamlayer.sports.soccer.PlayByPlay.newBuilder((com.streamlayer.sports.soccer.PlayByPlay) sports_)
.mergeFrom(value).buildPartial();
} else {
sports_ = value;
}
sportsCase_ = 5;
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
private void clearSoccer() {
if (sportsCase_ == 5) {
sportsCase_ = 0;
sports_ = null;
}
}
public static com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes)
com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributesOrBuilder {
// Construct using com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes.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.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
@java.lang.Override
public boolean hasBaseball() {
return instance.hasBaseball();
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
@java.lang.Override
public com.streamlayer.sports.baseball.PlayByPlay getBaseball() {
return instance.getBaseball();
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
public Builder setBaseball(com.streamlayer.sports.baseball.PlayByPlay value) {
copyOnWrite();
instance.setBaseball(value);
return this;
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
public Builder setBaseball(
com.streamlayer.sports.baseball.PlayByPlay.Builder builderForValue) {
copyOnWrite();
instance.setBaseball(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
public Builder mergeBaseball(com.streamlayer.sports.baseball.PlayByPlay value) {
copyOnWrite();
instance.mergeBaseball(value);
return this;
}
/**
* .streamlayer.sports.baseball.PlayByPlay baseball = 2 [json_name = "baseball"];
*/
public Builder clearBaseball() {
copyOnWrite();
instance.clearBaseball();
return this;
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public boolean hasBasketball() {
return instance.hasBasketball();
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
@java.lang.Override
public com.streamlayer.sports.basketball.PlayByPlay getBasketball() {
return instance.getBasketball();
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
public Builder setBasketball(com.streamlayer.sports.basketball.PlayByPlay value) {
copyOnWrite();
instance.setBasketball(value);
return this;
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
public Builder setBasketball(
com.streamlayer.sports.basketball.PlayByPlay.Builder builderForValue) {
copyOnWrite();
instance.setBasketball(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
public Builder mergeBasketball(com.streamlayer.sports.basketball.PlayByPlay value) {
copyOnWrite();
instance.mergeBasketball(value);
return this;
}
/**
* .streamlayer.sports.basketball.PlayByPlay basketball = 3 [json_name = "basketball"];
*/
public Builder clearBasketball() {
copyOnWrite();
instance.clearBasketball();
return this;
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
@java.lang.Override
public boolean hasHockey() {
return instance.hasHockey();
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
@java.lang.Override
public com.streamlayer.sports.hockey.PlayByPlay getHockey() {
return instance.getHockey();
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
public Builder setHockey(com.streamlayer.sports.hockey.PlayByPlay value) {
copyOnWrite();
instance.setHockey(value);
return this;
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
public Builder setHockey(
com.streamlayer.sports.hockey.PlayByPlay.Builder builderForValue) {
copyOnWrite();
instance.setHockey(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
public Builder mergeHockey(com.streamlayer.sports.hockey.PlayByPlay value) {
copyOnWrite();
instance.mergeHockey(value);
return this;
}
/**
* .streamlayer.sports.hockey.PlayByPlay hockey = 4 [json_name = "hockey"];
*/
public Builder clearHockey() {
copyOnWrite();
instance.clearHockey();
return this;
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
@java.lang.Override
public boolean hasSoccer() {
return instance.hasSoccer();
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
@java.lang.Override
public com.streamlayer.sports.soccer.PlayByPlay getSoccer() {
return instance.getSoccer();
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
public Builder setSoccer(com.streamlayer.sports.soccer.PlayByPlay value) {
copyOnWrite();
instance.setSoccer(value);
return this;
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
public Builder setSoccer(
com.streamlayer.sports.soccer.PlayByPlay.Builder builderForValue) {
copyOnWrite();
instance.setSoccer(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
public Builder mergeSoccer(com.streamlayer.sports.soccer.PlayByPlay value) {
copyOnWrite();
instance.mergeSoccer(value);
return this;
}
/**
* .streamlayer.sports.soccer.PlayByPlay soccer = 5 [json_name = "soccer"];
*/
public Builder clearSoccer() {
copyOnWrite();
instance.clearSoccer();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes)
}
@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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes();
}
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.baseball.PlayByPlay.class,
com.streamlayer.sports.basketball.PlayByPlay.class,
com.streamlayer.sports.hockey.PlayByPlay.class,
com.streamlayer.sports.soccer.PlayByPlay.class,
};
java.lang.String info =
"\u0000\u0005\u0001\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"<\u0000\u0003<\u0000\u0004<\u0000\u0005<\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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes.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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes)
private static final com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes DEFAULT_INSTANCE;
static {
PlayByPlayResponseAttributes defaultInstance = new PlayByPlayResponseAttributes();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
PlayByPlayResponseAttributes.class, defaultInstance);
}
public static com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes 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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes_;
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes getAttributes() {
return attributes_ == null ? com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes.getDefaultInstance() : attributes_;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
private void setAttributes(com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes value) {
value.getClass();
attributes_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAttributes(com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes value) {
value.getClass();
if (attributes_ != null &&
attributes_ != com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes.getDefaultInstance()) {
attributes_ =
com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
private void clearAttributes() { attributes_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sports.events.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.ResponseData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.ResponseData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.ResponseData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.PlayByPlayResponse.ResponseData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.PlayByPlayResponse.ResponseData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.PlayByPlayResponse.ResponseData)
com.streamlayer.sports.events.PlayByPlayResponse.ResponseDataOrBuilder {
// Construct using com.streamlayer.sports.events.PlayByPlayResponse.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.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public boolean hasAttributes() {
return instance.hasAttributes();
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
@java.lang.Override
public com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes getAttributes() {
return instance.getAttributes();
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder setAttributes(com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes value) {
copyOnWrite();
instance.setAttributes(value);
return this;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder setAttributes(
com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes.Builder builderForValue) {
copyOnWrite();
instance.setAttributes(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder mergeAttributes(com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes value) {
copyOnWrite();
instance.mergeAttributes(value);
return this;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes attributes = 3 [json_name = "attributes"];
*/
public Builder clearAttributes() { copyOnWrite();
instance.clearAttributes();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.ResponseData)
private static final com.streamlayer.sports.events.PlayByPlayResponse.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.PlayByPlayResponse.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.PlayByPlayResponse.ResponseData data_;
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.sports.events.PlayByPlayResponse.ResponseData getData() {
return data_ == null ? com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.getDefaultInstance() : data_;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
private void setData(com.streamlayer.sports.events.PlayByPlayResponse.ResponseData value) {
value.getClass();
data_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeData(com.streamlayer.sports.events.PlayByPlayResponse.ResponseData value) {
value.getClass();
if (data_ != null &&
data_ != com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.getDefaultInstance()) {
data_ =
com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
private void clearData() { data_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int META_FIELD_NUMBER = 2;
private com.streamlayer.sports.common.Meta meta_;
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
@java.lang.Override
public boolean hasMeta() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
@java.lang.Override
public com.streamlayer.sports.common.Meta getMeta() {
return meta_ == null ? com.streamlayer.sports.common.Meta.getDefaultInstance() : meta_;
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
private void setMeta(com.streamlayer.sports.common.Meta value) {
value.getClass();
meta_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeMeta(com.streamlayer.sports.common.Meta value) {
value.getClass();
if (meta_ != null &&
meta_ != com.streamlayer.sports.common.Meta.getDefaultInstance()) {
meta_ =
com.streamlayer.sports.common.Meta.newBuilder(meta_).mergeFrom(value).buildPartial();
} else {
meta_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
private void clearMeta() { meta_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static com.streamlayer.sports.events.PlayByPlayResponse 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.PlayByPlayResponse 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.PlayByPlayResponse 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.PlayByPlayResponse 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.PlayByPlayResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.events.PlayByPlayResponse 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.PlayByPlayResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.PlayByPlayResponse 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.PlayByPlayResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.events.PlayByPlayResponse 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.PlayByPlayResponse 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.PlayByPlayResponse 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.PlayByPlayResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.events.PlayByPlayResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.events.PlayByPlayResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.events.PlayByPlayResponse)
com.streamlayer.sports.events.PlayByPlayResponseOrBuilder {
// Construct using com.streamlayer.sports.events.PlayByPlayResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.sports.events.PlayByPlayResponse.ResponseData getData() {
return instance.getData();
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder setData(com.streamlayer.sports.events.PlayByPlayResponse.ResponseData value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder setData(
com.streamlayer.sports.events.PlayByPlayResponse.ResponseData.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder mergeData(com.streamlayer.sports.events.PlayByPlayResponse.ResponseData value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* .streamlayer.sports.events.PlayByPlayResponse.ResponseData data = 1 [json_name = "data"];
*/
public Builder clearData() { copyOnWrite();
instance.clearData();
return this;
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
@java.lang.Override
public boolean hasMeta() {
return instance.hasMeta();
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
@java.lang.Override
public com.streamlayer.sports.common.Meta getMeta() {
return instance.getMeta();
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
public Builder setMeta(com.streamlayer.sports.common.Meta value) {
copyOnWrite();
instance.setMeta(value);
return this;
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
public Builder setMeta(
com.streamlayer.sports.common.Meta.Builder builderForValue) {
copyOnWrite();
instance.setMeta(builderForValue.build());
return this;
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
public Builder mergeMeta(com.streamlayer.sports.common.Meta value) {
copyOnWrite();
instance.mergeMeta(value);
return this;
}
/**
* .streamlayer.sports.Meta meta = 2 [json_name = "meta"];
*/
public Builder clearMeta() { copyOnWrite();
instance.clearMeta();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.events.PlayByPlayResponse)
}
@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.PlayByPlayResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"data_",
"meta_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001";
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.PlayByPlayResponse.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.PlayByPlayResponse)
private static final com.streamlayer.sports.events.PlayByPlayResponse DEFAULT_INSTANCE;
static {
PlayByPlayResponse defaultInstance = new PlayByPlayResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
PlayByPlayResponse.class, defaultInstance);
}
public static com.streamlayer.sports.events.PlayByPlayResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}