public static enum Interconnect.State extends Enum<Interconnect.State> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.Protobuf enum
google.cloud.compute.v1.Interconnect.State| Enum Constant and Description |
|---|
ACTIVE
The interconnect is valid, turned up, and ready to use.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNPROVISIONED
The interconnect has not completed turnup.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The interconnect is valid, turned up, and ready to use.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNPROVISIONED_VALUE
The interconnect has not completed turnup.
|
| Modifier and Type | Method and Description |
|---|---|
static Interconnect.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<Interconnect.State> |
internalGetValueMap() |
static Interconnect.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Interconnect.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Interconnect.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interconnect.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interconnect.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final Interconnect.State ACTIVE
The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect.
ACTIVE = 314733318;public static final Interconnect.State UNPROVISIONED
The interconnect has not completed turnup. No attachments may be provisioned on this interconnect.
UNPROVISIONED = 517333979;public static final Interconnect.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
The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect.
ACTIVE = 314733318;public static final int UNPROVISIONED_VALUE
The interconnect has not completed turnup. No attachments may be provisioned on this interconnect.
UNPROVISIONED = 517333979;public static Interconnect.State[] values()
for (Interconnect.State c : Interconnect.State.values()) System.out.println(c);
public static Interconnect.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 Interconnect.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Interconnect.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Interconnect.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 Interconnect.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.