Package io.grpc
Enum InternalChannelz.ChannelTrace.Event.Severity
- java.lang.Object
-
- java.lang.Enum<InternalChannelz.ChannelTrace.Event.Severity>
-
- io.grpc.InternalChannelz.ChannelTrace.Event.Severity
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InternalChannelz.ChannelTrace.Event.Severity>
- Enclosing class:
- InternalChannelz.ChannelTrace.Event
public static enum InternalChannelz.ChannelTrace.Event.Severity extends java.lang.Enum<InternalChannelz.ChannelTrace.Event.Severity>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CT_ERROR
CT_INFO
CT_UNKNOWN
CT_WARNING
-
Constructor Summary
Constructors Modifier Constructor Description private
Severity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InternalChannelz.ChannelTrace.Event.Severity
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InternalChannelz.ChannelTrace.Event.Severity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CT_UNKNOWN
public static final InternalChannelz.ChannelTrace.Event.Severity CT_UNKNOWN
-
CT_INFO
public static final InternalChannelz.ChannelTrace.Event.Severity CT_INFO
-
CT_WARNING
public static final InternalChannelz.ChannelTrace.Event.Severity CT_WARNING
-
CT_ERROR
public static final InternalChannelz.ChannelTrace.Event.Severity CT_ERROR
-
-
Method Detail
-
values
public static InternalChannelz.ChannelTrace.Event.Severity[] 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 (InternalChannelz.ChannelTrace.Event.Severity c : InternalChannelz.ChannelTrace.Event.Severity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InternalChannelz.ChannelTrace.Event.Severity 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
-
-