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>

@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 Constants
    Enum Constant
    Description
    Allows 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 America
    Allows checks to run from locations within the western United States of America
    Allows checks to run from locations within the eastern United States of America
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Allows checks to run from locations within the Asia Pacific area (ex: Singapore).
    static final int
    Allows checks to run from locations within the continent of Europe.
    static final int
    Default value if no region is specified.
    static final int
    Allows checks to run from locations within the continent of South America.
    static final int
    Allows checks to run from locations within the central United States of America
    static final int
    Allows checks to run from locations within the western United States of America
    static final int
    Allows checks to run from locations within the United States of America.
    static final int
    Allows checks to run from locations within the eastern United States of America
  • Method Summary

    Modifier and Type
    Method
    Description
    forNumber(int value)
     
    static com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<UptimeCheckRegion>
     
    valueOf(int value)
    Deprecated.
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • 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 Details

    • 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:
    • USA_VALUE

      public static final int USA_VALUE
       Allows checks to run from locations within the United States of America.
       
      USA = 1;
      See Also:
    • EUROPE_VALUE

      public static final int EUROPE_VALUE
       Allows checks to run from locations within the continent of Europe.
       
      EUROPE = 2;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
  • Method Details

    • values

      public static UptimeCheckRegion[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static 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 name
      NullPointerException - if the argument is null