public static enum Protos.DiscoveryInfo.Visibility extends java.lang.Enum<Protos.DiscoveryInfo.Visibility>
mesos.DiscoveryInfo.Visibility
Enum Constant and Description |
---|
CLUSTER
CLUSTER = 1; |
EXTERNAL
EXTERNAL = 2; |
FRAMEWORK
FRAMEWORK = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
CLUSTER_VALUE
CLUSTER = 1; |
static int |
EXTERNAL_VALUE
EXTERNAL = 2; |
static int |
FRAMEWORK_VALUE
FRAMEWORK = 0; |
Modifier and Type | Method and Description |
---|---|
static Protos.DiscoveryInfo.Visibility |
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.DiscoveryInfo.Visibility |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.DiscoveryInfo.Visibility |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.DiscoveryInfo.Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.DiscoveryInfo.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.DiscoveryInfo.Visibility FRAMEWORK
FRAMEWORK = 0;
public static final Protos.DiscoveryInfo.Visibility CLUSTER
CLUSTER = 1;
public static final Protos.DiscoveryInfo.Visibility EXTERNAL
EXTERNAL = 2;
public static final int FRAMEWORK_VALUE
FRAMEWORK = 0;
public static final int CLUSTER_VALUE
CLUSTER = 1;
public static final int EXTERNAL_VALUE
EXTERNAL = 2;
public static Protos.DiscoveryInfo.Visibility[] values()
for (Protos.DiscoveryInfo.Visibility c : Protos.DiscoveryInfo.Visibility.values()) System.out.println(c);
public static Protos.DiscoveryInfo.Visibility 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.DiscoveryInfo.Visibility valueOf(int value)
forNumber(int)
instead.public static Protos.DiscoveryInfo.Visibility 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.DiscoveryInfo.Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)