main.java.com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest}
*/
public final class FuturesSubscriptionRequest extends
com.google.protobuf.GeneratedMessageLite<
FuturesSubscriptionRequest, FuturesSubscriptionRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest)
FuturesSubscriptionRequestOrBuilder {
private FuturesSubscriptionRequest() {
}
public interface FilterOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @return The sport.
*/
@java.lang.Deprecated java.lang.String getSport();
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @return The bytes for sport.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getSportBytes();
/**
* int32 league_id = 2 [json_name = "leagueId"];
* @return The leagueId.
*/
int getLeagueId();
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @return The enum numeric value on the wire for sportType.
*/
int getSportTypeValue();
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @return The sportType.
*/
com.streamlayer.sportsdata.common.SportType getSportType();
}
/**
* Protobuf type {@code streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter}
*/
public static final class Filter extends
com.google.protobuf.GeneratedMessageLite<
Filter, Filter.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter)
FilterOrBuilder {
private Filter() {
sport_ = "";
}
public static final int SPORT_FIELD_NUMBER = 1;
private java.lang.String sport_;
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @return The sport.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getSport() {
return sport_;
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @return The bytes for sport.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getSportBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sport_);
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @param value The sport to set.
*/
private void setSport(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
sport_ = value;
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
*/
private void clearSport() {
sport_ = getDefaultInstance().getSport();
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @param value The bytes for sport to set.
*/
private void setSportBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sport_ = value.toStringUtf8();
}
public static final int LEAGUE_ID_FIELD_NUMBER = 2;
private int leagueId_;
/**
* int32 league_id = 2 [json_name = "leagueId"];
* @return The leagueId.
*/
@java.lang.Override
public int getLeagueId() {
return leagueId_;
}
/**
* int32 league_id = 2 [json_name = "leagueId"];
* @param value The leagueId to set.
*/
private void setLeagueId(int value) {
leagueId_ = value;
}
/**
* int32 league_id = 2 [json_name = "leagueId"];
*/
private void clearLeagueId() {
leagueId_ = 0;
}
public static final int SPORT_TYPE_FIELD_NUMBER = 3;
private int sportType_;
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @return The enum numeric value on the wire for sportType.
*/
@java.lang.Override
public int getSportTypeValue() {
return sportType_;
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @return The sportType.
*/
@java.lang.Override
public com.streamlayer.sportsdata.common.SportType getSportType() {
com.streamlayer.sportsdata.common.SportType result = com.streamlayer.sportsdata.common.SportType.forNumber(sportType_);
return result == null ? com.streamlayer.sportsdata.common.SportType.UNRECOGNIZED : result;
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @param value The enum numeric value on the wire for sportType to set.
*/
private void setSportTypeValue(int value) {
sportType_ = value;
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @param value The sportType to set.
*/
private void setSportType(com.streamlayer.sportsdata.common.SportType value) {
sportType_ = value.getNumber();
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
*/
private void clearSportType() {
sportType_ = 0;
}
public static com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter 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.FuturesSubscriptionRequest.Filter prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter)
com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.FilterOrBuilder {
// Construct using com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @return The sport.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getSport() {
return instance.getSport();
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @return The bytes for sport.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getSportBytes() {
return instance.getSportBytes();
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @param value The sport to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setSport(
java.lang.String value) {
copyOnWrite();
instance.setSport(value);
return this;
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearSport() {
copyOnWrite();
instance.clearSport();
return this;
}
/**
* string sport = 1 [json_name = "sport", deprecated = true];
* @deprecated streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.sport is deprecated.
* See streamlayer/sportsdata/client/bets/bets.proto;l=308
* @param value The bytes for sport to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setSportBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSportBytes(value);
return this;
}
/**
* int32 league_id = 2 [json_name = "leagueId"];
* @return The leagueId.
*/
@java.lang.Override
public int getLeagueId() {
return instance.getLeagueId();
}
/**
* int32 league_id = 2 [json_name = "leagueId"];
* @param value The leagueId to set.
* @return This builder for chaining.
*/
public Builder setLeagueId(int value) {
copyOnWrite();
instance.setLeagueId(value);
return this;
}
/**
* int32 league_id = 2 [json_name = "leagueId"];
* @return This builder for chaining.
*/
public Builder clearLeagueId() {
copyOnWrite();
instance.clearLeagueId();
return this;
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @return The enum numeric value on the wire for sportType.
*/
@java.lang.Override
public int getSportTypeValue() {
return instance.getSportTypeValue();
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @param value The sportType to set.
* @return This builder for chaining.
*/
public Builder setSportTypeValue(int value) {
copyOnWrite();
instance.setSportTypeValue(value);
return this;
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @return The sportType.
*/
@java.lang.Override
public com.streamlayer.sportsdata.common.SportType getSportType() {
return instance.getSportType();
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @param value The enum numeric value on the wire for sportType to set.
* @return This builder for chaining.
*/
public Builder setSportType(com.streamlayer.sportsdata.common.SportType value) {
copyOnWrite();
instance.setSportType(value);
return this;
}
/**
* .streamlayer.sportsdata.SportType sport_type = 3 [json_name = "sportType"];
* @return This builder for chaining.
*/
public Builder clearSportType() {
copyOnWrite();
instance.clearSportType();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter)
}
@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.FuturesSubscriptionRequest.Filter();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"sport_",
"leagueId_",
"sportType_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u0004" +
"\u0003\f";
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.FuturesSubscriptionRequest.Filter.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.FuturesSubscriptionRequest.Filter)
private static final com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter DEFAULT_INSTANCE;
static {
Filter defaultInstance = new Filter();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Filter.class, defaultInstance);
}
public static com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter 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 FILTER_FIELD_NUMBER = 1;
private com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter_;
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter getFilter() {
return filter_ == null ? com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.getDefaultInstance() : filter_;
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
private void setFilter(com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter value) {
value.getClass();
filter_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFilter(com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter value) {
value.getClass();
if (filter_ != null &&
filter_ != com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.getDefaultInstance()) {
filter_ =
com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.newBuilder(filter_).mergeFrom(value).buildPartial();
} else {
filter_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
private void clearFilter() { filter_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest 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.FuturesSubscriptionRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest)
com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequestOrBuilder {
// Construct using com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return instance.hasFilter();
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter getFilter() {
return instance.getFilter();
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder setFilter(com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter value) {
copyOnWrite();
instance.setFilter(value);
return this;
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder setFilter(
com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter.Builder builderForValue) {
copyOnWrite();
instance.setFilter(builderForValue.build());
return this;
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder mergeFilter(com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter value) {
copyOnWrite();
instance.mergeFilter(value);
return this;
}
/**
* .streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder clearFilter() { copyOnWrite();
instance.clearFilter();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest)
}
@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.FuturesSubscriptionRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"filter_",
};
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.sportsdata.client.bets.FuturesSubscriptionRequest.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.FuturesSubscriptionRequest)
private static final com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest DEFAULT_INSTANCE;
static {
FuturesSubscriptionRequest defaultInstance = new FuturesSubscriptionRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FuturesSubscriptionRequest.class, defaultInstance);
}
public static com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}