Interface MessageProto.MessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MessageProto.Message,MessageProto.Message.Builder
- Enclosing class:
- MessageProto
public static interface MessageProto.MessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription消息来源客户端com.google.protobuf.ByteString消息来源客户端消息内容,可能是文本,图片,语音,视频,文件等,jsoncom.google.protobuf.ByteString消息内容,可能是文本,图片,语音,视频,文件等,json时间戳com.google.protobuf.ByteString时间戳getExtra()自定义扩展/附加信息com.google.protobuf.ByteString自定义扩展/附加信息消息发送状态com.google.protobuf.ByteString消息发送状态会话会话getType()消息类型com.google.protobuf.ByteString消息类型getUid()唯一midcom.google.protobuf.ByteString唯一midgetUser()发送者发送者boolean会话booleanhasUser()发送者Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUid
String getUid()唯一mid
string uid = 1;- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()唯一mid
string uid = 1;- Returns:
- The bytes for uid.
-
getType
String getType()消息类型
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()消息类型
string type = 2;- Returns:
- The bytes for type.
-
getContent
String getContent()消息内容,可能是文本,图片,语音,视频,文件等,json
string content = 3;- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()消息内容,可能是文本,图片,语音,视频,文件等,json
string content = 3;- Returns:
- The bytes for content.
-
getStatus
String getStatus()消息发送状态
string status = 4;- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()消息发送状态
string status = 4;- Returns:
- The bytes for status.
-
getCreatedAt
String getCreatedAt()时间戳
string createdAt = 5;- Returns:
- The createdAt.
-
getCreatedAtBytes
com.google.protobuf.ByteString getCreatedAtBytes()时间戳
string createdAt = 5;- Returns:
- The bytes for createdAt.
-
getChannel
String getChannel()消息来源客户端
string channel = 6;- Returns:
- The channel.
-
getChannelBytes
com.google.protobuf.ByteString getChannelBytes()消息来源客户端
string channel = 6;- Returns:
- The bytes for channel.
-
hasThread
boolean hasThread()会话
.Thread thread = 7;- Returns:
- Whether the thread field is set.
-
getThread
ThreadProto.Thread getThread()会话
.Thread thread = 7;- Returns:
- The thread.
-
getThreadOrBuilder
ThreadProto.ThreadOrBuilder getThreadOrBuilder()会话
.Thread thread = 7; -
hasUser
boolean hasUser()发送者
.User user = 8;- Returns:
- Whether the user field is set.
-
getUser
UserProto.User getUser()发送者
.User user = 8;- Returns:
- The user.
-
getUserOrBuilder
UserProto.UserOrBuilder getUserOrBuilder()发送者
.User user = 8; -
getExtra
String getExtra()自定义扩展/附加信息
string extra = 9;- Returns:
- The extra.
-
getExtraBytes
com.google.protobuf.ByteString getExtraBytes()自定义扩展/附加信息
string extra = 9;- Returns:
- The bytes for extra.
-