public static final class MatchPresenceEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<MatchPresenceEvent.Builder> implements MatchPresenceEventOrBuilder
A set of joins and leaves on a particular realtime match.Protobuf type
nakama.realtime.MatchPresenceEvent| Modifier and Type | Method and Description |
|---|---|
MatchPresenceEvent.Builder |
addAllJoins(java.lang.Iterable<? extends UserPresence> values)
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
addAllLeaves(java.lang.Iterable<? extends UserPresence> values)
User presences that have just left the match.
|
MatchPresenceEvent.Builder |
addJoins(int index,
UserPresence.Builder builderForValue)
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
addJoins(int index,
UserPresence value)
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
addJoins(UserPresence.Builder builderForValue)
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
addJoins(UserPresence value)
User presences that have just joined the match.
|
UserPresence.Builder |
addJoinsBuilder()
User presences that have just joined the match.
|
UserPresence.Builder |
addJoinsBuilder(int index)
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
addLeaves(int index,
UserPresence.Builder builderForValue)
User presences that have just left the match.
|
MatchPresenceEvent.Builder |
addLeaves(int index,
UserPresence value)
User presences that have just left the match.
|
MatchPresenceEvent.Builder |
addLeaves(UserPresence.Builder builderForValue)
User presences that have just left the match.
|
MatchPresenceEvent.Builder |
addLeaves(UserPresence value)
User presences that have just left the match.
|
UserPresence.Builder |
addLeavesBuilder()
User presences that have just left the match.
|
UserPresence.Builder |
addLeavesBuilder(int index)
User presences that have just left the match.
|
MatchPresenceEvent |
build() |
MatchPresenceEvent |
buildPartial() |
MatchPresenceEvent.Builder |
clear() |
MatchPresenceEvent.Builder |
clearJoins()
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
clearLeaves()
User presences that have just left the match.
|
MatchPresenceEvent.Builder |
clearMatchId()
The match unique ID.
|
MatchPresenceEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
UserPresence |
getJoins(int index)
User presences that have just joined the match.
|
UserPresence.Builder |
getJoinsBuilder(int index)
User presences that have just joined the match.
|
java.util.List<UserPresence.Builder> |
getJoinsBuilderList()
User presences that have just joined the match.
|
int |
getJoinsCount()
User presences that have just joined the match.
|
java.util.List<UserPresence> |
getJoinsList()
User presences that have just joined the match.
|
UserPresenceOrBuilder |
getJoinsOrBuilder(int index)
User presences that have just joined the match.
|
java.util.List<? extends UserPresenceOrBuilder> |
getJoinsOrBuilderList()
User presences that have just joined the match.
|
UserPresence |
getLeaves(int index)
User presences that have just left the match.
|
UserPresence.Builder |
getLeavesBuilder(int index)
User presences that have just left the match.
|
java.util.List<UserPresence.Builder> |
getLeavesBuilderList()
User presences that have just left the match.
|
int |
getLeavesCount()
User presences that have just left the match.
|
java.util.List<UserPresence> |
getLeavesList()
User presences that have just left the match.
|
UserPresenceOrBuilder |
getLeavesOrBuilder(int index)
User presences that have just left the match.
|
java.util.List<? extends UserPresenceOrBuilder> |
getLeavesOrBuilderList()
User presences that have just left the match.
|
java.lang.String |
getMatchId()
The match unique ID.
|
com.google.protobuf.ByteString |
getMatchIdBytes()
The match unique ID.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MatchPresenceEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MatchPresenceEvent.Builder |
mergeFrom(MatchPresenceEvent other) |
MatchPresenceEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
MatchPresenceEvent.Builder |
removeJoins(int index)
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
removeLeaves(int index)
User presences that have just left the match.
|
MatchPresenceEvent.Builder |
setJoins(int index,
UserPresence.Builder builderForValue)
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
setJoins(int index,
UserPresence value)
User presences that have just joined the match.
|
MatchPresenceEvent.Builder |
setLeaves(int index,
UserPresence.Builder builderForValue)
User presences that have just left the match.
|
MatchPresenceEvent.Builder |
setLeaves(int index,
UserPresence value)
User presences that have just left the match.
|
MatchPresenceEvent.Builder |
setMatchId(java.lang.String value)
The match unique ID.
|
MatchPresenceEvent.Builder |
setMatchIdBytes(com.google.protobuf.ByteString value)
The match unique ID.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MatchPresenceEvent.Builder>public MatchPresenceEvent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<MatchPresenceEvent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MatchPresenceEvent.Builder>public MatchPresenceEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MatchPresenceEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MatchPresenceEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MatchPresenceEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MatchPresenceEvent.Builder>public MatchPresenceEvent.Builder mergeFrom(MatchPresenceEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<MatchPresenceEvent.Builder>public MatchPresenceEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MatchPresenceEvent.Builder>java.io.IOExceptionpublic java.lang.String getMatchId()
The match unique ID.
string match_id = 1 [json_name = "matchId"];getMatchId in interface MatchPresenceEventOrBuilderpublic com.google.protobuf.ByteString getMatchIdBytes()
The match unique ID.
string match_id = 1 [json_name = "matchId"];getMatchIdBytes in interface MatchPresenceEventOrBuilderpublic MatchPresenceEvent.Builder setMatchId(java.lang.String value)
The match unique ID.
string match_id = 1 [json_name = "matchId"];value - The matchId to set.public MatchPresenceEvent.Builder clearMatchId()
The match unique ID.
string match_id = 1 [json_name = "matchId"];public MatchPresenceEvent.Builder setMatchIdBytes(com.google.protobuf.ByteString value)
The match unique ID.
string match_id = 1 [json_name = "matchId"];value - The bytes for matchId to set.public java.util.List<UserPresence> getJoinsList()
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsList in interface MatchPresenceEventOrBuilderpublic int getJoinsCount()
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsCount in interface MatchPresenceEventOrBuilderpublic UserPresence getJoins(int index)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoins in interface MatchPresenceEventOrBuilderpublic MatchPresenceEvent.Builder setJoins(int index, UserPresence value)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public MatchPresenceEvent.Builder setJoins(int index, UserPresence.Builder builderForValue)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public MatchPresenceEvent.Builder addJoins(UserPresence value)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public MatchPresenceEvent.Builder addJoins(int index, UserPresence value)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public MatchPresenceEvent.Builder addJoins(UserPresence.Builder builderForValue)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public MatchPresenceEvent.Builder addJoins(int index, UserPresence.Builder builderForValue)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public MatchPresenceEvent.Builder addAllJoins(java.lang.Iterable<? extends UserPresence> values)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public MatchPresenceEvent.Builder clearJoins()
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public MatchPresenceEvent.Builder removeJoins(int index)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresence.Builder getJoinsBuilder(int index)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresenceOrBuilder getJoinsOrBuilder(int index)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsOrBuilder in interface MatchPresenceEventOrBuilderpublic java.util.List<? extends UserPresenceOrBuilder> getJoinsOrBuilderList()
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsOrBuilderList in interface MatchPresenceEventOrBuilderpublic UserPresence.Builder addJoinsBuilder()
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresence.Builder addJoinsBuilder(int index)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public java.util.List<UserPresence.Builder> getJoinsBuilderList()
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public java.util.List<UserPresence> getLeavesList()
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesList in interface MatchPresenceEventOrBuilderpublic int getLeavesCount()
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesCount in interface MatchPresenceEventOrBuilderpublic UserPresence getLeaves(int index)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeaves in interface MatchPresenceEventOrBuilderpublic MatchPresenceEvent.Builder setLeaves(int index, UserPresence value)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public MatchPresenceEvent.Builder setLeaves(int index, UserPresence.Builder builderForValue)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public MatchPresenceEvent.Builder addLeaves(UserPresence value)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public MatchPresenceEvent.Builder addLeaves(int index, UserPresence value)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public MatchPresenceEvent.Builder addLeaves(UserPresence.Builder builderForValue)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public MatchPresenceEvent.Builder addLeaves(int index, UserPresence.Builder builderForValue)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public MatchPresenceEvent.Builder addAllLeaves(java.lang.Iterable<? extends UserPresence> values)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public MatchPresenceEvent.Builder clearLeaves()
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public MatchPresenceEvent.Builder removeLeaves(int index)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresence.Builder getLeavesBuilder(int index)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresenceOrBuilder getLeavesOrBuilder(int index)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesOrBuilder in interface MatchPresenceEventOrBuilderpublic java.util.List<? extends UserPresenceOrBuilder> getLeavesOrBuilderList()
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesOrBuilderList in interface MatchPresenceEventOrBuilderpublic UserPresence.Builder addLeavesBuilder()
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresence.Builder addLeavesBuilder(int index)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public java.util.List<UserPresence.Builder> getLeavesBuilderList()
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];