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
      boolean containsHead​(java.lang.String key)
      map<string, bytes> head = 5 [json_name = "head"];
      com.google.protobuf.ByteString getContent()
      bytes content = 6 [json_name = "content"];
      long getDeletedAt()
      Timestamp when the message was deleted or 0.
      java.lang.String getFromUserId()
      ID of the user who originated the message as {pub}, could be empty if sent by the system
      com.google.protobuf.ByteString getFromUserIdBytes()
      ID of the user who originated the message as {pub}, could be empty if sent by the system
      java.util.Map<java.lang.String,​com.google.protobuf.ByteString> getHead()
      Deprecated.
      int getHeadCount()
      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.ByteString getHeadOrDefault​(java.lang.String key, com.google.protobuf.ByteString defaultValue)
      map<string, bytes> head = 5 [json_name = "head"];
      com.google.protobuf.ByteString getHeadOrThrow​(java.lang.String key)
      map<string, bytes> head = 5 [json_name = "head"];
      int getSeqId()
      int32 seq_id = 4 [json_name = "seqId"];
      long getTimestamp()
      Timestamp when the message was sent.
      java.lang.String getTopic()
      string topic = 1 [json_name = "topic"];
      com.google.protobuf.ByteString getTopicBytes()
      string topic = 1 [json_name = "topic"];
      • 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.
      • getFromUserId

        java.lang.String getFromUserId()
         ID of the user who originated the message as {pub}, could be empty if sent by the system
         
        string 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 system
         
        string 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.
        Use getHeadMap() 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.