static enum TransferConfig.ProtocolVersion extends java.lang.Enum<TransferConfig.ProtocolVersion>
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
(package private) static TransferConfig.ProtocolVersion |
parse(java.lang.String name) |
static TransferConfig.ProtocolVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransferConfig.ProtocolVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferConfig.ProtocolVersion V0
public static final TransferConfig.ProtocolVersion V2
public static TransferConfig.ProtocolVersion[] values()
for (TransferConfig.ProtocolVersion c : TransferConfig.ProtocolVersion.values()) System.out.println(c);
public static TransferConfig.ProtocolVersion 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 null@Nullable static TransferConfig.ProtocolVersion parse(@Nullable java.lang.String name)