grpc.leaderboard.LeaderboardOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos Show documentation
Show all versions of client-protos Show documentation
Java protobuf protocols that define the Momento gRPC wire format
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: leaderboard.proto
package grpc.leaderboard;
public final class LeaderboardOuterClass {
private LeaderboardOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__Element_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__Element_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__RankedElement_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__RankedElement_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__RankRange_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__RankRange_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__ScoreRange_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__ScoreRange_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__DeleteLeaderboardRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__DeleteLeaderboardRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__GetLeaderboardLengthRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__GetLeaderboardLengthRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__GetLeaderboardLengthResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__GetLeaderboardLengthResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__UpsertElementsRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__UpsertElementsRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__GetByRankRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__GetByRankRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__GetByRankResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__GetByRankResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__GetRankRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__GetRankRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__GetRankResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__GetRankResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__RemoveElementsRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__RemoveElementsRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__GetByScoreRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__GetByScoreRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_leaderboard__GetByScoreResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_leaderboard__GetByScoreResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\021leaderboard.proto\022\013leaderboard\032\014common" +
".proto\"+\n\010_Element\022\n\n\002id\030\001 \001(\r\022\r\n\005score\030" +
"\003 \001(\001J\004\010\002\020\003\"?\n\016_RankedElement\022\n\n\002id\030\001 \001(" +
"\r\022\014\n\004rank\030\003 \001(\r\022\r\n\005score\030\004 \001(\001J\004\010\002\020\003\"<\n\n" +
"_RankRange\022\027\n\017start_inclusive\030\001 \001(\r\022\025\n\re" +
"nd_exclusive\030\002 \001(\r\"\263\001\n\013_ScoreRange\022+\n\run" +
"bounded_min\030\001 \001(\0132\022.common._UnboundedH\000\022" +
"\027\n\rmin_inclusive\030\005 \001(\001H\000\022+\n\runbounded_ma" +
"x\030\003 \001(\0132\022.common._UnboundedH\001\022\027\n\rmax_exc" +
"lusive\030\006 \001(\001H\001B\005\n\003minB\005\n\003maxJ\004\010\002\020\003J\004\010\004\020\005" +
"\"D\n\031_DeleteLeaderboardRequest\022\022\n\ncache_n" +
"ame\030\001 \001(\t\022\023\n\013leaderboard\030\002 \001(\t\"G\n\034_GetLe" +
"aderboardLengthRequest\022\022\n\ncache_name\030\001 \001" +
"(\t\022\023\n\013leaderboard\030\002 \001(\t\".\n\035_GetLeaderboa" +
"rdLengthResponse\022\r\n\005count\030\001 \001(\r\"j\n\026_Upse" +
"rtElementsRequest\022\022\n\ncache_name\030\001 \001(\t\022\023\n" +
"\013leaderboard\030\002 \001(\t\022\'\n\010elements\030\003 \003(\0132\025.l" +
"eaderboard._Element\"\215\001\n\021_GetByRankReques" +
"t\022\022\n\ncache_name\030\001 \001(\t\022\023\n\013leaderboard\030\002 \001" +
"(\t\022+\n\nrank_range\030\003 \001(\0132\027.leaderboard._Ra" +
"nkRange\022\"\n\005order\030\004 \001(\0162\023.leaderboard._Or" +
"der\"C\n\022_GetByRankResponse\022-\n\010elements\030\001 " +
"\003(\0132\033.leaderboard._RankedElement\"k\n\017_Get" +
"RankRequest\022\022\n\ncache_name\030\001 \001(\t\022\023\n\013leade" +
"rboard\030\002 \001(\t\022\013\n\003ids\030\003 \003(\r\022\"\n\005order\030\004 \001(\016" +
"2\023.leaderboard._Order\"A\n\020_GetRankRespons" +
"e\022-\n\010elements\030\001 \003(\0132\033.leaderboard._Ranke" +
"dElement\"N\n\026_RemoveElementsRequest\022\022\n\nca" +
"che_name\030\001 \001(\t\022\023\n\013leaderboard\030\002 \001(\t\022\013\n\003i" +
"ds\030\003 \003(\r\"\270\001\n\022_GetByScoreRequest\022\022\n\ncache" +
"_name\030\001 \001(\t\022\023\n\013leaderboard\030\002 \001(\t\022-\n\013scor" +
"e_range\030\003 \001(\0132\030.leaderboard._ScoreRange\022" +
"\016\n\006offset\030\004 \001(\r\022\026\n\016limit_elements\030\005 \001(\r\022" +
"\"\n\005order\030\006 \001(\0162\023.leaderboard._Order\"D\n\023_" +
"GetByScoreResponse\022-\n\010elements\030\001 \003(\0132\033.l" +
"eaderboard._RankedElement*\'\n\006_Order\022\r\n\tA" +
"SCENDING\020\000\022\016\n\nDESCENDING\020\0012\276\004\n\013Leaderboa" +
"rd\022K\n\021DeleteLeaderboard\022&.leaderboard._D" +
"eleteLeaderboardRequest\032\016.common._Empty\022" +
"E\n\016UpsertElements\022#.leaderboard._UpsertE" +
"lementsRequest\032\016.common._Empty\022E\n\016Remove" +
"Elements\022#.leaderboard._RemoveElementsRe" +
"quest\032\016.common._Empty\022m\n\024GetLeaderboardL" +
"ength\022).leaderboard._GetLeaderboardLengt" +
"hRequest\032*.leaderboard._GetLeaderboardLe" +
"ngthResponse\022L\n\tGetByRank\022\036.leaderboard." +
"_GetByRankRequest\032\037.leaderboard._GetByRa" +
"nkResponse\022F\n\007GetRank\022\034.leaderboard._Get" +
"RankRequest\032\035.leaderboard._GetRankRespon" +
"se\022O\n\nGetByScore\022\037.leaderboard._GetBySco" +
"reRequest\032 .leaderboard._GetByScoreRespo" +
"nseBc\n\020grpc.leaderboardP\001Z0github.com/mo" +
"mentohq/client-sdk-go;client_sdk_go\252\002\032Mo" +
"mento.Protos.Leaderboardb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
grpc.common.Common.getDescriptor(),
});
internal_static_leaderboard__Element_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_leaderboard__Element_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__Element_descriptor,
new java.lang.String[] { "Id", "Score", });
internal_static_leaderboard__RankedElement_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_leaderboard__RankedElement_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__RankedElement_descriptor,
new java.lang.String[] { "Id", "Rank", "Score", });
internal_static_leaderboard__RankRange_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_leaderboard__RankRange_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__RankRange_descriptor,
new java.lang.String[] { "StartInclusive", "EndExclusive", });
internal_static_leaderboard__ScoreRange_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_leaderboard__ScoreRange_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__ScoreRange_descriptor,
new java.lang.String[] { "UnboundedMin", "MinInclusive", "UnboundedMax", "MaxExclusive", "Min", "Max", });
internal_static_leaderboard__DeleteLeaderboardRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_leaderboard__DeleteLeaderboardRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__DeleteLeaderboardRequest_descriptor,
new java.lang.String[] { "CacheName", "Leaderboard", });
internal_static_leaderboard__GetLeaderboardLengthRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_leaderboard__GetLeaderboardLengthRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__GetLeaderboardLengthRequest_descriptor,
new java.lang.String[] { "CacheName", "Leaderboard", });
internal_static_leaderboard__GetLeaderboardLengthResponse_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_leaderboard__GetLeaderboardLengthResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__GetLeaderboardLengthResponse_descriptor,
new java.lang.String[] { "Count", });
internal_static_leaderboard__UpsertElementsRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_leaderboard__UpsertElementsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__UpsertElementsRequest_descriptor,
new java.lang.String[] { "CacheName", "Leaderboard", "Elements", });
internal_static_leaderboard__GetByRankRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_leaderboard__GetByRankRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__GetByRankRequest_descriptor,
new java.lang.String[] { "CacheName", "Leaderboard", "RankRange", "Order", });
internal_static_leaderboard__GetByRankResponse_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_leaderboard__GetByRankResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__GetByRankResponse_descriptor,
new java.lang.String[] { "Elements", });
internal_static_leaderboard__GetRankRequest_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_leaderboard__GetRankRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__GetRankRequest_descriptor,
new java.lang.String[] { "CacheName", "Leaderboard", "Ids", "Order", });
internal_static_leaderboard__GetRankResponse_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_leaderboard__GetRankResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__GetRankResponse_descriptor,
new java.lang.String[] { "Elements", });
internal_static_leaderboard__RemoveElementsRequest_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_leaderboard__RemoveElementsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__RemoveElementsRequest_descriptor,
new java.lang.String[] { "CacheName", "Leaderboard", "Ids", });
internal_static_leaderboard__GetByScoreRequest_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_leaderboard__GetByScoreRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__GetByScoreRequest_descriptor,
new java.lang.String[] { "CacheName", "Leaderboard", "ScoreRange", "Offset", "LimitElements", "Order", });
internal_static_leaderboard__GetByScoreResponse_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_leaderboard__GetByScoreResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_leaderboard__GetByScoreResponse_descriptor,
new java.lang.String[] { "Elements", });
grpc.common.Common.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}