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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • clear

      public Notifications.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • getDefaultInstanceForType

      public Notifications getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Notifications build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Notifications buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Notifications.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • setField

      public Notifications.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • clearField

      public Notifications.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • clearOneof

      public Notifications.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • addRepeatedField

      public Notifications.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • mergeFrom

      public Notifications.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Notifications.Builder>
    • mergeFrom

      public Notifications.Builder mergeFrom(Notifications other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Notifications.Builder>
      Throws:
      IOException
    • getNotificationsList

      public List<Notification> getNotificationsList()
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
      Specified by:
      getNotificationsList in interface NotificationsOrBuilder
    • getNotificationsCount

      public int getNotificationsCount()
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
      Specified by:
      getNotificationsCount in interface NotificationsOrBuilder
    • getNotifications

      public Notification getNotifications(int index)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
      Specified by:
      getNotifications in interface NotificationsOrBuilder
    • setNotifications

      public Notifications.Builder setNotifications(int index, Notification value)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • setNotifications

      public Notifications.Builder setNotifications(int index, Notification.Builder builderForValue)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • addNotifications

      public Notifications.Builder addNotifications(Notification value)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • addNotifications

      public Notifications.Builder addNotifications(int index, Notification value)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • addNotifications

      public Notifications.Builder addNotifications(Notification.Builder builderForValue)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • addNotifications

      public Notifications.Builder addNotifications(int index, Notification.Builder builderForValue)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • addAllNotifications

      public Notifications.Builder addAllNotifications(Iterable<? extends Notification> values)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • clearNotifications

      public Notifications.Builder clearNotifications()
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • removeNotifications

      public Notifications.Builder removeNotifications(int index)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • getNotificationsBuilder

      public Notification.Builder getNotificationsBuilder(int index)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • getNotificationsOrBuilder

      public NotificationOrBuilder getNotificationsOrBuilder(int index)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
      Specified by:
      getNotificationsOrBuilder in interface NotificationsOrBuilder
    • getNotificationsOrBuilderList

      public List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
      Specified by:
      getNotificationsOrBuilderList in interface NotificationsOrBuilder
    • addNotificationsBuilder

      public Notification.Builder addNotificationsBuilder()
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • addNotificationsBuilder

      public Notification.Builder addNotificationsBuilder(int index)
       Collection of notifications.
       
      repeated .nakama.api.Notification notifications = 1;
    • getNotificationsBuilderList

      public List<Notification.Builder> 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>
    • mergeUnknownFields

      public final Notifications.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Notifications.Builder>