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.ByteString getContent()
      bytes content = 4 [json_name = "content"];
      Model.CallEvent getEvent()
      Call event.
      int getEventValue()
      Call event.
      com.google.protobuf.ByteString getPayload()
      Arbitrary json payload (used in video calls).
      int getSeqId()
      Server-issued message ID being reported
      java.lang.String getTopic()
      string topic = 1 [json_name = "topic"];
      com.google.protobuf.ByteString getTopicBytes()
      string topic = 1 [json_name = "topic"];
      int getUnread()
      Client's count of unread messages to report back to the server.
      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
      int getWhatValue()
      what is being reported: "recv" - message received, "read" - message read, "kp" - typing notification, "call" - voice/video call, "bypass" - bypass msg to subs
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • 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.