public static final class ChannelJoin.Builder extends com.google.protobuf.GeneratedMessage.Builder<ChannelJoin.Builder> implements ChannelJoinOrBuilder
Join operation for a realtime chat channel.Protobuf type
nakama.realtime.ChannelJoin| Modifier and Type | Method and Description |
|---|---|
ChannelJoin |
build() |
ChannelJoin |
buildPartial() |
ChannelJoin.Builder |
clear() |
ChannelJoin.Builder |
clearHidden()
Whether the user should appear in the channel's presence list and events.
|
ChannelJoin.Builder |
clearPersistence()
Whether messages sent on this channel should be persistent.
|
ChannelJoin.Builder |
clearTarget()
The user ID to DM with, group ID to chat with, or room channel name to join.
|
ChannelJoin.Builder |
clearType()
The type of the chat channel.
|
ChannelJoin |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.BoolValue |
getHidden()
Whether the user should appear in the channel's presence list and events.
|
com.google.protobuf.BoolValue.Builder |
getHiddenBuilder()
Whether the user should appear in the channel's presence list and events.
|
com.google.protobuf.BoolValueOrBuilder |
getHiddenOrBuilder()
Whether the user should appear in the channel's presence list and events.
|
com.google.protobuf.BoolValue |
getPersistence()
Whether messages sent on this channel should be persistent.
|
com.google.protobuf.BoolValue.Builder |
getPersistenceBuilder()
Whether messages sent on this channel should be persistent.
|
com.google.protobuf.BoolValueOrBuilder |
getPersistenceOrBuilder()
Whether messages sent on this channel should be persistent.
|
java.lang.String |
getTarget()
The user ID to DM with, group ID to chat with, or room channel name to join.
|
com.google.protobuf.ByteString |
getTargetBytes()
The user ID to DM with, group ID to chat with, or room channel name to join.
|
int |
getType()
The type of the chat channel.
|
boolean |
hasHidden()
Whether the user should appear in the channel's presence list and events.
|
boolean |
hasPersistence()
Whether messages sent on this channel should be persistent.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChannelJoin.Builder |
mergeFrom(ChannelJoin other) |
ChannelJoin.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChannelJoin.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChannelJoin.Builder |
mergeHidden(com.google.protobuf.BoolValue value)
Whether the user should appear in the channel's presence list and events.
|
ChannelJoin.Builder |
mergePersistence(com.google.protobuf.BoolValue value)
Whether messages sent on this channel should be persistent.
|
ChannelJoin.Builder |
setHidden(com.google.protobuf.BoolValue.Builder builderForValue)
Whether the user should appear in the channel's presence list and events.
|
ChannelJoin.Builder |
setHidden(com.google.protobuf.BoolValue value)
Whether the user should appear in the channel's presence list and events.
|
ChannelJoin.Builder |
setPersistence(com.google.protobuf.BoolValue.Builder builderForValue)
Whether messages sent on this channel should be persistent.
|
ChannelJoin.Builder |
setPersistence(com.google.protobuf.BoolValue value)
Whether messages sent on this channel should be persistent.
|
ChannelJoin.Builder |
setTarget(java.lang.String value)
The user ID to DM with, group ID to chat with, or room channel name to join.
|
ChannelJoin.Builder |
setTargetBytes(com.google.protobuf.ByteString value)
The user ID to DM with, group ID to chat with, or room channel name to join.
|
ChannelJoin.Builder |
setType(int value)
The type of the chat channel.
|
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<ChannelJoin.Builder>public ChannelJoin.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ChannelJoin.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<ChannelJoin.Builder>public ChannelJoin getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ChannelJoin build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ChannelJoin buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ChannelJoin.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChannelJoin.Builder>public ChannelJoin.Builder mergeFrom(ChannelJoin other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ChannelJoin.Builder>public ChannelJoin.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<ChannelJoin.Builder>java.io.IOExceptionpublic java.lang.String getTarget()
The user ID to DM with, group ID to chat with, or room channel name to join.
string target = 1 [json_name = "target"];getTarget in interface ChannelJoinOrBuilderpublic com.google.protobuf.ByteString getTargetBytes()
The user ID to DM with, group ID to chat with, or room channel name to join.
string target = 1 [json_name = "target"];getTargetBytes in interface ChannelJoinOrBuilderpublic ChannelJoin.Builder setTarget(java.lang.String value)
The user ID to DM with, group ID to chat with, or room channel name to join.
string target = 1 [json_name = "target"];value - The target to set.public ChannelJoin.Builder clearTarget()
The user ID to DM with, group ID to chat with, or room channel name to join.
string target = 1 [json_name = "target"];public ChannelJoin.Builder setTargetBytes(com.google.protobuf.ByteString value)
The user ID to DM with, group ID to chat with, or room channel name to join.
string target = 1 [json_name = "target"];value - The bytes for target to set.public int getType()
The type of the chat channel.
int32 type = 2 [json_name = "type"];getType in interface ChannelJoinOrBuilderpublic ChannelJoin.Builder setType(int value)
The type of the chat channel.
int32 type = 2 [json_name = "type"];value - The type to set.public ChannelJoin.Builder clearType()
The type of the chat channel.
int32 type = 2 [json_name = "type"];public boolean hasPersistence()
Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3 [json_name = "persistence"];hasPersistence in interface ChannelJoinOrBuilderpublic com.google.protobuf.BoolValue getPersistence()
Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3 [json_name = "persistence"];getPersistence in interface ChannelJoinOrBuilderpublic ChannelJoin.Builder setPersistence(com.google.protobuf.BoolValue value)
Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3 [json_name = "persistence"];public ChannelJoin.Builder setPersistence(com.google.protobuf.BoolValue.Builder builderForValue)
Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3 [json_name = "persistence"];public ChannelJoin.Builder mergePersistence(com.google.protobuf.BoolValue value)
Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3 [json_name = "persistence"];public ChannelJoin.Builder clearPersistence()
Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3 [json_name = "persistence"];public com.google.protobuf.BoolValue.Builder getPersistenceBuilder()
Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3 [json_name = "persistence"];public com.google.protobuf.BoolValueOrBuilder getPersistenceOrBuilder()
Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3 [json_name = "persistence"];getPersistenceOrBuilder in interface ChannelJoinOrBuilderpublic boolean hasHidden()
Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4 [json_name = "hidden"];hasHidden in interface ChannelJoinOrBuilderpublic com.google.protobuf.BoolValue getHidden()
Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4 [json_name = "hidden"];getHidden in interface ChannelJoinOrBuilderpublic ChannelJoin.Builder setHidden(com.google.protobuf.BoolValue value)
Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4 [json_name = "hidden"];public ChannelJoin.Builder setHidden(com.google.protobuf.BoolValue.Builder builderForValue)
Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4 [json_name = "hidden"];public ChannelJoin.Builder mergeHidden(com.google.protobuf.BoolValue value)
Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4 [json_name = "hidden"];public ChannelJoin.Builder clearHidden()
Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4 [json_name = "hidden"];public com.google.protobuf.BoolValue.Builder getHiddenBuilder()
Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4 [json_name = "hidden"];public com.google.protobuf.BoolValueOrBuilder getHiddenOrBuilder()
Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4 [json_name = "hidden"];getHiddenOrBuilder in interface ChannelJoinOrBuilder