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()optional 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 subsbooleanhasContent()optional bytes content = 4 [json_name = "content"];booleanhasEvent()Call event.booleanhasPayload()Arbitrary json payload (used in video calls).booleanhasSeqId()Server-issued message ID being reportedbooleanhasUnread()Client's count of unread messages to report back to the server.
-
-
-
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.
-
hasSeqId
boolean hasSeqId()
Server-issued message ID being reported
optional int32 seq_id = 3 [json_name = "seqId"];- Returns:
- Whether the seqId field is set.
-
getSeqId
int getSeqId()
Server-issued message ID being reported
optional int32 seq_id = 3 [json_name = "seqId"];- Returns:
- The seqId.
-
hasContent
boolean hasContent()
optional bytes content = 4 [json_name = "content"];- Returns:
- Whether the content field is set.
-
getContent
com.google.protobuf.ByteString getContent()
optional bytes content = 4 [json_name = "content"];- Returns:
- The content.
-
hasUnread
boolean hasUnread()
Client's count of unread messages to report back to the server. Used in push notifications on iOS.
optional int32 unread = 5 [json_name = "unread"];- Returns:
- Whether the unread field is set.
-
getUnread
int getUnread()
Client's count of unread messages to report back to the server. Used in push notifications on iOS.
optional int32 unread = 5 [json_name = "unread"];- Returns:
- The unread.
-
hasEvent
boolean hasEvent()
Call event.
optional .pbx.CallEvent event = 6 [json_name = "event"];- Returns:
- Whether the event field is set.
-
getEventValue
int getEventValue()
Call event.
optional .pbx.CallEvent event = 6 [json_name = "event"];- Returns:
- The enum numeric value on the wire for event.
-
getEvent
Model.CallEvent getEvent()
Call event.
optional .pbx.CallEvent event = 6 [json_name = "event"];- Returns:
- The event.
-
hasPayload
boolean hasPayload()
Arbitrary json payload (used in video calls).
optional bytes payload = 7 [json_name = "payload"];- Returns:
- Whether the payload field is set.
-
getPayload
com.google.protobuf.ByteString getPayload()
Arbitrary json payload (used in video calls).
optional bytes payload = 7 [json_name = "payload"];- Returns:
- The payload.
-
-