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
Input only. 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 enum
google.cloud.compute.v1.InterconnectAttachment.EdgeAvailabilityDomain-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAVAILABILITY_DOMAIN_1 = 349552090;AVAILABILITY_DOMAIN_2 = 349552091;AVAILABILITY_DOMAIN_ANY = 375256373;A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAVAILABILITY_DOMAIN_1 = 349552090;static final intAVAILABILITY_DOMAIN_2 = 349552091;static final intAVAILABILITY_DOMAIN_ANY = 375256373;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<InterconnectAttachment.EdgeAvailabilityDomain>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_EDGE_AVAILABILITY_DOMAIN
public static final InterconnectAttachment.EdgeAvailabilityDomain UNDEFINED_EDGE_AVAILABILITY_DOMAINA value indicating that the enum field is not set.
UNDEFINED_EDGE_AVAILABILITY_DOMAIN = 0; -
AVAILABILITY_DOMAIN_1
AVAILABILITY_DOMAIN_1 = 349552090; -
AVAILABILITY_DOMAIN_2
AVAILABILITY_DOMAIN_2 = 349552091; -
AVAILABILITY_DOMAIN_ANY
AVAILABILITY_DOMAIN_ANY = 375256373; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_EDGE_AVAILABILITY_DOMAIN_VALUE
public static final int UNDEFINED_EDGE_AVAILABILITY_DOMAIN_VALUEA value indicating that the enum field is not set.
UNDEFINED_EDGE_AVAILABILITY_DOMAIN = 0;- See Also:
-
AVAILABILITY_DOMAIN_1_VALUE
public static final int AVAILABILITY_DOMAIN_1_VALUEAVAILABILITY_DOMAIN_1 = 349552090;- See Also:
-
AVAILABILITY_DOMAIN_2_VALUE
public static final int AVAILABILITY_DOMAIN_2_VALUEAVAILABILITY_DOMAIN_2 = 349552091;- See Also:
-
AVAILABILITY_DOMAIN_ANY_VALUE
public static final int AVAILABILITY_DOMAIN_ANY_VALUEAVAILABILITY_DOMAIN_ANY = 375256373;- 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<InterconnectAttachment.EdgeAvailabilityDomain> 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 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
-