public static enum Protos.MasterInfo.Capability.Type extends java.lang.Enum<Protos.MasterInfo.Capability.Type>
mesos.MasterInfo.Capability.Type
Enum Constant and Description |
---|
AGENT_DRAINING
The master can drain or deactivate agents when requested
via operator APIs.
|
AGENT_UPDATE
The master can handle slaves whose state
changes after reregistering.
|
QUOTA_V2
The master can handle the new quota API, which supports setting
limits separately from guarantees (introduced in Mesos 1.9).
|
UNKNOWN
UNKNOWN = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
AGENT_DRAINING_VALUE
The master can drain or deactivate agents when requested
via operator APIs.
|
static int |
AGENT_UPDATE_VALUE
The master can handle slaves whose state
changes after reregistering.
|
static int |
QUOTA_V2_VALUE
The master can handle the new quota API, which supports setting
limits separately from guarantees (introduced in Mesos 1.9).
|
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static Protos.MasterInfo.Capability.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.MasterInfo.Capability.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.MasterInfo.Capability.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.MasterInfo.Capability.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.MasterInfo.Capability.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.MasterInfo.Capability.Type UNKNOWN
UNKNOWN = 0;
public static final Protos.MasterInfo.Capability.Type AGENT_UPDATE
The master can handle slaves whose state changes after reregistering.
AGENT_UPDATE = 1;
public static final Protos.MasterInfo.Capability.Type AGENT_DRAINING
The master can drain or deactivate agents when requested via operator APIs.
AGENT_DRAINING = 2;
public static final Protos.MasterInfo.Capability.Type QUOTA_V2
The master can handle the new quota API, which supports setting limits separately from guarantees (introduced in Mesos 1.9).
QUOTA_V2 = 3;
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int AGENT_UPDATE_VALUE
The master can handle slaves whose state changes after reregistering.
AGENT_UPDATE = 1;
public static final int AGENT_DRAINING_VALUE
The master can drain or deactivate agents when requested via operator APIs.
AGENT_DRAINING = 2;
public static final int QUOTA_V2_VALUE
The master can handle the new quota API, which supports setting limits separately from guarantees (introduced in Mesos 1.9).
QUOTA_V2 = 3;
public static Protos.MasterInfo.Capability.Type[] values()
for (Protos.MasterInfo.Capability.Type c : Protos.MasterInfo.Capability.Type.values()) System.out.println(c);
public static Protos.MasterInfo.Capability.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.MasterInfo.Capability.Type valueOf(int value)
forNumber(int)
instead.public static Protos.MasterInfo.Capability.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.MasterInfo.Capability.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)