public interface ChannelMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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.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.TimestampOrBuilder |
getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
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.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.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getChannelId()
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];
com.google.protobuf.ByteString getChannelIdBytes()
The channel this message belongs to.
string channel_id = 1 [json_name = "channelId"];
java.lang.String getMessageId()
The unique ID of this message.
string message_id = 2 [json_name = "messageId"];
com.google.protobuf.ByteString getMessageIdBytes()
The unique ID of this message.
string message_id = 2 [json_name = "messageId"];
boolean hasCode()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];
com.google.protobuf.Int32Value getCode()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];
com.google.protobuf.Int32ValueOrBuilder getCodeOrBuilder()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];
java.lang.String getSenderId()
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];
com.google.protobuf.ByteString getSenderIdBytes()
Message sender, usually a user ID.
string sender_id = 4 [json_name = "senderId"];
java.lang.String getUsername()
The username of the message sender, if any.
string username = 5 [json_name = "username"];
com.google.protobuf.ByteString getUsernameBytes()
The username of the message sender, if any.
string username = 5 [json_name = "username"];
java.lang.String getContent()
The content payload.
string content = 6 [json_name = "content"];
com.google.protobuf.ByteString getContentBytes()
The content payload.
string content = 6 [json_name = "content"];
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"];
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"];
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"];
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"];
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"];
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"];
boolean hasPersistent()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 9 [json_name = "persistent"];
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"];
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"];
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"];
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"];
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"];
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"];
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"];
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"];
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"];
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"];