public static enum Incident.Severity extends Enum<Incident.Severity> implements ProtocolMessageEnum
Severity of an incident.Protobuf enum
google.cloud.irm.v1alpha2.Incident.Severity| Enum Constant and Description |
|---|
SEVERITY_HUGE
Huge incident.
|
SEVERITY_MAJOR
Major incident.
|
SEVERITY_MEDIUM
Medium incident.
|
SEVERITY_MINOR
Minor incident.
|
SEVERITY_NEGLIGIBLE
Negligible incident.
|
SEVERITY_UNSPECIFIED
Severity is not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SEVERITY_HUGE_VALUE
Huge incident.
|
static int |
SEVERITY_MAJOR_VALUE
Major incident.
|
static int |
SEVERITY_MEDIUM_VALUE
Medium incident.
|
static int |
SEVERITY_MINOR_VALUE
Minor incident.
|
static int |
SEVERITY_NEGLIGIBLE_VALUE
Negligible incident.
|
static int |
SEVERITY_UNSPECIFIED_VALUE
Severity is not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static Incident.Severity |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Incident.Severity> |
internalGetValueMap() |
static Incident.Severity |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Incident.Severity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Incident.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Incident.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Incident.Severity SEVERITY_UNSPECIFIED
Severity is not specified.
SEVERITY_UNSPECIFIED = 0;public static final Incident.Severity SEVERITY_HUGE
Huge incident.
SEVERITY_HUGE = 1;public static final Incident.Severity SEVERITY_MAJOR
Major incident.
SEVERITY_MAJOR = 2;public static final Incident.Severity SEVERITY_MEDIUM
Medium incident.
SEVERITY_MEDIUM = 3;public static final Incident.Severity SEVERITY_MINOR
Minor incident.
SEVERITY_MINOR = 4;public static final Incident.Severity SEVERITY_NEGLIGIBLE
Negligible incident.
SEVERITY_NEGLIGIBLE = 5;public static final Incident.Severity UNRECOGNIZED
public static final int SEVERITY_UNSPECIFIED_VALUE
Severity is not specified.
SEVERITY_UNSPECIFIED = 0;public static final int SEVERITY_HUGE_VALUE
Huge incident.
SEVERITY_HUGE = 1;public static final int SEVERITY_MAJOR_VALUE
Major incident.
SEVERITY_MAJOR = 2;public static final int SEVERITY_MEDIUM_VALUE
Medium incident.
SEVERITY_MEDIUM = 3;public static final int SEVERITY_MINOR_VALUE
Minor incident.
SEVERITY_MINOR = 4;public static final int SEVERITY_NEGLIGIBLE_VALUE
Negligible incident.
SEVERITY_NEGLIGIBLE = 5;public static Incident.Severity[] values()
for (Incident.Severity c : Incident.Severity.values()) System.out.println(c);
public static Incident.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 Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static Incident.Severity valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Incident.Severity forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Incident.Severity> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static Incident.Severity valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.