public static enum Constants.EventCategory extends Enum<Constants.EventCategory> implements com.google.protobuf.ProtocolMessageEnum
EventCategory
temporary enum during development of computation stack
| Enum Constant and Description |
|---|
ALERT
ALERT = 0; |
PROFILE
PROFILE = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALERT_VALUE
ALERT = 0; |
static int |
PROFILE_VALUE
PROFILE = 1; |
| Modifier and Type | Method and Description |
|---|---|
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<Constants.EventCategory> |
internalGetValueMap() |
static Constants.EventCategory |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Constants.EventCategory |
valueOf(int value) |
static Constants.EventCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.EventCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.EventCategory ALERT
ALERT = 0;public static final Constants.EventCategory PROFILE
PROFILE = 1;public static final int ALERT_VALUE
ALERT = 0;public static final int PROFILE_VALUE
PROFILE = 1;public static Constants.EventCategory[] values()
for (Constants.EventCategory c : Constants.EventCategory.values()) System.out.println(c);
public static Constants.EventCategory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Constants.EventCategory valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Constants.EventCategory> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Constants.EventCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2009–2015 SonarSource. All rights reserved.