public static enum Credentials.SerializedFormat extends Enum<Credentials.SerializedFormat>
Modifier and Type | Method and Description |
---|---|
static Credentials.SerializedFormat |
valueOf(int val) |
static Credentials.SerializedFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Credentials.SerializedFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Credentials.SerializedFormat WRITABLE
public static final Credentials.SerializedFormat PROTOBUF
public static Credentials.SerializedFormat[] values()
for (Credentials.SerializedFormat c : Credentials.SerializedFormat.values()) System.out.println(c);
public static Credentials.SerializedFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Credentials.SerializedFormat valueOf(int val)
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.