Package com.mux.spaces.api.proto.signals
Enum Signals.Error.Type
- java.lang.Object
-
- java.lang.Enum<Signals.Error.Type>
-
- com.mux.spaces.api.proto.signals.Signals.Error.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<Signals.Error.Type>
- Enclosing class:
- Signals.Error
public static enum Signals.Error.Type extends java.lang.Enum<Signals.Error.Type> implements com.google.protobuf.ProtocolMessageEnum
XXX: Deprecated do not add new types here. Add them to RequestError or ServerError depending on the type
Protobuf enummux.spaces.api.Error.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANSWER_ERROR
ANSWER_ERROR = 9;
DISCONNECTED
DISCONNECTED = 1;
DUPLICATE_PARTICIPANT_REJECTED
DUPLICATE_PARTICIPANT_REJECTED = 3;
HIT_TIME_LIMIT
HIT_TIME_LIMIT = 2;
ICE_CANDIDATE_ERROR
ICE_CANDIDATE_ERROR = 10;
INVALID_JWT
INVALID_JWT = 6;
INVALID_PENDING_TRACK
INVALID_PENDING_TRACK = 5;
PARTICIPANT_LIMIT_REACHED
PARTICIPANT_LIMIT_REACHED = 7;
PEER_CONNECTION_CLOSED
PEER_CONNECTION_CLOSED = 4;
REQUEST_ERROR
These types mean, go look at the error_class fieldSERVER_ERROR
SERVER_ERROR = 13;
TRACK_MUTE_ERROR
TRACK_MUTE_ERROR = 11;
TURN_CRED_GEN_ERROR
TURN_CRED_GEN_ERROR = 8;
UNKNOWN
UNKNOWN = 0;
UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ANSWER_ERROR_VALUE
ANSWER_ERROR = 9;
static int
DISCONNECTED_VALUE
DISCONNECTED = 1;
static int
DUPLICATE_PARTICIPANT_REJECTED_VALUE
DUPLICATE_PARTICIPANT_REJECTED = 3;
static int
HIT_TIME_LIMIT_VALUE
HIT_TIME_LIMIT = 2;
static int
ICE_CANDIDATE_ERROR_VALUE
ICE_CANDIDATE_ERROR = 10;
static int
INVALID_JWT_VALUE
INVALID_JWT = 6;
static int
INVALID_PENDING_TRACK_VALUE
INVALID_PENDING_TRACK = 5;
static int
PARTICIPANT_LIMIT_REACHED_VALUE
PARTICIPANT_LIMIT_REACHED = 7;
static int
PEER_CONNECTION_CLOSED_VALUE
PEER_CONNECTION_CLOSED = 4;
static int
REQUEST_ERROR_VALUE
These types mean, go look at the error_class fieldstatic int
SERVER_ERROR_VALUE
SERVER_ERROR = 13;
static int
TRACK_MUTE_ERROR_VALUE
TRACK_MUTE_ERROR = 11;
static int
TURN_CRED_GEN_ERROR_VALUE
TURN_CRED_GEN_ERROR = 8;
static int
UNKNOWN_VALUE
UNKNOWN = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Signals.Error.Type
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Signals.Error.Type>
internalGetValueMap()
static Signals.Error.Type
valueOf(int value)
Deprecated.static Signals.Error.Type
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Signals.Error.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Signals.Error.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Signals.Error.Type UNKNOWN
UNKNOWN = 0;
-
DISCONNECTED
public static final Signals.Error.Type DISCONNECTED
DISCONNECTED = 1;
-
HIT_TIME_LIMIT
public static final Signals.Error.Type HIT_TIME_LIMIT
HIT_TIME_LIMIT = 2;
-
DUPLICATE_PARTICIPANT_REJECTED
public static final Signals.Error.Type DUPLICATE_PARTICIPANT_REJECTED
DUPLICATE_PARTICIPANT_REJECTED = 3;
-
PEER_CONNECTION_CLOSED
public static final Signals.Error.Type PEER_CONNECTION_CLOSED
PEER_CONNECTION_CLOSED = 4;
-
INVALID_PENDING_TRACK
public static final Signals.Error.Type INVALID_PENDING_TRACK
INVALID_PENDING_TRACK = 5;
-
INVALID_JWT
public static final Signals.Error.Type INVALID_JWT
INVALID_JWT = 6;
-
PARTICIPANT_LIMIT_REACHED
public static final Signals.Error.Type PARTICIPANT_LIMIT_REACHED
PARTICIPANT_LIMIT_REACHED = 7;
-
TURN_CRED_GEN_ERROR
public static final Signals.Error.Type TURN_CRED_GEN_ERROR
TURN_CRED_GEN_ERROR = 8;
-
ANSWER_ERROR
public static final Signals.Error.Type ANSWER_ERROR
ANSWER_ERROR = 9;
-
ICE_CANDIDATE_ERROR
public static final Signals.Error.Type ICE_CANDIDATE_ERROR
ICE_CANDIDATE_ERROR = 10;
-
TRACK_MUTE_ERROR
public static final Signals.Error.Type TRACK_MUTE_ERROR
TRACK_MUTE_ERROR = 11;
-
REQUEST_ERROR
public static final Signals.Error.Type REQUEST_ERROR
These types mean, go look at the error_class field
REQUEST_ERROR = 12;
-
SERVER_ERROR
public static final Signals.Error.Type SERVER_ERROR
SERVER_ERROR = 13;
-
UNRECOGNIZED
public static final Signals.Error.Type UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
- See Also:
- Constant Field Values
-
DISCONNECTED_VALUE
public static final int DISCONNECTED_VALUE
DISCONNECTED = 1;
- See Also:
- Constant Field Values
-
HIT_TIME_LIMIT_VALUE
public static final int HIT_TIME_LIMIT_VALUE
HIT_TIME_LIMIT = 2;
- See Also:
- Constant Field Values
-
DUPLICATE_PARTICIPANT_REJECTED_VALUE
public static final int DUPLICATE_PARTICIPANT_REJECTED_VALUE
DUPLICATE_PARTICIPANT_REJECTED = 3;
- See Also:
- Constant Field Values
-
PEER_CONNECTION_CLOSED_VALUE
public static final int PEER_CONNECTION_CLOSED_VALUE
PEER_CONNECTION_CLOSED = 4;
- See Also:
- Constant Field Values
-
INVALID_PENDING_TRACK_VALUE
public static final int INVALID_PENDING_TRACK_VALUE
INVALID_PENDING_TRACK = 5;
- See Also:
- Constant Field Values
-
INVALID_JWT_VALUE
public static final int INVALID_JWT_VALUE
INVALID_JWT = 6;
- See Also:
- Constant Field Values
-
PARTICIPANT_LIMIT_REACHED_VALUE
public static final int PARTICIPANT_LIMIT_REACHED_VALUE
PARTICIPANT_LIMIT_REACHED = 7;
- See Also:
- Constant Field Values
-
TURN_CRED_GEN_ERROR_VALUE
public static final int TURN_CRED_GEN_ERROR_VALUE
TURN_CRED_GEN_ERROR = 8;
- See Also:
- Constant Field Values
-
ANSWER_ERROR_VALUE
public static final int ANSWER_ERROR_VALUE
ANSWER_ERROR = 9;
- See Also:
- Constant Field Values
-
ICE_CANDIDATE_ERROR_VALUE
public static final int ICE_CANDIDATE_ERROR_VALUE
ICE_CANDIDATE_ERROR = 10;
- See Also:
- Constant Field Values
-
TRACK_MUTE_ERROR_VALUE
public static final int TRACK_MUTE_ERROR_VALUE
TRACK_MUTE_ERROR = 11;
- See Also:
- Constant Field Values
-
REQUEST_ERROR_VALUE
public static final int REQUEST_ERROR_VALUE
These types mean, go look at the error_class field
REQUEST_ERROR = 12;
- See Also:
- Constant Field Values
-
SERVER_ERROR_VALUE
public static final int SERVER_ERROR_VALUE
SERVER_ERROR = 13;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Signals.Error.Type[] 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 (Signals.Error.Type c : Signals.Error.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Signals.Error.Type 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Signals.Error.Type 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 Signals.Error.Type forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Signals.Error.Type> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Signals.Error.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- 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
-
-