Package com.heroiclabs.nakama.rtapi
Interface ChannelJoinOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChannelJoin
,ChannelJoin.Builder
public interface ChannelJoinOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionWhether the user should appear in the channel's presence list and events.Whether the user should appear in the channel's presence list and events.Whether messages sent on this channel should be persistent.Whether messages sent on this channel should be persistent.The user ID to DM with, group ID to chat with, or room channel name to join.com.google.protobuf.ByteString
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
Whether the user should appear in the channel's presence list and events.boolean
Whether messages sent on this channel should be persistent.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTarget
String getTarget()The user ID to DM with, group ID to chat with, or room channel name to join.
string target = 1;
- Returns:
- The target.
-
getTargetBytes
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;
- Returns:
- The bytes for target.
-
getType
int getType()The type of the chat channel.
int32 type = 2;
- Returns:
- The type.
-
hasPersistence
boolean hasPersistence()Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3;
- Returns:
- Whether the persistence field is set.
-
getPersistence
BoolValue getPersistence()Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3;
- Returns:
- The persistence.
-
getPersistenceOrBuilder
BoolValueOrBuilder getPersistenceOrBuilder()Whether messages sent on this channel should be persistent.
.google.protobuf.BoolValue persistence = 3;
-
hasHidden
boolean hasHidden()Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4;
- Returns:
- Whether the hidden field is set.
-
getHidden
BoolValue getHidden()Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4;
- Returns:
- The hidden.
-
getHiddenOrBuilder
BoolValueOrBuilder getHiddenOrBuilder()Whether the user should appear in the channel's presence list and events.
.google.protobuf.BoolValue hidden = 4;
-