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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessage
public java.lang.String getLeaderboardId()
The ID of the leaderboard to list for.
string leaderboard_id = 1 [json_name = "leaderboardId"];
getLeaderboardId
in interface ListLeaderboardRecordsRequestOrBuilder
public com.google.protobuf.ByteString getLeaderboardIdBytes()
The ID of the leaderboard to list for.
string leaderboard_id = 1 [json_name = "leaderboardId"];
getLeaderboardIdBytes
in interface ListLeaderboardRecordsRequestOrBuilder
public com.google.protobuf.ProtocolStringList getOwnerIdsList()
One or more owners to retrieve records for.
repeated string owner_ids = 2 [json_name = "ownerIds"];
getOwnerIdsList
in interface ListLeaderboardRecordsRequestOrBuilder
public int getOwnerIdsCount()
One or more owners to retrieve records for.
repeated string owner_ids = 2 [json_name = "ownerIds"];
getOwnerIdsCount
in interface ListLeaderboardRecordsRequestOrBuilder
public 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 ListLeaderboardRecordsRequestOrBuilder
index
- 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 ListLeaderboardRecordsRequestOrBuilder
index
- 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 ListLeaderboardRecordsRequestOrBuilder
public 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 ListLeaderboardRecordsRequestOrBuilder
public 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 ListLeaderboardRecordsRequestOrBuilder
public java.lang.String getCursor()
A next or previous page cursor.
string cursor = 4 [json_name = "cursor"];
getCursor
in interface ListLeaderboardRecordsRequestOrBuilder
public com.google.protobuf.ByteString getCursorBytes()
A next or previous page cursor.
string cursor = 4 [json_name = "cursor"];
getCursorBytes
in interface ListLeaderboardRecordsRequestOrBuilder
public 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 ListLeaderboardRecordsRequestOrBuilder
public 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 ListLeaderboardRecordsRequestOrBuilder
public 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 ListLeaderboardRecordsRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ListLeaderboardRecordsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ListLeaderboardRecordsRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ListLeaderboardRecordsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ListLeaderboardRecordsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ListLeaderboardRecordsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ListLeaderboardRecordsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ListLeaderboardRecordsRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ListLeaderboardRecordsRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ListLeaderboardRecordsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ListLeaderboardRecordsRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ListLeaderboardRecordsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ListLeaderboardRecordsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ListLeaderboardRecordsRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ListLeaderboardRecordsRequest.Builder newBuilder()
public static ListLeaderboardRecordsRequest.Builder newBuilder(ListLeaderboardRecordsRequest prototype)
public ListLeaderboardRecordsRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ListLeaderboardRecordsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static ListLeaderboardRecordsRequest getDefaultInstance()
public static com.google.protobuf.Parser<ListLeaderboardRecordsRequest> parser()
public com.google.protobuf.Parser<ListLeaderboardRecordsRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public ListLeaderboardRecordsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder