public static enum LineProtocolError.CodeEnum extends Enum<LineProtocolError.CodeEnum>
Modifier and Type | Class and Description |
---|---|
static class |
LineProtocolError.CodeEnum.Adapter |
Enum Constant and Description |
---|
CONFLICT |
EMPTY_VALUE |
INTERNAL_ERROR |
INVALID |
NOT_FOUND |
UNAVAILABLE |
Modifier and Type | Method and Description |
---|---|
static LineProtocolError.CodeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static LineProtocolError.CodeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineProtocolError.CodeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineProtocolError.CodeEnum INTERNAL_ERROR
public static final LineProtocolError.CodeEnum NOT_FOUND
public static final LineProtocolError.CodeEnum CONFLICT
public static final LineProtocolError.CodeEnum INVALID
public static final LineProtocolError.CodeEnum EMPTY_VALUE
public static final LineProtocolError.CodeEnum UNAVAILABLE
public static LineProtocolError.CodeEnum[] values()
for (LineProtocolError.CodeEnum c : LineProtocolError.CodeEnum.values()) System.out.println(c);
public static LineProtocolError.CodeEnum 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 String getValue()
public String toString()
toString
in class Enum<LineProtocolError.CodeEnum>
public static LineProtocolError.CodeEnum fromValue(String text)
Copyright © 2018–2020 InfluxData, Inc.. All rights reserved.