public static final class ChannelMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<ChannelMessage.Builder> implements ChannelMessageOrBuilder
A message sent on a channel.Protobuf type
nakama.api.ChannelMessage| Modifier and Type | Method and Description |
|---|---|
ChannelMessage |
build() |
ChannelMessage |
buildPartial() |
ChannelMessage.Builder |
clear() |
ChannelMessage.Builder |
clearChannelId()
The channel this message belongs to.
|
ChannelMessage.Builder |
clearCode()
The code representing a message type or category.
|
ChannelMessage.Builder |
clearContent()
The content payload.
|
ChannelMessage.Builder |
clearCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
ChannelMessage.Builder |
clearGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
ChannelMessage.Builder |
clearMessageId()
The unique ID of this message.
|
ChannelMessage.Builder |
clearPersistent()
True if the message was persisted to the channel's history, false otherwise.
|
ChannelMessage.Builder |
clearRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
ChannelMessage.Builder |
clearSenderId()
Message sender, usually a user ID.
|
ChannelMessage.Builder |
clearUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
ChannelMessage.Builder |
clearUserIdOne()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
ChannelMessage.Builder |
clearUserIdTwo()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
ChannelMessage.Builder |
clearUsername()
The username of the message sender, if any.
|
java.lang.String |
getChannelId()
The channel this message belongs to.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
The channel this message belongs to.
|
com.google.protobuf.Int32Value |
getCode()
The code representing a message type or category.
|
com.google.protobuf.Int32Value.Builder |
getCodeBuilder()
The code representing a message type or category.
|
com.google.protobuf.Int32ValueOrBuilder |
getCodeOrBuilder()
The code representing a message type or category.
|
java.lang.String |
getContent()
The content payload.
|
com.google.protobuf.ByteString |
getContentBytes()
The content payload.
|
com.google.protobuf.Timestamp |
getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
ChannelMessage |
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.
|
java.lang.String |
getMessageId()
The unique ID of this message.
|
com.google.protobuf.ByteString |
getMessageIdBytes()
The unique ID of this message.
|
com.google.protobuf.BoolValue |
getPersistent()
True if the message was persisted to the channel's history, false otherwise.
|
com.google.protobuf.BoolValue.Builder |
getPersistentBuilder()
True if the message was persisted to the channel's history, false otherwise.
|
com.google.protobuf.BoolValueOrBuilder |
getPersistentOrBuilder()
True if the message was persisted to the channel's history, false otherwise.
|
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 |
getSenderId()
Message sender, usually a user ID.
|
com.google.protobuf.ByteString |
getSenderIdBytes()
Message sender, usually a user ID.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
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.
|
java.lang.String |
getUsername()
The username of the message sender, if any.
|
com.google.protobuf.ByteString |
getUsernameBytes()
The username of the message sender, if any.
|
boolean |
hasCode()
The code representing a message type or category.
|
boolean |
hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
boolean |
hasPersistent()
True if the message was persisted to the channel's history, false otherwise.
|
boolean |
hasUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChannelMessage.Builder |
mergeCode(com.google.protobuf.Int32Value value)
The code representing a message type or category.
|
ChannelMessage.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
ChannelMessage.Builder |
mergeFrom(ChannelMessage other) |
ChannelMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChannelMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChannelMessage.Builder |
mergePersistent(com.google.protobuf.BoolValue value)
True if the message was persisted to the channel's history, false otherwise.
|
ChannelMessage.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
ChannelMessage.Builder |
setChannelId(java.lang.String value)
The channel this message belongs to.
|
ChannelMessage.Builder |
setChannelIdBytes(com.google.protobuf.ByteString value)
The channel this message belongs to.
|
ChannelMessage.Builder |
setCode(com.google.protobuf.Int32Value.Builder builderForValue)
The code representing a message type or category.
|
ChannelMessage.Builder |
setCode(com.google.protobuf.Int32Value value)
The code representing a message type or category.
|
ChannelMessage.Builder |
setContent(java.lang.String value)
The content payload.
|
ChannelMessage.Builder |
setContentBytes(com.google.protobuf.ByteString value)
The content payload.
|
ChannelMessage.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
ChannelMessage.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
ChannelMessage.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.
|
ChannelMessage.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.
|
ChannelMessage.Builder |
setMessageId(java.lang.String value)
The unique ID of this message.
|
ChannelMessage.Builder |
setMessageIdBytes(com.google.protobuf.ByteString value)
The unique ID of this message.
|
ChannelMessage.Builder |
setPersistent(com.google.protobuf.BoolValue.Builder builderForValue)
True if the message was persisted to the channel's history, false otherwise.
|
ChannelMessage.Builder |
setPersistent(com.google.protobuf.BoolValue value)
True if the message was persisted to the channel's history, false otherwise.
|
ChannelMessage.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.
|
ChannelMessage.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.
|
ChannelMessage.Builder |
setSenderId(java.lang.String value)
Message sender, usually a user ID.
|
ChannelMessage.Builder |
setSenderIdBytes(com.google.protobuf.ByteString value)
Message sender, usually a user ID.
|
ChannelMessage.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
ChannelMessage.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
ChannelMessage.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.
|
ChannelMessage.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.
|
ChannelMessage.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.
|
ChannelMessage.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.
|
ChannelMessage.Builder |
setUsername(java.lang.String value)
The username of the message sender, if any.
|
ChannelMessage.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
The username of the message sender, if any.
|
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<ChannelMessage.Builder>public ChannelMessage.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ChannelMessage.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<ChannelMessage.Builder>public ChannelMessage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ChannelMessage build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ChannelMessage buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ChannelMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChannelMessage.Builder>public ChannelMessage.Builder mergeFrom(ChannelMessage other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ChannelMessage.Builder>public ChannelMessage.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<ChannelMessage.Builder>java.io.IOExceptionpublic java.lang.String getChannelId()
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];getChannelId in interface ChannelMessageOrBuilderpublic com.google.protobuf.ByteString getChannelIdBytes()
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];getChannelIdBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setChannelId(java.lang.String value)
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];value - The channelId to set.public ChannelMessage.Builder clearChannelId()
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];public ChannelMessage.Builder setChannelIdBytes(com.google.protobuf.ByteString value)
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];value - The bytes for channelId to set.public java.lang.String getMessageId()
The unique ID of this message.
string message_id = 2 [json_name = "messageId"];getMessageId in interface ChannelMessageOrBuilderpublic com.google.protobuf.ByteString getMessageIdBytes()
The unique ID of this message.
string message_id = 2 [json_name = "messageId"];getMessageIdBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setMessageId(java.lang.String value)
The unique ID of this message.
string message_id = 2 [json_name = "messageId"];value - The messageId to set.public ChannelMessage.Builder clearMessageId()
The unique ID of this message.
string message_id = 2 [json_name = "messageId"];public ChannelMessage.Builder setMessageIdBytes(com.google.protobuf.ByteString value)
The unique ID of this message.
string message_id = 2 [json_name = "messageId"];value - The bytes for messageId to set.public boolean hasCode()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];hasCode in interface ChannelMessageOrBuilderpublic com.google.protobuf.Int32Value getCode()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];getCode in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setCode(com.google.protobuf.Int32Value value)
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];public ChannelMessage.Builder setCode(com.google.protobuf.Int32Value.Builder builderForValue)
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];public ChannelMessage.Builder mergeCode(com.google.protobuf.Int32Value value)
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];public ChannelMessage.Builder clearCode()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];public com.google.protobuf.Int32Value.Builder getCodeBuilder()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];public com.google.protobuf.Int32ValueOrBuilder getCodeOrBuilder()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];getCodeOrBuilder in interface ChannelMessageOrBuilderpublic java.lang.String getSenderId()
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];getSenderId in interface ChannelMessageOrBuilderpublic com.google.protobuf.ByteString getSenderIdBytes()
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];getSenderIdBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setSenderId(java.lang.String value)
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];value - The senderId to set.public ChannelMessage.Builder clearSenderId()
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];public ChannelMessage.Builder setSenderIdBytes(com.google.protobuf.ByteString value)
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];value - The bytes for senderId to set.public java.lang.String getUsername()
The username of the message sender, if any.
string username = 5 [json_name = "username"];getUsername in interface ChannelMessageOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
The username of the message sender, if any.
string username = 5 [json_name = "username"];getUsernameBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setUsername(java.lang.String value)
The username of the message sender, if any.
string username = 5 [json_name = "username"];value - The username to set.public ChannelMessage.Builder clearUsername()
The username of the message sender, if any.
string username = 5 [json_name = "username"];public ChannelMessage.Builder setUsernameBytes(com.google.protobuf.ByteString value)
The username of the message sender, if any.
string username = 5 [json_name = "username"];value - The bytes for username to set.public java.lang.String getContent()
The content payload.
string content = 6 [json_name = "content"];getContent in interface ChannelMessageOrBuilderpublic com.google.protobuf.ByteString getContentBytes()
The content payload.
string content = 6 [json_name = "content"];getContentBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setContent(java.lang.String value)
The content payload.
string content = 6 [json_name = "content"];value - The content to set.public ChannelMessage.Builder clearContent()
The content payload.
string content = 6 [json_name = "content"];public ChannelMessage.Builder setContentBytes(com.google.protobuf.ByteString value)
The content payload.
string content = 6 [json_name = "content"];value - The bytes for content to set.public boolean hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];hasCreateTime in interface ChannelMessageOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];getCreateTime in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];public ChannelMessage.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];public ChannelMessage.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];public ChannelMessage.Builder clearCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];getCreateTimeOrBuilder in interface ChannelMessageOrBuilderpublic boolean hasUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "updateTime"];hasUpdateTime in interface ChannelMessageOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "updateTime"];getUpdateTime in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "updateTime"];public ChannelMessage.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "updateTime"];public ChannelMessage.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "updateTime"];public ChannelMessage.Builder clearUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "updateTime"];public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "updateTime"];public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "updateTime"];getUpdateTimeOrBuilder in interface ChannelMessageOrBuilderpublic boolean hasPersistent()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];hasPersistent in interface ChannelMessageOrBuilderpublic com.google.protobuf.BoolValue getPersistent()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];getPersistent in interface ChannelMessageOrBuilderpublic ChannelMessage.Builder setPersistent(com.google.protobuf.BoolValue value)
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];public ChannelMessage.Builder setPersistent(com.google.protobuf.BoolValue.Builder builderForValue)
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];public ChannelMessage.Builder mergePersistent(com.google.protobuf.BoolValue value)
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];public ChannelMessage.Builder clearPersistent()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];public com.google.protobuf.BoolValue.Builder getPersistentBuilder()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];public com.google.protobuf.BoolValueOrBuilder getPersistentOrBuilder()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];getPersistentOrBuilder in interface ChannelMessageOrBuilderpublic 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 = 10 [json_name = "roomName"];getRoomName in interface ChannelMessageOrBuilderpublic 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 = 10 [json_name = "roomName"];getRoomNameBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.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 = 10 [json_name = "roomName"];value - The roomName to set.public ChannelMessage.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 = 10 [json_name = "roomName"];public ChannelMessage.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 = 10 [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 = 11 [json_name = "groupId"];getGroupId in interface ChannelMessageOrBuilderpublic 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 = 11 [json_name = "groupId"];getGroupIdBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.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 = 11 [json_name = "groupId"];value - The groupId to set.public ChannelMessage.Builder clearGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
string group_id = 11 [json_name = "groupId"];public ChannelMessage.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 = 11 [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 = 12 [json_name = "userIdOne"];getUserIdOne in interface ChannelMessageOrBuilderpublic 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 = 12 [json_name = "userIdOne"];getUserIdOneBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.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 = 12 [json_name = "userIdOne"];value - The userIdOne to set.public ChannelMessage.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 = 12 [json_name = "userIdOne"];public ChannelMessage.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 = 12 [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 = 13 [json_name = "userIdTwo"];getUserIdTwo in interface ChannelMessageOrBuilderpublic 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 = 13 [json_name = "userIdTwo"];getUserIdTwoBytes in interface ChannelMessageOrBuilderpublic ChannelMessage.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 = 13 [json_name = "userIdTwo"];value - The userIdTwo to set.public ChannelMessage.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 = 13 [json_name = "userIdTwo"];public ChannelMessage.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 = 13 [json_name = "userIdTwo"];value - The bytes for userIdTwo to set.