Package com.google.monitoring.v3
Enum UptimeCheckRegion
- java.lang.Object
-
- java.lang.Enum<UptimeCheckRegion>
-
- com.google.monitoring.v3.UptimeCheckRegion
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UptimeCheckRegion>
public enum UptimeCheckRegion extends Enum<UptimeCheckRegion> implements com.google.protobuf.ProtocolMessageEnum
The regions from which an Uptime check can be run.
Protobuf enumgoogle.monitoring.v3.UptimeCheckRegion
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASIA_PACIFICAllows checks to run from locations within the Asia Pacific area (ex: Singapore).EUROPEAllows checks to run from locations within the continent of Europe.REGION_UNSPECIFIEDDefault value if no region is specified.SOUTH_AMERICAAllows checks to run from locations within the continent of South America.UNRECOGNIZEDUSAAllows checks to run from locations within the United States of America.USA_IOWAAllows checks to run from locations within the central United States of AmericaUSA_OREGONAllows checks to run from locations within the western United States of AmericaUSA_VIRGINIAAllows checks to run from locations within the eastern United States of America
-
Field Summary
Fields Modifier and Type Field Description static intASIA_PACIFIC_VALUEAllows checks to run from locations within the Asia Pacific area (ex: Singapore).static intEUROPE_VALUEAllows checks to run from locations within the continent of Europe.static intREGION_UNSPECIFIED_VALUEDefault value if no region is specified.static intSOUTH_AMERICA_VALUEAllows checks to run from locations within the continent of South America.static intUSA_IOWA_VALUEAllows checks to run from locations within the central United States of Americastatic intUSA_OREGON_VALUEAllows checks to run from locations within the western United States of Americastatic intUSA_VALUEAllows checks to run from locations within the United States of America.static intUSA_VIRGINIA_VALUEAllows checks to run from locations within the eastern United States of America
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UptimeCheckRegionforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<UptimeCheckRegion>internalGetValueMap()static UptimeCheckRegionvalueOf(int value)Deprecated.static UptimeCheckRegionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static UptimeCheckRegionvalueOf(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.
-
-
-
Enum Constant Detail
-
REGION_UNSPECIFIED
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;
-
USA
public static final UptimeCheckRegion USA
Allows checks to run from locations within the United States of America.
USA = 1;
-
EUROPE
public static final UptimeCheckRegion EUROPE
Allows checks to run from locations within the continent of Europe.
EUROPE = 2;
-
SOUTH_AMERICA
public static final UptimeCheckRegion SOUTH_AMERICA
Allows checks to run from locations within the continent of South America.
SOUTH_AMERICA = 3;
-
ASIA_PACIFIC
public static final UptimeCheckRegion ASIA_PACIFIC
Allows checks to run from locations within the Asia Pacific area (ex: Singapore).
ASIA_PACIFIC = 4;
-
USA_OREGON
public static final UptimeCheckRegion USA_OREGON
Allows checks to run from locations within the western United States of America
USA_OREGON = 5;
-
USA_IOWA
public static final UptimeCheckRegion USA_IOWA
Allows checks to run from locations within the central United States of America
USA_IOWA = 6;
-
USA_VIRGINIA
public static final UptimeCheckRegion USA_VIRGINIA
Allows checks to run from locations within the eastern United States of America
USA_VIRGINIA = 7;
-
UNRECOGNIZED
public static final UptimeCheckRegion UNRECOGNIZED
-
-
Field Detail
-
REGION_UNSPECIFIED_VALUE
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;- See Also:
- Constant Field Values
-
USA_VALUE
public static final int USA_VALUE
Allows checks to run from locations within the United States of America.
USA = 1;- See Also:
- Constant Field Values
-
EUROPE_VALUE
public static final int EUROPE_VALUE
Allows checks to run from locations within the continent of Europe.
EUROPE = 2;- See Also:
- Constant Field Values
-
SOUTH_AMERICA_VALUE
public static final int SOUTH_AMERICA_VALUE
Allows checks to run from locations within the continent of South America.
SOUTH_AMERICA = 3;- See Also:
- Constant Field Values
-
ASIA_PACIFIC_VALUE
public static final int ASIA_PACIFIC_VALUE
Allows checks to run from locations within the Asia Pacific area (ex: Singapore).
ASIA_PACIFIC = 4;- See Also:
- Constant Field Values
-
USA_OREGON_VALUE
public static final int USA_OREGON_VALUE
Allows checks to run from locations within the western United States of America
USA_OREGON = 5;- See Also:
- Constant Field Values
-
USA_IOWA_VALUE
public static final int USA_IOWA_VALUE
Allows checks to run from locations within the central United States of America
USA_IOWA = 6;- See Also:
- Constant Field Values
-
USA_VIRGINIA_VALUE
public static final int USA_VIRGINIA_VALUE
Allows checks to run from locations within the eastern United States of America
USA_VIRGINIA = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static UptimeCheckRegion[] 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 (UptimeCheckRegion c : UptimeCheckRegion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UptimeCheckRegion 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static UptimeCheckRegion 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 UptimeCheckRegion 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<UptimeCheckRegion> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static UptimeCheckRegion 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
-
-