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, 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<StreamPresenceEvent.Builder>
public StreamPresenceEvent.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<StreamPresenceEvent.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<StreamPresenceEvent.Builder>
public StreamPresenceEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StreamPresenceEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StreamPresenceEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StreamPresenceEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StreamPresenceEvent.Builder>
java.io.IOException
public boolean hasStream()
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];
hasStream
in interface StreamPresenceEventOrBuilder
public Stream getStream()
The stream this event relates to.
.nakama.realtime.Stream stream = 1 [json_name = "stream"];
getStream
in interface StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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 StreamPresenceEventOrBuilder
public 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"];