public static enum Protos.Volume.Source.Type extends java.lang.Enum<Protos.Volume.Source.Type>
mesos.Volume.Source.Type
Enum Constant and Description |
---|
CSI_VOLUME
CSI_VOLUME = 5; |
DOCKER_VOLUME
TODO(gyliu513): Add IMAGE as volume source type.
|
HOST_PATH
HOST_PATH = 4; |
SANDBOX_PATH
SANDBOX_PATH = 2; |
SECRET
SECRET = 3; |
UNKNOWN
This must be the first enum value in this list, to
ensure that if 'type' is not set, the default value
is UNKNOWN.
|
Modifier and Type | Field and Description |
---|---|
static int |
CSI_VOLUME_VALUE
CSI_VOLUME = 5; |
static int |
DOCKER_VOLUME_VALUE
TODO(gyliu513): Add IMAGE as volume source type.
|
static int |
HOST_PATH_VALUE
HOST_PATH = 4; |
static int |
SANDBOX_PATH_VALUE
SANDBOX_PATH = 2; |
static int |
SECRET_VALUE
SECRET = 3; |
static int |
UNKNOWN_VALUE
This must be the first enum value in this list, to
ensure that if 'type' is not set, the default value
is UNKNOWN.
|
Modifier and Type | Method and Description |
---|---|
static Protos.Volume.Source.Type |
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.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.Volume.Source.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Volume.Source.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Volume.Source.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Volume.Source.Type UNKNOWN
This must be the first enum value in this list, to ensure that if 'type' is not set, the default value is UNKNOWN. This enables enum values to be added in a backwards-compatible way. See: MESOS-4997.
UNKNOWN = 0;
public static final Protos.Volume.Source.Type DOCKER_VOLUME
TODO(gyliu513): Add IMAGE as volume source type.
DOCKER_VOLUME = 1;
public static final Protos.Volume.Source.Type HOST_PATH
HOST_PATH = 4;
public static final Protos.Volume.Source.Type SANDBOX_PATH
SANDBOX_PATH = 2;
public static final Protos.Volume.Source.Type SECRET
SECRET = 3;
public static final Protos.Volume.Source.Type CSI_VOLUME
CSI_VOLUME = 5;
public static final int UNKNOWN_VALUE
This must be the first enum value in this list, to ensure that if 'type' is not set, the default value is UNKNOWN. This enables enum values to be added in a backwards-compatible way. See: MESOS-4997.
UNKNOWN = 0;
public static final int DOCKER_VOLUME_VALUE
TODO(gyliu513): Add IMAGE as volume source type.
DOCKER_VOLUME = 1;
public static final int HOST_PATH_VALUE
HOST_PATH = 4;
public static final int SANDBOX_PATH_VALUE
SANDBOX_PATH = 2;
public static final int SECRET_VALUE
SECRET = 3;
public static final int CSI_VOLUME_VALUE
CSI_VOLUME = 5;
public static Protos.Volume.Source.Type[] values()
for (Protos.Volume.Source.Type c : Protos.Volume.Source.Type.values()) System.out.println(c);
public static Protos.Volume.Source.Type 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.Type valueOf(int value)
forNumber(int)
instead.public static Protos.Volume.Source.Type 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.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)