Enum 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 enum mux.spaces.api.Error.Type
    • Enum Constant Detail

      • 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;
      • 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;
      • 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;
    • Field Detail

      • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.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 interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null