Package com.google.monitoring.v3
Enum UptimeCheckRegion
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UptimeCheckRegion>
@Generated
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 Summary
Enum ConstantsEnum ConstantDescriptionAllows checks to run from locations within the Asia Pacific area (ex: Singapore).Allows checks to run from locations within the continent of Europe.Default value if no region is specified.Allows checks to run from locations within the continent of South America.Allows checks to run from locations within the United States of America.Allows checks to run from locations within the central United States of AmericaAllows checks to run from locations within the western United States of AmericaAllows checks to run from locations within the eastern United States of America -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAllows checks to run from locations within the Asia Pacific area (ex: Singapore).static final intAllows checks to run from locations within the continent of Europe.static final intDefault value if no region is specified.static final intAllows checks to run from locations within the continent of South America.static final intAllows checks to run from locations within the central United States of Americastatic final intAllows checks to run from locations within the western United States of Americastatic final intAllows checks to run from locations within the United States of America.static final intAllows checks to run from locations within the eastern United States of America -
Method Summary
Modifier and TypeMethodDescriptionstatic UptimeCheckRegionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<UptimeCheckRegion>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 UptimeCheckRegionReturns 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 Details
-
REGION_UNSPECIFIED
Default value if no region is specified. Will result in Uptime checks running from all regions.
REGION_UNSPECIFIED = 0; -
USA
Allows checks to run from locations within the United States of America.
USA = 1; -
EUROPE
Allows checks to run from locations within the continent of Europe.
EUROPE = 2; -
SOUTH_AMERICA
Allows checks to run from locations within the continent of South America.
SOUTH_AMERICA = 3; -
ASIA_PACIFIC
Allows checks to run from locations within the Asia Pacific area (ex: Singapore).
ASIA_PACIFIC = 4; -
USA_OREGON
Allows checks to run from locations within the western United States of America
USA_OREGON = 5; -
USA_IOWA
Allows checks to run from locations within the central United States of America
USA_IOWA = 6; -
USA_VIRGINIA
Allows checks to run from locations within the eastern United States of America
USA_VIRGINIA = 7; -
UNRECOGNIZED
-
-
Field Details
-
REGION_UNSPECIFIED_VALUE
public static final int REGION_UNSPECIFIED_VALUEDefault value if no region is specified. Will result in Uptime checks running from all regions.
REGION_UNSPECIFIED = 0;- See Also:
-
USA_VALUE
public static final int USA_VALUEAllows checks to run from locations within the United States of America.
USA = 1;- See Also:
-
EUROPE_VALUE
public static final int EUROPE_VALUEAllows checks to run from locations within the continent of Europe.
EUROPE = 2;- See Also:
-
SOUTH_AMERICA_VALUE
public static final int SOUTH_AMERICA_VALUEAllows checks to run from locations within the continent of South America.
SOUTH_AMERICA = 3;- See Also:
-
ASIA_PACIFIC_VALUE
public static final int ASIA_PACIFIC_VALUEAllows checks to run from locations within the Asia Pacific area (ex: Singapore).
ASIA_PACIFIC = 4;- See Also:
-
USA_OREGON_VALUE
public static final int USA_OREGON_VALUEAllows checks to run from locations within the western United States of America
USA_OREGON = 5;- See Also:
-
USA_IOWA_VALUE
public static final int USA_IOWA_VALUEAllows checks to run from locations within the central United States of America
USA_IOWA = 6;- See Also:
-
USA_VIRGINIA_VALUE
public static final int USA_VIRGINIA_VALUEAllows checks to run from locations within the eastern United States of America
USA_VIRGINIA = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-