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