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.v2.Case.Priority
    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null