public static final class StreamPresenceEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamPresenceEvent.Builder> implements StreamPresenceEventOrBuilder
A set of joins and leaves on a particular stream.Protobuf type
nakama.realtime.StreamPresenceEvent| Modifier and Type | Method and Description |
|---|---|
StreamPresenceEvent.Builder |
addAllJoins(java.lang.Iterable<? extends UserPresence> values)
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addAllLeaves(java.lang.Iterable<? extends UserPresence> values)
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addJoins(int index,
UserPresence.Builder builderForValue)
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addJoins(int index,
UserPresence value)
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addJoins(UserPresence.Builder builderForValue)
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addJoins(UserPresence value)
Presences joining the stream as part of this event, if any.
|
UserPresence.Builder |
addJoinsBuilder()
Presences joining the stream as part of this event, if any.
|
UserPresence.Builder |
addJoinsBuilder(int index)
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addLeaves(int index,
UserPresence.Builder builderForValue)
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addLeaves(int index,
UserPresence value)
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addLeaves(UserPresence.Builder builderForValue)
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
addLeaves(UserPresence value)
Presences leaving the stream as part of this event, if any.
|
UserPresence.Builder |
addLeavesBuilder()
Presences leaving the stream as part of this event, if any.
|
UserPresence.Builder |
addLeavesBuilder(int index)
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent |
build() |
StreamPresenceEvent |
buildPartial() |
StreamPresenceEvent.Builder |
clear() |
StreamPresenceEvent.Builder |
clearJoins()
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
clearLeaves()
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
clearStream()
The stream this event relates to.
|
StreamPresenceEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
UserPresence |
getJoins(int index)
Presences joining the stream as part of this event, if any.
|
UserPresence.Builder |
getJoinsBuilder(int index)
Presences joining the stream as part of this event, if any.
|
java.util.List<UserPresence.Builder> |
getJoinsBuilderList()
Presences joining the stream as part of this event, if any.
|
int |
getJoinsCount()
Presences joining the stream as part of this event, if any.
|
java.util.List<UserPresence> |
getJoinsList()
Presences joining the stream as part of this event, if any.
|
UserPresenceOrBuilder |
getJoinsOrBuilder(int index)
Presences joining the stream as part of this event, if any.
|
java.util.List<? extends UserPresenceOrBuilder> |
getJoinsOrBuilderList()
Presences joining the stream as part of this event, if any.
|
UserPresence |
getLeaves(int index)
Presences leaving the stream as part of this event, if any.
|
UserPresence.Builder |
getLeavesBuilder(int index)
Presences leaving the stream as part of this event, if any.
|
java.util.List<UserPresence.Builder> |
getLeavesBuilderList()
Presences leaving the stream as part of this event, if any.
|
int |
getLeavesCount()
Presences leaving the stream as part of this event, if any.
|
java.util.List<UserPresence> |
getLeavesList()
Presences leaving the stream as part of this event, if any.
|
UserPresenceOrBuilder |
getLeavesOrBuilder(int index)
Presences leaving the stream as part of this event, if any.
|
java.util.List<? extends UserPresenceOrBuilder> |
getLeavesOrBuilderList()
Presences leaving the stream as part of this event, if any.
|
Stream |
getStream()
The stream this event relates to.
|
Stream.Builder |
getStreamBuilder()
The stream this event relates to.
|
StreamOrBuilder |
getStreamOrBuilder()
The stream this event relates to.
|
boolean |
hasStream()
The stream this event relates to.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StreamPresenceEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamPresenceEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamPresenceEvent.Builder |
mergeFrom(StreamPresenceEvent other) |
StreamPresenceEvent.Builder |
mergeStream(Stream value)
The stream this event relates to.
|
StreamPresenceEvent.Builder |
removeJoins(int index)
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
removeLeaves(int index)
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
setJoins(int index,
UserPresence.Builder builderForValue)
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
setJoins(int index,
UserPresence value)
Presences joining the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
setLeaves(int index,
UserPresence.Builder builderForValue)
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
setLeaves(int index,
UserPresence value)
Presences leaving the stream as part of this event, if any.
|
StreamPresenceEvent.Builder |
setStream(Stream.Builder builderForValue)
The stream this event relates to.
|
StreamPresenceEvent.Builder |
setStream(Stream value)
The stream this event relates to.
|
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<StreamPresenceEvent.Builder>public StreamPresenceEvent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<StreamPresenceEvent.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<StreamPresenceEvent.Builder>public StreamPresenceEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamPresenceEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamPresenceEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamPresenceEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamPresenceEvent.Builder>public StreamPresenceEvent.Builder mergeFrom(StreamPresenceEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<StreamPresenceEvent.Builder>public StreamPresenceEvent.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<StreamPresenceEvent.Builder>java.io.IOExceptionpublic boolean hasStream()
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];hasStream in interface StreamPresenceEventOrBuilderpublic Stream getStream()
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];getStream in interface StreamPresenceEventOrBuilderpublic StreamPresenceEvent.Builder setStream(Stream value)
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];public StreamPresenceEvent.Builder setStream(Stream.Builder builderForValue)
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];public StreamPresenceEvent.Builder mergeStream(Stream value)
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];public StreamPresenceEvent.Builder clearStream()
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];public Stream.Builder getStreamBuilder()
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];public StreamOrBuilder getStreamOrBuilder()
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];getStreamOrBuilder in interface StreamPresenceEventOrBuilderpublic java.util.List<UserPresence> getJoinsList()
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsList in interface StreamPresenceEventOrBuilderpublic int getJoinsCount()
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsCount in interface StreamPresenceEventOrBuilderpublic UserPresence getJoins(int index)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoins in interface StreamPresenceEventOrBuilderpublic StreamPresenceEvent.Builder setJoins(int index, UserPresence value)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public StreamPresenceEvent.Builder setJoins(int index, UserPresence.Builder builderForValue)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public StreamPresenceEvent.Builder addJoins(UserPresence value)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public StreamPresenceEvent.Builder addJoins(int index, UserPresence value)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public StreamPresenceEvent.Builder addJoins(UserPresence.Builder builderForValue)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public StreamPresenceEvent.Builder addJoins(int index, UserPresence.Builder builderForValue)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public StreamPresenceEvent.Builder addAllJoins(java.lang.Iterable<? extends UserPresence> values)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public StreamPresenceEvent.Builder clearJoins()
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public StreamPresenceEvent.Builder removeJoins(int index)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresence.Builder getJoinsBuilder(int index)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresenceOrBuilder getJoinsOrBuilder(int index)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsOrBuilder in interface StreamPresenceEventOrBuilderpublic java.util.List<? extends UserPresenceOrBuilder> getJoinsOrBuilderList()
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];getJoinsOrBuilderList in interface StreamPresenceEventOrBuilderpublic UserPresence.Builder addJoinsBuilder()
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public UserPresence.Builder addJoinsBuilder(int index)
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public java.util.List<UserPresence.Builder> getJoinsBuilderList()
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];public java.util.List<UserPresence> getLeavesList()
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesList in interface StreamPresenceEventOrBuilderpublic int getLeavesCount()
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesCount in interface StreamPresenceEventOrBuilderpublic UserPresence getLeaves(int index)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeaves in interface StreamPresenceEventOrBuilderpublic StreamPresenceEvent.Builder setLeaves(int index, UserPresence value)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public StreamPresenceEvent.Builder setLeaves(int index, UserPresence.Builder builderForValue)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public StreamPresenceEvent.Builder addLeaves(UserPresence value)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public StreamPresenceEvent.Builder addLeaves(int index, UserPresence value)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public StreamPresenceEvent.Builder addLeaves(UserPresence.Builder builderForValue)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public StreamPresenceEvent.Builder addLeaves(int index, UserPresence.Builder builderForValue)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public StreamPresenceEvent.Builder addAllLeaves(java.lang.Iterable<? extends UserPresence> values)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public StreamPresenceEvent.Builder clearLeaves()
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public StreamPresenceEvent.Builder removeLeaves(int index)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresence.Builder getLeavesBuilder(int index)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresenceOrBuilder getLeavesOrBuilder(int index)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesOrBuilder in interface StreamPresenceEventOrBuilderpublic java.util.List<? extends UserPresenceOrBuilder> getLeavesOrBuilderList()
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];getLeavesOrBuilderList in interface StreamPresenceEventOrBuilderpublic UserPresence.Builder addLeavesBuilder()
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public UserPresence.Builder addLeavesBuilder(int index)
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];public java.util.List<UserPresence.Builder> getLeavesBuilderList()
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];