Enum Escalation.Reason

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Escalation.Reason>
    Enclosing class:
    Escalation

    public static enum Escalation.Reason
    extends Enum<Escalation.Reason>
    implements com.google.protobuf.ProtocolMessageEnum
     An enum detailing the possible reasons a case may be escalated.
     
    Protobuf enum google.cloud.support.v2.Escalation.Reason
    • Enum Constant Detail

      • REASON_UNSPECIFIED

        public static final Escalation.Reason REASON_UNSPECIFIED
         The escalation reason is in an unknown state or has not been specified.
         
        REASON_UNSPECIFIED = 0;
      • RESOLUTION_TIME

        public static final Escalation.Reason RESOLUTION_TIME
         The case is taking too long to resolve.
         
        RESOLUTION_TIME = 1;
      • TECHNICAL_EXPERTISE

        public static final Escalation.Reason TECHNICAL_EXPERTISE
         The support agent does not have the expertise required to successfully
         resolve the issue.
         
        TECHNICAL_EXPERTISE = 2;
      • BUSINESS_IMPACT

        public static final Escalation.Reason BUSINESS_IMPACT
         The issue is having a significant business impact.
         
        BUSINESS_IMPACT = 3;
    • Field Detail

      • REASON_UNSPECIFIED_VALUE

        public static final int REASON_UNSPECIFIED_VALUE
         The escalation reason is in an unknown state or has not been specified.
         
        REASON_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • RESOLUTION_TIME_VALUE

        public static final int RESOLUTION_TIME_VALUE
         The case is taking too long to resolve.
         
        RESOLUTION_TIME = 1;
        See Also:
        Constant Field Values
      • TECHNICAL_EXPERTISE_VALUE

        public static final int TECHNICAL_EXPERTISE_VALUE
         The support agent does not have the expertise required to successfully
         resolve the issue.
         
        TECHNICAL_EXPERTISE = 2;
        See Also:
        Constant Field Values
      • BUSINESS_IMPACT_VALUE

        public static final int BUSINESS_IMPACT_VALUE
         The issue is having a significant business impact.
         
        BUSINESS_IMPACT = 3;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Escalation.Reason[] 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 (Escalation.Reason c : Escalation.Reason.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Escalation.Reason 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 Escalation.Reason 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 Escalation.Reason 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<Escalation.Reason> 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 Escalation.Reason 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