main.java.com.streamlayer.inplay.ListSportsRequest 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/inplay/inplay.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.inplay;
/**
* Protobuf type {@code streamlayer.inplay.ListSportsRequest}
*/
public final class ListSportsRequest extends
com.google.protobuf.GeneratedMessageLite<
ListSportsRequest, ListSportsRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.inplay.ListSportsRequest)
ListSportsRequestOrBuilder {
private ListSportsRequest() {
}
public interface FilterOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.inplay.ListSportsRequest.Filter)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* set to true to include disqualified markets(i.e. closed or expired)"
*
*
* bool allow_closed_markets = 1 [json_name = "allowClosedMarkets"];
* @return The allowClosedMarkets.
*/
boolean getAllowClosedMarkets();
/**
*
* set to true to include games that scheduled prior to 00:00 of current day
*
*
* bool allow_past = 2 [json_name = "allowPast"];
* @return The allowPast.
*/
boolean getAllowPast();
/**
*
* set to true to filter-out games without Sportradar ID
*
*
* bool synced = 3 [json_name = "synced"];
* @return The synced.
*/
boolean getSynced();
}
/**
* Protobuf type {@code streamlayer.inplay.ListSportsRequest.Filter}
*/
public static final class Filter extends
com.google.protobuf.GeneratedMessageLite<
Filter, Filter.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.inplay.ListSportsRequest.Filter)
FilterOrBuilder {
private Filter() {
}
public static final int ALLOW_CLOSED_MARKETS_FIELD_NUMBER = 1;
private boolean allowClosedMarkets_;
/**
*
* set to true to include disqualified markets(i.e. closed or expired)"
*
*
* bool allow_closed_markets = 1 [json_name = "allowClosedMarkets"];
* @return The allowClosedMarkets.
*/
@java.lang.Override
public boolean getAllowClosedMarkets() {
return allowClosedMarkets_;
}
/**
*
* set to true to include disqualified markets(i.e. closed or expired)"
*
*
* bool allow_closed_markets = 1 [json_name = "allowClosedMarkets"];
* @param value The allowClosedMarkets to set.
*/
private void setAllowClosedMarkets(boolean value) {
allowClosedMarkets_ = value;
}
/**
*
* set to true to include disqualified markets(i.e. closed or expired)"
*
*
* bool allow_closed_markets = 1 [json_name = "allowClosedMarkets"];
*/
private void clearAllowClosedMarkets() {
allowClosedMarkets_ = false;
}
public static final int ALLOW_PAST_FIELD_NUMBER = 2;
private boolean allowPast_;
/**
*
* set to true to include games that scheduled prior to 00:00 of current day
*
*
* bool allow_past = 2 [json_name = "allowPast"];
* @return The allowPast.
*/
@java.lang.Override
public boolean getAllowPast() {
return allowPast_;
}
/**
*
* set to true to include games that scheduled prior to 00:00 of current day
*
*
* bool allow_past = 2 [json_name = "allowPast"];
* @param value The allowPast to set.
*/
private void setAllowPast(boolean value) {
allowPast_ = value;
}
/**
*
* set to true to include games that scheduled prior to 00:00 of current day
*
*
* bool allow_past = 2 [json_name = "allowPast"];
*/
private void clearAllowPast() {
allowPast_ = false;
}
public static final int SYNCED_FIELD_NUMBER = 3;
private boolean synced_;
/**
*
* set to true to filter-out games without Sportradar ID
*
*
* bool synced = 3 [json_name = "synced"];
* @return The synced.
*/
@java.lang.Override
public boolean getSynced() {
return synced_;
}
/**
*
* set to true to filter-out games without Sportradar ID
*
*
* bool synced = 3 [json_name = "synced"];
* @param value The synced to set.
*/
private void setSynced(boolean value) {
synced_ = value;
}
/**
*
* set to true to filter-out games without Sportradar ID
*
*
* bool synced = 3 [json_name = "synced"];
*/
private void clearSynced() {
synced_ = false;
}
public static com.streamlayer.inplay.ListSportsRequest.Filter parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.ListSportsRequest.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.inplay.ListSportsRequest.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.inplay.ListSportsRequest.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.inplay.ListSportsRequest.Filter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.ListSportsRequest.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.inplay.ListSportsRequest.Filter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.ListSportsRequest.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.inplay.ListSportsRequest.Filter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.ListSportsRequest.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.inplay.ListSportsRequest.Filter parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.ListSportsRequest.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.inplay.ListSportsRequest.Filter prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.inplay.ListSportsRequest.Filter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.inplay.ListSportsRequest.Filter, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.inplay.ListSportsRequest.Filter)
com.streamlayer.inplay.ListSportsRequest.FilterOrBuilder {
// Construct using com.streamlayer.inplay.ListSportsRequest.Filter.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* set to true to include disqualified markets(i.e. closed or expired)"
*
*
* bool allow_closed_markets = 1 [json_name = "allowClosedMarkets"];
* @return The allowClosedMarkets.
*/
@java.lang.Override
public boolean getAllowClosedMarkets() {
return instance.getAllowClosedMarkets();
}
/**
*
* set to true to include disqualified markets(i.e. closed or expired)"
*
*
* bool allow_closed_markets = 1 [json_name = "allowClosedMarkets"];
* @param value The allowClosedMarkets to set.
* @return This builder for chaining.
*/
public Builder setAllowClosedMarkets(boolean value) {
copyOnWrite();
instance.setAllowClosedMarkets(value);
return this;
}
/**
*
* set to true to include disqualified markets(i.e. closed or expired)"
*
*
* bool allow_closed_markets = 1 [json_name = "allowClosedMarkets"];
* @return This builder for chaining.
*/
public Builder clearAllowClosedMarkets() {
copyOnWrite();
instance.clearAllowClosedMarkets();
return this;
}
/**
*
* set to true to include games that scheduled prior to 00:00 of current day
*
*
* bool allow_past = 2 [json_name = "allowPast"];
* @return The allowPast.
*/
@java.lang.Override
public boolean getAllowPast() {
return instance.getAllowPast();
}
/**
*
* set to true to include games that scheduled prior to 00:00 of current day
*
*
* bool allow_past = 2 [json_name = "allowPast"];
* @param value The allowPast to set.
* @return This builder for chaining.
*/
public Builder setAllowPast(boolean value) {
copyOnWrite();
instance.setAllowPast(value);
return this;
}
/**
*
* set to true to include games that scheduled prior to 00:00 of current day
*
*
* bool allow_past = 2 [json_name = "allowPast"];
* @return This builder for chaining.
*/
public Builder clearAllowPast() {
copyOnWrite();
instance.clearAllowPast();
return this;
}
/**
*
* set to true to filter-out games without Sportradar ID
*
*
* bool synced = 3 [json_name = "synced"];
* @return The synced.
*/
@java.lang.Override
public boolean getSynced() {
return instance.getSynced();
}
/**
*
* set to true to filter-out games without Sportradar ID
*
*
* bool synced = 3 [json_name = "synced"];
* @param value The synced to set.
* @return This builder for chaining.
*/
public Builder setSynced(boolean value) {
copyOnWrite();
instance.setSynced(value);
return this;
}
/**
*
* set to true to filter-out games without Sportradar ID
*
*
* bool synced = 3 [json_name = "synced"];
* @return This builder for chaining.
*/
public Builder clearSynced() {
copyOnWrite();
instance.clearSynced();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.inplay.ListSportsRequest.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.inplay.ListSportsRequest.Filter();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"allowClosedMarkets_",
"allowPast_",
"synced_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0007\u0002\u0007" +
"\u0003\u0007";
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.inplay.ListSportsRequest.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.inplay.ListSportsRequest.Filter)
private static final com.streamlayer.inplay.ListSportsRequest.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.inplay.ListSportsRequest.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.inplay.ListSportsRequest.Filter filter_;
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.inplay.ListSportsRequest.Filter getFilter() {
return filter_ == null ? com.streamlayer.inplay.ListSportsRequest.Filter.getDefaultInstance() : filter_;
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
private void setFilter(com.streamlayer.inplay.ListSportsRequest.Filter value) {
value.getClass();
filter_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFilter(com.streamlayer.inplay.ListSportsRequest.Filter value) {
value.getClass();
if (filter_ != null &&
filter_ != com.streamlayer.inplay.ListSportsRequest.Filter.getDefaultInstance()) {
filter_ =
com.streamlayer.inplay.ListSportsRequest.Filter.newBuilder(filter_).mergeFrom(value).buildPartial();
} else {
filter_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
private void clearFilter() { filter_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.inplay.ListSportsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.ListSportsRequest 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.inplay.ListSportsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.ListSportsRequest 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.inplay.ListSportsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.ListSportsRequest 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.inplay.ListSportsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.ListSportsRequest 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.inplay.ListSportsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.ListSportsRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.inplay.ListSportsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.ListSportsRequest 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.inplay.ListSportsRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.inplay.ListSportsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.inplay.ListSportsRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.inplay.ListSportsRequest)
com.streamlayer.inplay.ListSportsRequestOrBuilder {
// Construct using com.streamlayer.inplay.ListSportsRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return instance.hasFilter();
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.inplay.ListSportsRequest.Filter getFilter() {
return instance.getFilter();
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder setFilter(com.streamlayer.inplay.ListSportsRequest.Filter value) {
copyOnWrite();
instance.setFilter(value);
return this;
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder setFilter(
com.streamlayer.inplay.ListSportsRequest.Filter.Builder builderForValue) {
copyOnWrite();
instance.setFilter(builderForValue.build());
return this;
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder mergeFilter(com.streamlayer.inplay.ListSportsRequest.Filter value) {
copyOnWrite();
instance.mergeFilter(value);
return this;
}
/**
* .streamlayer.inplay.ListSportsRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder clearFilter() { copyOnWrite();
instance.clearFilter();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.inplay.ListSportsRequest)
}
@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.inplay.ListSportsRequest();
}
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.inplay.ListSportsRequest.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.inplay.ListSportsRequest)
private static final com.streamlayer.inplay.ListSportsRequest DEFAULT_INSTANCE;
static {
ListSportsRequest defaultInstance = new ListSportsRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ListSportsRequest.class, defaultInstance);
}
public static com.streamlayer.inplay.ListSportsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}