All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.inplay.games.ListRequest Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/inplay/games/inplay.games.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.inplay.games;

/**
 * Protobuf type {@code streamlayer.inplay.games.ListRequest}
 */
public  final class ListRequest extends
    com.google.protobuf.GeneratedMessageLite<
        ListRequest, ListRequest.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.inplay.games.ListRequest)
    ListRequestOrBuilder {
  private ListRequest() {
    order_ = "";
    criteria_ = "";
  }
  public interface FilterOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.inplay.games.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);

    /**
     * repeated string leagues = 4 [json_name = "leagues"];
     * @return A list containing the leagues.
     */
    java.util.List
        getLeaguesList();
    /**
     * repeated string leagues = 4 [json_name = "leagues"];
     * @return The count of leagues.
     */
    int getLeaguesCount();
    /**
     * repeated string leagues = 4 [json_name = "leagues"];
     * @param index The index of the element to return.
     * @return The leagues at the given index.
     */
    java.lang.String getLeagues(int index);
    /**
     * repeated string leagues = 4 [json_name = "leagues"];
     * @param index The index of the element to return.
     * @return The leagues at the given index.
     */
    com.google.protobuf.ByteString
        getLeaguesBytes(int index);

    /**
     * bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"];
     * @return The allowClosedMarkets.
     */
    boolean getAllowClosedMarkets();

    /**
     * bool allow_past = 6 [json_name = "allowPast"];
     * @return The allowPast.
     */
    boolean getAllowPast();

    /**
     * bool synced = 7 [json_name = "synced"];
     * @return The synced.
     */
    boolean getSynced();

    /**
     * int32 since = 8 [json_name = "since"];
     * @return The since.
     */
    int getSince();

    /**
     * int32 till = 9 [json_name = "till"];
     * @return The till.
     */
    int getTill();

    /**
     * 
     * use for favorites
     * 
* * uint64 sport_id = 10 [json_name = "sportId"]; * @return The sportId. */ long getSportId(); /** * uint64 league_id = 11 [json_name = "leagueId"]; * @return The leagueId. */ long getLeagueId(); /** * uint64 team_id = 12 [json_name = "teamId"]; * @return The teamId. */ long getTeamId(); } /** * Protobuf type {@code streamlayer.inplay.games.ListRequest.Filter} */ public static final class Filter extends com.google.protobuf.GeneratedMessageLite< Filter, Filter.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.inplay.games.ListRequest.Filter) FilterOrBuilder { private Filter() { games_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); sports_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); countries_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); leagues_ = 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 final int LEAGUES_FIELD_NUMBER = 4; private com.google.protobuf.Internal.ProtobufList leagues_; /** * repeated string leagues = 4 [json_name = "leagues"]; * @return A list containing the leagues. */ @java.lang.Override public java.util.List getLeaguesList() { return leagues_; } /** * repeated string leagues = 4 [json_name = "leagues"]; * @return The count of leagues. */ @java.lang.Override public int getLeaguesCount() { return leagues_.size(); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param index The index of the element to return. * @return The leagues at the given index. */ @java.lang.Override public java.lang.String getLeagues(int index) { return leagues_.get(index); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param index The index of the value to return. * @return The bytes of the leagues at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getLeaguesBytes(int index) { return com.google.protobuf.ByteString.copyFromUtf8( leagues_.get(index)); } private void ensureLeaguesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = leagues_; if (!tmp.isModifiable()) { leagues_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param index The index to set the value at. * @param value The leagues to set. */ private void setLeagues( int index, java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureLeaguesIsMutable(); leagues_.set(index, value); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param value The leagues to add. */ private void addLeagues( java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureLeaguesIsMutable(); leagues_.add(value); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param values The leagues to add. */ private void addAllLeagues( java.lang.Iterable values) { ensureLeaguesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, leagues_); } /** * repeated string leagues = 4 [json_name = "leagues"]; */ private void clearLeagues() { leagues_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param value The bytes of the leagues to add. */ private void addLeaguesBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureLeaguesIsMutable(); leagues_.add(value.toStringUtf8()); } public static final int ALLOW_CLOSED_MARKETS_FIELD_NUMBER = 5; private boolean allowClosedMarkets_; /** * bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"]; * @return The allowClosedMarkets. */ @java.lang.Override public boolean getAllowClosedMarkets() { return allowClosedMarkets_; } /** * bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"]; * @param value The allowClosedMarkets to set. */ private void setAllowClosedMarkets(boolean value) { allowClosedMarkets_ = value; } /** * bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"]; */ private void clearAllowClosedMarkets() { allowClosedMarkets_ = false; } public static final int ALLOW_PAST_FIELD_NUMBER = 6; private boolean allowPast_; /** * bool allow_past = 6 [json_name = "allowPast"]; * @return The allowPast. */ @java.lang.Override public boolean getAllowPast() { return allowPast_; } /** * bool allow_past = 6 [json_name = "allowPast"]; * @param value The allowPast to set. */ private void setAllowPast(boolean value) { allowPast_ = value; } /** * bool allow_past = 6 [json_name = "allowPast"]; */ private void clearAllowPast() { allowPast_ = false; } public static final int SYNCED_FIELD_NUMBER = 7; private boolean synced_; /** * bool synced = 7 [json_name = "synced"]; * @return The synced. */ @java.lang.Override public boolean getSynced() { return synced_; } /** * bool synced = 7 [json_name = "synced"]; * @param value The synced to set. */ private void setSynced(boolean value) { synced_ = value; } /** * bool synced = 7 [json_name = "synced"]; */ private void clearSynced() { synced_ = false; } public static final int SINCE_FIELD_NUMBER = 8; private int since_; /** * int32 since = 8 [json_name = "since"]; * @return The since. */ @java.lang.Override public int getSince() { return since_; } /** * int32 since = 8 [json_name = "since"]; * @param value The since to set. */ private void setSince(int value) { since_ = value; } /** * int32 since = 8 [json_name = "since"]; */ private void clearSince() { since_ = 0; } public static final int TILL_FIELD_NUMBER = 9; private int till_; /** * int32 till = 9 [json_name = "till"]; * @return The till. */ @java.lang.Override public int getTill() { return till_; } /** * int32 till = 9 [json_name = "till"]; * @param value The till to set. */ private void setTill(int value) { till_ = value; } /** * int32 till = 9 [json_name = "till"]; */ private void clearTill() { till_ = 0; } public static final int SPORT_ID_FIELD_NUMBER = 10; private long sportId_; /** *
     * use for favorites
     * 
* * uint64 sport_id = 10 [json_name = "sportId"]; * @return The sportId. */ @java.lang.Override public long getSportId() { return sportId_; } /** *
     * use for favorites
     * 
* * uint64 sport_id = 10 [json_name = "sportId"]; * @param value The sportId to set. */ private void setSportId(long value) { sportId_ = value; } /** *
     * use for favorites
     * 
* * uint64 sport_id = 10 [json_name = "sportId"]; */ private void clearSportId() { sportId_ = 0L; } public static final int LEAGUE_ID_FIELD_NUMBER = 11; private long leagueId_; /** * uint64 league_id = 11 [json_name = "leagueId"]; * @return The leagueId. */ @java.lang.Override public long getLeagueId() { return leagueId_; } /** * uint64 league_id = 11 [json_name = "leagueId"]; * @param value The leagueId to set. */ private void setLeagueId(long value) { leagueId_ = value; } /** * uint64 league_id = 11 [json_name = "leagueId"]; */ private void clearLeagueId() { leagueId_ = 0L; } public static final int TEAM_ID_FIELD_NUMBER = 12; private long teamId_; /** * uint64 team_id = 12 [json_name = "teamId"]; * @return The teamId. */ @java.lang.Override public long getTeamId() { return teamId_; } /** * uint64 team_id = 12 [json_name = "teamId"]; * @param value The teamId to set. */ private void setTeamId(long value) { teamId_ = value; } /** * uint64 team_id = 12 [json_name = "teamId"]; */ private void clearTeamId() { teamId_ = 0L; } public static com.streamlayer.inplay.games.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.games.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.games.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.games.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.games.ListRequest.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.inplay.games.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.games.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.games.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.games.ListRequest.Filter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.inplay.games.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.games.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.games.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.games.ListRequest.Filter prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.inplay.games.ListRequest.Filter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.inplay.games.ListRequest.Filter, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.inplay.games.ListRequest.Filter) com.streamlayer.inplay.games.ListRequest.FilterOrBuilder { // Construct using com.streamlayer.inplay.games.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; } /** * repeated string leagues = 4 [json_name = "leagues"]; * @return A list containing the leagues. */ @java.lang.Override public java.util.List getLeaguesList() { return java.util.Collections.unmodifiableList( instance.getLeaguesList()); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @return The count of leagues. */ @java.lang.Override public int getLeaguesCount() { return instance.getLeaguesCount(); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param index The index of the element to return. * @return The leagues at the given index. */ @java.lang.Override public java.lang.String getLeagues(int index) { return instance.getLeagues(index); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param index The index of the value to return. * @return The bytes of the leagues at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getLeaguesBytes(int index) { return instance.getLeaguesBytes(index); } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param index The index to set the value at. * @param value The leagues to set. * @return This builder for chaining. */ public Builder setLeagues( int index, java.lang.String value) { copyOnWrite(); instance.setLeagues(index, value); return this; } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param value The leagues to add. * @return This builder for chaining. */ public Builder addLeagues( java.lang.String value) { copyOnWrite(); instance.addLeagues(value); return this; } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param values The leagues to add. * @return This builder for chaining. */ public Builder addAllLeagues( java.lang.Iterable values) { copyOnWrite(); instance.addAllLeagues(values); return this; } /** * repeated string leagues = 4 [json_name = "leagues"]; * @return This builder for chaining. */ public Builder clearLeagues() { copyOnWrite(); instance.clearLeagues(); return this; } /** * repeated string leagues = 4 [json_name = "leagues"]; * @param value The bytes of the leagues to add. * @return This builder for chaining. */ public Builder addLeaguesBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.addLeaguesBytes(value); return this; } /** * bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"]; * @return The allowClosedMarkets. */ @java.lang.Override public boolean getAllowClosedMarkets() { return instance.getAllowClosedMarkets(); } /** * bool allow_closed_markets = 5 [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; } /** * bool allow_closed_markets = 5 [json_name = "allowClosedMarkets"]; * @return This builder for chaining. */ public Builder clearAllowClosedMarkets() { copyOnWrite(); instance.clearAllowClosedMarkets(); return this; } /** * bool allow_past = 6 [json_name = "allowPast"]; * @return The allowPast. */ @java.lang.Override public boolean getAllowPast() { return instance.getAllowPast(); } /** * bool allow_past = 6 [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; } /** * bool allow_past = 6 [json_name = "allowPast"]; * @return This builder for chaining. */ public Builder clearAllowPast() { copyOnWrite(); instance.clearAllowPast(); return this; } /** * bool synced = 7 [json_name = "synced"]; * @return The synced. */ @java.lang.Override public boolean getSynced() { return instance.getSynced(); } /** * bool synced = 7 [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; } /** * bool synced = 7 [json_name = "synced"]; * @return This builder for chaining. */ public Builder clearSynced() { copyOnWrite(); instance.clearSynced(); return this; } /** * int32 since = 8 [json_name = "since"]; * @return The since. */ @java.lang.Override public int getSince() { return instance.getSince(); } /** * int32 since = 8 [json_name = "since"]; * @param value The since to set. * @return This builder for chaining. */ public Builder setSince(int value) { copyOnWrite(); instance.setSince(value); return this; } /** * int32 since = 8 [json_name = "since"]; * @return This builder for chaining. */ public Builder clearSince() { copyOnWrite(); instance.clearSince(); return this; } /** * int32 till = 9 [json_name = "till"]; * @return The till. */ @java.lang.Override public int getTill() { return instance.getTill(); } /** * int32 till = 9 [json_name = "till"]; * @param value The till to set. * @return This builder for chaining. */ public Builder setTill(int value) { copyOnWrite(); instance.setTill(value); return this; } /** * int32 till = 9 [json_name = "till"]; * @return This builder for chaining. */ public Builder clearTill() { copyOnWrite(); instance.clearTill(); return this; } /** *
       * use for favorites
       * 
* * uint64 sport_id = 10 [json_name = "sportId"]; * @return The sportId. */ @java.lang.Override public long getSportId() { return instance.getSportId(); } /** *
       * use for favorites
       * 
* * uint64 sport_id = 10 [json_name = "sportId"]; * @param value The sportId to set. * @return This builder for chaining. */ public Builder setSportId(long value) { copyOnWrite(); instance.setSportId(value); return this; } /** *
       * use for favorites
       * 
* * uint64 sport_id = 10 [json_name = "sportId"]; * @return This builder for chaining. */ public Builder clearSportId() { copyOnWrite(); instance.clearSportId(); return this; } /** * uint64 league_id = 11 [json_name = "leagueId"]; * @return The leagueId. */ @java.lang.Override public long getLeagueId() { return instance.getLeagueId(); } /** * uint64 league_id = 11 [json_name = "leagueId"]; * @param value The leagueId to set. * @return This builder for chaining. */ public Builder setLeagueId(long value) { copyOnWrite(); instance.setLeagueId(value); return this; } /** * uint64 league_id = 11 [json_name = "leagueId"]; * @return This builder for chaining. */ public Builder clearLeagueId() { copyOnWrite(); instance.clearLeagueId(); return this; } /** * uint64 team_id = 12 [json_name = "teamId"]; * @return The teamId. */ @java.lang.Override public long getTeamId() { return instance.getTeamId(); } /** * uint64 team_id = 12 [json_name = "teamId"]; * @param value The teamId to set. * @return This builder for chaining. */ public Builder setTeamId(long value) { copyOnWrite(); instance.setTeamId(value); return this; } /** * uint64 team_id = 12 [json_name = "teamId"]; * @return This builder for chaining. */ public Builder clearTeamId() { copyOnWrite(); instance.clearTeamId(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.inplay.games.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.games.ListRequest.Filter(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "games_", "sports_", "countries_", "leagues_", "allowClosedMarkets_", "allowPast_", "synced_", "since_", "till_", "sportId_", "leagueId_", "teamId_", }; java.lang.String info = "\u0000\f\u0000\u0000\u0001\f\f\u0000\u0004\u0000\u0001\u021a\u0002\u021a\u0003\u021a" + "\u0004\u021a\u0005\u0007\u0006\u0007\u0007\u0007\b\u0004\t\u0004\n\u0003\u000b\u0003" + "\f\u0003"; 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.games.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.games.ListRequest.Filter) private static final com.streamlayer.inplay.games.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.games.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.games.ListRequest.Filter filter_; /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ @java.lang.Override public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ @java.lang.Override public com.streamlayer.inplay.games.ListRequest.Filter getFilter() { return filter_ == null ? com.streamlayer.inplay.games.ListRequest.Filter.getDefaultInstance() : filter_; } /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ private void setFilter(com.streamlayer.inplay.games.ListRequest.Filter value) { value.getClass(); filter_ = value; bitField0_ |= 0x00000001; } /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeFilter(com.streamlayer.inplay.games.ListRequest.Filter value) { value.getClass(); if (filter_ != null && filter_ != com.streamlayer.inplay.games.ListRequest.Filter.getDefaultInstance()) { filter_ = com.streamlayer.inplay.games.ListRequest.Filter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } bitField0_ |= 0x00000001; } /** * .streamlayer.inplay.games.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 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 final int CRITERIA_FIELD_NUMBER = 6; private java.lang.String criteria_; /** *
   * could be any game field, default is 'id'
   * 
* * string criteria = 6 [json_name = "criteria"]; * @return The criteria. */ @java.lang.Override public java.lang.String getCriteria() { return criteria_; } /** *
   * could be any game field, default is 'id'
   * 
* * string criteria = 6 [json_name = "criteria"]; * @return The bytes for criteria. */ @java.lang.Override public com.google.protobuf.ByteString getCriteriaBytes() { return com.google.protobuf.ByteString.copyFromUtf8(criteria_); } /** *
   * could be any game field, default is 'id'
   * 
* * string criteria = 6 [json_name = "criteria"]; * @param value The criteria to set. */ private void setCriteria( java.lang.String value) { java.lang.Class valueClass = value.getClass(); criteria_ = value; } /** *
   * could be any game field, default is 'id'
   * 
* * string criteria = 6 [json_name = "criteria"]; */ private void clearCriteria() { criteria_ = getDefaultInstance().getCriteria(); } /** *
   * could be any game field, default is 'id'
   * 
* * string criteria = 6 [json_name = "criteria"]; * @param value The bytes for criteria to set. */ private void setCriteriaBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); criteria_ = value.toStringUtf8(); } public static final int OMIT_MARKETS_FIELD_NUMBER = 7; private boolean omitMarkets_; /** *
   * show only games, do not enclose markets
   * 
* * bool omit_markets = 7 [json_name = "omitMarkets"]; * @return The omitMarkets. */ @java.lang.Override public boolean getOmitMarkets() { return omitMarkets_; } /** *
   * show only games, do not enclose markets
   * 
* * bool omit_markets = 7 [json_name = "omitMarkets"]; * @param value The omitMarkets to set. */ private void setOmitMarkets(boolean value) { omitMarkets_ = value; } /** *
   * show only games, do not enclose markets
   * 
* * bool omit_markets = 7 [json_name = "omitMarkets"]; */ private void clearOmitMarkets() { omitMarkets_ = false; } public static com.streamlayer.inplay.games.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.games.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.games.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.games.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.games.ListRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.inplay.games.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.games.ListRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.inplay.games.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.games.ListRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.inplay.games.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.games.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.games.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.games.ListRequest prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.inplay.games.ListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.inplay.games.ListRequest, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.inplay.games.ListRequest) com.streamlayer.inplay.games.ListRequestOrBuilder { // Construct using com.streamlayer.inplay.games.ListRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ @java.lang.Override public boolean hasFilter() { return instance.hasFilter(); } /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ @java.lang.Override public com.streamlayer.inplay.games.ListRequest.Filter getFilter() { return instance.getFilter(); } /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ public Builder setFilter(com.streamlayer.inplay.games.ListRequest.Filter value) { copyOnWrite(); instance.setFilter(value); return this; } /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ public Builder setFilter( com.streamlayer.inplay.games.ListRequest.Filter.Builder builderForValue) { copyOnWrite(); instance.setFilter(builderForValue.build()); return this; } /** * .streamlayer.inplay.games.ListRequest.Filter filter = 1 [json_name = "filter"]; */ public Builder mergeFilter(com.streamlayer.inplay.games.ListRequest.Filter value) { copyOnWrite(); instance.mergeFilter(value); return this; } /** * .streamlayer.inplay.games.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; } /** *
     * 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; } /** *
     * could be any game field, default is 'id'
     * 
* * string criteria = 6 [json_name = "criteria"]; * @return The criteria. */ @java.lang.Override public java.lang.String getCriteria() { return instance.getCriteria(); } /** *
     * could be any game field, default is 'id'
     * 
* * string criteria = 6 [json_name = "criteria"]; * @return The bytes for criteria. */ @java.lang.Override public com.google.protobuf.ByteString getCriteriaBytes() { return instance.getCriteriaBytes(); } /** *
     * could be any game field, default is 'id'
     * 
* * string criteria = 6 [json_name = "criteria"]; * @param value The criteria to set. * @return This builder for chaining. */ public Builder setCriteria( java.lang.String value) { copyOnWrite(); instance.setCriteria(value); return this; } /** *
     * could be any game field, default is 'id'
     * 
* * string criteria = 6 [json_name = "criteria"]; * @return This builder for chaining. */ public Builder clearCriteria() { copyOnWrite(); instance.clearCriteria(); return this; } /** *
     * could be any game field, default is 'id'
     * 
* * string criteria = 6 [json_name = "criteria"]; * @param value The bytes for criteria to set. * @return This builder for chaining. */ public Builder setCriteriaBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setCriteriaBytes(value); return this; } /** *
     * show only games, do not enclose markets
     * 
* * bool omit_markets = 7 [json_name = "omitMarkets"]; * @return The omitMarkets. */ @java.lang.Override public boolean getOmitMarkets() { return instance.getOmitMarkets(); } /** *
     * show only games, do not enclose markets
     * 
* * bool omit_markets = 7 [json_name = "omitMarkets"]; * @param value The omitMarkets to set. * @return This builder for chaining. */ public Builder setOmitMarkets(boolean value) { copyOnWrite(); instance.setOmitMarkets(value); return this; } /** *
     * show only games, do not enclose markets
     * 
* * bool omit_markets = 7 [json_name = "omitMarkets"]; * @return This builder for chaining. */ public Builder clearOmitMarkets() { copyOnWrite(); instance.clearOmitMarkets(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.inplay.games.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.games.ListRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "filter_", "page_", "pageSize_", "order_", "criteria_", "omitMarkets_", }; java.lang.String info = "\u0000\u0006\u0000\u0001\u0001\u0007\u0006\u0000\u0000\u0000\u0001\u1009\u0000\u0002" + "\u0004\u0003\u0004\u0005\u0208\u0006\u0208\u0007\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.games.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.games.ListRequest) private static final com.streamlayer.inplay.games.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.games.ListRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy