Package com.heroiclabs.nakama.rtapi
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
An envelope for a realtime message.static enum
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
A response from a channel join operation.Join a realtime chat channel.Join a realtime chat channel.Leave a realtime chat channel.Leave a realtime chat channel.An incoming message on a realtime chat channel.An acknowledgement received in response to sending a message on a chat channel.An acknowledgement received in response to sending a message on a chat channel.An incoming message on a realtime chat channel.Remove a message previously sent to a realtime chat channel.Remove a message previously sent to a realtime chat channel.Send a message to a realtime chat channel.Send a message to a realtime chat channel.Update a message previously sent to a realtime chat channel.Update a message previously sent to a realtime chat channel.A response from a channel join operation.Presence update for a particular realtime chat channel.Presence update for a particular realtime chat channel.getCid()
string cid = 1;
com.google.protobuf.ByteString
string cid = 1;
static Envelope
static final com.google.protobuf.Descriptors.Descriptor
getError()
Describes an error which occurred on the server.Describes an error which occurred on the server.getMatch()
Incoming information about a realtime match.A client to server request to create a realtime match.A client to server request to create a realtime match.Incoming realtime match data delivered from the server.Incoming realtime match data delivered from the server.A client to server request to send data to a realtime match.A client to server request to send data to a realtime match.A client to server request to join a realtime match.A client to server request to join a realtime match.A client to server request to leave a realtime match.A client to server request to leave a realtime match.Submit a new matchmaking process request.Submit a new matchmaking process request.A successful matchmaking result.A successful matchmaking result.Cancel a matchmaking process using a ticket.Cancel a matchmaking process using a ticket.A response from starting a new matchmaking process.A response from starting a new matchmaking process.Incoming information about a realtime match.Presence update for a particular realtime match.Presence update for a particular realtime match.Notifications send by the server.Notifications send by the server.com.google.protobuf.Parser<Envelope>
getPing()
Application-level heartbeat and connection check.Application-level heartbeat and connection check.getPong()
Application-level heartbeat and connection check response.Application-level heartbeat and connection check response.getRpc()
RPC call or response.RPC call or response.int
An incoming status snapshot for some set of users.Start following some set of users to receive their status updates.Start following some set of users to receive their status updates.An incoming status snapshot for some set of users.An incoming status update.An incoming status update.Stop following some set of users to no longer receive their status updates.Stop following some set of users to no longer receive their status updates.Set the user's own status.Set the user's own status.A data message delivered over a stream.A data message delivered over a stream.Presence update for a particular stream.Presence update for a particular stream.final com.google.protobuf.UnknownFieldSet
boolean
A response from a channel join operation.boolean
Join a realtime chat channel.boolean
Leave a realtime chat channel.boolean
An incoming message on a realtime chat channel.boolean
An acknowledgement received in response to sending a message on a chat channel.boolean
Remove a message previously sent to a realtime chat channel.boolean
Send a message to a realtime chat channel.boolean
Update a message previously sent to a realtime chat channel.boolean
Presence update for a particular realtime chat channel.boolean
hasError()
Describes an error which occurred on the server.int
hashCode()
boolean
hasMatch()
Incoming information about a realtime match.boolean
A client to server request to create a realtime match.boolean
Incoming realtime match data delivered from the server.boolean
A client to server request to send data to a realtime match.boolean
A client to server request to join a realtime match.boolean
A client to server request to leave a realtime match.boolean
Submit a new matchmaking process request.boolean
A successful matchmaking result.boolean
Cancel a matchmaking process using a ticket.boolean
A response from starting a new matchmaking process.boolean
Presence update for a particular realtime match.boolean
Notifications send by the server.boolean
hasPing()
Application-level heartbeat and connection check.boolean
hasPong()
Application-level heartbeat and connection check response.boolean
hasRpc()
RPC call or response.boolean
An incoming status snapshot for some set of users.boolean
Start following some set of users to receive their status updates.boolean
An incoming status update.boolean
Stop following some set of users to no longer receive their status updates.boolean
Set the user's own status.boolean
A data message delivered over a stream.boolean
Presence update for a particular stream.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Envelope.Builder
static Envelope.Builder
newBuilder
(Envelope prototype) protected Envelope.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Envelope
parseDelimitedFrom
(InputStream input) static Envelope
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelope
parseFrom
(byte[] data) static Envelope
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelope
parseFrom
(com.google.protobuf.ByteString data) static Envelope
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelope
parseFrom
(com.google.protobuf.CodedInputStream input) static Envelope
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelope
parseFrom
(InputStream input) static Envelope
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelope
parseFrom
(ByteBuffer data) static Envelope
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Envelope>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
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
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getMessageCase
- Specified by:
getMessageCase
in interfaceEnvelopeOrBuilder
-
getCid
string cid = 1;
- Specified by:
getCid
in interfaceEnvelopeOrBuilder
- Returns:
- The cid.
-
getCidBytes
public com.google.protobuf.ByteString getCidBytes()string cid = 1;
- Specified by:
getCidBytes
in interfaceEnvelopeOrBuilder
- 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 interfaceEnvelopeOrBuilder
- Returns:
- Whether the channel field is set.
-
getChannel
A response from a channel join operation.
.nakama.realtime.Channel channel = 2;
- Specified by:
getChannel
in interfaceEnvelopeOrBuilder
- Returns:
- The channel.
-
getChannelOrBuilder
A response from a channel join operation.
.nakama.realtime.Channel channel = 2;
- Specified by:
getChannelOrBuilder
in interfaceEnvelopeOrBuilder
-
hasChannelJoin
public boolean hasChannelJoin()Join a realtime chat channel.
.nakama.realtime.ChannelJoin channel_join = 3;
- Specified by:
hasChannelJoin
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the channelJoin field is set.
-
getChannelJoin
Join a realtime chat channel.
.nakama.realtime.ChannelJoin channel_join = 3;
- Specified by:
getChannelJoin
in interfaceEnvelopeOrBuilder
- Returns:
- The channelJoin.
-
getChannelJoinOrBuilder
Join a realtime chat channel.
.nakama.realtime.ChannelJoin channel_join = 3;
- Specified by:
getChannelJoinOrBuilder
in interfaceEnvelopeOrBuilder
-
hasChannelLeave
public boolean hasChannelLeave()Leave a realtime chat channel.
.nakama.realtime.ChannelLeave channel_leave = 4;
- Specified by:
hasChannelLeave
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the channelLeave field is set.
-
getChannelLeave
Leave a realtime chat channel.
.nakama.realtime.ChannelLeave channel_leave = 4;
- Specified by:
getChannelLeave
in interfaceEnvelopeOrBuilder
- Returns:
- The channelLeave.
-
getChannelLeaveOrBuilder
Leave a realtime chat channel.
.nakama.realtime.ChannelLeave channel_leave = 4;
- Specified by:
getChannelLeaveOrBuilder
in interfaceEnvelopeOrBuilder
-
hasChannelMessage
public boolean hasChannelMessage()An incoming message on a realtime chat channel.
.nakama.api.ChannelMessage channel_message = 5;
- Specified by:
hasChannelMessage
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the channelMessage field is set.
-
getChannelMessage
An incoming message on a realtime chat channel.
.nakama.api.ChannelMessage channel_message = 5;
- Specified by:
getChannelMessage
in interfaceEnvelopeOrBuilder
- Returns:
- The channelMessage.
-
getChannelMessageOrBuilder
An incoming message on a realtime chat channel.
.nakama.api.ChannelMessage channel_message = 5;
- Specified by:
getChannelMessageOrBuilder
in interfaceEnvelopeOrBuilder
-
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 interfaceEnvelopeOrBuilder
- Returns:
- Whether the channelMessageAck field is set.
-
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 interfaceEnvelopeOrBuilder
- Returns:
- The channelMessageAck.
-
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 interfaceEnvelopeOrBuilder
-
hasChannelMessageSend
public boolean hasChannelMessageSend()Send a message to a realtime chat channel.
.nakama.realtime.ChannelMessageSend channel_message_send = 7;
- Specified by:
hasChannelMessageSend
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the channelMessageSend field is set.
-
getChannelMessageSend
Send a message to a realtime chat channel.
.nakama.realtime.ChannelMessageSend channel_message_send = 7;
- Specified by:
getChannelMessageSend
in interfaceEnvelopeOrBuilder
- Returns:
- The channelMessageSend.
-
getChannelMessageSendOrBuilder
Send a message to a realtime chat channel.
.nakama.realtime.ChannelMessageSend channel_message_send = 7;
- Specified by:
getChannelMessageSendOrBuilder
in interfaceEnvelopeOrBuilder
-
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 interfaceEnvelopeOrBuilder
- Returns:
- Whether the channelMessageUpdate field is set.
-
getChannelMessageUpdate
Update a message previously sent to a realtime chat channel.
.nakama.realtime.ChannelMessageUpdate channel_message_update = 8;
- Specified by:
getChannelMessageUpdate
in interfaceEnvelopeOrBuilder
- Returns:
- The channelMessageUpdate.
-
getChannelMessageUpdateOrBuilder
Update a message previously sent to a realtime chat channel.
.nakama.realtime.ChannelMessageUpdate channel_message_update = 8;
- Specified by:
getChannelMessageUpdateOrBuilder
in interfaceEnvelopeOrBuilder
-
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 interfaceEnvelopeOrBuilder
- Returns:
- Whether the channelMessageRemove field is set.
-
getChannelMessageRemove
Remove a message previously sent to a realtime chat channel.
.nakama.realtime.ChannelMessageRemove channel_message_remove = 9;
- Specified by:
getChannelMessageRemove
in interfaceEnvelopeOrBuilder
- Returns:
- The channelMessageRemove.
-
getChannelMessageRemoveOrBuilder
Remove a message previously sent to a realtime chat channel.
.nakama.realtime.ChannelMessageRemove channel_message_remove = 9;
- Specified by:
getChannelMessageRemoveOrBuilder
in interfaceEnvelopeOrBuilder
-
hasChannelPresenceEvent
public boolean hasChannelPresenceEvent()Presence update for a particular realtime chat channel.
.nakama.realtime.ChannelPresenceEvent channel_presence_event = 10;
- Specified by:
hasChannelPresenceEvent
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the channelPresenceEvent field is set.
-
getChannelPresenceEvent
Presence update for a particular realtime chat channel.
.nakama.realtime.ChannelPresenceEvent channel_presence_event = 10;
- Specified by:
getChannelPresenceEvent
in interfaceEnvelopeOrBuilder
- Returns:
- The channelPresenceEvent.
-
getChannelPresenceEventOrBuilder
Presence update for a particular realtime chat channel.
.nakama.realtime.ChannelPresenceEvent channel_presence_event = 10;
- Specified by:
getChannelPresenceEventOrBuilder
in interfaceEnvelopeOrBuilder
-
hasError
public boolean hasError()Describes an error which occurred on the server.
.nakama.realtime.Error error = 11;
- Specified by:
hasError
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the error field is set.
-
getError
Describes an error which occurred on the server.
.nakama.realtime.Error error = 11;
- Specified by:
getError
in interfaceEnvelopeOrBuilder
- Returns:
- The error.
-
getErrorOrBuilder
Describes an error which occurred on the server.
.nakama.realtime.Error error = 11;
- Specified by:
getErrorOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatch
public boolean hasMatch()Incoming information about a realtime match.
.nakama.realtime.Match match = 12;
- Specified by:
hasMatch
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the match field is set.
-
getMatch
Incoming information about a realtime match.
.nakama.realtime.Match match = 12;
- Specified by:
getMatch
in interfaceEnvelopeOrBuilder
- Returns:
- The match.
-
getMatchOrBuilder
Incoming information about a realtime match.
.nakama.realtime.Match match = 12;
- Specified by:
getMatchOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchCreate
public boolean hasMatchCreate()A client to server request to create a realtime match.
.nakama.realtime.MatchCreate match_create = 13;
- Specified by:
hasMatchCreate
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchCreate field is set.
-
getMatchCreate
A client to server request to create a realtime match.
.nakama.realtime.MatchCreate match_create = 13;
- Specified by:
getMatchCreate
in interfaceEnvelopeOrBuilder
- Returns:
- The matchCreate.
-
getMatchCreateOrBuilder
A client to server request to create a realtime match.
.nakama.realtime.MatchCreate match_create = 13;
- Specified by:
getMatchCreateOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchData
public boolean hasMatchData()Incoming realtime match data delivered from the server.
.nakama.realtime.MatchData match_data = 14;
- Specified by:
hasMatchData
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchData field is set.
-
getMatchData
Incoming realtime match data delivered from the server.
.nakama.realtime.MatchData match_data = 14;
- Specified by:
getMatchData
in interfaceEnvelopeOrBuilder
- Returns:
- The matchData.
-
getMatchDataOrBuilder
Incoming realtime match data delivered from the server.
.nakama.realtime.MatchData match_data = 14;
- Specified by:
getMatchDataOrBuilder
in interfaceEnvelopeOrBuilder
-
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 interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchDataSend field is set.
-
getMatchDataSend
A client to server request to send data to a realtime match.
.nakama.realtime.MatchDataSend match_data_send = 15;
- Specified by:
getMatchDataSend
in interfaceEnvelopeOrBuilder
- Returns:
- The matchDataSend.
-
getMatchDataSendOrBuilder
A client to server request to send data to a realtime match.
.nakama.realtime.MatchDataSend match_data_send = 15;
- Specified by:
getMatchDataSendOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchJoin
public boolean hasMatchJoin()A client to server request to join a realtime match.
.nakama.realtime.MatchJoin match_join = 16;
- Specified by:
hasMatchJoin
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchJoin field is set.
-
getMatchJoin
A client to server request to join a realtime match.
.nakama.realtime.MatchJoin match_join = 16;
- Specified by:
getMatchJoin
in interfaceEnvelopeOrBuilder
- Returns:
- The matchJoin.
-
getMatchJoinOrBuilder
A client to server request to join a realtime match.
.nakama.realtime.MatchJoin match_join = 16;
- Specified by:
getMatchJoinOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchLeave
public boolean hasMatchLeave()A client to server request to leave a realtime match.
.nakama.realtime.MatchLeave match_leave = 17;
- Specified by:
hasMatchLeave
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchLeave field is set.
-
getMatchLeave
A client to server request to leave a realtime match.
.nakama.realtime.MatchLeave match_leave = 17;
- Specified by:
getMatchLeave
in interfaceEnvelopeOrBuilder
- Returns:
- The matchLeave.
-
getMatchLeaveOrBuilder
A client to server request to leave a realtime match.
.nakama.realtime.MatchLeave match_leave = 17;
- Specified by:
getMatchLeaveOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchPresenceEvent
public boolean hasMatchPresenceEvent()Presence update for a particular realtime match.
.nakama.realtime.MatchPresenceEvent match_presence_event = 18;
- Specified by:
hasMatchPresenceEvent
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchPresenceEvent field is set.
-
getMatchPresenceEvent
Presence update for a particular realtime match.
.nakama.realtime.MatchPresenceEvent match_presence_event = 18;
- Specified by:
getMatchPresenceEvent
in interfaceEnvelopeOrBuilder
- Returns:
- The matchPresenceEvent.
-
getMatchPresenceEventOrBuilder
Presence update for a particular realtime match.
.nakama.realtime.MatchPresenceEvent match_presence_event = 18;
- Specified by:
getMatchPresenceEventOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchmakerAdd
public boolean hasMatchmakerAdd()Submit a new matchmaking process request.
.nakama.realtime.MatchmakerAdd matchmaker_add = 19;
- Specified by:
hasMatchmakerAdd
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchmakerAdd field is set.
-
getMatchmakerAdd
Submit a new matchmaking process request.
.nakama.realtime.MatchmakerAdd matchmaker_add = 19;
- Specified by:
getMatchmakerAdd
in interfaceEnvelopeOrBuilder
- Returns:
- The matchmakerAdd.
-
getMatchmakerAddOrBuilder
Submit a new matchmaking process request.
.nakama.realtime.MatchmakerAdd matchmaker_add = 19;
- Specified by:
getMatchmakerAddOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchmakerMatched
public boolean hasMatchmakerMatched()A successful matchmaking result.
.nakama.realtime.MatchmakerMatched matchmaker_matched = 20;
- Specified by:
hasMatchmakerMatched
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchmakerMatched field is set.
-
getMatchmakerMatched
A successful matchmaking result.
.nakama.realtime.MatchmakerMatched matchmaker_matched = 20;
- Specified by:
getMatchmakerMatched
in interfaceEnvelopeOrBuilder
- Returns:
- The matchmakerMatched.
-
getMatchmakerMatchedOrBuilder
A successful matchmaking result.
.nakama.realtime.MatchmakerMatched matchmaker_matched = 20;
- Specified by:
getMatchmakerMatchedOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchmakerRemove
public boolean hasMatchmakerRemove()Cancel a matchmaking process using a ticket.
.nakama.realtime.MatchmakerRemove matchmaker_remove = 21;
- Specified by:
hasMatchmakerRemove
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchmakerRemove field is set.
-
getMatchmakerRemove
Cancel a matchmaking process using a ticket.
.nakama.realtime.MatchmakerRemove matchmaker_remove = 21;
- Specified by:
getMatchmakerRemove
in interfaceEnvelopeOrBuilder
- Returns:
- The matchmakerRemove.
-
getMatchmakerRemoveOrBuilder
Cancel a matchmaking process using a ticket.
.nakama.realtime.MatchmakerRemove matchmaker_remove = 21;
- Specified by:
getMatchmakerRemoveOrBuilder
in interfaceEnvelopeOrBuilder
-
hasMatchmakerTicket
public boolean hasMatchmakerTicket()A response from starting a new matchmaking process.
.nakama.realtime.MatchmakerTicket matchmaker_ticket = 22;
- Specified by:
hasMatchmakerTicket
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the matchmakerTicket field is set.
-
getMatchmakerTicket
A response from starting a new matchmaking process.
.nakama.realtime.MatchmakerTicket matchmaker_ticket = 22;
- Specified by:
getMatchmakerTicket
in interfaceEnvelopeOrBuilder
- Returns:
- The matchmakerTicket.
-
getMatchmakerTicketOrBuilder
A response from starting a new matchmaking process.
.nakama.realtime.MatchmakerTicket matchmaker_ticket = 22;
- Specified by:
getMatchmakerTicketOrBuilder
in interfaceEnvelopeOrBuilder
-
hasNotifications
public boolean hasNotifications()Notifications send by the server.
.nakama.realtime.Notifications notifications = 23;
- Specified by:
hasNotifications
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the notifications field is set.
-
getNotifications
Notifications send by the server.
.nakama.realtime.Notifications notifications = 23;
- Specified by:
getNotifications
in interfaceEnvelopeOrBuilder
- Returns:
- The notifications.
-
getNotificationsOrBuilder
Notifications send by the server.
.nakama.realtime.Notifications notifications = 23;
- Specified by:
getNotificationsOrBuilder
in interfaceEnvelopeOrBuilder
-
hasRpc
public boolean hasRpc()RPC call or response.
.nakama.api.Rpc rpc = 24;
- Specified by:
hasRpc
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the rpc field is set.
-
getRpc
RPC call or response.
.nakama.api.Rpc rpc = 24;
- Specified by:
getRpc
in interfaceEnvelopeOrBuilder
- Returns:
- The rpc.
-
getRpcOrBuilder
RPC call or response.
.nakama.api.Rpc rpc = 24;
- Specified by:
getRpcOrBuilder
in interfaceEnvelopeOrBuilder
-
hasStatus
public boolean hasStatus()An incoming status snapshot for some set of users.
.nakama.realtime.Status status = 25;
- Specified by:
hasStatus
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
An incoming status snapshot for some set of users.
.nakama.realtime.Status status = 25;
- Specified by:
getStatus
in interfaceEnvelopeOrBuilder
- Returns:
- The status.
-
getStatusOrBuilder
An incoming status snapshot for some set of users.
.nakama.realtime.Status status = 25;
- Specified by:
getStatusOrBuilder
in interfaceEnvelopeOrBuilder
-
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 interfaceEnvelopeOrBuilder
- Returns:
- Whether the statusFollow field is set.
-
getStatusFollow
Start following some set of users to receive their status updates.
.nakama.realtime.StatusFollow status_follow = 26;
- Specified by:
getStatusFollow
in interfaceEnvelopeOrBuilder
- Returns:
- The statusFollow.
-
getStatusFollowOrBuilder
Start following some set of users to receive their status updates.
.nakama.realtime.StatusFollow status_follow = 26;
- Specified by:
getStatusFollowOrBuilder
in interfaceEnvelopeOrBuilder
-
hasStatusPresenceEvent
public boolean hasStatusPresenceEvent()An incoming status update.
.nakama.realtime.StatusPresenceEvent status_presence_event = 27;
- Specified by:
hasStatusPresenceEvent
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the statusPresenceEvent field is set.
-
getStatusPresenceEvent
An incoming status update.
.nakama.realtime.StatusPresenceEvent status_presence_event = 27;
- Specified by:
getStatusPresenceEvent
in interfaceEnvelopeOrBuilder
- Returns:
- The statusPresenceEvent.
-
getStatusPresenceEventOrBuilder
An incoming status update.
.nakama.realtime.StatusPresenceEvent status_presence_event = 27;
- Specified by:
getStatusPresenceEventOrBuilder
in interfaceEnvelopeOrBuilder
-
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 interfaceEnvelopeOrBuilder
- Returns:
- Whether the statusUnfollow field is set.
-
getStatusUnfollow
Stop following some set of users to no longer receive their status updates.
.nakama.realtime.StatusUnfollow status_unfollow = 28;
- Specified by:
getStatusUnfollow
in interfaceEnvelopeOrBuilder
- Returns:
- The statusUnfollow.
-
getStatusUnfollowOrBuilder
Stop following some set of users to no longer receive their status updates.
.nakama.realtime.StatusUnfollow status_unfollow = 28;
- Specified by:
getStatusUnfollowOrBuilder
in interfaceEnvelopeOrBuilder
-
hasStatusUpdate
public boolean hasStatusUpdate()Set the user's own status.
.nakama.realtime.StatusUpdate status_update = 29;
- Specified by:
hasStatusUpdate
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the statusUpdate field is set.
-
getStatusUpdate
Set the user's own status.
.nakama.realtime.StatusUpdate status_update = 29;
- Specified by:
getStatusUpdate
in interfaceEnvelopeOrBuilder
- Returns:
- The statusUpdate.
-
getStatusUpdateOrBuilder
Set the user's own status.
.nakama.realtime.StatusUpdate status_update = 29;
- Specified by:
getStatusUpdateOrBuilder
in interfaceEnvelopeOrBuilder
-
hasStreamData
public boolean hasStreamData()A data message delivered over a stream.
.nakama.realtime.StreamData stream_data = 30;
- Specified by:
hasStreamData
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the streamData field is set.
-
getStreamData
A data message delivered over a stream.
.nakama.realtime.StreamData stream_data = 30;
- Specified by:
getStreamData
in interfaceEnvelopeOrBuilder
- Returns:
- The streamData.
-
getStreamDataOrBuilder
A data message delivered over a stream.
.nakama.realtime.StreamData stream_data = 30;
- Specified by:
getStreamDataOrBuilder
in interfaceEnvelopeOrBuilder
-
hasStreamPresenceEvent
public boolean hasStreamPresenceEvent()Presence update for a particular stream.
.nakama.realtime.StreamPresenceEvent stream_presence_event = 31;
- Specified by:
hasStreamPresenceEvent
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the streamPresenceEvent field is set.
-
getStreamPresenceEvent
Presence update for a particular stream.
.nakama.realtime.StreamPresenceEvent stream_presence_event = 31;
- Specified by:
getStreamPresenceEvent
in interfaceEnvelopeOrBuilder
- Returns:
- The streamPresenceEvent.
-
getStreamPresenceEventOrBuilder
Presence update for a particular stream.
.nakama.realtime.StreamPresenceEvent stream_presence_event = 31;
- Specified by:
getStreamPresenceEventOrBuilder
in interfaceEnvelopeOrBuilder
-
hasPing
public boolean hasPing()Application-level heartbeat and connection check.
.nakama.realtime.Ping ping = 32;
- Specified by:
hasPing
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the ping field is set.
-
getPing
Application-level heartbeat and connection check.
.nakama.realtime.Ping ping = 32;
- Specified by:
getPing
in interfaceEnvelopeOrBuilder
- Returns:
- The ping.
-
getPingOrBuilder
Application-level heartbeat and connection check.
.nakama.realtime.Ping ping = 32;
- Specified by:
getPingOrBuilder
in interfaceEnvelopeOrBuilder
-
hasPong
public boolean hasPong()Application-level heartbeat and connection check response.
.nakama.realtime.Pong pong = 33;
- Specified by:
hasPong
in interfaceEnvelopeOrBuilder
- Returns:
- Whether the pong field is set.
-
getPong
Application-level heartbeat and connection check response.
.nakama.realtime.Pong pong = 33;
- Specified by:
getPong
in interfaceEnvelopeOrBuilder
- Returns:
- The pong.
-
getPongOrBuilder
Application-level heartbeat and connection check response.
.nakama.realtime.Pong pong = 33;
- Specified by:
getPongOrBuilder
in interfaceEnvelopeOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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
- Throws:
IOException
-
parseFrom
public static Envelope parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Envelope parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Envelope parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Envelope.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-