Enum 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 enum google.monitoring.v3.UptimeCheckRegion
    • 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;
    • 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 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 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 name
        NullPointerException - if the argument is null