public final class ListLeaderboardRecordsRequest extends com.google.protobuf.GeneratedMessage implements ListLeaderboardRecordsRequestOrBuilder
List leaderboard records from a given leaderboard.Protobuf type
nakama.api.ListLeaderboardRecordsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ListLeaderboardRecordsRequest.Builder
List leaderboard records from a given leaderboard.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CURSOR_FIELD_NUMBER |
static int |
EXPIRY_FIELD_NUMBER |
static int |
LEADERBOARD_ID_FIELD_NUMBER |
static int |
LIMIT_FIELD_NUMBER |
static int |
OWNER_IDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
A next or previous page cursor.
|
com.google.protobuf.ByteString |
getCursorBytes()
A next or previous page cursor.
|
static ListLeaderboardRecordsRequest |
getDefaultInstance() |
ListLeaderboardRecordsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Int64Value |
getExpiry()
Expiry in seconds (since epoch) to begin fetching records from.
|
com.google.protobuf.Int64ValueOrBuilder |
getExpiryOrBuilder()
Expiry in seconds (since epoch) to begin fetching records from.
|
java.lang.String |
getLeaderboardId()
The ID of the leaderboard to list for.
|
com.google.protobuf.ByteString |
getLeaderboardIdBytes()
The ID of the leaderboard to list for.
|
com.google.protobuf.Int32Value |
getLimit()
Max number of records to return.
|
com.google.protobuf.Int32ValueOrBuilder |
getLimitOrBuilder()
Max number of records to return.
|
java.lang.String |
getOwnerIds(int index)
One or more owners to retrieve records for.
|
com.google.protobuf.ByteString |
getOwnerIdsBytes(int index)
One or more owners to retrieve records for.
|
int |
getOwnerIdsCount()
One or more owners to retrieve records for.
|
com.google.protobuf.ProtocolStringList |
getOwnerIdsList()
One or more owners to retrieve records for.
|
com.google.protobuf.Parser<ListLeaderboardRecordsRequest> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasExpiry()
Expiry in seconds (since epoch) to begin fetching records from.
|
int |
hashCode() |
boolean |
hasLimit()
Max number of records to return.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListLeaderboardRecordsRequest.Builder |
newBuilder() |
static ListLeaderboardRecordsRequest.Builder |
newBuilder(ListLeaderboardRecordsRequest prototype) |
ListLeaderboardRecordsRequest.Builder |
newBuilderForType() |
protected ListLeaderboardRecordsRequest.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static ListLeaderboardRecordsRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ListLeaderboardRecordsRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLeaderboardRecordsRequest |
parseFrom(byte[] data) |
static ListLeaderboardRecordsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLeaderboardRecordsRequest |
parseFrom(java.nio.ByteBuffer data) |
static ListLeaderboardRecordsRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLeaderboardRecordsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ListLeaderboardRecordsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLeaderboardRecordsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListLeaderboardRecordsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLeaderboardRecordsRequest |
parseFrom(java.io.InputStream input) |
static ListLeaderboardRecordsRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListLeaderboardRecordsRequest> |
parser() |
ListLeaderboardRecordsRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LEADERBOARD_ID_FIELD_NUMBER
public static final int OWNER_IDS_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
public static final int CURSOR_FIELD_NUMBER
public static final int EXPIRY_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic java.lang.String getLeaderboardId()
The ID of the leaderboard to list for.
string leaderboard_id = 1 [json_name = "leaderboardId"];getLeaderboardId in interface ListLeaderboardRecordsRequestOrBuilderpublic com.google.protobuf.ByteString getLeaderboardIdBytes()
The ID of the leaderboard to list for.
string leaderboard_id = 1 [json_name = "leaderboardId"];getLeaderboardIdBytes in interface ListLeaderboardRecordsRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getOwnerIdsList()
One or more owners to retrieve records for.
repeated string owner_ids = 2 [json_name = "ownerIds"];getOwnerIdsList in interface ListLeaderboardRecordsRequestOrBuilderpublic int getOwnerIdsCount()
One or more owners to retrieve records for.
repeated string owner_ids = 2 [json_name = "ownerIds"];getOwnerIdsCount in interface ListLeaderboardRecordsRequestOrBuilderpublic java.lang.String getOwnerIds(int index)
One or more owners to retrieve records for.
repeated string owner_ids = 2 [json_name = "ownerIds"];getOwnerIds in interface ListLeaderboardRecordsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getOwnerIdsBytes(int index)
One or more owners to retrieve records for.
repeated string owner_ids = 2 [json_name = "ownerIds"];getOwnerIdsBytes in interface ListLeaderboardRecordsRequestOrBuilderindex - The index of the value to return.public boolean hasLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 3 [json_name = "limit"];hasLimit in interface ListLeaderboardRecordsRequestOrBuilderpublic com.google.protobuf.Int32Value getLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 3 [json_name = "limit"];getLimit in interface ListLeaderboardRecordsRequestOrBuilderpublic com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 3 [json_name = "limit"];getLimitOrBuilder in interface ListLeaderboardRecordsRequestOrBuilderpublic java.lang.String getCursor()
A next or previous page cursor.
string cursor = 4 [json_name = "cursor"];getCursor in interface ListLeaderboardRecordsRequestOrBuilderpublic com.google.protobuf.ByteString getCursorBytes()
A next or previous page cursor.
string cursor = 4 [json_name = "cursor"];getCursorBytes in interface ListLeaderboardRecordsRequestOrBuilderpublic boolean hasExpiry()
Expiry in seconds (since epoch) to begin fetching records from. Optional. 0 means from current time.
.google.protobuf.Int64Value expiry = 5 [json_name = "expiry"];hasExpiry in interface ListLeaderboardRecordsRequestOrBuilderpublic com.google.protobuf.Int64Value getExpiry()
Expiry in seconds (since epoch) to begin fetching records from. Optional. 0 means from current time.
.google.protobuf.Int64Value expiry = 5 [json_name = "expiry"];getExpiry in interface ListLeaderboardRecordsRequestOrBuilderpublic com.google.protobuf.Int64ValueOrBuilder getExpiryOrBuilder()
Expiry in seconds (since epoch) to begin fetching records from. Optional. 0 means from current time.
.google.protobuf.Int64Value expiry = 5 [json_name = "expiry"];getExpiryOrBuilder in interface ListLeaderboardRecordsRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListLeaderboardRecordsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLeaderboardRecordsRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLeaderboardRecordsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLeaderboardRecordsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLeaderboardRecordsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLeaderboardRecordsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLeaderboardRecordsRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListLeaderboardRecordsRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListLeaderboardRecordsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListLeaderboardRecordsRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListLeaderboardRecordsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListLeaderboardRecordsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ListLeaderboardRecordsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListLeaderboardRecordsRequest.Builder newBuilder()
public static ListLeaderboardRecordsRequest.Builder newBuilder(ListLeaderboardRecordsRequest prototype)
public ListLeaderboardRecordsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListLeaderboardRecordsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static ListLeaderboardRecordsRequest getDefaultInstance()
public static com.google.protobuf.Parser<ListLeaderboardRecordsRequest> parser()
public com.google.protobuf.Parser<ListLeaderboardRecordsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic ListLeaderboardRecordsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder