Package com.heroiclabs.nakama.rtapi
Interface MatchJoinOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MatchJoin
,MatchJoin.Builder
public interface MatchJoinOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetadata
(String key) An optional set of key-value metadata pairs to be passed to the match handler, if any.The match unique ID.com.google.protobuf.ByteString
The match unique ID.Deprecated.int
An optional set of key-value metadata pairs to be passed to the match handler, if any.An optional set of key-value metadata pairs to be passed to the match handler, if any.getMetadataOrDefault
(String key, String defaultValue) An optional set of key-value metadata pairs to be passed to the match handler, if any.getMetadataOrThrow
(String key) An optional set of key-value metadata pairs to be passed to the match handler, if any.getToken()
A matchmaking result token.com.google.protobuf.ByteString
A matchmaking result token.boolean
The match unique ID.boolean
hasToken()
A matchmaking result token.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMatchId
boolean hasMatchId()The match unique ID.
string match_id = 1;
- Returns:
- Whether the matchId field is set.
-
getMatchId
String getMatchId()The match unique ID.
string match_id = 1;
- Returns:
- The matchId.
-
getMatchIdBytes
com.google.protobuf.ByteString getMatchIdBytes()The match unique ID.
string match_id = 1;
- Returns:
- The bytes for matchId.
-
hasToken
boolean hasToken()A matchmaking result token.
string token = 2;
- Returns:
- Whether the token field is set.
-
getToken
String getToken()A matchmaking result token.
string token = 2;
- Returns:
- The token.
-
getTokenBytes
com.google.protobuf.ByteString getTokenBytes()A matchmaking result token.
string token = 2;
- Returns:
- The bytes for token.
-
getMetadataCount
int getMetadataCount()An optional set of key-value metadata pairs to be passed to the match handler, if any.
map<string, string> metadata = 3;
-
containsMetadata
An optional set of key-value metadata pairs to be passed to the match handler, if any.
map<string, string> metadata = 3;
-
getMetadata
Deprecated.UsegetMetadataMap()
instead. -
getMetadataMap
An optional set of key-value metadata pairs to be passed to the match handler, if any.
map<string, string> metadata = 3;
-
getMetadataOrDefault
An optional set of key-value metadata pairs to be passed to the match handler, if any.
map<string, string> metadata = 3;
-
getMetadataOrThrow
An optional set of key-value metadata pairs to be passed to the match handler, if any.
map<string, string> metadata = 3;
-
getIdCase
MatchJoin.IdCase getIdCase()
-