public static final class NotificationList.Builder extends com.google.protobuf.GeneratedMessage.Builder<NotificationList.Builder> implements NotificationListOrBuilder
A collection of zero or more notifications.Protobuf type
nakama.api.NotificationList| Modifier and Type | Method and Description |
|---|---|
NotificationList.Builder |
addAllNotifications(java.lang.Iterable<? extends Notification> values)
Collection of notifications.
|
NotificationList.Builder |
addNotifications(int index,
Notification.Builder builderForValue)
Collection of notifications.
|
NotificationList.Builder |
addNotifications(int index,
Notification value)
Collection of notifications.
|
NotificationList.Builder |
addNotifications(Notification.Builder builderForValue)
Collection of notifications.
|
NotificationList.Builder |
addNotifications(Notification value)
Collection of notifications.
|
Notification.Builder |
addNotificationsBuilder()
Collection of notifications.
|
Notification.Builder |
addNotificationsBuilder(int index)
Collection of notifications.
|
NotificationList |
build() |
NotificationList |
buildPartial() |
NotificationList.Builder |
clear() |
NotificationList.Builder |
clearCacheableCursor()
Use this cursor to paginate notifications.
|
NotificationList.Builder |
clearNotifications()
Collection of notifications.
|
java.lang.String |
getCacheableCursor()
Use this cursor to paginate notifications.
|
com.google.protobuf.ByteString |
getCacheableCursorBytes()
Use this cursor to paginate notifications.
|
NotificationList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Notification |
getNotifications(int index)
Collection of notifications.
|
Notification.Builder |
getNotificationsBuilder(int index)
Collection of notifications.
|
java.util.List<Notification.Builder> |
getNotificationsBuilderList()
Collection of notifications.
|
int |
getNotificationsCount()
Collection of notifications.
|
java.util.List<Notification> |
getNotificationsList()
Collection of notifications.
|
NotificationOrBuilder |
getNotificationsOrBuilder(int index)
Collection of notifications.
|
java.util.List<? extends NotificationOrBuilder> |
getNotificationsOrBuilderList()
Collection of notifications.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NotificationList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NotificationList.Builder |
mergeFrom(com.google.protobuf.Message other) |
NotificationList.Builder |
mergeFrom(NotificationList other) |
NotificationList.Builder |
removeNotifications(int index)
Collection of notifications.
|
NotificationList.Builder |
setCacheableCursor(java.lang.String value)
Use this cursor to paginate notifications.
|
NotificationList.Builder |
setCacheableCursorBytes(com.google.protobuf.ByteString value)
Use this cursor to paginate notifications.
|
NotificationList.Builder |
setNotifications(int index,
Notification.Builder builderForValue)
Collection of notifications.
|
NotificationList.Builder |
setNotifications(int index,
Notification value)
Collection of notifications.
|
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<NotificationList.Builder>public NotificationList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<NotificationList.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<NotificationList.Builder>public NotificationList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NotificationList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NotificationList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NotificationList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NotificationList.Builder>public NotificationList.Builder mergeFrom(NotificationList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<NotificationList.Builder>public NotificationList.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<NotificationList.Builder>java.io.IOExceptionpublic java.util.List<Notification> getNotificationsList()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];getNotificationsList in interface NotificationListOrBuilderpublic int getNotificationsCount()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];getNotificationsCount in interface NotificationListOrBuilderpublic Notification getNotifications(int index)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];getNotifications in interface NotificationListOrBuilderpublic NotificationList.Builder setNotifications(int index, Notification value)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationList.Builder setNotifications(int index, Notification.Builder builderForValue)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationList.Builder addNotifications(Notification value)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationList.Builder addNotifications(int index, Notification value)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationList.Builder addNotifications(Notification.Builder builderForValue)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationList.Builder addNotifications(int index, Notification.Builder builderForValue)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationList.Builder addAllNotifications(java.lang.Iterable<? extends Notification> values)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationList.Builder clearNotifications()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationList.Builder removeNotifications(int index)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public Notification.Builder getNotificationsBuilder(int index)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public NotificationOrBuilder getNotificationsOrBuilder(int index)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];getNotificationsOrBuilder in interface NotificationListOrBuilderpublic java.util.List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];getNotificationsOrBuilderList in interface NotificationListOrBuilderpublic Notification.Builder addNotificationsBuilder()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public Notification.Builder addNotificationsBuilder(int index)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public java.util.List<Notification.Builder> getNotificationsBuilderList()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];public java.lang.String getCacheableCursor()
Use this cursor to paginate notifications. Cache this to catch up to new notifications.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];getCacheableCursor in interface NotificationListOrBuilderpublic com.google.protobuf.ByteString getCacheableCursorBytes()
Use this cursor to paginate notifications. Cache this to catch up to new notifications.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];getCacheableCursorBytes in interface NotificationListOrBuilderpublic NotificationList.Builder setCacheableCursor(java.lang.String value)
Use this cursor to paginate notifications. Cache this to catch up to new notifications.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];value - The cacheableCursor to set.public NotificationList.Builder clearCacheableCursor()
Use this cursor to paginate notifications. Cache this to catch up to new notifications.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];public NotificationList.Builder setCacheableCursorBytes(com.google.protobuf.ByteString value)
Use this cursor to paginate notifications. Cache this to catch up to new notifications.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];value - The bytes for cacheableCursor to set.