Package com.google.cloud.compute.v1
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 Summary
Enum ConstantsEnum ConstantDescriptionIndicates that attachment has been turned up and is ready to use.The attachment was deleted externally and is no longer functional.A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it.PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.A newly created PARTNER attachment that has not yet been configured on the Partner side.STATE_UNSPECIFIED = 470755401;A value indicating that the enum field is not set.Indicates that attachment is not ready to use yet, because turnup is not complete. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that attachment has been turned up and is ready to use.static final intThe attachment was deleted externally and is no longer functional.static final intA PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it.static final intPARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.static final intA newly created PARTNER attachment that has not yet been configured on the Partner side.static final intSTATE_UNSPECIFIED = 470755401;static final intA value indicating that the enum field is not set.static final intIndicates that attachment is not ready to use yet, because turnup is not complete. -
Method Summary
Modifier and TypeMethodDescriptionstatic InterconnectAttachment.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<InterconnectAttachment.State>static InterconnectAttachment.StatevalueOf(int value) Deprecated.static InterconnectAttachment.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static InterconnectAttachment.StateReturns 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.
-
Enum Constant Details
-
UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0; -
ACTIVE
Indicates that attachment has been turned up and is ready to use.
ACTIVE = 314733318; -
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
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
PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.
PENDING_CUSTOMER = 167494054; -
PENDING_PARTNER
A newly created PARTNER attachment that has not yet been configured on the Partner side.
PENDING_PARTNER = 387890656; -
STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401; -
UNPROVISIONED
Indicates that attachment is not ready to use yet, because turnup is not complete.
UNPROVISIONED = 517333979; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_STATE_VALUE
public static final int UNDEFINED_STATE_VALUEA value indicating that the enum field is not set.
UNDEFINED_STATE = 0;- See Also:
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEIndicates that attachment has been turned up and is ready to use.
ACTIVE = 314733318;- See Also:
-
DEFUNCT_VALUE
public static final int DEFUNCT_VALUEThe 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_VALUEA 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_VALUEPARTNER 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_VALUEA 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_VALUESTATE_UNSPECIFIED = 470755401;- See Also:
-
UNPROVISIONED_VALUE
public static final int UNPROVISIONED_VALUEIndicates that attachment is not ready to use yet, because turnup is not complete.
UNPROVISIONED = 517333979;- 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-