Package com.heroiclabs.nakama.rtapi
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A successful matchmaking result.static enum
static final class
Protobuf typenakama.realtime.MatchmakerMatched.MatchmakerUser
static interface
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
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
static MatchmakerMatched
static final com.google.protobuf.Descriptors.Descriptor
Match ID.com.google.protobuf.ByteString
Match ID.com.google.protobuf.Parser<MatchmakerMatched>
getSelf()
A reference to the current user and their properties.A reference to the current user and their properties.int
The matchmaking ticket that has completed.com.google.protobuf.ByteString
The matchmaking ticket that has completed.getToken()
Match join token.com.google.protobuf.ByteString
Match join token.final com.google.protobuf.UnknownFieldSet
getUsers
(int index) The users that have been matched together, and information about their matchmaking data.int
The users that have been matched together, and information about their matchmaking data.The users that have been matched together, and information about their matchmaking data.getUsersOrBuilder
(int index) The users that have been matched together, and information about their matchmaking data.List<? extends MatchmakerMatched.MatchmakerUserOrBuilder>
The users that have been matched together, and information about their matchmaking data.int
hashCode()
boolean
Match ID.boolean
hasSelf()
A reference to the current user and their properties.boolean
hasToken()
Match join token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static MatchmakerMatched.Builder
static MatchmakerMatched.Builder
newBuilder
(MatchmakerMatched prototype) protected MatchmakerMatched.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MatchmakerMatched
parseDelimitedFrom
(InputStream input) static MatchmakerMatched
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MatchmakerMatched
parseFrom
(byte[] data) static MatchmakerMatched
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MatchmakerMatched
parseFrom
(com.google.protobuf.ByteString data) static MatchmakerMatched
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MatchmakerMatched
parseFrom
(com.google.protobuf.CodedInputStream input) static MatchmakerMatched
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MatchmakerMatched
parseFrom
(InputStream input) static MatchmakerMatched
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MatchmakerMatched
parseFrom
(ByteBuffer data) static MatchmakerMatched
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MatchmakerMatched>
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
-
TICKET_FIELD_NUMBER
public static final int TICKET_FIELD_NUMBER- See Also:
-
MATCH_ID_FIELD_NUMBER
public static final int MATCH_ID_FIELD_NUMBER- See Also:
-
TOKEN_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER- See Also:
-
USERS_FIELD_NUMBER
public static final int USERS_FIELD_NUMBER- See Also:
-
SELF_FIELD_NUMBER
public static final int SELF_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
-
getIdCase
- Specified by:
getIdCase
in interfaceMatchmakerMatchedOrBuilder
-
getTicket
The matchmaking ticket that has completed.
string ticket = 1;
- Specified by:
getTicket
in interfaceMatchmakerMatchedOrBuilder
- Returns:
- The ticket.
-
getTicketBytes
public com.google.protobuf.ByteString getTicketBytes()The matchmaking ticket that has completed.
string ticket = 1;
- Specified by:
getTicketBytes
in interfaceMatchmakerMatchedOrBuilder
- Returns:
- The bytes for ticket.
-
hasMatchId
public boolean hasMatchId()Match ID.
string match_id = 2;
- Specified by:
hasMatchId
in interfaceMatchmakerMatchedOrBuilder
- Returns:
- Whether the matchId field is set.
-
getMatchId
Match ID.
string match_id = 2;
- Specified by:
getMatchId
in interfaceMatchmakerMatchedOrBuilder
- Returns:
- The matchId.
-
getMatchIdBytes
public com.google.protobuf.ByteString getMatchIdBytes()Match ID.
string match_id = 2;
- Specified by:
getMatchIdBytes
in interfaceMatchmakerMatchedOrBuilder
- Returns:
- The bytes for matchId.
-
hasToken
public boolean hasToken()Match join token.
string token = 3;
- Specified by:
hasToken
in interfaceMatchmakerMatchedOrBuilder
- Returns:
- Whether the token field is set.
-
getToken
Match join token.
string token = 3;
- Specified by:
getToken
in interfaceMatchmakerMatchedOrBuilder
- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()Match join token.
string token = 3;
- Specified by:
getTokenBytes
in interfaceMatchmakerMatchedOrBuilder
- Returns:
- The bytes for token.
-
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 interfaceMatchmakerMatchedOrBuilder
-
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 interfaceMatchmakerMatchedOrBuilder
-
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 interfaceMatchmakerMatchedOrBuilder
-
getUsers
The users that have been matched together, and information about their matchmaking data.
repeated .nakama.realtime.MatchmakerMatched.MatchmakerUser users = 4;
- Specified by:
getUsers
in interfaceMatchmakerMatchedOrBuilder
-
getUsersOrBuilder
The users that have been matched together, and information about their matchmaking data.
repeated .nakama.realtime.MatchmakerMatched.MatchmakerUser users = 4;
- Specified by:
getUsersOrBuilder
in interfaceMatchmakerMatchedOrBuilder
-
hasSelf
public boolean hasSelf()A reference to the current user and their properties.
.nakama.realtime.MatchmakerMatched.MatchmakerUser self = 5;
- Specified by:
hasSelf
in interfaceMatchmakerMatchedOrBuilder
- 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 interfaceMatchmakerMatchedOrBuilder
- Returns:
- The self.
-
getSelfOrBuilder
A reference to the current user and their properties.
.nakama.realtime.MatchmakerMatched.MatchmakerUser self = 5;
- Specified by:
getSelfOrBuilder
in interfaceMatchmakerMatchedOrBuilder
-
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 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
- Throws:
IOException
-
parseFrom
public static MatchmakerMatched parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- 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 MatchmakerMatched.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
-