public static enum TransferMessage.MessageSeverity extends java.lang.Enum<TransferMessage.MessageSeverity> implements ProtocolMessageEnum
Represents data transfer user facing message severity.Protobuf enum
google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity
Enum Constant and Description |
---|
ERROR
Error message.
|
INFO
Informational message.
|
MESSAGE_SEVERITY_UNSPECIFIED
No severity specified.
|
UNRECOGNIZED |
WARNING
Warning message.
|
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_VALUE
Error message.
|
static int |
INFO_VALUE
Informational message.
|
static int |
MESSAGE_SEVERITY_UNSPECIFIED_VALUE
No severity specified.
|
static int |
WARNING_VALUE
Warning message.
|
Modifier and Type | Method and Description |
---|---|
static TransferMessage.MessageSeverity |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<TransferMessage.MessageSeverity> |
internalGetValueMap() |
static TransferMessage.MessageSeverity |
valueOf(Descriptors.EnumValueDescriptor desc) |
static TransferMessage.MessageSeverity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferMessage.MessageSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransferMessage.MessageSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferMessage.MessageSeverity MESSAGE_SEVERITY_UNSPECIFIED
No severity specified.
MESSAGE_SEVERITY_UNSPECIFIED = 0;
public static final TransferMessage.MessageSeverity INFO
Informational message.
INFO = 1;
public static final TransferMessage.MessageSeverity WARNING
Warning message.
WARNING = 2;
public static final TransferMessage.MessageSeverity ERROR
Error message.
ERROR = 3;
public static final TransferMessage.MessageSeverity UNRECOGNIZED
public static final int MESSAGE_SEVERITY_UNSPECIFIED_VALUE
No severity specified.
MESSAGE_SEVERITY_UNSPECIFIED = 0;
public static final int INFO_VALUE
Informational message.
INFO = 1;
public static final int WARNING_VALUE
Warning message.
WARNING = 2;
public static final int ERROR_VALUE
Error message.
ERROR = 3;
public static TransferMessage.MessageSeverity[] values()
for (TransferMessage.MessageSeverity c : TransferMessage.MessageSeverity.values()) System.out.println(c);
public static TransferMessage.MessageSeverity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static TransferMessage.MessageSeverity valueOf(int value)
forNumber(int)
instead.public static TransferMessage.MessageSeverity forNumber(int value)
public static Internal.EnumLiteMap<TransferMessage.MessageSeverity> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static TransferMessage.MessageSeverity valueOf(Descriptors.EnumValueDescriptor desc)