public static enum GetPackageResponse.HashFunction extends java.lang.Enum<GetPackageResponse.HashFunction>
| Enum Constant and Description |
|---|
SHA256 |
UNRECOGNIZED |
| Modifier and Type | Method and Description |
|---|---|
static GetPackageResponse.HashFunction |
valueOf(int value) |
static GetPackageResponse.HashFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetPackageResponse.HashFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetPackageResponse.HashFunction SHA256
public static final GetPackageResponse.HashFunction UNRECOGNIZED
public static GetPackageResponse.HashFunction[] values()
for (GetPackageResponse.HashFunction c : GetPackageResponse.HashFunction.values()) System.out.println(c);
public static GetPackageResponse.HashFunction 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 static GetPackageResponse.HashFunction valueOf(int value)