Class Envelope

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

public final class Envelope extends com.google.protobuf.GeneratedMessageV3 implements EnvelopeOrBuilder
 An envelope for a realtime message.
 
Protobuf type nakama.realtime.Envelope
See Also:
  • Field Details

    • CID_FIELD_NUMBER

      public static final int CID_FIELD_NUMBER
      See Also:
    • CHANNEL_FIELD_NUMBER

      public static final int CHANNEL_FIELD_NUMBER
      See Also:
    • CHANNEL_JOIN_FIELD_NUMBER

      public static final int CHANNEL_JOIN_FIELD_NUMBER
      See Also:
    • CHANNEL_LEAVE_FIELD_NUMBER

      public static final int CHANNEL_LEAVE_FIELD_NUMBER
      See Also:
    • CHANNEL_MESSAGE_FIELD_NUMBER

      public static final int CHANNEL_MESSAGE_FIELD_NUMBER
      See Also:
    • CHANNEL_MESSAGE_ACK_FIELD_NUMBER

      public static final int CHANNEL_MESSAGE_ACK_FIELD_NUMBER
      See Also:
    • CHANNEL_MESSAGE_SEND_FIELD_NUMBER

      public static final int CHANNEL_MESSAGE_SEND_FIELD_NUMBER
      See Also:
    • CHANNEL_MESSAGE_UPDATE_FIELD_NUMBER

      public static final int CHANNEL_MESSAGE_UPDATE_FIELD_NUMBER
      See Also:
    • CHANNEL_MESSAGE_REMOVE_FIELD_NUMBER

      public static final int CHANNEL_MESSAGE_REMOVE_FIELD_NUMBER
      See Also:
    • CHANNEL_PRESENCE_EVENT_FIELD_NUMBER

      public static final int CHANNEL_PRESENCE_EVENT_FIELD_NUMBER
      See Also:
    • ERROR_FIELD_NUMBER

      public static final int ERROR_FIELD_NUMBER
      See Also:
    • MATCH_FIELD_NUMBER

      public static final int MATCH_FIELD_NUMBER
      See Also:
    • MATCH_CREATE_FIELD_NUMBER

      public static final int MATCH_CREATE_FIELD_NUMBER
      See Also:
    • MATCH_DATA_FIELD_NUMBER

      public static final int MATCH_DATA_FIELD_NUMBER
      See Also:
    • MATCH_DATA_SEND_FIELD_NUMBER

      public static final int MATCH_DATA_SEND_FIELD_NUMBER
      See Also:
    • MATCH_JOIN_FIELD_NUMBER

      public static final int MATCH_JOIN_FIELD_NUMBER
      See Also:
    • MATCH_LEAVE_FIELD_NUMBER

      public static final int MATCH_LEAVE_FIELD_NUMBER
      See Also:
    • MATCH_PRESENCE_EVENT_FIELD_NUMBER

      public static final int MATCH_PRESENCE_EVENT_FIELD_NUMBER
      See Also:
    • MATCHMAKER_ADD_FIELD_NUMBER

      public static final int MATCHMAKER_ADD_FIELD_NUMBER
      See Also:
    • MATCHMAKER_MATCHED_FIELD_NUMBER

      public static final int MATCHMAKER_MATCHED_FIELD_NUMBER
      See Also:
    • MATCHMAKER_REMOVE_FIELD_NUMBER

      public static final int MATCHMAKER_REMOVE_FIELD_NUMBER
      See Also:
    • MATCHMAKER_TICKET_FIELD_NUMBER

      public static final int MATCHMAKER_TICKET_FIELD_NUMBER
      See Also:
    • NOTIFICATIONS_FIELD_NUMBER

      public static final int NOTIFICATIONS_FIELD_NUMBER
      See Also:
    • RPC_FIELD_NUMBER

      public static final int RPC_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • STATUS_FOLLOW_FIELD_NUMBER

      public static final int STATUS_FOLLOW_FIELD_NUMBER
      See Also:
    • STATUS_PRESENCE_EVENT_FIELD_NUMBER

      public static final int STATUS_PRESENCE_EVENT_FIELD_NUMBER
      See Also:
    • STATUS_UNFOLLOW_FIELD_NUMBER

      public static final int STATUS_UNFOLLOW_FIELD_NUMBER
      See Also:
    • STATUS_UPDATE_FIELD_NUMBER

      public static final int STATUS_UPDATE_FIELD_NUMBER
      See Also:
    • STREAM_DATA_FIELD_NUMBER

      public static final int STREAM_DATA_FIELD_NUMBER
      See Also:
    • STREAM_PRESENCE_EVENT_FIELD_NUMBER

      public static final int STREAM_PRESENCE_EVENT_FIELD_NUMBER
      See Also:
    • PING_FIELD_NUMBER

      public static final int PING_FIELD_NUMBER
      See Also:
    • PONG_FIELD_NUMBER

      public static final int PONG_FIELD_NUMBER
      See Also:
  • 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
    • getMessageCase

      public Envelope.MessageCase getMessageCase()
      Specified by:
      getMessageCase in interface EnvelopeOrBuilder
    • getCid

      public String getCid()
      string cid = 1;
      Specified by:
      getCid in interface EnvelopeOrBuilder
      Returns:
      The cid.
    • getCidBytes

      public com.google.protobuf.ByteString getCidBytes()
      string cid = 1;
      Specified by:
      getCidBytes in interface EnvelopeOrBuilder
      Returns:
      The bytes for cid.
    • hasChannel

      public boolean hasChannel()
       A response from a channel join operation.
       
      .nakama.realtime.Channel channel = 2;
      Specified by:
      hasChannel in interface EnvelopeOrBuilder
      Returns:
      Whether the channel field is set.
    • getChannel

      public Channel getChannel()
       A response from a channel join operation.
       
      .nakama.realtime.Channel channel = 2;
      Specified by:
      getChannel in interface EnvelopeOrBuilder
      Returns:
      The channel.
    • getChannelOrBuilder

      public ChannelOrBuilder getChannelOrBuilder()
       A response from a channel join operation.
       
      .nakama.realtime.Channel channel = 2;
      Specified by:
      getChannelOrBuilder in interface EnvelopeOrBuilder
    • hasChannelJoin

      public boolean hasChannelJoin()
       Join a realtime chat channel.
       
      .nakama.realtime.ChannelJoin channel_join = 3;
      Specified by:
      hasChannelJoin in interface EnvelopeOrBuilder
      Returns:
      Whether the channelJoin field is set.
    • getChannelJoin

      public ChannelJoin getChannelJoin()
       Join a realtime chat channel.
       
      .nakama.realtime.ChannelJoin channel_join = 3;
      Specified by:
      getChannelJoin in interface EnvelopeOrBuilder
      Returns:
      The channelJoin.
    • getChannelJoinOrBuilder

      public ChannelJoinOrBuilder getChannelJoinOrBuilder()
       Join a realtime chat channel.
       
      .nakama.realtime.ChannelJoin channel_join = 3;
      Specified by:
      getChannelJoinOrBuilder in interface EnvelopeOrBuilder
    • hasChannelLeave

      public boolean hasChannelLeave()
       Leave a realtime chat channel.
       
      .nakama.realtime.ChannelLeave channel_leave = 4;
      Specified by:
      hasChannelLeave in interface EnvelopeOrBuilder
      Returns:
      Whether the channelLeave field is set.
    • getChannelLeave

      public ChannelLeave getChannelLeave()
       Leave a realtime chat channel.
       
      .nakama.realtime.ChannelLeave channel_leave = 4;
      Specified by:
      getChannelLeave in interface EnvelopeOrBuilder
      Returns:
      The channelLeave.
    • getChannelLeaveOrBuilder

      public ChannelLeaveOrBuilder getChannelLeaveOrBuilder()
       Leave a realtime chat channel.
       
      .nakama.realtime.ChannelLeave channel_leave = 4;
      Specified by:
      getChannelLeaveOrBuilder in interface EnvelopeOrBuilder
    • hasChannelMessage

      public boolean hasChannelMessage()
       An incoming message on a realtime chat channel.
       
      .nakama.api.ChannelMessage channel_message = 5;
      Specified by:
      hasChannelMessage in interface EnvelopeOrBuilder
      Returns:
      Whether the channelMessage field is set.
    • getChannelMessage

      public ChannelMessage getChannelMessage()
       An incoming message on a realtime chat channel.
       
      .nakama.api.ChannelMessage channel_message = 5;
      Specified by:
      getChannelMessage in interface EnvelopeOrBuilder
      Returns:
      The channelMessage.
    • getChannelMessageOrBuilder

      public ChannelMessageOrBuilder getChannelMessageOrBuilder()
       An incoming message on a realtime chat channel.
       
      .nakama.api.ChannelMessage channel_message = 5;
      Specified by:
      getChannelMessageOrBuilder in interface EnvelopeOrBuilder
    • hasChannelMessageAck

      public boolean hasChannelMessageAck()
       An acknowledgement received in response to sending a message on a chat channel.
       
      .nakama.realtime.ChannelMessageAck channel_message_ack = 6;
      Specified by:
      hasChannelMessageAck in interface EnvelopeOrBuilder
      Returns:
      Whether the channelMessageAck field is set.
    • getChannelMessageAck

      public ChannelMessageAck getChannelMessageAck()
       An acknowledgement received in response to sending a message on a chat channel.
       
      .nakama.realtime.ChannelMessageAck channel_message_ack = 6;
      Specified by:
      getChannelMessageAck in interface EnvelopeOrBuilder
      Returns:
      The channelMessageAck.
    • getChannelMessageAckOrBuilder

      public ChannelMessageAckOrBuilder getChannelMessageAckOrBuilder()
       An acknowledgement received in response to sending a message on a chat channel.
       
      .nakama.realtime.ChannelMessageAck channel_message_ack = 6;
      Specified by:
      getChannelMessageAckOrBuilder in interface EnvelopeOrBuilder
    • hasChannelMessageSend

      public boolean hasChannelMessageSend()
       Send a message to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageSend channel_message_send = 7;
      Specified by:
      hasChannelMessageSend in interface EnvelopeOrBuilder
      Returns:
      Whether the channelMessageSend field is set.
    • getChannelMessageSend

      public ChannelMessageSend getChannelMessageSend()
       Send a message to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageSend channel_message_send = 7;
      Specified by:
      getChannelMessageSend in interface EnvelopeOrBuilder
      Returns:
      The channelMessageSend.
    • getChannelMessageSendOrBuilder

      public ChannelMessageSendOrBuilder getChannelMessageSendOrBuilder()
       Send a message to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageSend channel_message_send = 7;
      Specified by:
      getChannelMessageSendOrBuilder in interface EnvelopeOrBuilder
    • hasChannelMessageUpdate

      public boolean hasChannelMessageUpdate()
       Update a message previously sent to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageUpdate channel_message_update = 8;
      Specified by:
      hasChannelMessageUpdate in interface EnvelopeOrBuilder
      Returns:
      Whether the channelMessageUpdate field is set.
    • getChannelMessageUpdate

      public ChannelMessageUpdate getChannelMessageUpdate()
       Update a message previously sent to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageUpdate channel_message_update = 8;
      Specified by:
      getChannelMessageUpdate in interface EnvelopeOrBuilder
      Returns:
      The channelMessageUpdate.
    • getChannelMessageUpdateOrBuilder

      public ChannelMessageUpdateOrBuilder getChannelMessageUpdateOrBuilder()
       Update a message previously sent to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageUpdate channel_message_update = 8;
      Specified by:
      getChannelMessageUpdateOrBuilder in interface EnvelopeOrBuilder
    • hasChannelMessageRemove

      public boolean hasChannelMessageRemove()
       Remove a message previously sent to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageRemove channel_message_remove = 9;
      Specified by:
      hasChannelMessageRemove in interface EnvelopeOrBuilder
      Returns:
      Whether the channelMessageRemove field is set.
    • getChannelMessageRemove

      public ChannelMessageRemove getChannelMessageRemove()
       Remove a message previously sent to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageRemove channel_message_remove = 9;
      Specified by:
      getChannelMessageRemove in interface EnvelopeOrBuilder
      Returns:
      The channelMessageRemove.
    • getChannelMessageRemoveOrBuilder

      public ChannelMessageRemoveOrBuilder getChannelMessageRemoveOrBuilder()
       Remove a message previously sent to a realtime chat channel.
       
      .nakama.realtime.ChannelMessageRemove channel_message_remove = 9;
      Specified by:
      getChannelMessageRemoveOrBuilder in interface EnvelopeOrBuilder
    • hasChannelPresenceEvent

      public boolean hasChannelPresenceEvent()
       Presence update for a particular realtime chat channel.
       
      .nakama.realtime.ChannelPresenceEvent channel_presence_event = 10;
      Specified by:
      hasChannelPresenceEvent in interface EnvelopeOrBuilder
      Returns:
      Whether the channelPresenceEvent field is set.
    • getChannelPresenceEvent

      public ChannelPresenceEvent getChannelPresenceEvent()
       Presence update for a particular realtime chat channel.
       
      .nakama.realtime.ChannelPresenceEvent channel_presence_event = 10;
      Specified by:
      getChannelPresenceEvent in interface EnvelopeOrBuilder
      Returns:
      The channelPresenceEvent.
    • getChannelPresenceEventOrBuilder

      public ChannelPresenceEventOrBuilder getChannelPresenceEventOrBuilder()
       Presence update for a particular realtime chat channel.
       
      .nakama.realtime.ChannelPresenceEvent channel_presence_event = 10;
      Specified by:
      getChannelPresenceEventOrBuilder in interface EnvelopeOrBuilder
    • hasError

      public boolean hasError()
       Describes an error which occurred on the server.
       
      .nakama.realtime.Error error = 11;
      Specified by:
      hasError in interface EnvelopeOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Error getError()
       Describes an error which occurred on the server.
       
      .nakama.realtime.Error error = 11;
      Specified by:
      getError in interface EnvelopeOrBuilder
      Returns:
      The error.
    • getErrorOrBuilder

      public ErrorOrBuilder getErrorOrBuilder()
       Describes an error which occurred on the server.
       
      .nakama.realtime.Error error = 11;
      Specified by:
      getErrorOrBuilder in interface EnvelopeOrBuilder
    • hasMatch

      public boolean hasMatch()
       Incoming information about a realtime match.
       
      .nakama.realtime.Match match = 12;
      Specified by:
      hasMatch in interface EnvelopeOrBuilder
      Returns:
      Whether the match field is set.
    • getMatch

      public Match getMatch()
       Incoming information about a realtime match.
       
      .nakama.realtime.Match match = 12;
      Specified by:
      getMatch in interface EnvelopeOrBuilder
      Returns:
      The match.
    • getMatchOrBuilder

      public MatchOrBuilder getMatchOrBuilder()
       Incoming information about a realtime match.
       
      .nakama.realtime.Match match = 12;
      Specified by:
      getMatchOrBuilder in interface EnvelopeOrBuilder
    • hasMatchCreate

      public boolean hasMatchCreate()
       A client to server request to create a realtime match.
       
      .nakama.realtime.MatchCreate match_create = 13;
      Specified by:
      hasMatchCreate in interface EnvelopeOrBuilder
      Returns:
      Whether the matchCreate field is set.
    • getMatchCreate

      public MatchCreate getMatchCreate()
       A client to server request to create a realtime match.
       
      .nakama.realtime.MatchCreate match_create = 13;
      Specified by:
      getMatchCreate in interface EnvelopeOrBuilder
      Returns:
      The matchCreate.
    • getMatchCreateOrBuilder

      public MatchCreateOrBuilder getMatchCreateOrBuilder()
       A client to server request to create a realtime match.
       
      .nakama.realtime.MatchCreate match_create = 13;
      Specified by:
      getMatchCreateOrBuilder in interface EnvelopeOrBuilder
    • hasMatchData

      public boolean hasMatchData()
       Incoming realtime match data delivered from the server.
       
      .nakama.realtime.MatchData match_data = 14;
      Specified by:
      hasMatchData in interface EnvelopeOrBuilder
      Returns:
      Whether the matchData field is set.
    • getMatchData

      public MatchData getMatchData()
       Incoming realtime match data delivered from the server.
       
      .nakama.realtime.MatchData match_data = 14;
      Specified by:
      getMatchData in interface EnvelopeOrBuilder
      Returns:
      The matchData.
    • getMatchDataOrBuilder

      public MatchDataOrBuilder getMatchDataOrBuilder()
       Incoming realtime match data delivered from the server.
       
      .nakama.realtime.MatchData match_data = 14;
      Specified by:
      getMatchDataOrBuilder in interface EnvelopeOrBuilder
    • hasMatchDataSend

      public boolean hasMatchDataSend()
       A client to server request to send data to a realtime match.
       
      .nakama.realtime.MatchDataSend match_data_send = 15;
      Specified by:
      hasMatchDataSend in interface EnvelopeOrBuilder
      Returns:
      Whether the matchDataSend field is set.
    • getMatchDataSend

      public MatchDataSend getMatchDataSend()
       A client to server request to send data to a realtime match.
       
      .nakama.realtime.MatchDataSend match_data_send = 15;
      Specified by:
      getMatchDataSend in interface EnvelopeOrBuilder
      Returns:
      The matchDataSend.
    • getMatchDataSendOrBuilder

      public MatchDataSendOrBuilder getMatchDataSendOrBuilder()
       A client to server request to send data to a realtime match.
       
      .nakama.realtime.MatchDataSend match_data_send = 15;
      Specified by:
      getMatchDataSendOrBuilder in interface EnvelopeOrBuilder
    • hasMatchJoin

      public boolean hasMatchJoin()
       A client to server request to join a realtime match.
       
      .nakama.realtime.MatchJoin match_join = 16;
      Specified by:
      hasMatchJoin in interface EnvelopeOrBuilder
      Returns:
      Whether the matchJoin field is set.
    • getMatchJoin

      public MatchJoin getMatchJoin()
       A client to server request to join a realtime match.
       
      .nakama.realtime.MatchJoin match_join = 16;
      Specified by:
      getMatchJoin in interface EnvelopeOrBuilder
      Returns:
      The matchJoin.
    • getMatchJoinOrBuilder

      public MatchJoinOrBuilder getMatchJoinOrBuilder()
       A client to server request to join a realtime match.
       
      .nakama.realtime.MatchJoin match_join = 16;
      Specified by:
      getMatchJoinOrBuilder in interface EnvelopeOrBuilder
    • hasMatchLeave

      public boolean hasMatchLeave()
       A client to server request to leave a realtime match.
       
      .nakama.realtime.MatchLeave match_leave = 17;
      Specified by:
      hasMatchLeave in interface EnvelopeOrBuilder
      Returns:
      Whether the matchLeave field is set.
    • getMatchLeave

      public MatchLeave getMatchLeave()
       A client to server request to leave a realtime match.
       
      .nakama.realtime.MatchLeave match_leave = 17;
      Specified by:
      getMatchLeave in interface EnvelopeOrBuilder
      Returns:
      The matchLeave.
    • getMatchLeaveOrBuilder

      public MatchLeaveOrBuilder getMatchLeaveOrBuilder()
       A client to server request to leave a realtime match.
       
      .nakama.realtime.MatchLeave match_leave = 17;
      Specified by:
      getMatchLeaveOrBuilder in interface EnvelopeOrBuilder
    • hasMatchPresenceEvent

      public boolean hasMatchPresenceEvent()
       Presence update for a particular realtime match.
       
      .nakama.realtime.MatchPresenceEvent match_presence_event = 18;
      Specified by:
      hasMatchPresenceEvent in interface EnvelopeOrBuilder
      Returns:
      Whether the matchPresenceEvent field is set.
    • getMatchPresenceEvent

      public MatchPresenceEvent getMatchPresenceEvent()
       Presence update for a particular realtime match.
       
      .nakama.realtime.MatchPresenceEvent match_presence_event = 18;
      Specified by:
      getMatchPresenceEvent in interface EnvelopeOrBuilder
      Returns:
      The matchPresenceEvent.
    • getMatchPresenceEventOrBuilder

      public MatchPresenceEventOrBuilder getMatchPresenceEventOrBuilder()
       Presence update for a particular realtime match.
       
      .nakama.realtime.MatchPresenceEvent match_presence_event = 18;
      Specified by:
      getMatchPresenceEventOrBuilder in interface EnvelopeOrBuilder
    • hasMatchmakerAdd

      public boolean hasMatchmakerAdd()
       Submit a new matchmaking process request.
       
      .nakama.realtime.MatchmakerAdd matchmaker_add = 19;
      Specified by:
      hasMatchmakerAdd in interface EnvelopeOrBuilder
      Returns:
      Whether the matchmakerAdd field is set.
    • getMatchmakerAdd

      public MatchmakerAdd getMatchmakerAdd()
       Submit a new matchmaking process request.
       
      .nakama.realtime.MatchmakerAdd matchmaker_add = 19;
      Specified by:
      getMatchmakerAdd in interface EnvelopeOrBuilder
      Returns:
      The matchmakerAdd.
    • getMatchmakerAddOrBuilder

      public MatchmakerAddOrBuilder getMatchmakerAddOrBuilder()
       Submit a new matchmaking process request.
       
      .nakama.realtime.MatchmakerAdd matchmaker_add = 19;
      Specified by:
      getMatchmakerAddOrBuilder in interface EnvelopeOrBuilder
    • hasMatchmakerMatched

      public boolean hasMatchmakerMatched()
       A successful matchmaking result.
       
      .nakama.realtime.MatchmakerMatched matchmaker_matched = 20;
      Specified by:
      hasMatchmakerMatched in interface EnvelopeOrBuilder
      Returns:
      Whether the matchmakerMatched field is set.
    • getMatchmakerMatched

      public MatchmakerMatched getMatchmakerMatched()
       A successful matchmaking result.
       
      .nakama.realtime.MatchmakerMatched matchmaker_matched = 20;
      Specified by:
      getMatchmakerMatched in interface EnvelopeOrBuilder
      Returns:
      The matchmakerMatched.
    • getMatchmakerMatchedOrBuilder

      public MatchmakerMatchedOrBuilder getMatchmakerMatchedOrBuilder()
       A successful matchmaking result.
       
      .nakama.realtime.MatchmakerMatched matchmaker_matched = 20;
      Specified by:
      getMatchmakerMatchedOrBuilder in interface EnvelopeOrBuilder
    • hasMatchmakerRemove

      public boolean hasMatchmakerRemove()
       Cancel a matchmaking process using a ticket.
       
      .nakama.realtime.MatchmakerRemove matchmaker_remove = 21;
      Specified by:
      hasMatchmakerRemove in interface EnvelopeOrBuilder
      Returns:
      Whether the matchmakerRemove field is set.
    • getMatchmakerRemove

      public MatchmakerRemove getMatchmakerRemove()
       Cancel a matchmaking process using a ticket.
       
      .nakama.realtime.MatchmakerRemove matchmaker_remove = 21;
      Specified by:
      getMatchmakerRemove in interface EnvelopeOrBuilder
      Returns:
      The matchmakerRemove.
    • getMatchmakerRemoveOrBuilder

      public MatchmakerRemoveOrBuilder getMatchmakerRemoveOrBuilder()
       Cancel a matchmaking process using a ticket.
       
      .nakama.realtime.MatchmakerRemove matchmaker_remove = 21;
      Specified by:
      getMatchmakerRemoveOrBuilder in interface EnvelopeOrBuilder
    • hasMatchmakerTicket

      public boolean hasMatchmakerTicket()
       A response from starting a new matchmaking process.
       
      .nakama.realtime.MatchmakerTicket matchmaker_ticket = 22;
      Specified by:
      hasMatchmakerTicket in interface EnvelopeOrBuilder
      Returns:
      Whether the matchmakerTicket field is set.
    • getMatchmakerTicket

      public MatchmakerTicket getMatchmakerTicket()
       A response from starting a new matchmaking process.
       
      .nakama.realtime.MatchmakerTicket matchmaker_ticket = 22;
      Specified by:
      getMatchmakerTicket in interface EnvelopeOrBuilder
      Returns:
      The matchmakerTicket.
    • getMatchmakerTicketOrBuilder

      public MatchmakerTicketOrBuilder getMatchmakerTicketOrBuilder()
       A response from starting a new matchmaking process.
       
      .nakama.realtime.MatchmakerTicket matchmaker_ticket = 22;
      Specified by:
      getMatchmakerTicketOrBuilder in interface EnvelopeOrBuilder
    • hasNotifications

      public boolean hasNotifications()
       Notifications send by the server.
       
      .nakama.realtime.Notifications notifications = 23;
      Specified by:
      hasNotifications in interface EnvelopeOrBuilder
      Returns:
      Whether the notifications field is set.
    • getNotifications

      public Notifications getNotifications()
       Notifications send by the server.
       
      .nakama.realtime.Notifications notifications = 23;
      Specified by:
      getNotifications in interface EnvelopeOrBuilder
      Returns:
      The notifications.
    • getNotificationsOrBuilder

      public NotificationsOrBuilder getNotificationsOrBuilder()
       Notifications send by the server.
       
      .nakama.realtime.Notifications notifications = 23;
      Specified by:
      getNotificationsOrBuilder in interface EnvelopeOrBuilder
    • hasRpc

      public boolean hasRpc()
       RPC call or response.
       
      .nakama.api.Rpc rpc = 24;
      Specified by:
      hasRpc in interface EnvelopeOrBuilder
      Returns:
      Whether the rpc field is set.
    • getRpc

      public Rpc getRpc()
       RPC call or response.
       
      .nakama.api.Rpc rpc = 24;
      Specified by:
      getRpc in interface EnvelopeOrBuilder
      Returns:
      The rpc.
    • getRpcOrBuilder

      public RpcOrBuilder getRpcOrBuilder()
       RPC call or response.
       
      .nakama.api.Rpc rpc = 24;
      Specified by:
      getRpcOrBuilder in interface EnvelopeOrBuilder
    • hasStatus

      public boolean hasStatus()
       An incoming status snapshot for some set of users.
       
      .nakama.realtime.Status status = 25;
      Specified by:
      hasStatus in interface EnvelopeOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
       An incoming status snapshot for some set of users.
       
      .nakama.realtime.Status status = 25;
      Specified by:
      getStatus in interface EnvelopeOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
       An incoming status snapshot for some set of users.
       
      .nakama.realtime.Status status = 25;
      Specified by:
      getStatusOrBuilder in interface EnvelopeOrBuilder
    • hasStatusFollow

      public boolean hasStatusFollow()
       Start following some set of users to receive their status updates.
       
      .nakama.realtime.StatusFollow status_follow = 26;
      Specified by:
      hasStatusFollow in interface EnvelopeOrBuilder
      Returns:
      Whether the statusFollow field is set.
    • getStatusFollow

      public StatusFollow getStatusFollow()
       Start following some set of users to receive their status updates.
       
      .nakama.realtime.StatusFollow status_follow = 26;
      Specified by:
      getStatusFollow in interface EnvelopeOrBuilder
      Returns:
      The statusFollow.
    • getStatusFollowOrBuilder

      public StatusFollowOrBuilder getStatusFollowOrBuilder()
       Start following some set of users to receive their status updates.
       
      .nakama.realtime.StatusFollow status_follow = 26;
      Specified by:
      getStatusFollowOrBuilder in interface EnvelopeOrBuilder
    • hasStatusPresenceEvent

      public boolean hasStatusPresenceEvent()
       An incoming status update.
       
      .nakama.realtime.StatusPresenceEvent status_presence_event = 27;
      Specified by:
      hasStatusPresenceEvent in interface EnvelopeOrBuilder
      Returns:
      Whether the statusPresenceEvent field is set.
    • getStatusPresenceEvent

      public StatusPresenceEvent getStatusPresenceEvent()
       An incoming status update.
       
      .nakama.realtime.StatusPresenceEvent status_presence_event = 27;
      Specified by:
      getStatusPresenceEvent in interface EnvelopeOrBuilder
      Returns:
      The statusPresenceEvent.
    • getStatusPresenceEventOrBuilder

      public StatusPresenceEventOrBuilder getStatusPresenceEventOrBuilder()
       An incoming status update.
       
      .nakama.realtime.StatusPresenceEvent status_presence_event = 27;
      Specified by:
      getStatusPresenceEventOrBuilder in interface EnvelopeOrBuilder
    • hasStatusUnfollow

      public boolean hasStatusUnfollow()
       Stop following some set of users to no longer receive their status updates.
       
      .nakama.realtime.StatusUnfollow status_unfollow = 28;
      Specified by:
      hasStatusUnfollow in interface EnvelopeOrBuilder
      Returns:
      Whether the statusUnfollow field is set.
    • getStatusUnfollow

      public StatusUnfollow getStatusUnfollow()
       Stop following some set of users to no longer receive their status updates.
       
      .nakama.realtime.StatusUnfollow status_unfollow = 28;
      Specified by:
      getStatusUnfollow in interface EnvelopeOrBuilder
      Returns:
      The statusUnfollow.
    • getStatusUnfollowOrBuilder

      public StatusUnfollowOrBuilder getStatusUnfollowOrBuilder()
       Stop following some set of users to no longer receive their status updates.
       
      .nakama.realtime.StatusUnfollow status_unfollow = 28;
      Specified by:
      getStatusUnfollowOrBuilder in interface EnvelopeOrBuilder
    • hasStatusUpdate

      public boolean hasStatusUpdate()
       Set the user's own status.
       
      .nakama.realtime.StatusUpdate status_update = 29;
      Specified by:
      hasStatusUpdate in interface EnvelopeOrBuilder
      Returns:
      Whether the statusUpdate field is set.
    • getStatusUpdate

      public StatusUpdate getStatusUpdate()
       Set the user's own status.
       
      .nakama.realtime.StatusUpdate status_update = 29;
      Specified by:
      getStatusUpdate in interface EnvelopeOrBuilder
      Returns:
      The statusUpdate.
    • getStatusUpdateOrBuilder

      public StatusUpdateOrBuilder getStatusUpdateOrBuilder()
       Set the user's own status.
       
      .nakama.realtime.StatusUpdate status_update = 29;
      Specified by:
      getStatusUpdateOrBuilder in interface EnvelopeOrBuilder
    • hasStreamData

      public boolean hasStreamData()
       A data message delivered over a stream.
       
      .nakama.realtime.StreamData stream_data = 30;
      Specified by:
      hasStreamData in interface EnvelopeOrBuilder
      Returns:
      Whether the streamData field is set.
    • getStreamData

      public StreamData getStreamData()
       A data message delivered over a stream.
       
      .nakama.realtime.StreamData stream_data = 30;
      Specified by:
      getStreamData in interface EnvelopeOrBuilder
      Returns:
      The streamData.
    • getStreamDataOrBuilder

      public StreamDataOrBuilder getStreamDataOrBuilder()
       A data message delivered over a stream.
       
      .nakama.realtime.StreamData stream_data = 30;
      Specified by:
      getStreamDataOrBuilder in interface EnvelopeOrBuilder
    • hasStreamPresenceEvent

      public boolean hasStreamPresenceEvent()
       Presence update for a particular stream.
       
      .nakama.realtime.StreamPresenceEvent stream_presence_event = 31;
      Specified by:
      hasStreamPresenceEvent in interface EnvelopeOrBuilder
      Returns:
      Whether the streamPresenceEvent field is set.
    • getStreamPresenceEvent

      public StreamPresenceEvent getStreamPresenceEvent()
       Presence update for a particular stream.
       
      .nakama.realtime.StreamPresenceEvent stream_presence_event = 31;
      Specified by:
      getStreamPresenceEvent in interface EnvelopeOrBuilder
      Returns:
      The streamPresenceEvent.
    • getStreamPresenceEventOrBuilder

      public StreamPresenceEventOrBuilder getStreamPresenceEventOrBuilder()
       Presence update for a particular stream.
       
      .nakama.realtime.StreamPresenceEvent stream_presence_event = 31;
      Specified by:
      getStreamPresenceEventOrBuilder in interface EnvelopeOrBuilder
    • hasPing

      public boolean hasPing()
       Application-level heartbeat and connection check.
       
      .nakama.realtime.Ping ping = 32;
      Specified by:
      hasPing in interface EnvelopeOrBuilder
      Returns:
      Whether the ping field is set.
    • getPing

      public Ping getPing()
       Application-level heartbeat and connection check.
       
      .nakama.realtime.Ping ping = 32;
      Specified by:
      getPing in interface EnvelopeOrBuilder
      Returns:
      The ping.
    • getPingOrBuilder

      public PingOrBuilder getPingOrBuilder()
       Application-level heartbeat and connection check.
       
      .nakama.realtime.Ping ping = 32;
      Specified by:
      getPingOrBuilder in interface EnvelopeOrBuilder
    • hasPong

      public boolean hasPong()
       Application-level heartbeat and connection check response.
       
      .nakama.realtime.Pong pong = 33;
      Specified by:
      hasPong in interface EnvelopeOrBuilder
      Returns:
      Whether the pong field is set.
    • getPong

      public Pong getPong()
       Application-level heartbeat and connection check response.
       
      .nakama.realtime.Pong pong = 33;
      Specified by:
      getPong in interface EnvelopeOrBuilder
      Returns:
      The pong.
    • getPongOrBuilder

      public PongOrBuilder getPongOrBuilder()
       Application-level heartbeat and connection check response.
       
      .nakama.realtime.Pong pong = 33;
      Specified by:
      getPongOrBuilder in interface EnvelopeOrBuilder
    • 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 Envelope parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Envelope.Builder newBuilder()
    • newBuilder

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

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

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

      public static Envelope getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Envelope> 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 Envelope getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder