public enum CompatibilityVersion extends java.lang.Enum<CompatibilityVersion>
Enum Constant and Description |
---|
V_2_7
Version 2.7
|
V_UNSPECIFIED
Unspecified version
|
Modifier and Type | Method and Description |
---|---|
static CompatibilityVersion |
fromValue(java.lang.String v)
Returns enumeration for the name.
|
java.lang.Long |
getLongValue()
Returns long representation of the version.
|
java.lang.String |
getStringValue()
Returns string representation of the version.
|
java.lang.String |
value()
Returns name of the enumeration.
|
static CompatibilityVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompatibilityVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompatibilityVersion V_UNSPECIFIED
public static final CompatibilityVersion V_2_7
public static CompatibilityVersion[] values()
for (CompatibilityVersion c : CompatibilityVersion.values()) System.out.println(c);
public static CompatibilityVersion 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 java.lang.String value()
public static CompatibilityVersion fromValue(java.lang.String v)
v
- public java.lang.String getStringValue()
public java.lang.Long getLongValue()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.