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, 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<PartyPresenceEvent.Builder>
public PartyPresenceEvent.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<PartyPresenceEvent.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<PartyPresenceEvent.Builder>
public PartyPresenceEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PartyPresenceEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PartyPresenceEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PartyPresenceEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PartyPresenceEvent.Builder>
java.io.IOException
public java.lang.String getPartyId()
The party ID.
string party_id = 1 [json_name = "partyId"];
getPartyId
in interface PartyPresenceEventOrBuilder
public com.google.protobuf.ByteString getPartyIdBytes()
The party ID.
string party_id = 1 [json_name = "partyId"];
getPartyIdBytes
in interface PartyPresenceEventOrBuilder
public 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 PartyPresenceEventOrBuilder
public int getJoinsCount()
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoinsCount
in interface PartyPresenceEventOrBuilder
public UserPresence getJoins(int index)
User presences that have just joined the party.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoins
in interface PartyPresenceEventOrBuilder
public 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 PartyPresenceEventOrBuilder
public 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 PartyPresenceEventOrBuilder
public 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 PartyPresenceEventOrBuilder
public int getLeavesCount()
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeavesCount
in interface PartyPresenceEventOrBuilder
public UserPresence getLeaves(int index)
User presences that have just left the party.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeaves
in interface PartyPresenceEventOrBuilder
public 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 PartyPresenceEventOrBuilder
public 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 PartyPresenceEventOrBuilder
public 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"];