public interface NotificationOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Category code for this notification.
|
java.lang.String |
getContent()
Content of the notification in JSON.
|
com.google.protobuf.ByteString |
getContentBytes()
Content of the notification in JSON.
|
com.google.protobuf.Timestamp |
getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created.
|
java.lang.String |
getId()
ID of the Notification.
|
com.google.protobuf.ByteString |
getIdBytes()
ID of the Notification.
|
boolean |
getPersistent()
True if this notification was persisted to the database.
|
java.lang.String |
getSenderId()
ID of the sender, if a user.
|
com.google.protobuf.ByteString |
getSenderIdBytes()
ID of the sender, if a user.
|
java.lang.String |
getSubject()
Subject of the notification.
|
com.google.protobuf.ByteString |
getSubjectBytes()
Subject of the notification.
|
boolean |
hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getId()
ID of the Notification.
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString getIdBytes()
ID of the Notification.
string id = 1 [json_name = "id"];
java.lang.String getSubject()
Subject of the notification.
string subject = 2 [json_name = "subject"];
com.google.protobuf.ByteString getSubjectBytes()
Subject of the notification.
string subject = 2 [json_name = "subject"];
java.lang.String getContent()
Content of the notification in JSON.
string content = 3 [json_name = "content"];
com.google.protobuf.ByteString getContentBytes()
Content of the notification in JSON.
string content = 3 [json_name = "content"];
int getCode()
Category code for this notification.
int32 code = 4 [json_name = "code"];
java.lang.String getSenderId()
ID of the sender, if a user. Otherwise 'null'.
string sender_id = 5 [json_name = "senderId"];
com.google.protobuf.ByteString getSenderIdBytes()
ID of the sender, if a user. Otherwise 'null'.
string sender_id = 5 [json_name = "senderId"];
boolean hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];
com.google.protobuf.Timestamp getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the notification was created.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];
boolean getPersistent()
True if this notification was persisted to the database.
bool persistent = 7 [json_name = "persistent"];