Package io.grpc.channelz.v1
Enum ChannelTraceEvent.Severity
- java.lang.Object
- 
- java.lang.Enum<ChannelTraceEvent.Severity>
- 
- io.grpc.channelz.v1.ChannelTraceEvent.Severity
 
 
- 
- All Implemented Interfaces:
- Internal.EnumLite,- ProtocolMessageEnum,- Serializable,- Comparable<ChannelTraceEvent.Severity>
 - Enclosing class:
- ChannelTraceEvent
 
 public static enum ChannelTraceEvent.Severity extends Enum<ChannelTraceEvent.Severity> implements ProtocolMessageEnum The supported severity levels of trace events. Protobuf enumgrpc.channelz.v1.ChannelTraceEvent.Severity
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CT_ERRORCT_ERROR = 3;CT_INFOCT_INFO = 1;CT_UNKNOWNCT_UNKNOWN = 0;CT_WARNINGCT_WARNING = 2;UNRECOGNIZED
 - 
Field SummaryFields Modifier and Type Field Description static intCT_ERROR_VALUECT_ERROR = 3;static intCT_INFO_VALUECT_INFO = 1;static intCT_UNKNOWN_VALUECT_UNKNOWN = 0;static intCT_WARNING_VALUECT_WARNING = 2;
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ChannelTraceEvent.SeverityforNumber(int value)static Descriptors.EnumDescriptorgetDescriptor()Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()Descriptors.EnumValueDescriptorgetValueDescriptor()static Internal.EnumLiteMap<ChannelTraceEvent.Severity>internalGetValueMap()static ChannelTraceEvent.SeverityvalueOf(int value)Deprecated.static ChannelTraceEvent.SeverityvalueOf(Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ChannelTraceEvent.SeverityvalueOf(String name)Returns the enum constant of this type with the specified name.static ChannelTraceEvent.Severity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
CT_UNKNOWNpublic static final ChannelTraceEvent.Severity CT_UNKNOWN CT_UNKNOWN = 0;
 - 
CT_INFOpublic static final ChannelTraceEvent.Severity CT_INFO CT_INFO = 1;
 - 
CT_WARNINGpublic static final ChannelTraceEvent.Severity CT_WARNING CT_WARNING = 2;
 - 
CT_ERRORpublic static final ChannelTraceEvent.Severity CT_ERROR CT_ERROR = 3;
 - 
UNRECOGNIZEDpublic static final ChannelTraceEvent.Severity UNRECOGNIZED 
 
- 
 - 
Field Detail- 
CT_UNKNOWN_VALUEpublic static final int CT_UNKNOWN_VALUE CT_UNKNOWN = 0;- See Also:
- Constant Field Values
 
 - 
CT_INFO_VALUEpublic static final int CT_INFO_VALUE CT_INFO = 1;- See Also:
- Constant Field Values
 
 - 
CT_WARNING_VALUEpublic static final int CT_WARNING_VALUE CT_WARNING = 2;- See Also:
- Constant Field Values
 
 - 
CT_ERROR_VALUEpublic static final int CT_ERROR_VALUE CT_ERROR = 3;- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
valuespublic static ChannelTraceEvent.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 (ChannelTraceEvent.Severity c : ChannelTraceEvent.Severity.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ChannelTraceEvent.Severity valueOf(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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getNumberpublic final int getNumber() - Specified by:
- getNumberin interface- Internal.EnumLite
- Specified by:
- getNumberin interface- ProtocolMessageEnum
 
 - 
valueOf@Deprecated public static ChannelTraceEvent.Severity 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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
forNumberpublic static ChannelTraceEvent.Severity forNumber(int value) - Parameters:
- value- The numeric wire value of the corresponding enum entry.
- Returns:
- The enum associated with the given numeric wire value.
 
 - 
internalGetValueMappublic static Internal.EnumLiteMap<ChannelTraceEvent.Severity> internalGetValueMap() 
 - 
getValueDescriptorpublic final Descriptors.EnumValueDescriptor getValueDescriptor() - Specified by:
- getValueDescriptorin interface- ProtocolMessageEnum
 
 - 
getDescriptorForTypepublic final Descriptors.EnumDescriptor getDescriptorForType() - Specified by:
- getDescriptorForTypein interface- ProtocolMessageEnum
 
 - 
getDescriptorpublic static final Descriptors.EnumDescriptor getDescriptor() 
 - 
valueOfpublic static ChannelTraceEvent.Severity valueOf(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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-