Enum ErrorGroupOrder

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ErrorGroupOrder>

    public enum ErrorGroupOrder
    extends Enum<ErrorGroupOrder>
    implements com.google.protobuf.ProtocolMessageEnum
     A sorting order of error groups.
     
    Protobuf enum google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder
    • Enum Constant Detail

      • GROUP_ORDER_UNSPECIFIED

        public static final ErrorGroupOrder GROUP_ORDER_UNSPECIFIED
         No group order specified.
         
        GROUP_ORDER_UNSPECIFIED = 0;
      • COUNT_DESC

        public static final ErrorGroupOrder COUNT_DESC
         Total count of errors in the given time window in descending order.
         
        COUNT_DESC = 1;
      • LAST_SEEN_DESC

        public static final ErrorGroupOrder LAST_SEEN_DESC
         Timestamp when the group was last seen in the given time window
         in descending order.
         
        LAST_SEEN_DESC = 2;
      • CREATED_DESC

        public static final ErrorGroupOrder CREATED_DESC
         Timestamp when the group was created in descending order.
         
        CREATED_DESC = 3;
      • AFFECTED_USERS_DESC

        public static final ErrorGroupOrder AFFECTED_USERS_DESC
         Number of affected users in the given time window in descending order.
         
        AFFECTED_USERS_DESC = 4;
    • Field Detail

      • GROUP_ORDER_UNSPECIFIED_VALUE

        public static final int GROUP_ORDER_UNSPECIFIED_VALUE
         No group order specified.
         
        GROUP_ORDER_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • COUNT_DESC_VALUE

        public static final int COUNT_DESC_VALUE
         Total count of errors in the given time window in descending order.
         
        COUNT_DESC = 1;
        See Also:
        Constant Field Values
      • LAST_SEEN_DESC_VALUE

        public static final int LAST_SEEN_DESC_VALUE
         Timestamp when the group was last seen in the given time window
         in descending order.
         
        LAST_SEEN_DESC = 2;
        See Also:
        Constant Field Values
      • CREATED_DESC_VALUE

        public static final int CREATED_DESC_VALUE
         Timestamp when the group was created in descending order.
         
        CREATED_DESC = 3;
        See Also:
        Constant Field Values
      • AFFECTED_USERS_DESC_VALUE

        public static final int AFFECTED_USERS_DESC_VALUE
         Number of affected users in the given time window in descending order.
         
        AFFECTED_USERS_DESC = 4;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static ErrorGroupOrder 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 ErrorGroupOrder 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 ErrorGroupOrder 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<ErrorGroupOrder> 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 ErrorGroupOrder 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