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 and 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 |
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_UNSPECIFIED
Default value that matches no status codes.
STATUS_CLASS_UNSPECIFIED = 0;public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_1XX
The class of status codes between 100 and 199.
STATUS_CLASS_1XX = 100;public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_2XX
The class of status codes between 200 and 299.
STATUS_CLASS_2XX = 200;public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_3XX
The class of status codes between 300 and 399.
STATUS_CLASS_3XX = 300;public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_4XX
The class of status codes between 400 and 499.
STATUS_CLASS_4XX = 400;public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_5XX
The class of status codes between 500 and 599.
STATUS_CLASS_5XX = 500;public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass STATUS_CLASS_ANY
The class of all status codes.
STATUS_CLASS_ANY = 1000;public static final UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass UNRECOGNIZED
public static final int STATUS_CLASS_UNSPECIFIED_VALUE
Default value that matches no status codes.
STATUS_CLASS_UNSPECIFIED = 0;public static final int STATUS_CLASS_1XX_VALUE
The class of status codes between 100 and 199.
STATUS_CLASS_1XX = 100;public static final int STATUS_CLASS_2XX_VALUE
The class of status codes between 200 and 299.
STATUS_CLASS_2XX = 200;public static final int STATUS_CLASS_3XX_VALUE
The class of status codes between 300 and 399.
STATUS_CLASS_3XX = 300;public static final int STATUS_CLASS_4XX_VALUE
The class of status codes between 400 and 499.
STATUS_CLASS_4XX = 400;public static final int STATUS_CLASS_5XX_VALUE
The class of status codes between 500 and 599.
STATUS_CLASS_5XX = 500;public static final int STATUS_CLASS_ANY_VALUE
The class of all status codes.
STATUS_CLASS_ANY = 1000;public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass[] values()
for (UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass c : UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass.values()) System.out.println(c);
public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClass valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.