Package com.google.monitoring.v3
Enum UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
java.lang.Object
java.lang.Enum<UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass>
com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass>
- Enclosing class:
- UptimeCheckConfig.HttpCheck.ResponseStatusCode
public static enum UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
extends Enum<UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass>
implements com.google.protobuf.ProtocolMessageEnum
An HTTP status code class.Protobuf enum
google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe class of status codes between 100 and 199.The class of status codes between 200 and 299.The class of status codes between 300 and 399.The class of status codes between 400 and 499.The class of status codes between 500 and 599.The class of all status codes.Default value that matches no status codes. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe class of status codes between 100 and 199.static final intThe class of status codes between 200 and 299.static final intThe class of status codes between 300 and 399.static final intThe class of status codes between 400 and 499.static final intThe class of status codes between 500 and 599.static final intThe class of all status codes.static final intDefault value that matches no status codes. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATUS_CLASS_UNSPECIFIED
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_UNSPECIFIEDDefault value that matches no status codes.
STATUS_CLASS_UNSPECIFIED = 0; -
STATUS_CLASS_1XX
The class of status codes between 100 and 199.
STATUS_CLASS_1XX = 100; -
STATUS_CLASS_2XX
The class of status codes between 200 and 299.
STATUS_CLASS_2XX = 200; -
STATUS_CLASS_3XX
The class of status codes between 300 and 399.
STATUS_CLASS_3XX = 300; -
STATUS_CLASS_4XX
The class of status codes between 400 and 499.
STATUS_CLASS_4XX = 400; -
STATUS_CLASS_5XX
The class of status codes between 500 and 599.
STATUS_CLASS_5XX = 500; -
STATUS_CLASS_ANY
The class of all status codes.
STATUS_CLASS_ANY = 1000; -
UNRECOGNIZED
-
-
Field Details
-
STATUS_CLASS_UNSPECIFIED_VALUE
public static final int STATUS_CLASS_UNSPECIFIED_VALUEDefault value that matches no status codes.
STATUS_CLASS_UNSPECIFIED = 0;- See Also:
-
STATUS_CLASS_1XX_VALUE
public static final int STATUS_CLASS_1XX_VALUEThe class of status codes between 100 and 199.
STATUS_CLASS_1XX = 100;- See Also:
-
STATUS_CLASS_2XX_VALUE
public static final int STATUS_CLASS_2XX_VALUEThe class of status codes between 200 and 299.
STATUS_CLASS_2XX = 200;- See Also:
-
STATUS_CLASS_3XX_VALUE
public static final int STATUS_CLASS_3XX_VALUEThe class of status codes between 300 and 399.
STATUS_CLASS_3XX = 300;- See Also:
-
STATUS_CLASS_4XX_VALUE
public static final int STATUS_CLASS_4XX_VALUEThe class of status codes between 400 and 499.
STATUS_CLASS_4XX = 400;- See Also:
-
STATUS_CLASS_5XX_VALUE
public static final int STATUS_CLASS_5XX_VALUEThe class of status codes between 500 and 599.
STATUS_CLASS_5XX = 500;- See Also:
-
STATUS_CLASS_ANY_VALUE
public static final int STATUS_CLASS_ANY_VALUEThe class of all status codes.
STATUS_CLASS_ANY = 1000;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass 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
- 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<UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass 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
-