Enum InterconnectLocation.Continent

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<InterconnectLocation.Continent>
    Enclosing class:
    InterconnectLocation

    public static enum InterconnectLocation.Continent
    extends Enum<InterconnectLocation.Continent>
    implements com.google.protobuf.ProtocolMessageEnum
     [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
     
    Protobuf enum google.cloud.compute.v1.InterconnectLocation.Continent
    • Field Detail

      • UNDEFINED_CONTINENT_VALUE

        public static final int UNDEFINED_CONTINENT_VALUE
         A value indicating that the enum field is not set.
         
        UNDEFINED_CONTINENT = 0;
        See Also:
        Constant Field Values
      • ASIA_PAC_VALUE

        public static final int ASIA_PAC_VALUE
        ASIA_PAC = 119782269;
        See Also:
        Constant Field Values
      • C_AFRICA_VALUE

        public static final int C_AFRICA_VALUE
        C_AFRICA = 71993846;
        See Also:
        Constant Field Values
      • C_ASIA_PAC_VALUE

        public static final int C_ASIA_PAC_VALUE
        C_ASIA_PAC = 465668089;
        See Also:
        Constant Field Values
      • C_EUROPE_VALUE

        public static final int C_EUROPE_VALUE
        C_EUROPE = 200369438;
        See Also:
        Constant Field Values
      • C_NORTH_AMERICA_VALUE

        public static final int C_NORTH_AMERICA_VALUE
        C_NORTH_AMERICA = 275697048;
        See Also:
        Constant Field Values
      • C_SOUTH_AMERICA_VALUE

        public static final int C_SOUTH_AMERICA_VALUE
        C_SOUTH_AMERICA = 397149792;
        See Also:
        Constant Field Values
      • NORTH_AMERICA_VALUE

        public static final int NORTH_AMERICA_VALUE
        NORTH_AMERICA = 448015508;
        See Also:
        Constant Field Values
      • SOUTH_AMERICA_VALUE

        public static final int SOUTH_AMERICA_VALUE
        SOUTH_AMERICA = 32597340;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static InterconnectLocation.Continent[] 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 (InterconnectLocation.Continent c : InterconnectLocation.Continent.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InterconnectLocation.Continent 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 InterconnectLocation.Continent 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 InterconnectLocation.Continent forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • 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 InterconnectLocation.Continent 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