public static enum Instance.NicType extends Enum<Instance.NicType> implements com.google.protobuf.ProtocolMessageEnum
The type of vNIC driver.Protobuf enum
google.cloud.notebooks.v1beta1.Instance.NicType| Enum Constant and Description |
|---|
GVNIC
GVNIC.
|
UNRECOGNIZED |
UNSPECIFIED_NIC_TYPE
No type specified.
|
VIRTIO_NET
VIRTIO.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
GVNIC_VALUE
GVNIC.
|
static int |
UNSPECIFIED_NIC_TYPE_VALUE
No type specified.
|
static int |
VIRTIO_NET_VALUE
VIRTIO.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.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<Instance.NicType> |
internalGetValueMap() |
static Instance.NicType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.NicType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.NicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.NicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.NicType UNSPECIFIED_NIC_TYPE
No type specified. Default should be UNSPECIFIED_NIC_TYPE.
UNSPECIFIED_NIC_TYPE = 0;public static final Instance.NicType VIRTIO_NET
VIRTIO. Default in Notebooks DLVM.
VIRTIO_NET = 1;public static final Instance.NicType GVNIC
GVNIC. Alternative to VIRTIO. https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux
GVNIC = 2;public static final Instance.NicType UNRECOGNIZED
public static final int UNSPECIFIED_NIC_TYPE_VALUE
No type specified. Default should be UNSPECIFIED_NIC_TYPE.
UNSPECIFIED_NIC_TYPE = 0;public static final int VIRTIO_NET_VALUE
VIRTIO. Default in Notebooks DLVM.
VIRTIO_NET = 1;public static final int GVNIC_VALUE
GVNIC. Alternative to VIRTIO. https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux
GVNIC = 2;public static Instance.NicType[] values()
for (Instance.NicType c : Instance.NicType.values()) System.out.println(c);
public static Instance.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 Instance.NicType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.NicType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.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 Instance.NicType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.