public static final class ListChannelMessagesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListChannelMessagesRequest.Builder> implements ListChannelMessagesRequestOrBuilder
List a channel's message history.Protobuf type
nakama.api.ListChannelMessagesRequest| Modifier and Type | Method and Description |
|---|---|
ListChannelMessagesRequest |
build() |
ListChannelMessagesRequest |
buildPartial() |
ListChannelMessagesRequest.Builder |
clear() |
ListChannelMessagesRequest.Builder |
clearChannelId()
The channel ID to list from.
|
ListChannelMessagesRequest.Builder |
clearCursor()
A pagination cursor, if any.
|
ListChannelMessagesRequest.Builder |
clearForward()
True if listing should be older messages to newer, false if reverse.
|
ListChannelMessagesRequest.Builder |
clearLimit()
Max number of records to return.
|
java.lang.String |
getChannelId()
The channel ID to list from.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
The channel ID to list from.
|
java.lang.String |
getCursor()
A pagination cursor, if any.
|
com.google.protobuf.ByteString |
getCursorBytes()
A pagination cursor, if any.
|
ListChannelMessagesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.BoolValue |
getForward()
True if listing should be older messages to newer, false if reverse.
|
com.google.protobuf.BoolValue.Builder |
getForwardBuilder()
True if listing should be older messages to newer, false if reverse.
|
com.google.protobuf.BoolValueOrBuilder |
getForwardOrBuilder()
True if listing should be older messages to newer, false if reverse.
|
com.google.protobuf.Int32Value |
getLimit()
Max number of records to return.
|
com.google.protobuf.Int32Value.Builder |
getLimitBuilder()
Max number of records to return.
|
com.google.protobuf.Int32ValueOrBuilder |
getLimitOrBuilder()
Max number of records to return.
|
boolean |
hasForward()
True if listing should be older messages to newer, false if reverse.
|
boolean |
hasLimit()
Max number of records to return.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListChannelMessagesRequest.Builder |
mergeForward(com.google.protobuf.BoolValue value)
True if listing should be older messages to newer, false if reverse.
|
ListChannelMessagesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListChannelMessagesRequest.Builder |
mergeFrom(ListChannelMessagesRequest other) |
ListChannelMessagesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListChannelMessagesRequest.Builder |
mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
ListChannelMessagesRequest.Builder |
setChannelId(java.lang.String value)
The channel ID to list from.
|
ListChannelMessagesRequest.Builder |
setChannelIdBytes(com.google.protobuf.ByteString value)
The channel ID to list from.
|
ListChannelMessagesRequest.Builder |
setCursor(java.lang.String value)
A pagination cursor, if any.
|
ListChannelMessagesRequest.Builder |
setCursorBytes(com.google.protobuf.ByteString value)
A pagination cursor, if any.
|
ListChannelMessagesRequest.Builder |
setForward(com.google.protobuf.BoolValue.Builder builderForValue)
True if listing should be older messages to newer, false if reverse.
|
ListChannelMessagesRequest.Builder |
setForward(com.google.protobuf.BoolValue value)
True if listing should be older messages to newer, false if reverse.
|
ListChannelMessagesRequest.Builder |
setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return.
|
ListChannelMessagesRequest.Builder |
setLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListChannelMessagesRequest.Builder>public ListChannelMessagesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ListChannelMessagesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListChannelMessagesRequest.Builder>public ListChannelMessagesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListChannelMessagesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListChannelMessagesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListChannelMessagesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListChannelMessagesRequest.Builder>public ListChannelMessagesRequest.Builder mergeFrom(ListChannelMessagesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListChannelMessagesRequest.Builder>public ListChannelMessagesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListChannelMessagesRequest.Builder>java.io.IOExceptionpublic java.lang.String getChannelId()
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];getChannelId in interface ListChannelMessagesRequestOrBuilderpublic com.google.protobuf.ByteString getChannelIdBytes()
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];getChannelIdBytes in interface ListChannelMessagesRequestOrBuilderpublic ListChannelMessagesRequest.Builder setChannelId(java.lang.String value)
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];value - The channelId to set.public ListChannelMessagesRequest.Builder clearChannelId()
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];public ListChannelMessagesRequest.Builder setChannelIdBytes(com.google.protobuf.ByteString value)
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];value - The bytes for channelId to set.public boolean hasLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];hasLimit in interface ListChannelMessagesRequestOrBuilderpublic com.google.protobuf.Int32Value getLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];getLimit in interface ListChannelMessagesRequestOrBuilderpublic ListChannelMessagesRequest.Builder setLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];public ListChannelMessagesRequest.Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];public ListChannelMessagesRequest.Builder mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];public ListChannelMessagesRequest.Builder clearLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];public com.google.protobuf.Int32Value.Builder getLimitBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];getLimitOrBuilder in interface ListChannelMessagesRequestOrBuilderpublic boolean hasForward()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];hasForward in interface ListChannelMessagesRequestOrBuilderpublic com.google.protobuf.BoolValue getForward()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];getForward in interface ListChannelMessagesRequestOrBuilderpublic ListChannelMessagesRequest.Builder setForward(com.google.protobuf.BoolValue value)
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];public ListChannelMessagesRequest.Builder setForward(com.google.protobuf.BoolValue.Builder builderForValue)
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];public ListChannelMessagesRequest.Builder mergeForward(com.google.protobuf.BoolValue value)
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];public ListChannelMessagesRequest.Builder clearForward()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];public com.google.protobuf.BoolValue.Builder getForwardBuilder()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];public com.google.protobuf.BoolValueOrBuilder getForwardOrBuilder()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];getForwardOrBuilder in interface ListChannelMessagesRequestOrBuilderpublic java.lang.String getCursor()
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];getCursor in interface ListChannelMessagesRequestOrBuilderpublic com.google.protobuf.ByteString getCursorBytes()
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];getCursorBytes in interface ListChannelMessagesRequestOrBuilderpublic ListChannelMessagesRequest.Builder setCursor(java.lang.String value)
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];value - The cursor to set.public ListChannelMessagesRequest.Builder clearCursor()
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];public ListChannelMessagesRequest.Builder setCursorBytes(com.google.protobuf.ByteString value)
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];value - The bytes for cursor to set.