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] 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 enumgoogle.cloud.compute.v1.InterconnectAttachment.State
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(int value)
Deprecated.static InterconnectAttachment.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
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 Detail
-
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:
- Constant Field Values
-
ACTIVE_VALUE
public static final int ACTIVE_VALUE
Indicates that attachment has been turned up and is ready to use.
ACTIVE = 314733318;
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401;
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static InterconnectAttachment.State[] 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.State c : InterconnectAttachment.State.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.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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-