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 enum
google.cloud.compute.v1.InterconnectAttachment.EdgeAvailabilityDomain| Enum Constant and 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 |
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InterconnectAttachment.EdgeAvailabilityDomain |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final InterconnectAttachment.EdgeAvailabilityDomain UNDEFINED_EDGE_AVAILABILITY_DOMAIN
A value indicating that the enum field is not set.
UNDEFINED_EDGE_AVAILABILITY_DOMAIN = 0;public static final InterconnectAttachment.EdgeAvailabilityDomain AVAILABILITY_DOMAIN_1
AVAILABILITY_DOMAIN_1 = 349552090;public static final InterconnectAttachment.EdgeAvailabilityDomain AVAILABILITY_DOMAIN_2
AVAILABILITY_DOMAIN_2 = 349552091;public static final InterconnectAttachment.EdgeAvailabilityDomain AVAILABILITY_DOMAIN_ANY
AVAILABILITY_DOMAIN_ANY = 375256373;public static final InterconnectAttachment.EdgeAvailabilityDomain UNRECOGNIZED
public static final int UNDEFINED_EDGE_AVAILABILITY_DOMAIN_VALUE
A value indicating that the enum field is not set.
UNDEFINED_EDGE_AVAILABILITY_DOMAIN = 0;public static final int AVAILABILITY_DOMAIN_1_VALUE
AVAILABILITY_DOMAIN_1 = 349552090;public static final int AVAILABILITY_DOMAIN_2_VALUE
AVAILABILITY_DOMAIN_2 = 349552091;public static final int AVAILABILITY_DOMAIN_ANY_VALUE
AVAILABILITY_DOMAIN_ANY = 375256373;public static InterconnectAttachment.EdgeAvailabilityDomain[] values()
for (InterconnectAttachment.EdgeAvailabilityDomain c : InterconnectAttachment.EdgeAvailabilityDomain.values()) System.out.println(c);
public static InterconnectAttachment.EdgeAvailabilityDomain valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static InterconnectAttachment.EdgeAvailabilityDomain valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InterconnectAttachment.EdgeAvailabilityDomain forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InterconnectAttachment.EdgeAvailabilityDomain> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static InterconnectAttachment.EdgeAvailabilityDomain valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.