Interface MatchDataOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Data payload, if any.
    The match unique ID.
    com.google.protobuf.ByteString
    The match unique ID.
    long
    Op code value.
    A reference to the user presence that sent this data, if any.
    A reference to the user presence that sent this data, if any.
    boolean
    True if this data was delivered reliably, false otherwise.
    boolean
    A reference to the user presence that sent this data, if any.

    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

    • 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.
    • hasPresence

      boolean hasPresence()
       A reference to the user presence that sent this data, if any.
       
      .nakama.realtime.UserPresence presence = 2;
      Returns:
      Whether the presence field is set.
    • getPresence

      UserPresence getPresence()
       A reference to the user presence that sent this data, if any.
       
      .nakama.realtime.UserPresence presence = 2;
      Returns:
      The presence.
    • getPresenceOrBuilder

      UserPresenceOrBuilder getPresenceOrBuilder()
       A reference to the user presence that sent this data, if any.
       
      .nakama.realtime.UserPresence presence = 2;
    • getOpCode

      long getOpCode()
       Op code value.
       
      int64 op_code = 3;
      Returns:
      The opCode.
    • getData

      com.google.protobuf.ByteString getData()
       Data payload, if any.
       
      bytes data = 4;
      Returns:
      The data.
    • getReliable

      boolean getReliable()
       True if this data was delivered reliably, false otherwise.
       
      bool reliable = 5;
      Returns:
      The reliable.