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 enumgoogle.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STATUS_CLASS_1XX
The class of status codes between 100 and 199.STATUS_CLASS_2XX
The class of status codes between 200 and 299.STATUS_CLASS_3XX
The class of status codes between 300 and 399.STATUS_CLASS_4XX
The class of status codes between 400 and 499.STATUS_CLASS_5XX
The class of status codes between 500 and 599.STATUS_CLASS_ANY
The class of all status codes.STATUS_CLASS_UNSPECIFIED
Default value that matches no status codes.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_CLASS_1XX_VALUE
The class of status codes between 100 and 199.static int
STATUS_CLASS_2XX_VALUE
The class of status codes between 200 and 299.static int
STATUS_CLASS_3XX_VALUE
The class of status codes between 300 and 399.static int
STATUS_CLASS_4XX_VALUE
The class of status codes between 400 and 499.static int
STATUS_CLASS_5XX_VALUE
The class of status codes between 500 and 599.static int
STATUS_CLASS_ANY_VALUE
The class of all status codes.static int
STATUS_CLASS_UNSPECIFIED_VALUE
Default value that matches no status codes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass>
internalGetValueMap()
static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
valueOf(int value)
Deprecated.static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass
valueOf(String name)
Returns the enum constant of this type with the specified name.static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATUS_CLASS_UNSPECIFIED
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_UNSPECIFIED
Default value that matches no status codes.
STATUS_CLASS_UNSPECIFIED = 0;
-
STATUS_CLASS_1XX
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_1XX
The class of status codes between 100 and 199.
STATUS_CLASS_1XX = 100;
-
STATUS_CLASS_2XX
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_2XX
The class of status codes between 200 and 299.
STATUS_CLASS_2XX = 200;
-
STATUS_CLASS_3XX
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_3XX
The class of status codes between 300 and 399.
STATUS_CLASS_3XX = 300;
-
STATUS_CLASS_4XX
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_4XX
The class of status codes between 400 and 499.
STATUS_CLASS_4XX = 400;
-
STATUS_CLASS_5XX
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_5XX
The class of status codes between 500 and 599.
STATUS_CLASS_5XX = 500;
-
STATUS_CLASS_ANY
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_ANY
The class of all status codes.
STATUS_CLASS_ANY = 1000;
-
UNRECOGNIZED
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass UNRECOGNIZED
-
-
Field Detail
-
STATUS_CLASS_UNSPECIFIED_VALUE
public static final int STATUS_CLASS_UNSPECIFIED_VALUE
Default value that matches no status codes.
STATUS_CLASS_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
STATUS_CLASS_1XX_VALUE
public static final int STATUS_CLASS_1XX_VALUE
The class of status codes between 100 and 199.
STATUS_CLASS_1XX = 100;
- See Also:
- Constant Field Values
-
STATUS_CLASS_2XX_VALUE
public static final int STATUS_CLASS_2XX_VALUE
The class of status codes between 200 and 299.
STATUS_CLASS_2XX = 200;
- See Also:
- Constant Field Values
-
STATUS_CLASS_3XX_VALUE
public static final int STATUS_CLASS_3XX_VALUE
The class of status codes between 300 and 399.
STATUS_CLASS_3XX = 300;
- See Also:
- Constant Field Values
-
STATUS_CLASS_4XX_VALUE
public static final int STATUS_CLASS_4XX_VALUE
The class of status codes between 400 and 499.
STATUS_CLASS_4XX = 400;
- See Also:
- Constant Field Values
-
STATUS_CLASS_5XX_VALUE
public static final int STATUS_CLASS_5XX_VALUE
The class of status codes between 500 and 599.
STATUS_CLASS_5XX = 500;
- See Also:
- Constant Field Values
-
STATUS_CLASS_ANY_VALUE
public static final int STATUS_CLASS_ANY_VALUE
The class of all status codes.
STATUS_CLASS_ANY = 1000;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass[] 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 (UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass c : UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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
public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass 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<UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-