main.java.com.streamlayer.sportsdata.client.bets.GameLine 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/sportsdata/client/bets/bets.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sportsdata.client.bets;
/**
* Protobuf type {@code streamlayer.sportsdata.client.bets.GameLine}
*/
public final class GameLine extends
com.google.protobuf.GeneratedMessageLite<
GameLine, GameLine.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sportsdata.client.bets.GameLine)
GameLineOrBuilder {
private GameLine() {
}
private int bitField0_;
public static final int SOCCER_FIELD_NUMBER = 1;
private com.streamlayer.sportsdata.client.bets.SoccerGameLine soccer_;
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
@java.lang.Override
public boolean hasSoccer() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
@java.lang.Override
public com.streamlayer.sportsdata.client.bets.SoccerGameLine getSoccer() {
return soccer_ == null ? com.streamlayer.sportsdata.client.bets.SoccerGameLine.getDefaultInstance() : soccer_;
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
private void setSoccer(com.streamlayer.sportsdata.client.bets.SoccerGameLine value) {
value.getClass();
soccer_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSoccer(com.streamlayer.sportsdata.client.bets.SoccerGameLine value) {
value.getClass();
if (soccer_ != null &&
soccer_ != com.streamlayer.sportsdata.client.bets.SoccerGameLine.getDefaultInstance()) {
soccer_ =
com.streamlayer.sportsdata.client.bets.SoccerGameLine.newBuilder(soccer_).mergeFrom(value).buildPartial();
} else {
soccer_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
private void clearSoccer() { soccer_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int NFL_FIELD_NUMBER = 2;
private com.streamlayer.sportsdata.client.bets.NflGameLine nfl_;
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
@java.lang.Override
public boolean hasNfl() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
@java.lang.Override
public com.streamlayer.sportsdata.client.bets.NflGameLine getNfl() {
return nfl_ == null ? com.streamlayer.sportsdata.client.bets.NflGameLine.getDefaultInstance() : nfl_;
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
private void setNfl(com.streamlayer.sportsdata.client.bets.NflGameLine value) {
value.getClass();
nfl_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeNfl(com.streamlayer.sportsdata.client.bets.NflGameLine value) {
value.getClass();
if (nfl_ != null &&
nfl_ != com.streamlayer.sportsdata.client.bets.NflGameLine.getDefaultInstance()) {
nfl_ =
com.streamlayer.sportsdata.client.bets.NflGameLine.newBuilder(nfl_).mergeFrom(value).buildPartial();
} else {
nfl_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
private void clearNfl() { nfl_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int NBA_FIELD_NUMBER = 3;
private com.streamlayer.sportsdata.client.bets.NbaGameLine nba_;
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
@java.lang.Override
public boolean hasNba() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
@java.lang.Override
public com.streamlayer.sportsdata.client.bets.NbaGameLine getNba() {
return nba_ == null ? com.streamlayer.sportsdata.client.bets.NbaGameLine.getDefaultInstance() : nba_;
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
private void setNba(com.streamlayer.sportsdata.client.bets.NbaGameLine value) {
value.getClass();
nba_ = value;
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeNba(com.streamlayer.sportsdata.client.bets.NbaGameLine value) {
value.getClass();
if (nba_ != null &&
nba_ != com.streamlayer.sportsdata.client.bets.NbaGameLine.getDefaultInstance()) {
nba_ =
com.streamlayer.sportsdata.client.bets.NbaGameLine.newBuilder(nba_).mergeFrom(value).buildPartial();
} else {
nba_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
private void clearNba() { nba_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static com.streamlayer.sportsdata.client.bets.GameLine parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sportsdata.client.bets.GameLine 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.sportsdata.client.bets.GameLine parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sportsdata.client.bets.GameLine 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.sportsdata.client.bets.GameLine parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sportsdata.client.bets.GameLine 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.sportsdata.client.bets.GameLine parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sportsdata.client.bets.GameLine 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.sportsdata.client.bets.GameLine parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sportsdata.client.bets.GameLine parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sportsdata.client.bets.GameLine parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sportsdata.client.bets.GameLine 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.sportsdata.client.bets.GameLine prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sportsdata.client.bets.GameLine}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sportsdata.client.bets.GameLine, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sportsdata.client.bets.GameLine)
com.streamlayer.sportsdata.client.bets.GameLineOrBuilder {
// Construct using com.streamlayer.sportsdata.client.bets.GameLine.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
@java.lang.Override
public boolean hasSoccer() {
return instance.hasSoccer();
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
@java.lang.Override
public com.streamlayer.sportsdata.client.bets.SoccerGameLine getSoccer() {
return instance.getSoccer();
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
public Builder setSoccer(com.streamlayer.sportsdata.client.bets.SoccerGameLine value) {
copyOnWrite();
instance.setSoccer(value);
return this;
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
public Builder setSoccer(
com.streamlayer.sportsdata.client.bets.SoccerGameLine.Builder builderForValue) {
copyOnWrite();
instance.setSoccer(builderForValue.build());
return this;
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
public Builder mergeSoccer(com.streamlayer.sportsdata.client.bets.SoccerGameLine value) {
copyOnWrite();
instance.mergeSoccer(value);
return this;
}
/**
* .streamlayer.sportsdata.client.bets.SoccerGameLine soccer = 1 [json_name = "soccer"];
*/
public Builder clearSoccer() { copyOnWrite();
instance.clearSoccer();
return this;
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
@java.lang.Override
public boolean hasNfl() {
return instance.hasNfl();
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
@java.lang.Override
public com.streamlayer.sportsdata.client.bets.NflGameLine getNfl() {
return instance.getNfl();
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
public Builder setNfl(com.streamlayer.sportsdata.client.bets.NflGameLine value) {
copyOnWrite();
instance.setNfl(value);
return this;
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
public Builder setNfl(
com.streamlayer.sportsdata.client.bets.NflGameLine.Builder builderForValue) {
copyOnWrite();
instance.setNfl(builderForValue.build());
return this;
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
public Builder mergeNfl(com.streamlayer.sportsdata.client.bets.NflGameLine value) {
copyOnWrite();
instance.mergeNfl(value);
return this;
}
/**
* .streamlayer.sportsdata.client.bets.NflGameLine nfl = 2 [json_name = "nfl"];
*/
public Builder clearNfl() { copyOnWrite();
instance.clearNfl();
return this;
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
@java.lang.Override
public boolean hasNba() {
return instance.hasNba();
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
@java.lang.Override
public com.streamlayer.sportsdata.client.bets.NbaGameLine getNba() {
return instance.getNba();
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
public Builder setNba(com.streamlayer.sportsdata.client.bets.NbaGameLine value) {
copyOnWrite();
instance.setNba(value);
return this;
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
public Builder setNba(
com.streamlayer.sportsdata.client.bets.NbaGameLine.Builder builderForValue) {
copyOnWrite();
instance.setNba(builderForValue.build());
return this;
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
public Builder mergeNba(com.streamlayer.sportsdata.client.bets.NbaGameLine value) {
copyOnWrite();
instance.mergeNba(value);
return this;
}
/**
* .streamlayer.sportsdata.client.bets.NbaGameLine nba = 3 [json_name = "nba"];
*/
public Builder clearNba() { copyOnWrite();
instance.clearNba();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sportsdata.client.bets.GameLine)
}
@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.sportsdata.client.bets.GameLine();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"soccer_",
"nfl_",
"nba_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001\u0003\u1009\u0002";
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.sportsdata.client.bets.GameLine.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.sportsdata.client.bets.GameLine)
private static final com.streamlayer.sportsdata.client.bets.GameLine DEFAULT_INSTANCE;
static {
GameLine defaultInstance = new GameLine();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GameLine.class, defaultInstance);
}
public static com.streamlayer.sportsdata.client.bets.GameLine getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}