public static enum NetworkInterface.NicType extends Enum<NetworkInterface.NicType> implements com.google.protobuf.ProtocolMessageEnum
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.Protobuf enum
google.cloud.compute.v1.NetworkInterface.NicType| Enum Constant and Description |
|---|
GVNIC
GVNIC
|
UNDEFINED_NIC_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED_NIC_TYPE
No type specified.
|
VIRTIO_NET
VIRTIO
|
| Modifier and Type | Field and Description |
|---|---|
static int |
GVNIC_VALUE
GVNIC
|
static int |
UNDEFINED_NIC_TYPE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_NIC_TYPE_VALUE
No type specified.
|
static int |
VIRTIO_NET_VALUE
VIRTIO
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkInterface.NicType |
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<NetworkInterface.NicType> |
internalGetValueMap() |
static NetworkInterface.NicType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkInterface.NicType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkInterface.NicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkInterface.NicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkInterface.NicType UNDEFINED_NIC_TYPE
A value indicating that the enum field is not set.
UNDEFINED_NIC_TYPE = 0;public static final NetworkInterface.NicType GVNIC
GVNIC
GVNIC = 68209305;public static final NetworkInterface.NicType UNSPECIFIED_NIC_TYPE
No type specified.
UNSPECIFIED_NIC_TYPE = 67411801;public static final NetworkInterface.NicType VIRTIO_NET
VIRTIO
VIRTIO_NET = 452123481;public static final NetworkInterface.NicType UNRECOGNIZED
public static final int UNDEFINED_NIC_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_NIC_TYPE = 0;public static final int GVNIC_VALUE
GVNIC
GVNIC = 68209305;public static final int UNSPECIFIED_NIC_TYPE_VALUE
No type specified.
UNSPECIFIED_NIC_TYPE = 67411801;public static final int VIRTIO_NET_VALUE
VIRTIO
VIRTIO_NET = 452123481;public static NetworkInterface.NicType[] values()
for (NetworkInterface.NicType c : NetworkInterface.NicType.values()) System.out.println(c);
public static NetworkInterface.NicType 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 NetworkInterface.NicType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkInterface.NicType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkInterface.NicType> 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 NetworkInterface.NicType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.