public static enum PgProto.DatumMessage.DatumCase extends Enum<PgProto.DatumMessage.DatumCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
DATUM_BOOL |
DATUM_BYTES |
DATUM_DOUBLE |
DATUM_FLOAT |
DATUM_INT32 |
DATUM_INT64 |
DATUM_NOT_SET |
DATUM_POINT |
DATUM_STRING |
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
static PgProto.DatumMessage.DatumCase |
valueOf(int value) |
static PgProto.DatumMessage.DatumCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PgProto.DatumMessage.DatumCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PgProto.DatumMessage.DatumCase DATUM_INT32
public static final PgProto.DatumMessage.DatumCase DATUM_INT64
public static final PgProto.DatumMessage.DatumCase DATUM_FLOAT
public static final PgProto.DatumMessage.DatumCase DATUM_DOUBLE
public static final PgProto.DatumMessage.DatumCase DATUM_BOOL
public static final PgProto.DatumMessage.DatumCase DATUM_STRING
public static final PgProto.DatumMessage.DatumCase DATUM_BYTES
public static final PgProto.DatumMessage.DatumCase DATUM_POINT
public static final PgProto.DatumMessage.DatumCase DATUM_NOT_SET
public static PgProto.DatumMessage.DatumCase[] values()
for (PgProto.DatumMessage.DatumCase c : PgProto.DatumMessage.DatumCase.values()) System.out.println(c);
public static PgProto.DatumMessage.DatumCase 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 PgProto.DatumMessage.DatumCase valueOf(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2017 JBoss by Red Hat. All rights reserved.