public static enum InterconnectAttachment.State extends Enum<InterconnectAttachment.State> implements com.google.protobuf.ProtocolMessageEnum
[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 and Description |
|---|
ACTIVE
Indicates that attachment has been turned up and is ready to use.
|
DEFUNCT
The attachment was deleted externally and is no longer functional.
|
PARTNER_REQUEST_RECEIVED
A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it.
|
PENDING_CUSTOMER
PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.
|
PENDING_PARTNER
A newly created PARTNER attachment that has not yet been configured on the Partner side.
|
STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401; |
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNPROVISIONED
Indicates that attachment is not ready to use yet, because turnup is not complete.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Indicates that attachment has been turned up and is ready to use.
|
static int |
DEFUNCT_VALUE
The attachment was deleted externally and is no longer functional.
|
static int |
PARTNER_REQUEST_RECEIVED_VALUE
A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it.
|
static int |
PENDING_CUSTOMER_VALUE
PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.
|
static int |
PENDING_PARTNER_VALUE
A newly created PARTNER attachment that has not yet been configured on the Partner side.
|
static int |
STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401; |
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNPROVISIONED_VALUE
Indicates that attachment is not ready to use yet, because turnup is not complete.
|
| Modifier and Type | Method and Description |
|---|---|
static InterconnectAttachment.State |
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.State> |
internalGetValueMap() |
static InterconnectAttachment.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InterconnectAttachment.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InterconnectAttachment.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterconnectAttachment.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterconnectAttachment.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final InterconnectAttachment.State ACTIVE
Indicates that attachment has been turned up and is ready to use.
ACTIVE = 314733318;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;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;public static final InterconnectAttachment.State PENDING_CUSTOMER
PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.
PENDING_CUSTOMER = 167494054;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;public static final InterconnectAttachment.State STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401;public static final InterconnectAttachment.State UNPROVISIONED
Indicates that attachment is not ready to use yet, because turnup is not complete.
UNPROVISIONED = 517333979;public static final InterconnectAttachment.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int ACTIVE_VALUE
Indicates that attachment has been turned up and is ready to use.
ACTIVE = 314733318;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;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;public static final int PENDING_CUSTOMER_VALUE
PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.
PENDING_CUSTOMER = 167494054;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;public static final int STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401;public static final int UNPROVISIONED_VALUE
Indicates that attachment is not ready to use yet, because turnup is not complete.
UNPROVISIONED = 517333979;public static InterconnectAttachment.State[] values()
for (InterconnectAttachment.State c : InterconnectAttachment.State.values()) System.out.println(c);
public static InterconnectAttachment.State 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.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InterconnectAttachment.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InterconnectAttachment.State> 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.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.