public static enum Interconnect.LinkType extends Enum<Interconnect.LinkType> implements com.google.protobuf.ProtocolMessageEnum
Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.Protobuf enum
google.cloud.compute.v1.Interconnect.LinkType| Enum Constant and Description |
|---|
LINK_TYPE_ETHERNET_100G_LR
100G Ethernet, LR Optics.
|
LINK_TYPE_ETHERNET_10G_LR
10G Ethernet, LR Optics.
|
UNDEFINED_LINK_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LINK_TYPE_ETHERNET_100G_LR_VALUE
100G Ethernet, LR Optics.
|
static int |
LINK_TYPE_ETHERNET_10G_LR_VALUE
10G Ethernet, LR Optics.
|
static int |
UNDEFINED_LINK_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Interconnect.LinkType |
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.LinkType> |
internalGetValueMap() |
static Interconnect.LinkType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Interconnect.LinkType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Interconnect.LinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interconnect.LinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interconnect.LinkType UNDEFINED_LINK_TYPE
A value indicating that the enum field is not set.
UNDEFINED_LINK_TYPE = 0;public static final Interconnect.LinkType LINK_TYPE_ETHERNET_100G_LR
100G Ethernet, LR Optics.
LINK_TYPE_ETHERNET_100G_LR = 337672551;public static final Interconnect.LinkType LINK_TYPE_ETHERNET_10G_LR
10G Ethernet, LR Optics. [(rate_bps) = 10000000000];
LINK_TYPE_ETHERNET_10G_LR = 236739749;public static final Interconnect.LinkType UNRECOGNIZED
public static final int UNDEFINED_LINK_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_LINK_TYPE = 0;public static final int LINK_TYPE_ETHERNET_100G_LR_VALUE
100G Ethernet, LR Optics.
LINK_TYPE_ETHERNET_100G_LR = 337672551;public static final int LINK_TYPE_ETHERNET_10G_LR_VALUE
10G Ethernet, LR Optics. [(rate_bps) = 10000000000];
LINK_TYPE_ETHERNET_10G_LR = 236739749;public static Interconnect.LinkType[] values()
for (Interconnect.LinkType c : Interconnect.LinkType.values()) System.out.println(c);
public static Interconnect.LinkType 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.LinkType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Interconnect.LinkType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Interconnect.LinkType> 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.LinkType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.