Enum 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 enum google.cloud.compute.v1.InterconnectAttachment.EdgeAvailabilityDomain
    • 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 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
        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 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.
      • 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 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 name
        NullPointerException - if the argument is null