public static final class Notifications.Builder extends com.google.protobuf.GeneratedMessage.Builder<Notifications.Builder> implements NotificationsOrBuilder
A collection of zero or more notifications.Protobuf type
nakama.realtime.Notifications
Modifier and Type | Method and Description |
---|---|
Notifications.Builder |
addAllNotifications(java.lang.Iterable<? extends Notification> values)
Collection of notifications.
|
Notifications.Builder |
addNotifications(int index,
Notification.Builder builderForValue)
Collection of notifications.
|
Notifications.Builder |
addNotifications(int index,
Notification value)
Collection of notifications.
|
Notifications.Builder |
addNotifications(Notification.Builder builderForValue)
Collection of notifications.
|
Notifications.Builder |
addNotifications(Notification value)
Collection of notifications.
|
Notification.Builder |
addNotificationsBuilder()
Collection of notifications.
|
Notification.Builder |
addNotificationsBuilder(int index)
Collection of notifications.
|
Notifications |
build() |
Notifications |
buildPartial() |
Notifications.Builder |
clear() |
Notifications.Builder |
clearNotifications()
Collection of notifications.
|
Notifications |
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() |
Notifications.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Notifications.Builder |
mergeFrom(com.google.protobuf.Message other) |
Notifications.Builder |
mergeFrom(Notifications other) |
Notifications.Builder |
removeNotifications(int index)
Collection of notifications.
|
Notifications.Builder |
setNotifications(int index,
Notification.Builder builderForValue)
Collection of notifications.
|
Notifications.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<Notifications.Builder>
public Notifications.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<Notifications.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<Notifications.Builder>
public Notifications getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Notifications build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Notifications buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Notifications.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Notifications.Builder>
public Notifications.Builder mergeFrom(Notifications other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Notifications.Builder>
public Notifications.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<Notifications.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 NotificationsOrBuilder
public int getNotificationsCount()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
getNotificationsCount
in interface NotificationsOrBuilder
public Notification getNotifications(int index)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
getNotifications
in interface NotificationsOrBuilder
public Notifications.Builder setNotifications(int index, Notification value)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
public Notifications.Builder setNotifications(int index, Notification.Builder builderForValue)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
public Notifications.Builder addNotifications(Notification value)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
public Notifications.Builder addNotifications(int index, Notification value)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
public Notifications.Builder addNotifications(Notification.Builder builderForValue)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
public Notifications.Builder addNotifications(int index, Notification.Builder builderForValue)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
public Notifications.Builder addAllNotifications(java.lang.Iterable<? extends Notification> values)
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
public Notifications.Builder clearNotifications()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
public Notifications.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 NotificationsOrBuilder
public java.util.List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()
Collection of notifications.
repeated .nakama.api.Notification notifications = 1 [json_name = "notifications"];
getNotificationsOrBuilderList
in interface NotificationsOrBuilder
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"];