Enum InterconnectAttachment.State

java.lang.Object
java.lang.Enum<InterconnectAttachment.State>
com.google.cloud.compute.v1.InterconnectAttachment.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<InterconnectAttachment.State>
Enclosing class:
InterconnectAttachment

public static enum InterconnectAttachment.State extends Enum<InterconnectAttachment.State> implements com.google.protobuf.ProtocolMessageEnum
 Output only. [Output Only] The current state of this attachment's functionality.
 Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE,
 PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values
 PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used
 for only PARTNER and PARTNER_PROVIDER interconnect attachments.
 This state can take one of the following values:

 - ACTIVE: The attachment has been turned up and is ready to use.
 - UNPROVISIONED: The attachment is not ready to use yet, because turnup
 is not complete.
 - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet
 been configured on the Partner side.
 - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of
 provisioning after a PARTNER_PROVIDER attachment was created that
 references it.
 - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER
 attachment that is waiting for a customer to activate it.
 - DEFUNCT:
 The attachment was deleted externally and is no longer functional. This
 could be because the associated Interconnect was removed, or because the
 other side of a Partner attachment was deleted.
 
Protobuf enum google.cloud.compute.v1.InterconnectAttachment.State
  • Enum Constant Details

    • UNDEFINED_STATE

      public static final InterconnectAttachment.State UNDEFINED_STATE
       A value indicating that the enum field is not set.
       
      UNDEFINED_STATE = 0;
    • ACTIVE

      public static final InterconnectAttachment.State ACTIVE
       Indicates that attachment has been turned up and is ready to use.
       
      ACTIVE = 314733318;
    • DEFUNCT

      public static final InterconnectAttachment.State DEFUNCT
       The attachment was deleted externally and is no longer functional.
       This could be because the associated Interconnect was wiped out,
       or because the other side of a Partner attachment was deleted.
       
      DEFUNCT = 115891759;
    • PARTNER_REQUEST_RECEIVED

      public static final InterconnectAttachment.State PARTNER_REQUEST_RECEIVED
       A PARTNER attachment is in the process of provisioning after a
       PARTNER_PROVIDER attachment was created that references it.
       
      PARTNER_REQUEST_RECEIVED = 513587304;
    • PENDING_CUSTOMER

      public static final InterconnectAttachment.State PENDING_CUSTOMER
       PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer
       to activate.
       
      PENDING_CUSTOMER = 167494054;
    • PENDING_PARTNER

      public static final InterconnectAttachment.State PENDING_PARTNER
       A newly created PARTNER attachment that has not yet been configured on
       the Partner side.
       
      PENDING_PARTNER = 387890656;
    • STATE_UNSPECIFIED

      public static final InterconnectAttachment.State STATE_UNSPECIFIED
      STATE_UNSPECIFIED = 470755401;
    • UNPROVISIONED

      public static final InterconnectAttachment.State UNPROVISIONED
       Indicates that attachment is not ready to use yet, because turnup is not
       complete.
       
      UNPROVISIONED = 517333979;
    • UNRECOGNIZED

      public static final InterconnectAttachment.State UNRECOGNIZED
  • Field Details

    • UNDEFINED_STATE_VALUE

      public static final int UNDEFINED_STATE_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_STATE = 0;
      See Also:
    • ACTIVE_VALUE

      public static final int ACTIVE_VALUE
       Indicates that attachment has been turned up and is ready to use.
       
      ACTIVE = 314733318;
      See Also:
    • DEFUNCT_VALUE

      public static final int DEFUNCT_VALUE
       The attachment was deleted externally and is no longer functional.
       This could be because the associated Interconnect was wiped out,
       or because the other side of a Partner attachment was deleted.
       
      DEFUNCT = 115891759;
      See Also:
    • PARTNER_REQUEST_RECEIVED_VALUE

      public static final int PARTNER_REQUEST_RECEIVED_VALUE
       A PARTNER attachment is in the process of provisioning after a
       PARTNER_PROVIDER attachment was created that references it.
       
      PARTNER_REQUEST_RECEIVED = 513587304;
      See Also:
    • PENDING_CUSTOMER_VALUE

      public static final int PENDING_CUSTOMER_VALUE
       PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer
       to activate.
       
      PENDING_CUSTOMER = 167494054;
      See Also:
    • PENDING_PARTNER_VALUE

      public static final int PENDING_PARTNER_VALUE
       A newly created PARTNER attachment that has not yet been configured on
       the Partner side.
       
      PENDING_PARTNER = 387890656;
      See Also:
    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
      STATE_UNSPECIFIED = 470755401;
      See Also:
    • UNPROVISIONED_VALUE

      public static final int UNPROVISIONED_VALUE
       Indicates that attachment is not ready to use yet, because turnup is not
       complete.
       
      UNPROVISIONED = 517333979;
      See Also:
  • Method Details

    • values

      public static InterconnectAttachment.State[] 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

      public static InterconnectAttachment.State 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.State 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.State 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.State> 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.State 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