Package com.google.cloud.compute.v1
Enum InterconnectLocation.Continent
java.lang.Object
java.lang.Enum<InterconnectLocation.Continent>
com.google.cloud.compute.v1.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_AMERICAProtobuf enum
google.cloud.compute.v1.InterconnectLocation.Continent-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAFRICA = 317443706;ASIA_PAC = 119782269;C_AFRICA = 71993846;C_ASIA_PAC = 465668089;C_EUROPE = 200369438;C_NORTH_AMERICA = 275697048;C_SOUTH_AMERICA = 397149792;EUROPE = 445819298;NORTH_AMERICA = 448015508;SOUTH_AMERICA = 32597340;A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAFRICA = 317443706;static final intASIA_PAC = 119782269;static final intC_AFRICA = 71993846;static final intC_ASIA_PAC = 465668089;static final intC_EUROPE = 200369438;static final intC_NORTH_AMERICA = 275697048;static final intC_SOUTH_AMERICA = 397149792;static final intEUROPE = 445819298;static final intNORTH_AMERICA = 448015508;static final intSOUTH_AMERICA = 32597340;static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<InterconnectLocation.Continent>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.static InterconnectLocation.Continent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_CONTINENT
A value indicating that the enum field is not set.
UNDEFINED_CONTINENT = 0; -
AFRICA
AFRICA = 317443706; -
ASIA_PAC
ASIA_PAC = 119782269; -
C_AFRICA
C_AFRICA = 71993846; -
C_ASIA_PAC
C_ASIA_PAC = 465668089; -
C_EUROPE
C_EUROPE = 200369438; -
C_NORTH_AMERICA
C_NORTH_AMERICA = 275697048; -
C_SOUTH_AMERICA
C_SOUTH_AMERICA = 397149792; -
EUROPE
EUROPE = 445819298; -
NORTH_AMERICA
NORTH_AMERICA = 448015508; -
SOUTH_AMERICA
SOUTH_AMERICA = 32597340; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_CONTINENT_VALUE
public static final int UNDEFINED_CONTINENT_VALUEA value indicating that the enum field is not set.
UNDEFINED_CONTINENT = 0;- See Also:
-
AFRICA_VALUE
public static final int AFRICA_VALUEAFRICA = 317443706;- See Also:
-
ASIA_PAC_VALUE
public static final int ASIA_PAC_VALUEASIA_PAC = 119782269;- See Also:
-
C_AFRICA_VALUE
public static final int C_AFRICA_VALUEC_AFRICA = 71993846;- See Also:
-
C_ASIA_PAC_VALUE
public static final int C_ASIA_PAC_VALUEC_ASIA_PAC = 465668089;- See Also:
-
C_EUROPE_VALUE
public static final int C_EUROPE_VALUEC_EUROPE = 200369438;- See Also:
-
C_NORTH_AMERICA_VALUE
public static final int C_NORTH_AMERICA_VALUEC_NORTH_AMERICA = 275697048;- See Also:
-
C_SOUTH_AMERICA_VALUE
public static final int C_SOUTH_AMERICA_VALUEC_SOUTH_AMERICA = 397149792;- See Also:
-
EUROPE_VALUE
public static final int EUROPE_VALUEEUROPE = 445819298;- See Also:
-
NORTH_AMERICA_VALUE
public static final int NORTH_AMERICA_VALUENORTH_AMERICA = 448015508;- See Also:
-
SOUTH_AMERICA_VALUE
public static final int SOUTH_AMERICA_VALUESOUTH_AMERICA = 32597340;- 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
public static com.google.protobuf.Internal.EnumLiteMap<InterconnectLocation.Continent> 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
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 nameNullPointerException- if the argument is null
-