public static enum ImportError.Severity extends Enum<ImportError.Severity> implements com.google.protobuf.ProtocolMessageEnum
Enumerate possible error severity.Protobuf enum
google.cloud.migrationcenter.v1.ImportError.Severity| Enum Constant and Description |
|---|
ERROR
ERROR = 1; |
INFO
INFO = 3; |
SEVERITY_UNSPECIFIED
SEVERITY_UNSPECIFIED = 0; |
UNRECOGNIZED |
WARNING
WARNING = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
ERROR = 1; |
static int |
INFO_VALUE
INFO = 3; |
static int |
SEVERITY_UNSPECIFIED_VALUE
SEVERITY_UNSPECIFIED = 0; |
static int |
WARNING_VALUE
WARNING = 2; |
| Modifier and Type | Method and Description |
|---|---|
static ImportError.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<ImportError.Severity> |
internalGetValueMap() |
static ImportError.Severity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImportError.Severity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImportError.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportError.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportError.Severity SEVERITY_UNSPECIFIED
SEVERITY_UNSPECIFIED = 0;public static final ImportError.Severity ERROR
ERROR = 1;public static final ImportError.Severity WARNING
WARNING = 2;public static final ImportError.Severity INFO
INFO = 3;public static final ImportError.Severity UNRECOGNIZED
public static final int SEVERITY_UNSPECIFIED_VALUE
SEVERITY_UNSPECIFIED = 0;public static final int ERROR_VALUE
ERROR = 1;public static final int WARNING_VALUE
WARNING = 2;public static final int INFO_VALUE
INFO = 3;public static ImportError.Severity[] values()
for (ImportError.Severity c : ImportError.Severity.values()) System.out.println(c);
public static ImportError.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 ImportError.Severity valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ImportError.Severity forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ImportError.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 ImportError.Severity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.