Package pbx

Class Model.ClientDel

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Model.ClientDel.Builder
      ClientDel delete messages or topic
      static class  Model.ClientDel.What
      What to delete, either "msg" to delete messages (default) or "topic" to delete the topic or "sub" to delete a subscription to topic.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      Model.ClientCred getCred()
      Credential to delete.
      static Model.ClientDel getDefaultInstance()  
      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
      Model.SeqRangeOrBuilder getDelSeqOrBuilder​(int index)
      Delete messages by id or range of ids
      java.util.List<? extends Model.SeqRangeOrBuilder> getDelSeqOrBuilderList()
      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
      static Model.ClientDel.Builder newBuilder()  
      static Model.ClientDel.Builder newBuilder​(Model.ClientDel prototype)  
      static Model.ClientDel parseDelimitedFrom​(java.io.InputStream input)  
      static Model.ClientDel parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientDel parseFrom​(byte[] data)  
      static Model.ClientDel parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientDel parseFrom​(com.google.protobuf.ByteString data)  
      static Model.ClientDel parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientDel parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Model.ClientDel parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientDel parseFrom​(java.io.InputStream input)  
      static Model.ClientDel parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientDel parseFrom​(java.nio.ByteBuffer data)  
      static Model.ClientDel parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Model.ClientDel> parser()  
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite

        createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasId

        public boolean hasId()
        optional string id = 1 [json_name = "id"];
        Specified by:
        hasId in interface Model.ClientDelOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public java.lang.String getId()
        optional string id = 1 [json_name = "id"];
        Specified by:
        getId in interface Model.ClientDelOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        optional string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface Model.ClientDelOrBuilder
        Returns:
        The bytes for id.
      • getTopic

        public java.lang.String getTopic()
        string topic = 2 [json_name = "topic"];
        Specified by:
        getTopic in interface Model.ClientDelOrBuilder
        Returns:
        The topic.
      • getTopicBytes

        public com.google.protobuf.ByteString getTopicBytes()
        string topic = 2 [json_name = "topic"];
        Specified by:
        getTopicBytes in interface Model.ClientDelOrBuilder
        Returns:
        The bytes for topic.
      • getWhatValue

        public int getWhatValue()
        .pbx.ClientDel.What what = 3 [json_name = "what"];
        Specified by:
        getWhatValue in interface Model.ClientDelOrBuilder
        Returns:
        The enum numeric value on the wire for what.
      • getDelSeqOrBuilderList

        public java.util.List<? extends Model.SeqRangeOrBuilder> getDelSeqOrBuilderList()
         Delete messages by id or range of ids
         
        repeated .pbx.SeqRange del_seq = 4 [json_name = "delSeq"];
      • getDelSeqCount

        public int getDelSeqCount()
         Delete messages by id or range of ids
         
        repeated .pbx.SeqRange del_seq = 4 [json_name = "delSeq"];
        Specified by:
        getDelSeqCount in interface Model.ClientDelOrBuilder
      • getDelSeqOrBuilder

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

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

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

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

        public boolean hasCred()
         Credential to delete.
         
        optional .pbx.ClientCred cred = 6 [json_name = "cred"];
        Specified by:
        hasCred in interface Model.ClientDelOrBuilder
        Returns:
        Whether the cred field is set.
      • hasHard

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

        public boolean getHard()
         Request to hard-delete messages for all users, if such option is available.
         
        optional bool hard = 7 [json_name = "hard"];
        Specified by:
        getHard in interface Model.ClientDelOrBuilder
        Returns:
        The hard.
      • parseFrom

        public static Model.ClientDel parseFrom​(java.nio.ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Model.ClientDel parseFrom​(java.nio.ByteBuffer data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Model.ClientDel parseFrom​(com.google.protobuf.ByteString data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Model.ClientDel parseFrom​(com.google.protobuf.ByteString data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Model.ClientDel parseFrom​(byte[] data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Model.ClientDel parseFrom​(byte[] data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Model.ClientDel parseFrom​(java.io.InputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Model.ClientDel parseFrom​(java.io.InputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Model.ClientDel parseDelimitedFrom​(java.io.InputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Model.ClientDel parseDelimitedFrom​(java.io.InputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Model.ClientDel parseFrom​(com.google.protobuf.CodedInputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Model.ClientDel parseFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Model.ClientDel,​Model.ClientDel.Builder>
      • parser

        public static com.google.protobuf.Parser<Model.ClientDel> parser()