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 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.
    • getClient

      String getClient()
       消息来源客户端
       
      string client = 6;
      Returns:
      The client.
    • getClientBytes

      com.google.protobuf.ByteString getClientBytes()
       消息来源客户端
       
      string client = 6;
      Returns:
      The bytes for client.
    • 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.