public interface MatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getAuthoritative()
True if it's an server-managed authoritative match, false otherwise.
|
com.google.protobuf.StringValue |
getLabel()
Match label, if any.
|
com.google.protobuf.StringValueOrBuilder |
getLabelOrBuilder()
Match label, if any.
|
java.lang.String |
getMatchId()
The match unique ID.
|
com.google.protobuf.ByteString |
getMatchIdBytes()
The match unique ID.
|
UserPresence |
getPresences(int index)
The users currently in the match.
|
int |
getPresencesCount()
The users currently in the match.
|
java.util.List<UserPresence> |
getPresencesList()
The users currently in the match.
|
UserPresenceOrBuilder |
getPresencesOrBuilder(int index)
The users currently in the match.
|
java.util.List<? extends UserPresenceOrBuilder> |
getPresencesOrBuilderList()
The users currently in the match.
|
UserPresence |
getSelf()
A reference to the current user's presence in the match.
|
UserPresenceOrBuilder |
getSelfOrBuilder()
A reference to the current user's presence in the match.
|
int |
getSize()
The number of users currently in the match.
|
boolean |
hasLabel()
Match label, if any.
|
boolean |
hasSelf()
A reference to the current user's presence in the match.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getMatchId()
The match unique ID.
string match_id = 1 [json_name = "matchId"];
com.google.protobuf.ByteString getMatchIdBytes()
The match unique ID.
string match_id = 1 [json_name = "matchId"];
boolean getAuthoritative()
True if it's an server-managed authoritative match, false otherwise.
bool authoritative = 2 [json_name = "authoritative"];
boolean hasLabel()
Match label, if any.
.google.protobuf.StringValue label = 3 [json_name = "label"];
com.google.protobuf.StringValue getLabel()
Match label, if any.
.google.protobuf.StringValue label = 3 [json_name = "label"];
com.google.protobuf.StringValueOrBuilder getLabelOrBuilder()
Match label, if any.
.google.protobuf.StringValue label = 3 [json_name = "label"];
int getSize()
The number of users currently in the match.
int32 size = 4 [json_name = "size"];
java.util.List<UserPresence> getPresencesList()
The users currently in the match.
repeated .nakama.realtime.UserPresence presences = 5 [json_name = "presences"];
UserPresence getPresences(int index)
The users currently in the match.
repeated .nakama.realtime.UserPresence presences = 5 [json_name = "presences"];
int getPresencesCount()
The users currently in the match.
repeated .nakama.realtime.UserPresence presences = 5 [json_name = "presences"];
java.util.List<? extends UserPresenceOrBuilder> getPresencesOrBuilderList()
The users currently in the match.
repeated .nakama.realtime.UserPresence presences = 5 [json_name = "presences"];
UserPresenceOrBuilder getPresencesOrBuilder(int index)
The users currently in the match.
repeated .nakama.realtime.UserPresence presences = 5 [json_name = "presences"];
boolean hasSelf()
A reference to the current user's presence in the match.
.nakama.realtime.UserPresence self = 6 [json_name = "self"];
UserPresence getSelf()
A reference to the current user's presence in the match.
.nakama.realtime.UserPresence self = 6 [json_name = "self"];
UserPresenceOrBuilder getSelfOrBuilder()
A reference to the current user's presence in the match.
.nakama.realtime.UserPresence self = 6 [json_name = "self"];