public static final class PartyPresenceEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<PartyPresenceEvent.Builder> implements PartyPresenceEventOrBuilder
Presence update for a particular party.Protobuf type
nakama.realtime.PartyPresenceEvent| Modifier and Type | Method and Description |
|---|---|
PartyPresenceEvent.Builder |
addAllJoins(java.lang.Iterable<? extends UserPresence> values)
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
addAllLeaves(java.lang.Iterable<? extends UserPresence> values)
User presences that have just left the party.
|
PartyPresenceEvent.Builder |
addJoins(int index,
UserPresence.Builder builderForValue)
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
addJoins(int index,
UserPresence value)
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
addJoins(UserPresence.Builder builderForValue)
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
addJoins(UserPresence value)
User presences that have just joined the party.
|
UserPresence.Builder |
addJoinsBuilder()
User presences that have just joined the party.
|
UserPresence.Builder |
addJoinsBuilder(int index)
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
addLeaves(int index,
UserPresence.Builder builderForValue)
User presences that have just left the party.
|
PartyPresenceEvent.Builder |
addLeaves(int index,
UserPresence value)
User presences that have just left the party.
|
PartyPresenceEvent.Builder |
addLeaves(UserPresence.Builder builderForValue)
User presences that have just left the party.
|
PartyPresenceEvent.Builder |
addLeaves(UserPresence value)
User presences that have just left the party.
|
UserPresence.Builder |
addLeavesBuilder()
User presences that have just left the party.
|
UserPresence.Builder |
addLeavesBuilder(int index)
User presences that have just left the party.
|
PartyPresenceEvent |
build() |
PartyPresenceEvent |
buildPartial() |
PartyPresenceEvent.Builder |
clear() |
PartyPresenceEvent.Builder |
clearJoins()
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
clearLeaves()
User presences that have just left the party.
|
PartyPresenceEvent.Builder |
clearPartyId()
The party ID.
|
PartyPresenceEvent |
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 party.
|
UserPresence.Builder |
getJoinsBuilder(int index)
User presences that have just joined the party.
|
java.util.List<UserPresence.Builder> |
getJoinsBuilderList()
User presences that have just joined the party.
|
int |
getJoinsCount()
User presences that have just joined the party.
|
java.util.List<UserPresence> |
getJoinsList()
User presences that have just joined the party.
|
UserPresenceOrBuilder |
getJoinsOrBuilder(int index)
User presences that have just joined the party.
|
java.util.List<? extends UserPresenceOrBuilder> |
getJoinsOrBuilderList()
User presences that have just joined the party.
|
UserPresence |
getLeaves(int index)
User presences that have just left the party.
|
UserPresence.Builder |
getLeavesBuilder(int index)
User presences that have just left the party.
|
java.util.List<UserPresence.Builder> |
getLeavesBuilderList()
User presences that have just left the party.
|
int |
getLeavesCount()
User presences that have just left the party.
|
java.util.List<UserPresence> |
getLeavesList()
User presences that have just left the party.
|
UserPresenceOrBuilder |
getLeavesOrBuilder(int index)
User presences that have just left the party.
|
java.util.List<? extends UserPresenceOrBuilder> |
getLeavesOrBuilderList()
User presences that have just left the party.
|
java.lang.String |
getPartyId()
The party ID.
|
com.google.protobuf.ByteString |
getPartyIdBytes()
The party ID.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PartyPresenceEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PartyPresenceEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
PartyPresenceEvent.Builder |
mergeFrom(PartyPresenceEvent other) |
PartyPresenceEvent.Builder |
removeJoins(int index)
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
removeLeaves(int index)
User presences that have just left the party.
|
PartyPresenceEvent.Builder |
setJoins(int index,
UserPresence.Builder builderForValue)
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
setJoins(int index,
UserPresence value)
User presences that have just joined the party.
|
PartyPresenceEvent.Builder |
setLeaves(int index,
UserPresence.Builder builderForValue)
User presences that have just left the party.
|
PartyPresenceEvent.Builder |
setLeaves(int index,
UserPresence value)
User presences that have just left the party.
|
PartyPresenceEvent.Builder |
setPartyId(java.lang.String value)
The party ID.
|
PartyPresenceEvent.Builder |
setPartyIdBytes(com.google.protobuf.ByteString value)
The party 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<PartyPresenceEvent.Builder>public PartyPresenceEvent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<PartyPresenceEvent.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<PartyPresenceEvent.Builder>public PartyPresenceEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PartyPresenceEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PartyPresenceEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PartyPresenceEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PartyPresenceEvent.Builder>public PartyPresenceEvent.Builder mergeFrom(PartyPresenceEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<PartyPresenceEvent.Builder>public PartyPresenceEvent.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<PartyPresenceEvent.Builder>java.io.IOExceptionpublic java.lang.String getPartyId()
The party ID.
string party_id = 1 [json_name = "partyId"];getPartyId in interface PartyPresenceEventOrBuilderpublic com.google.protobuf.ByteString getPartyIdBytes()
The party ID.
string party_id = 1 [json_name = "partyId"];getPartyIdBytes in interface PartyPresenceEventOrBuilderpublic PartyPresenceEvent.Builder setPartyId(java.lang.String value)
The party ID.
string party_id = 1 [json_name = "partyId"];value - The partyId to set.public PartyPresenceEvent.Builder clearPartyId()
The party ID.
string party_id = 1 [json_name = "partyId"];public PartyPresenceEvent.Builder setPartyIdBytes(com.google.protobuf.ByteString value)
The party ID.
string party_id = 1 [json_name = "partyId"];value - The bytes for partyId to set.public java.util.List<UserPresence> getJoinsList()
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsList in interface PartyPresenceEventOrBuilderpublic int getJoinsCount()
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsCount in interface PartyPresenceEventOrBuilderpublic UserPresence getJoins(int index)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoins in interface PartyPresenceEventOrBuilderpublic PartyPresenceEvent.Builder setJoins(int index, UserPresence value)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public PartyPresenceEvent.Builder setJoins(int index, UserPresence.Builder builderForValue)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public PartyPresenceEvent.Builder addJoins(UserPresence value)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public PartyPresenceEvent.Builder addJoins(int index, UserPresence value)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public PartyPresenceEvent.Builder addJoins(UserPresence.Builder builderForValue)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public PartyPresenceEvent.Builder addJoins(int index, UserPresence.Builder builderForValue)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public PartyPresenceEvent.Builder addAllJoins(java.lang.Iterable<? extends UserPresence> values)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public PartyPresenceEvent.Builder clearJoins()
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public PartyPresenceEvent.Builder removeJoins(int index)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresence.Builder getJoinsBuilder(int index)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresenceOrBuilder getJoinsOrBuilder(int index)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsOrBuilder in interface PartyPresenceEventOrBuilderpublic java.util.List<? extends UserPresenceOrBuilder> getJoinsOrBuilderList()
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsOrBuilderList in interface PartyPresenceEventOrBuilderpublic UserPresence.Builder addJoinsBuilder()
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresence.Builder addJoinsBuilder(int index)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public java.util.List<UserPresence.Builder> getJoinsBuilderList()
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public java.util.List<UserPresence> getLeavesList()
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesList in interface PartyPresenceEventOrBuilderpublic int getLeavesCount()
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesCount in interface PartyPresenceEventOrBuilderpublic UserPresence getLeaves(int index)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeaves in interface PartyPresenceEventOrBuilderpublic PartyPresenceEvent.Builder setLeaves(int index, UserPresence value)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public PartyPresenceEvent.Builder setLeaves(int index, UserPresence.Builder builderForValue)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public PartyPresenceEvent.Builder addLeaves(UserPresence value)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public PartyPresenceEvent.Builder addLeaves(int index, UserPresence value)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public PartyPresenceEvent.Builder addLeaves(UserPresence.Builder builderForValue)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public PartyPresenceEvent.Builder addLeaves(int index, UserPresence.Builder builderForValue)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public PartyPresenceEvent.Builder addAllLeaves(java.lang.Iterable<? extends UserPresence> values)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public PartyPresenceEvent.Builder clearLeaves()
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public PartyPresenceEvent.Builder removeLeaves(int index)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresence.Builder getLeavesBuilder(int index)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresenceOrBuilder getLeavesOrBuilder(int index)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesOrBuilder in interface PartyPresenceEventOrBuilderpublic java.util.List<? extends UserPresenceOrBuilder> getLeavesOrBuilderList()
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesOrBuilderList in interface PartyPresenceEventOrBuilderpublic UserPresence.Builder addLeavesBuilder()
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresence.Builder addLeavesBuilder(int index)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public java.util.List<UserPresence.Builder> getLeavesBuilderList()
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];