Package pbx
Interface Model.ClientNoteOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Model.ClientNote,Model.ClientNote.Builder
- Enclosing class:
- Model
public static interface Model.ClientNoteOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetContent()bytes content = 4 [json_name = "content"];Model.CallEventgetEvent()Call event.intgetEventValue()Call event.com.google.protobuf.ByteStringgetPayload()Arbitrary json payload (used in video calls).intgetSeqId()Server-issued message ID being reportedjava.lang.StringgetTopic()string topic = 1 [json_name = "topic"];com.google.protobuf.ByteStringgetTopicBytes()string topic = 1 [json_name = "topic"];intgetUnread()Client's count of unread messages to report back to the server.Model.InfoNotegetWhat()what is being reported: "recv" - message received, "read" - message read, "kp" - typing notification, "call" - voice/video call, "bypass" - bypass msg to subsintgetWhatValue()what is being reported: "recv" - message received, "read" - message read, "kp" - typing notification, "call" - voice/video call, "bypass" - bypass msg to subs
-
-
-
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.
-
getWhatValue
int getWhatValue()
what is being reported: "recv" - message received, "read" - message read, "kp" - typing notification, "call" - voice/video call, "bypass" - bypass msg to subs
.pbx.InfoNote what = 2 [json_name = "what"];- Returns:
- The enum numeric value on the wire for what.
-
getWhat
Model.InfoNote getWhat()
what is being reported: "recv" - message received, "read" - message read, "kp" - typing notification, "call" - voice/video call, "bypass" - bypass msg to subs
.pbx.InfoNote what = 2 [json_name = "what"];- Returns:
- The what.
-
getSeqId
int getSeqId()
Server-issued message ID being reported
int32 seq_id = 3 [json_name = "seqId"];- Returns:
- The seqId.
-
getContent
com.google.protobuf.ByteString getContent()
bytes content = 4 [json_name = "content"];- Returns:
- The content.
-
getUnread
int getUnread()
Client's count of unread messages to report back to the server. Used in push notifications on iOS.
int32 unread = 5 [json_name = "unread"];- Returns:
- The unread.
-
getEventValue
int getEventValue()
Call event.
.pbx.CallEvent event = 6 [json_name = "event"];- Returns:
- The enum numeric value on the wire for event.
-
getEvent
Model.CallEvent getEvent()
Call event.
.pbx.CallEvent event = 6 [json_name = "event"];- Returns:
- The event.
-
getPayload
com.google.protobuf.ByteString getPayload()
Arbitrary json payload (used in video calls).
bytes payload = 7 [json_name = "payload"];- Returns:
- The payload.
-
-