grpc.leaderboard._ElementOrBuilder 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 interface _ElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:leaderboard._Element)
com.google.protobuf.MessageOrBuilder {
/**
*
* A player identifier, session identifier, browser identifier or whatever other kind of
* identifier you use for this scoreboard. The full unsigned 64 bit range is allowed here,
* between 0 and 2^63-1 inclusive.
* An id can only appear in a leaderboard one time. You can't have 2 scores for 1 player,
* unless that player has 2 ids!
*
*
* uint32 id = 1;
* @return The id.
*/
int getId();
/**
*
* The value by which this element is sorted within the leaderboard.
*
*
* double score = 3;
* @return The score.
*/
double getScore();
}