Package com.heroiclabs.nakama.api
Interface ListChannelMessagesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListChannelMessagesRequest
,ListChannelMessagesRequest.Builder
public interface ListChannelMessagesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe channel ID to list from.com.google.protobuf.ByteString
The channel ID to list from.A pagination cursor, if any.com.google.protobuf.ByteString
A pagination cursor, if any.True if listing should be older messages to newer, false if reverse.True if listing should be older messages to newer, false if reverse.getLimit()
Max number of records to return.Max number of records to return.boolean
True if listing should be older messages to newer, false if reverse.boolean
hasLimit()
Max number of records to return.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
-
getChannelId
String getChannelId()The channel ID to list from.
string channel_id = 1;
- Returns:
- The channelId.
-
getChannelIdBytes
com.google.protobuf.ByteString getChannelIdBytes()The channel ID to list from.
string channel_id = 1;
- Returns:
- The bytes for channelId.
-
hasLimit
boolean hasLimit()Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2;
- Returns:
- Whether the limit field is set.
-
getLimit
Int32Value getLimit()Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2;
- Returns:
- The limit.
-
getLimitOrBuilder
Int32ValueOrBuilder getLimitOrBuilder()Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2;
-
hasForward
boolean hasForward()True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3;
- Returns:
- Whether the forward field is set.
-
getForward
BoolValue getForward()True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3;
- Returns:
- The forward.
-
getForwardOrBuilder
BoolValueOrBuilder getForwardOrBuilder()True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3;
-
getCursor
String getCursor()A pagination cursor, if any.
string cursor = 4;
- Returns:
- The cursor.
-
getCursorBytes
com.google.protobuf.ByteString getCursorBytes()A pagination cursor, if any.
string cursor = 4;
- Returns:
- The bytes for cursor.
-