public static enum Insight.Severity extends Enum<Insight.Severity> implements com.google.protobuf.ProtocolMessageEnum
Insight severity levels.Protobuf enum
google.cloud.recommender.v1.Insight.Severity| Enum Constant and Description |
|---|
CRITICAL
Insight has critical severity.
|
HIGH
Insight has high severity.
|
LOW
Insight has low severity.
|
MEDIUM
Insight has medium severity.
|
SEVERITY_UNSPECIFIED
Insight has unspecified severity.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CRITICAL_VALUE
Insight has critical severity.
|
static int |
HIGH_VALUE
Insight has high severity.
|
static int |
LOW_VALUE
Insight has low severity.
|
static int |
MEDIUM_VALUE
Insight has medium severity.
|
static int |
SEVERITY_UNSPECIFIED_VALUE
Insight has unspecified severity.
|
| Modifier and Type | Method and Description |
|---|---|
static Insight.Severity |
forNumber(int value) |
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<Insight.Severity> |
internalGetValueMap() |
static Insight.Severity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Insight.Severity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Insight.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Insight.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Insight.Severity SEVERITY_UNSPECIFIED
Insight has unspecified severity.
SEVERITY_UNSPECIFIED = 0;public static final Insight.Severity LOW
Insight has low severity.
LOW = 1;public static final Insight.Severity MEDIUM
Insight has medium severity.
MEDIUM = 2;public static final Insight.Severity HIGH
Insight has high severity.
HIGH = 3;public static final Insight.Severity CRITICAL
Insight has critical severity.
CRITICAL = 4;public static final Insight.Severity UNRECOGNIZED
public static final int SEVERITY_UNSPECIFIED_VALUE
Insight has unspecified severity.
SEVERITY_UNSPECIFIED = 0;public static final int LOW_VALUE
Insight has low severity.
LOW = 1;public static final int MEDIUM_VALUE
Insight has medium severity.
MEDIUM = 2;public static final int HIGH_VALUE
Insight has high severity.
HIGH = 3;public static final int CRITICAL_VALUE
Insight has critical severity.
CRITICAL = 4;public static Insight.Severity[] values()
for (Insight.Severity c : Insight.Severity.values()) System.out.println(c);
public static Insight.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.ProtocolMessageEnum@Deprecated public static Insight.Severity valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Insight.Severity forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Insight.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 Insight.Severity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.