Package com.google.cloud.clouddms.v1
Enum EntityIssue.IssueSeverity
- java.lang.Object
-
- java.lang.Enum<EntityIssue.IssueSeverity>
-
- com.google.cloud.clouddms.v1.EntityIssue.IssueSeverity
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EntityIssue.IssueSeverity>
- Enclosing class:
- EntityIssue
public static enum EntityIssue.IssueSeverity extends Enum<EntityIssue.IssueSeverity> implements com.google.protobuf.ProtocolMessageEnum
Severity of issue.
Protobuf enumgoogle.cloud.clouddms.v1.EntityIssue.IssueSeverity
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ISSUE_SEVERITY_ERRORErrorISSUE_SEVERITY_INFOInfoISSUE_SEVERITY_UNSPECIFIEDUnspecified issue severityISSUE_SEVERITY_WARNINGWarningUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intISSUE_SEVERITY_ERROR_VALUEErrorstatic intISSUE_SEVERITY_INFO_VALUEInfostatic intISSUE_SEVERITY_UNSPECIFIED_VALUEUnspecified issue severitystatic intISSUE_SEVERITY_WARNING_VALUEWarning
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EntityIssue.IssueSeverityforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<EntityIssue.IssueSeverity>internalGetValueMap()static EntityIssue.IssueSeverityvalueOf(int value)Deprecated.static EntityIssue.IssueSeverityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static EntityIssue.IssueSeverityvalueOf(String name)Returns the enum constant of this type with the specified name.static EntityIssue.IssueSeverity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISSUE_SEVERITY_UNSPECIFIED
public static final EntityIssue.IssueSeverity ISSUE_SEVERITY_UNSPECIFIED
Unspecified issue severity
ISSUE_SEVERITY_UNSPECIFIED = 0;
-
ISSUE_SEVERITY_INFO
public static final EntityIssue.IssueSeverity ISSUE_SEVERITY_INFO
Info
ISSUE_SEVERITY_INFO = 1;
-
ISSUE_SEVERITY_WARNING
public static final EntityIssue.IssueSeverity ISSUE_SEVERITY_WARNING
Warning
ISSUE_SEVERITY_WARNING = 2;
-
ISSUE_SEVERITY_ERROR
public static final EntityIssue.IssueSeverity ISSUE_SEVERITY_ERROR
Error
ISSUE_SEVERITY_ERROR = 3;
-
UNRECOGNIZED
public static final EntityIssue.IssueSeverity UNRECOGNIZED
-
-
Field Detail
-
ISSUE_SEVERITY_UNSPECIFIED_VALUE
public static final int ISSUE_SEVERITY_UNSPECIFIED_VALUE
Unspecified issue severity
ISSUE_SEVERITY_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
ISSUE_SEVERITY_INFO_VALUE
public static final int ISSUE_SEVERITY_INFO_VALUE
Info
ISSUE_SEVERITY_INFO = 1;- See Also:
- Constant Field Values
-
ISSUE_SEVERITY_WARNING_VALUE
public static final int ISSUE_SEVERITY_WARNING_VALUE
Warning
ISSUE_SEVERITY_WARNING = 2;- See Also:
- Constant Field Values
-
ISSUE_SEVERITY_ERROR_VALUE
public static final int ISSUE_SEVERITY_ERROR_VALUE
Error
ISSUE_SEVERITY_ERROR = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EntityIssue.IssueSeverity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityIssue.IssueSeverity c : EntityIssue.IssueSeverity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityIssue.IssueSeverity valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static EntityIssue.IssueSeverity valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static EntityIssue.IssueSeverity forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<EntityIssue.IssueSeverity> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static EntityIssue.IssueSeverity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-