Interface MatchOrBuilder

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

public interface MatchOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getMatchId

      String getMatchId()
       The match unique ID.
       
      string match_id = 1;
      Returns:
      The matchId.
    • getMatchIdBytes

      com.google.protobuf.ByteString getMatchIdBytes()
       The match unique ID.
       
      string match_id = 1;
      Returns:
      The bytes for matchId.
    • getAuthoritative

      boolean getAuthoritative()
       True if it's an server-managed authoritative match, false otherwise.
       
      bool authoritative = 2;
      Returns:
      The authoritative.
    • hasLabel

      boolean hasLabel()
       Match label, if any.
       
      .google.protobuf.StringValue label = 3;
      Returns:
      Whether the label field is set.
    • getLabel

      StringValue getLabel()
       Match label, if any.
       
      .google.protobuf.StringValue label = 3;
      Returns:
      The label.
    • getLabelOrBuilder

      StringValueOrBuilder getLabelOrBuilder()
       Match label, if any.
       
      .google.protobuf.StringValue label = 3;
    • getSize

      int getSize()
       The number of users currently in the match.
       
      int32 size = 4;
      Returns:
      The size.
    • getPresencesList

      List<UserPresence> getPresencesList()
       The users currently in the match.
       
      repeated .nakama.realtime.UserPresence presences = 5;
    • getPresences

      UserPresence getPresences(int index)
       The users currently in the match.
       
      repeated .nakama.realtime.UserPresence presences = 5;
    • getPresencesCount

      int getPresencesCount()
       The users currently in the match.
       
      repeated .nakama.realtime.UserPresence presences = 5;
    • getPresencesOrBuilderList

      List<? extends UserPresenceOrBuilder> getPresencesOrBuilderList()
       The users currently in the match.
       
      repeated .nakama.realtime.UserPresence presences = 5;
    • getPresencesOrBuilder

      UserPresenceOrBuilder getPresencesOrBuilder(int index)
       The users currently in the match.
       
      repeated .nakama.realtime.UserPresence presences = 5;
    • hasSelf

      boolean hasSelf()
       A reference to the current user's presence in the match.
       
      .nakama.realtime.UserPresence self = 6;
      Returns:
      Whether the self field is set.
    • getSelf

      UserPresence getSelf()
       A reference to the current user's presence in the match.
       
      .nakama.realtime.UserPresence self = 6;
      Returns:
      The self.
    • getSelfOrBuilder

      UserPresenceOrBuilder getSelfOrBuilder()
       A reference to the current user's presence in the match.
       
      .nakama.realtime.UserPresence self = 6;