public interface UserPresenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getPersistence()
Whether this presence generates persistent data/messages, if applicable for the stream type.
|
java.lang.String |
getSessionId()
A unique session ID identifying the particular connection, because the user may have many.
|
com.google.protobuf.ByteString |
getSessionIdBytes()
A unique session ID identifying the particular connection, because the user may have many.
|
com.google.protobuf.StringValue |
getStatus()
A user-set status message for this stream, if applicable.
|
com.google.protobuf.StringValueOrBuilder |
getStatusOrBuilder()
A user-set status message for this stream, if applicable.
|
java.lang.String |
getUserId()
The user this presence belongs to.
|
com.google.protobuf.ByteString |
getUserIdBytes()
The user this presence belongs to.
|
java.lang.String |
getUsername()
The username for display purposes.
|
com.google.protobuf.ByteString |
getUsernameBytes()
The username for display purposes.
|
boolean |
hasStatus()
A user-set status message for this stream, if applicable.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getUserId()
The user this presence belongs to.
string user_id = 1 [json_name = "userId"];
com.google.protobuf.ByteString getUserIdBytes()
The user this presence belongs to.
string user_id = 1 [json_name = "userId"];
java.lang.String getSessionId()
A unique session ID identifying the particular connection, because the user may have many.
string session_id = 2 [json_name = "sessionId"];
com.google.protobuf.ByteString getSessionIdBytes()
A unique session ID identifying the particular connection, because the user may have many.
string session_id = 2 [json_name = "sessionId"];
java.lang.String getUsername()
The username for display purposes.
string username = 3 [json_name = "username"];
com.google.protobuf.ByteString getUsernameBytes()
The username for display purposes.
string username = 3 [json_name = "username"];
boolean getPersistence()
Whether this presence generates persistent data/messages, if applicable for the stream type.
bool persistence = 4 [json_name = "persistence"];
boolean hasStatus()
A user-set status message for this stream, if applicable.
.google.protobuf.StringValue status = 5 [json_name = "status"];
com.google.protobuf.StringValue getStatus()
A user-set status message for this stream, if applicable.
.google.protobuf.StringValue status = 5 [json_name = "status"];
com.google.protobuf.StringValueOrBuilder getStatusOrBuilder()
A user-set status message for this stream, if applicable.
.google.protobuf.StringValue status = 5 [json_name = "status"];