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, 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<ChannelMessage.Builder>
public ChannelMessage.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<ChannelMessage.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<ChannelMessage.Builder>
public ChannelMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChannelMessage build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChannelMessage buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChannelMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChannelMessage.Builder>
java.io.IOException
public java.lang.String getChannelId()
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];
getChannelId
in interface ChannelMessageOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];
getChannelIdBytes
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public com.google.protobuf.ByteString getMessageIdBytes()
The unique ID of this message.
string message_id = 2 [json_name = "messageId"];
getMessageIdBytes
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public com.google.protobuf.Int32Value getCode()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];
getCode
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public java.lang.String getSenderId()
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];
getSenderId
in interface ChannelMessageOrBuilder
public com.google.protobuf.ByteString getSenderIdBytes()
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];
getSenderIdBytes
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public com.google.protobuf.ByteString getUsernameBytes()
The username of the message sender, if any.
string username = 5 [json_name = "username"];
getUsernameBytes
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public com.google.protobuf.ByteString getContentBytes()
The content payload.
string content = 6 [json_name = "content"];
getContentBytes
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
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 = 10 [json_name = "roomName"];
getRoomName
in interface ChannelMessageOrBuilder
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 = 10 [json_name = "roomName"];
getRoomNameBytes
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
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 = 11 [json_name = "groupId"];
getGroupIdBytes
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
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 = 12 [json_name = "userIdOne"];
getUserIdOneBytes
in interface ChannelMessageOrBuilder
public 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 ChannelMessageOrBuilder
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 = 13 [json_name = "userIdTwo"];
getUserIdTwoBytes
in interface ChannelMessageOrBuilder
public 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.