public enum UptimeCheckRegion extends Enum<UptimeCheckRegion> implements com.google.protobuf.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.
|
USA_IOWA
Allows checks to run from locations within the central United States of
America
|
USA_OREGON
Allows checks to run from locations within the western United States of
America
|
USA_VIRGINIA
Allows checks to run from locations within the eastern 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_IOWA_VALUE
Allows checks to run from locations within the central United States of
America
|
static int |
USA_OREGON_VALUE
Allows checks to run from locations within the western United States of
America
|
static int |
USA_VALUE
Allows checks to run from locations within the United States of America.
|
static int |
USA_VIRGINIA_VALUE
Allows checks to run from locations within the eastern United States of
America
|
| Modifier and Type | Method and Description |
|---|---|
static UptimeCheckRegion |
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<UptimeCheckRegion> |
internalGetValueMap() |
static UptimeCheckRegion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UptimeCheckRegion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UptimeCheckRegion |
valueOf(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 USA_OREGON
Allows checks to run from locations within the western United States of America
USA_OREGON = 5;public static final UptimeCheckRegion USA_IOWA
Allows checks to run from locations within the central United States of America
USA_IOWA = 6;public static final UptimeCheckRegion USA_VIRGINIA
Allows checks to run from locations within the eastern United States of America
USA_VIRGINIA = 7;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 final int USA_OREGON_VALUE
Allows checks to run from locations within the western United States of America
USA_OREGON = 5;public static final int USA_IOWA_VALUE
Allows checks to run from locations within the central United States of America
USA_IOWA = 6;public static final int USA_VIRGINIA_VALUE
Allows checks to run from locations within the eastern United States of America
USA_VIRGINIA = 7;public static UptimeCheckRegion[] values()
for (UptimeCheckRegion c : UptimeCheckRegion.values()) System.out.println(c);
public static UptimeCheckRegion 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 UptimeCheckRegion valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UptimeCheckRegion forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UptimeCheckRegion> 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 UptimeCheckRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.