Interface ChannelPresenceEventOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ChannelPresenceEvent, ChannelPresenceEvent.Builder

public interface ChannelPresenceEventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The channel identifier this event is for.
    com.google.protobuf.ByteString
    The channel identifier this event is for.
    The ID of the group, or an empty string if this message was not sent through a group channel.
    com.google.protobuf.ByteString
    The ID of the group, or an empty string if this message was not sent through a group channel.
    getJoins(int index)
    Presences joining the channel as part of this event, if any.
    int
    Presences joining the channel as part of this event, if any.
    Presences joining the channel as part of this event, if any.
    getJoinsOrBuilder(int index)
    Presences joining the channel as part of this event, if any.
    Presences joining the channel as part of this event, if any.
    getLeaves(int index)
    Presences leaving the channel as part of this event, if any.
    int
    Presences leaving the channel as part of this event, if any.
    Presences leaving the channel as part of this event, if any.
    getLeavesOrBuilder(int index)
    Presences leaving the channel as part of this event, if any.
    Presences leaving the channel as part of this event, if any.
    The name of the chat room, or an empty string if this message was not sent through a chat room.
    com.google.protobuf.ByteString
    The name of the chat room, or an empty string if this message was not sent through a chat room.
    The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
    com.google.protobuf.ByteString
    The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
    The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
    com.google.protobuf.ByteString
    The ID of the second DM user, or an empty string if this message was not sent through a DM chat.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getChannelId

      String getChannelId()
       The channel identifier this event is for.
       
      string channel_id = 1;
      Returns:
      The channelId.
    • getChannelIdBytes

      com.google.protobuf.ByteString getChannelIdBytes()
       The channel identifier this event is for.
       
      string channel_id = 1;
      Returns:
      The bytes for channelId.
    • getJoinsList

      List<UserPresence> getJoinsList()
       Presences joining the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence joins = 2;
    • getJoins

      UserPresence getJoins(int index)
       Presences joining the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence joins = 2;
    • getJoinsCount

      int getJoinsCount()
       Presences joining the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence joins = 2;
    • getJoinsOrBuilderList

      List<? extends UserPresenceOrBuilder> getJoinsOrBuilderList()
       Presences joining the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence joins = 2;
    • getJoinsOrBuilder

      UserPresenceOrBuilder getJoinsOrBuilder(int index)
       Presences joining the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence joins = 2;
    • getLeavesList

      List<UserPresence> getLeavesList()
       Presences leaving the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence leaves = 3;
    • getLeaves

      UserPresence getLeaves(int index)
       Presences leaving the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence leaves = 3;
    • getLeavesCount

      int getLeavesCount()
       Presences leaving the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence leaves = 3;
    • getLeavesOrBuilderList

      List<? extends UserPresenceOrBuilder> getLeavesOrBuilderList()
       Presences leaving the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence leaves = 3;
    • getLeavesOrBuilder

      UserPresenceOrBuilder getLeavesOrBuilder(int index)
       Presences leaving the channel as part of this event, if any.
       
      repeated .nakama.realtime.UserPresence leaves = 3;
    • getRoomName

      String getRoomName()
       The name of the chat room, or an empty string if this message was not sent through a chat room.
       
      string room_name = 4;
      Returns:
      The roomName.
    • getRoomNameBytes

      com.google.protobuf.ByteString getRoomNameBytes()
       The name of the chat room, or an empty string if this message was not sent through a chat room.
       
      string room_name = 4;
      Returns:
      The bytes for roomName.
    • getGroupId

      String getGroupId()
       The ID of the group, or an empty string if this message was not sent through a group channel.
       
      string group_id = 5;
      Returns:
      The groupId.
    • getGroupIdBytes

      com.google.protobuf.ByteString getGroupIdBytes()
       The ID of the group, or an empty string if this message was not sent through a group channel.
       
      string group_id = 5;
      Returns:
      The bytes for groupId.
    • getUserIdOne

      String getUserIdOne()
       The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
       
      string user_id_one = 6;
      Returns:
      The userIdOne.
    • getUserIdOneBytes

      com.google.protobuf.ByteString getUserIdOneBytes()
       The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
       
      string user_id_one = 6;
      Returns:
      The bytes for userIdOne.
    • getUserIdTwo

      String getUserIdTwo()
       The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
       
      string user_id_two = 7;
      Returns:
      The userIdTwo.
    • getUserIdTwoBytes

      com.google.protobuf.ByteString getUserIdTwoBytes()
       The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
       
      string user_id_two = 7;
      Returns:
      The bytes for userIdTwo.