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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<MatchPresenceEvent.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<MatchPresenceEvent.Builder>
public MatchPresenceEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MatchPresenceEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MatchPresenceEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MatchPresenceEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MatchPresenceEvent.Builder>
java.io.IOException
public java.lang.String getMatchId()
The match unique ID.
string match_id = 1 [json_name = "matchId"];
getMatchId
in interface MatchPresenceEventOrBuilder
public com.google.protobuf.ByteString getMatchIdBytes()
The match unique ID.
string match_id = 1 [json_name = "matchId"];
getMatchIdBytes
in interface MatchPresenceEventOrBuilder
public 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 MatchPresenceEventOrBuilder
public int getJoinsCount()
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoinsCount
in interface MatchPresenceEventOrBuilder
public UserPresence getJoins(int index)
User presences that have just joined the match.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoins
in interface MatchPresenceEventOrBuilder
public 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 MatchPresenceEventOrBuilder
public 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 MatchPresenceEventOrBuilder
public 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 MatchPresenceEventOrBuilder
public int getLeavesCount()
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeavesCount
in interface MatchPresenceEventOrBuilder
public UserPresence getLeaves(int index)
User presences that have just left the match.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeaves
in interface MatchPresenceEventOrBuilder
public 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 MatchPresenceEventOrBuilder
public 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 MatchPresenceEventOrBuilder
public 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"];