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, 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<NotificationList.Builder>
public NotificationList.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<NotificationList.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<NotificationList.Builder>
public NotificationList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public NotificationList build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public NotificationList buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public NotificationList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NotificationList.Builder>
java.io.IOException
public java.util.List<Notification> getNotificationsList()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
getNotificationsList
in interface NotificationListOrBuilder
public int getNotificationsCount()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
getNotificationsCount
in interface NotificationListOrBuilder
public Notification getNotifications(int index)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
getNotifications
in interface NotificationListOrBuilder
public 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 NotificationListOrBuilder
public java.util.List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
getNotificationsOrBuilderList
in interface NotificationListOrBuilder
public 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 NotificationListOrBuilder
public 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 NotificationListOrBuilder
public 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.