Interface ThreadProto.ThreadOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ThreadProto.Thread,ThreadProto.Thread.Builder
- Enclosing class:
- ThreadProto
public static interface ThreadProto.ThreadOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription会话来源客户端com.google.protobuf.ByteString会话来源客户端getExtra()自定义扩展/附加信息com.google.protobuf.ByteString自定义扩展/附加信息getState()会话状态com.google.protobuf.ByteString会话状态getTopic()订阅主题com.google.protobuf.ByteString订阅主题getType()会话类型com.google.protobuf.ByteString会话类型getUid()IDcom.google.protobuf.ByteStringIDgetUser()头像昵称等信息头像昵称等信息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()ID
string uid = 1;- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()ID
string uid = 1;- Returns:
- The bytes for uid.
-
getTopic
String getTopic()订阅主题
string topic = 2;- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()订阅主题
string topic = 2;- Returns:
- The bytes for topic.
-
getType
String getType()会话类型
string type = 3;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()会话类型
string type = 3;- Returns:
- The bytes for type.
-
getState
String getState()会话状态
string state = 4;- Returns:
- The state.
-
getStateBytes
com.google.protobuf.ByteString getStateBytes()会话状态
string state = 4;- Returns:
- The bytes for state.
-
hasUser
boolean hasUser()头像昵称等信息
.User user = 5;- Returns:
- Whether the user field is set.
-
getUser
UserProto.User getUser()头像昵称等信息
.User user = 5;- Returns:
- The user.
-
getUserOrBuilder
UserProto.UserOrBuilder getUserOrBuilder()头像昵称等信息
.User user = 5; -
getChannel
String getChannel()会话来源客户端
string channel = 6;- Returns:
- The channel.
-
getChannelBytes
com.google.protobuf.ByteString getChannelBytes()会话来源客户端
string channel = 6;- Returns:
- The bytes for channel.
-
getExtra
String getExtra()自定义扩展/附加信息
string extra = 7;- Returns:
- The extra.
-
getExtraBytes
com.google.protobuf.ByteString getExtraBytes()自定义扩展/附加信息
string extra = 7;- Returns:
- The bytes for extra.
-