public static enum Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode extends java.lang.Enum<Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode>
mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode
Enum Constant and Description |
---|
MULTI_NODE_MULTI_WRITER
Can be published as read/write at multiple nodes
simultaneously.
|
MULTI_NODE_READER_ONLY
Can be published as readonly at multiple nodes simultaneously.
|
MULTI_NODE_SINGLE_WRITER
Can be published at multiple nodes simultaneously.
|
SINGLE_NODE_READER_ONLY
Can only be published once as readonly on a single node, at
any given time.
|
SINGLE_NODE_WRITER
Can only be published once as read/write on a single node, at
any given time.
|
UNKNOWN
UNKNOWN = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
MULTI_NODE_MULTI_WRITER_VALUE
Can be published as read/write at multiple nodes
simultaneously.
|
static int |
MULTI_NODE_READER_ONLY_VALUE
Can be published as readonly at multiple nodes simultaneously.
|
static int |
MULTI_NODE_SINGLE_WRITER_VALUE
Can be published at multiple nodes simultaneously.
|
static int |
SINGLE_NODE_READER_ONLY_VALUE
Can only be published once as readonly on a single node, at
any given time.
|
static int |
SINGLE_NODE_WRITER_VALUE
Can only be published once as read/write on a single node, at
any given time.
|
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode |
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.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode UNKNOWN
UNKNOWN = 0;
public static final Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode SINGLE_NODE_WRITER
Can only be published once as read/write on a single node, at any given time.
SINGLE_NODE_WRITER = 1;
public static final Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode SINGLE_NODE_READER_ONLY
Can only be published once as readonly on a single node, at any given time.
SINGLE_NODE_READER_ONLY = 2;
public static final Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode MULTI_NODE_READER_ONLY
Can be published as readonly at multiple nodes simultaneously.
MULTI_NODE_READER_ONLY = 3;
public static final Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode MULTI_NODE_SINGLE_WRITER
Can be published at multiple nodes simultaneously. Only one of the node can be used as read/write. The rest will be readonly.
MULTI_NODE_SINGLE_WRITER = 4;
public static final Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode MULTI_NODE_MULTI_WRITER
Can be published as read/write at multiple nodes simultaneously.
MULTI_NODE_MULTI_WRITER = 5;
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int SINGLE_NODE_WRITER_VALUE
Can only be published once as read/write on a single node, at any given time.
SINGLE_NODE_WRITER = 1;
public static final int SINGLE_NODE_READER_ONLY_VALUE
Can only be published once as readonly on a single node, at any given time.
SINGLE_NODE_READER_ONLY = 2;
public static final int MULTI_NODE_READER_ONLY_VALUE
Can be published as readonly at multiple nodes simultaneously.
MULTI_NODE_READER_ONLY = 3;
public static final int MULTI_NODE_SINGLE_WRITER_VALUE
Can be published at multiple nodes simultaneously. Only one of the node can be used as read/write. The rest will be readonly.
MULTI_NODE_SINGLE_WRITER = 4;
public static final int MULTI_NODE_MULTI_WRITER_VALUE
Can be published as read/write at multiple nodes simultaneously.
MULTI_NODE_MULTI_WRITER = 5;
public static Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode[] values()
for (Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode c : Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode.values()) System.out.println(c);
public static Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode 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.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode valueOf(int value)
forNumber(int)
instead.public static Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode 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.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)