Package pbx
Enum Model.ClientDel.What
- java.lang.Object
-
- java.lang.Enum<Model.ClientDel.What>
-
- pbx.Model.ClientDel.What
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Model.ClientDel.What>
- Enclosing class:
- Model.ClientDel
public static enum Model.ClientDel.What extends java.lang.Enum<Model.ClientDel.What> implements com.google.protobuf.Internal.EnumLite
What to delete, either "msg" to delete messages (default) or "topic" to delete the topic or "sub" to delete a subscription to topic.
Protobuf enumpbx.ClientDel.What
-
-
Field Summary
Fields Modifier and Type Field Description static intCRED_VALUECRED = 5;static intMSG_VALUEMSG = 1;static intSUB_VALUESUB = 3;static intTOPIC_VALUETOPIC = 2;static intUSER_VALUEUSER = 4;static intX0_VALUEInvalid value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Model.ClientDel.WhatforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<Model.ClientDel.What>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static Model.ClientDel.WhatvalueOf(int value)Deprecated.static Model.ClientDel.WhatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Model.ClientDel.What[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X0
public static final Model.ClientDel.What X0
Invalid value. The name must be globally unique.
X0 = 0;
-
MSG
public static final Model.ClientDel.What MSG
MSG = 1;
-
TOPIC
public static final Model.ClientDel.What TOPIC
TOPIC = 2;
-
SUB
public static final Model.ClientDel.What SUB
SUB = 3;
-
USER
public static final Model.ClientDel.What USER
USER = 4;
-
CRED
public static final Model.ClientDel.What CRED
CRED = 5;
-
UNRECOGNIZED
public static final Model.ClientDel.What UNRECOGNIZED
-
-
Field Detail
-
X0_VALUE
public static final int X0_VALUE
Invalid value. The name must be globally unique.
X0 = 0;- See Also:
- Constant Field Values
-
MSG_VALUE
public static final int MSG_VALUE
MSG = 1;- See Also:
- Constant Field Values
-
TOPIC_VALUE
public static final int TOPIC_VALUE
TOPIC = 2;- See Also:
- Constant Field Values
-
SUB_VALUE
public static final int SUB_VALUE
SUB = 3;- See Also:
- Constant Field Values
-
USER_VALUE
public static final int USER_VALUE
USER = 4;- See Also:
- Constant Field Values
-
CRED_VALUE
public static final int CRED_VALUE
CRED = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Model.ClientDel.What[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Model.ClientDel.What c : Model.ClientDel.What.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Model.ClientDel.What valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static Model.ClientDel.What valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Model.ClientDel.What forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Model.ClientDel.What> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-