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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ChannelMessageList.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ChannelMessageList.Builder>
public ChannelMessageList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChannelMessageList build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChannelMessageList buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChannelMessageList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChannelMessageList.Builder>
java.io.IOException
public java.util.List<ChannelMessage> getMessagesList()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];
getMessagesList
in interface ChannelMessageListOrBuilder
public int getMessagesCount()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];
getMessagesCount
in interface ChannelMessageListOrBuilder
public ChannelMessage getMessages(int index)
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];
getMessages
in interface ChannelMessageListOrBuilder
public 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 ChannelMessageListOrBuilder
public java.util.List<? extends ChannelMessageOrBuilder> getMessagesOrBuilderList()
A list of messages.
repeated .nakama.api.ChannelMessage messages = 1 [json_name = "messages"];
getMessagesOrBuilderList
in interface ChannelMessageListOrBuilder
public 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 ChannelMessageListOrBuilder
public 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 ChannelMessageListOrBuilder
public 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 ChannelMessageListOrBuilder
public 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 ChannelMessageListOrBuilder
public 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 ChannelMessageListOrBuilder
public 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 ChannelMessageListOrBuilder
public 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.