Package pbx
Class Model.ClientDel
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Model.ClientDel,Model.ClientDel.Builder>
-
- pbx.Model.ClientDel
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Model.ClientDelOrBuilder
- Enclosing class:
- Model
public static final class Model.ClientDel extends com.google.protobuf.GeneratedMessageLite<Model.ClientDel,Model.ClientDel.Builder> implements Model.ClientDelOrBuilder
ClientDel delete messages or topic
Protobuf typepbx.ClientDel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel.ClientDel.BuilderClientDel delete messages or topicstatic classModel.ClientDel.WhatWhat 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCRED_FIELD_NUMBERstatic intDEL_SEQ_FIELD_NUMBERstatic intHARD_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intTOPIC_FIELD_NUMBERstatic intUSER_ID_FIELD_NUMBERstatic intWHAT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)Model.ClientCredgetCred()Credential to delete.static Model.ClientDelgetDefaultInstance()Model.SeqRangegetDelSeq(int index)Delete messages by id or range of idsintgetDelSeqCount()Delete messages by id or range of idsjava.util.List<Model.SeqRange>getDelSeqList()Delete messages by id or range of idsModel.SeqRangeOrBuildergetDelSeqOrBuilder(int index)Delete messages by id or range of idsjava.util.List<? extends Model.SeqRangeOrBuilder>getDelSeqOrBuilderList()Delete messages by id or range of idsbooleangetHard()Request to hard-delete messages for all users, if such option is available.java.lang.StringgetId()optional string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()optional string id = 1 [json_name = "id"];java.lang.StringgetTopic()string topic = 2 [json_name = "topic"];com.google.protobuf.ByteStringgetTopicBytes()string topic = 2 [json_name = "topic"];java.lang.StringgetUserId()User ID of the subscription to deletecom.google.protobuf.ByteStringgetUserIdBytes()User ID of the subscription to deleteModel.ClientDel.WhatgetWhat().pbx.ClientDel.What what = 3 [json_name = "what"];intgetWhatValue().pbx.ClientDel.What what = 3 [json_name = "what"];booleanhasCred()Credential to delete.booleanhasHard()Request to hard-delete messages for all users, if such option is available.booleanhasId()optional string id = 1 [json_name = "id"];booleanhasUserId()User ID of the subscription to deletestatic Model.ClientDel.BuildernewBuilder()static Model.ClientDel.BuildernewBuilder(Model.ClientDel prototype)static Model.ClientDelparseDelimitedFrom(java.io.InputStream input)static Model.ClientDelparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientDelparseFrom(byte[] data)static Model.ClientDelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientDelparseFrom(com.google.protobuf.ByteString data)static Model.ClientDelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientDelparseFrom(com.google.protobuf.CodedInputStream input)static Model.ClientDelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientDelparseFrom(java.io.InputStream input)static Model.ClientDelparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientDelparseFrom(java.nio.ByteBuffer data)static Model.ClientDelparseFrom(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
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WHAT_FIELD_NUMBER
public static final int WHAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEL_SEQ_FIELD_NUMBER
public static final int DEL_SEQ_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CRED_FIELD_NUMBER
public static final int CRED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HARD_FIELD_NUMBER
public static final int HARD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasId
public boolean hasId()
optional string id = 1 [json_name = "id"];- Specified by:
hasIdin interfaceModel.ClientDelOrBuilder- Returns:
- Whether the id field is set.
-
getId
public java.lang.String getId()
optional string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceModel.ClientDelOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
optional string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceModel.ClientDelOrBuilder- Returns:
- The bytes for id.
-
getTopic
public java.lang.String getTopic()
string topic = 2 [json_name = "topic"];- Specified by:
getTopicin interfaceModel.ClientDelOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()
string topic = 2 [json_name = "topic"];- Specified by:
getTopicBytesin interfaceModel.ClientDelOrBuilder- Returns:
- The bytes for topic.
-
getWhatValue
public int getWhatValue()
.pbx.ClientDel.What what = 3 [json_name = "what"];- Specified by:
getWhatValuein interfaceModel.ClientDelOrBuilder- Returns:
- The enum numeric value on the wire for what.
-
getWhat
public Model.ClientDel.What getWhat()
.pbx.ClientDel.What what = 3 [json_name = "what"];- Specified by:
getWhatin interfaceModel.ClientDelOrBuilder- Returns:
- The what.
-
getDelSeqList
public java.util.List<Model.SeqRange> getDelSeqList()
Delete messages by id or range of ids
repeated .pbx.SeqRange del_seq = 4 [json_name = "delSeq"];- Specified by:
getDelSeqListin interfaceModel.ClientDelOrBuilder
-
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:
getDelSeqCountin interfaceModel.ClientDelOrBuilder
-
getDelSeq
public Model.SeqRange getDelSeq(int index)
Delete messages by id or range of ids
repeated .pbx.SeqRange del_seq = 4 [json_name = "delSeq"];- Specified by:
getDelSeqin interfaceModel.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:
hasUserIdin interfaceModel.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:
getUserIdin interfaceModel.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:
getUserIdBytesin interfaceModel.ClientDelOrBuilder- Returns:
- The bytes for userId.
-
hasCred
public boolean hasCred()
Credential to delete.
optional .pbx.ClientCred cred = 6 [json_name = "cred"];- Specified by:
hasCredin interfaceModel.ClientDelOrBuilder- Returns:
- Whether the cred field is set.
-
getCred
public Model.ClientCred getCred()
Credential to delete.
optional .pbx.ClientCred cred = 6 [json_name = "cred"];- Specified by:
getCredin interfaceModel.ClientDelOrBuilder- Returns:
- The cred.
-
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:
hasHardin interfaceModel.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:
getHardin interfaceModel.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
-
newBuilder
public static Model.ClientDel.Builder newBuilder()
-
newBuilder
public static Model.ClientDel.Builder newBuilder(Model.ClientDel prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Model.ClientDel,Model.ClientDel.Builder>
-
getDefaultInstance
public static Model.ClientDel getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Model.ClientDel> parser()
-
-