Package com.heroiclabs.nakama.api
Interface MatchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Match
,Match.Builder
public interface MatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
True if it's an server-managed authoritative match, false otherwise.Handler namecom.google.protobuf.ByteString
Handler namegetLabel()
Match label, if any.Match label, if any.The ID of the match, can be used to join.com.google.protobuf.ByteString
The ID of the match, can be used to join.int
getSize()
Current number of users in the match.int
Tick Rateboolean
hasLabel()
Match label, if any.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
-
getMatchId
String getMatchId()The ID of the match, can be used to join.
string match_id = 1;
- Returns:
- The matchId.
-
getMatchIdBytes
com.google.protobuf.ByteString getMatchIdBytes()The ID of the match, can be used to join.
string match_id = 1;
- Returns:
- The bytes for matchId.
-
getAuthoritative
boolean getAuthoritative()True if it's an server-managed authoritative match, false otherwise.
bool authoritative = 2;
- Returns:
- The authoritative.
-
hasLabel
boolean hasLabel()Match label, if any.
.google.protobuf.StringValue label = 3;
- Returns:
- Whether the label field is set.
-
getLabel
StringValue getLabel()Match label, if any.
.google.protobuf.StringValue label = 3;
- Returns:
- The label.
-
getLabelOrBuilder
StringValueOrBuilder getLabelOrBuilder()Match label, if any.
.google.protobuf.StringValue label = 3;
-
getSize
int getSize()Current number of users in the match.
int32 size = 4;
- Returns:
- The size.
-
getTickRate
int getTickRate()Tick Rate
int32 tick_rate = 5;
- Returns:
- The tickRate.
-
getHandlerName
String getHandlerName()Handler name
string handler_name = 6;
- Returns:
- The handlerName.
-
getHandlerNameBytes
com.google.protobuf.ByteString getHandlerNameBytes()Handler name
string handler_name = 6;
- Returns:
- The bytes for handlerName.
-