public enum AutomaticTuningServerMode extends Enum<AutomaticTuningServerMode>
Enum Constant and Description |
---|
AUTO
Enum value Auto.
|
CUSTOM
Enum value Custom.
|
UNSPECIFIED
Enum value Unspecified.
|
Modifier and Type | Method and Description |
---|---|
static AutomaticTuningServerMode |
fromString(String value)
Parses a serialized value to a AutomaticTuningServerMode instance.
|
String |
toString() |
static AutomaticTuningServerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutomaticTuningServerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutomaticTuningServerMode CUSTOM
public static final AutomaticTuningServerMode AUTO
public static final AutomaticTuningServerMode UNSPECIFIED
public static AutomaticTuningServerMode[] values()
for (AutomaticTuningServerMode c : AutomaticTuningServerMode.values()) System.out.println(c);
public static AutomaticTuningServerMode 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 AutomaticTuningServerMode fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<AutomaticTuningServerMode>
Copyright © 2019. All rights reserved.