Package com.heroiclabs.nakama.rtapi
Class Notifications.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
com.heroiclabs.nakama.rtapi.Notifications.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,NotificationsOrBuilder
,Cloneable
- Enclosing class:
- Notifications
public static final class Notifications.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
implements NotificationsOrBuilder
A collection of zero or more notifications.Protobuf type
nakama.realtime.Notifications
-
Method Summary
Modifier and TypeMethodDescriptionaddAllNotifications
(Iterable<? extends Notification> values) Collection of notifications.addNotifications
(int index, Notification value) Collection of notifications.addNotifications
(int index, Notification.Builder builderForValue) Collection of notifications.addNotifications
(Notification value) Collection of notifications.addNotifications
(Notification.Builder builderForValue) Collection of notifications.Collection of notifications.addNotificationsBuilder
(int index) Collection of notifications.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Collection of notifications.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getNotifications
(int index) Collection of notifications.getNotificationsBuilder
(int index) Collection of notifications.Collection of notifications.int
Collection of notifications.Collection of notifications.getNotificationsOrBuilder
(int index) Collection of notifications.List<? extends NotificationOrBuilder>
Collection of notifications.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Notifications other) final Notifications.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeNotifications
(int index) Collection of notifications.setNotifications
(int index, Notification value) Collection of notifications.setNotifications
(int index, Notification.Builder builderForValue) Collection of notifications.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Notifications.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
setField
public Notifications.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
setRepeatedField
public Notifications.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
addRepeatedField
public Notifications.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Notifications.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
mergeFrom
public Notifications.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Notifications.Builder>
- Throws:
IOException
-
getNotificationsList
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
- Specified by:
getNotificationsList
in interfaceNotificationsOrBuilder
-
getNotificationsCount
public int getNotificationsCount()Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
- Specified by:
getNotificationsCount
in interfaceNotificationsOrBuilder
-
getNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
- Specified by:
getNotifications
in interfaceNotificationsOrBuilder
-
setNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
setNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
addNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
addNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
addNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
addNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
addAllNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
clearNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
removeNotifications
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
getNotificationsBuilder
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
getNotificationsOrBuilder
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
- Specified by:
getNotificationsOrBuilder
in interfaceNotificationsOrBuilder
-
getNotificationsOrBuilderList
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
- Specified by:
getNotificationsOrBuilderList
in interfaceNotificationsOrBuilder
-
addNotificationsBuilder
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
addNotificationsBuilder
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
getNotificationsBuilderList
Collection of notifications.
repeated .nakama.api.Notification notifications = 1;
-
setUnknownFields
public final Notifications.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-
mergeUnknownFields
public final Notifications.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
-