Package pbx
Interface Model.ServerDataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Model.ServerData,Model.ServerData.Builder
- Enclosing class:
- Model
public static interface Model.ServerDataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsHead(java.lang.String key)map<string, bytes> head = 5 [json_name = "head"];com.google.protobuf.ByteStringgetContent()bytes content = 6 [json_name = "content"];longgetDeletedAt()Timestamp when the message was deleted or 0.java.lang.StringgetFromUserId()ID of the user who originated the message as {pub}, could be empty if sent by the systemcom.google.protobuf.ByteStringgetFromUserIdBytes()ID of the user who originated the message as {pub}, could be empty if sent by the systemjava.util.Map<java.lang.String,com.google.protobuf.ByteString>getHead()Deprecated.intgetHeadCount()map<string, bytes> head = 5 [json_name = "head"];java.util.Map<java.lang.String,com.google.protobuf.ByteString>getHeadMap()map<string, bytes> head = 5 [json_name = "head"];com.google.protobuf.ByteStringgetHeadOrDefault(java.lang.String key, com.google.protobuf.ByteString defaultValue)map<string, bytes> head = 5 [json_name = "head"];com.google.protobuf.ByteStringgetHeadOrThrow(java.lang.String key)map<string, bytes> head = 5 [json_name = "head"];intgetSeqId()int32 seq_id = 4 [json_name = "seqId"];longgetTimestamp()Timestamp when the message was sent.java.lang.StringgetTopic()string topic = 1 [json_name = "topic"];com.google.protobuf.ByteStringgetTopicBytes()string topic = 1 [json_name = "topic"];
-
-
-
Method Detail
-
getTopic
java.lang.String getTopic()
string topic = 1 [json_name = "topic"];- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()
string topic = 1 [json_name = "topic"];- Returns:
- The bytes for topic.
-
getFromUserId
java.lang.String getFromUserId()
ID of the user who originated the message as {pub}, could be empty if sent by the systemstring from_user_id = 2 [json_name = "fromUserId"];- Returns:
- The fromUserId.
-
getFromUserIdBytes
com.google.protobuf.ByteString getFromUserIdBytes()
ID of the user who originated the message as {pub}, could be empty if sent by the systemstring from_user_id = 2 [json_name = "fromUserId"];- Returns:
- The bytes for fromUserId.
-
getTimestamp
long getTimestamp()
Timestamp when the message was sent.
int64 timestamp = 7 [json_name = "timestamp"];- Returns:
- The timestamp.
-
getDeletedAt
long getDeletedAt()
Timestamp when the message was deleted or 0. Milliseconds since the epoch 01/01/1970
int64 deleted_at = 3 [json_name = "deletedAt"];- Returns:
- The deletedAt.
-
getSeqId
int getSeqId()
int32 seq_id = 4 [json_name = "seqId"];- Returns:
- The seqId.
-
getHeadCount
int getHeadCount()
map<string, bytes> head = 5 [json_name = "head"];
-
containsHead
boolean containsHead(java.lang.String key)
map<string, bytes> head = 5 [json_name = "head"];
-
getHead
@Deprecated java.util.Map<java.lang.String,com.google.protobuf.ByteString> getHead()
Deprecated.UsegetHeadMap()instead.
-
getHeadMap
java.util.Map<java.lang.String,com.google.protobuf.ByteString> getHeadMap()
map<string, bytes> head = 5 [json_name = "head"];
-
getHeadOrDefault
com.google.protobuf.ByteString getHeadOrDefault(java.lang.String key, com.google.protobuf.ByteString defaultValue)map<string, bytes> head = 5 [json_name = "head"];
-
getHeadOrThrow
com.google.protobuf.ByteString getHeadOrThrow(java.lang.String key)
map<string, bytes> head = 5 [json_name = "head"];
-
getContent
com.google.protobuf.ByteString getContent()
bytes content = 6 [json_name = "content"];- Returns:
- The content.
-
-