public static enum Common.Severity extends Enum<Common.Severity> implements com.google.protobuf.ProtocolMessageEnum
Severity
The severity of some unexpected outcome to an operation. Protobuf enum values must be unique across all other enums
| Enum Constant and Description |
|---|
ERROR_SEVERITY
ERROR_SEVERITY = 2; |
FATAL_SEVERITY
FATAL_SEVERITY = 1; |
UNKNOWN_SEVERITY
UNKNOWN_SEVERITY = 0; |
UNRECOGNIZED |
WARNING_SEVERITY
WARNING_SEVERITY = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_SEVERITY_VALUE
ERROR_SEVERITY = 2; |
static int |
FATAL_SEVERITY_VALUE
FATAL_SEVERITY = 1; |
private int |
index |
private static com.google.protobuf.Internal.EnumLiteMap<Common.Severity> |
internalValueMap |
static int |
UNKNOWN_SEVERITY_VALUE
UNKNOWN_SEVERITY = 0; |
private int |
value |
private static Common.Severity[] |
VALUES |
static int |
WARNING_SEVERITY_VALUE
WARNING_SEVERITY = 3; |
| 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<Common.Severity> |
internalGetValueMap() |
static Common.Severity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Common.Severity |
valueOf(int value) |
static Common.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Common.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Common.Severity UNKNOWN_SEVERITY
UNKNOWN_SEVERITY = 0;public static final Common.Severity FATAL_SEVERITY
FATAL_SEVERITY = 1;public static final Common.Severity ERROR_SEVERITY
ERROR_SEVERITY = 2;public static final Common.Severity WARNING_SEVERITY
WARNING_SEVERITY = 3;public static final Common.Severity UNRECOGNIZED
public static final int UNKNOWN_SEVERITY_VALUE
UNKNOWN_SEVERITY = 0;public static final int FATAL_SEVERITY_VALUE
FATAL_SEVERITY = 1;public static final int ERROR_SEVERITY_VALUE
ERROR_SEVERITY = 2;public static final int WARNING_SEVERITY_VALUE
WARNING_SEVERITY = 3;private static final com.google.protobuf.Internal.EnumLiteMap<Common.Severity> internalValueMap
private static final Common.Severity[] VALUES
private final int index
private final int value
public static Common.Severity[] values()
for (Common.Severity c : Common.Severity.values()) System.out.println(c);
public static Common.Severity 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 Common.Severity valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Common.Severity> 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 Common.Severity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.