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, 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<ChannelJoin.Builder>
public ChannelJoin.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<ChannelJoin.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<ChannelJoin.Builder>
public ChannelJoin getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChannelJoin build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChannelJoin buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChannelJoin.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChannelJoin.Builder>
java.io.IOException
public 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 ChannelJoinOrBuilder
public 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 ChannelJoinOrBuilder
public 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 ChannelJoinOrBuilder
public 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 ChannelJoinOrBuilder
public 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 ChannelJoinOrBuilder
public 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 ChannelJoinOrBuilder
public 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 ChannelJoinOrBuilder
public 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 ChannelJoinOrBuilder
public 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