Package pbx

Interface Model.ClientDelOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    Model.ClientDel, Model.ClientDel.Builder
    Enclosing class:
    Model

    public static interface Model.ClientDelOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Model.ClientCred getCred()
      Credential to delete.
      Model.SeqRange getDelSeq​(int index)
      Delete messages by id or range of ids
      int getDelSeqCount()
      Delete messages by id or range of ids
      java.util.List<Model.SeqRange> getDelSeqList()
      Delete messages by id or range of ids
      boolean getHard()
      Request to hard-delete messages for all users, if such option is available.
      java.lang.String getId()
      optional string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      optional string id = 1 [json_name = "id"];
      java.lang.String getTopic()
      string topic = 2 [json_name = "topic"];
      com.google.protobuf.ByteString getTopicBytes()
      string topic = 2 [json_name = "topic"];
      java.lang.String getUserId()
      User ID of the subscription to delete
      com.google.protobuf.ByteString getUserIdBytes()
      User ID of the subscription to delete
      Model.ClientDel.What getWhat()
      .pbx.ClientDel.What what = 3 [json_name = "what"];
      int getWhatValue()
      .pbx.ClientDel.What what = 3 [json_name = "what"];
      boolean hasCred()
      Credential to delete.
      boolean hasHard()
      Request to hard-delete messages for all users, if such option is available.
      boolean hasId()
      optional string id = 1 [json_name = "id"];
      boolean hasUserId()
      User ID of the subscription to delete
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasId

        boolean hasId()
        optional string id = 1 [json_name = "id"];
        Returns:
        Whether the id field is set.
      • getId

        java.lang.String getId()
        optional string id = 1 [json_name = "id"];
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
        optional string id = 1 [json_name = "id"];
        Returns:
        The bytes for id.
      • getTopic

        java.lang.String getTopic()
        string topic = 2 [json_name = "topic"];
        Returns:
        The topic.
      • getTopicBytes

        com.google.protobuf.ByteString getTopicBytes()
        string topic = 2 [json_name = "topic"];
        Returns:
        The bytes for topic.
      • getWhatValue

        int getWhatValue()
        .pbx.ClientDel.What what = 3 [json_name = "what"];
        Returns:
        The enum numeric value on the wire for what.
      • getWhat

        Model.ClientDel.What getWhat()
        .pbx.ClientDel.What what = 3 [json_name = "what"];
        Returns:
        The what.
      • getDelSeqList

        java.util.List<Model.SeqRange> getDelSeqList()
         Delete messages by id or range of ids
         
        repeated .pbx.SeqRange del_seq = 4 [json_name = "delSeq"];
      • getDelSeq

        Model.SeqRange getDelSeq​(int index)
         Delete messages by id or range of ids
         
        repeated .pbx.SeqRange del_seq = 4 [json_name = "delSeq"];
      • getDelSeqCount

        int getDelSeqCount()
         Delete messages by id or range of ids
         
        repeated .pbx.SeqRange del_seq = 4 [json_name = "delSeq"];
      • hasUserId

        boolean hasUserId()
         User ID of the subscription to delete
         
        optional string user_id = 5 [json_name = "userId"];
        Returns:
        Whether the userId field is set.
      • getUserId

        java.lang.String getUserId()
         User ID of the subscription to delete
         
        optional string user_id = 5 [json_name = "userId"];
        Returns:
        The userId.
      • getUserIdBytes

        com.google.protobuf.ByteString getUserIdBytes()
         User ID of the subscription to delete
         
        optional string user_id = 5 [json_name = "userId"];
        Returns:
        The bytes for userId.
      • hasCred

        boolean hasCred()
         Credential to delete.
         
        optional .pbx.ClientCred cred = 6 [json_name = "cred"];
        Returns:
        Whether the cred field is set.
      • getCred

        Model.ClientCred getCred()
         Credential to delete.
         
        optional .pbx.ClientCred cred = 6 [json_name = "cred"];
        Returns:
        The cred.
      • hasHard

        boolean hasHard()
         Request to hard-delete messages for all users, if such option is available.
         
        optional bool hard = 7 [json_name = "hard"];
        Returns:
        Whether the hard field is set.
      • getHard

        boolean getHard()
         Request to hard-delete messages for all users, if such option is available.
         
        optional bool hard = 7 [json_name = "hard"];
        Returns:
        The hard.