public interface ChannelOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
com.google.protobuf.ByteString |
getGroupIdBytes()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
java.lang.String |
getId()
The ID of the channel.
|
com.google.protobuf.ByteString |
getIdBytes()
The ID of the channel.
|
UserPresence |
getPresences(int index)
The users currently in the channel.
|
int |
getPresencesCount()
The users currently in the channel.
|
java.util.List<UserPresence> |
getPresencesList()
The users currently in the channel.
|
UserPresenceOrBuilder |
getPresencesOrBuilder(int index)
The users currently in the channel.
|
java.util.List<? extends UserPresenceOrBuilder> |
getPresencesOrBuilderList()
The users currently in the channel.
|
java.lang.String |
getRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
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.
|
UserPresence |
getSelf()
A reference to the current user's presence in the channel.
|
UserPresenceOrBuilder |
getSelfOrBuilder()
A reference to the current user's presence in the channel.
|
java.lang.String |
getUserIdOne()
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 |
getUserIdOneBytes()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
java.lang.String |
getUserIdTwo()
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 |
getUserIdTwoBytes()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
boolean |
hasSelf()
A reference to the current user's presence in the channel.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getId()
The ID of the channel.
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString getIdBytes()
The ID of the channel.
string id = 1 [json_name = "id"];
java.util.List<UserPresence> getPresencesList()
The users currently in the channel.
repeated .nakama.realtime.UserPresence presences = 2 [json_name = "presences"];
UserPresence getPresences(int index)
The users currently in the channel.
repeated .nakama.realtime.UserPresence presences = 2 [json_name = "presences"];
int getPresencesCount()
The users currently in the channel.
repeated .nakama.realtime.UserPresence presences = 2 [json_name = "presences"];
java.util.List<? extends UserPresenceOrBuilder> getPresencesOrBuilderList()
The users currently in the channel.
repeated .nakama.realtime.UserPresence presences = 2 [json_name = "presences"];
UserPresenceOrBuilder getPresencesOrBuilder(int index)
The users currently in the channel.
repeated .nakama.realtime.UserPresence presences = 2 [json_name = "presences"];
boolean hasSelf()
A reference to the current user's presence in the channel.
.nakama.realtime.UserPresence self = 3 [json_name = "self"];
UserPresence getSelf()
A reference to the current user's presence in the channel.
.nakama.realtime.UserPresence self = 3 [json_name = "self"];
UserPresenceOrBuilder getSelfOrBuilder()
A reference to the current user's presence in the channel.
.nakama.realtime.UserPresence self = 3 [json_name = "self"];
java.lang.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 [json_name = "roomName"];
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 [json_name = "roomName"];
java.lang.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 [json_name = "groupId"];
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 [json_name = "groupId"];
java.lang.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 [json_name = "userIdOne"];
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 [json_name = "userIdOne"];
java.lang.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 [json_name = "userIdTwo"];
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 [json_name = "userIdTwo"];