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