Package com.google.cloud.support.v2
Enum Case.Priority
- java.lang.Object
-
- java.lang.Enum<Case.Priority>
-
- com.google.cloud.support.v2.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 enumgoogle.cloud.support.v2.Case.Priority
-
-
Enum Constant Summary
Enum Constants Enum Constant Description P0Extreme impact on a production service.P1Critical impact on a production service.P2Severe impact on a production service.P3Medium impact on a production service.P4General questions or minor issues.PRIORITY_UNSPECIFIEDPriority is undefined or has not been set yet.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intP0_VALUEExtreme impact on a production service.static intP1_VALUECritical impact on a production service.static intP2_VALUESevere impact on a production service.static intP3_VALUEMedium impact on a production service.static intP4_VALUEGeneral questions or minor issues.static intPRIORITY_UNSPECIFIED_VALUEPriority is undefined or has not been set yet.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Case.PriorityforNumber(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<Case.Priority>internalGetValueMap()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.PriorityvalueOf(String name)Returns 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 Detail
-
PRIORITY_UNSPECIFIED
public static final Case.Priority PRIORITY_UNSPECIFIED
Priority is undefined or has not been set yet.
PRIORITY_UNSPECIFIED = 0;
-
P0
public static final Case.Priority P0
Extreme impact on a production service. Service is hard down.
P0 = 1;
-
P1
public static final Case.Priority P1
Critical impact on a production service. Service is currently unusable.
P1 = 2;
-
P2
public static final Case.Priority P2
Severe impact on a production service. Service is usable but greatly impaired.
P2 = 3;
-
P3
public static final Case.Priority P3
Medium impact on a production service. Service is available, but moderately impaired.
P3 = 4;
-
P4
public static final Case.Priority P4
General questions or minor issues. Production service is fully available.
P4 = 5;
-
UNRECOGNIZED
public static final Case.Priority UNRECOGNIZED
-
-
Field Detail
-
PRIORITY_UNSPECIFIED_VALUE
public static final int PRIORITY_UNSPECIFIED_VALUE
Priority is undefined or has not been set yet.
PRIORITY_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
P0_VALUE
public static final int P0_VALUE
Extreme impact on a production service. Service is hard down.
P0 = 1;- See Also:
- Constant Field Values
-
P1_VALUE
public static final int P1_VALUE
Critical impact on a production service. Service is currently unusable.
P1 = 2;- See Also:
- Constant Field Values
-
P2_VALUE
public static final int P2_VALUE
Severe impact on a production service. Service is usable but greatly impaired.
P2 = 3;- See Also:
- Constant Field Values
-
P3_VALUE
public static final int P3_VALUE
Medium impact on a production service. Service is available, but moderately impaired.
P3 = 4;- See Also:
- Constant Field Values
-
P4_VALUE
public static final int P4_VALUE
General questions or minor issues. Production service is fully available.
P4 = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Case.Priority[] 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 (Case.Priority c : Case.Priority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Case.Priority 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 Case.Priority 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 Case.Priority 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<Case.Priority> 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 Case.Priority 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
-
-