Class MatchmakerMatched

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.heroiclabs.nakama.rtapi.MatchmakerMatched
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MatchmakerMatchedOrBuilder, Serializable

public final class MatchmakerMatched extends com.google.protobuf.GeneratedMessageV3 implements MatchmakerMatchedOrBuilder
 A successful matchmaking result.
 
Protobuf type nakama.realtime.MatchmakerMatched
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getIdCase

      public MatchmakerMatched.IdCase getIdCase()
      Specified by:
      getIdCase in interface MatchmakerMatchedOrBuilder
    • getTicket

      public String getTicket()
       The matchmaking ticket that has completed.
       
      string ticket = 1;
      Specified by:
      getTicket in interface MatchmakerMatchedOrBuilder
      Returns:
      The ticket.
    • getTicketBytes

      public com.google.protobuf.ByteString getTicketBytes()
       The matchmaking ticket that has completed.
       
      string ticket = 1;
      Specified by:
      getTicketBytes in interface MatchmakerMatchedOrBuilder
      Returns:
      The bytes for ticket.
    • hasMatchId

      public boolean hasMatchId()
       Match ID.
       
      string match_id = 2;
      Specified by:
      hasMatchId in interface MatchmakerMatchedOrBuilder
      Returns:
      Whether the matchId field is set.
    • getMatchId

      public String getMatchId()
       Match ID.
       
      string match_id = 2;
      Specified by:
      getMatchId in interface MatchmakerMatchedOrBuilder
      Returns:
      The matchId.
    • getMatchIdBytes

      public com.google.protobuf.ByteString getMatchIdBytes()
       Match ID.
       
      string match_id = 2;
      Specified by:
      getMatchIdBytes in interface MatchmakerMatchedOrBuilder
      Returns:
      The bytes for matchId.
    • hasToken

      public boolean hasToken()
       Match join token.
       
      string token = 3;
      Specified by:
      hasToken in interface MatchmakerMatchedOrBuilder
      Returns:
      Whether the token field is set.
    • getToken

      public String getToken()
       Match join token.
       
      string token = 3;
      Specified by:
      getToken in interface MatchmakerMatchedOrBuilder
      Returns:
      The token.
    • getTokenBytes

      public com.google.protobuf.ByteString getTokenBytes()
       Match join token.
       
      string token = 3;
      Specified by:
      getTokenBytes in interface MatchmakerMatchedOrBuilder
      Returns:
      The bytes for token.
    • getUsersList

      public List<MatchmakerMatched.MatchmakerUser> getUsersList()
       The users that have been matched together, and information about their matchmaking data.
       
      repeated .nakama.realtime.MatchmakerMatched.MatchmakerUser users = 4;
      Specified by:
      getUsersList in interface MatchmakerMatchedOrBuilder
    • getUsersOrBuilderList

      public List<? extends MatchmakerMatched.MatchmakerUserOrBuilder> getUsersOrBuilderList()
       The users that have been matched together, and information about their matchmaking data.
       
      repeated .nakama.realtime.MatchmakerMatched.MatchmakerUser users = 4;
      Specified by:
      getUsersOrBuilderList in interface MatchmakerMatchedOrBuilder
    • getUsersCount

      public int getUsersCount()
       The users that have been matched together, and information about their matchmaking data.
       
      repeated .nakama.realtime.MatchmakerMatched.MatchmakerUser users = 4;
      Specified by:
      getUsersCount in interface MatchmakerMatchedOrBuilder
    • getUsers

      public MatchmakerMatched.MatchmakerUser getUsers(int index)
       The users that have been matched together, and information about their matchmaking data.
       
      repeated .nakama.realtime.MatchmakerMatched.MatchmakerUser users = 4;
      Specified by:
      getUsers in interface MatchmakerMatchedOrBuilder
    • getUsersOrBuilder

      public MatchmakerMatched.MatchmakerUserOrBuilder getUsersOrBuilder(int index)
       The users that have been matched together, and information about their matchmaking data.
       
      repeated .nakama.realtime.MatchmakerMatched.MatchmakerUser users = 4;
      Specified by:
      getUsersOrBuilder in interface MatchmakerMatchedOrBuilder
    • hasSelf

      public boolean hasSelf()
       A reference to the current user and their properties.
       
      .nakama.realtime.MatchmakerMatched.MatchmakerUser self = 5;
      Specified by:
      hasSelf in interface MatchmakerMatchedOrBuilder
      Returns:
      Whether the self field is set.
    • getSelf

       A reference to the current user and their properties.
       
      .nakama.realtime.MatchmakerMatched.MatchmakerUser self = 5;
      Specified by:
      getSelf in interface MatchmakerMatchedOrBuilder
      Returns:
      The self.
    • getSelfOrBuilder

      public MatchmakerMatched.MatchmakerUserOrBuilder getSelfOrBuilder()
       A reference to the current user and their properties.
       
      .nakama.realtime.MatchmakerMatched.MatchmakerUser self = 5;
      Specified by:
      getSelfOrBuilder in interface MatchmakerMatchedOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MatchmakerMatched parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchmakerMatched parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchmakerMatched parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchmakerMatched parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchmakerMatched parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchmakerMatched parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchmakerMatched parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MatchmakerMatched parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MatchmakerMatched parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MatchmakerMatched parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MatchmakerMatched parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MatchmakerMatched parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MatchmakerMatched.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MatchmakerMatched.Builder newBuilder()
    • newBuilder

      public static MatchmakerMatched.Builder newBuilder(MatchmakerMatched prototype)
    • toBuilder

      public MatchmakerMatched.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MatchmakerMatched.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static MatchmakerMatched getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MatchmakerMatched> parser()
    • getParserForType

      public com.google.protobuf.Parser<MatchmakerMatched> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public MatchmakerMatched getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder