public static enum ValidationError.Severity extends Enum<ValidationError.Severity> implements ProtocolMessageEnum
Represents a level of severity.Protobuf enum
google.cloud.dialogflow.v2beta1.ValidationError.Severity
Enum Constant and Description |
---|
CRITICAL
The agent may completely fail.
|
ERROR
The agent may experience partial failures.
|
INFO
The agent doesn't follow Dialogflow best practices.
|
SEVERITY_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
WARNING
The agent may not behave as expected.
|
Modifier and Type | Field and Description |
---|---|
static int |
CRITICAL_VALUE
The agent may completely fail.
|
static int |
ERROR_VALUE
The agent may experience partial failures.
|
static int |
INFO_VALUE
The agent doesn't follow Dialogflow best practices.
|
static int |
SEVERITY_UNSPECIFIED_VALUE
Not specified.
|
static int |
WARNING_VALUE
The agent may not behave as expected.
|
Modifier and Type | Method and Description |
---|---|
static ValidationError.Severity |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ValidationError.Severity> |
internalGetValueMap() |
static ValidationError.Severity |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ValidationError.Severity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ValidationError.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationError.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationError.Severity SEVERITY_UNSPECIFIED
Not specified. This value should never be used.
SEVERITY_UNSPECIFIED = 0;
public static final ValidationError.Severity INFO
The agent doesn't follow Dialogflow best practices.
INFO = 1;
public static final ValidationError.Severity WARNING
The agent may not behave as expected.
WARNING = 2;
public static final ValidationError.Severity ERROR
The agent may experience partial failures.
ERROR = 3;
public static final ValidationError.Severity CRITICAL
The agent may completely fail.
CRITICAL = 4;
public static final ValidationError.Severity UNRECOGNIZED
public static final int SEVERITY_UNSPECIFIED_VALUE
Not specified. This value should never be used.
SEVERITY_UNSPECIFIED = 0;
public static final int INFO_VALUE
The agent doesn't follow Dialogflow best practices.
INFO = 1;
public static final int WARNING_VALUE
The agent may not behave as expected.
WARNING = 2;
public static final int ERROR_VALUE
The agent may experience partial failures.
ERROR = 3;
public static final int CRITICAL_VALUE
The agent may completely fail.
CRITICAL = 4;
public static ValidationError.Severity[] values()
for (ValidationError.Severity c : ValidationError.Severity.values()) System.out.println(c);
public static ValidationError.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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ValidationError.Severity valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ValidationError.Severity forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ValidationError.Severity> 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 ValidationError.Severity valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.