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 TypeMethodDescriptiongetExtra()
自定义扩展/附加信息com.google.protobuf.ByteString
自定义扩展/附加信息getState()
会话状态com.google.protobuf.ByteString
会话状态getTopic()
订阅主题com.google.protobuf.ByteString
订阅主题getType()
会话类型com.google.protobuf.ByteString
会话类型getUid()
IDcom.google.protobuf.ByteString
IDgetUser()
头像昵称等信息头像昵称等信息boolean
hasUser()
头像昵称等信息Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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;
-
getExtra
String getExtra()自定义扩展/附加信息
string extra = 6;
- Returns:
- The extra.
-
getExtraBytes
com.google.protobuf.ByteString getExtraBytes()自定义扩展/附加信息
string extra = 6;
- Returns:
- The bytes for extra.
-