public static enum AnalysisMessageBase.Level extends Enum<AnalysisMessageBase.Level> implements com.google.protobuf.ProtocolMessageEnum
The values here are chosen so that more severe messages get sorted higher, as well as leaving space in between to add more later See istio.analysis.v1alpha1.AnalysisMessageBase.LevelProtobuf enum
google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level| Enum Constant and Description |
|---|
ERROR
ERROR represents a misconfiguration that must be fixed.
|
INFO
INFO represents an informational finding.
|
LEVEL_UNSPECIFIED
Illegal.
|
UNRECOGNIZED |
WARNING
WARNING represents a misconfiguration that should be fixed.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
ERROR represents a misconfiguration that must be fixed.
|
static int |
INFO_VALUE
INFO represents an informational finding.
|
static int |
LEVEL_UNSPECIFIED_VALUE
Illegal.
|
static int |
WARNING_VALUE
WARNING represents a misconfiguration that should be fixed.
|
| Modifier and Type | Method and Description |
|---|---|
static AnalysisMessageBase.Level |
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<AnalysisMessageBase.Level> |
internalGetValueMap() |
static AnalysisMessageBase.Level |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AnalysisMessageBase.Level |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnalysisMessageBase.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnalysisMessageBase.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnalysisMessageBase.Level LEVEL_UNSPECIFIED
Illegal. Same istio.analysis.v1alpha1.AnalysisMessageBase.Level.UNKNOWN.
LEVEL_UNSPECIFIED = 0;public static final AnalysisMessageBase.Level ERROR
ERROR represents a misconfiguration that must be fixed.
ERROR = 3;public static final AnalysisMessageBase.Level WARNING
WARNING represents a misconfiguration that should be fixed.
WARNING = 8;public static final AnalysisMessageBase.Level INFO
INFO represents an informational finding.
INFO = 12;public static final AnalysisMessageBase.Level UNRECOGNIZED
public static final int LEVEL_UNSPECIFIED_VALUE
Illegal. Same istio.analysis.v1alpha1.AnalysisMessageBase.Level.UNKNOWN.
LEVEL_UNSPECIFIED = 0;public static final int ERROR_VALUE
ERROR represents a misconfiguration that must be fixed.
ERROR = 3;public static final int WARNING_VALUE
WARNING represents a misconfiguration that should be fixed.
WARNING = 8;public static final int INFO_VALUE
INFO represents an informational finding.
INFO = 12;public static AnalysisMessageBase.Level[] values()
for (AnalysisMessageBase.Level c : AnalysisMessageBase.Level.values()) System.out.println(c);
public static AnalysisMessageBase.Level 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 AnalysisMessageBase.Level valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AnalysisMessageBase.Level forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AnalysisMessageBase.Level> 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 AnalysisMessageBase.Level valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.