Package pbx
Enum Model.AuthLevel
- java.lang.Object
-
- java.lang.Enum<Model.AuthLevel>
-
- pbx.Model.AuthLevel
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Model.AuthLevel>
- Enclosing class:
- Model
public static enum Model.AuthLevel extends java.lang.Enum<Model.AuthLevel> implements com.google.protobuf.Internal.EnumLite
Authentication level
Protobuf enumpbx.AuthLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONANON = 10;AUTHAUTH = 20;NONENONE = 0;ROOTROOT = 30;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intANON_VALUEANON = 10;static intAUTH_VALUEAUTH = 20;static intNONE_VALUENONE = 0;static intROOT_VALUEROOT = 30;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Model.AuthLevelforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<Model.AuthLevel>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static Model.AuthLevelvalueOf(int value)Deprecated.static Model.AuthLevelvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Model.AuthLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Model.AuthLevel NONE
NONE = 0;
-
ANON
public static final Model.AuthLevel ANON
ANON = 10;
-
AUTH
public static final Model.AuthLevel AUTH
AUTH = 20;
-
ROOT
public static final Model.AuthLevel ROOT
ROOT = 30;
-
UNRECOGNIZED
public static final Model.AuthLevel UNRECOGNIZED
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
NONE = 0;- See Also:
- Constant Field Values
-
ANON_VALUE
public static final int ANON_VALUE
ANON = 10;- See Also:
- Constant Field Values
-
AUTH_VALUE
public static final int AUTH_VALUE
AUTH = 20;- See Also:
- Constant Field Values
-
ROOT_VALUE
public static final int ROOT_VALUE
ROOT = 30;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Model.AuthLevel[] 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.AuthLevel c : Model.AuthLevel.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.AuthLevel 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.AuthLevel 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.AuthLevel forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Model.AuthLevel> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-