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