Package pbx
Enum Model.CallEvent
- java.lang.Object
-
- java.lang.Enum<Model.CallEvent>
-
- pbx.Model.CallEvent
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Model.CallEvent>
- Enclosing class:
- Model
public static enum Model.CallEvent extends java.lang.Enum<Model.CallEvent> implements com.google.protobuf.Internal.EnumLite
Protobuf enumpbx.CallEvent
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTACCEPT = 1;ANSWERANSWER = 2;HANG_UPHANG_UP = 3;ICE_CANDIDATEICE_CANDIDATE = 4;INVITEINVITE = 5;OFFEROFFER = 6;RINGINGRINGING = 7;UNRECOGNIZEDX2Invalid value.
-
Field Summary
Fields Modifier and Type Field Description static intACCEPT_VALUEACCEPT = 1;static intANSWER_VALUEANSWER = 2;static intHANG_UP_VALUEHANG_UP = 3;static intICE_CANDIDATE_VALUEICE_CANDIDATE = 4;static intINVITE_VALUEINVITE = 5;static intOFFER_VALUEOFFER = 6;static intRINGING_VALUERINGING = 7;static intX2_VALUEInvalid value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Model.CallEventforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<Model.CallEvent>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static Model.CallEventvalueOf(int value)Deprecated.static Model.CallEventvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Model.CallEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X2
public static final Model.CallEvent X2
Invalid value. The name must be globally unique.
X2 = 0;
-
ACCEPT
public static final Model.CallEvent ACCEPT
ACCEPT = 1;
-
ANSWER
public static final Model.CallEvent ANSWER
ANSWER = 2;
-
HANG_UP
public static final Model.CallEvent HANG_UP
HANG_UP = 3;
-
ICE_CANDIDATE
public static final Model.CallEvent ICE_CANDIDATE
ICE_CANDIDATE = 4;
-
INVITE
public static final Model.CallEvent INVITE
INVITE = 5;
-
OFFER
public static final Model.CallEvent OFFER
OFFER = 6;
-
RINGING
public static final Model.CallEvent RINGING
RINGING = 7;
-
UNRECOGNIZED
public static final Model.CallEvent UNRECOGNIZED
-
-
Field Detail
-
X2_VALUE
public static final int X2_VALUE
Invalid value. The name must be globally unique.
X2 = 0;- See Also:
- Constant Field Values
-
ACCEPT_VALUE
public static final int ACCEPT_VALUE
ACCEPT = 1;- See Also:
- Constant Field Values
-
ANSWER_VALUE
public static final int ANSWER_VALUE
ANSWER = 2;- See Also:
- Constant Field Values
-
HANG_UP_VALUE
public static final int HANG_UP_VALUE
HANG_UP = 3;- See Also:
- Constant Field Values
-
ICE_CANDIDATE_VALUE
public static final int ICE_CANDIDATE_VALUE
ICE_CANDIDATE = 4;- See Also:
- Constant Field Values
-
INVITE_VALUE
public static final int INVITE_VALUE
INVITE = 5;- See Also:
- Constant Field Values
-
OFFER_VALUE
public static final int OFFER_VALUE
OFFER = 6;- See Also:
- Constant Field Values
-
RINGING_VALUE
public static final int RINGING_VALUE
RINGING = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Model.CallEvent[] 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.CallEvent c : Model.CallEvent.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.CallEvent 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.CallEvent 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.CallEvent forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Model.CallEvent> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-