Package com.google.cloud.support.v2beta
Enum Case.Priority
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Case.Priority>
- Enclosing class:
- Case
public static enum Case.Priority
extends Enum<Case.Priority>
implements com.google.protobuf.ProtocolMessageEnum
The case Priority. P0 is most urgent and P4 the least.Protobuf enum
google.cloud.support.v2beta.Case.Priority-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExtreme impact on a production service.Critical impact on a production service.Severe impact on a production service.Medium impact on a production service.General questions or minor issues.Priority is undefined or has not been set yet. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtreme impact on a production service.static final intCritical impact on a production service.static final intSevere impact on a production service.static final intMedium impact on a production service.static final intGeneral questions or minor issues.static final intPriority is undefined or has not been set yet. -
Method Summary
Modifier and TypeMethodDescriptionstatic Case.PriorityforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Case.Priority>static Case.PriorityvalueOf(int value) Deprecated.static Case.PriorityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Case.PriorityReturns the enum constant of this type with the specified name.static Case.Priority[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRIORITY_UNSPECIFIED
Priority is undefined or has not been set yet.
PRIORITY_UNSPECIFIED = 0; -
P0
Extreme impact on a production service. Service is hard down.
P0 = 1; -
P1
Critical impact on a production service. Service is currently unusable.
P1 = 2; -
P2
Severe impact on a production service. Service is usable but greatly impaired.
P2 = 3; -
P3
Medium impact on a production service. Service is available, but moderately impaired.
P3 = 4; -
P4
General questions or minor issues. Production service is fully available.
P4 = 5; -
UNRECOGNIZED
-
-
Field Details
-
PRIORITY_UNSPECIFIED_VALUE
public static final int PRIORITY_UNSPECIFIED_VALUEPriority is undefined or has not been set yet.
PRIORITY_UNSPECIFIED = 0;- See Also:
-
P0_VALUE
public static final int P0_VALUEExtreme impact on a production service. Service is hard down.
P0 = 1;- See Also:
-
P1_VALUE
public static final int P1_VALUECritical impact on a production service. Service is currently unusable.
P1 = 2;- See Also:
-
P2_VALUE
public static final int P2_VALUESevere impact on a production service. Service is usable but greatly impaired.
P2 = 3;- See Also:
-
P3_VALUE
public static final int P3_VALUEMedium impact on a production service. Service is available, but moderately impaired.
P3 = 4;- See Also:
-
P4_VALUE
public static final int P4_VALUEGeneral questions or minor issues. Production service is fully available.
P4 = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-