main.java.com.streamlayer.inplay.bets.ListRequest 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/bets/inplay.bets.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.inplay.bets;
/**
* Protobuf type {@code streamlayer.inplay.bets.ListRequest}
*/
public final class ListRequest extends
com.google.protobuf.GeneratedMessageLite<
ListRequest, ListRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.inplay.bets.ListRequest)
ListRequestOrBuilder {
private ListRequest() {
cursor_ = "";
order_ = "";
}
public interface FilterOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.inplay.bets.ListRequest.Filter)
com.google.protobuf.MessageLiteOrBuilder {
/**
* repeated string games = 1 [json_name = "games"];
* @return A list containing the games.
*/
java.util.List
getGamesList();
/**
* repeated string games = 1 [json_name = "games"];
* @return The count of games.
*/
int getGamesCount();
/**
* repeated string games = 1 [json_name = "games"];
* @param index The index of the element to return.
* @return The games at the given index.
*/
java.lang.String getGames(int index);
/**
* repeated string games = 1 [json_name = "games"];
* @param index The index of the element to return.
* @return The games at the given index.
*/
com.google.protobuf.ByteString
getGamesBytes(int index);
/**
* repeated string sports = 2 [json_name = "sports"];
* @return A list containing the sports.
*/
java.util.List
getSportsList();
/**
* repeated string sports = 2 [json_name = "sports"];
* @return The count of sports.
*/
int getSportsCount();
/**
* repeated string sports = 2 [json_name = "sports"];
* @param index The index of the element to return.
* @return The sports at the given index.
*/
java.lang.String getSports(int index);
/**
* repeated string sports = 2 [json_name = "sports"];
* @param index The index of the element to return.
* @return The sports at the given index.
*/
com.google.protobuf.ByteString
getSportsBytes(int index);
/**
* repeated string countries = 3 [json_name = "countries"];
* @return A list containing the countries.
*/
java.util.List
getCountriesList();
/**
* repeated string countries = 3 [json_name = "countries"];
* @return The count of countries.
*/
int getCountriesCount();
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the element to return.
* @return The countries at the given index.
*/
java.lang.String getCountries(int index);
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the element to return.
* @return The countries at the given index.
*/
com.google.protobuf.ByteString
getCountriesBytes(int index);
}
/**
* Protobuf type {@code streamlayer.inplay.bets.ListRequest.Filter}
*/
public static final class Filter extends
com.google.protobuf.GeneratedMessageLite<
Filter, Filter.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.inplay.bets.ListRequest.Filter)
FilterOrBuilder {
private Filter() {
games_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
sports_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
countries_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
public static final int GAMES_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList games_;
/**
* repeated string games = 1 [json_name = "games"];
* @return A list containing the games.
*/
@java.lang.Override
public java.util.List getGamesList() {
return games_;
}
/**
* repeated string games = 1 [json_name = "games"];
* @return The count of games.
*/
@java.lang.Override
public int getGamesCount() {
return games_.size();
}
/**
* repeated string games = 1 [json_name = "games"];
* @param index The index of the element to return.
* @return The games at the given index.
*/
@java.lang.Override
public java.lang.String getGames(int index) {
return games_.get(index);
}
/**
* repeated string games = 1 [json_name = "games"];
* @param index The index of the value to return.
* @return The bytes of the games at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGamesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
games_.get(index));
}
private void ensureGamesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
games_; if (!tmp.isModifiable()) {
games_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string games = 1 [json_name = "games"];
* @param index The index to set the value at.
* @param value The games to set.
*/
private void setGames(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureGamesIsMutable();
games_.set(index, value);
}
/**
* repeated string games = 1 [json_name = "games"];
* @param value The games to add.
*/
private void addGames(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureGamesIsMutable();
games_.add(value);
}
/**
* repeated string games = 1 [json_name = "games"];
* @param values The games to add.
*/
private void addAllGames(
java.lang.Iterable values) {
ensureGamesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, games_);
}
/**
* repeated string games = 1 [json_name = "games"];
*/
private void clearGames() {
games_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string games = 1 [json_name = "games"];
* @param value The bytes of the games to add.
*/
private void addGamesBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureGamesIsMutable();
games_.add(value.toStringUtf8());
}
public static final int SPORTS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList sports_;
/**
* repeated string sports = 2 [json_name = "sports"];
* @return A list containing the sports.
*/
@java.lang.Override
public java.util.List getSportsList() {
return sports_;
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @return The count of sports.
*/
@java.lang.Override
public int getSportsCount() {
return sports_.size();
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param index The index of the element to return.
* @return The sports at the given index.
*/
@java.lang.Override
public java.lang.String getSports(int index) {
return sports_.get(index);
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param index The index of the value to return.
* @return The bytes of the sports at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSportsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
sports_.get(index));
}
private void ensureSportsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
sports_; if (!tmp.isModifiable()) {
sports_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param index The index to set the value at.
* @param value The sports to set.
*/
private void setSports(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureSportsIsMutable();
sports_.set(index, value);
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param value The sports to add.
*/
private void addSports(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureSportsIsMutable();
sports_.add(value);
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param values The sports to add.
*/
private void addAllSports(
java.lang.Iterable values) {
ensureSportsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, sports_);
}
/**
* repeated string sports = 2 [json_name = "sports"];
*/
private void clearSports() {
sports_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param value The bytes of the sports to add.
*/
private void addSportsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureSportsIsMutable();
sports_.add(value.toStringUtf8());
}
public static final int COUNTRIES_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList countries_;
/**
* repeated string countries = 3 [json_name = "countries"];
* @return A list containing the countries.
*/
@java.lang.Override
public java.util.List getCountriesList() {
return countries_;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @return The count of countries.
*/
@java.lang.Override
public int getCountriesCount() {
return countries_.size();
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the element to return.
* @return The countries at the given index.
*/
@java.lang.Override
public java.lang.String getCountries(int index) {
return countries_.get(index);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the value to return.
* @return The bytes of the countries at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountriesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
countries_.get(index));
}
private void ensureCountriesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
countries_; if (!tmp.isModifiable()) {
countries_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index to set the value at.
* @param value The countries to set.
*/
private void setCountries(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureCountriesIsMutable();
countries_.set(index, value);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param value The countries to add.
*/
private void addCountries(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureCountriesIsMutable();
countries_.add(value);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param values The countries to add.
*/
private void addAllCountries(
java.lang.Iterable values) {
ensureCountriesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, countries_);
}
/**
* repeated string countries = 3 [json_name = "countries"];
*/
private void clearCountries() {
countries_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param value The bytes of the countries to add.
*/
private void addCountriesBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureCountriesIsMutable();
countries_.add(value.toStringUtf8());
}
public static com.streamlayer.inplay.bets.ListRequest.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.bets.ListRequest.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.bets.ListRequest.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.bets.ListRequest.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.bets.ListRequest.Filter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.bets.ListRequest.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.bets.ListRequest.Filter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.bets.ListRequest.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.bets.ListRequest.Filter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.bets.ListRequest.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.bets.ListRequest.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.bets.ListRequest.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.bets.ListRequest.Filter prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.inplay.bets.ListRequest.Filter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.inplay.bets.ListRequest.Filter, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.inplay.bets.ListRequest.Filter)
com.streamlayer.inplay.bets.ListRequest.FilterOrBuilder {
// Construct using com.streamlayer.inplay.bets.ListRequest.Filter.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated string games = 1 [json_name = "games"];
* @return A list containing the games.
*/
@java.lang.Override
public java.util.List
getGamesList() {
return java.util.Collections.unmodifiableList(
instance.getGamesList());
}
/**
* repeated string games = 1 [json_name = "games"];
* @return The count of games.
*/
@java.lang.Override
public int getGamesCount() {
return instance.getGamesCount();
}
/**
* repeated string games = 1 [json_name = "games"];
* @param index The index of the element to return.
* @return The games at the given index.
*/
@java.lang.Override
public java.lang.String getGames(int index) {
return instance.getGames(index);
}
/**
* repeated string games = 1 [json_name = "games"];
* @param index The index of the value to return.
* @return The bytes of the games at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGamesBytes(int index) {
return instance.getGamesBytes(index);
}
/**
* repeated string games = 1 [json_name = "games"];
* @param index The index to set the value at.
* @param value The games to set.
* @return This builder for chaining.
*/
public Builder setGames(
int index, java.lang.String value) {
copyOnWrite();
instance.setGames(index, value);
return this;
}
/**
* repeated string games = 1 [json_name = "games"];
* @param value The games to add.
* @return This builder for chaining.
*/
public Builder addGames(
java.lang.String value) {
copyOnWrite();
instance.addGames(value);
return this;
}
/**
* repeated string games = 1 [json_name = "games"];
* @param values The games to add.
* @return This builder for chaining.
*/
public Builder addAllGames(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllGames(values);
return this;
}
/**
* repeated string games = 1 [json_name = "games"];
* @return This builder for chaining.
*/
public Builder clearGames() {
copyOnWrite();
instance.clearGames();
return this;
}
/**
* repeated string games = 1 [json_name = "games"];
* @param value The bytes of the games to add.
* @return This builder for chaining.
*/
public Builder addGamesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addGamesBytes(value);
return this;
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @return A list containing the sports.
*/
@java.lang.Override
public java.util.List
getSportsList() {
return java.util.Collections.unmodifiableList(
instance.getSportsList());
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @return The count of sports.
*/
@java.lang.Override
public int getSportsCount() {
return instance.getSportsCount();
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param index The index of the element to return.
* @return The sports at the given index.
*/
@java.lang.Override
public java.lang.String getSports(int index) {
return instance.getSports(index);
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param index The index of the value to return.
* @return The bytes of the sports at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSportsBytes(int index) {
return instance.getSportsBytes(index);
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param index The index to set the value at.
* @param value The sports to set.
* @return This builder for chaining.
*/
public Builder setSports(
int index, java.lang.String value) {
copyOnWrite();
instance.setSports(index, value);
return this;
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param value The sports to add.
* @return This builder for chaining.
*/
public Builder addSports(
java.lang.String value) {
copyOnWrite();
instance.addSports(value);
return this;
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param values The sports to add.
* @return This builder for chaining.
*/
public Builder addAllSports(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllSports(values);
return this;
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @return This builder for chaining.
*/
public Builder clearSports() {
copyOnWrite();
instance.clearSports();
return this;
}
/**
* repeated string sports = 2 [json_name = "sports"];
* @param value The bytes of the sports to add.
* @return This builder for chaining.
*/
public Builder addSportsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addSportsBytes(value);
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @return A list containing the countries.
*/
@java.lang.Override
public java.util.List
getCountriesList() {
return java.util.Collections.unmodifiableList(
instance.getCountriesList());
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @return The count of countries.
*/
@java.lang.Override
public int getCountriesCount() {
return instance.getCountriesCount();
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the element to return.
* @return The countries at the given index.
*/
@java.lang.Override
public java.lang.String getCountries(int index) {
return instance.getCountries(index);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the value to return.
* @return The bytes of the countries at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountriesBytes(int index) {
return instance.getCountriesBytes(index);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index to set the value at.
* @param value The countries to set.
* @return This builder for chaining.
*/
public Builder setCountries(
int index, java.lang.String value) {
copyOnWrite();
instance.setCountries(index, value);
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param value The countries to add.
* @return This builder for chaining.
*/
public Builder addCountries(
java.lang.String value) {
copyOnWrite();
instance.addCountries(value);
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param values The countries to add.
* @return This builder for chaining.
*/
public Builder addAllCountries(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllCountries(values);
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @return This builder for chaining.
*/
public Builder clearCountries() {
copyOnWrite();
instance.clearCountries();
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param value The bytes of the countries to add.
* @return This builder for chaining.
*/
public Builder addCountriesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCountriesBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.inplay.bets.ListRequest.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.bets.ListRequest.Filter();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"games_",
"sports_",
"countries_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0003\u0000\u0001\u021a\u0002\u021a" +
"\u0003\u021a";
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.bets.ListRequest.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.bets.ListRequest.Filter)
private static final com.streamlayer.inplay.bets.ListRequest.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.bets.ListRequest.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.bets.ListRequest.Filter filter_;
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.inplay.bets.ListRequest.Filter getFilter() {
return filter_ == null ? com.streamlayer.inplay.bets.ListRequest.Filter.getDefaultInstance() : filter_;
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
private void setFilter(com.streamlayer.inplay.bets.ListRequest.Filter value) {
value.getClass();
filter_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFilter(com.streamlayer.inplay.bets.ListRequest.Filter value) {
value.getClass();
if (filter_ != null &&
filter_ != com.streamlayer.inplay.bets.ListRequest.Filter.getDefaultInstance()) {
filter_ =
com.streamlayer.inplay.bets.ListRequest.Filter.newBuilder(filter_).mergeFrom(value).buildPartial();
} else {
filter_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
private void clearFilter() { filter_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int PAGE_FIELD_NUMBER = 2;
private int page_;
/**
*
* Page number, 0 by default
*
*
* int32 page = 2 [json_name = "page"];
* @return The page.
*/
@java.lang.Override
public int getPage() {
return page_;
}
/**
*
* Page number, 0 by default
*
*
* int32 page = 2 [json_name = "page"];
* @param value The page to set.
*/
private void setPage(int value) {
page_ = value;
}
/**
*
* Page number, 0 by default
*
*
* int32 page = 2 [json_name = "page"];
*/
private void clearPage() {
page_ = 0;
}
public static final int PAGE_SIZE_FIELD_NUMBER = 3;
private int pageSize_;
/**
*
* Amount of items per page, 25 by default
*
*
* int32 page_size = 3 [json_name = "pageSize"];
* @return The pageSize.
*/
@java.lang.Override
public int getPageSize() {
return pageSize_;
}
/**
*
* Amount of items per page, 25 by default
*
*
* int32 page_size = 3 [json_name = "pageSize"];
* @param value The pageSize to set.
*/
private void setPageSize(int value) {
pageSize_ = value;
}
/**
*
* Amount of items per page, 25 by default
*
*
* int32 page_size = 3 [json_name = "pageSize"];
*/
private void clearPageSize() {
pageSize_ = 0;
}
public static final int CURSOR_FIELD_NUMBER = 4;
private java.lang.String cursor_;
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @return The cursor.
*/
@java.lang.Override
public java.lang.String getCursor() {
return cursor_;
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @return The bytes for cursor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCursorBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(cursor_);
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @param value The cursor to set.
*/
private void setCursor(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
cursor_ = value;
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
*/
private void clearCursor() {
cursor_ = getDefaultInstance().getCursor();
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @param value The bytes for cursor to set.
*/
private void setCursorBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
cursor_ = value.toStringUtf8();
}
public static final int ORDER_FIELD_NUMBER = 5;
private java.lang.String order_;
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @return The order.
*/
@java.lang.Override
public java.lang.String getOrder() {
return order_;
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @return The bytes for order.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrderBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(order_);
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @param value The order to set.
*/
private void setOrder(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
order_ = value;
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
*/
private void clearOrder() {
order_ = getDefaultInstance().getOrder();
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @param value The bytes for order to set.
*/
private void setOrderBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
order_ = value.toStringUtf8();
}
public static com.streamlayer.inplay.bets.ListRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.bets.ListRequest 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.bets.ListRequest 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.bets.ListRequest 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.bets.ListRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.inplay.bets.ListRequest 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.bets.ListRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.bets.ListRequest 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.bets.ListRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.bets.ListRequest 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.bets.ListRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.inplay.bets.ListRequest 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.bets.ListRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.inplay.bets.ListRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.inplay.bets.ListRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.inplay.bets.ListRequest)
com.streamlayer.inplay.bets.ListRequestOrBuilder {
// Construct using com.streamlayer.inplay.bets.ListRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return instance.hasFilter();
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.inplay.bets.ListRequest.Filter getFilter() {
return instance.getFilter();
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder setFilter(com.streamlayer.inplay.bets.ListRequest.Filter value) {
copyOnWrite();
instance.setFilter(value);
return this;
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder setFilter(
com.streamlayer.inplay.bets.ListRequest.Filter.Builder builderForValue) {
copyOnWrite();
instance.setFilter(builderForValue.build());
return this;
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder mergeFilter(com.streamlayer.inplay.bets.ListRequest.Filter value) {
copyOnWrite();
instance.mergeFilter(value);
return this;
}
/**
* .streamlayer.inplay.bets.ListRequest.Filter filter = 1 [json_name = "filter"];
*/
public Builder clearFilter() { copyOnWrite();
instance.clearFilter();
return this;
}
/**
*
* Page number, 0 by default
*
*
* int32 page = 2 [json_name = "page"];
* @return The page.
*/
@java.lang.Override
public int getPage() {
return instance.getPage();
}
/**
*
* Page number, 0 by default
*
*
* int32 page = 2 [json_name = "page"];
* @param value The page to set.
* @return This builder for chaining.
*/
public Builder setPage(int value) {
copyOnWrite();
instance.setPage(value);
return this;
}
/**
*
* Page number, 0 by default
*
*
* int32 page = 2 [json_name = "page"];
* @return This builder for chaining.
*/
public Builder clearPage() {
copyOnWrite();
instance.clearPage();
return this;
}
/**
*
* Amount of items per page, 25 by default
*
*
* int32 page_size = 3 [json_name = "pageSize"];
* @return The pageSize.
*/
@java.lang.Override
public int getPageSize() {
return instance.getPageSize();
}
/**
*
* Amount of items per page, 25 by default
*
*
* int32 page_size = 3 [json_name = "pageSize"];
* @param value The pageSize to set.
* @return This builder for chaining.
*/
public Builder setPageSize(int value) {
copyOnWrite();
instance.setPageSize(value);
return this;
}
/**
*
* Amount of items per page, 25 by default
*
*
* int32 page_size = 3 [json_name = "pageSize"];
* @return This builder for chaining.
*/
public Builder clearPageSize() {
copyOnWrite();
instance.clearPageSize();
return this;
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @return The cursor.
*/
@java.lang.Override
public java.lang.String getCursor() {
return instance.getCursor();
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @return The bytes for cursor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCursorBytes() {
return instance.getCursorBytes();
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @param value The cursor to set.
* @return This builder for chaining.
*/
public Builder setCursor(
java.lang.String value) {
copyOnWrite();
instance.setCursor(value);
return this;
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @return This builder for chaining.
*/
public Builder clearCursor() {
copyOnWrite();
instance.clearCursor();
return this;
}
/**
*
* Pass biggest internal status id for consistent pagination
*
*
* string cursor = 4 [json_name = "cursor"];
* @param value The bytes for cursor to set.
* @return This builder for chaining.
*/
public Builder setCursorBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCursorBytes(value);
return this;
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @return The order.
*/
@java.lang.Override
public java.lang.String getOrder() {
return instance.getOrder();
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @return The bytes for order.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrderBytes() {
return instance.getOrderBytes();
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @param value The order to set.
* @return This builder for chaining.
*/
public Builder setOrder(
java.lang.String value) {
copyOnWrite();
instance.setOrder(value);
return this;
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @return This builder for chaining.
*/
public Builder clearOrder() {
copyOnWrite();
instance.clearOrder();
return this;
}
/**
*
* could be asc or desc
*
*
* string order = 5 [json_name = "order"];
* @param value The bytes for order to set.
* @return This builder for chaining.
*/
public Builder setOrderBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrderBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.inplay.bets.ListRequest)
}
@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.bets.ListRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"filter_",
"page_",
"pageSize_",
"cursor_",
"order_",
};
java.lang.String info =
"\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u0004\u0003\u0004\u0004\u0208\u0005\u0208";
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.bets.ListRequest.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.bets.ListRequest)
private static final com.streamlayer.inplay.bets.ListRequest DEFAULT_INSTANCE;
static {
ListRequest defaultInstance = new ListRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ListRequest.class, defaultInstance);
}
public static com.streamlayer.inplay.bets.ListRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}