Package com.google.cloud.compute.v1
Enum InterconnectAttachment.EdgeAvailabilityDomain
- java.lang.Object
-
- java.lang.Enum<InterconnectAttachment.EdgeAvailabilityDomain>
-
- com.google.cloud.compute.v1.InterconnectAttachment.EdgeAvailabilityDomain
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<InterconnectAttachment.EdgeAvailabilityDomain>
- Enclosing class:
- InterconnectAttachment
public static enum InterconnectAttachment.EdgeAvailabilityDomain extends Enum<InterconnectAttachment.EdgeAvailabilityDomain> implements com.google.protobuf.ProtocolMessageEnum
Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
Protobuf enumgoogle.cloud.compute.v1.InterconnectAttachment.EdgeAvailabilityDomain
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABILITY_DOMAIN_1
AVAILABILITY_DOMAIN_1 = 349552090;
AVAILABILITY_DOMAIN_2
AVAILABILITY_DOMAIN_2 = 349552091;
AVAILABILITY_DOMAIN_ANY
AVAILABILITY_DOMAIN_ANY = 375256373;
UNDEFINED_EDGE_AVAILABILITY_DOMAIN
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
AVAILABILITY_DOMAIN_1_VALUE
AVAILABILITY_DOMAIN_1 = 349552090;
static int
AVAILABILITY_DOMAIN_2_VALUE
AVAILABILITY_DOMAIN_2 = 349552091;
static int
AVAILABILITY_DOMAIN_ANY_VALUE
AVAILABILITY_DOMAIN_ANY = 375256373;
static int
UNDEFINED_EDGE_AVAILABILITY_DOMAIN_VALUE
A value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InterconnectAttachment.EdgeAvailabilityDomain
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<InterconnectAttachment.EdgeAvailabilityDomain>
internalGetValueMap()
static InterconnectAttachment.EdgeAvailabilityDomain
valueOf(int value)
Deprecated.static InterconnectAttachment.EdgeAvailabilityDomain
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static InterconnectAttachment.EdgeAvailabilityDomain
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterconnectAttachment.EdgeAvailabilityDomain[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_EDGE_AVAILABILITY_DOMAIN
public static final InterconnectAttachment.EdgeAvailabilityDomain UNDEFINED_EDGE_AVAILABILITY_DOMAIN
A value indicating that the enum field is not set.
UNDEFINED_EDGE_AVAILABILITY_DOMAIN = 0;
-
AVAILABILITY_DOMAIN_1
public static final InterconnectAttachment.EdgeAvailabilityDomain AVAILABILITY_DOMAIN_1
AVAILABILITY_DOMAIN_1 = 349552090;
-
AVAILABILITY_DOMAIN_2
public static final InterconnectAttachment.EdgeAvailabilityDomain AVAILABILITY_DOMAIN_2
AVAILABILITY_DOMAIN_2 = 349552091;
-
AVAILABILITY_DOMAIN_ANY
public static final InterconnectAttachment.EdgeAvailabilityDomain AVAILABILITY_DOMAIN_ANY
AVAILABILITY_DOMAIN_ANY = 375256373;
-
UNRECOGNIZED
public static final InterconnectAttachment.EdgeAvailabilityDomain UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_EDGE_AVAILABILITY_DOMAIN_VALUE
public static final int UNDEFINED_EDGE_AVAILABILITY_DOMAIN_VALUE
A value indicating that the enum field is not set.
UNDEFINED_EDGE_AVAILABILITY_DOMAIN = 0;
- See Also:
- Constant Field Values
-
AVAILABILITY_DOMAIN_1_VALUE
public static final int AVAILABILITY_DOMAIN_1_VALUE
AVAILABILITY_DOMAIN_1 = 349552090;
- See Also:
- Constant Field Values
-
AVAILABILITY_DOMAIN_2_VALUE
public static final int AVAILABILITY_DOMAIN_2_VALUE
AVAILABILITY_DOMAIN_2 = 349552091;
- See Also:
- Constant Field Values
-
AVAILABILITY_DOMAIN_ANY_VALUE
public static final int AVAILABILITY_DOMAIN_ANY_VALUE
AVAILABILITY_DOMAIN_ANY = 375256373;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InterconnectAttachment.EdgeAvailabilityDomain[] 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 (InterconnectAttachment.EdgeAvailabilityDomain c : InterconnectAttachment.EdgeAvailabilityDomain.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterconnectAttachment.EdgeAvailabilityDomain 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static InterconnectAttachment.EdgeAvailabilityDomain 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 nameNullPointerException
- if the argument is null
-
forNumber
public static InterconnectAttachment.EdgeAvailabilityDomain 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<InterconnectAttachment.EdgeAvailabilityDomain> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static InterconnectAttachment.EdgeAvailabilityDomain 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
-
-