Package com.heroiclabs.nakama.api
Interface ChannelMessageListOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChannelMessageList
,ChannelMessageList.Builder
public interface ChannelMessageListOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCacheable cursor to list newer messages.com.google.protobuf.ByteString
Cacheable cursor to list newer messages.getMessages
(int index) A list of messages.int
A list of messages.A list of messages.getMessagesOrBuilder
(int index) A list of messages.List<? extends ChannelMessageOrBuilder>
A list of messages.The cursor to send when retrieving the next page, if any.com.google.protobuf.ByteString
The cursor to send when retrieving the next page, if any.The cursor to send when retrieving the previous page, if any.com.google.protobuf.ByteString
The cursor to send when retrieving the previous page, if any.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMessagesList
List<ChannelMessage> getMessagesList()A list of messages.
repeated .nakama.api.ChannelMessage messages = 1;
-
getMessages
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1;
-
getMessagesCount
int getMessagesCount()A list of messages.
repeated .nakama.api.ChannelMessage messages = 1;
-
getMessagesOrBuilderList
List<? extends ChannelMessageOrBuilder> getMessagesOrBuilderList()A list of messages.
repeated .nakama.api.ChannelMessage messages = 1;
-
getMessagesOrBuilder
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1;
-
getNextCursor
String getNextCursor()The cursor to send when retrieving the next page, if any.
string next_cursor = 2;
- Returns:
- The nextCursor.
-
getNextCursorBytes
com.google.protobuf.ByteString getNextCursorBytes()The cursor to send when retrieving the next page, if any.
string next_cursor = 2;
- Returns:
- The bytes for nextCursor.
-
getPrevCursor
String getPrevCursor()The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3;
- Returns:
- The prevCursor.
-
getPrevCursorBytes
com.google.protobuf.ByteString getPrevCursorBytes()The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3;
- Returns:
- The bytes for prevCursor.
-
getCacheableCursor
String getCacheableCursor()Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors.
string cacheable_cursor = 4;
- Returns:
- The cacheableCursor.
-
getCacheableCursorBytes
com.google.protobuf.ByteString getCacheableCursorBytes()Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors.
string cacheable_cursor = 4;
- Returns:
- The bytes for cacheableCursor.
-