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 Details

  • Field Details

    • 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:
    • AVAILABILITY_DOMAIN_1_VALUE

      public static final int AVAILABILITY_DOMAIN_1_VALUE
      AVAILABILITY_DOMAIN_1 = 349552090;
      See Also:
    • AVAILABILITY_DOMAIN_2_VALUE

      public static final int AVAILABILITY_DOMAIN_2_VALUE
      AVAILABILITY_DOMAIN_2 = 349552091;
      See Also:
    • AVAILABILITY_DOMAIN_ANY_VALUE

      public static final int AVAILABILITY_DOMAIN_ANY_VALUE
      AVAILABILITY_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 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.
      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 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 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 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 name
      NullPointerException - if the argument is null