public static final class ChannelMessageList.Builder extends com.google.protobuf.GeneratedMessage.Builder<ChannelMessageList.Builder> implements ChannelMessageListOrBuilder
A list of channel messages, usually a result of a list operation.Protobuf type
nakama.api.ChannelMessageList| Modifier and Type | Method and Description |
|---|---|
ChannelMessageList.Builder |
addAllMessages(java.lang.Iterable<? extends ChannelMessage> values)
A list of messages.
|
ChannelMessageList.Builder |
addMessages(ChannelMessage.Builder builderForValue)
A list of messages.
|
ChannelMessageList.Builder |
addMessages(ChannelMessage value)
A list of messages.
|
ChannelMessageList.Builder |
addMessages(int index,
ChannelMessage.Builder builderForValue)
A list of messages.
|
ChannelMessageList.Builder |
addMessages(int index,
ChannelMessage value)
A list of messages.
|
ChannelMessage.Builder |
addMessagesBuilder()
A list of messages.
|
ChannelMessage.Builder |
addMessagesBuilder(int index)
A list of messages.
|
ChannelMessageList |
build() |
ChannelMessageList |
buildPartial() |
ChannelMessageList.Builder |
clear() |
ChannelMessageList.Builder |
clearCacheableCursor()
Cacheable cursor to list newer messages.
|
ChannelMessageList.Builder |
clearMessages()
A list of messages.
|
ChannelMessageList.Builder |
clearNextCursor()
The cursor to send when retrieving the next page, if any.
|
ChannelMessageList.Builder |
clearPrevCursor()
The cursor to send when retrieving the previous page, if any.
|
java.lang.String |
getCacheableCursor()
Cacheable cursor to list newer messages.
|
com.google.protobuf.ByteString |
getCacheableCursorBytes()
Cacheable cursor to list newer messages.
|
ChannelMessageList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ChannelMessage |
getMessages(int index)
A list of messages.
|
ChannelMessage.Builder |
getMessagesBuilder(int index)
A list of messages.
|
java.util.List<ChannelMessage.Builder> |
getMessagesBuilderList()
A list of messages.
|
int |
getMessagesCount()
A list of messages.
|
java.util.List<ChannelMessage> |
getMessagesList()
A list of messages.
|
ChannelMessageOrBuilder |
getMessagesOrBuilder(int index)
A list of messages.
|
java.util.List<? extends ChannelMessageOrBuilder> |
getMessagesOrBuilderList()
A list of messages.
|
java.lang.String |
getNextCursor()
The cursor to send when retrieving the next page, if any.
|
com.google.protobuf.ByteString |
getNextCursorBytes()
The cursor to send when retrieving the next page, if any.
|
java.lang.String |
getPrevCursor()
The cursor to send when retrieving the previous page, if any.
|
com.google.protobuf.ByteString |
getPrevCursorBytes()
The cursor to send when retrieving the previous page, if any.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChannelMessageList.Builder |
mergeFrom(ChannelMessageList other) |
ChannelMessageList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChannelMessageList.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChannelMessageList.Builder |
removeMessages(int index)
A list of messages.
|
ChannelMessageList.Builder |
setCacheableCursor(java.lang.String value)
Cacheable cursor to list newer messages.
|
ChannelMessageList.Builder |
setCacheableCursorBytes(com.google.protobuf.ByteString value)
Cacheable cursor to list newer messages.
|
ChannelMessageList.Builder |
setMessages(int index,
ChannelMessage.Builder builderForValue)
A list of messages.
|
ChannelMessageList.Builder |
setMessages(int index,
ChannelMessage value)
A list of messages.
|
ChannelMessageList.Builder |
setNextCursor(java.lang.String value)
The cursor to send when retrieving the next page, if any.
|
ChannelMessageList.Builder |
setNextCursorBytes(com.google.protobuf.ByteString value)
The cursor to send when retrieving the next page, if any.
|
ChannelMessageList.Builder |
setPrevCursor(java.lang.String value)
The cursor to send when retrieving the previous page, if any.
|
ChannelMessageList.Builder |
setPrevCursorBytes(com.google.protobuf.ByteString value)
The cursor to send when retrieving the previous page, if any.
|
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<ChannelMessageList.Builder>public ChannelMessageList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ChannelMessageList.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<ChannelMessageList.Builder>public ChannelMessageList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ChannelMessageList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ChannelMessageList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ChannelMessageList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChannelMessageList.Builder>public ChannelMessageList.Builder mergeFrom(ChannelMessageList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ChannelMessageList.Builder>public ChannelMessageList.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<ChannelMessageList.Builder>java.io.IOExceptionpublic java.util.List<ChannelMessage> getMessagesList()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];getMessagesList in interface ChannelMessageListOrBuilderpublic int getMessagesCount()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];getMessagesCount in interface ChannelMessageListOrBuilderpublic ChannelMessage getMessages(int index)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];getMessages in interface ChannelMessageListOrBuilderpublic ChannelMessageList.Builder setMessages(int index, ChannelMessage value)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageList.Builder setMessages(int index, ChannelMessage.Builder builderForValue)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageList.Builder addMessages(ChannelMessage value)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageList.Builder addMessages(int index, ChannelMessage value)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageList.Builder addMessages(ChannelMessage.Builder builderForValue)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageList.Builder addMessages(int index, ChannelMessage.Builder builderForValue)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageList.Builder addAllMessages(java.lang.Iterable<? extends ChannelMessage> values)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageList.Builder clearMessages()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageList.Builder removeMessages(int index)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessage.Builder getMessagesBuilder(int index)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessageOrBuilder getMessagesOrBuilder(int index)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];getMessagesOrBuilder in interface ChannelMessageListOrBuilderpublic java.util.List<? extends ChannelMessageOrBuilder> getMessagesOrBuilderList()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];getMessagesOrBuilderList in interface ChannelMessageListOrBuilderpublic ChannelMessage.Builder addMessagesBuilder()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public ChannelMessage.Builder addMessagesBuilder(int index)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public java.util.List<ChannelMessage.Builder> getMessagesBuilderList()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];public java.lang.String getNextCursor()
The cursor to send when retrieving the next page, if any.
string next_cursor = 2 [json_name = "nextCursor"];getNextCursor in interface ChannelMessageListOrBuilderpublic com.google.protobuf.ByteString getNextCursorBytes()
The cursor to send when retrieving the next page, if any.
string next_cursor = 2 [json_name = "nextCursor"];getNextCursorBytes in interface ChannelMessageListOrBuilderpublic ChannelMessageList.Builder setNextCursor(java.lang.String value)
The cursor to send when retrieving the next page, if any.
string next_cursor = 2 [json_name = "nextCursor"];value - The nextCursor to set.public ChannelMessageList.Builder clearNextCursor()
The cursor to send when retrieving the next page, if any.
string next_cursor = 2 [json_name = "nextCursor"];public ChannelMessageList.Builder setNextCursorBytes(com.google.protobuf.ByteString value)
The cursor to send when retrieving the next page, if any.
string next_cursor = 2 [json_name = "nextCursor"];value - The bytes for nextCursor to set.public java.lang.String getPrevCursor()
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];getPrevCursor in interface ChannelMessageListOrBuilderpublic com.google.protobuf.ByteString getPrevCursorBytes()
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];getPrevCursorBytes in interface ChannelMessageListOrBuilderpublic ChannelMessageList.Builder setPrevCursor(java.lang.String value)
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];value - The prevCursor to set.public ChannelMessageList.Builder clearPrevCursor()
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];public ChannelMessageList.Builder setPrevCursorBytes(com.google.protobuf.ByteString value)
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];value - The bytes for prevCursor to set.public java.lang.String getCacheableCursor()
Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors.
string cacheable_cursor = 4 [json_name = "cacheableCursor"];getCacheableCursor in interface ChannelMessageListOrBuilderpublic 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 [json_name = "cacheableCursor"];getCacheableCursorBytes in interface ChannelMessageListOrBuilderpublic ChannelMessageList.Builder setCacheableCursor(java.lang.String value)
Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors.
string cacheable_cursor = 4 [json_name = "cacheableCursor"];value - The cacheableCursor to set.public ChannelMessageList.Builder clearCacheableCursor()
Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors.
string cacheable_cursor = 4 [json_name = "cacheableCursor"];public ChannelMessageList.Builder setCacheableCursorBytes(com.google.protobuf.ByteString value)
Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors.
string cacheable_cursor = 4 [json_name = "cacheableCursor"];value - The bytes for cacheableCursor to set.