public enum UptimeCheckRegion extends java.lang.Enum<UptimeCheckRegion> implements ProtocolMessageEnum
The regions from which an uptime check can be run.Protobuf enum
google.monitoring.v3.UptimeCheckRegion
Enum Constant and Description |
---|
ASIA_PACIFIC
Allows checks to run from locations within the Asia Pacific area (ex:
Singapore).
|
EUROPE
Allows checks to run from locations within the continent of Europe.
|
REGION_UNSPECIFIED
Default value if no region is specified.
|
SOUTH_AMERICA
Allows checks to run from locations within the continent of South
America.
|
UNRECOGNIZED |
USA
Allows checks to run from locations within the United States of America.
|
Modifier and Type | Field and Description |
---|---|
static int |
ASIA_PACIFIC_VALUE
Allows checks to run from locations within the Asia Pacific area (ex:
Singapore).
|
static int |
EUROPE_VALUE
Allows checks to run from locations within the continent of Europe.
|
static int |
REGION_UNSPECIFIED_VALUE
Default value if no region is specified.
|
static int |
SOUTH_AMERICA_VALUE
Allows checks to run from locations within the continent of South
America.
|
static int |
USA_VALUE
Allows checks to run from locations within the United States of America.
|
Modifier and Type | Method and Description |
---|---|
static UptimeCheckRegion |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<UptimeCheckRegion> |
internalGetValueMap() |
static UptimeCheckRegion |
valueOf(Descriptors.EnumValueDescriptor desc) |
static UptimeCheckRegion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UptimeCheckRegion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UptimeCheckRegion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UptimeCheckRegion REGION_UNSPECIFIED
Default value if no region is specified. Will result in uptime checks running from all regions.
REGION_UNSPECIFIED = 0;
public static final UptimeCheckRegion USA
Allows checks to run from locations within the United States of America.
USA = 1;
public static final UptimeCheckRegion EUROPE
Allows checks to run from locations within the continent of Europe.
EUROPE = 2;
public static final UptimeCheckRegion SOUTH_AMERICA
Allows checks to run from locations within the continent of South America.
SOUTH_AMERICA = 3;
public static final UptimeCheckRegion ASIA_PACIFIC
Allows checks to run from locations within the Asia Pacific area (ex: Singapore).
ASIA_PACIFIC = 4;
public static final UptimeCheckRegion UNRECOGNIZED
public static final int REGION_UNSPECIFIED_VALUE
Default value if no region is specified. Will result in uptime checks running from all regions.
REGION_UNSPECIFIED = 0;
public static final int USA_VALUE
Allows checks to run from locations within the United States of America.
USA = 1;
public static final int EUROPE_VALUE
Allows checks to run from locations within the continent of Europe.
EUROPE = 2;
public static final int SOUTH_AMERICA_VALUE
Allows checks to run from locations within the continent of South America.
SOUTH_AMERICA = 3;
public static final int ASIA_PACIFIC_VALUE
Allows checks to run from locations within the Asia Pacific area (ex: Singapore).
ASIA_PACIFIC = 4;
public static UptimeCheckRegion[] values()
for (UptimeCheckRegion c : UptimeCheckRegion.values()) System.out.println(c);
public static UptimeCheckRegion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static UptimeCheckRegion valueOf(int value)
forNumber(int)
instead.public static UptimeCheckRegion forNumber(int value)
public static Internal.EnumLiteMap<UptimeCheckRegion> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static UptimeCheckRegion valueOf(Descriptors.EnumValueDescriptor desc)