public static final class ChannelPresenceEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<ChannelPresenceEvent.Builder> implements ChannelPresenceEventOrBuilder
A set of joins and leaves on a particular channel.Protobuf type
nakama.realtime.ChannelPresenceEvent
Modifier and Type | Method and Description |
---|---|
ChannelPresenceEvent.Builder |
addAllJoins(java.lang.Iterable<? extends UserPresence> values)
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addAllLeaves(java.lang.Iterable<? extends UserPresence> values)
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addJoins(int index,
UserPresence.Builder builderForValue)
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addJoins(int index,
UserPresence value)
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addJoins(UserPresence.Builder builderForValue)
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addJoins(UserPresence value)
Presences joining the channel as part of this event, if any.
|
UserPresence.Builder |
addJoinsBuilder()
Presences joining the channel as part of this event, if any.
|
UserPresence.Builder |
addJoinsBuilder(int index)
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addLeaves(int index,
UserPresence.Builder builderForValue)
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addLeaves(int index,
UserPresence value)
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addLeaves(UserPresence.Builder builderForValue)
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
addLeaves(UserPresence value)
Presences leaving the channel as part of this event, if any.
|
UserPresence.Builder |
addLeavesBuilder()
Presences leaving the channel as part of this event, if any.
|
UserPresence.Builder |
addLeavesBuilder(int index)
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent |
build() |
ChannelPresenceEvent |
buildPartial() |
ChannelPresenceEvent.Builder |
clear() |
ChannelPresenceEvent.Builder |
clearChannelId()
The channel identifier this event is for.
|
ChannelPresenceEvent.Builder |
clearGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
ChannelPresenceEvent.Builder |
clearJoins()
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
clearLeaves()
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
clearRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
ChannelPresenceEvent.Builder |
clearUserIdOne()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
ChannelPresenceEvent.Builder |
clearUserIdTwo()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
java.lang.String |
getChannelId()
The channel identifier this event is for.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
The channel identifier this event is for.
|
ChannelPresenceEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
com.google.protobuf.ByteString |
getGroupIdBytes()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
UserPresence |
getJoins(int index)
Presences joining the channel as part of this event, if any.
|
UserPresence.Builder |
getJoinsBuilder(int index)
Presences joining the channel as part of this event, if any.
|
java.util.List<UserPresence.Builder> |
getJoinsBuilderList()
Presences joining the channel as part of this event, if any.
|
int |
getJoinsCount()
Presences joining the channel as part of this event, if any.
|
java.util.List<UserPresence> |
getJoinsList()
Presences joining the channel as part of this event, if any.
|
UserPresenceOrBuilder |
getJoinsOrBuilder(int index)
Presences joining the channel as part of this event, if any.
|
java.util.List<? extends UserPresenceOrBuilder> |
getJoinsOrBuilderList()
Presences joining the channel as part of this event, if any.
|
UserPresence |
getLeaves(int index)
Presences leaving the channel as part of this event, if any.
|
UserPresence.Builder |
getLeavesBuilder(int index)
Presences leaving the channel as part of this event, if any.
|
java.util.List<UserPresence.Builder> |
getLeavesBuilderList()
Presences leaving the channel as part of this event, if any.
|
int |
getLeavesCount()
Presences leaving the channel as part of this event, if any.
|
java.util.List<UserPresence> |
getLeavesList()
Presences leaving the channel as part of this event, if any.
|
UserPresenceOrBuilder |
getLeavesOrBuilder(int index)
Presences leaving the channel as part of this event, if any.
|
java.util.List<? extends UserPresenceOrBuilder> |
getLeavesOrBuilderList()
Presences leaving the channel as part of this event, if any.
|
java.lang.String |
getRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
com.google.protobuf.ByteString |
getRoomNameBytes()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
java.lang.String |
getUserIdOne()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
com.google.protobuf.ByteString |
getUserIdOneBytes()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
java.lang.String |
getUserIdTwo()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
com.google.protobuf.ByteString |
getUserIdTwoBytes()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChannelPresenceEvent.Builder |
mergeFrom(ChannelPresenceEvent other) |
ChannelPresenceEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChannelPresenceEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChannelPresenceEvent.Builder |
removeJoins(int index)
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
removeLeaves(int index)
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
setChannelId(java.lang.String value)
The channel identifier this event is for.
|
ChannelPresenceEvent.Builder |
setChannelIdBytes(com.google.protobuf.ByteString value)
The channel identifier this event is for.
|
ChannelPresenceEvent.Builder |
setGroupId(java.lang.String value)
The ID of the group, or an empty string if this message was not sent through a group channel.
|
ChannelPresenceEvent.Builder |
setGroupIdBytes(com.google.protobuf.ByteString value)
The ID of the group, or an empty string if this message was not sent through a group channel.
|
ChannelPresenceEvent.Builder |
setJoins(int index,
UserPresence.Builder builderForValue)
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
setJoins(int index,
UserPresence value)
Presences joining the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
setLeaves(int index,
UserPresence.Builder builderForValue)
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
setLeaves(int index,
UserPresence value)
Presences leaving the channel as part of this event, if any.
|
ChannelPresenceEvent.Builder |
setRoomName(java.lang.String value)
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
ChannelPresenceEvent.Builder |
setRoomNameBytes(com.google.protobuf.ByteString value)
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
ChannelPresenceEvent.Builder |
setUserIdOne(java.lang.String value)
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
ChannelPresenceEvent.Builder |
setUserIdOneBytes(com.google.protobuf.ByteString value)
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
ChannelPresenceEvent.Builder |
setUserIdTwo(java.lang.String value)
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
ChannelPresenceEvent.Builder |
setUserIdTwoBytes(com.google.protobuf.ByteString value)
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
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<ChannelPresenceEvent.Builder>
public ChannelPresenceEvent.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<ChannelPresenceEvent.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<ChannelPresenceEvent.Builder>
public ChannelPresenceEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChannelPresenceEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChannelPresenceEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChannelPresenceEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChannelPresenceEvent.Builder>
public ChannelPresenceEvent.Builder mergeFrom(ChannelPresenceEvent other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ChannelPresenceEvent.Builder>
public ChannelPresenceEvent.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<ChannelPresenceEvent.Builder>
java.io.IOException
public java.lang.String getChannelId()
The channel identifier this event is for.
string channel_id = 1 [json_name = "channelId"];
getChannelId
in interface ChannelPresenceEventOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
The channel identifier this event is for.
string channel_id = 1 [json_name = "channelId"];
getChannelIdBytes
in interface ChannelPresenceEventOrBuilder
public ChannelPresenceEvent.Builder setChannelId(java.lang.String value)
The channel identifier this event is for.
string channel_id = 1 [json_name = "channelId"];
value
- The channelId to set.public ChannelPresenceEvent.Builder clearChannelId()
The channel identifier this event is for.
string channel_id = 1 [json_name = "channelId"];
public ChannelPresenceEvent.Builder setChannelIdBytes(com.google.protobuf.ByteString value)
The channel identifier this event is for.
string channel_id = 1 [json_name = "channelId"];
value
- The bytes for channelId to set.public java.util.List<UserPresence> getJoinsList()
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoinsList
in interface ChannelPresenceEventOrBuilder
public int getJoinsCount()
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoinsCount
in interface ChannelPresenceEventOrBuilder
public UserPresence getJoins(int index)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoins
in interface ChannelPresenceEventOrBuilder
public ChannelPresenceEvent.Builder setJoins(int index, UserPresence value)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public ChannelPresenceEvent.Builder setJoins(int index, UserPresence.Builder builderForValue)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public ChannelPresenceEvent.Builder addJoins(UserPresence value)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public ChannelPresenceEvent.Builder addJoins(int index, UserPresence value)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public ChannelPresenceEvent.Builder addJoins(UserPresence.Builder builderForValue)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public ChannelPresenceEvent.Builder addJoins(int index, UserPresence.Builder builderForValue)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public ChannelPresenceEvent.Builder addAllJoins(java.lang.Iterable<? extends UserPresence> values)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public ChannelPresenceEvent.Builder clearJoins()
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public ChannelPresenceEvent.Builder removeJoins(int index)
Presences joining the channel 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 channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
public UserPresenceOrBuilder getJoinsOrBuilder(int index)
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoinsOrBuilder
in interface ChannelPresenceEventOrBuilder
public java.util.List<? extends UserPresenceOrBuilder> getJoinsOrBuilderList()
Presences joining the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2 [json_name = "joins"];
getJoinsOrBuilderList
in interface ChannelPresenceEventOrBuilder
public UserPresence.Builder addJoinsBuilder()
Presences joining the channel 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 channel 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 channel 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 channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeavesList
in interface ChannelPresenceEventOrBuilder
public int getLeavesCount()
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeavesCount
in interface ChannelPresenceEventOrBuilder
public UserPresence getLeaves(int index)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeaves
in interface ChannelPresenceEventOrBuilder
public ChannelPresenceEvent.Builder setLeaves(int index, UserPresence value)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public ChannelPresenceEvent.Builder setLeaves(int index, UserPresence.Builder builderForValue)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public ChannelPresenceEvent.Builder addLeaves(UserPresence value)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public ChannelPresenceEvent.Builder addLeaves(int index, UserPresence value)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public ChannelPresenceEvent.Builder addLeaves(UserPresence.Builder builderForValue)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public ChannelPresenceEvent.Builder addLeaves(int index, UserPresence.Builder builderForValue)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public ChannelPresenceEvent.Builder addAllLeaves(java.lang.Iterable<? extends UserPresence> values)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public ChannelPresenceEvent.Builder clearLeaves()
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public ChannelPresenceEvent.Builder removeLeaves(int index)
Presences leaving the channel 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 channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public UserPresenceOrBuilder getLeavesOrBuilder(int index)
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeavesOrBuilder
in interface ChannelPresenceEventOrBuilder
public java.util.List<? extends UserPresenceOrBuilder> getLeavesOrBuilderList()
Presences leaving the channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
getLeavesOrBuilderList
in interface ChannelPresenceEventOrBuilder
public UserPresence.Builder addLeavesBuilder()
Presences leaving the channel 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 channel 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 channel as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3 [json_name = "leaves"];
public java.lang.String getRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
string room_name = 4 [json_name = "roomName"];
getRoomName
in interface ChannelPresenceEventOrBuilder
public com.google.protobuf.ByteString getRoomNameBytes()
The name of the chat room, or an empty string if this message was not sent through a chat room.
string room_name = 4 [json_name = "roomName"];
getRoomNameBytes
in interface ChannelPresenceEventOrBuilder
public ChannelPresenceEvent.Builder setRoomName(java.lang.String value)
The name of the chat room, or an empty string if this message was not sent through a chat room.
string room_name = 4 [json_name = "roomName"];
value
- The roomName to set.public ChannelPresenceEvent.Builder clearRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
string room_name = 4 [json_name = "roomName"];
public ChannelPresenceEvent.Builder setRoomNameBytes(com.google.protobuf.ByteString value)
The name of the chat room, or an empty string if this message was not sent through a chat room.
string room_name = 4 [json_name = "roomName"];
value
- The bytes for roomName to set.public java.lang.String getGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
string group_id = 5 [json_name = "groupId"];
getGroupId
in interface ChannelPresenceEventOrBuilder
public com.google.protobuf.ByteString getGroupIdBytes()
The ID of the group, or an empty string if this message was not sent through a group channel.
string group_id = 5 [json_name = "groupId"];
getGroupIdBytes
in interface ChannelPresenceEventOrBuilder
public ChannelPresenceEvent.Builder setGroupId(java.lang.String value)
The ID of the group, or an empty string if this message was not sent through a group channel.
string group_id = 5 [json_name = "groupId"];
value
- The groupId to set.public ChannelPresenceEvent.Builder clearGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
string group_id = 5 [json_name = "groupId"];
public ChannelPresenceEvent.Builder setGroupIdBytes(com.google.protobuf.ByteString value)
The ID of the group, or an empty string if this message was not sent through a group channel.
string group_id = 5 [json_name = "groupId"];
value
- The bytes for groupId to set.public java.lang.String getUserIdOne()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
string user_id_one = 6 [json_name = "userIdOne"];
getUserIdOne
in interface ChannelPresenceEventOrBuilder
public com.google.protobuf.ByteString getUserIdOneBytes()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
string user_id_one = 6 [json_name = "userIdOne"];
getUserIdOneBytes
in interface ChannelPresenceEventOrBuilder
public ChannelPresenceEvent.Builder setUserIdOne(java.lang.String value)
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
string user_id_one = 6 [json_name = "userIdOne"];
value
- The userIdOne to set.public ChannelPresenceEvent.Builder clearUserIdOne()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
string user_id_one = 6 [json_name = "userIdOne"];
public ChannelPresenceEvent.Builder setUserIdOneBytes(com.google.protobuf.ByteString value)
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
string user_id_one = 6 [json_name = "userIdOne"];
value
- The bytes for userIdOne to set.public java.lang.String getUserIdTwo()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
string user_id_two = 7 [json_name = "userIdTwo"];
getUserIdTwo
in interface ChannelPresenceEventOrBuilder
public com.google.protobuf.ByteString getUserIdTwoBytes()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
string user_id_two = 7 [json_name = "userIdTwo"];
getUserIdTwoBytes
in interface ChannelPresenceEventOrBuilder
public ChannelPresenceEvent.Builder setUserIdTwo(java.lang.String value)
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
string user_id_two = 7 [json_name = "userIdTwo"];
value
- The userIdTwo to set.public ChannelPresenceEvent.Builder clearUserIdTwo()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
string user_id_two = 7 [json_name = "userIdTwo"];
public ChannelPresenceEvent.Builder setUserIdTwoBytes(com.google.protobuf.ByteString value)
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
string user_id_two = 7 [json_name = "userIdTwo"];
value
- The bytes for userIdTwo to set.