Enum ErrorGroupOrder
- java.lang.Object
-
- java.lang.Enum<ErrorGroupOrder>
-
- com.google.devtools.clouderrorreporting.v1beta1.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 enumgoogle.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFFECTED_USERS_DESCNumber of affected users in the given time window in descending order.COUNT_DESCTotal count of errors in the given time window in descending order.CREATED_DESCTimestamp when the group was created in descending order.GROUP_ORDER_UNSPECIFIEDNo group order specified.LAST_SEEN_DESCTimestamp when the group was last seen in the given time window in descending order.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intAFFECTED_USERS_DESC_VALUENumber of affected users in the given time window in descending order.static intCOUNT_DESC_VALUETotal count of errors in the given time window in descending order.static intCREATED_DESC_VALUETimestamp when the group was created in descending order.static intGROUP_ORDER_UNSPECIFIED_VALUENo group order specified.static intLAST_SEEN_DESC_VALUETimestamp when the group was last seen in the given time window in descending order.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ErrorGroupOrderforNumber(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<ErrorGroupOrder>internalGetValueMap()static ErrorGroupOrdervalueOf(int value)Deprecated.static ErrorGroupOrdervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ErrorGroupOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorGroupOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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;
-
UNRECOGNIZED
public static final ErrorGroupOrder UNRECOGNIZED
-
-
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 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 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 nameNullPointerException- 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:
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 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 nameNullPointerException- if the argument is null
-
-