public static enum Protos.ContainerInfo.DockerInfo.Network extends java.lang.Enum<Protos.ContainerInfo.DockerInfo.Network>
Network options.Protobuf enum
mesos.ContainerInfo.DockerInfo.Network
Enum Constant and Description |
---|
BRIDGE
BRIDGE = 2; |
HOST
HOST = 1; |
NONE
NONE = 3; |
USER
USER = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
BRIDGE_VALUE
BRIDGE = 2; |
static int |
HOST_VALUE
HOST = 1; |
static int |
NONE_VALUE
NONE = 3; |
static int |
USER_VALUE
USER = 4; |
Modifier and Type | Method and Description |
---|---|
static Protos.ContainerInfo.DockerInfo.Network |
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 <any> |
internalGetValueMap() |
static Protos.ContainerInfo.DockerInfo.Network |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.ContainerInfo.DockerInfo.Network |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.ContainerInfo.DockerInfo.Network |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.ContainerInfo.DockerInfo.Network[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.ContainerInfo.DockerInfo.Network HOST
HOST = 1;
public static final Protos.ContainerInfo.DockerInfo.Network BRIDGE
BRIDGE = 2;
public static final Protos.ContainerInfo.DockerInfo.Network NONE
NONE = 3;
public static final Protos.ContainerInfo.DockerInfo.Network USER
USER = 4;
public static final int HOST_VALUE
HOST = 1;
public static final int BRIDGE_VALUE
BRIDGE = 2;
public static final int NONE_VALUE
NONE = 3;
public static final int USER_VALUE
USER = 4;
public static Protos.ContainerInfo.DockerInfo.Network[] values()
for (Protos.ContainerInfo.DockerInfo.Network c : Protos.ContainerInfo.DockerInfo.Network.values()) System.out.println(c);
public static Protos.ContainerInfo.DockerInfo.Network valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
@Deprecated public static Protos.ContainerInfo.DockerInfo.Network valueOf(int value)
forNumber(int)
instead.public static Protos.ContainerInfo.DockerInfo.Network forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.ContainerInfo.DockerInfo.Network valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)